/* 생각탐구 홈페이지 디자인 기준값 (2026-11-21)
   레퍼런스: 배민아카데미 academy.baemin.com (교육 목록 /edu/list, 교육 상세 /edu/detail/2339, 이벤트 상세 /event/287).
   흰 바탕 · 글자 크기 몇 단계 · 글자색 둘 · 강조색 하나 · 테두리 없는 카드.
   wireframe.css·school.css·snu-sub.css·board.css 맨 위에서 @import 한다.
   글자 크기: 12·14·16·18·24·32px 여섯 단계(큰 숫자 장식만 예외). 굵기: 400·500·700.
   모서리: 4px(버튼·카드·사진)·999px(칩) 두 가지. */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root{
  --font:'Pretendard Variable',Pretendard,'Noto Sans KR',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  --text:#181A1C;    /* 본문·제목 */
  --muted:#6E7275;   /* 보조 설명·날짜·캡션 (흰 바탕 대비 4.9:1) */
  --brand:#4A68B5;   /* 포인트 색(2026-11-22 원장 선택: 배민처럼 작은 곳에만): 링크·숫자·머리표. 버튼·칩·탭은 검정 */
  --ink:#232B45;     /* 짙은 브랜드 면(상단 막대·버튼) */
  --bg-soft:#F5F6F8; /* 옅은 면 */
  --line:#E5E7EB;    /* 선 하나 */
  --r:4px;
  --hm-cream:var(--bg-soft); --hm-line:var(--line); --hm-ink:var(--ink); --hm-num:var(--brand); --hm-teal:var(--brand);
}

html,body{background:#fff}
body{font-family:var(--font);color:var(--text);font-size:16px;line-height:1.6;letter-spacing:-.02em;
  word-break:keep-all;overflow-wrap:break-word;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--font);line-height:1.35;letter-spacing:-.03em;color:inherit}
p,li{line-height:1.65}
button,input,select,textarea{font-family:inherit}

/* 모바일: 제목만 한 단계씩 줄인다 */
@media(max-width:640px){
  h1{font-size:24px}
  h2{font-size:24px}
  h3{font-size:18px}
}

/* ── 하위 페이지 머리: 흰 바탕 ──
   경로(nav.js가 자동으로 붙임) → 가운데 큰 제목(32px) → 한 줄 설명. 상자·배경색 없음.
   대표 사진을 쓰려면 머리 안 설명 아래에 <img class="ab-kv" src="/사진.jpg" alt="…"> — 1.8:1 사진으로 나온다. */
.crumb{max-width:1180px;margin:20px auto 0;padding:0 24px;display:flex;flex-wrap:wrap;align-items:center;gap:6px;
  font-size:12px;color:var(--muted);line-height:1.4}
