/* 메인 최신글 영역: 교육신청·채용정보 공통 스타일 */
.main-latest { padding: 40px 16px; background: #fff; }
.main-latest__inner { max-width: 1280px; margin: 0 auto; }
.main-latest__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 49px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #e5e7eb; }
.main-latest__title { margin: 0; color: #111827; font-size: 24px; font-weight: 700; line-height: 32px; letter-spacing: -.03em; }
.main-latest__more { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; min-height: 32px; padding: 4px 0 4px 8px; color: #64748b; font-size: 14px; font-weight: 500; line-height: 20px; text-decoration: none; white-space: nowrap; }
.main-latest__more span { font-size: 18px; font-weight: 400; }
.main-latest__more:hover { color: #0029a6; }
.main-latest :is(a, button):focus-visible { outline: 2px solid #0029a6; outline-offset: 3px; }
.main-latest__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.main-latest .edu-filter { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 16px; border: 0; border-radius: 4px; background: #f3f4f6; color: #475569; font-size: 14px; font-weight: 500; line-height: 20px; cursor: pointer; }
.main-latest .edu-filter:hover { background: #e5e7eb; }
.main-latest .edu-filter[aria-pressed="true"] { color: #fff; background: #1f2937; }
.main-latest__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.main-latest__card { display: flex; flex-direction: column; min-width: 0; height: 100%; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.main-latest__card:hover { border-color: #cbd5e1; box-shadow: 0 2px 8px #0f172a0a; }
.main-latest__card-link { color: #111827; text-decoration: none; }
.main-latest__card a:focus-visible { outline-offset: -3px; }
.main-latest__course-link { display: block; }
/* 썸네일은 3:2 영역에 잘리지 않게 전체를 보여 준다. */
.main-latest__thumb { aspect-ratio: 3 / 2; }
.main-latest__course-action { margin-top: auto; padding: 0 16px 16px; }
.main-latest__job-link { display: flex; flex: 1; flex-direction: column; min-height: 222px; padding: 16px; }
.main-latest__item-title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-height: 48px; margin: 0 0 12px; color: #111827; font-size: 16px; font-weight: 700; line-height: 24px; text-align: left; overflow-wrap: anywhere; }
.main-latest__meta { margin: 0; color: #64748b; font-size: 13px; font-weight: 400; line-height: 20px; }
.main-latest__job-summary { margin-bottom: 16px; }
.main-latest__date { margin: auto 0 0; padding-top: 8px; color: #64748b; font-size: 12px; font-weight: 400; line-height: 20px; text-align: left; }
@media (min-width: 640px) { .main-latest { padding-right: 24px; padding-left: 24px; } }
@media (min-width: 1024px) { .main-latest { padding: 48px 32px; } }
@media (max-width: 1023px) { .main-latest__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
    .main-latest { padding-top: 32px; padding-bottom: 32px; }
    .main-latest__header { margin-bottom: 20px; padding-bottom: 12px; }
    .main-latest__title { font-size: 20px; line-height: 28px; }
    .main-latest__more { font-size: 13px; }
    .main-latest__grid { grid-template-columns: minmax(0, 1fr); }
    .main-latest__filters { gap: 6px; margin-bottom: 20px; }
    .main-latest .edu-filter { padding-right: 12px; padding-left: 12px; font-size: 13px; }
}
