/* 교육 실적 공개 화면(2026-12-06) — 남색 #1b2f7a · 파랑 #366ACD · 금색 #c9a24a. 최소 높이(min-height)는 주지 않는다(글자 세로 서기 방지) */
.pf-page { box-sizing: border-box; max-width: 1200px; margin: 0 auto; padding: 40px 20px 72px; color: #1f2d3d; }
.pf-page *, .pf-page *::before, .pf-page *::after { box-sizing: border-box; }
.pf-page h2, .pf-page h3 { margin: 0; }
.pf-page ul { margin: 0; padding: 0; list-style: none; }
.pf-page a { color: inherit; text-decoration: none; }

/* 머리 */
.pf-head { text-align: center; margin: 0 0 36px; }
.pf-title { font-size: 30px; font-weight: 800; line-height: 1.35; letter-spacing: -.02em; color: #1b2f7a; word-break: keep-all; }
.pf-lead { margin: 12px 0 0; font-size: 16px; color: #4a5568; }

/* 목록 카드: PC 3열 · 태블릿 2열 · 모바일 1열 */
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pf-card { position: relative; min-width: 0; border-radius: 18px; background: #fff; border: 1px solid #e3e9f4; box-shadow: 0 10px 28px rgba(15, 29, 61, .08); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.pf-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 29, 61, .13); }
.pf-card-link { display: block; height: 100%; }
.pf-card-link:focus-visible { outline: 3px solid #c9a24a; outline-offset: 2px; border-radius: 18px; }
.pf-thumb { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #eef3fc; }
.pf-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pf-thumb-none { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #8a9bb8; font-size: 15px; }
.pf-body { padding: 18px 20px 20px; border-top: 3px solid #c9a24a; }
.pf-place { font-size: 19px; font-weight: 800; line-height: 1.45; color: #1b2f7a; word-break: keep-all; overflow-wrap: anywhere; }
.pf-meta { margin-top: 10px; display: grid; gap: 4px; font-size: 14px; line-height: 1.55; color: #4a5568; }
.pf-meta li { display: flex; gap: 8px; min-width: 0; }
.pf-meta li span { flex: 0 0 auto; width: 42px; font-weight: 700; color: #366ACD; }

/* 쪽 번호 */
.pf-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pf-pager a, .pf-pager span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid #d9e4f7; background: #fff; font-size: 15px; font-weight: 600; color: #2c4f9e; }
.pf-pager span.on { background: #1b2f7a; border-color: #1b2f7a; color: #fff; }
.pf-empty { padding: 60px 0; text-align: center; font-size: 16px; color: #4a5568; }
.pf-back { margin-top: 24px; text-align: center; }
.pf-back a { color: #366ACD; font-weight: 700; text-decoration: underline; }

/* 상세 */
.pf-page-detail { max-width: 980px; }
.pf-detail { border-radius: 22px; background: #fff; border: 1px solid #e3e9f4; box-shadow: 0 14px 40px rgba(15, 29, 61, .08); overflow: hidden; }
.pf-hero { margin: 0; background: #0f1d3d; }
.pf-hero img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; margin: 0 auto; }
.pf-dhead { padding: 28px 32px 8px; border-bottom: 1px solid #edf1f8; }
.pf-dtitle { font-size: 28px; font-weight: 800; line-height: 1.4; color: #1b2f7a; word-break: keep-all; overflow-wrap: anywhere; }
.pf-info { margin: 18px 0 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.pf-info > div { display: flex; gap: 12px; padding: 12px 16px; border-radius: 12px; background: #f5f8fe; border: 1px solid #e3e9f4; min-width: 0; }
.pf-info dt { flex: 0 0 auto; width: 74px; font-weight: 800; color: #366ACD; }
.pf-info dd { margin: 0; min-width: 0; font-weight: 600; word-break: keep-all; overflow-wrap: anywhere; }
.pf-content { padding: 8px 32px 32px; font-size: 16px; line-height: 1.8; color: #2d3748; word-break: keep-all; overflow-wrap: anywhere; }
.pf-content img { max-width: 100%; height: auto; border-radius: 10px; }
.pf-content table { max-width: 100%; }
.pf-dnav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 20px 32px; border-top: 1px solid #edf1f8; background: #fafbfe; }
.pf-dnav a { display: block; padding: 12px 16px; border-radius: 12px; border: 1px solid #d9e4f7; background: #fff; font-weight: 700; color: #1b2f7a; min-width: 0; }
.pf-dnav a span { display: block; font-size: 12px; color: #366ACD; }
.pf-dnav .pf-prev { text-align: left; }
.pf-dnav .pf-next { text-align: right; }
.pf-dnav a[class] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-dnav .pf-list-btn { text-align: center; background: #1b2f7a; border-color: #1b2f7a; color: #fff; }
.pf-dnav .pf-list-btn:hover { background: #366ACD; }

/* 태블릿 */
@media (max-width: 1024px) {
    .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .pf-title { font-size: 26px; }
}

/* 모바일 */
@media (max-width: 700px) {
    .pf-page { padding: 28px 16px 56px; }
    .pf-title { font-size: 23px; }
    .pf-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .pf-place { font-size: 18px; }
    .pf-dhead { padding: 22px 20px 6px; }
    .pf-dtitle { font-size: 22px; }
    .pf-info { grid-template-columns: minmax(0, 1fr); }
    .pf-content { padding: 6px 20px 24px; font-size: 15px; }
    .pf-dnav { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 16px 20px; }
    .pf-dnav .pf-list-btn { grid-column: 1 / -1; order: -1; }
}

/* 12-06 휴대폰에서 「총 0」과 「건」이 줄로 갈리지 않게 */
.pf-lead .pf-total { white-space: nowrap; font-size: inherit; color: inherit; }

/* ===== 12-06 오후 디자인 개선(사용자 "디자인 개선") — 이 묶음만 지우면 예전 모양 =====
   머리: 제목 아래 금색 짧은 줄 · 총 건수는 알약 모양 / 빈 목록: 점선 상자 + 그림 + 안내 */
.pf-page { padding-top: 56px; }
.pf-head { margin-bottom: 44px; }
.pf-title { font-size: 34px; line-height: 1.32; }
.pf-title::after { content: ""; display: block; width: 44px; height: 3px; margin: 20px auto 0; border-radius: 2px; background: #c9a24a; }
.pf-lead { margin-top: 18px; font-size: 16.5px; line-height: 1.7; }
.pf-lead .pf-total { display: inline-block; margin-left: 6px; padding: 2px 12px; border-radius: 999px; background: #eef3fc; border: 1px solid #d9e4f7; color: #1b2f7a; font-size: 14.5px; font-weight: 700; line-height: 1.6; vertical-align: 1px; }
.pf-empty-box { max-width: 640px; margin: 0 auto; padding: 52px 24px 50px; text-align: center; border: 1px dashed #c9d6ee; border-radius: 22px; background: linear-gradient(180deg, #f7f9fe 0%, #fff 100%); }
.pf-empty-ico { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin: 0 0 18px; border-radius: 50%; background: #fff; border: 1px solid #d9e4f7; box-shadow: 0 8px 22px rgba(27, 47, 122, .10); color: #366ACD; }
.pf-empty-ico svg { display: block; }
.pf-empty-box .pf-empty { padding: 0; font-size: 18px; font-weight: 700; color: #1b2f7a; }
@media (max-width: 1024px) { .pf-title { font-size: 28px; } }
@media (max-width: 700px) {
    .pf-page { padding-top: 32px; }
    .pf-head { margin-bottom: 30px; }
    .pf-title { font-size: 23px; }
    .pf-title::after { margin-top: 14px; width: 36px; }
    .pf-lead { margin-top: 14px; font-size: 15px; }
    .pf-lead .pf-total { display: table; margin: 8px auto 0; font-size: 13.5px; }
    .pf-empty-box { padding: 40px 18px 38px; border-radius: 18px; }
    .pf-empty-ico { width: 64px; height: 64px; margin-bottom: 14px; }
    .pf-empty-box .pf-empty { font-size: 16px; }
}
