/* =========================================================
 * 편입N 목업 시안 — P1 단위 전용 (편입N · 편입정보 · N캠퍼스)
 * 화면: about, opening, seminar(-detail), campus-*, reviews(-detail),
 *       news(-detail), admissions / admission-detail, competition
 * 모든 클래스는 p1- 접두사. 색은 토큰 변수만 사용.
 * ========================================================= */

/* ---------- 공통 ---------- */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.p1-eyebrow { display: inline-block; font-size: var(--fs-sm); font-weight: 700; color: var(--red); letter-spacing: .5px; margin-bottom: 6px; }
.p1-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s-12); align-items: center; }
.p1-split h2 { font-size: 34px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.3; white-space: pre-line; }
.p1-split .lead + .lead { margin-top: 12px; }
.p1-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 16px 18px; background: var(--bg); border-radius: var(--radius); margin-bottom: var(--s-5); }
.p1-filter .p1-f-item { display: flex; align-items: center; gap: 8px; min-width: 0; }
.p1-filter .p1-f-item > label, .p1-filter .p1-f-item > span { font-size: var(--fs-sm); font-weight: 700; color: var(--slate-600); white-space: nowrap; }
.p1-filter .select { width: 150px; background-color: #fff; }
.p1-filter .input { width: 200px; }
.p1-filter .p1-f-end { margin-left: auto; display: flex; gap: 6px; }
.p1-count { font-size: var(--fs-sm); color: var(--slate-600); margin-bottom: var(--s-3); }
.p1-count strong { color: var(--red); }
.p1-tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 1023px) {
  .p1-split { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
}
@media (max-width: 767px) {
  .p1-split h2 { font-size: 26px; letter-spacing: -0.8px; }
  .p1-filter { padding: 14px; }
  .p1-filter .p1-f-item { width: 100%; }
  .p1-filter .p1-f-item > label, .p1-filter .p1-f-item > span { width: 56px; flex-shrink: 0; }
  .p1-filter .select, .p1-filter .input { flex: 1; width: auto; }
  .p1-filter .p1-f-end { margin-left: 0; width: 100%; }
  .p1-filter .p1-f-end .btn { flex: 1; }
  .p1-filter .chips { flex: 1; min-width: 0; }
}

/* ---------- 실적 수치 띠 ---------- */
.p1-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); color: #fff; }
.p1-stats > div { padding: 30px 28px; position: relative; }
.p1-stats > div + div { border-left: 1px solid rgba(255,255,255,.1); }
.p1-stats .p1-st-k { font-size: 13px; color: var(--slate-300); font-weight: 600; }
.p1-stats .p1-st-v { font-size: 44px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-top: 8px; }
.p1-stats .p1-st-v small { font-size: 20px; margin-left: 2px; letter-spacing: 0; }
.p1-stats .p1-st-v.is-red { color: #ff6a5e; }
.p1-stats .p1-st-d { margin-top: 8px; font-size: 13px; color: var(--slate-300); }
@media (max-width: 1023px) {
  .p1-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p1-stats > div:nth-child(3) { border-left: 0; }
  .p1-stats > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 767px) {
  .p1-stats > div { padding: 20px 16px; }
  .p1-stats .p1-st-v { font-size: 30px; }
  .p1-stats .p1-st-v small { font-size: 15px; }
  .p1-stats .p1-st-d { font-size: 12px; }
}

/* ---------- 편입N 소개 ---------- */
.p1-about-visual { position: relative; }
.p1-about-visual .ph { aspect-ratio: 5 / 4; }
.p1-about-badge { position: absolute; left: -24px; bottom: 28px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); padding: 18px 22px; display: flex; align-items: center; gap: 14px; }
.p1-about-badge b { display: block; font-size: 30px; font-weight: 800; color: var(--red); letter-spacing: -1px; line-height: 1; }
.p1-about-badge span { font-size: 13px; color: var(--slate-600); }
.p1-about-points { display: grid; gap: 10px; margin-top: var(--s-6); }
.p1-about-points li { position: relative; padding-left: 12px; font-size: 15px; color: var(--slate-600); }
.p1-about-points li::before { content: ""; position: absolute; left: 0; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: var(--slate-400); }
.p1-about-points b { color: var(--navy); }
@media (max-width: 1023px) { .p1-about-badge { left: 16px; bottom: 16px; } }
@media (max-width: 767px) { .p1-about-badge { padding: 12px 14px; } .p1-about-badge b { font-size: 22px; } }

