/* ============================================================
   참인재미래교육협회 — 지역본부(협력기관) 예시 페이지
   gwanak/index.html 전용. style.css 위에 얹어 씁니다.
   2026-11-29 · 제2호 협력기관(관악지역본부 · 쏘윌아이) 예시 데모
   ============================================================ */

/* ── 예시 데모 띠 ─────────────────────────────────────── */
.demo-bar{
  position:relative;
  z-index:60;
  background:var(--navy-deep,#0F1F38);
  color:rgba(255,255,255,.82);
}
.demo-bar-inner{
  display:flex;
  align-items:center;
  gap:12px clamp(12px,2vw,22px);
  width:min(1160px,calc(100% - 40px));
  margin-inline:auto;
  padding:9px 0;
  flex-wrap:wrap;
}
.demo-bar-tag{
  flex:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(230,194,90,.16);
  border:1px solid rgba(230,194,90,.44);
  color:#F0D08A;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.06em;
  line-height:1.4;
}
.demo-bar-text{
  flex:1 1 260px;
  min-width:0;
  font-size:.775rem;
  line-height:1.6;
  letter-spacing:-.01em;
  word-break:keep-all;
}
.demo-bar-text b{color:#FFFFFF;font-weight:600}
.demo-bar-link{
  flex:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:.775rem;
  font-weight:600;
  color:#F0D08A;
  text-decoration:none;
  border-bottom:1px solid rgba(240,208,138,.38);
  padding-bottom:2px;
}
.demo-bar-link svg{width:14px;height:14px;transition:transform .3s var(--ease)}
.demo-bar-link:hover{color:#FFFDF9}
.demo-bar-link:hover svg{transform:translateX(3px)}

/* ── 지역본부 머리글 ──────────────────────────────────── */
.branch-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.9);
  -webkit-backdrop-filter:blur(18px) saturate(1.02);
  backdrop-filter:blur(18px) saturate(1.02);
  border-bottom:1px solid var(--hairline);
}
.branch-header-inner{
  display:flex;
  align-items:center;
  gap:18px;
  min-height:72px;
}
.branch-header .brand{gap:11px}
.branch-header .brand-mark{width:31px;height:31px}
.branch-header .brand-name{font-size:.99rem}
.branch-header .brand-en{font-size:.53rem;letter-spacing:.11em;margin-top:2px}

.branch-nav{
  display:flex;
  align-items:center;
  gap:clamp(12px,1.8vw,24px);
  margin-left:auto;
}
.branch-nav a{
  font-size:.845rem;
  color:var(--muted);
  text-decoration:none;
  white-space:nowrap;
  transition:color .25s;
}
.branch-nav a:hover{color:var(--forest)}
.branch-nav .branch-nav-cta{
  padding:9px 17px;
  border-radius:999px;
  background:var(--forest);
  color:#FBF8F2;
  font-weight:600;
  font-size:.82rem;
}
.branch-nav .branch-nav-cta:hover{background:#162B4D;color:#FFFFFF}

@media (max-width:860px){
  .branch-nav a:not(.branch-nav-cta){display:none}
}

/* ── 대문 ─────────────────────────────────────────────── */
.branch-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#0E1626;
  color:#F6F3EC;
}
.branch-hero-bg{
  position:absolute;
  inset:0;
  z-index:-2;
}
.branch-hero-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 46%;
  transform:scale(1.03);
}
.branch-hero-veil{
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(100deg,rgba(10,18,32,.92) 0%,rgba(10,18,32,.86) 36%,rgba(10,18,32,.56) 58%,rgba(10,18,32,.26) 78%,rgba(10,18,32,.12) 100%),
    linear-gradient(180deg,rgba(8,14,26,.46) 0%,rgba(8,14,26,.06) 46%,rgba(8,14,26,.6) 100%);
}
.branch-hero-inner{
  padding:clamp(52px,7.4vw,96px) 0 clamp(44px,5.6vw,66px);
  max-width:min(1160px,calc(100% - 40px));
}
.branch-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:6px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  font-size:.735rem;
  font-weight:600;
  letter-spacing:.06em;
  color:#F4F1EA;
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
}
.branch-eyebrow-dot{
  width:6px;height:6px;border-radius:50%;
  background:#F0D08A;
  box-shadow:0 0 0 4px rgba(240,208,138,.2);
  flex:none;
}
.branch-hero-title{
  font-family:var(--serif);
  font-weight:500;
  font-size:clamp(1.9rem,3.7vw,3.05rem);
  line-height:1.36;
  letter-spacing:-.03em;
  margin:22px 0 20px;
  max-width:15em;
  word-break:keep-all;
  text-shadow:0 2px 26px rgba(6,12,24,.36);
}
.branch-hero-title .accent{
  color:#F0D08A;
  position:relative;
}
.branch-hero-lead{
  max-width:34em;
  font-size:.95rem;
  line-height:1.95;
  color:rgba(246,243,236,.84);
  word-break:keep-all;
}
.branch-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
.branch-hero .btn--solid{
  background:#FFFFFF;
  color:var(--navy,#162B4D);
  box-shadow:0 18px 32px -22px rgba(0,0,0,.8);
}
.branch-hero .btn--solid:hover{background:#F3F6FA}
.branch-hero .btn--ghost{
  border-color:rgba(255,255,255,.42);
  color:#F4F1EA;
  background:rgba(255,255,255,.08);
}
.branch-hero .btn--ghost:hover{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.64)}
.branch-hero-facts{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px clamp(16px,2.4vw,34px);
  margin-top:clamp(32px,4vw,46px);
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.2);
  max-width:820px;
}
.branch-hero-facts li{
  font-size:.83rem;
  line-height:1.5;
  color:rgba(246,243,236,.86);
  word-break:keep-all;
}
.branch-hero-facts strong{
  display:block;
  margin-bottom:5px;
  font-size:.66rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(240,208,138,.9);
}
/* 좁은 화면에서는 대문 글씨가 사진의 밝은 창가 위에 놓이므로,
   세로 방향으로 한 겹 더 덮어 글씨가 또렷하게 읽히도록 합니다. */