.crumb a{color:var(--muted);text-decoration:none}
.crumb a:hover{color:var(--text)}
.crumb span{color:#B0B5BA}
.crumb b{color:var(--text);font-weight:500}
main .ab-hero,main.snu-page .ab-hero{
  margin:0 auto 40px!important;min-height:0!important;padding:40px 0 0!important;border-radius:0!important;
  background:#fff!important;color:var(--text);text-align:center;display:block}
main .ab-hero::before,main .ab-hero::after{display:none!important}
.ab-hero .hm-eyebrow{justify-content:center;color:var(--brand)!important;font-size:14px!important;font-weight:500;letter-spacing:0;margin:0 0 8px!important}
.ab-hero .hm-eyebrow::before{display:none}
.ab-hero h1{font-family:var(--font)!important;font-size:32px!important;font-weight:700!important;line-height:1.35!important;
  letter-spacing:-.04em;color:var(--text)!important;margin:0 0 10px!important}
.ab-hero h1 em{color:var(--brand)!important}
.ab-hero p{color:var(--muted)!important;font-size:16px!important;line-height:1.6!important;max-width:640px!important;margin:0 auto!important}
.ab-kv{display:block;width:100%;max-width:1180px;aspect-ratio:1.8;object-fit:cover;border-radius:var(--r);margin:28px auto 0!important;background:var(--bg-soft)}
@media(max-width:900px){
  .crumb{padding:0 16px;margin-top:14px}
  main .ab-hero,main.snu-page .ab-hero{padding:24px 0 0!important;margin:0 auto 28px!important}
  .ab-hero h1{font-size:24px!important}
  .ab-hero p{font-size:14px!important}
  .ab-kv{margin-top:20px!important}
}

/* ── 목록 카드: 배민 교육 목록처럼 ──
   테두리·그림자·떠오르는 움직임 없이, 사진(1.8:1, 모서리 4px) → 작은 머리표 → 제목 16px → 날짜·설명 14px 회색. */
main .newscard-rich,main .newscard,main .gallery-card,main .wk-card,main .review-card{
  background:transparent!important;border:none!important;border-radius:0!important;padding:0!important;box-shadow:none!important;transform:none!important}
main .newscard-rich:hover,main .newscard:hover,main .gallery-card:hover,main .wk-card:hover,main .review-card:hover{transform:none!important;box-shadow:none!important}
main .newscard-rich:hover h3,main .gallery-card:hover h3,main .review-card:hover .review-card-headline{text-decoration:underline;text-underline-offset:3px}
main .newscard-rich img,main .newscard-rich .placeholder,main .gallery-card .snu-placeholder,main .wk-card img{
  aspect-ratio:1.8!important;height:auto!important;border-radius:var(--r)!important;margin:0 0 12px!important;border:none!important}
main .newscard-rich h3,main .gallery-card h3,main .wk-card b{font-size:16px!important;font-weight:500!important;color:var(--text)!important;line-height:1.5!important;margin:0 0 4px!important}
main .newscard-rich p,main .gallery-card p{font-size:14px!important;color:var(--muted)!important;line-height:1.55!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 8px!important}
main .newscard-rich-meta,main .gallery-card .gallery-tag,main .wk-card small{font-size:14px!important;color:var(--muted)!important;font-weight:400!important}
main .newscard-rich .divider,main .gallery-card .gallery-divider{display:none}
main .newscard-rich{min-width:0;max-width:100%;overflow:hidden}
main .newscard-rich img{border-radius:14px!important}
main .newscard-rich h3{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis;max-width:100%;min-width:0}
main .newscard-rich:hover h3{text-decoration:none}
main .newscard-rich-meta [class^=badge-]{margin:0 0 0 6px;vertical-align:1px}
main .review-card{padding:24px 0!important;border-bottom:1px solid var(--line)!important}
main .review-card-headline{font-size:18px!important;font-weight:700!important;color:var(--text)!important}
main .review-card-excerpt{font-size:14px!important;color:var(--muted)!important;line-height:1.65!important}
main .review-card-foot{border-top:none!important;padding-top:0!important}
/* 사진 위 머리표(배민: 반투명 검정, 모서리 4px) */
.wk-tag{background:rgba(0,0,0,.45)!important;color:#fff!important;border-radius:var(--r)!important;font-weight:500!important}

/* ── 칩·탭·버튼 ──
   칩: 흰 바탕 회색 선 알약, 고르면 검정 채움. 버튼: 모서리 4px, 회색 선. */
main .snu-chip,main .gallery-tab{border:1px solid #DDD!important;background:#fff!important;color:var(--text)!important;border-radius:999px!important;font-size:14px!important;font-weight:400!important}
main .snu-chip.active,main .gallery-tab.active{background:var(--text)!important;border-color:var(--text)!important;color:#fff!important;font-weight:500!important}
main .gallery-filterbar{background:#fff!important;border-radius:0!important}

/* ── 상단 메뉴: 배민아카데미처럼 흰 바탕 두 줄 (2026-11-21) ──
   PC: 1줄 로고·햄버거, 2줄 메뉴 가로줄(16px/500, 마우스를 올리면 아래 검정 밑줄), 아래 회색 선.
   모바일(800px 이하): 로고 + 햄버거 한 줄. html body 를 붙여 각 페이지 CSS보다 앞서게 한다. */
html body header.topbar{background:#fff;border-bottom:1px solid var(--line);box-shadow:none}
html body header.topbar .nav{max-width:1180px;flex-wrap:wrap;gap:0 20px;padding:18px 24px 0}
html body header.topbar .brand{color:var(--text);font-size:18px;font-weight:700;letter-spacing:-.03em}
html body header.topbar .brand-logo{height:34px}
html body header.topbar .hamburger span{background:var(--text)}
html body header.topbar .navlinks{order:3;width:100%;gap:0 32px;margin-top:14px;padding:0}
html body header.topbar .navlinks>a,html body header.topbar .navdrop>a{color:var(--text);font-size:16px;font-weight:500;padding:12px 0 14px;display:inline-block}
html body header.topbar .navdrop>a::before,html body header.topbar .navlinks>a::after{left:0;right:0;bottom:-1px;height:2px;background:var(--text)}
html body header.topbar .navdrop>a::after{content:"";margin:0}
html body header.topbar .navdrop-menu{top:100%;background:#fff;border:1px solid var(--line);border-radius:var(--r);
  box-shadow:0 8px 24px rgba(0,0,0,.08);padding:8px 0;min-width:160px;max-width:240px}
html body header.topbar .navdrop-menu a{color:var(--text);font-size:14px;padding:9px 18px}
html body header.topbar .navdrop-menu a:hover{background:var(--bg-soft);color:var(--text)}
@media(max-width:800px){
  html body header.topbar .nav{padding:12px 16px}
  html body header.topbar .brand{font-size:16px}
  html body header.topbar .brand-logo{height:28px}
}
/* 상단 안내 띠: 회색 면에 검정 글씨 */
html body .fit-bar{background:var(--bg-soft)!important;color:var(--text)!important;border-bottom:1px solid var(--line)}
html body .fit-bar a{color:var(--text)!important;font-size:14px}
html body .fit-bar b{background:var(--text)!important;color:#fff!important;border-radius:var(--r)!important;font-weight:500}
html body .fit-bar-x{color:var(--muted)!important}
/* 날개(햄버거) 메뉴도 흰 바탕 */
.wing{background:#fff!important;box-shadow:-6px 0 28px rgba(0,0,0,.12)!important}
.wing-head{border-bottom-color:var(--line)!important}
.wing-head img{height:56px!important;opacity:1!important}
.wing-close{color:var(--text)!important}
.wing-drop>a,.wing-plain{color:var(--text)!important;font-size:16px!important;font-weight:500!important}
.wing-cat{border-top-color:var(--line)!important}
.wing-cat-title{color:var(--text)!important;font-size:16px!important;font-weight:700!important}
.wing-cat-links a{color:var(--muted)!important;font-size:14px!important}
.wing-flyout{background:#fff!important;border:1px solid var(--line);border-radius:var(--r)}
.wing-flyout a{color:var(--text)!important;font-size:14px!important}
.wing-flyout a:hover{background:var(--bg-soft)!important;color:var(--text)!important}
@media(max-width:520px){.wing-flyout{background:var(--bg-soft)!important;border:none}}

/* ── 수업 안내 머리: 배민 교육 상세처럼 (2026-11-21) ──
   왼쪽 대표 사진·영상(1.8:1) + 아래 밑줄 탭, 오른쪽 수업 문의 카드(제목·문의 버튼·인원·횟수·위치·지금 개설된 반).
   PC에서는 카드가 스크롤을 따라온다(sticky). 900px 이하에서는 사진 → 카드 순서로 쌓인다.
   쓰는 곳: elementary.html, middle.html. 카드의 시간표는 nav.js가 같은 페이지 #timetable 표에서 읽어 채운다. */
main .ab-hero.cls{display:grid!important;grid-template-columns:minmax(0,1fr) 360px;gap:32px;align-items:start;
  text-align:left;padding:24px 0 0!important;max-width:1180px}
.cls-media .ab-kv,.cls-media video{margin:0!important;width:100%;aspect-ratio:1.8;object-fit:cover;border-radius:var(--r);display:block}
.cls-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-top:24px;overflow-x:auto}
.cls-tabs a{flex-shrink:0;padding:12px 2px 14px;font-size:16px;font-weight:500;color:var(--muted);text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px}
.cls-tabs a:first-child,.cls-tabs a:hover{color:var(--text);border-bottom-color:var(--text);font-weight:700}
.cls-card{position:sticky;top:96px;border:1px solid var(--line);border-radius:var(--r);padding:28px 24px;background:#fff}
.cls-card .hm-eyebrow{justify-content:flex-start;margin:0 0 8px!important}
.ab-hero.cls .cls-card h1{font-size:24px!important;text-align:left;margin:0 0 8px!important}
.ab-hero.cls .cls-card p{font-size:14px!important;text-align:left;margin:0 0 18px!important;max-width:none!important}
.cls-cta{display:block;text-align:center;background:var(--brand);color:#fff;font-size:16px;font-weight:700;padding:14px 16px;border-radius:var(--r);text-decoration:none}
.cls-cta:hover{filter:brightness(1.08)}
.cls-facts{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.cls-facts li{display:flex;align-items:center;gap:12px;font-size:16px;color:var(--text);line-height:1.4}
.cls-facts svg{width:22px;height:22px;flex-shrink:0;color:var(--text)}
.cls-place{margin-top:20px;background:var(--bg-soft);border-radius:var(--r);padding:18px 16px}
.cls-place-top{display:flex;align-items:center;gap:8px;font-size:16px}
.cls-chip{background:var(--ink);color:#fff;font-size:12px;font-weight:500;padding:3px 8px;border-radius:var(--r)}
.cls-map{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:12px;border:1px solid var(--brand);color:var(--brand);
  background:#fff;border-radius:var(--r);padding:10px;font-size:14px;font-weight:500;text-decoration:none}
.cls-map svg{width:18px;height:18px}
.cls-tt{margin-top:14px}
.cls-tt-h{font-size:14px;font-weight:700;color:var(--text);margin:0 0 6px}
.cls-tt ul{list-style:none;margin:0;padding:0}
.cls-tt li{display:flex;gap:10px;align-items:baseline;font-size:14px;padding:6px 0;border-top:1px solid var(--line);color:var(--text)}
.cls-tt li:first-child{border-top:none}
.cls-tt .d{font-weight:700;width:1.4em}
.cls-tt .t{width:3.2em;color:var(--text)}
.cls-tt .g{flex:1;color:var(--muted)}
.cls-tt .s{font-size:12px;font-weight:500;color:var(--brand)}
.cls-tt .s.new{color:#C05621}
.cls-tt-more{display:block;margin-top:8px;font-size:14px;color:var(--muted);text-decoration:none}
@media(max-width:900px){
  main .ab-hero.cls{grid-template-columns:1fr;gap:16px;padding-top:12px!important}
  .cls-card{position:static;padding:22px 18px}
  .cls-tabs{margin-top:12px;gap:20px}
  .cls-tabs a{font-size:14px}
}
/* 날개 맨 위 로그인 표시(nav.js wing-auth)도 흰 바탕에 맞춘다 */
.wing-auth{border-color:var(--line)!important;background:var(--bg-soft)!important;border-radius:var(--r)!important}
.wing-auth-t{color:var(--text)!important;font-size:14px!important}
.wing-auth-out{background:var(--text)!important;color:#fff!important;border-radius:var(--r)!important;font-weight:500!important}

/* ── 수업 상세 본문(예비 고1 겨울 집중반 pre-high-winter.html, 2026-11-21) ── */
/* 간격 기준(2026-11-30): 탭→첫 구역 32/모바일 24, 구역→구역 48/모바일 40, 머리표→제목 6, 제목→첫 문장 12~16, 구역 안 상자 바뀜 위 32·아래 24 */
.ph-sec{margin-top:48px}
.ph-lead{font-size:16px;color:var(--text);line-height:1.75;max-width:820px}
.ph-lead a,.ph-check a,.ph-faq a{color:var(--brand)}
.ph-h3{font-size:18px;font-weight:700;margin:32px 0 12px}
.ph-rec{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.ph-rec li{position:relative;padding:14px 16px 14px 44px;background:var(--bg-soft);border-radius:var(--r);font-size:16px}
.ph-rec li::before{content:"✓";position:absolute;left:18px;top:13px;color:var(--brand);font-weight:700}
.ph-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.ph-grid div{border:1px solid var(--line);border-radius:var(--r);padding:20px 18px}
.ph-grid b{display:block;font-size:16px;margin-bottom:6px}
.ph-grid span{font-size:14px;color:var(--muted);line-height:1.6}
.ph-table{width:100%;border-collapse:collapse;font-size:14px;word-break:keep-all;overflow-wrap:break-word}
.ph-table th{background:var(--bg-soft);font-weight:700;text-align:left;padding:10px 12px;border-top:2px solid var(--text)}
.ph-table td{padding:12px;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.5}
.ph-table td:first-child{font-weight:700}
.ph-note{font-size:14px;color:var(--muted);margin-top:10px}
.cls-place .ph-note{margin:12px 0 0;text-align:center}
.ph-quote{position:relative;margin:0;padding:44px 36px 32px;background:var(--ink);color:#fff;border-radius:var(--r);font-size:24px;line-height:1.6;font-weight:700;word-break:keep-all}
.ph-quote::before{content:"\201C";position:absolute;top:6px;left:28px;font-size:72px;line-height:1;font-weight:700;color:#A9BEF0}
.ph-quote em{font-style:normal;background:linear-gradient(transparent 62%,rgba(74,104,181,.75) 62%)}
.ph-quote cite{display:block;margin-top:18px;font-size:14px;font-style:normal;font-weight:400;color:rgba(255,255,255,.72)}
.ph-quote cite a{color:#A9BEF0}
.ph-check{list-style:none;margin:0;padding:0;border-top:2px solid var(--text)}
.ph-check li{display:flex;gap:16px;padding:14px 4px;border-bottom:1px solid var(--line);font-size:16px;line-height:1.6}
.ph-check b{flex:0 0 88px;font-weight:700}
.ph-data{margin-top:28px}
.ph-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ph-stats div{border:1px solid var(--line);border-radius:var(--r);padding:20px 18px}
.ph-stats em{display:block;font-style:normal;font-size:32px;font-weight:700;color:var(--brand);line-height:1.2}
.ph-stats em small{font-size:16px;font-weight:500;color:var(--muted);margin-left:2px}
.ph-stats b{display:block;font-size:16px;margin:6px 0 4px}
.ph-stats span{font-size:14px;color:var(--muted);line-height:1.6}
.ph-h4{font-size:16px;font-weight:700;margin:28px 0 10px}
.ph-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:14px;color:var(--muted);margin:0 0 10px}
.ph-legend span{display:inline-flex;align-items:center;gap:6px}
.ph-legend i{width:12px;height:12px;border-radius:2px;display:inline-block}
.ph-legend .e,.ph-stack .e{background:var(--brand)}
.ph-legend .o,.ph-stack .o{background:color-mix(in srgb,var(--brand) 38%,#fff)}
.ph-legend .x,.ph-stack .x{background:var(--bg-soft);border:1px solid var(--line)}
.ph-stack{max-width:820px;margin:0;padding:0;list-style:none}
.ph-stack li{display:grid;grid-template-columns:76px 1fr 32px;align-items:center;gap:10px;padding:3px 0;font-size:14px}
.ph-stack li>b{text-align:right}
.ph-stack .st{display:flex;height:24px;border-radius:var(--r);overflow:hidden}
.ph-stack .st i{display:flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;font-weight:500;color:#fff;min-width:0;overflow:hidden}
.ph-stack .st .o{color:var(--text)}
.ph-stack .st .x{color:var(--muted);border:0}
.ph-stack .avg{margin-top:8px;padding-top:10px;border-top:1px solid var(--line);font-weight:700}
.ph-types{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ph-types div{border:1px solid var(--line);border-radius:var(--r);padding:16px 16px 14px}
.ph-types svg{width:28px;height:28px;color:var(--brand);display:block;margin-bottom:8px}
.ph-types b{font-size:16px}
.ph-types em{float:right;font-style:normal;font-size:24px;font-weight:700;color:var(--brand);line-height:1.2}
.ph-types em small{font-size:14px;font-weight:500;color:var(--muted)}
.ph-types .bar{display:block;clear:both;height:6px;background:var(--bg-soft);border-radius:999px;margin:10px 0 8px;overflow:hidden}
.ph-types .bar i{display:block;height:100%;background:var(--brand);border-radius:999px}
.ph-types .ex{font-size:14px;color:var(--muted);line-height:1.5}
.ph-trend{max-width:820px;margin:0;padding:0;list-style:none}
.ph-trend li{display:grid;grid-template-columns:76px 1fr 120px;align-items:center;gap:10px;padding:4px 0;font-size:14px}
.ph-trend .tr{height:20px;background:var(--bg-soft);border-radius:var(--r);overflow:hidden}
.ph-trend .tr i{display:block;height:100%;background:color-mix(in srgb,var(--brand) 38%,#fff)}
.ph-trend .on .tr i{background:var(--brand)}
.ph-trend b{font-size:14px}
.ph-trend b small{display:block;font-size:12px;font-weight:400;color:var(--muted)}
.ph-pair{max-width:820px;margin:0;padding:0;list-style:none;border-top:2px solid var(--text)}
.ph-pair li{display:grid;grid-template-columns:150px 1fr 110px;align-items:center;gap:6px 14px;padding:10px 2px;border-bottom:1px solid var(--line);font-size:14px}
.ph-pair .nm b{display:block;font-size:16px}
.ph-pair .nm{color:var(--muted);line-height:1.4}
.ph-pair .pb{display:flex;flex-direction:column;gap:4px}
.ph-pair .tr{display:block;height:8px;background:var(--bg-soft);border-radius:999px;overflow:hidden}
.ph-pair .tr i{display:block;height:100%;border-radius:999px}
.ph-pair .tr .a{background:#B9BFCB}
.ph-pair .tr .b{background:var(--brand)}
.ph-pair .dn .tr .b{background:#C2453A}
.ph-pair em{font-style:normal;font-weight:700;text-align:right;white-space:nowrap}
.ph-pair .dn em{color:#C2453A}
.ph-pair .tx{grid-column:2/4;color:var(--muted);font-size:13px}
.ph-legend .x2,.ph-stack .x2{background:#B9BFCB}
.ph-stack .st .x2{color:var(--text)}
.ph-mix li{grid-template-columns:120px 1fr}
.ph-legend .ga{background:#B9BFCB}
.ph-legend .dn{background:#C2453A}
.ph-kinds{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ph-kinds div{border:1px solid var(--line);border-radius:var(--r);padding:18px}
.ph-kinds b{display:block;font-size:16px;margin:0 0 6px}
.ph-kinds span{display:block;font-size:14px;color:var(--muted);line-height:1.6}
.ph-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ph-flow div{border:1px solid var(--line);border-radius:var(--r);padding:18px;position:relative}
.ph-flow em{display:inline-flex;width:24px;height:24px;border-radius:999px;background:var(--text);color:#fff;font-style:normal;font-size:14px;font-weight:700;align-items:center;justify-content:center;margin-right:8px}
.ph-flow b{font-size:16px}
.ph-flow span{display:block;margin-top:8px;font-size:14px;color:var(--muted);line-height:1.6}
.ph-need{margin-top:20px;padding:20px 22px;background:var(--bg-soft);border-radius:var(--r);font-size:16px;line-height:1.75}
.ph-need b{color:var(--brand)}
.ph-faq{border-bottom:1px solid var(--line);padding:4px 0}
.ph-faq summary{cursor:pointer;font-size:16px;font-weight:700;padding:14px 4px;list-style:none}
.ph-faq summary::after{content:"+";float:right;color:var(--muted)}
.ph-faq[open] summary::after{content:"−"}
.ph-faq p{margin:0 4px 16px;font-size:16px;color:var(--text);line-height:1.7}
@media(max-width:900px){
  .ph-sec{margin-top:40px}
  .ph-grid{grid-template-columns:1fr 1fr}
  .ph-types{grid-template-columns:1fr 1fr}
  .ph-flow{grid-template-columns:1fr}.ph-kinds{grid-template-columns:1fr}
  .ph-stats{grid-template-columns:1fr}
  .ph-stats div{display:grid;grid-template-columns:96px 1fr;column-gap:12px;align-items:center;padding:14px 16px}
  .ph-stats em{grid-row:1/3;font-size:24px}
  .ph-stats b{margin:0 0 2px}
  .ph-check li{flex-direction:column;gap:2px}
  .ph-check b{flex:none}
  .ph-quote{padding:40px 20px 24px;font-size:18px}.ph-quote::before{left:16px;font-size:60px}
}
@media(max-width:520px){.ph-grid{grid-template-columns:1fr}.ph-types{gap:8px}.ph-types div{padding:12px}.ph-types em{float:none;display:block;font-size:20px;margin-top:2px}.ph-types b{font-size:14px}.ph-stack li{grid-template-columns:60px 1fr 26px;gap:6px}.ph-stack.ph-mix li{grid-template-columns:1fr;gap:4px}.ph-mix .st i{font-size:11px}.ph-trend li{grid-template-columns:64px 1fr 88px}.ph-mix li{grid-template-columns:1fr}.ph-mix .st i{font-size:11px}.ph-pair li{grid-template-columns:1fr 96px}.ph-pair .pb{grid-column:1/3;order:3}.ph-pair .tx{grid-column:1/3;order:4}.ph-pair em{order:2}}

/* ── 배민아카데미 기준 덮어쓰기(2026-11-21): 고교분석·학교 리포트 ──
   짙은 남색 구역 머리(점선 원·둥근 24px)를 흰 바탕 가운데 제목으로, 학교 카드는 회색 선 한 줄·모서리 4px·그림자 없음으로.
   페이지 안 <style>의 id 선택자보다 앞서야 해서 !important 를 쓴다. */
.sechead{background:#fff!important;border-radius:0!important;margin:16px 0 24px!important;box-shadow:none!important}
.sechead::before,.sechead::after{display:none!important}
.sechead-inner{display:block!important;height:auto!important;padding:32px 0 8px!important;text-align:center!important}
.sechead-eyebrow{justify-content:center!important;color:var(--brand)!important;font-size:14px!important;font-weight:500!important;letter-spacing:0!important}
.sechead-eyebrow::before{display:none!important}
.sechead h1,.sechead h2{font-family:var(--font)!important;color:var(--text)!important;font-size:32px!important;font-weight:700!important;line-height:1.35!important;letter-spacing:-.04em!important;text-align:center!important;margin:0 0 10px!important}
.sechead h1 em,.sechead h2 em,.sechead h1 span,.sechead h2 span{color:var(--brand)!important}
.sechead p{color:var(--muted)!important;font-size:16px!important;line-height:1.6!important;white-space:normal!important;text-align:center!important;max-width:680px!important;margin:0 auto!important}
@media(max-width:800px){.sechead h1,.sechead h2{font-size:24px!important}.sechead p{font-size:14px!important}.sechead-inner{padding:20px 0 4px!important}}

/* ── 수업 문의 카드 다듬기(2026-11-21): 탭 줄 세로 스크롤 없애기, 카드를 촘촘히 해 사진 아래 빈자리 줄이기 ── */
.cls-tabs{overflow:visible}
.cls-tabs a{margin-bottom:0;border-bottom:0;box-shadow:inset 0 -2px 0 transparent}
.cls-tabs a:first-child,.cls-tabs a:hover{border-bottom:0;box-shadow:inset 0 -2px 0 var(--text)}
.cls-card{padding:22px 20px}
.ab-hero.cls .cls-card p{margin:0 0 14px!important}
.cls-facts{margin-top:14px;gap:8px}
.cls-facts li{font-size:15px}
.cls-place{margin-top:14px;padding:14px}
.cls-tt li{padding:4px 0}
main .ab-hero.cls{margin-bottom:0!important}
main .ab-hero.cls + .ns-section,main .ab-hero.cls + .snu-container > .section:first-child{padding-top:40px!important;margin-top:0!important}
@media(max-width:900px){
  .cls-tabs{overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
  .cls-tabs::-webkit-scrollbar{display:none}
}

/* 구역 제목 장식 걷기(2026-11-22): 제목 밑 짧은 막대와 머리표 앞 줄을 없앤다 — 배민처럼 글자만 */
main .section-head h2{background:none!important;padding-bottom:0!important}
main .hm-eyebrow::before{display:none!important}

/* ── 배민식 색 쓰임(2026-11-22): 뼈대는 검정·회색, 색은 배너 그림 안과 작은 포인트에만 ──
   버튼·고른 칩·탭·수업 문의 버튼은 검정. 포인트 블루 #4A68B5 는 링크·숫자·머리표에만. */
.cls-cta,.hm-top .fp-go,.cta-pills .pill.apply,.cmp-run-btn,.tier-btn.dark,.tier-btn.teal,section.cta .pill.tel{background:var(--text)!important;color:#fff!important;border-color:var(--text)!important}
.cls-cta:hover,.hm-top .fp-go:hover,.cta-pills .pill.apply:hover{background:#000!important;filter:none}
.tier-btn.outline{border-color:var(--text)!important;color:var(--text)!important}
.school:hover{border-color:var(--text)!important}
.school::before{background:var(--text)!important}
.sc-foot{background:var(--bg-soft)!important;border-top:1px solid var(--line)!important}
.school:hover .sc-foot{background:var(--text)!important;color:#fff!important}
.sc-lbl{color:var(--text)!important}
.school:hover .sc-lbl{color:var(--text)!important}

/* 머리 위 빈자리 줄이기(2026-11-22 원장: 「불필요한 공백」) — 경로 표시를 없앴고, 머리글 바로 아래 32px에서 제목이 시작한다 */
html body main .ab-hero{margin-top:0!important;padding-top:32px!important}
html body main .ab-hero.cls{padding-top:24px!important}
html body main .ab-hero.ab-bead{padding-top:0!important}
@media(max-width:900px){html body main .ab-hero{padding-top:20px!important}html body main .ab-hero.cls{padding-top:12px!important}}
/* 수업 안내 머리: 사진과 문의 카드를 위쪽에 맞추고(겹쳐 밀리지 않게), 바로 밑에 놓인 하위 탭은 두 칸 전체 폭 (2026-11-23) */
main .ab-hero.cls{overflow:visible}
main .ab-hero.cls > .cls-tabs{grid-column:1/-1;margin-top:0}
/* 수업 안내 머리(초등·중등·예비 고1): 사진 1.8:1 고정, 문의 카드는 사진과 위·아래 끝선을 맞춘다 (2026-11-23) */
@media(min-width:901px){
  main .ab-hero.cls{align-items:stretch}
  main .ab-hero.cls .cls-card{position:static;display:flex;flex-direction:column;justify-content:center}
  main .ab-hero.cls .cls-media{position:relative;align-self:stretch;width:100%;min-width:0;aspect-ratio:1.8}
  main .ab-hero.cls .cls-media .ab-kv,main .ab-hero.cls .cls-media video{position:absolute;inset:0;height:100%;aspect-ratio:auto}
}
/* 수업 안내 문의 카드: 글자·행간을 키워 카드 안이 사진 높이(1.8:1)를 채우게 (2026-11-23) */
@media(min-width:901px){
  main .ab-hero.cls .cls-card{padding:24px 26px}
  main .ab-hero.cls .cls-card .hm-eyebrow{font-size:14px;margin:0 0 10px!important}
  .ab-hero.cls .cls-card h1{font-size:26px!important;line-height:1.38;margin:0 0 10px!important}
  .ab-hero.cls .cls-card p{font-size:15px!important;line-height:1.65;margin:0 0 16px!important}
  main .ab-hero.cls .cls-cta{padding:15px}
  main .ab-hero.cls .cls-facts{margin-top:16px;gap:10px}
}
/* 예비 고1 페이지: 도표·표·출처·카드 묶음을 같은 폭(820px)으로 통일 (2026-11-23) */
.ph-sec .ph-table,.ph-sec .ph-rec,.ph-sec .ph-note,.ph-sec .ph-legend,.ph-sec .ph-stats,.ph-sec .ph-types,.ph-sec .ph-flow,.ph-sec .ph-grid,.ph-sec .ph-h3,.ph-sec .ph-h4,.ph-sec .ph-need,.ph-sec .ph-kinds,.ph-sec .ph-quote,.ph-sec .ph-faq{max-width:820px}
/* 본문 폭 820px 통일 (2026-11-23 원장 결정「모든 페이지를 820에 맞춰줘」).
   main 안의 내용은 820px(좌우 여백 24px 포함 868px)을 넘지 않는다. 화면 끝까지 펼치는 장식(구슬 영상 등)은 calc(50% - 50vw) 여백으로 그대로 펼쳐진다. */
@media(min-width:901px){html body main{max-width:868px!important;margin-left:auto!important;margin-right:auto!important;padding-left:24px!important;padding-right:24px!important;box-sizing:border-box}}
body main .snu-container,body main .section,body main .ab-hero.cls{max-width:none}
@media(min-width:901px){body main .snu-container{padding-left:0;padding-right:0}}
@media(min-width:901px){main .ab-hero.cls{grid-template-columns:minmax(0,1fr) 320px;gap:24px}}

/* 동그라미 단계 목차(.ab-pills) 공통 (2026-11-23 원장 지시「이런 형태로 메뉴 적용이 되어야 할 페이지는 일괄 적용」).
   원래 about-shared.css에만 있던 규칙을 모든 페이지에서 쓰게 옮겨 둔다. 움직임은 about-shared.js */
.ab-pills{position:sticky;top:118px;z-index:9;display:flex;justify-content:center;padding:10px 16px 8px;background:#fff;border-bottom:1px solid var(--line);margin:0 calc(50% - 50vw)}
.ab-pills a{position:relative;flex:1 1 0;max-width:190px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:0 2px;font-size:14px;line-height:1.3;text-align:center;color:var(--muted);text-decoration:none;word-break:keep-all}
.ab-pills a::before{content:"";position:relative;z-index:1;width:14px;height:14px;box-sizing:border-box;border:2px solid var(--brand);border-radius:50%;background:#fff;transition:background .2s}
.ab-pills a::after{content:"";position:absolute;top:6px;left:50%;width:100%;height:2px;background:var(--line)}
.ab-pills a:last-child::after{display:none}
.ab-pills a.done::after{background:var(--brand)}
.ab-pills a.done::before,.ab-pills a.on::before{background:var(--brand)}
.ab-pills a.on{color:var(--text);font-weight:700}
html:has(.ab-pills){scroll-padding-top:190px}
@media(max-width:900px){.ab-pills{top:57px;padding:8px 6px 6px}.ab-pills a{font-size:12px;gap:5px}html:has(.ab-pills){scroll-padding-top:120px}}

/* 상단 메뉴도 본문과 같은 820px 폭에 맞춘다 (2026-11-23 원장 지시) */
@media(min-width:901px){html body header.topbar .nav{max-width:868px!important;padding-left:24px!important;padding-right:24px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}}

/* 학교별 리포트(school-*.html) 고정 띠의 목차도 동그라미 단계로 (2026-11-23 원장 지시). 상담 버튼은 오른쪽에 그대로 */
body .sr-sticky .sr-jump{flex-wrap:nowrap;justify-content:center;gap:0;overflow:visible}
body .sr-sticky .sr-jump a{position:relative;flex:1 1 0;max-width:190px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:0 2px;border:0;border-radius:0;background:none;font-size:14px;font-weight:400;line-height:1.3;color:var(--muted);white-space:normal;word-break:keep-all;text-align:center}
body .sr-sticky .sr-jump a::before{content:"";position:relative;z-index:1;width:14px;height:14px;box-sizing:border-box;border:2px solid var(--brand);border-radius:50%;background:#fff;transition:background .2s}
body .sr-sticky .sr-jump a::after{content:"";position:absolute;top:6px;left:50%;width:100%;height:2px;background:var(--line)}
body .sr-sticky .sr-jump a:last-child::after{display:none}
body .sr-sticky .sr-jump a.done::after{background:var(--brand)}
body .sr-sticky .sr-jump a.done::before,body .sr-sticky .sr-jump a.on::before{background:var(--brand)}
body .sr-sticky .sr-jump a.on{background:none;border:0;color:var(--text);font-weight:700}
@media(max-width:900px){body .sr-sticky .sr-jump a{font-size:12px;gap:5px}}

/* 옅은 면 위의 흰 글자 수정 (2026-11-23): .hm-dark가 옅은 회색 면이 된 뒤 흰색으로 남은 글자를 본문색으로 */
.hm-dark:not(.fit-slim) .iv-steps b{color:var(--text)}
.hm-dark:not(.fit-slim) .iv-steps small{color:var(--muted)}
.hm-dark:not(.fit-slim) .iv-steps::before{border-top-color:var(--line)}
.hm-dark:not(.fit-slim) .iv-ico{background:var(--ink);border-color:var(--brand,#4A68B5);color:#A9BEF0}
.hm-dark:not(.fit-slim) .iv-tags i{background:#E8EEFA;color:var(--ink)}
.hm-dark:not(.fit-slim) .iv-points{border:1px solid var(--line)}

/* 상단 메뉴 줄을 가운데 정렬 (2026-11-23 원장 지시) */
@media(min-width:801px){html body header.topbar .navlinks{flex-basis:100%;justify-content:center}}

/* 동그라미 목차 띠 정리 (2026-11-23 원장 지시)
   ① 점을 잇는 선을 띠 왼쪽 끝에서 오른쪽 끝까지 깐다 ② 띠 아래 가로 구분선은 없앤다
   ③ 위·아래 여백은 모든 페이지에서 같다: 머리와의 간격 32px, 첫 내용까지 56px */
html body .ab-pills{border-bottom:0;margin-top:0;margin-bottom:0}
html body .ab-pills::before{content:"";position:absolute;left:0;right:0;top:16px;height:2px;background:var(--line)}
html body .ab-hero + .ab-pills,html body .ab-bead + .ab-pills{margin-top:32px!important}
/* 아래 간격: 페이지마다 첫 내용 앞의 여백이 달랐던 곳을 56px로 맞춘다 */
html body .ab-pills + .snu-container .hm-dark{margin-top:8px!important}
html body .ab-pills + .section:has(.sk-hero){margin-top:56px}
html body .ab-pills + .stx-wrap{padding-top:56px}

/* 학교 리포트 목차 띠도 같은 규칙: 선은 양끝까지, 아래 구분선은 없앤다 */
html body .sr-sticky{border-bottom:0!important}
body .sr-sticky .sr-jump{position:relative}
body .sr-sticky .sr-jump::before{content:"";position:absolute;left:0;right:0;top:6px;height:2px;background:var(--line)}

/* 학교 카드는 한 줄에 3개 (2026-11-23 원장 지시). 모바일은 기존 값 */
@media(min-width:861px){html body #schoolGrid.grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:901px){html body .fit-hero .wrap{max-width:868px!important;padding-left:24px;padding-right:24px}}

/* 공지·교육소식·관내정보 탭도 동그라미 목차와 같은 규칙: 선은 좌우 끝까지, 아래 구분선 없음, 위·아래 여백 동일 */
html body .board-tabs{position:relative;max-width:none;margin:24px calc(50% - 50vw) 56px;padding:10px 16px 8px;border-bottom:0}
html body .board-tabs::before{content:"";position:absolute;left:0;right:0;top:16px;height:2px;background:var(--line)}
html body .board-tab{flex:1 1 0;max-width:190px}
html body .ab-hero.iq-hero + .ab-pills{margin-bottom:56px}


/* ── 하위 페이지 머리 규칙 하나로 (2026-11-23 원장 지시: 「모든 하위 메뉴마다 상단의 규칙이 동일하게, 간격까지」)
   기준: 흰 바탕 가운데 · 머리표 14px(상단 메뉴 아래 64px) → 제목 32px → 설명 16px 회색.
   예외는 수업안내(.cls 사진+문의 카드)와 생각탐구 소개(.ab-bead 영상) 둘뿐이다. */
@media(min-width:901px){
  html body main:is(.snu-page,:not(.snu-page)) .ab-hero:not(.cls):not(.ab-bead){margin-top:0!important;padding-top:64px!important}
  /* 학교분석 탭 머리: 70px → 64px, 학교비교 탭: 56px → 64px */
  html body .tab-panel .sechead.reveal{margin-top:10px!important}
  html body #compareContent{margin-top:8px}
}
/* 고교 선택 점검·입시일정의 상자형 머리(회색·남색)를 같은 규칙으로 */
html body .fit-cream,html body .cal-cream{display:block!important;background:none!important;border:0!important;border-radius:0!important;min-height:0!important;padding:40px 0 0!important;text-align:center;overflow:visible}
html body .fit-cream::before,html body .fit-cream::after,html body .cal-cream::before,html body .cal-cream::after{display:none!important}
html body .fit-cream .hm-eyebrow,html body .cal-cream .hm-eyebrow{justify-content:center;color:var(--brand)!important;font-family:var(--font);font-size:14px!important;font-weight:500;letter-spacing:0;margin:0 0 8px!important}
html body .fit-cream .hm-eyebrow::before,html body .cal-cream .hm-eyebrow::before{display:none}
html body .fit-cream h1,html body .cal-cream h1{font-family:var(--font)!important;font-size:32px!important;font-weight:700!important;line-height:1.35!important;color:var(--text)!important;margin:0 0 12px!important;text-wrap:balance;white-space:normal}
html body .fit-cream h1 em,html body .cal-cream h1 em{color:var(--brand)!important}
html body .fit-cream p,html body .cal-cream p{color:var(--muted)!important;font-size:16px!important;line-height:1.6!important;max-width:640px!important;margin:0 auto!important;text-align:center!important}
html body .cal-cream .cal-jump{justify-content:center;margin-top:24px}
html body .cal-cream .cal-jump a{background:#fff;border:1px solid var(--line);color:var(--text);font-weight:500;font-size:14px}
html body .cal-cream .cal-jump a:hover{background:var(--text);border-color:var(--text);color:#fff}
@media(max-width:900px){html body main:is(.snu-page,:not(.snu-page)) .ab-hero:not(.cls):not(.ab-bead){margin-top:0!important;padding-top:40px!important}html body .tab-panel .sechead.reveal{margin-top:-2px!important}html body .fit-cream,html body .cal-cream{padding-top:16px!important}html body .fit-cream h1,html body .cal-cream h1{font-size:24px!important}html body .fit-cream p,html body .cal-cream p{font-size:14px!important}}

/* ── 페이지 안 이동은 밑줄 탭 하나 (2026-11-24 원장 결정: 「밑줄 탭으로 통일」)
   동그라미 목차(.ab-pills)·게시판 탭(.board-tabs)·학교 리포트 띠(.sr-jump)·이동 칩(.tu-jump·.cal-jump)을
   수업안내의 .cls-tabs와 같은 모양으로 맞춘다. 알약 칩은 걸러 보기(.sc-tabs 등)에만 쓴다. */
html body .ab-pills,html body .board-tabs,html body .sr-sticky .sr-jump,html body .tu-jump,html body .cal-cream .cal-jump{
  display:flex!important;flex-wrap:nowrap;justify-content:flex-start;gap:28px;max-width:none;
  margin-left:0!important;margin-right:0!important;padding:0!important;background:#fff;
  border:0;border-bottom:1px solid var(--line)!important;border-radius:0;
  overflow-x:auto;overflow-y:hidden;scrollbar-width:none;text-align:left}
html body .ab-pills::-webkit-scrollbar,html body .board-tabs::-webkit-scrollbar,html body .sr-jump::-webkit-scrollbar,html body .tu-jump::-webkit-scrollbar,html body .cal-jump::-webkit-scrollbar{display:none}
html body .ab-pills::before,html body .board-tabs::before,html body .sr-sticky .sr-jump::before,
html body .ab-pills a::before,html body .ab-pills a::after,html body .board-tab::before,html body .board-tab::after,
html body .sr-sticky .sr-jump a::before,html body .sr-sticky .sr-jump a::after{display:none!important}
html body .ab-pills a,html body .board-tab,html body .sr-sticky .sr-jump a,html body .tu-jump a,html body .cal-cream .cal-jump a{
  flex:0 0 auto;max-width:none;display:block;padding:12px 2px 14px!important;margin:0;
  font-family:var(--font);font-size:16px!important;font-weight:500;line-height:1.3;color:var(--muted)!important;white-space:nowrap;
  background:none!important;border:0!important;border-radius:0!important;box-shadow:inset 0 -2px 0 transparent;text-decoration:none;cursor:pointer}
html body .ab-pills a.on,html body .ab-pills a:hover,html body .board-tab.active,html body .board-tab:hover,
html body .sr-sticky .sr-jump a.on,html body .sr-sticky .sr-jump a:hover,html body .tu-jump a.on,html body .tu-jump a:hover,html body .cal-cream .cal-jump a:hover{
  color:var(--text)!important;font-weight:700;box-shadow:inset 0 -2px 0 var(--text)}
/* 위아래 간격: 머리 아래 32px, 탭 아래 내용까지는 각 구역의 기존 여백 */
html body .ab-pills,html body .board-tabs{margin-top:32px!important;margin-bottom:0!important}
html body .board-tabs{margin-bottom:32px!important}
html body .ab-hero .tu-jump,html body .cal-cream .cal-jump{margin-top:32px!important}
html body .sr-sticky{border-bottom:0!important;padding:0!important}
@media(max-width:900px){
  html body .ab-pills,html body .board-tabs,html body .sr-sticky .sr-jump,html body .tu-jump,html body .cal-cream .cal-jump{gap:20px}
  html body .ab-pills a,html body .board-tab,html body .sr-sticky .sr-jump a,html body .tu-jump a,html body .cal-cream .cal-jump a{font-size:14px!important}
}
/* 머리 안 탭이 본문 폭(820)과 같게, 항목이 하나뿐인 탭은 두지 않는다 */
@media(min-width:901px){html body main:is(.snu-page,:not(.snu-page)) .ab-hero:not(.cls):not(.ab-bead){padding-left:0!important;padding-right:0!important;width:auto!important;max-width:none!important}}
html body .tu-jump:has(> a:only-child){display:none!important}
@media(min-width:901px){html body .tu-jump:has(> a:nth-child(8)){gap:16px}}
/* 탭 아래 회색 선은 화면 양끝까지 잇는다 (2026-11-24 원장 지시). 탭 글자는 본문 폭 안에 그대로 둔다 */
html body .ab-pills,html body .board-tabs,html body .sr-sticky .sr-jump,html body .tu-jump,html body .cal-cream .cal-jump,html body .cls-tabs{
  border-bottom:1px solid var(--line)!important;
  border-image:linear-gradient(var(--line),var(--line)) 0 0 1 0 / 0 0 1px 0 / 0 100vw 0 100vw}
html body main .ab-hero:not(.cls):not(.ab-bead),html body .cal-cream,html body .cal-hero{overflow:visible!important}
html body .tu-jump,html body .cal-cream .cal-jump{justify-content:flex-start!important}
/* PC: 가로 스크롤을 끄고 선을 바깥으로 잇는다. 모바일: 탭 띠 자체를 화면 폭으로 넓혀 선이 끝까지 가게 한다 */
@media(min-width:901px){html body .ab-pills,html body .board-tabs,html body .sr-sticky .sr-jump,html body .tu-jump,html body .cal-cream .cal-jump,html body .cls-tabs{overflow:visible!important}}
@media(max-width:900px){html body .ab-pills,html body .board-tabs,html body .sr-sticky .sr-jump,html body .tu-jump,html body .cal-cream .cal-jump,html body .cls-tabs{
  border-image:none;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding-left:max(16px,calc(50vw - 50%))!important;padding-right:max(16px,calc(50vw - 50%))!important;overflow-x:auto!important}html body{overflow-x:clip}}

/* ── 모바일 좌우 여백은 16px 하나 (2026-11-24 원장 지시: 「모바일에서 좌우 여백을 통일성 있게」)
   페이지마다 14·16·24px로 달랐고, 상자 안 구역은 여백이 두 번 걸려 48px까지 들어가 있었다 */
@media(max-width:900px){
  html body main .snu-container,html body main .rm-wrap,html body main.ns-wrap,html body .wrap{padding-left:16px!important;padding-right:16px!important}
  html body main .snu-container .section,html body main .snu-container .iv2-sec,html body main .rm-wrap .section{margin-left:0!important;margin-right:0!important}
  html body main.snu-page > .section,html body main.snu-page > .iv2-sec{margin-left:16px!important;margin-right:16px!important;width:auto!important;max-width:none!important}
  html body main .snu-container .section,html body main .snu-container .iv2-sec{width:auto!important;max-width:none!important}
}
@media(max-width:900px){html body main .stx-wrap{padding-left:16px!important;padding-right:16px!important}}

/* 학교분석 회원 자료 탭(#rwTop): 머리가 흰 바탕이 되면서 흰 글자 칩 일곱 개가 안 보이고 금색 하나만 남았다.
   다른 페이지와 같은 밑줄 탭으로 바꾼다 (2026-11-24) */
html body #rwTop .rw-chips{display:flex!important;flex-wrap:nowrap;justify-content:flex-start;gap:24px;margin:32px 0 0!important;padding:0;
  border-bottom:1px solid var(--line);border-image:linear-gradient(var(--line),var(--line)) 0 0 1 0 / 0 0 1px 0 / 0 100vw 0 100vw;text-align:left}
html body #rwTop .rw-chips a{flex:0 0 auto;padding:12px 2px 14px;font-family:var(--font);font-size:16px;font-weight:500;line-height:1.3;color:var(--muted)!important;
  white-space:nowrap;background:none!important;border:0!important;border-radius:0!important;box-shadow:inset 0 -2px 0 transparent}
html body #rwTop .rw-chips a.on,html body #rwTop .rw-chips a:hover{color:var(--text)!important;font-weight:700;box-shadow:inset 0 -2px 0 var(--text)}
html.pd-locked body #rwTop .rw-chips{display:none!important}
@media(max-width:900px){html body #rwTop .rw-chips{gap:20px;border-image:none;margin-left:-16px!important;margin-right:-16px!important;padding:0 16px;overflow-x:auto;scrollbar-width:none}
  html body #rwTop .rw-chips a{font-size:14px}}

/* 학교분석 회원 자료: 탭 아래에서 구역 제목까지의 간격을 여덟 구역 모두 56px로 (구역마다 20·34·92px로 달랐다) */
html body #premium.sectab .sectab-on{padding-top:0!important;margin-top:0!important}
html body #premium.sectab .sectab-on > .wrap > .sechead{margin-top:0!important;padding-top:0!important}
html body #premium.sectab .sectab-on > .wrap > .sechead h2{margin-top:0!important}
@media(max-width:900px){html body #premium.sectab .sectab-on > .wrap > .sechead{padding-top:0!important}}

/* 학교분석 회원 자료: 「머리(설명) → 탭 → 또 가운데 큰 제목(설명)」으로 머리가 두 번 나오던 구조를 고친다 (2026-11-24 원장 지적).
   탭 아래 구역 제목은 페이지 제목보다 한 단계 작게(24px), 왼쪽 정렬로 본문의 소제목처럼 둔다 */
html body #premium.sectab .sectab-on > .wrap > .sechead{text-align:left!important;margin-bottom:16px!important}
html body #premium.sectab .sectab-on > .wrap > .sechead h2{font-size:24px!important;text-align:left!important;margin:0 0 8px!important}
html body #premium.sectab .sectab-on > .wrap > .sechead h2::after{display:none!important}
html body #premium.sectab .sectab-on > .wrap > .sechead p{text-align:left!important;max-width:none!important;margin:0!important}
html body #premium.sectab .sectab-on > .wrap > .sechead .howto{display:block;margin:12px 0 0;text-align:left}
@media(max-width:900px){html body #premium.sectab .sectab-on > .wrap > .sechead h2{font-size:18px!important}}

/* 학교분석 회원 자료: 「읽는 법」·출처 줄처럼 학부모에게 필요 없는 설명 문구는 보이지 않게 (2026-11-24 원장 지시).
   추정값이라는 표시(※)는 남긴다 */
html body #premium .howto,html body #premium #sec-school-activity > .wrap > .sechead p,html body #premium #rwSrc,html body #premium #rw-section .csub{display:none!important}

/* 학교별 종합리포트(회원 화면): 「읽는 법」 설명 줄은 숨기고, 그래프 그림은 화면에 들어올 때 떠오르게 (2026-11-24) */
html body #srAll .ev-howto{display:none!important}
html body #srAll .chartbox img{animation:srFade .7s ease both}
@keyframes srFade{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){html body #srAll .chartbox img{animation:none}}

/* 맨 위로 버튼이 오른쪽 아래 상담 버튼을 가리지 않게 위로 올린다 (1:1상담 떠 있는 버튼은 삭제, 2026-11-24) */
@media(min-width:901px){html body .kakao-float{bottom:150px;right:28px}}
@media(max-width:900px){html body .kakao-float{bottom:84px;right:12px}}

/* 첫 화면 사진 슬라이드: 왼쪽에 어두운 그라데이션을 사진 위로 올려 글자가 또렷하게 (2026-11-24).
   그라데이션이 사진 아래에 깔려 보이지 않던 것을 순서로 바로잡는다 */
html body .hs-photo .hs-bg{z-index:0}
html body .hs-photo::before{z-index:1;background:linear-gradient(90deg,rgba(24,26,28,.95) 0%,rgba(24,26,28,.88) 40%,rgba(24,26,28,.55) 70%,rgba(24,26,28,.2) 100%)}
html body .hs-photo .hs-txt{position:relative;z-index:2}
@media(max-width:700px){html body .hs-photo::before{background:linear-gradient(180deg,rgba(24,26,28,.62) 0%,rgba(24,26,28,.8) 45%,rgba(24,26,28,.95) 100%)}}

/* ── 버튼 하나로 통일(2026-11-26 원장: 「이런 아이콘들 다 규칙에 맞게 통일」) ──
   행동 버튼은 모서리 4px, 채운 버튼은 검정 바탕·흰 글자, 보조 버튼은 흰 바탕·검정 1px 선. 알약(999px)은 걸러 보기 칩에만 쓴다. */
.rm-btn,.fp-go,.sp-go,.hm-fit-go,.iv2-morebtn,.cta-pills .pill,.pst-btn,.btn,.btn-submit-form,.hero3-cta,.loc-openbtn,.maplink-btn,.cta-row a,
.cmp-run-btn,.cls-cta,.tier-btn,.lg-pw button,main.snu-page .cta .btn,#special .program-card .btn,#reviews .btn,main.snu-page .iq-card .btn-submit-form{
  border-radius:var(--r)!important;box-shadow:none!important}
.rm-btn,.fp-go,.sp-go,.hm-fit-go,.pst-btn,.btn-submit-form,.cmp-run-btn,.cls-cta,#special .program-card .btn,#reviews .btn,main.snu-page .iq-card .btn-submit-form{
  background:var(--text)!important;color:#fff!important;border:1px solid var(--text)!important}
.rm-btn.o,.iv2-morebtn{background:#fff!important;color:var(--text)!important;border:1px solid var(--text)!important}
.rm-btn:hover,.fp-go:hover,.sp-go:hover,.hm-fit-go:hover,.pst-btn:hover,.cls-cta:hover{background:#000!important}
.rm-btn.o:hover,.iv2-morebtn:hover{background:var(--bg-soft)!important}
.pg-card{border-radius:var(--r)!important}
.xm-band .pg-card{border-radius:16px!important}
.hm-top .h4-go a,.hs .h4-go a{border-radius:var(--r)!important}
/* 버튼 줄 위아래 여유(2026-11-26 원장: 「위 아래 텍스트가 있을 경우 여유간격」): 앞뒤 글과 24px 띄운다 */
.rm-go,.cta-row,.ss-btns{margin-top:24px!important;margin-bottom:24px!important}
.rm-go:last-child,.cta-row:last-child,.ss-btns:last-child{margin-bottom:0!important}
p+.rm-btn,p+.pst-btn,p+.cls-cta{margin-top:24px}
/* 이동 탭은 레퍼런스(배민아카데미 교육 상세 탭)처럼 밑줄 탭 그대로 두고, 스크롤하면 상단 메뉴 아래에 붙어 따라온다 (2026-11-28 원장: 「레퍼런스 사이트 참고하자」)
   글자 16px 회색 500 → 고른 칸 검정 700 + 2px 검정 밑줄, 띠 아래 선 #EEE. 갤러리는 탭 자체가 sticky(.tu-stick), 머리 안에 든 탭은 nav.js가 띠를 복제해 고정(.tu-float) */
html body .tu-jump.tu-stick{position:sticky;top:60px;z-index:20;margin-top:8px!important}
.tu-float{position:fixed;left:0;right:0;top:60px;z-index:20;background:#fff;box-shadow:0 1px 0 var(--line)}
html body .tu-float .tu-jump{margin:0 auto!important;width:100%;border-image:none!important;border-bottom:0!important}
