/* Theme 2 (디자인 시안 2) for the inner pages — added by the build only while designs/designs.json has "home": 2.
   Same language as designs/home-2.html: Pretendard, large type, flat colour tiles, big buttons, one colour per
   branch (app.js sets --c on branch items and --brand on a branch page). Everything is scoped to body.theme-2. */
body.theme-2{
  --t2-ink:#163e37; --t2-muted:#4b5f59; --t2-line:#d3e2dc; --t2-mist:#eef5f2; --t2-green:#176b60; --t2-forest:#0f2e29;
  --brand:#176b60; --ink:#163e37; --muted:#4b5f59; --line:#d3e2dc; --soft:#eef5f2; --green:#176b60;
  font-family:'Pretendard Variable',Pretendard,'Noto Sans KR',-apple-system,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;
  font-size:17px;line-height:1.65;word-break:keep-all;color:var(--t2-ink);background:#fff
}
body.theme-2 :is(h1,h2,h3){letter-spacing:-.025em;font-weight:800}
body.theme-2 h1{font-size:clamp(2.1rem,3.4vw,2.9rem);line-height:1.28}
body.theme-2 h2{font-size:clamp(1.65rem,2.4vw,2.1rem);line-height:1.32}
body.theme-2 h1 em,body.theme-2 h2 em{font-style:normal;color:inherit}
body.theme-2 .section{max-width:1248px;padding:72px 24px}
/* English labels are dropped in this design; the Korean headings carry the meaning */
body.theme-2 :is(.page-intro,.section-heading,.approach,.philosophy,.program-intro,.consult,.branch-hero,.director-greeting,.branch-section)>.eyebrow,
body.theme-2 :is(.section-heading,.program-intro-copy)>div>.eyebrow:not(.ig-account),body.theme-2 .philosophy .eyebrow,body.theme-2 .program-intro-copy>.eyebrow,body.theme-2 .center-image>span,body.theme-2 .step-en,body.theme-2 .branch-hero .eyebrow,body.theme-2 .program-process-header .eyebrow,body.theme-2 .program-label{display:none}
/* program story keeps its number, drops the English name */
body.theme-2 .program-story-copy>.eyebrow{font-size:0;letter-spacing:0}
body.theme-2 .program-story-copy>.eyebrow span{font-size:15px;font-weight:800}