@media (max-width:980px){
  .branch-hero-veil{
    background:linear-gradient(180deg,
      rgba(9,16,30,.9) 0%,
      rgba(9,16,30,.85) 40%,
      rgba(9,16,30,.68) 68%,
      rgba(9,16,30,.86) 100%);
  }
  .branch-hero-title{text-shadow:0 2px 18px rgba(4,9,18,.5)}
  .branch-hero-lead{color:rgba(248,246,240,.94)}
}
@media (max-width:720px){
  .branch-hero-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .branch-hero-lead{font-size:.9rem}
  .branch-hero-veil{
    background:linear-gradient(180deg,
      rgba(9,16,30,.93) 0%,
      rgba(9,16,30,.88) 38%,
      rgba(9,16,30,.7) 66%,
      rgba(9,16,30,.9) 100%);
  }
}
/* 손바닥 화면: 대문 버튼(사전 설문 · 응원 파트너 · 가볍게 시작)을
   같은 너비로 한 줄씩 — 들쭉날쭉하지 않고 손가락으로 누르기 좋게 (2026-11-30) */
@media (max-width:560px){
  .branch-hero-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
  .branch-hero-actions .btn{width:100%}
}

/* ── 섹션 보조 (style.css의 .section 위에) ───────────── */
.branch-section-lead a{color:var(--forest);text-decoration:none;border-bottom:1px solid rgba(72,100,86,.3)}
.branch-section-lead a:hover{color:var(--terra-ink);border-color:rgba(150,82,47,.45)}

