/* ssaba.xyz 지역 페이지 — 웰니스나우24 톤(다크 슬레이트 + 틸) */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:#0f172a;color:#e2e8f0;
  font-family:system-ui,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  line-height:1.75;-webkit-text-size-adjust:100%}
a{color:#5eead4;text-decoration:none}
a:hover{text-decoration:underline}
.sb-wrap{max-width:1080px;margin:0 auto;padding:0 1rem}

.sb-top{position:sticky;top:0;z-index:20;background:rgba(15,23,42,.94);
  border-bottom:1px solid #1e293b;backdrop-filter:saturate(140%) blur(6px)}
.sb-top-in{display:flex;align-items:center;gap:.9rem;min-height:56px}
@font-face{font-family:'Kaushan Script';font-style:normal;font-weight:400;font-display:swap;
  src:url('/font/KaushanScript.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2122}
/* 로고 — 영문 흘림체. 스크립트체는 x-height 가 낮아 본문보다 크게 잡아야 균형이 맞는다 */
.sb-logo{font-family:'Kaushan Script',cursive;font-size:1.72rem;line-height:1;
  letter-spacing:.005em;padding:.1rem .05rem .3rem;white-space:nowrap;
  background:linear-gradient(95deg,#5eead4 0%,#2dd4bf 55%,#14b8a6 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent}
.sb-logo:hover{text-decoration:none;filter:brightness(1.12)}
.sb-crumb{color:#94a3b8;font-size:.86rem}
.sb-tel{margin-left:auto;background:#14b8a6;color:#04211d;font-weight:800;
  padding:.42rem .8rem;border-radius:999px;font-size:.9rem;white-space:nowrap}
.sb-tel:hover{text-decoration:none;background:#2dd4bf}

.sb-hero{padding:2.2rem 0 1.4rem;border-bottom:1px solid #1e293b}
.sb-hero h1{font-size:1.6rem;line-height:1.35;margin:0 0 .6rem;color:#f8fafc;letter-spacing:-.02em}
.sb-hero p{margin:0;color:#cbd5e1;font-size:.98rem}
.sb-stat{display:flex;gap:1.4rem;margin-top:1rem;flex-wrap:wrap}
.sb-stat b{display:block;font-size:1.25rem;color:#5eead4}
.sb-stat span{font-size:.82rem;color:#94a3b8}

section{padding:1.8rem 0;border-bottom:1px solid #1e293b}
h2{font-size:1.18rem;margin:0 0 .9rem;color:#f1f5f9;letter-spacing:-.01em}
.sb-lead{color:#cbd5e1;margin:0 0 1rem;max-width:44rem}

.sb-cards{display:grid;gap:.8rem;grid-template-columns:repeat(auto-fill,minmax(258px,1fr))}
.sb-card{background:#1e293b;border:1px solid #334155;border-radius:12px;padding:.95rem}
.sb-card-t{margin:0 0 .3rem;font-size:1rem;color:#f8fafc}
.sb-card-a{margin:0 0 .45rem;font-size:.82rem;color:#5eead4}
.sb-card-d{margin:0 0 .8rem;font-size:.88rem;color:#94a3b8;min-height:2.6em}
.sb-card-btn{display:inline-block;background:#14b8a6;color:#04211d;font-weight:700;
  padding:.36rem .8rem;border-radius:8px;font-size:.86rem}
.sb-card-btn:hover{text-decoration:none;background:#2dd4bf}

.sb-chips{display:flex;flex-wrap:wrap;gap:.4rem}
.sb-chips a{background:#1e293b;border:1px solid #334155;border-radius:999px;
  padding:.34rem .74rem;font-size:.88rem;color:#cbd5e1}
.sb-chips a:hover{text-decoration:none;border-color:#14b8a6;color:#5eead4}

.sb-course{width:100%;border-collapse:collapse;font-size:.92rem;max-width:32rem}
.sb-course th,.sb-course td{border-bottom:1px solid #334155;padding:.55rem .4rem;text-align:left}
.sb-course th{color:#94a3b8;font-weight:600}
.sb-course td:last-child{text-align:right;color:#5eead4;font-weight:700}

.sb-foot{padding:1.8rem 0 2.6rem;color:#94a3b8;font-size:.88rem}
.sb-foot-b{font-family:'Kaushan Script',cursive;font-size:1.5rem;line-height:1.1;
  color:#5eead4;font-weight:400;margin:0 0 .5rem}

/* ── 내부링크 블록 ─────────────────────────────────────────
   ★칩만 잔뜩 늘어놓으면 링크 더미로 보인다. 제목+설명 한 줄을 붙여
     사람이 고를 수 있는 목록으로 만든다. */
.sb-read,.sb-golocal{margin-top:2.2rem}
.sb-readlist{list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:.55rem}
.sb-readlist a{display:block;padding:.85rem 1rem;border:1px solid #1e293b;border-radius:.7rem;
  background:#111c33;transition:border-color .15s,background .15s}
.sb-readlist a:hover{border-color:#14b8a6;background:#132238;text-decoration:none}
.sb-read-t{display:block;color:#e2e8f0;font-weight:700;font-size:.97rem;line-height:1.45}
.sb-read-d{display:block;margin-top:.22rem;color:#94a3b8;font-size:.84rem;line-height:1.5}
.sb-readlist a:hover .sb-read-t{color:#5eead4}

.sb-golist{list-style:none;margin:1rem 0 0;padding:0;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:.5rem}
.sb-golist a{display:block;padding:.7rem .9rem;border:1px solid #1e293b;border-radius:.7rem;
  background:#111c33;color:#cbd5e1;font-size:.9rem;font-weight:600;line-height:1.45;
  transition:border-color .15s,color .15s}
.sb-golist a:hover{border-color:#14b8a6;color:#5eead4;text-decoration:none}
.sb-golist-more{margin:.9rem 0 0;font-size:.92rem;font-weight:700}

/* FAQ */
.sb-faq{margin:1rem 0 0}
.sb-faq dt{margin-top:1rem;color:#f1f5f9;font-weight:700;font-size:.98rem;line-height:1.5}
.sb-faq dt:first-child{margin-top:0}
.sb-faq dd{margin:.35rem 0 0;color:#cbd5e1;font-size:.93rem;line-height:1.75}

/* ── 하단 고정 전화 버튼(지역 페이지) ───────────────────────────
   ★스페이서가 바와 같은 높이를 차지해 푸터 마지막 줄이 가려지지 않게 한다. */
.sb-cta-sp{height:64px;height:calc(64px + env(safe-area-inset-bottom))}
.sb-cta{position:fixed;left:0;right:0;bottom:0;z-index:60;
  background:rgba(15,23,42,.97);border-top:1px solid #1e293b;
  backdrop-filter:saturate(140%) blur(8px);
  padding-bottom:env(safe-area-inset-bottom);
  box-shadow:0 -6px 20px rgba(0,0,0,.35)}
.sb-cta-in{display:flex;align-items:center;gap:.8rem;min-height:64px}
.sb-cta-t{display:flex;flex-direction:column;line-height:1.25;
  font-size:.94rem;font-weight:700;color:#f1f5f9;min-width:0}
.sb-cta-t b{font-weight:500;font-size:.74rem;color:#94a3b8;letter-spacing:-.01em}
.sb-cta-b{margin-left:auto;flex:none;background:#14b8a6;color:#04211d;font-weight:800;
  font-size:1rem;letter-spacing:-.01em;padding:.66rem 1.05rem;border-radius:999px;
  white-space:nowrap;transition:background .15s}
.sb-cta-b:hover{text-decoration:none;background:#2dd4bf}
.sb-cta-b:active{transform:translateY(1px)}
@media (max-width:420px){
  .sb-cta-t{font-size:.86rem}
  .sb-cta-b{font-size:.94rem;padding:.6rem .85rem}
}
.sb-foot p{margin:.28rem 0}
.sb-foot-s{font-size:.8rem;color:#64748b;max-width:46rem}

@media (max-width:520px){
  .sb-hero h1{font-size:1.34rem}
  .sb-tel{font-size:.84rem;padding:.36rem .68rem}
}

/* ── 웹진(매거진) ─────────────────────────────── */
.sb-zcards{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(268px,1fr))}
.sb-zcards.is-big{grid-template-columns:repeat(auto-fill,minmax(310px,1fr))}
.sb-zcard{background:#1e293b;border:1px solid #334155;border-radius:14px;overflow:hidden;
  display:flex;flex-direction:column}
.sb-zthumb{display:block;aspect-ratio:16/9;background:#0b1220;overflow:hidden}
.sb-zthumb img{width:100%;height:100%;object-fit:cover;display:block}
.sb-zbody{padding:.85rem .95rem 1rem;display:flex;flex-direction:column;gap:.35rem;flex:1}
.sb-zcat{font-size:.76rem;color:#5eead4;font-weight:700;letter-spacing:.02em}
.sb-zcat a{color:#5eead4}
.sb-zcard h3{margin:0;font-size:1.02rem;line-height:1.45}
.sb-zcard h3 a{color:#f8fafc}
.sb-zcard p{margin:0;color:#94a3b8;font-size:.88rem;flex:1}
.sb-zdate{font-size:.76rem;color:#64748b}

/* ══ 글 상세 — 읽기 화면 ══════════════════════════════════
   ★본문 가로폭은 42~46rem 을 넘기지 않는다. 한 줄이 길면 눈이 다음 줄 첫 글자를 못 찾는다. */
.sb-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:70;background:transparent;
  pointer-events:none}
.sb-progress i{display:block;height:100%;width:0;
  background:linear-gradient(90deg,#14b8a6,#5eead4);transition:width .08s linear}

.sb-article{max-width:44rem;padding-top:1.4rem;padding-bottom:1rem}

.sb-crumbs{display:flex;align-items:center;gap:.42rem;flex-wrap:wrap;
  font-size:.8rem;color:#64748b;margin:0 0 1.5rem}
.sb-crumbs a{color:#94a3b8}
.sb-crumbs a:hover{color:#5eead4;text-decoration:none}
.sb-crumbs span{color:#334155}

.sb-ahead{margin:0 0 2rem}
.sb-apill{display:inline-block;font-size:.74rem;font-weight:800;letter-spacing:.04em;
  padding:.32rem .72rem;border-radius:999px;color:#0f172a;background:#5eead4}
.sb-apill:hover{text-decoration:none;background:#2dd4bf}
.sb-ahead h1{font-size:2rem;line-height:1.32;margin:1rem 0 0;color:#f8fafc;
  letter-spacing:-.035em;font-weight:800;word-break:keep-all}
.sb-adeck{margin:.95rem 0 0;color:#94a3b8;font-size:1.06rem;line-height:1.72;
  word-break:keep-all;border-left:2px solid #14b8a6;padding-left:.95rem}
.sb-ameta{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;
  margin-top:1.5rem;padding-top:1.1rem;border-top:1px solid #1e293b;
  font-size:.84rem;color:#64748b}
.sb-aavatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;
  background:linear-gradient(135deg,#14b8a6,#0d9488);color:#04211d;
  font-family:'Kaushan Script',cursive;font-size:1.05rem;line-height:1;padding-bottom:2px}
.sb-aauthor{color:#cbd5e1;font-weight:700}
.sb-adot{width:3px;height:3px;border-radius:50%;background:#334155}
.sb-aread{color:#5eead4;font-weight:600}

/* 목차 */
.sb-toc{margin:0 0 2.2rem;padding:1.15rem 1.3rem;border:1px solid #1e293b;border-radius:.9rem;
  background:#111c33}
.sb-toc-h{margin:0 0 .7rem;font-size:.78rem;font-weight:800;letter-spacing:.06em;color:#64748b}
.sb-toc ol{margin:0;padding:0;list-style:none;counter-reset:toc}
.sb-toc li{counter-increment:toc;margin-top:.42rem}
.sb-toc li:first-child{margin-top:0}
.sb-toc a{display:flex;gap:.6rem;color:#cbd5e1;font-size:.93rem;line-height:1.55;word-break:keep-all}
.sb-toc a::before{content:counter(toc);flex:none;width:1.35rem;color:#475569;
  font-variant-numeric:tabular-nums;font-weight:700}
.sb-toc a:hover{color:#5eead4;text-decoration:none}
.sb-toc a:hover::before{color:#14b8a6}

/* 본문 */
.sb-prose{font-size:1.06rem;line-height:1.9;color:#cbd5e1;letter-spacing:-.003em}
.sb-prose>p:first-of-type{font-size:1.12rem;color:#e2e8f0}
.sb-prose h2{position:relative;scroll-margin-top:5rem;
  font-size:1.32rem;line-height:1.45;font-weight:800;letter-spacing:-.028em;
  margin:3rem 0 1rem;padding-left:.85rem;color:#f8fafc;word-break:keep-all}
.sb-prose h2::before{content:"";position:absolute;left:0;top:.22em;bottom:.22em;width:3px;
  border-radius:2px;background:linear-gradient(#5eead4,#14b8a6)}
.sb-prose h3{font-size:1.08rem;font-weight:700;margin:2rem 0 .7rem;color:#e2e8f0}
.sb-prose p{margin:0 0 1.35rem;word-break:keep-all}
.sb-prose strong{color:#f8fafc;font-weight:700;
  background:linear-gradient(transparent 62%,rgba(20,184,166,.24) 0)}
.sb-prose a{color:#5eead4;text-decoration:underline;text-decoration-color:rgba(94,234,212,.4);
  text-underline-offset:3px;text-decoration-thickness:1px}
.sb-prose a:hover{text-decoration-color:#5eead4}
.sb-prose img{width:100%;height:auto;border-radius:.9rem;margin:2rem 0;display:block;
  border:1px solid #1e293b}
.sb-prose ul,.sb-prose ol{margin:0 0 1.35rem;padding-left:1.3rem}
.sb-prose li{margin-bottom:.5rem}
.sb-prose li::marker{color:#14b8a6}
.sb-prose blockquote{margin:1.8rem 0;padding:1rem 1.25rem;border-left:3px solid #14b8a6;
  border-radius:0 .6rem .6rem 0;background:#111c33;color:#e2e8f0}
.sb-prose blockquote p:last-child{margin-bottom:0}
.sb-prose table{width:100%;border-collapse:collapse;margin:1.8rem 0;font-size:.95rem}
.sb-prose th,.sb-prose td{padding:.7rem .8rem;border-bottom:1px solid #1e293b;text-align:left}
.sb-prose th{color:#94a3b8;font-size:.82rem;font-weight:700;letter-spacing:.02em}

.sb-aend{height:1px;margin:2.6rem 0 0;
  background:linear-gradient(90deg,#14b8a6,transparent)}

@media (max-width:600px){
  .sb-ahead h1{font-size:1.6rem}
  .sb-adeck{font-size:1rem}
  .sb-prose{font-size:1.02rem;line-height:1.85}
  .sb-prose>p:first-of-type{font-size:1.06rem}
  .sb-prose h2{font-size:1.2rem;margin:2.4rem 0 .9rem}
}
.sb-card-t a{color:#f8fafc}
.sb-card-tel{display:inline-block;margin-left:.4rem;border:1px solid #334155;border-radius:8px;
  padding:.34rem .7rem;font-size:.84rem;color:#cbd5e1}
.sb-card-tel:hover{text-decoration:none;border-color:#14b8a6;color:#5eead4}