/* branch bar + header */
body.theme-2 .branchbar{background:var(--t2-forest);color:#fff}
body.theme-2 .branchbar>div{max-width:1248px;margin:auto;padding:0 24px;display:flex;gap:2px;overflow-x:auto;scrollbar-width:none}
body.theme-2 .branchbar>div::-webkit-scrollbar{display:none}
body.theme-2 .branchbar a{display:flex;align-items:center;gap:8px;padding:10px 16px;font-size:15px;font-weight:600;white-space:nowrap;opacity:.88}
body.theme-2 .branchbar a:hover,body.theme-2 .branchbar a[aria-current=page]{opacity:1;background:#ffffff14}
body.theme-2 .branchbar i{width:10px;height:10px;border-radius:50%;background:var(--c);box-shadow:0 0 0 2px #ffffff40}
body.theme-2 .header{padding-inline:max(24px,calc((100vw - 1200px)/2));background:#fffffff2;border-bottom:1px solid var(--t2-line)}
body.theme-2 .header #main-nav>a:not(.nav-cta),body.theme-2 .header .nav-branches>a{font-size:17px;font-weight:600}
body.theme-2 .header #main-nav>a:not(.nav-cta)[aria-current=page],body.theme-2 .nav-branches>a[aria-current=page]{color:var(--t2-green);font-weight:800}
body.theme-2 .header #main-nav>.nav-cta,body.theme-2 .header #main-nav>.nav-cta[aria-current=page]{color:#fff}
body.theme-2 .header .nav-cta{min-height:52px;align-items:center;padding:0 24px;border-radius:8px;font-size:17px;font-weight:700;background:var(--t2-green)}

/* page intro = soft full-width band with a large title */
body.theme-2 .page-intro{position:relative;padding-block:64px 52px;margin-bottom:8px;background:var(--t2-mist);box-shadow:0 0 0 100vmax var(--t2-mist);clip-path:inset(0 -100vmax)}
body.theme-2 .page-intro .intro,body.theme-2 .intro{font-size:18px;line-height:1.75;color:var(--t2-muted);margin-top:18px}
body.theme-2 .section-heading{margin-bottom:32px}
body.theme-2 .section-heading>p{font-size:17px;line-height:1.75;color:var(--t2-muted)}

/* buttons and links: big, clear, one action each */
body.theme-2 :is(.primary,.ghost,.kakao){min-height:58px;padding:14px 24px;border-radius:8px;font-size:17px;font-weight:700;gap:18px}
body.theme-2 .primary{background:var(--brand);border-color:var(--brand);color:#fff}
body.theme-2 .primary:hover{filter:brightness(.92);background:var(--brand)}
body.theme-2 .ghost{border:2px solid var(--t2-line);color:var(--t2-ink)}
body.theme-2 .ghost:hover{border-color:var(--brand);background:#fff;color:var(--brand)}
body.theme-2 .text-link{font-size:16.5px;font-weight:700;color:var(--brand);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
body.theme-2 .section-note{font-size:15px;line-height:1.7;color:var(--t2-muted)}

/* about: the 4-step process as tiles (a real sequence, so numbered) */
body.theme-2 .process-grid{gap:14px;border-top:0}
body.theme-2 .process-grid li,body.theme-2 .process-grid li:first-child,body.theme-2 .process-grid li:last-child{padding:28px 24px;border:0;border-radius:12px;background:var(--t2-mist)}
body.theme-2 .process-grid .step-no{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--t2-green);color:#fff;font-size:18px;font-weight:800;margin-bottom:14px}
body.theme-2 .process-grid h3{font-size:22px}
body.theme-2 .process-grid li>p:not(.step-en){font-size:16px;line-height:1.7;margin-top:10px}
body.theme-2 .step-tag{display:block;margin-top:12px;padding:0;background:none;border:0;color:var(--t2-green);font-size:15px;font-weight:700}
body.theme-2 .ig-account{display:inline-block;margin-bottom:6px;padding:4px 12px;border-radius:999px;background:var(--t2-mist);color:var(--t2-green);font-size:14px;font-weight:700;letter-spacing:0;text-transform:none}
body.theme-2 .philosophy{background:var(--t2-green)}
body.theme-2 .philosophy p:not(.eyebrow){font-size:18px;line-height:1.75}
body.theme-2 .light-link{min-height:58px;align-items:center;padding:0 26px;border:2px solid #ffffffb3;border-radius:8px;font-size:17px;font-weight:700;margin-top:30px}
body.theme-2 .light-link:hover{background:#fff;color:var(--t2-green)}

/* branches overview: colour tiles like the home */
body.theme-2 .center-grid{gap:14px}
body.theme-2 .center-grid .center{display:flex;flex-direction:column;border-radius:12px;overflow:hidden;background:var(--c,var(--t2-green));color:#fff}
body.theme-2 .center-grid .center-image,body.theme-2 #branches-view .center-grid .center-image{aspect-ratio:4/3;border-radius:0}
body.theme-2 .center-grid .center-title{margin:0;padding:22px 22px 0}
body.theme-2 .center-grid .center-title h3{font-size:26px}
body.theme-2 .center-grid .center-title>span{font-size:22px}
body.theme-2 .center-grid .center>p{margin:6px 0 18px;padding:0 22px;color:#ffffffe6;font-size:15.5px;line-height:1.6}
body.theme-2 .center-grid .center .center-more{display:flex;align-items:center;min-height:56px;margin:auto 22px 22px;padding:0 18px;border:2px solid #ffffffb3;border-radius:8px;color:#fff;font-size:16.5px;font-weight:800}
body.theme-2 .center-grid .center:hover .center-more{background:#fff;color:var(--c,var(--t2-green))}

/* branch page: the branch colour leads */
body.theme-2 .branch-switcher{max-width:1248px;padding:24px 24px 0;gap:8px}
body.theme-2 .branch-switcher a{display:inline-flex;align-items:center;min-height:48px;padding:0 18px;border:2px solid var(--c,var(--t2-line));border-radius:999px;font-weight:700;font-size:16px;background:#fff}
body.theme-2 .branch-switcher a:hover{background:var(--t2-mist)}
body.theme-2 .branch-switcher a[aria-current=page]{background:var(--c,var(--t2-green));border-color:var(--c,var(--t2-green));color:#fff}
body.theme-2 .branch-heading{padding-top:28px}
body.theme-2 .branch-heading>.text-link{font-size:16px}
body.theme-2 .branch-hero{margin-top:16px;padding:40px;border-radius:18px;background:color-mix(in srgb,var(--brand) 9%,#fff);gap:44px}
body.theme-2 .branch-hero h1{font-size:clamp(2.3rem,3.6vw,3.1rem);color:var(--brand)}
body.theme-2 .branch-hero p{font-size:17.5px;line-height:1.7;color:var(--t2-muted)}
body.theme-2 .branch-hero>div>p:first-of-type{font-size:18.5px;font-weight:600;color:var(--t2-ink)}
body.theme-2 .branch-hero>img{height:340px;border-radius:14px}
body.theme-2 .specialty-list span{padding:8px 14px;border-radius:999px;background:#fff;border:1.5px solid var(--brand);color:var(--brand);font-weight:700;font-size:15px}
body.theme-2 .branch-nav-wrap{border-block:1px solid var(--t2-line)}
body.theme-2 .branch-tabs{max-width:1200px;gap:8px}
body.theme-2 .branch-tabs a{padding:18px 12px;font-size:17px;font-weight:700}
body.theme-2 .branch-tabs a:hover{box-shadow:inset 0 -4px var(--brand);color:var(--brand)}
body.theme-2 .branch-section{border-bottom:0}
body.theme-2 .branch-section+.branch-section{border-top:1px solid var(--t2-line)}
body.theme-2 .director-photo{border-radius:14px}
body.theme-2 .director-title{font-size:30px}
body.theme-2 .director-columns h4{color:var(--brand);font-size:18px}
body.theme-2 .director-copy li{font-size:16px;line-height:1.7}
body.theme-2 .director-greeting{border-left-color:var(--brand);border-radius:12px}
body.theme-2 .greeting-toggle{border-color:var(--brand);color:var(--brand);min-height:52px;font-size:16px}
body.theme-2 .greeting-toggle:hover{background:var(--brand);color:#fff}
body.theme-2 .branch-program-grid{gap:14px}
body.theme-2 .branch-info-card{padding:30px 28px;border-radius:12px;background:var(--t2-mist)}
body.theme-2 .branch-info-card h3{font-size:22px;margin-bottom:12px}
body.theme-2 .branch-info-card p{font-size:16.5px;line-height:1.75;color:var(--t2-ink)}
body.theme-2 .branch-info-card:nth-child(3){background:var(--brand);color:#fff}
body.theme-2 .branch-info-card:nth-child(3) p,body.theme-2 .branch-info-card:nth-child(3) .text-link{color:#fff}
body.theme-2 .program-detail-note{margin-top:14px}
body.theme-2 .visit-list>div{grid-template-columns:120px 1fr;font-size:16.5px;padding:18px 0}
body.theme-2 .visit-list dt{font-weight:800;color:var(--brand)}
body.theme-2 .visit-list dd{color:var(--t2-ink)}
body.theme-2 .visit-cta{padding:32px 28px;border-radius:14px;background:var(--brand);color:#fff}
body.theme-2 .visit-cta h3{font-size:24px}
body.theme-2 .visit-cta p{color:#ffffffe6;font-size:16.5px;line-height:1.7}
body.theme-2 .visit-cta .primary{background:#fff;border-color:#fff;color:var(--brand)}
body.theme-2 .visit-cta .ghost{background:transparent;border-color:#ffffffb3;color:#fff}
body.theme-2 .visit-cta .ghost:hover{background:#ffffff1f}
body.theme-2 .visit-cta .text-link{color:#fff}
body.theme-2 .map-block{border-radius:14px}

/* programs */
body.theme-2 .program-intro-photo img,body.theme-2 .program-story-photo img{border-radius:14px}
body.theme-2 .program-selection-heading{font-size:22px}
body.theme-2 .program-choice{border-radius:12px;border:2px solid var(--t2-line)}
body.theme-2 .program-choice[aria-selected=true]{border-color:var(--t2-green);box-shadow:0 0 0 2px var(--t2-green)}
body.theme-2 .program-card-title{font-size:24px;font-weight:800}
body.theme-2 .program-card-summary{font-size:16px}
body.theme-2 .program-description{font-size:17.5px;line-height:1.75}
body.theme-2 .program-consult-note{border-radius:12px}
body.theme-2 .program-contact{margin-top:56px;padding:40px;border:0;border-radius:18px;background:var(--t2-green);color:#fff}
body.theme-2 .program-contact p{color:#ffffffe6;font-size:17px}
body.theme-2 .program-contact .primary{background:#fff;border-color:#fff;color:var(--t2-green)}

#mall-view{min-height:0}
body.theme-2 #mall-view{background:var(--t2-mist)}
body.theme-2 #mall-view .page-intro{padding-block:80px 96px}
/* news */
body.theme-2 .post-card{border:1px solid var(--t2-line);border-radius:12px;overflow:hidden;padding-bottom:20px}
body.theme-2 .post-card:hover{border-color:var(--t2-green)}
body.theme-2 .post-card>:not(.post-image){margin-inline:20px}
body.theme-2 .post-image{border-radius:0}
body.theme-2 .post-card h3{font-size:19px;line-height:1.45}
body.theme-2 .post-card>p{font-size:15.5px;line-height:1.7}
body.theme-2 .post-read{font-weight:700;color:var(--t2-green)}
body.theme-2 .blog-channels a{min-height:56px;border-radius:8px;font-weight:700}

/* contact: one big picker card */
body.theme-2 .consult{background:var(--t2-mist)}
body.theme-2 .consult-picker{padding:30px;border-radius:16px;border:0;box-shadow:0 1px 0 var(--t2-line)}
body.theme-2 .consult-picker label{font-size:18px;font-weight:800}
body.theme-2 .consult-picker select{min-height:58px;border:2px solid var(--t2-line);border-radius:8px;padding:0 14px;font-size:17px;font-weight:600;background:#fff}
body.theme-2 .consult-memo{font-size:16px}
body.theme-2 .consult-memo summary{font-weight:700;color:var(--t2-green)}
body.theme-2 .consult-memo input,body.theme-2 .consult-memo textarea{min-height:52px;border:2px solid var(--t2-line);border-radius:8px;padding:10px 14px;font-size:16px}

/* footer: dark band with every branch's address and phone */
body.theme-2 footer{background:var(--t2-forest);color:#d7e6e1;padding:52px max(24px,calc((100vw - 1200px)/2)) 56px;grid-template-columns:1fr auto;grid-template-areas:"brand links" "branches branches" "copy copy"}
body.theme-2 footer>div:first-child{grid-area:brand}
body.theme-2 .footer-wordmark{color:#fff;font-weight:800;letter-spacing:-.05em}
body.theme-2 footer p{color:#d7e6e1;font-size:15.5px}
body.theme-2 .footer-links{grid-area:links;font-size:15.5px;font-weight:600;color:#fff}
body.theme-2 .f-branches{grid-area:branches;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding-block:24px;border-top:1px solid #ffffff26}
body.theme-2 .f-branches h3{display:flex;align-items:center;gap:8px;font-size:17px;color:#fff;margin:0 0 6px}
body.theme-2 .f-branches h3 i{width:10px;height:10px;border-radius:50%;background:var(--c);box-shadow:0 0 0 2px #ffffff99}
body.theme-2 .f-branches p{margin:0;font-size:15px;line-height:1.6}
body.theme-2 .f-branches a{font-weight:700;color:#fff}
body.theme-2 .copyright{grid-area:copy;border-top-color:#ffffff26;color:#d7e6e1b3;font-size:14px}

@media(max-width:1100px){
  body.theme-2 .section{padding:60px 24px}
  body.theme-2 .f-branches{grid-template-columns:repeat(2,1fr)}
  body.theme-2 .branch-hero{padding:32px;gap:30px}
}
@media(max-width:1020px){
  body.theme-2 .header #main-nav a{font-size:18px;min-height:56px;display:flex;align-items:center}
  body.theme-2 .header .nav-cta{justify-content:center}
}
@media(max-width:1020px){
  body.theme-2 .menu-toggle{min-height:48px;padding:0 14px;border:1px solid var(--t2-line);border-radius:8px;background:#fff;font-size:16px;font-weight:700;color:var(--t2-ink)}
}
@media(max-width:760px){
  body.theme-2{font-size:16.5px}
  body.theme-2 .section{padding:44px 16px}
  body.theme-2 .branchbar>div{padding:0 16px}
  body.theme-2 .branchbar a{padding:10px 12px;font-size:14px}
  body.theme-2 .header{padding-inline:16px}
  body.theme-2 .page-intro{padding-block:40px 34px}
  body.theme-2 .page-intro .intro,body.theme-2 .intro{font-size:16.5px}
  body.theme-2 :is(.intro,.section-heading>p,.philosophy p) br{display:inline}
  body.theme-2 :is(.primary,.ghost,.kakao){width:100%;justify-content:center}
  body.theme-2 .branch-actions .text-link{width:100%;justify-content:center}
  body.theme-2 .process-grid{grid-template-columns:1fr}
  body.theme-2 .center-grid{grid-template-columns:1fr}
  body.theme-2 .center-grid .center{flex-direction:row}
  body.theme-2 .center-grid .center-image{flex:0 0 40%;aspect-ratio:auto;min-height:100%}
  body.theme-2 .center-grid .center>div:not(.center-image),body.theme-2 .center-grid .center>p,body.theme-2 .center-grid .center>span{min-width:0}
  body.theme-2 .center-grid .center{display:grid;grid-template-columns:40% 1fr;grid-template-rows:auto auto 1fr;grid-template-areas:"img title" "img addr" "img more"}
  body.theme-2 .center-grid .center-image,body.theme-2 #branches-view .center-grid .center-image{grid-area:img;aspect-ratio:auto;min-width:0;min-height:176px}
  body.theme-2 .center-grid .center-image img{position:absolute;inset:0}
  body.theme-2 .center-grid .center-title{grid-area:title;padding:18px 16px 0}
  body.theme-2 .center-grid .center-title h3{font-size:22px}
  body.theme-2 .center-grid .center>p{grid-area:addr;margin-bottom:0;padding:0 16px;font-size:14.5px}
  body.theme-2 .center-grid .center .center-more{grid-area:more;align-self:end;margin:14px 16px 16px;min-height:50px;font-size:15px;padding:0 12px}
  body.theme-2 :is(.branch-gallery,.space-grid){margin-inline:-16px;padding-inline:16px;scroll-padding-inline:16px}
  body.theme-2 .branch-switcher{padding:20px 16px 0}
  body.theme-2 .branch-switcher a{min-height:44px;padding:0 14px;font-size:15px}
  body.theme-2 .branch-hero{padding:24px 18px;border-radius:14px}
  body.theme-2 .branch-hero>img{height:220px}
  body.theme-2 .branch-tabs a{padding:15px 6px;font-size:15.5px}
  body.theme-2 .branch-info-card{padding:24px 20px}
  body.theme-2 .visit-list>div{grid-template-columns:96px 1fr;font-size:15.5px}
  body.theme-2 .visit-cta{padding:26px 20px}
  body.theme-2 .program-contact{padding:28px 20px}
  body.theme-2 .consult-picker{padding:22px 18px}
  body.theme-2 footer{grid-template-columns:1fr;grid-template-areas:"brand" "links" "branches" "copy";padding:44px 16px 120px}
  body.theme-2 .f-branches{grid-template-columns:1fr}
  body.theme-2 .mobile-bar a{min-height:54px;display:flex;align-items:center;justify-content:center;border-radius:8px;font-weight:800;font-size:17px}
}