.branch-quiet-note{
  margin-top:clamp(22px,2.6vw,32px);
  padding:16px 20px;
  border-radius:10px;
  background:#FBFAF6;
  border:1px solid var(--hairline,#E5E8EC);
  border-left:3px solid rgba(185,138,78,.5);
  font-size:.83rem;
  line-height:1.85;
  color:var(--muted);
}
.branch-quiet-note strong{color:var(--ink);font-weight:600}

/* ── 소개 · 정보 카드 ─────────────────────────────────── */
.about-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);
  gap:clamp(18px,2.4vw,30px);
  align-items:start;
}
.about-points{
  display:grid;
  gap:14px;
}
.about-point{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:16px;
  padding:20px 22px;
  background:#FFFFFF;
  border:1px solid var(--line);
  border-radius:12px;
}
.about-point-no{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;height:30px;
  border-radius:50%;
  background:#EDF1F8;
  color:var(--navy,#162B4D);
  font-size:.74rem;
  font-weight:700;
}
.about-point h3{
  font-family:var(--serif);
  font-size:1.02rem;
  font-weight:600;
  line-height:1.5;
  color:var(--ink);
  margin-bottom:5px;
}
.about-point p{font-size:.875rem;line-height:1.85;color:var(--muted)}

.branch-fact-card{
  padding:24px 22px;
  background:var(--cream-3);
  border:1px solid var(--hairline);
  border-radius:12px;
}
.branch-fact-card .branch-fact-title{
  font-family:var(--serif);
  font-size:1.02rem;
  font-weight:600;
  color:var(--ink);
  padding-bottom:12px;
  margin-bottom:12px;
  border-bottom:1px solid var(--hairline-soft);
}
.branch-fact-list{display:grid;gap:11px}
.branch-fact-list div{
  display:grid;
  grid-template-columns:5.4em minmax(0,1fr);
  gap:10px;
  font-size:.83rem;
  line-height:1.65;
}
.branch-fact-list div[hidden]{display:none}   /* 블로그 줄처럼 비어 있는 줄은 감춥니다 */
.branch-fact-list dt{color:#7A736C}
.branch-fact-list dd{color:var(--ink);font-weight:500}
.branch-fact-list dd a{color:var(--forest);text-decoration:underline;text-underline-offset:2px;word-break:break-all}
.branch-fact-list dd a:hover{color:var(--forest-deep,var(--forest))}
/* 구·군 지역장 거점 링크 줄 (부천본부 → 원미·소사·오정구) */
#bp-card-sub{display:flex;flex-wrap:wrap;gap:2px 14px}
#bp-card-sub a{word-break:keep-all}
#bp-card-sub .branch-sub-sep{display:none}
.branch-fact-card .branch-fact-photo{
  margin-top:18px;
  border-radius:10px;
  overflow:hidden;
  border:1px solid var(--hairline-soft);
}
.branch-fact-card .branch-fact-photo img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
}
@media (max-width:900px){
  .about-grid{grid-template-columns:minmax(0,1fr)}
}

/* ── 프로그램 ─────────────────────────────────────────── */
.program-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(232px,1fr));
  gap:16px;
}
.branch-program{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:9px;
  padding:22px 22px 20px;
  background:#FFFFFF;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
}
.branch-program::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:var(--pg,#486456);
  opacity:.7;
}
.branch-program-no{
  font-size:.66rem;
  font-weight:700;
  letter-spacing:.14em;
  color:#8B847B;
}
.branch-program h3{
  font-family:var(--serif);
  font-size:1.05rem;
  font-weight:600;
  line-height:1.45;
  color:var(--ink);
}
.branch-program p{font-size:.86rem;line-height:1.82;color:var(--muted)}
.branch-program .branch-program-local{
  margin-top:auto;
  padding-top:12px;
  border-top:1px dashed var(--hairline);
  font-size:.8rem;
  line-height:1.75;
  color:var(--forest);
}
.branch-program .branch-program-local b{
  display:block;
  font-size:.66rem;
  letter-spacing:.1em;
  color:#8B847B;
  font-weight:700;
  margin-bottom:4px;
}
.branch-program--wide{
  grid-column:1/-1;
  background:linear-gradient(120deg,var(--sage-tint),var(--cream-3) 62%);
}
@media (max-width:560px){
  .branch-program--wide{grid-column:auto}
}

