/* ===================================================================
 * CAESA — Global Education Hub
 * Brand: navy #182267 · green #48A766 · orange #F18229
 * =================================================================== */
:root{
  --navy:#182267; --navy-2:#232f7d; --navy-ink:#0f1746;
  --green:#48A766; --green-d:#3b8f57;
  --orange:#F18229; --orange-d:#d96f16;
  --ink:#151B38; --body:#3d4361; --muted:#6b7189;
  --line:#E4E1DA; --bg:#FCFBF8; --bg-soft:#F4F1EA; --bg-navy:#0f1746;
  /* 그림자는 실제로 떠 있는 요소(드롭다운·모달)만. 카드는 1px 괘선으로 구분한다. */
  --shadow:0 0 0 1px var(--line);
  --shadow-lg:0 12px 32px -8px rgba(15,23,70,.14);
  --r:4px; --r-sm:4px;
  --ease:cubic-bezier(.22,.61,.36,1); --dur:.45s;
  --maxw:1180px;
  /* 기본 스택에는 특정 언어 전용 서체를 넣지 않는다. 예전엔 여기에 Noto Sans KR 이
   * 있어서, 그 폰트가 깔린 기기의 일본·대만 방문자가 한자를 한국 자형으로 봤다.
   * 언어별 서체는 아래 html[lang] 규칙이 지정한다. */
  --font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font); color:var(--body); background:var(--bg);
  line-height:1.75; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
h1,h2,h3,h4{color:var(--ink);line-height:1.28;font-weight:600;letter-spacing:-.015em}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
section{padding:112px 0}
.kicker{
  display:inline-block;font-size:.75rem;font-weight:500;letter-spacing:.16em;
  text-transform:uppercase;color:var(--muted);margin-bottom:16px;
}
.sec-head{max-width:760px;margin:0 auto 68px;text-align:center}
.sec-head h1,.sec-head h2{font-size:clamp(1.7rem,3.4vw,2.5rem)}
.sec-head .lead{margin-top:16px;font-size:1.08rem;color:var(--muted)}


/* ---------- 언어별 서체 (시스템 폰트, 다운로드 없음) ----------
 * 한국어만 Pretendard 를 별도로 받고(build.js fontLink), 나머지는 각 OS 의
 * 해당 언어 기본 서체를 쓴다. CJK 웹폰트는 수 MB라 받는 순간 손해다. */
html[lang="ko"]{--font:"Pretendard","Apple SD Gothic Neo","Malgun Gothic",-apple-system,BlinkMacSystemFont,sans-serif}
html[lang="ja"]{--font:"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo",-apple-system,BlinkMacSystemFont,sans-serif}
html[lang="zh-Hant"]{--font:"PingFang TC","Microsoft JhengHei","Heiti TC",-apple-system,BlinkMacSystemFont,sans-serif}
html[lang="zh-Hans"]{--font:"PingFang SC","Microsoft YaHei","Heiti SC",-apple-system,BlinkMacSystemFont,sans-serif}
html[lang="th"]{--font:"Noto Sans Thai","Leelawadee UI","Thonburi",-apple-system,BlinkMacSystemFont,sans-serif}
html[lang="ar"]{--font:"Noto Naskh Arabic","Geeza Pro","Segoe UI",Tahoma,-apple-system,sans-serif}
html[lang="mn"],html[lang="ru"]{--font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}

/* ---------- header ---------- */
header.nav{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);
  backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--line);
}
.nav-in{display:flex;align-items:center;gap:24px;height:68px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--navy);font-size:1.15rem;letter-spacing:.02em}
/* 2026-11-19 CESA 로고는 아랫줄 「GLOBAL EDUCATION HUB」 태그라인까지 한 덩어리다(황제님 지시 — 글자만 잘라 쓰지 않는다).
   40px 에서는 태그라인이 4~5px 로 뭉개져 읽히지 않아 52px 로 올렸다. 헤더는 68px 이라 위아래 8px 씩 남는다.
   더 키우면(60px+) 헤더가 꽉 차 답답해진다 — 브라우저에서 40/52/60 을 비교해 고른 값이다. */
.brand img{height:52px;width:auto}
.nav-links{display:flex;gap:26px;margin-left:auto;align-items:center}
.nav-links a{font-size:.94rem;font-weight:600;color:var(--body);transition:color var(--dur) var(--ease)}
.nav-links a:hover{color:var(--navy)}
.nav-links > a{white-space:nowrap}
/* Studycation — external destination, set apart from the in-site nav links */
.nav-sc{
  display:inline-flex;align-items:center;gap:5px;color:var(--orange)!important;
  border:1px solid rgba(241,130,41,.35);border-radius:999px;padding:6px 13px;
  background:rgba(241,130,41,.07);transition:background var(--dur) var(--ease),border-color var(--dur) var(--ease);
}
.nav-sc:hover{background:rgba(241,130,41,.14);border-color:var(--orange)}
.nav-cta{
  background:var(--orange);color:#fff!important;padding:9px 18px;border-radius:999px;
  font-weight:600;transition:background var(--dur) var(--ease);
}
.nav-cta:hover{background:#c05f0f}
.lang{position:relative}
.lang-btn{display:flex;align-items:center;gap:6px;font-size:.9rem;font-weight:600;color:var(--body);cursor:pointer;background:none;border:1px solid var(--line);padding:7px 12px;border-radius:999px}
/* max-height: the list grows with every new market — keep it inside the
 * viewport on short screens instead of letting it run off the bottom. */
.lang-menu{position:absolute;right:0;top:calc(100% + 8px);background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow-lg);padding:6px;min-width:170px;max-height:calc(100vh - 96px);overflow-y:auto;display:none}
.lang-menu.open{display:block}
.lang-menu a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 14px;border-radius:var(--r);font-size:.92rem;font-weight:600}
.lang-menu .lang-abbr{font-size:.68rem;font-weight:700;letter-spacing:.05em;color:var(--muted);white-space:nowrap;flex-shrink:0;min-width:44px;text-align:end}
.lang-menu a:hover{background:var(--bg-soft)}
.lang-menu a.active{color:var(--navy);background:var(--bg-soft)}
.hamb{display:none;margin-left:auto;background:none;border:0;cursor:pointer;flex-direction:column;gap:5px;padding:8px}
.hamb span{width:24px;height:2px;background:var(--navy);border-radius:2px}

