@charset "utf-8";
/* 지역별 랜딩 페이지 전용 스타일 (style.css 위에 얹힘) */

.rg-body{ padding-top:var(--hdr-h); }
.rg{ max-width:1080px; margin:0 auto; padding:0 24px 72px; }

/* 브레드크럼 */
.rg-crumb{ display:flex; flex-wrap:wrap; align-items:center; gap:7px; padding:22px 0 6px; font-size:13.5px; color:var(--ink-3); }
.rg-crumb a{ color:var(--ink-3); }
.rg-crumb a:hover{ color:var(--brand-dk); text-decoration:underline; }
.rg-crumb b{ color:var(--navy); font-weight:700; }
.rg-crumb span{ color:#C3C9D6; }

/* 히어로 */
.rg-hero{
  position:relative; margin-top:14px; padding:52px 44px 46px; border-radius:var(--r-xl); overflow:hidden;
  background:linear-gradient(125deg,#0B1B4D 0%,#16296E 55%,#0E4FA8 100%); color:#fff;
}
.rg-hero::after{
  content:""; position:absolute; width:520px; height:520px; right:-190px; top:-230px; border-radius:50%;
  background:radial-gradient(circle,rgba(0,160,255,.45) 0%,rgba(0,160,255,0) 70%);
}
.rg-hero > *{ position:relative; z-index:1; }
.rg-hero__tag{
  display:inline-block; margin-bottom:16px; padding:6px 14px; border-radius:999px;
  background:rgba(255,255,255,.13); color:var(--brand-2); font-size:13px; font-weight:800;
}
.rg-hero h1{ font-size:clamp(28px,4vw,44px); font-weight:800; line-height:1.28; letter-spacing:-.045em; }
.rg-hero h1 span{ color:var(--brand-2); }
.rg-hero__desc{ margin-top:20px; max-width:760px; font-size:16.5px; line-height:1.78; color:rgba(255,255,255,.8); }
.rg-hero__chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; }
.rg-hero__chips li{
  padding:8px 16px; border-radius:999px; font-size:14px; font-weight:700; color:#DCEBFF;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2);
}
.rg-hero .rg-cta__btns{ margin-top:30px; }

/* 섹션 */
.rg-sec{ margin-top:52px; }
.rg-sec > h2{ font-size:clamp(21px,2.4vw,29px); font-weight:800; color:var(--navy); letter-spacing:-.04em; margin-bottom:20px; }
.rg-sec > h2 a{ color:var(--navy); }
.rg-sec > h2 a:hover{ color:var(--brand-dk); }
.rg-sec > p{ font-size:16px; line-height:1.85; color:var(--ink-2); }
.rg-sec > p + p{ margin-top:14px; }
.rg-note{ margin-top:16px; font-size:14px; color:var(--ink-3); line-height:1.7; }
.rg-note b{ color:var(--ink-2); font-weight:700; }
.rg-note a{ color:var(--brand-dk); font-weight:700; }

/* 키워드 칩 */
.rg-keys{ display:flex; flex-wrap:wrap; gap:8px; }
.rg-keys li{
  padding:9px 16px; border-radius:999px; background:var(--bg-blue); color:var(--navy-2);
  font-size:14px; font-weight:600; border:1px solid #DCE8F8;
}

/* 과정 카드 */
.rg-cards{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.rg-card{ padding:30px 28px; border-radius:var(--r-lg); background:var(--bg-soft); border:1px solid var(--line); }
.rg-card h3{ font-size:20px; font-weight:800; color:var(--navy); letter-spacing:-.035em; }
.rg-card p{ margin:12px 0 16px; font-size:15px; line-height:1.75; color:var(--ink-2); }
.rg-card a{ font-size:14.5px; font-weight:700; color:var(--brand-dk); }
.rg-card a:hover{ text-decoration:underline; }

/* 수강료 */
.rg-price h2{ font-size:clamp(21px,2.4vw,29px); font-weight:800; color:var(--navy); letter-spacing:-.04em; }
.rg-price__sub{ margin:8px 0 20px; font-size:15px; color:var(--ink-2); }
.rg-table{ min-width:520px; border:1px solid var(--line); border-radius:var(--r-md); overflow:hidden; background:#fff; }
.rg-table th, .rg-table td{ padding:16px 20px; border-bottom:1px solid var(--line); text-align:left; font-size:15px; }
.rg-table thead th{ background:var(--navy); color:#fff; font-weight:700; font-size:14.5px; border-bottom:0; }
.rg-table tbody th{ background:var(--bg-soft); color:var(--navy); font-weight:800; width:130px; }
.rg-table td{ color:var(--ink-2); }
.rg-table td b{ color:var(--navy); font-weight:800; font-size:16.5px; }
.rg-table tbody tr:last-child th, .rg-table tbody tr:last-child td{ border-bottom:0; }

/* FAQ */
.rg-faq{ border-top:1px solid var(--line); }
.rg-faq dt{ padding:22px 0 0; font-size:17px; font-weight:700; color:var(--navy); letter-spacing:-.03em; }
.rg-faq dt::before{ content:"Q. "; color:var(--brand-dk); font-weight:800; }
.rg-faq dd{ padding:10px 0 22px; border-bottom:1px solid var(--line); font-size:15.5px; line-height:1.8; color:var(--ink-2); }

/* 인근 지역 */
.rg-near{ display:flex; flex-wrap:wrap; gap:8px; }
.rg-near li a{
  display:block; padding:9px 15px; border-radius:10px; background:#fff; border:1px solid var(--line);
  font-size:14px; font-weight:600; color:var(--ink-2); transition:all .18s var(--ease);
}
.rg-near li a:hover{ border-color:var(--brand); color:var(--brand-dk); background:var(--bg-blue); }
.rg-near--big li a{ font-size:15px; padding:11px 18px; }

/* index.html 에서 가져온 섹션을 카테고리 페이지에 카드처럼 얹는다 */
.rg-plain{ margin-top:40px; border-radius:var(--r-xl); overflow:hidden; }
.rg-plain > .sec{ padding:44px 0; }
.rg-plain > .sec > .wrap{ padding-left:32px; padding-right:32px; }
.rg-plain > .sec--why, .rg-plain > .sec--curri, .rg-plain > .sec--faq{ padding-top:8px; }
.rg-plain > .sec--apply{ background:transparent; padding:8px 0 0; }
.rg-plain > .sec--apply > .wrap{ padding-left:0; padding-right:0; }
.rg-plain--flush{ margin-top:12px; }
/* 후기 슬라이더는 폭이 좁아 화살표가 카드를 가리므로 감춘다 (자동 순환 + 드래그로 이동) */
.rg-plain .rv__nav{ display:none; }
.rg-plain .rv__track{ padding-left:32px; padding-right:32px; }
.rg-plain .sec-head{ margin-bottom:34px; }
/* 페이지 히어로와 제목이 겹치는 첫 섹션은 섹션 제목 숨김 */
.rg-plain--nohead > .sec > .wrap > .sec-head{ display:none; }
.rg-plain--nohead > .sec{ padding-top:36px; }

/* 수업 당일 흐름 */
.rg-flow{ counter-reset:flow; display:grid; gap:12px; }
.rg-flow li{
  counter-increment:flow; position:relative; padding:20px 24px 20px 68px;
  border-radius:var(--r-md); background:var(--bg-soft); border:1px solid var(--line);
}
.rg-flow li::before{
  content:counter(flow); position:absolute; left:22px; top:20px;
  width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--brand); color:#fff; font-size:14px; font-weight:800;
}
.rg-flow b{ display:block; font-size:17px; font-weight:800; color:var(--navy); letter-spacing:-.03em; }
.rg-flow span{ display:block; margin-top:5px; font-size:15px; color:var(--ink-2); line-height:1.7; }

/* 비교 표 — 머리글과 본문 셀의 정렬·너비를 맞춘다 */
.rg-table--cmp{ min-width:660px; table-layout:fixed; }
.rg-table--cmp th, .rg-table--cmp td{ text-align:center; }
.rg-table--cmp thead th:first-child,
.rg-table--cmp tbody th{ text-align:left; width:15%; }
.rg-table--cmp thead th:not(:first-child){ width:28.33%; }
.rg-table--cmp td b{ color:var(--brand-dk); }
.rg-table--cmp thead th:last-child{ background:var(--brand-dk); }

/* 소개 영상 2단 */
.rg-videos{ display:grid; grid-template-columns:1fr; gap:16px; margin-top:20px; }
.rg-videos .curri-hero img{ border-radius:var(--r-lg); }

/* 후기 목록 — 한 줄에 3개 */
.rv-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:stretch; }
.rv-grid .rv__card{ flex:0 1 auto; width:auto; }

/* 페이지네이션 */
.pager{ display:flex; align-items:center; justify-content:center; gap:10px; margin-top:36px; flex-wrap:wrap; }
.pager__nums{ display:flex; gap:6px; }
.pager__nums a, .pager__nums span{
  display:flex; align-items:center; justify-content:center;
  min-width:40px; height:40px; padding:0 10px; border-radius:10px;
  font-size:15px; font-weight:700; color:var(--ink-2);
  background:#fff; border:1px solid var(--line); transition:all .18s var(--ease);
}
.pager__nums a:hover{ border-color:var(--brand); color:var(--brand-dk); background:var(--bg-blue); }
.pager__nums .is-on{ background:linear-gradient(135deg,var(--brand) 0%,var(--brand-dk) 100%); border-color:transparent; color:#fff; }
.pager__arrow{
  display:flex; align-items:center; height:40px; padding:0 16px; border-radius:10px;
  font-size:14.5px; font-weight:700; color:var(--ink-2);
  background:#fff; border:1px solid var(--line); transition:all .18s var(--ease);
}
.pager__arrow:hover{ border-color:var(--brand); color:var(--brand-dk); }
.pager__arrow.is-off{ opacity:.38; pointer-events:none; }

/* CTA */
.rg-cta{ padding:38px 40px; border-radius:var(--r-xl); background:var(--bg-blue); border:1px solid #D9E7FA; text-align:center; }
.rg-cta h2{ font-size:clamp(21px,2.4vw,30px); font-weight:800; color:var(--navy); letter-spacing:-.04em; }
.rg-cta p{ margin-top:14px; font-size:16px; line-height:1.75; color:var(--ink-2); }
.rg-cta__btns{ display:flex; flex-wrap:wrap; gap:11px; justify-content:center; margin-top:26px; }
.rg-hero .rg-cta__btns{ justify-content:flex-start; }

@media (max-width:960px){
  .rg{ padding-bottom:120px; }
  .rg-hero{ padding:38px 26px 34px; }
  .rg-cards{ grid-template-columns:1fr; }
  .rv-grid{ grid-template-columns:repeat(2,1fr); gap:16px; }
  .rg-plain > .sec{ padding:44px 0; }
  .rg-plain > .sec > .wrap{ padding-left:20px; padding-right:20px; }
}
@media (max-width:640px){
  .rg{ padding-left:18px; padding-right:18px; }
  .rg-sec{ margin-top:40px; }
  .rg-hero__desc{ font-size:15.5px; }
  .rg-cta{ padding:32px 20px; }
  .rg-cta__btns .btn{ width:100%; }
  .rg-hero .rg-cta__btns .btn{ width:100%; }
  .rg-keys li{ font-size:13px; padding:8px 13px; }
  .rv-grid{ grid-template-columns:1fr; }
  .pager__arrow{ padding:0 12px; font-size:13.5px; }
}