/* ── 두 가지 모델 비교표 ─────────────────────────────── */
.model-wrap{
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:#FFFFFF;
}
.model-table{
  width:100%;
  border-collapse:collapse;
  font-size:.855rem;
  line-height:1.75;
}
.model-table caption{
  caption-side:top;
  text-align:left;
  padding:16px 20px;
  background:var(--cream-3);
  border-bottom:1px solid var(--line);
  font-size:.8rem;
  color:var(--muted);
}
.model-table caption b{color:var(--ink);font-weight:600}
.model-table th,
.model-table td{
  padding:15px 18px;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid var(--hairline-soft);
}
.model-table thead th{
  background:var(--cream-3);
  border-bottom:1px solid var(--line);
  font-family:var(--sans);
  font-size:.82rem;
  font-weight:700;
  color:var(--ink);
  line-height:1.5;
}
.model-table thead th span{
  display:block;
  margin-top:4px;
  font-size:.7rem;
  font-weight:500;
  letter-spacing:.02em;
  color:#8B847B;
}
.model-table thead th.is-a{
  background:#EDF1F8;
  box-shadow:inset 0 3px 0 var(--navy,#162B4D);
}
.model-table thead th.is-a em{
  display:inline-block;
  margin-left:6px;
  padding:2px 8px;
  border-radius:999px;
  background:var(--navy,#162B4D);
  color:#FFFFFF;
  font-size:.62rem;
  font-style:normal;
  font-weight:700;
  letter-spacing:.04em;
  vertical-align:1px;
}
.model-table tbody th{
  width:8.6em;
  font-weight:600;
  color:#6E665E;
  background:#FAFBFC;
  font-size:.8rem;
}
.model-table td.is-a{background:rgba(22,43,77,.032)}
.model-table tbody tr:last-child th,
.model-table tbody tr:last-child td{border-bottom:0}
.model-table td b{color:var(--forest-deep);font-weight:700}
@media (max-width:760px){
  .model-table,
  .model-table thead,
  .model-table tbody,
  .model-table tr,
  .model-table th,
  .model-table td{display:block;width:auto}
  .model-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .model-table caption{display:block;width:auto;padding:14px 16px}
  .model-table tr{
    padding:14px 16px 16px;
    border-bottom:1px solid var(--line);
  }
  .model-table tbody tr:last-child{border-bottom:0}
  .model-table tbody th{
    padding:0 0 10px;
    background:none;
    font-size:.72rem;
    letter-spacing:.1em;
    color:#8B847B;
    font-weight:700;
  }
  .model-table td{
    padding:9px 0 9px 0;
    border-bottom:1px dashed var(--hairline-soft);
    background:none !important;
  }
  .model-table td:last-child{border-bottom:0;padding-bottom:0}
  .model-table td::before{
    content:attr(data-label);
    display:block;
    margin-bottom:3px;
    font-size:.7rem;
    font-weight:700;
    letter-spacing:.04em;
    color:var(--forest);
  }
  .model-table td.is-a::before{color:var(--forest-deep)}
}

/* ── 상담 · 설문 예시 ─────────────────────────────────── */
.consult-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(16px,2.2vw,26px);
  align-items:start;
}
.consult-card{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:clamp(22px,2.4vw,30px);
  background:#FFFFFF;
  border:1px solid var(--line);
  border-radius:12px;
}
.consult-card--main{background:linear-gradient(170deg,#FFFFFF 0%,var(--cream-3) 100%)}
.consult-tag{
  display:inline-flex;
  align-items:center;
  gap:7px;
  align-self:flex-start;
  padding:4px 11px;
  border-radius:999px;
  background:#EDF1F8;
  color:var(--navy,#162B4D);
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.05em;
}
.consult-tag--terra{background:rgba(230,194,90,.2);color:var(--terra-ink,#8A6531)}
.consult-card h3{
  font-family:var(--serif);
  font-size:1.16rem;
  font-weight:600;
  line-height:1.5;
  color:var(--ink);
}
.consult-card > p{font-size:.875rem;line-height:1.9;color:var(--muted)}
.consult-mail{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 13px;
  border-radius:9px;
  background:#F7F8FA;
  border:1px solid var(--hairline);
  font-size:.79rem;
  color:var(--muted);
  line-height:1.5;
  word-break:break-all;
}
.consult-mail svg{width:15px;height:15px;flex:none;color:var(--forest)}
.consult-mail b{color:var(--ink);font-weight:600}
.consult-list{display:grid;gap:7px;font-size:.85rem;color:var(--muted);line-height:1.75}
.consult-list li{position:relative;padding-left:14px}
.consult-list li::before{
  content:"";
  position:absolute;
  left:0;top:.62em;
  width:5px;height:5px;
  border-radius:50%;
  background:#C9A24A;
}
.consult-list b{color:var(--ink);font-weight:600}
.consult-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 14px;
  margin-top:8px;
  padding-top:6px;
}
.week-links{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:2px;
}
.week-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  padding:5px 9px;
  border-radius:7px;
  border:1px solid var(--hairline);
  background:#FFFFFF;
  font-size:.75rem;
  color:var(--muted);
  text-decoration:none;
  transition:border-color .25s,color .25s,background .25s;
}
.week-links a:hover{border-color:rgba(72,100,86,.45);color:var(--forest);background:var(--cream-3)}
.week-links a.is-on{background:var(--forest);border-color:var(--forest);color:#F8F2E7;font-weight:600}
@media (max-width:820px){
  .consult-grid{grid-template-columns:minmax(0,1fr)}
}

/* ── 흐름 4단계 ──────────────────────────────────────── */
.flow-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin-top:clamp(26px,3vw,38px);
  counter-reset:flow;
}
.flow-item{
  position:relative;
  padding:0 clamp(12px,1.6vw,22px);
  counter-increment:flow;
}
.flow-item::before{
  content:"";
  position:absolute;
  top:15px;left:0;right:0;
  height:1px;
  background:var(--hairline);
}
.flow-item:first-child::before{left:50%}
.flow-item:last-child::before{right:50%}
.flow-dot{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:31px;height:31px;
  border-radius:50%;
  background:#FFFFFF;
  border:1px solid rgba(22,43,77,.28);
  color:var(--navy,#162B4D);
  font-size:.78rem;
  font-weight:700;
}
.flow-item h4{
  margin:13px 0 5px;
  font-size:.9rem;
  font-weight:700;
  color:var(--ink);
  line-height:1.5;
}
.flow-item p{font-size:.81rem;line-height:1.75;color:var(--muted)}
@media (max-width:760px){
  .flow-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 0}
  .flow-item::before{display:none}
}

/* ── 시작 절차 3단계 ─────────────────────────────────── */
.start-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.start-step{
  padding:24px 22px;
  background:#FFFFFF;
  border:1px solid var(--line);
  border-radius:12px;
}
.start-step .step-kicker{
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.12em;
  color:var(--terra-ink);
}
.start-step h3{
  margin:8px 0 7px;
  font-family:var(--serif);
  font-size:1.05rem;
  font-weight:600;
  color:var(--ink);
  line-height:1.5;
}
.start-step p{font-size:.855rem;line-height:1.85;color:var(--muted)}
@media (max-width:760px){
  .start-steps{grid-template-columns:minmax(0,1fr)}
}

/* ── 마무리 문의 띠 ──────────────────────────────────── */
.branch-contact-band{
  background:linear-gradient(118deg,#FBF3D5 0%,#F7ECCD 62%,#F4E6B8 100%);
  color:var(--ink);
  border-top:1px solid rgba(239,227,192,.9);
  padding:clamp(44px,5.4vw,66px) 0;
}
.branch-contact-inner{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);
  gap:26px clamp(24px,4vw,54px);
  align-items:center;
}
.branch-contact-band h2{
  font-family:var(--serif);
  font-size:clamp(1.3rem,2.2vw,1.76rem);
  font-weight:500;
  line-height:1.55;
  letter-spacing:-.02em;
  color:var(--ink,#16202E);
}
.branch-contact-band p{
  margin-top:12px;
  max-width:34em;
  font-size:.9rem;
  line-height:1.9;
  color:var(--muted);
}
.branch-contact-actions{
  display:grid;
  gap:10px;
  justify-items:end;
}
.branch-contact-actions .btn--solid{background:var(--navy,#162B4D);color:#FFFFFF}
.branch-contact-actions .btn--solid:hover{background:#22395C}
.branch-contact-actions .btn--ghost{
  border-color:rgba(22,43,77,.24);
  color:var(--navy,#162B4D);
  background:rgba(255,255,255,.72);
}
.branch-contact-actions .btn--ghost:hover{background:#FFFFFF;border-color:rgba(22,43,77,.42)}
@media (max-width:820px){
  .branch-contact-inner{grid-template-columns:minmax(0,1fr)}
  .branch-contact-actions{justify-items:start}
}

/* 이 페이지에는 배경음악 조절 바가 없으므로 바닥글 아래 여백을 줄입니다. */
.site-footer{padding-bottom:30px}

/* ── 바닥글 아래 예시 안내 ───────────────────────────── */
.demo-foot-note{
  padding:22px 0 30px;
  background:#0F1F38;
  border-top:1px solid rgba(255,255,255,.1);
  color:rgba(255,255,255,.44);
  font-size:.755rem;
  line-height:1.85;
}
.demo-foot-note .wrap{display:grid;gap:5px}
.demo-foot-note b{color:rgba(255,255,255,.72);font-weight:600}

/* ── 범용 지역본부 템플릿(branch/index.html) 덧붙임 ───────
   2026-11-29 · 지역 코드만 바꿔 쓰는 공용 화면입니다. */
.branch-card-note{
  margin-top:14px;
  padding-top:12px;
  border-top:1px dashed var(--hairline);
  font-size:.78rem;
  line-height:1.75;
  color:var(--muted);
  word-break:keep-all;
}

/* 개통 안내 박스 — “세 값만 등록하면 같은 날 개통” */
.branch-open-box{
  margin-top:clamp(20px,2.6vw,30px);
  padding:clamp(22px,2.6vw,30px);
  border-radius:14px;
  background:linear-gradient(150deg,#FFFFFF 0%,var(--cream-3) 100%);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm,0 16px 34px -30px rgba(44,42,41,.26));
}
.branch-open-tag{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:4px 12px;
  border-radius:999px;
  background:rgba(22,43,77,.07);
  color:var(--navy,#162B4D);
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.05em;
}
.branch-open-text{
  margin-top:14px;
  max-width:44em;
  font-size:.9rem;
  line-height:1.9;
  color:var(--muted);
  word-break:keep-all;
}
.branch-open-text b{color:var(--ink);font-weight:600}
.branch-open-list{
  display:grid;
  gap:8px;
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid var(--hairline-soft);
  font-size:.845rem;
  line-height:1.8;
  color:var(--muted);
  word-break:keep-all;
}
.branch-open-list li{position:relative;padding-left:16px}
.branch-open-list li::before{
  content:"";
  position:absolute;
  left:0;top:.66em;
  width:6px;height:6px;
  border-radius:50%;
  background:#C9A24A;
}
.branch-open-list b{color:var(--ink);font-weight:600}

/* 브랜드 일관성 안내 — 디자인·컨셉·공통 문구는 협회 본부(회장) 권한 */
.branch-brand-guard{
  margin-top:18px;
  padding:15px 18px;
  border-radius:10px;
  background:#F6F7F4;
  border:1px solid var(--hairline);
  border-left:3px solid var(--forest);
  font-size:.815rem;
  line-height:1.85;
  color:var(--muted);
  word-break:keep-all;
}
.branch-brand-guard b{color:var(--forest-deep);font-weight:700}

/* ── 심플한 시작 띠 ────────────────────────────────────
   2026-11-29 · “처음부터 모든 수업을 열지 않아도 됩니다”
   ① 온라인 설문·편지형 결과지 + ② 지역 참스승 미담 추천부터 가볍게 */
.branch-simple{
  padding:clamp(40px,5vw,64px) 0 clamp(38px,4.6vw,58px);
  background:linear-gradient(180deg,#FFFFFF 0%,var(--cream-3,#FBF6ED) 100%);
  border-bottom:1px solid var(--hairline-soft,rgba(70,54,42,.085));
}
.branch-simple-intro{display:grid;gap:11px;max-width:54em}
.branch-simple-tag{
  justify-self:start;
  display:inline-flex;
  align-items:center;
  padding:4px 12px;
  border-radius:999px;
  background:rgba(78,107,94,.1);
  color:var(--forest-deep,#3B5249);
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.06em;
}
.branch-simple-title{
  font-family:var(--serif);
  font-size:clamp(1.35rem,2.5vw,1.9rem);
  font-weight:500;
  line-height:1.45;
  letter-spacing:-.02em;
  color:var(--ink);
  word-break:keep-all;
}
.branch-simple-lead{
  font-size:.93rem;
  line-height:1.95;
  color:var(--muted);
  word-break:keep-all;
}
.branch-simple-lead b{color:var(--navy,#162B4D);font-weight:700}
.branch-simple-steps{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:clamp(20px,2.6vw,30px);
}
.branch-simple-step{
  display:flex;
  flex-direction:column;
  gap:9px;
  padding:24px 22px;
  background:#FFFFFF;
  border:1px solid var(--line);
  border-radius:14px;
}
.branch-simple-step .step-kicker{
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.1em;
  color:var(--terra-ink,#8A6531);
}
.branch-simple-step h3{
  font-family:var(--serif);
  font-size:1.06rem;
  font-weight:600;
  line-height:1.5;
  color:var(--ink);
}
.branch-simple-step p{font-size:.86rem;line-height:1.88;color:var(--muted);word-break:keep-all}
.branch-simple-step .btn{margin-top:auto;align-self:flex-start}
.branch-simple-auto{
  margin-top:18px;
  padding:16px 18px;
  border-radius:12px;
  background:#F6F7F4;
  border:1px solid var(--hairline,#E5E8EC);
  border-left:3px solid var(--forest,#4E6B5E);
  font-size:.855rem;
  line-height:1.9;
  color:var(--muted);
  word-break:keep-all;
}
.branch-simple-auto b{color:var(--forest-deep,#3B5249);font-weight:700}
@media (max-width:760px){
  .branch-simple-steps{grid-template-columns:minmax(0,1fr)}
  .branch-simple-step .btn{align-self:stretch;justify-content:center}
}

/* “대면상담은 원하실 때 선택” — 흐름 아래 한 줄 */
.branch-quiet-note--choice{
  background:#FFFFFF;
  border-left-color:rgba(78,107,94,.55);
}

/* 협약 후 실운영으로 바뀌면 예시용 안내는 감춥니다. */
.is-live .demo-only{display:none}

/* 정식 지역본부는 이미 문을 연 화면이라 ‘협약 시 개통’ 안내와 그 메뉴를 감춥니다. */
.is-live #start,
.is-live #bp-nav-start,
.is-live #bp-top-nav-start{display:none}

/* 없는 지역 코드 */
.branch-missing{
  padding:clamp(64px,9vw,120px) 0;
  text-align:center;
}
.branch-missing-tag{
  display:inline-block;
  padding:4px 12px;
  border-radius:999px;
  background:rgba(22,43,77,.07);
  color:var(--navy,#162B4D);
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.06em;
}
.branch-missing h1{
  margin:16px 0 12px;
  font-family:var(--serif);
  font-size:clamp(1.5rem,2.6vw,2rem);
  font-weight:500;
  color:var(--ink);
  letter-spacing:-.02em;
}
.branch-missing p{
  max-width:36em;
  margin-inline:auto;
  font-size:.9rem;
  line-height:1.9;
  color:var(--muted);
  word-break:keep-all;
}
.branch-missing-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin-top:24px;
}

/* ── 인쇄 ─────────────────────────────────────────────── */
@media print{
  .demo-bar,.branch-nav,.branch-hero-actions,.consult-actions,.branch-contact-actions{display:none}
  .branch-hero{color:#2C2A29;background:#FFF}
  .branch-hero-veil,.branch-hero-bg{display:none}
  .branch-hero-title .accent{color:#96522F}
  .branch-hero-lead,.branch-hero-facts li{color:#3A3733}
  .branch-hero-facts strong{color:#96522F}
  .branch-hero-facts{border-top-color:rgba(70,54,42,.2)}
  .branch-contact-band{background:#FFF;color:#2C2A29}
  .branch-contact-band p{color:#5E5A56}
  .branch-contact-band h2{color:#2C2A29}
}

/* ── 정식 지역본부: 내부 운영·영업 안내와 중복 버튼 숨김 (2026-11-29) ──
   학부모·방문자에게 보일 필요 없는 ‘가볍게 시작’ 안내와 개통 안내,
   대문·머리글의 중복 설문 버튼은 예시 페이지에서만 보입니다. */
html.is-live #simple,
html.is-live #bp-hero-simple,
html.is-live #bp-top-nav-simple,
html.is-live #bp-nav-survey{display:none !important}

/* ============================================================
   모바일 글씨 크기 상향 — 2026-11-30 (회장 요청)
   지역본부 페이지(템플릿·관악 예시)를 760px 이하에서 읽기 편하게.
   ============================================================ */
@media (max-width:760px){
  /* 머리 띠 · 머리글 */
  .demo-bar-tag{font-size:13px}
  .demo-bar-text,.demo-bar-link{font-size:14px}
  .branch-header .brand-en{font-size:12px;letter-spacing:.08em}
  .branch-nav a{font-size:14.5px}
  .branch-nav .branch-nav-cta{font-size:14.5px}

  /* 대문 */
  .branch-eyebrow{font-size:13.5px}
  .branch-hero-lead{font-size:16px;line-height:1.78}
  .branch-hero-facts li{font-size:14.5px;line-height:1.65}
  .branch-hero-facts strong{font-size:13.5px}

  /* 소개 · 안내 문구 */
  .branch-quiet-note{font-size:15px;line-height:1.8}
  .branch-card-note{font-size:14.5px;line-height:1.7}
  .about-point-no{font-size:13.5px}
  .about-point p{font-size:15.5px;line-height:1.8}
  .branch-fact-list div{font-size:14.5px;line-height:1.7}

  /* 프로그램 */
  .branch-program-no{font-size:13.5px;letter-spacing:.06em}
  .branch-program p{font-size:15.5px;line-height:1.8}
  .branch-program .branch-program-local{font-size:14.5px;line-height:1.75}
  .branch-program .branch-program-local b{font-size:13.5px}

  /* 두 가지 유형 표 — 좁은 화면에서는 카드로 바뀝니다 */
  .model-table{font-size:15px}
  .model-table caption{font-size:14px;line-height:1.65}
  .model-table thead th{font-size:14.5px}
  .model-table thead th span{font-size:13px}
  .model-table thead th.is-a em{font-size:12.5px}
  .model-table tbody th{font-size:14.5px;line-height:1.6}
  .model-table td{font-size:15px;line-height:1.7}
  .model-table td::before{font-size:13.5px}

  /* 상담 카드 */
  .consult-tag{font-size:13px}
  .consult-card > p{font-size:15.5px;line-height:1.8}
  .consult-mail{font-size:14px}
  .consult-list{font-size:15px;line-height:1.75}
  .week-links a{font-size:13.5px}

  /* 진행 순서 */
  .flow-dot{font-size:13.5px}
  .flow-item h4{font-size:16px}
  .flow-item p{font-size:15px;line-height:1.75}
  .start-step .step-kicker,.branch-simple-step .step-kicker{font-size:13px}
  .start-step p{font-size:15.5px;line-height:1.8}
  .branch-simple-step p{font-size:15.5px;line-height:1.82}

  /* 개통 안내 · 심플 시작 */
  .branch-open-tag{font-size:13px}
  .branch-open-text{font-size:15.5px;line-height:1.78}
  .branch-open-list{font-size:14.5px;line-height:1.75}
  .branch-brand-guard{font-size:14px;line-height:1.7}
  .branch-simple-tag{font-size:13px}
  .branch-simple-lead{font-size:16px;line-height:1.78}
  .branch-simple-auto{font-size:15px;line-height:1.75}

  /* 상담 띠 · 바닥 안내 · 없는 코드 */
  .branch-contact-band p{font-size:15.5px;line-height:1.8}
  .demo-foot-note{font-size:14px;line-height:1.7}
  .branch-missing-tag{font-size:13.5px}
  .branch-missing p{font-size:16px;line-height:1.8}
}

/* ============================================================
   2026-11-30 (2) · 본점과 같은 좌우 2열 '네모 사각형 타일' 개편
   · 대문 아래 핵심 바로가기 띠(세 칸)
   · 가볍게 시작 · 지역본부 소개 · 협약 프로그램 · 온라인 결과지 ·
     개통 안내 · 응원 파트너 · 소식 게시판을 접힌 정사각 타일로
   타일 스타일 자체는 style.css 의 .acc-grid 규칙을 그대로 씁니다.
   ============================================================ */

/* ── 핵심 바로가기 — 흰 띠 세 칸 (본점 빠른 메뉴와 같은 결) ── */
.branch-quick{background:#fff}
.branch-quick .quick-panel{display:flex;border-left:1px solid var(--line)}
.branch-quick .quick-item{flex:1 1 0;min-width:0}
.branch-quick .quick-item--village .quick-label{white-space:normal;word-break:keep-all}
@media (max-width:760px){
  .branch-quick .quick-item{
    flex-direction:column;align-items:flex-start;justify-content:flex-start;
    gap:8px;padding:15px 12px;
  }
  .branch-quick .quick-label{font-size:14px;line-height:1.3}
  .branch-quick .quick-sub{display:none}
  .branch-quick .quick-icon{width:32px;height:32px}
  .branch-quick .quick-icon svg{width:16px;height:16px}
}

/* ── 정식 지역본부에서 감춘 타일(가볍게 시작 · 개통 안내 · 초기 응원 파트너) ──
   카드가 display:contents 라 [hidden] 만으로는 접히지 않습니다. */
.acc-grid > .acc-card[hidden]{display:none !important}

/* ── 타일 그리드: 지역본부 페이지 폭에 맞춤 ───────────────── */
.acc-grid{margin-top:clamp(14px,1.8vw,22px)}

/* 패널 안쪽 첫 머리에 숨 쉴 자리 — 대문 아래에서 바로 이어지므로 위 여백을 조금 더 */
.acc-grid > .acc-card > .acc-body .acc-inner{padding-top:clamp(12px,1.6vw,20px)}
.acc-grid > .acc-card > .acc-body .section-head{margin-bottom:clamp(22px,2.8vw,34px)}
/* 패널 안에서는 띠 배경을 두지 않습니다 (타일 톤 위에 그대로) */
.acc-grid > .acc-card > .acc-body .section,
.acc-grid > .acc-card > .acc-body .village{background:none}

/* 개통 안내 · 프로그램처럼 카드 목록이 들어간 패널은 폭을 그대로 씁니다 */
.acc-grid > .acc-card > .acc-body .program-grid{margin-top:0}
.acc-grid > .acc-card > .acc-body .start-steps{margin-top:0}
.acc-grid > .acc-card > .acc-body .consult-grid{margin-top:0}
.acc-grid > .acc-card > .acc-body .flow-list{margin-top:clamp(22px,2.6vw,30px)}
.acc-grid > .acc-card > .acc-body .branch-open-box{margin-top:clamp(20px,2.4vw,28px)}

/* 소식 게시판 타일 — 안쪽 목록이 타일 톤 위에서 읽히도록 */
.acc-grid > .acc-card.branch-board > .acc-body .board-card{background:#fff}