/* ---------- hero ---------- */
.hero{
  position:relative;color:#fff;padding:96px 0 104px;
  background:
    radial-gradient(1200px 500px at 85% -10%,rgba(72,167,102,.35),transparent 60%),

    linear-gradient(135deg,var(--navy) 0%,var(--navy-ink) 100%);
  overflow:hidden;
}
.hero::after{
  content:"";position:absolute;inset:0;opacity:.06;pointer-events:none;
  background-image:radial-gradient(#fff 1px,transparent 1px);background-size:26px 26px;
}
.hero .wrap{position:relative;z-index:2;max-width:900px;text-align:center}
.hero .eyebrow{font-size:.82rem;letter-spacing:.24em;text-transform:uppercase;color:rgba(255,255,255,.72);font-weight:700}
.hero h1{
  color:#fff;font-size:clamp(2.6rem,7vw,5rem);line-height:1.02;margin:20px 0 6px;
  font-weight:600;letter-spacing:-.02em;
}
.hero h1 .slogan{ color:#fff; }
.hero .sub{font-size:clamp(1.1rem,2.4vw,1.5rem);font-weight:700;color:#fff;margin-bottom:14px}
.hero .lead{font-size:1.05rem;color:rgba(255,255,255,.82);max-width:640px;margin:0 auto 34px}
.hero-cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.btn{
  display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:1rem;
  padding:15px 30px;border-radius:999px;transition:transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease),background var(--dur) var(--ease);cursor:pointer;border:0;
}
.btn-primary{background:var(--orange-d);color:#fff}
.btn-primary:hover{background:#c05f0f}
.btn-ghost{background:rgba(255,255,255,.1);color:#fff;border:1.5px solid rgba(255,255,255,.4)}
.btn-ghost:hover{background:rgba(255,255,255,.2);}
.hero-stats{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:52px}
.stat{
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);
  border-radius:var(--r);padding:20px 28px;min-width:150px;backdrop-filter:blur(4px);
}
.stat .n{font-size:2rem;font-weight:600;color:#fff;line-height:1}
.stat .l{font-size:.86rem;color:rgba(255,255,255,.75);margin-top:6px}

/* ---------- why (cards) ---------- */
.why{background:var(--bg)}
.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px}
.why-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:30px 26px;
  transition:transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease),border-color var(--dur) var(--ease);
}
.why-card:hover{box-shadow:var(--shadow-lg);border-color:transparent}
.why-ico{
  width:52px;height:52px;border-radius:var(--r);display:grid;place-items:center;margin-bottom:18px;
  background:linear-gradient(135deg,rgba(72,167,102,.16),rgba(24,34,103,.1));
}
.why-ico svg{width:26px;height:26px;stroke:var(--navy);fill:none;stroke-width:1.8}
.why-card h3{font-size:1.16rem;margin-bottom:8px}
.why-card p{font-size:.96rem;color:var(--muted)}
.why-card:nth-child(1) .why-ico{background:linear-gradient(135deg,rgba(241,130,41,.18),rgba(241,130,41,.06))}
.why-card:nth-child(1) .why-ico svg{stroke:var(--orange-d)}
.why-card:nth-child(3) .why-ico{background:linear-gradient(135deg,rgba(72,167,102,.2),rgba(72,167,102,.06))}
.why-card:nth-child(3) .why-ico svg{stroke:var(--green-d)}

/* ---------- lifestyle ---------- */
.life{background:var(--bg-soft)}

/* 라이프스타일 모자이크 — 4열 벤토. 첫 칸이 2×2 피처라 시선이 거기서 출발한다.
   사진 타일과 색 타일이 섞이는 리듬이 편집물처럼 읽히게 하는 것이 의도다. */
.life-mosaic{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:40px}
.life-tile{
  position:relative;border-radius:var(--r);overflow:hidden;min-height:236px;
  display:flex;flex-direction:column;justify-content:flex-end;box-shadow:var(--shadow);
}
.life-tile.is-feature{grid-column:span 2;grid-row:span 2}
/* ⚠ height:auto 를 주지 않으면 img 의 height 속성(프레젠테이션 힌트)이 이겨서 타일 밖으로 넘친다 */
.lt-img{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;
  transition:transform var(--dur) var(--ease)}
.lt-scrim{position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg,rgba(15,23,70,.10) 28%,rgba(15,23,70,.86) 100%)}
.life-tile.is-photo:hover .lt-img{transform:scale(1.05)}
.life-tile.is-solid{background:var(--navy)}
.life-tile.tone-green{background:var(--green-d)}
.life-tile.tone-orange{background:var(--orange-d)}
.life-tile.tone-navy{background:var(--navy-ink)}
.life-tile.tone-navy2{background:var(--navy-2)}
.lt-body{position:relative;z-index:2;padding:24px 22px}
.lt-tag{display:inline-block;font-size:.66rem;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:rgba(255,255,255,.66);margin-bottom:9px}
.life-tile h3{color:#fff;font-size:1.06rem;margin-bottom:7px}
.life-tile p{color:rgba(255,255,255,.84);font-size:.86rem;line-height:1.55}
.life-tile.is-feature{min-height:0}
.life-tile.is-feature .lt-body{padding:32px 30px}
.life-tile.is-feature h3{font-size:1.55rem;margin-bottom:10px}
.life-tile.is-feature p{font-size:.98rem;max-width:44ch}
@media(prefers-reduced-motion:reduce){ .lt-img{transition:none} .life-tile.is-photo:hover .lt-img{transform:none} }

/* 사진 저작자 표기 — CC BY/BY-SA 의무. 작지만 읽을 수 있게. */
/* ⚠ --muted(#6b7189) 는 이 배경에서 대비 4.28:1 로 작은 글자 기준(4.5:1) 미달이다.
   법적 고지문이라 반드시 읽혀야 하므로 --body(8.6:1) 를 쓴다. */
.life-credits{font-size:.76rem;color:var(--body);text-align:center;margin:-24px 0 40px;line-height:1.7}
.life-credits a{color:var(--body);text-decoration:underline;text-underline-offset:2px}
.life-credits a:hover{color:var(--navy)}

/* 주말 반경 — 숫자를 나란히 두면 "가까운 도시"라는 주장이 눈으로 확인된다 */
.life-reach{margin-bottom:44px;text-align:center}
.lr-title{display:inline-block;font-size:.72rem;font-weight:500;letter-spacing:.16em;
  text-transform:uppercase;color:var(--muted);margin-bottom:14px}
.life-reach ul{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:1px;
  background:var(--line);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.life-reach li{background:var(--bg);padding:20px 14px}
.lr-time{display:block;font-size:1.22rem;font-weight:600;color:var(--navy);
  font-variant-numeric:tabular-nums;line-height:1.2}
.lr-place{display:block;font-size:.8rem;color:var(--muted);margin-top:5px}

@media(max-width:1000px){
  .life-mosaic{grid-template-columns:repeat(2,1fr)}
  .life-tile.is-feature{grid-column:span 2;grid-row:auto;min-height:300px}
}
@media(max-width:560px){
  .life-mosaic{grid-template-columns:1fr}
  .life-tile.is-feature{grid-column:span 1;min-height:260px}
  .life-reach ul{grid-template-columns:repeat(2,1fr)}
}
.life-quote{
  text-align:center;max-width:780px;margin:0 auto;font-size:clamp(1.1rem,2.2vw,1.4rem);
  font-weight:700;color:var(--navy);line-height:1.5;
}
.life-quote::before{content:"“";color:var(--orange);font-size:2.4em;line-height:0;vertical-align:-.35em;margin-right:.05em}

/* ---------- about ---------- */
.about{background:var(--bg)}
.about-body{max-width:820px;margin:0 auto;text-align:center;font-size:1.08rem;color:var(--body)}
.vision{
  margin:36px auto;max-width:820px;border-radius:var(--r);padding:30px 34px;text-align:center;
  background:linear-gradient(135deg,var(--navy),var(--navy-ink));color:#fff;box-shadow:var(--shadow-lg);
}
.vision .vlabel{font-size:.8rem;letter-spacing:.18em;color:var(--green);font-weight:600;text-transform:uppercase}
.vision p{color:#fff;font-size:1.2rem;font-weight:700;margin-top:10px;line-height:1.5}
.trust-title{text-align:center;font-size:1.4rem;margin:56px 0 28px}
.trust-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.trust-card{background:var(--bg-soft);border-radius:var(--r);padding:26px 24px;border-left:4px solid var(--green)}
.trust-card:nth-child(2){border-left-color:var(--orange)}
.trust-card:nth-child(3){border-left-color:var(--navy)}
.trust-card:nth-child(4){border-left-color:var(--green-d)}
.trust-card h3{font-size:1.08rem;margin-bottom:8px}
.trust-card p{font-size:.94rem;color:var(--muted)}

/* ---------- schools ---------- */
.schools{background:var(--bg-soft)}
.table-wrap{overflow-x:auto;border-radius:var(--r);box-shadow:var(--shadow);background:#fff;margin-bottom:64px}
table.at-glance{width:100%;border-collapse:collapse;min-width:720px}
table.at-glance th,table.at-glance td{padding:16px 18px;text-align:left;font-size:.92rem;border-bottom:1px solid var(--line)}
table.at-glance thead th{background:var(--navy);color:#fff;font-weight:700;font-size:.82rem;letter-spacing:.04em;text-transform:uppercase;border:0}
table.at-glance tbody tr:last-child td{border-bottom:0}
table.at-glance tbody tr:hover{background:var(--bg-soft)}
table.at-glance .sname{font-weight:600;color:var(--navy);white-space:nowrap}
table.at-glance .sname .dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:8px;vertical-align:middle}
.dot.green{background:var(--green)} .dot.orange{background:var(--orange)} .dot.navy{background:var(--navy)}

.profiles-title{text-align:center;font-size:1.5rem;margin-bottom:34px}
.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}
.profile{
  background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:28px 26px;
  display:flex;flex-direction:column;transition:transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease);
}
.profile:hover{box-shadow:var(--shadow-lg)}
/* 학원 대표 사진 — 카드 padding(28/26) 을 상쇄해 위쪽을 꽉 채운다.
   ⚠ height:auto 가 없으면 img 의 height 속성이 이겨 aspect-ratio 가 무시된다. */
.profile.has-cover{padding-top:0}
.profile-cover{display:block;position:relative;margin:0 -26px 20px;overflow:hidden;
  border-radius:var(--r) var(--r) 0 0;background:var(--bg-soft)}
.profile-cover img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;
  transition:transform var(--dur) var(--ease)}
.profile:hover .profile-cover img{transform:scale(1.04)}
/* 사진 장수 — 갤러리가 얼마나 있는지 미리 알려 준다 */
.pc-count{position:absolute;right:10px;bottom:10px;display:inline-flex;align-items:center;gap:5px;
  font-size:.74rem;font-weight:600;color:#fff;background:rgba(15,23,70,.72);
  padding:4px 9px;border-radius:999px;font-variant-numeric:tabular-nums;backdrop-filter:blur(2px)}
.pc-count svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2}
@media(prefers-reduced-motion:reduce){ .profile-cover img{transition:none} .profile:hover .profile-cover img{transform:none} }
.profile-top{display:flex;align-items:center;gap:14px;margin-bottom:6px}
.profile-tt{align-items:flex-start;display:flex;flex-direction:column;gap:4px;min-width:0}
.school-logo{width:56px;height:56px;border-radius:var(--r);flex-shrink:0;display:grid;place-items:center;overflow:hidden;background:#fff;border:1px solid var(--line)}
.school-logo img{width:100%;height:100%;object-fit:contain;padding:6px}
.school-logo.on-dark{background:#111}
.school-logo-ph{font-weight:600;font-size:1.5rem;color:#fff;border:0}
.school-logo-ph.green{background:var(--green)} .school-logo-ph.orange{background:var(--orange)} .school-logo-ph.navy{background:var(--navy)}
.profile h3{font-size:1.3rem;color:var(--navy)}
.profile h3 a{color:inherit}
.profile h3 a:hover{color:var(--orange)}
.profile-links{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}
.detail-link{font-size:.88rem;font-weight:700;color:var(--navy);background:var(--bg-soft);border:1px solid var(--line);padding:9px 16px;border-radius:999px;display:inline-flex;align-items:center;gap:7px;transition:all var(--dur) var(--ease)}
.detail-link:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.detail-link svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2.2;transition:transform var(--dur) var(--ease)}
.detail-link:hover svg{transform:translateX(3px)}
.profile .est{font-size:.78rem;font-weight:700;color:var(--muted);background:var(--bg-soft);padding:4px 10px;border-radius:999px;white-space:nowrap}
.profile .tagline{font-size:.9rem;font-weight:700;color:var(--orange);margin-bottom:12px}
.profile .blurb{font-size:.94rem;color:var(--body);margin-bottom:16px}
.profile ul{list-style:none;margin-bottom:18px;display:flex;flex-direction:column;gap:8px}
.profile li{position:relative;padding-left:24px;font-size:.9rem;color:var(--muted)}
.profile li::before{content:"";position:absolute;left:0;top:8px;width:14px;height:14px;border-radius:50%;
  background:var(--green);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;}
.profile .best{font-size:.88rem;color:var(--muted);margin-top:24px;padding-top:14px;border-top:1px dashed var(--line)}
.profile .best b{color:var(--ink)}
.profile .site-link{margin-top:16px;align-self:flex-start;font-size:.88rem;font-weight:700;color:var(--navy);display:inline-flex;align-items:center;gap:6px}
.profile .site-link:hover{color:var(--orange)}
.profile .site-link svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}

/* ---------- cta / contact ---------- */
.cta{
  color:#fff;text-align:center;
  background:
    radial-gradient(900px 400px at 80% 0%,rgba(72,167,102,.3),transparent 60%),
    linear-gradient(135deg,var(--navy-ink),var(--navy));
}
.cta h2{color:#fff;font-size:clamp(1.7rem,3.4vw,2.5rem);max-width:820px;margin:0 auto}
.cta .lead{color:rgba(255,255,255,.82);max-width:640px;margin:18px auto 6px;font-size:1.05rem}
.cta .partnership{display:inline-block;margin:22px 0 40px;font-weight:700;color:#ffd9b3;font-size:.98rem}
.contact-card{
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);border-radius:var(--r);
  max-width:720px;margin:0 auto;padding:34px 30px;backdrop-filter:blur(6px);
}
.contact-name{font-size:1.2rem;font-weight:600;color:#fff}
.contact-role{font-size:.9rem;color:var(--green);font-weight:700;margin-bottom:22px}
.contact-rows{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;text-align:left}
.contact-row{display:flex;align-items:center;gap:12px}
.contact-row .ci{width:40px;height:40px;border-radius:var(--r);background:rgba(255,255,255,.1);display:grid;place-items:center;flex-shrink:0}
.contact-row .ci svg{width:19px;height:19px;stroke:#fff;fill:none;stroke-width:1.8}
.contact-row .cl{font-size:.74rem;color:rgba(255,255,255,.6);text-transform:uppercase;letter-spacing:.08em}
.contact-row .cv{font-size:.98rem;color:#fff;font-weight:700}
.contact-row a.cv:hover{color:var(--orange)}
.contact-note{font-size:.8rem;color:rgba(255,255,255,.55);margin-top:22px}

/* ---------- footer ---------- */
footer{background:var(--bg-navy);color:rgba(255,255,255,.7);padding:60px 0 34px}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;margin-bottom:40px}
.foot-brand .brand{color:#fff;margin-bottom:16px}
.foot-logo{background:#fff;padding:10px 16px;border-radius:var(--r);display:inline-flex}
.foot-logo img{height:44px;width:auto}  /* 헤더와 같은 비율로 올림(34→44) — 태그라인 가독 */
.foot-brand p{font-size:.9rem;color:rgba(255,255,255,.55);max-width:340px}
footer h4{color:#fff;font-size:.82rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:16px}
.foot-list{list-style:none;display:flex;flex-direction:column;gap:10px}
.foot-list a{font-size:.92rem;color:rgba(255,255,255,.7);transition:color var(--dur) var(--ease)}
.foot-list a:hover{color:var(--orange)}
.foot-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:24px;font-size:.82rem;color:rgba(255,255,255,.45);text-align:center}
.foot-bottom .disc{max-width:760px;margin:0 auto 10px;line-height:1.6}

/* ---------- right-hand section nav ---------- */
.sidenav{
  position:fixed;right:26px;top:50%;transform:translateY(-50%);z-index:40;
  display:flex;flex-direction:column;gap:16px;align-items:flex-end;
}
.sidedot{display:flex;align-items:center;gap:10px;justify-content:flex-end;cursor:pointer}
.sidedot-label{
  font-size:.78rem;font-weight:700;color:var(--muted);opacity:0;transform:translateX(6px);
  transition:opacity var(--dur) var(--ease),transform var(--dur) var(--ease),color var(--dur) var(--ease);white-space:nowrap;
  background:rgba(255,255,255,.9);padding:2px 8px;border-radius:var(--r);box-shadow:var(--shadow);
}
.sidedot-mark{width:11px;height:11px;border-radius:50%;border:2px solid var(--line);background:#fff;transition:all var(--dur) var(--ease);flex-shrink:0}
.sidedot:hover .sidedot-label{opacity:1;transform:translateX(0)}
.sidedot:hover .sidedot-mark{border-color:var(--orange)}
.sidedot.active .sidedot-mark{border-color:var(--navy);background:var(--navy);box-shadow:0 0 0 4px rgba(24,34,103,.14)}
.sidedot.active .sidedot-label{opacity:1;transform:translateX(0);color:var(--navy)}
html[dir="rtl"] .sidenav{right:auto;left:26px;align-items:flex-start}
html[dir="rtl"] .sidedot{flex-direction:row-reverse}

/* ---------- blog ---------- */
.blog{background:var(--bg)}
.blog-page{padding-top:120px;min-height:60vh}
.post-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.post-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:28px 26px;
  display:flex;flex-direction:column;transition:transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease);
}
.post-card:hover{box-shadow:var(--shadow-lg)}
.post-card.has-cover{padding:0;overflow:hidden}
.post-card-in{display:flex;flex-direction:column;flex:1}
.post-card.has-cover .post-card-in{padding:24px 26px 28px}
.post-card-cover{aspect-ratio:16/9;overflow:hidden;background:var(--bg-soft)}
.post-card-cover img{width:100%;height:100%;object-fit:cover;transition:transform var(--dur) var(--ease)}
.post-card.has-cover:hover .post-card-cover img{transform:scale(1.04)}
.post-hero{margin:0 0 28px}
.post-hero img{width:100%;height:auto;display:block;border-radius:var(--r);box-shadow:var(--shadow)}
.post-hero figcaption{font-size:.76rem;color:var(--muted);margin-top:8px;text-align:right}
/* 본문 인라인 사진 — mdToHtml 의 `![alt](/path "caption")` 가 figure.art-fig 를 낸다(build.js).
   ⚠ 2026-10-19 까지 이 규칙이 없어서 글 1,607편 중 인라인 사진을 쓴 글이 0편이었다.
   height:auto 가 없으면 img 의 height 속성(프레젠테이션 힌트)이 이겨 세로로 늘어난다 —
   .post-hero img / .profile-cover img 와 같은 함정이다. */
.art-fig{margin:28px 0}
.art-fig img{width:100%;height:auto;display:block;border-radius:var(--r);box-shadow:var(--shadow)}
.art-fig figcaption{font-size:.76rem;color:var(--muted);margin-top:8px;text-align:right}
.post-meta{font-size:.8rem;font-weight:700;color:var(--muted);letter-spacing:.02em;margin-bottom:12px}
.post-card h3{font-size:1.2rem;color:var(--navy);margin-bottom:10px;line-height:1.3}
.post-card p{font-size:.94rem;color:var(--muted);margin-bottom:16px}
.post-more{margin-top:auto;font-size:.9rem;font-weight:600;color:var(--orange)}
.center-cta{text-align:center;margin-top:40px}
.blog-empty{text-align:center;color:var(--muted);font-size:1.05rem;padding:40px 0}

/* ---------- Studycation band (external per-market info blog) ---------- */
.sc{background:var(--bg-soft);padding:64px 0}
.sc-slim{padding:0 0 72px;background:transparent}
.sc-card{
  display:flex;align-items:center;gap:28px;
  background:#fff;border:1px solid var(--line);border-left:5px solid var(--orange);
  border-radius:var(--r);padding:32px 34px;box-shadow:var(--shadow);
}
.sc-ico{
  flex-shrink:0;width:56px;height:56px;border-radius:var(--r);
  display:grid;place-items:center;background:rgba(241,130,41,.1);
}
.sc-ico svg{width:28px;height:28px;fill:none;stroke:var(--orange);stroke-width:1.8}
.sc-body{flex:1;min-width:0}
.sc-body .kicker{margin-bottom:6px}
.sc-body h2{font-size:1.45rem;margin-bottom:8px}
.sc-body p{font-size:.96rem;color:var(--muted)}
.sc-act{flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:10px}
.sc-act .btn{white-space:nowrap}
.sc-ext{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}
.sc-note{font-size:.76rem;color:var(--muted)}
@media(max-width:820px){
  .sc-card{flex-direction:column;align-items:flex-start;text-align:left;padding:28px 24px}
  .sc-act{width:100%;align-items:stretch}
  .sc-act .btn{justify-content:center}
  .sc-note{text-align:center}
}

/* ---------- single post ---------- */
.wrap-narrow{max-width:760px;margin:0 auto;padding:0 24px}
.post{padding:112px 0 88px}
.post-back{display:inline-flex;align-items:center;gap:6px;font-size:.9rem;font-weight:700;color:var(--muted);margin-bottom:24px}
.post-back:hover{color:var(--orange)}
.post-back svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2}
.post-tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.tag{font-size:.72rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--green-d);background:rgba(72,167,102,.12);padding:4px 10px;border-radius:999px}
.post-title{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.15;margin-bottom:14px}
.post .post-meta{font-size:.9rem;margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.post-body{font-size:1.08rem;color:var(--body)}
.post-body h2{font-size:1.5rem;margin:36px 0 12px}
.post-body h3{font-size:1.2rem;margin:28px 0 10px}
.post-body p{margin-bottom:18px}
.post-body ul{margin:0 0 18px 0;padding-left:22px}
.post-body li{margin-bottom:8px}
.post-body a{color:var(--navy);font-weight:700;text-decoration:underline;text-underline-offset:2px}
.post-body a:hover{color:var(--orange)}
.post-body strong{color:var(--ink)}
.post-body h4{font-size:1.05rem;margin:22px 0 8px}
.post-body ol{margin:0 0 18px 0;padding-left:24px}
.post-body hr{border:0;border-top:1px solid var(--line);margin:36px 0}
/* 인용문 — 비용 글 상단의 "이 금액은 참고 범위" 고지 박스가 이 형태로 나간다 */
.post-body blockquote{margin:0 0 22px;padding:16px 20px;border-left:4px solid var(--orange);background:var(--bg-soft);border-radius:0 var(--r) var(--r) 0}
.post-body blockquote p{margin:0}
.post-body blockquote p+p{margin-top:10px}
/* 본문 표 — 비용·비교 글의 핵심. 좁은 화면에서는 표만 가로 스크롤된다 */
.post-body .md-table{margin:0 0 24px;border-radius:var(--r);border:1px solid var(--line);box-shadow:none}
.post-body .md-table table{width:100%;border-collapse:collapse;font-size:.94rem}
.post-body .md-table th,.post-body .md-table td{padding:11px 14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.post-body .md-table thead th{background:var(--navy);color:#fff;font-weight:700;font-size:.86rem;border-bottom:0;white-space:nowrap}
.post-body .md-table tbody tr:last-child td{border-bottom:0}
.post-body .md-table tbody tr:nth-child(even){background:var(--bg-soft)}
.post-body .md-table strong{color:inherit}
/* 개인정보처리방침 — 읽기 폭을 좁혀 긴 법적 문장의 가독성을 확보 */
.policy{max-width:760px;margin:0 auto;color:var(--body)}
.policy h3{font-size:1.12rem;margin:30px 0 8px;color:var(--ink)}
.policy p{margin:0 0 14px;line-height:1.75}
.policy a{color:var(--navy);font-weight:700;text-decoration:underline;text-underline-offset:2px}
.policy-meta{margin-top:32px;padding:14px 18px;background:var(--bg-soft);border-radius:var(--r);font-size:.92rem}
.post-cta{margin-top:36px}
/* 허브(기둥) 글 링크 — 글 본문 끝, CTA 앞. 논리 속성만 쓴다(아랍어 RTL 에서 좌우가 뒤집힌다).
 * 테두리를 왼쪽에 고정하면 RTL 에서 글자 반대편에 선이 남는다 → border-inline-start. */
.post-hub{margin:32px 0 0;padding:14px 16px;border-inline-start:3px solid var(--brand,#1f6feb);
  background:var(--soft,#f6f8fa);border-start-start-radius:10px;border-end-start-radius:10px}
.post-hub a{display:flex;flex-direction:column;gap:4px;text-decoration:none}
.post-hub-label{font-size:.82rem;letter-spacing:.02em;opacity:.7}
.post-hub-title{font-weight:700;line-height:1.5}
.post-hub a:hover .post-hub-title{text-decoration:underline}
[dir="rtl"] .post-hub-label{letter-spacing:normal}
html[dir="rtl"] .post-body ul,html[dir="rtl"] .post-body ol{padding-left:0;padding-right:22px}
html[dir="rtl"] .post-body blockquote{border-left:0;border-right:4px solid var(--orange);border-radius:var(--r) 0 0 var(--r)}
html[dir="rtl"] .post-body .md-table th,html[dir="rtl"] .post-body .md-table td{text-align:right}
html[dir="rtl"] .post-back svg,html[dir="rtl"] .sidedot .sidedot-mark{transform:scaleX(-1)}

/* ---------- school detail page ---------- */
.school-detail{padding:112px 0 88px}
.sd-head{display:flex;align-items:center;gap:20px;margin-bottom:22px}
.sd-logo{width:96px;height:96px;border-radius:var(--r);flex-shrink:0;display:grid;place-items:center;overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}
.sd-logo img{width:100%;height:100%;object-fit:contain;padding:10px}
.sd-logo.on-dark{background:#111}
.sd-logo.school-logo-ph{font-size:2.6rem}
.sd-title h1{font-size:clamp(1.7rem,4vw,2.4rem);color:var(--navy);line-height:1.1}
.sd-meta{margin-top:8px;font-size:.95rem;color:var(--muted);font-weight:600}
.sd-meta .sd-style{color:var(--orange);font-weight:600}
.sd-blurb{font-size:1.1rem;color:var(--body);margin-bottom:26px}
.sd-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:30px}
.sd-box{background:var(--bg-soft);border-radius:var(--r);padding:20px 22px;border-left:4px solid var(--green)}
.sd-box:nth-child(2){border-left-color:var(--orange)}
.sd-box h4{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.sd-box p{font-size:1rem;color:var(--ink);font-weight:600}
.sd-feat-title{font-size:1.25rem;margin-bottom:16px}
.sd-feats{list-style:none;display:flex;flex-direction:column;gap:12px;margin-bottom:32px}
.sd-feats li{position:relative;padding-left:30px;font-size:1rem;color:var(--body)}
.sd-feats li::before{content:"";position:absolute;left:0;top:4px;width:18px;height:18px;border-radius:50%;background:var(--green);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat}
.sd-cta{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:40px}
.btn-outline{background:#fff;color:var(--navy);border:1.5px solid var(--line)}
.btn-outline:hover{border-color:var(--navy);}
.sd-others{border-top:1px solid var(--line);padding-top:28px;margin-top:8px}
.sd-others h4{font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:16px}
.chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}
.oc-card{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:9px 14px 9px 9px;transition:transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease),border-color var(--dur) var(--ease)}
.oc-card:hover{border-color:var(--navy);box-shadow:var(--shadow);}
.oc-logo{width:40px;height:40px;border-radius:var(--r);overflow:hidden;background:#fff;border:1px solid var(--line);display:grid;place-items:center;flex-shrink:0}
.oc-logo img{width:100%;height:100%;object-fit:contain;padding:4px}
.oc-logo.on-dark{background:#111}
.oc-logo.school-logo-ph{font-weight:600;color:#fff;font-size:1rem;border:0}
.oc-name{font-size:.92rem;font-weight:700;color:var(--navy);line-height:1.2}
.oc-card:hover .oc-name{color:var(--orange)}
/* 학원 실사진 — 사진을 보내 준 학원에만 붙는다(build.js schoolPhotos).
   히어로는 넓은 띠로 잘라 쓴다. 원본이 4:3 이라 21:9 로 두면 위아래가 과하게 잘려
   2.4:1 로 잡았다. 첫 화면에 뜨므로 lazy 를 걸지 않고 fetchpriority=high 로 보낸다. */
.sd-hero{margin:0 0 26px;border-radius:var(--r);overflow:hidden;background:var(--bg-soft);box-shadow:var(--shadow)}
/* ⚠ height:auto 가 필수다. img 의 width/height **속성**은 UA 프레젠테이션 힌트로
   height:1200px 를 만들고, 가로·세로가 둘 다 확정되면 aspect-ratio 는 무시된다
   (실측: 712×1200 으로 렌더). auto 로 풀어야 12/5 로 잘린다. */
.sd-hero img{display:block;width:100%;height:auto;aspect-ratio:12/5;object-fit:cover}
.sd-gal-title{margin-bottom:6px}
.sd-gal-lead{font-size:.92rem;color:var(--muted);margin-bottom:18px}
.sd-gallery{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:34px}
.sd-shot{margin:0;border-radius:var(--r);overflow:hidden;background:var(--bg-soft);box-shadow:var(--shadow)}
.sd-shot img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;
  transition:transform var(--dur) var(--ease)}
.sd-shot:hover img{transform:scale(1.03)}
.sd-shot figcaption{font-size:.8rem;color:var(--muted);padding:8px 12px 10px;background:#fff}
@media(prefers-reduced-motion:reduce){ .sd-shot img{transition:none} .sd-shot:hover img{transform:none} }

html[dir="rtl"] .sd-feats li{padding-left:0;padding-right:30px}
html[dir="rtl"] .sd-feats li::before{left:auto;right:0}
@media(max-width:560px){ .sd-grid{grid-template-columns:1fr} .sd-head{flex-direction:column;align-items:flex-start}
  .sd-gallery{grid-template-columns:1fr} .sd-hero img{aspect-ratio:3/2} }

/* ---------- FAQ page ---------- */
.faq-sec{padding:112px 0 88px}
.faq-list{display:flex;flex-direction:column;gap:12px}
.faq-item{background:#fff;border:1px solid var(--line);border-radius:var(--r-sm);overflow:hidden}
.faq-item summary{cursor:pointer;list-style:none;padding:20px 24px;font-weight:700;color:var(--navy);font-size:1.05rem;display:flex;justify-content:space-between;align-items:center;gap:14px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";font-size:1.5rem;color:var(--orange);font-weight:400;flex-shrink:0;transition:transform var(--dur) var(--ease)}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item[open] summary{color:var(--orange)}
.faq-a{padding:0 24px 22px;color:var(--body);font-size:1rem;line-height:1.7}

/* ---------- steps (agency page) ---------- */
.steps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.step-card{display:flex;gap:16px;background:var(--bg-soft);border-radius:var(--r);padding:24px}
.step-n{width:38px;height:38px;border-radius:50%;background:var(--navy);color:#fff;font-weight:600;display:grid;place-items:center;flex-shrink:0}
.step-card h3{font-size:1.08rem;margin-bottom:6px}
.step-card p{font-size:.94rem;color:var(--muted)}

/* 상업 조건은 학원별이라는 고지(2026-10-02). 위 'One contact for eight schools' 를
   '계약도 한 곳과 한다'로 읽는 유학원이 있어 단계 아래에 못박아 둔다. */
.terms-note{
  max-width:820px;margin:34px auto 0;padding:22px 26px;
  background:var(--bg-soft);border-left:3px solid var(--orange);border-radius:var(--r);
}
.terms-note h4{font-size:1.02rem;color:var(--ink);margin-bottom:8px}
.terms-note p{font-size:.95rem;color:var(--body);line-height:1.75}
[dir="rtl"] .terms-note{border-left:0;border-right:3px solid var(--orange)}

/* ---------- guide (travel) cards ---------- */
.guide-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.guide-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow);transition:transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease)}
.guide-card:hover{box-shadow:var(--shadow-lg)}
.guide-cover{aspect-ratio:16/9;overflow:hidden;background:var(--bg-soft)}
.guide-cover img{width:100%;height:100%;object-fit:cover}
.guide-in{padding:24px 26px}
.guide-in h3{font-size:1.2rem;color:var(--navy);margin-bottom:8px}
.guide-in p{font-size:.96rem;color:var(--muted)}

/* ---------- news page ---------- */
.news-sec{padding:112px 0 88px}
.news-list{display:flex;flex-direction:column;gap:18px}
.news-item{display:flex;gap:22px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:24px 26px}
.news-side{display:flex;flex-direction:column;gap:8px;align-items:flex-start;min-width:96px;flex-shrink:0}
.news-date{font-size:.9rem;font-weight:600;color:var(--navy)}
.news-body h3{font-size:1.14rem;margin-bottom:6px}
.news-body p{font-size:.96rem;color:var(--muted)}
html[dir="rtl"] .step-card,html[dir="rtl"] .news-item{flex-direction:row-reverse}
@media(max-width:560px){ .news-item{flex-direction:column;gap:12px} }

/* slim contact (email + instagram only) */
.contact-slim{max-width:560px;padding-top:30px}
.contact-slim .contact-rows{justify-items:center}

/* ---------- responsive ---------- */
/* Between the hamburger breakpoint and full desktop the Korean nav is the
 * widest of the 12 languages — tighten spacing so it stays on one line
 * inside the 68px bar instead of wrapping. */
@media(min-width:861px) and (max-width:1180px){
  .nav-links{gap:12px}
  .nav-links > a{font-size:.88rem}
  .nav-sc{padding:5px 10px}
  .lang-btn{padding:6px 10px}
}
@media(max-width:1100px){ .sidenav{display:none} }
@media(max-width:860px){
  .nav-links{display:none}
  .hamb{display:flex}
  /* max-height 가 없으면 언어가 늘수록 메뉴가 화면 밖으로 나가는데, sticky 헤더의
   * absolute 자식이라 페이지를 스크롤해도 따라오지 않는다. 375px 에서 러시아어
   * 이하 6개 언어가 물리적으로 도달 불가였다. */
  .nav-links.open{
    display:flex;flex-direction:column;position:absolute;top:68px;left:0;right:0;
    background:#fff;border-bottom:1px solid var(--line);padding:18px 24px;gap:16px;box-shadow:var(--shadow-lg);
    max-height:calc(100vh - 68px);overflow-y:auto;overscroll-behavior:contain;
  }
  .nav-links.open .nav-cta{text-align:center}
  .nav-links.open .nav-sc{justify-content:center}
  .foot-grid{grid-template-columns:1fr;gap:28px}
  section{padding:64px 0}
}
@media(max-width:520px){
  .hero{padding:70px 0 78px}
  .hero-stats{gap:10px}
  .stat{min-width:0;flex:1;padding:16px 12px}
  .stat .n{font-size:1.5rem}
  .btn{width:100%;justify-content:center}
}

/* ---------- 주제 분류 + 검색 (2026-08-21) ----------
 * 글이 826편까지 늘어 날짜순 한 줄로는 원하는 글을 못 찾는다.
 * 분류 카드를 블로그 첫 화면 맨 위에 두고, 검색은 별도 페이지로 뺐다.
 * 분류 색은 7개뿐이라 변수로 만들지 않고 여기에 직접 적는다. */
.cat-browse{margin:8px 0 34px}
.cat-browse-head h2{font-size:1.32rem;color:var(--navy);margin:0 0 4px}
.cat-browse-head p{color:var(--muted);font-size:.94rem;margin:0 0 16px}
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:12px}
.cat-card{display:flex;flex-direction:column;gap:6px;padding:16px 18px;background:#fff;
  border:1px solid var(--line);border-radius:var(--r-sm);transition:transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease),border-color var(--dur) var(--ease)}
.cat-card:hover{box-shadow:var(--shadow);border-color:var(--orange)}
.cat-card.on{border-color:var(--orange);background:#fffaf5}
.cat-card-h{display:flex;align-items:center;gap:7px;font-weight:600;color:var(--navy);font-size:.99rem}
.cat-card-d{color:var(--muted);font-size:.86rem;line-height:1.55}
.cat-n{margin-left:auto;font-size:.78rem;font-weight:700;color:var(--muted)}
.cat-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.cat-count{color:var(--muted);font-size:.9rem;margin-top:6px}

/* 카드 위 분류 배지 */
.cat-pill{display:inline-block;padding:2px 8px;margin-right:5px;border-radius:999px;
  font-size:.72rem;font-weight:600;letter-spacing:.01em;color:#fff;vertical-align:middle}

/* 7개 분류 색 — 순서대로 고르기·비용·준비·수업·생활·안전·연수후 */
.c-choose{background:#4C63D2}  .cat-dot.c-choose{background:#4C63D2}
.c-cost{background:#E0752B}    .cat-dot.c-cost{background:#E0752B}
.c-prepare{background:#7A5AC9} .cat-dot.c-prepare{background:#7A5AC9}
.c-study{background:#2F8F7A}   .cat-dot.c-study{background:#2F8F7A}
.c-life{background:#C2557F}    .cat-dot.c-life{background:#C2557F}
.c-safety{background:#3E8F4E}  .cat-dot.c-safety{background:#3E8F4E}
.c-after{background:#5B6B8C}   .cat-dot.c-after{background:#5B6B8C}

/* 검색 */
.blog-search-link{display:inline-flex;align-items:center;gap:6px;margin-bottom:18px;padding:8px 14px;
  border:1px solid var(--line);border-radius:999px;font-size:.9rem;font-weight:700;color:var(--navy);background:#fff}
.blog-search-link:hover{border-color:var(--orange);color:var(--orange)}
.search-box{margin:0 0 14px}
.search-box input{width:100%;box-sizing:border-box;padding:14px 18px;font:inherit;font-size:1rem;
  color:var(--ink);background:var(--bg-soft);border:1px solid var(--line);border-radius:var(--r-sm);outline:none}
.search-box input:focus{border-color:var(--navy);background:var(--bg);box-shadow:0 0 0 3px rgba(24,34,103,.12)}
.search-msg{color:var(--muted);font-size:.95rem;margin:0 0 20px}

@media(max-width:640px){
  .cat-grid{grid-template-columns:1fr 1fr;gap:10px}
  .cat-card{padding:13px 14px}
  .cat-card-d{display:none}
}

/* 히어로 H1 안의 현지어 1등 키워드 (2026-08-22).
 * 큰 그라데이션 슬로건은 그대로 두고 그 위에 작은 줄로 얹는다 —
 * 디자인을 유지하면서 H1 텍스트에 그 시장 언어가 들어가게 하는 것이 목적이다. */
.hero h1 .h1-key{
  display:block;font-size:clamp(1rem,2.2vw,1.5rem);font-weight:600;
  color:rgba(255,255,255,.92);letter-spacing:-.01em;margin-bottom:8px;
}
.hero h1 .slogan{display:block}

/* 학교 목록 — 목적별로 고르기 (2026-10-09) */
.purpose-lead{max-width:70ch;margin:-4px auto 20px;text-align:center}
.purpose-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin:0 0 48px}
.purpose-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:20px}
.purpose-card h3{font-size:1.05rem;color:var(--ink);margin-bottom:6px;line-height:1.4}
.purpose-card p{font-size:.95rem;margin-bottom:12px}
.purpose-links{display:flex;flex-wrap:wrap;gap:8px}
.purpose-links a{font-size:.88rem;border:1px solid var(--line);padding:3px 12px;border-radius:999px;color:var(--navy);background:var(--bg)}
.purpose-links a:hover{border-color:var(--green);color:var(--green-d)}