/* smart 소수정예 5요소 */
.p1-smart { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); }
.p1-smart-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; position: relative; overflow: hidden; }
.p1-smart-item .p1-sm-l { font-size: 46px; font-weight: 800; line-height: 1; color: var(--navy); letter-spacing: -1px; }
.p1-smart-item .p1-sm-l em { font-style: normal; color: var(--red); }
.p1-smart-item .p1-sm-en { font-size: 12px; font-weight: 700; color: var(--slate-500); letter-spacing: .5px; margin-top: 8px; text-transform: uppercase; }
.p1-smart-item h4 { font-size: var(--fs-md); font-weight: 800; margin-top: 4px; }
.p1-smart-item p { font-size: 14px; color: var(--slate-600); margin-top: 8px; line-height: 1.6; }
.p1-smart-item::after { content: ""; position: absolute; right: -26px; top: -26px; width: 80px; height: 80px; border-radius: 50%; background: var(--bg); z-index: 0; }
.p1-smart-item > * { position: relative; z-index: 1; }
@media (max-width: 1023px) { .p1-smart { grid-template-columns: repeat(2, minmax(0, 1fr)); } .p1-smart-item:last-child { grid-column: 1 / -1; } }
@media (max-width: 767px) { .p1-smart { grid-template-columns: minmax(0, 1fr); } .p1-smart-item { padding: 18px; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 0 12px; } .p1-smart-item .p1-sm-l { grid-row: span 3; font-size: 40px; } .p1-smart-item .p1-sm-en { margin-top: 0; } }

/* 주간 관리 사이클 */
.p1-cycle { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.p1-cycle li { padding: 18px 16px; position: relative; }
.p1-cycle li + li { border-left: 1px solid var(--line); }
.p1-cycle .p1-cy-d { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; }
.p1-cycle li:last-child .p1-cy-d { background: var(--red); }
.p1-cycle strong { display: block; margin-top: 10px; font-size: 15px; }
.p1-cycle p { font-size: 13px; color: var(--slate-500); margin-top: 4px; line-height: 1.5; }
@media (max-width: 1023px) { .p1-cycle { grid-template-columns: repeat(3, minmax(0, 1fr)); } .p1-cycle li:nth-child(4) { border-left: 0; } .p1-cycle li:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 767px) { .p1-cycle { grid-template-columns: minmax(0, 1fr); } .p1-cycle li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 12px; padding: 14px 16px; } .p1-cycle li + li { border-left: 0; border-top: 1px solid var(--line); } .p1-cycle .p1-cy-d { grid-row: span 2; } .p1-cycle strong { margin-top: 0; } }

/* 학원 · 인강 비교 */
.p1-dual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.p1-dual-card { border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 12px; }
.p1-dual-card.is-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.p1-dual-card .p1-du-k { font-size: 13px; font-weight: 700; color: var(--red); }
.p1-dual-card.is-navy .p1-du-k { color: #ff8a80; }
.p1-dual-card h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.6px; }
.p1-dual-card p { font-size: 15px; color: var(--slate-600); }
.p1-dual-card.is-navy p { color: var(--slate-300); }
.p1-dual-card .bullets li { font-size: 14px; }
.p1-dual-card.is-navy .bullets { color: var(--slate-300); }
.p1-dual-card .row { margin-top: auto; padding-top: 8px; }
@media (max-width: 767px) { .p1-dual { grid-template-columns: minmax(0, 1fr); } .p1-dual-card { padding: 22px 18px; } .p1-dual-card h3 { font-size: 20px; } }

/* 연혁 */
.p1-history { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--s-10); }
.p1-history-side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.p1-history-side .p1-hs-year { font-size: 56px; font-weight: 800; letter-spacing: -2px; line-height: 1; color: var(--navy); }
.p1-history-side .p1-hs-year em { font-style: normal; color: var(--red); }
.p1-timeline { border-left: 2px solid var(--line); }
.p1-timeline > li { position: relative; padding: 0 0 26px 28px; display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 4px 16px; }
.p1-timeline > li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); }
.p1-timeline > li.is-hl::before { border-color: var(--red); }
.p1-timeline .p1-tl-y { font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.p1-timeline li.is-hl .p1-tl-y { color: var(--red); }
.p1-timeline ul { display: grid; gap: 6px; font-size: 15px; color: var(--slate-600); padding-top: 3px; }
.p1-timeline ul li { display: flex; gap: 10px; }
.p1-timeline ul li b { color: var(--navy); font-weight: 600; flex-shrink: 0; min-width: 28px; }
@media (max-width: 767px) {
  .p1-history { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .p1-history-side { position: static; }
  .p1-history-side .p1-hs-year { font-size: 40px; }
  .p1-timeline > li { grid-template-columns: minmax(0, 1fr); padding-left: 22px; }
  .p1-timeline ul { font-size: 14px; }
}

/* ---------- 개강 안내 ---------- */
.p1-open-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: var(--s-5); }
.p1-open-top .seg button { font-size: 14px; }
.p1-campus-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: var(--s-5); }
.p1-campus-head h3 { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -0.5px; }
.p1-campus-head p { font-size: 14px; color: var(--slate-500); margin-top: 2px; }
.p1-campus-head .p1-tel { font-size: 20px; font-weight: 800; color: var(--navy); }
.p1-class-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: border-color .15s; }
.p1-class-card:hover { border-color: var(--navy); }
.p1-class-card .p1-cc-top { padding: 18px 20px 14px; border-bottom: 1px solid var(--line-soft); }
.p1-class-card .p1-cc-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.p1-class-card .p1-cc-badges:empty { display: none; }
.p1-class-card .p1-cc-badges:empty + h4 { margin-top: 0; }
.p1-class-card h4 { font-size: var(--fs-lg); font-weight: 800; margin-top: 10px; letter-spacing: -0.4px; line-height: 1.35; }
.p1-class-card .p1-cc-sum { font-size: 14px; color: var(--slate-500); margin-top: 4px; }
.p1-class-card dl { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 7px 10px; padding: 14px 20px; font-size: 14px; }
.p1-class-card dt { color: var(--slate-500); }
.p1-class-card dd { color: var(--navy); font-weight: 600; }
.p1-class-card .p1-cc-seat { padding: 0 20px 14px; }
.p1-class-card .p1-cc-seat .progress-row b { min-width: 0; white-space: nowrap; }
.p1-class-card .p1-cc-foot { margin-top: auto; padding: 14px 20px 18px; display: flex; gap: 6px; }
.p1-class-card .p1-cc-foot .btn { flex: 1; }
.p1-class-card.is-early .p1-cc-top { background: linear-gradient(180deg, var(--red-soft), #fff); }
.p1-day-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--red); }
.p1-tt { min-width: 760px; table-layout: fixed; }
.p1-tt th:first-child { width: 96px; }
.p1-tt td { vertical-align: top; padding: 8px 6px; height: 74px; }
.p1-tt .p1-tt-cell { display: block; text-align: left; border-radius: var(--radius-sm); padding: 6px 8px; font-size: 12px; line-height: 1.4; background: var(--blue-soft); color: var(--navy); }
.p1-tt .p1-tt-cell + .p1-tt-cell { margin-top: 4px; }
.p1-tt .p1-tt-cell b { display: block; font-size: 12.5px; }
.p1-tt .p1-tt-cell span { color: var(--slate-600); }
.p1-tt .p1-tt-cell.is-math { background: #eef7f2; }
.p1-tt .p1-tt-cell.is-early { background: var(--red-soft); }
.p1-tt .p1-tt-cell.is-hidden { opacity: .25; }
.p1-tt .p1-tt-slot { font-size: 13px; }
.p1-tt .p1-tt-slot small { display: block; font-weight: 500; color: var(--slate-500); font-size: 11px; }
.p1-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--slate-600); margin-top: 10px; }
.p1-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; background: var(--blue-soft); }
.p1-legend i.is-math { background: #eef7f2; } .p1-legend i.is-early { background: var(--red-soft); }
@media (max-width: 767px) {
  .p1-campus-head { padding: 16px; }
  .p1-campus-head .row { width: 100%; }
  .p1-campus-head .row .btn { flex: 1; }
  .p1-open-top .seg { width: 100%; }
  .p1-open-top .seg button { flex: 1; padding: 6px 4px; font-size: 13px; }
}

/* ---------- 설명회 ---------- */
.p1-sem-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.p1-sem-feature .ph { border-radius: 0; height: 100%; min-height: 300px; aspect-ratio: auto; }
.p1-sem-feature .p1-sf-body { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.p1-sem-feature h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.8px; line-height: 1.3; }
.p1-dday { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--red); color: #fff; font-size: 13px; font-weight: 800; }
.p1-sem-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: border-color .15s; }
.p1-sem-card:hover { border-color: var(--navy); }
.p1-sem-card .ph { border-radius: 0; }
.p1-sem-card .p1-sc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p1-sem-card h4 { font-size: var(--fs-md); font-weight: 800; line-height: 1.4; }
.p1-sem-card .p1-sc-meta { display: grid; gap: 4px; font-size: 14px; color: var(--slate-600); }
.p1-sem-card .p1-sc-foot { margin-top: auto; padding-top: 10px; }
.p1-sem-card.is-closed .ph { filter: grayscale(.8); opacity: .75; }
.p1-sem-card.is-closed h4 { color: var(--slate-600); }
@media (max-width: 1023px) { .p1-sem-feature { grid-template-columns: minmax(0, 1fr); } .p1-sem-feature .ph { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 767px) { .p1-sem-feature .p1-sf-body { padding: 20px 18px; } .p1-sem-feature h3 { font-size: 21px; } }

/* 랜딩페이지 블록 예시 (seminar-detail) */
.p1-lp { max-width: 860px; margin: 0 auto; display: grid; gap: var(--s-8); }
.p1-lp-guide { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.p1-lp-block { position: relative; }
.p1-lp.is-outline .p1-lp-block { outline: 2px dashed var(--blue); outline-offset: 6px; }
.p1-lp-block::before { content: attr(data-block); position: absolute; top: -12px; left: 0; z-index: 3; display: none; font-size: 11px; font-weight: 700; color: #fff; background: var(--blue); padding: 2px 8px; border-radius: 3px; transform: translateY(-50%); }
.p1-lp.is-outline .p1-lp-block::before { display: block; }
.p1-lp-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; padding: 56px 48px; background: radial-gradient(circle at 85% 20%, #4b80d4 0%, transparent 45%), linear-gradient(120deg, #0f1b38 0%, #16254a 50%, #2456a6 100%); min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; }
.p1-lp-hero::before { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); }
.p1-lp-hero::after { content: "이미지 블록 (관리자 업로드 배너 자리)"; position: absolute; right: 14px; top: 12px; font-size: 11px; padding: 2px 8px; border-radius: 3px; background: rgba(0,0,0,.28); color: rgba(255,255,255,.85); }
.p1-lp-hero > * { position: relative; z-index: 1; }
.p1-lp-hero .p1-lh-k { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(255,255,255,.12); font-size: 13px; font-weight: 700; }
.p1-lp-hero h2 { font-size: 42px; font-weight: 800; letter-spacing: -1.6px; line-height: 1.2; margin-top: 16px; white-space: pre-line; }
.p1-lp-hero p { margin-top: 12px; color: rgba(255,255,255,.82); font-size: 16px; max-width: 560px; }
.p1-lp-text { text-align: center; }
.p1-lp-text h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.8px; }
.p1-lp-text > p { margin-top: 8px; color: var(--slate-600); }
.p1-lp-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); margin-top: var(--s-6); text-align: left; }
.p1-lp-info > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }
.p1-lp-info b { display: block; font-size: 13px; color: var(--slate-500); font-weight: 600; }
.p1-lp-info strong { display: block; font-size: var(--fs-md); margin-top: 2px; line-height: 1.4; }
.p1-lp-program { margin-top: var(--s-5); text-align: left; }
.p1-lp-yt { position: relative; display: block; width: 100%; }
.p1-lp-yt .yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 72px; height: 50px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; z-index: 2; }
.p1-countdown { border-radius: var(--radius-lg); background: var(--bg); padding: 32px 24px; text-align: center; }
.p1-countdown > p { font-weight: 700; color: var(--slate-600); }
.p1-cd { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.p1-cd > div { width: 92px; padding: 14px 0; border-radius: var(--radius); background: var(--navy); color: #fff; }
.p1-cd b { display: block; font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.p1-cd span { display: block; font-size: 12px; color: var(--slate-300); margin-top: 6px; }
.p1-cd > div:first-child { background: var(--red); }
.p1-cd > div:first-child span { color: rgba(255,255,255,.85); }
.p1-lp-form { border: 2px solid var(--navy); }
.p1-lp-form h3 { font-size: var(--fs-xl); font-weight: 800; }
.p1-lp-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.p1-lp-sticky { display: none; }
@media (max-width: 767px) {
  .p1-lp { gap: var(--s-6); }
  .p1-lp-hero { padding: 40px 20px 28px; min-height: 300px; }
  .p1-lp-hero h2 { font-size: 28px; letter-spacing: -1px; }
  .p1-lp-hero p { font-size: 14px; }
  .p1-lp-text h3 { font-size: 21px; }
  .p1-lp-info { grid-template-columns: minmax(0, 1fr); }
  .p1-cd { gap: 6px; }
  .p1-cd > div { width: auto; flex: 1; padding: 12px 0; }
  .p1-cd b { font-size: 26px; }
  .p1-lp-btns { grid-template-columns: minmax(0, 1fr); }
  .p1-lp-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; gap: 8px; padding: 10px var(--gutter); background: #fff; border-top: 1px solid var(--line); }
  .p1-lp-sticky .btn { flex: 1; }
  .p1-has-sticky .site-footer { padding-bottom: 130px; }
  .p1-has-sticky .float-kakao { bottom: 76px; }
  .p1-has-sticky .demo-tool { bottom: 76px; }
}

/* ---------- N캠퍼스 ---------- */
.p1-cp-visual { position: relative; color: #fff; overflow: hidden; background: radial-gradient(circle at 80% 20%, #2d4a8a 0%, transparent 45%), linear-gradient(120deg, #0f1b38 0%, #16254a 55%, #22345f 100%); }
.p1-cp-visual::before { content: ""; position: absolute; right: -6%; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); border-radius: 50%; border: 80px solid rgba(255,255,255,.04); }
.p1-cp-visual .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-10); align-items: center; padding-top: 52px; padding-bottom: 52px; }
.p1-cp-k { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.85); padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(255,255,255,.1); }
.p1-cp-k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--kakao); }
.p1-cp-visual h2 { font-size: 46px; font-weight: 800; letter-spacing: -1.8px; line-height: 1.2; margin-top: 16px; }
.p1-cp-visual h2 em { font-style: normal; color: #ff6a5e; }
.p1-cp-visual .p1-cp-desc { margin-top: 12px; font-size: 17px; color: rgba(255,255,255,.8); }
.p1-cp-tel { display: inline-block; margin-top: 22px; font-size: 32px; font-weight: 800; letter-spacing: -0.5px; color: #fff; }
.p1-cp-hours { font-size: 14px; color: var(--slate-300); margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.p1-cp-switch { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.p1-cp-switch a { padding: 7px 14px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.3); font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); }
.p1-cp-switch a:hover { border-color: #fff; color: #fff; }
.p1-cp-switch a.is-active { background: #fff; color: var(--navy); border-color: #fff; font-weight: 800; }
.p1-cp-sched { background: #fff; color: var(--navy); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.p1-cp-sched .p1-cs-k { font-size: 12px; font-weight: 700; color: var(--red); }
.p1-cp-sched h3 { font-size: var(--fs-lg); font-weight: 800; margin-top: 2px; }
.p1-cp-sched ul { margin-top: 12px; }
.p1-cp-sched li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.p1-cp-sched .p1-cs-date { flex-shrink: 0; width: 52px; text-align: center; border-radius: var(--radius-sm); background: var(--bg); padding: 4px 0; line-height: 1.2; }
.p1-cp-sched .p1-cs-date b { display: block; font-size: 17px; font-weight: 800; }
.p1-cp-sched .p1-cs-date small { font-size: 11px; color: var(--slate-500); }
.p1-cp-sched .p1-cs-date b.is-month { font-size: 15px; white-space: nowrap; } /* (F) 개강일 없는 반: "12월" + "과정" */
.p1-cp-sched li > div:nth-child(2) { flex: 1; min-width: 0; }
.p1-cp-sched li strong { display: block; font-weight: 700; }
.p1-cp-sched li span { font-size: 13px; color: var(--slate-500); }
.p1-cp-sched li span.p1-cs-fee { white-space: nowrap; } /* (F2·R3) 금액 "510,000원" 한 덩어리. 가운뎃점은 span 밖에서 시간 뒤에 &nbsp;로 붙음(p1.js feeChip) — 줄이 바뀌면 금액이 줄 맨 앞 */
.p1-cp-sched .p1-cs-foot { margin-top: 12px; display: flex; gap: 6px; }
.p1-cp-sched .p1-cs-foot .btn { flex: 1; }

.p1-rate { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.p1-rate .p1-rt-main { background: var(--navy); color: #fff; padding: 36px 36px; position: relative; overflow: hidden; }
.p1-rate .p1-rt-main::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255,255,255,.05); }
.p1-rate .p1-rt-k { font-size: 13px; font-weight: 700; color: var(--slate-300); letter-spacing: .3px; }
.p1-rate .p1-rt-big { font-size: 72px; font-weight: 800; letter-spacing: -3px; line-height: 1.05; margin-top: 10px; }
.p1-rate .p1-rt-big em { font-style: normal; color: #ff6a5e; }
.p1-rate .p1-rt-main p:not(.p1-rt-big):not(.p1-rt-k) { margin-top: 10px; color: var(--slate-300); font-size: 14px; position: relative; z-index: 1; }
.p1-rate .p1-rt-side { padding: 30px 32px; display: flex; flex-direction: column; gap: 14px; }
.p1-rate .p1-rt-side h4 { font-size: var(--fs-md); font-weight: 800; }
.p1-univ-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.p1-univ-chips span { padding: 6px 12px; border-radius: var(--radius-pill); background: var(--bg); font-size: 13px; font-weight: 600; color: var(--navy); }
.p1-univ-chips span b { color: var(--red); margin-left: 4px; }
.p1-rate-bars { display: grid; gap: 10px; }
.p1-rate-bars > div { display: grid; grid-template-columns: 104px minmax(0, 1fr) 46px; align-items: center; gap: 10px; font-size: 13px; color: var(--slate-600); }
.p1-rate-bars b { color: var(--navy); text-align: right; }

.p1-facility { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 10px; }
.p1-facility .ph { aspect-ratio: auto; height: 100%; }
.p1-facility .ph:first-child { grid-column: span 2; grid-row: span 2; }
.p1-facility .ph-text { font-size: 16px; }
.p1-facility .ph:first-child .ph-text { font-size: 22px; }
.p1-facility .ph-gray .ph-text { color: var(--slate-600); } /* (F2) 밝은 회색 시설 자리(상담실) 글자 대비 — 공용 .ph-text 흰 글자 덮어씀 */
.p1-fac-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: var(--s-5); }
.p1-fac-list li { padding: 14px 16px; border-radius: var(--radius); background: var(--bg); font-size: 14px; }
.p1-fac-list b { display: block; font-size: 14px; }
.p1-fac-list span { font-size: 12px; color: var(--slate-500); }

.p1-loc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-6); align-items: start; }
.p1-loc .ph-map { aspect-ratio: 4 / 3; }
.p1-loc .p1-pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; z-index: 2; }
.p1-loc .p1-pin span { background: var(--red); color: #fff; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: var(--radius); white-space: nowrap; box-shadow: var(--shadow-pop); }
.p1-loc .p1-pin i { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 9px solid var(--red); }
.p1-loc .kv dd a { font-weight: 700; }
.p1-loc-way { display: grid; gap: 10px; margin-top: var(--s-4); }
.p1-loc-way li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; font-size: 14px; color: var(--slate-600); }
.p1-loc-way li b { display: inline-flex; justify-content: center; align-items: center; height: 24px; border-radius: var(--radius-sm); font-size: 12px; color: #fff; background: var(--navy); }
.p1-loc-way li.is-bus b { background: var(--blue); }
.p1-loc-way li.is-car b { background: var(--slate-500); }

.p1-cp-btns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.p1-cp-btns a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 26px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center; transition: border-color .15s, background .15s; }
.p1-cp-btns a:hover { border-color: var(--navy); }
.p1-cp-btns .p1-cb-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--navy); }
.p1-cp-btns strong { font-size: var(--fs-md); font-weight: 800; }
.p1-cp-btns span { font-size: 13px; color: var(--slate-500); }
.p1-cp-btns a.is-red { background: var(--red); border-color: var(--red); color: #fff; }
.p1-cp-btns a.is-red .p1-cb-ico { background: rgba(255,255,255,.18); color: #fff; }
.p1-cp-btns a.is-red span { color: rgba(255,255,255,.85); }
.p1-cp-btns a.is-red:hover { background: var(--red-dark); }

@media (max-width: 1023px) {
  .p1-cp-visual .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .p1-rate { grid-template-columns: minmax(0, 1fr); }
  .p1-facility { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .p1-fac-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p1-loc { grid-template-columns: minmax(0, 1fr); }
  .p1-cp-btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .p1-cp-visual .wrap { padding-top: 30px; padding-bottom: 32px; }
  .p1-cp-visual h2 { font-size: 32px; letter-spacing: -1px; }
  .p1-cp-visual .p1-cp-desc { font-size: 15px; }
  .p1-cp-tel { font-size: 26px; }
  .p1-cp-visual::before { width: 300px; height: 300px; border-width: 50px; right: -30%; }
  .p1-cp-sched { padding: 18px 16px; }
  .p1-rate .p1-rt-main { padding: 26px 22px; }
  .p1-rate .p1-rt-big { font-size: 52px; }
  .p1-rate .p1-rt-side { padding: 22px 18px; }
  .p1-facility { grid-auto-rows: 120px; gap: 8px; }
  .p1-facility .ph-text { font-size: 13px; }
  .p1-facility .ph:first-child .ph-text { font-size: 18px; }
  .p1-fac-list { grid-template-columns: minmax(0, 1fr); }
  .p1-cp-btns a { padding: 18px 8px; }
  .p1-cp-btns .p1-cb-ico { width: 44px; height: 44px; }
  .p1-cp-btns strong { font-size: 14px; }
  .p1-cp-btns span { display: none; }
}

/* ---------- 합격수기 ---------- */
.p1-rv-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s-5); margin-bottom: var(--s-8); }
.p1-rv-best { position: relative; padding: 30px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.p1-rv-best::after { content: "\201C"; position: absolute; right: 18px; top: -10px; font-size: 160px; line-height: 1; font-weight: 800; color: rgba(255,255,255,.07); }
.p1-rv-best .p1-rb-k { font-size: 12px; font-weight: 700; color: #ff8a80; letter-spacing: .3px; }
.p1-rv-best blockquote { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.45; letter-spacing: -0.5px; }
.p1-rv-best p { font-size: 14px; color: var(--slate-300); }
.p1-rv-best .btn { align-self: flex-start; margin-top: auto; }
.p1-rv-univs { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; background: #fff; }
.p1-rv-univs h3 { font-size: var(--fs-md); font-weight: 800; }
.p1-rv-univs .p1-univ-chips { margin-top: 12px; }
.p1-rv-univs .p1-univ-chips button { padding: 7px 12px; border-radius: var(--radius-pill); background: var(--bg); font-size: 13px; font-weight: 600; color: var(--navy); }
.p1-rv-univs .p1-univ-chips button b { color: var(--red); margin-left: 4px; }
.p1-rv-univs .p1-univ-chips button:hover { background: var(--blue-soft); }
@media (max-width: 1023px) { .p1-rv-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .p1-rv-best { padding: 22px 18px; } .p1-rv-best blockquote { font-size: 18px; } .p1-rv-univs { padding: 18px 16px; } }

.p1-rvd-head { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s-6); align-items: stretch; padding: 28px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.p1-rvd-head::after { content: ""; position: absolute; right: 260px; top: -90px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255,255,255,.04); }
.p1-rvd-head > * { position: relative; z-index: 1; }
.p1-rvd-head .p1-rvd-univ { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.p1-rvd-head .p1-rvd-univ strong { font-size: 18px; font-weight: 800; }
.p1-rvd-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -1px; line-height: 1.35; margin-top: 12px; }
.p1-rvd-head .p1-rvd-meta { margin-top: 12px; font-size: 14px; color: var(--slate-300); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.p1-rvd-profile { background: #fff; color: var(--navy); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; }
.p1-rvd-profile .ph { width: 64px; border-radius: 50%; }
.p1-rvd-profile dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; font-size: 13px; }
.p1-rvd-profile dt { color: var(--slate-500); }
.p1-rvd-profile dd { font-weight: 700; }
.p1-rvd-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: var(--s-10); margin-top: var(--s-8); align-items: start; }
.p1-qa { display: grid; gap: var(--s-6); }
.p1-qa-item h3 { display: flex; gap: 10px; font-size: var(--fs-lg); font-weight: 800; line-height: 1.45; }
.p1-qa-item h3 .p1-q { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 14px; }
.p1-qa-item .prose { margin-top: 10px; padding-left: 40px; }
.p1-quote { margin: 0; padding: 22px 26px; border-left: 4px solid var(--red); background: var(--red-soft); font-size: 19px; font-weight: 800; color: var(--navy); line-height: 1.5; border-radius: 0 var(--radius) var(--radius) 0; }
.p1-quote cite { display: block; margin-top: 8px; font-size: 13px; font-style: normal; font-weight: 600; color: var(--slate-600); }
.p1-rvd-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: var(--s-4); }
.p1-rvd-aside .box h4 { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.p1-rvd-aside .p1-course-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 14px; font-weight: 600; }
.p1-rvd-aside .p1-course-link:hover { color: var(--red); }
.p1-score { display: grid; gap: 10px; }
.p1-score > div { display: grid; grid-template-columns: 54px minmax(0, 1fr) 40px; align-items: center; gap: 8px; font-size: 13px; color: var(--slate-600); }
.p1-score b { color: var(--navy); text-align: right; }
@media (max-width: 1023px) {
  .p1-rvd-head { grid-template-columns: minmax(0, 1fr); }
  .p1-rvd-body { grid-template-columns: minmax(0, 1fr); }
  .p1-rvd-aside { position: static; }
}
@media (max-width: 767px) {
  .p1-rvd-head { padding: 22px 18px; }
  .p1-rvd-head h2 { font-size: 22px; }
  .p1-qa-item .prose { padding-left: 0; }
  .p1-quote { font-size: 16px; padding: 16px 18px; }
}

/* ---------- 게시판 확장 (뉴스·모집요강) ---------- */
.p1-news-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin-bottom: var(--s-8); }
.p1-news-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: border-color .15s; }
.p1-news-card:hover { border-color: var(--navy); }
.p1-news-card .ph { border-radius: 0; }
.p1-news-card .p1-nc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p1-news-card h4 { font-size: var(--fs-md); font-weight: 800; line-height: 1.4; }
.p1-news-card p { font-size: 14px; color: var(--slate-600); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p1-news-card .p1-nc-date { font-size: 13px; color: var(--slate-500); margin-top: auto; padding-top: 4px; }
@media (max-width: 1023px) { .p1-news-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .p1-news-top > :nth-child(3) { display: none; } }
@media (max-width: 767px) { .p1-news-top { grid-template-columns: minmax(0, 1fr); } .p1-news-top > :nth-child(n+2) { display: none; } }

.p1-adm-sched { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); margin-bottom: var(--s-8); }
.p1-adm-sched a { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s; }
.p1-adm-sched a:hover { border-color: var(--navy); }
.p1-adm-sched strong { font-size: var(--fs-md); font-weight: 800; }
.p1-adm-sched .p1-as-d { font-size: 14px; color: var(--slate-600); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
@media (max-width: 1023px) { .p1-adm-sched { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .p1-adm-sched { grid-template-columns: minmax(0, 1fr); gap: 8px; } .p1-adm-sched a { padding: 14px 16px; } }
.board .p1-b-univ { width: 150px; font-weight: 600; color: var(--navy); }
.board .p1-b-year { width: 90px; }
.board .p1-b-period { width: 150px; white-space: nowrap; }
@media (max-width: 767px) {
  .board td.p1-b-univ { order: -2; width: auto; font-size: 13px; margin-right: 6px; }
  .board td.p1-b-year { order: -2; width: auto; }
  .board td.p1-b-period { width: 100%; order: 0; }
  .board td.p1-b-period::before { content: "원서접수 "; color: var(--slate-400); }
}
.p1-post-sum { margin-bottom: var(--s-6); }
.p1-post-sum .tbl td { text-align: left; }
.p1-related { margin-top: var(--s-12); }
.p1-related h3 { font-size: var(--fs-lg); font-weight: 800; margin-bottom: var(--s-4); }

/* ---------- 경쟁률 ---------- */
.p1-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); margin-bottom: var(--s-6); }
.p1-kpi { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.p1-kpi.is-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.p1-kpi .p1-kpi-k { font-size: 13px; color: var(--slate-500); font-weight: 600; }
.p1-kpi.is-navy .p1-kpi-k { color: var(--slate-300); }
.p1-kpi .p1-kpi-v { font-size: 30px; font-weight: 800; letter-spacing: -1px; margin-top: 4px; line-height: 1.2; }
.p1-kpi .p1-kpi-v small { font-size: 15px; font-weight: 700; margin-left: 2px; letter-spacing: 0; }
.p1-kpi .p1-kpi-s { font-size: 13px; color: var(--slate-500); margin-top: 4px; }
.p1-kpi.is-navy .p1-kpi-s { color: var(--slate-300); }
.p1-comp th[data-sort] { cursor: pointer; user-select: none; }
.p1-comp th[data-sort]::after { content: " ↕"; color: var(--slate-400); font-weight: 400; }
.p1-comp th[data-sort].is-asc::after { content: " ↑"; color: var(--red); }
.p1-comp th[data-sort].is-desc::after { content: " ↓"; color: var(--red); }
.p1-comp td.num { font-variant-numeric: tabular-nums; text-align: right; }
.p1-comp td .p1-rate-v { font-weight: 800; color: var(--navy); }
.p1-comp td .p1-rate-v.is-hot { color: var(--red); }
.p1-comp tbody tr:hover td { background: #fafbfc; }
.p1-comp .p1-univ-cell { font-weight: 700; color: var(--navy); text-align: left; }
.p1-comp .t-left { text-align: left; }
.p1-delta { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.p1-delta.is-up { color: var(--red); }
.p1-delta.is-down { color: var(--blue); }
.p1-delta.is-same { color: var(--slate-500); }
.p1-comp-bar { display: block; height: 4px; border-radius: 2px; background: var(--line-soft); margin-top: 4px; overflow: hidden; }
.p1-comp-bar span { display: block; height: 100%; background: var(--red); border-radius: inherit; }
.p1-comp-wrap .tbl { min-width: 760px; }
@media (max-width: 1023px) { .p1-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .p1-kpi { padding: 14px; }
  .p1-kpi .p1-kpi-v { font-size: 22px; }
  .p1-kpi .p1-kpi-s { font-size: 12px; }
}

/* F1: 모집요강 모바일 — 학년도와 대학명이 붙어 보이지 않게 */
@media (max-width: 767px) {
  .board td.p1-b-year::after { content: "학년도 ·"; margin: 0 6px 0 1px; color: var(--slate-400); }
}

/* ---------- F3 보정 ---------- */
/* 캠퍼스 화면: 그 캠퍼스 후기가 3개보다 적을 때 남는 칸 — 합격수기 목록 바로가기 */
.p1-rv-more { display: flex !important; align-items: center; justify-content: center; text-align: center; background: var(--bg); border-style: dashed; }
.p1-rv-more .card-body { display: grid; gap: 6px; font-size: 14px; color: var(--slate-600); }
.p1-rv-more b { font-size: var(--fs-md); color: var(--navy); }

/* ---------- 2026-11-19 B1 실데이터 대입 ---------- */
/* 강남 시설 사진 캡션 (img.ph-img 위) */
.p1-facility .ph.has-img { aspect-ratio: auto; }
.p1-fac-cap { position: absolute; left: 10px; bottom: 8px; z-index: 1; max-width: calc(100% - 20px); padding: 3px 8px; border-radius: var(--radius-sm); background: var(--navy); color: var(--white); font-size: 12px; font-weight: 700; line-height: 1.35; }
/* 캠퍼스 합격률 세부(일반·학사, 노원 캠퍼스 합격률) */
.p1-rate .p1-rt-main p.p1-rt-detail { margin-top: 6px; font-size: 13px; }
/* 캠퍼스 개강일정: 긴 반 이름·수강료 줄바꿈 */
.p1-cp-sched li > div:nth-child(2) { min-width: 0; }
