/* =========================================================
   유당한의원 홈페이지 (허리 협착증·디스크 한방진료)
   레이아웃·디자인: 레퍼런스 랜딩페이지 디자인을 그대로 사용
   ========================================================= */
:root{
  --brand:#4B61B1;          /* PRIMARY BLUE */
  --brand-dark:#2E4FA3;     /* ACCENT BLUE (CTA·링크) */
  --brand-deep:#233C91;     /* DEEP BLUE (배너·강조) */
  --tint:#EAEDF7;
  --tint2:#F2F3F5;
  --yellow:#C9D2F2;         /* 다크 배경 위 강조: 팔레트 블루의 연한 톤 (노란색 미사용) */
  --orange:#4B61B1;         /* 도트 활성: PRIMARY BLUE */
  --red:#e0362c;
  --text:#3A3A3D;           /* CHARCOAL */
  --gray:#74767B;           /* MID GRAY */
  --line:#dddddd;
  --bg:#F2F3F5;             /* LIGHT GRAY */
  --font:'Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic',sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--font);font-size:15px;color:var(--text);background:#fff;line-height:1.5;letter-spacing:-.02em;word-break:keep-all}
img{max-width:100%;height:auto;vertical-align:top;border:0}
a{color:inherit;text-decoration:none}
ul,ol{margin:0;padding:0;list-style:none}
h1,h2,h3,h4,p,dl,dd,figure{margin:0}
button{font-family:inherit;cursor:pointer}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.inner{max-width:1240px;margin:0 auto}
.row{margin:0 auto;max-width:1000px;padding:0 15px}
.row.wide{max-width:1240px}
.sp100{display:block;height:100px}
.sp60{display:block;height:60px}
.sp40{display:block;height:40px}
.sp20{display:block;height:20px}
em{font-style:normal}

/* ---------- 상단 유틸 (.gnb_p) ---------- */
.gnb_p{padding:5px 0;border-bottom:1px solid var(--line);background:var(--bg);font-size:0;text-align:right}
.gnb_p .inner{padding:0 15px}
.gnb_p ul{display:inline-block}
.gnb_p ul li{display:inline-block}
.gnb_p ul li a{display:inline-block;height:30px;line-height:30px;margin-left:30px;font-size:16px;font-weight:700;color:#74767B;transition:color .2s}
.gnb_p ul li a:hover{color:var(--brand)}
.gnb_p ul li.top_tel a{color:var(--brand)}

/* ---------- 헤더 / GNB ---------- */
#header{position:sticky;top:0;z-index:1000;border-bottom:1px solid var(--line);background:#fff}
#header .inner{position:relative;height:88px;display:flex;align-items:center;padding:0 15px}
#header .logo{flex:0 0 auto;padding:0 10px}
#header .logo a{display:flex;align-items:flex-end;gap:12px}
#header .logo img{height:28px;width:auto}
#header .logo .logo-sub{font-size:16px;font-weight:500;color:#233C91;letter-spacing:-.02em;padding-left:10px;border-left:1px solid #c5cde8;line-height:1;padding-bottom:2px}
.lnb{margin-left:auto}
.lnb .dep1{display:flex}
.lnb .dep1 > li{position:relative}
.lnb .dep1 > li > a{display:block;height:88px;line-height:88px;padding:0 15px;font-size:17px;font-weight:700;color:#3A3A3D;white-space:nowrap;transition:color .2s}
.lnb .dep1 > li:hover > a, .lnb .dep1 > li.on > a{color:var(--brand)}
.lnb .dep2{position:absolute;top:88px;left:0;min-width:190px;padding:8px 0;border:1px solid var(--line);border-top:2px solid var(--brand);background:#fff;opacity:0;visibility:hidden;transition:opacity .2s}
.lnb .dep1 > li:hover .dep2, .lnb .dep1 > li:focus-within .dep2{opacity:1;visibility:visible}
.lnb .dep2 a{display:block;padding:8px 16px;font-size:14px;color:#4a4a4e}
.lnb .dep2 a:hover{background:var(--tint);color:var(--brand)}
#toggle_right{display:none;position:absolute;right:12px;top:0;bottom:0;margin:auto;width:44px;height:44px;border:0;background:none}
#toggle_right span,#toggle_right span::before,#toggle_right span::after{content:'';position:absolute;left:10px;width:24px;height:3px;background:var(--brand);transition:.2s}
#toggle_right span{top:20px}#toggle_right span::before{top:-8px;left:0}#toggle_right span::after{top:8px;left:0}
#toggle_right.on span{background:transparent}
#toggle_right.on span::before{top:0;transform:rotate(45deg)}#toggle_right.on span::after{top:0;transform:rotate(-45deg)}

/* ---------- 메인 비주얼 (헤드카피 + 의료진 배경 이미지, 그라데이션 없음) ---------- */
.hero{position:relative;width:100%;background:#fff url('../images/hero-lobby.webp') center/cover no-repeat;text-align:center;overflow:hidden}
.hero::before{content:'';position:absolute;inset:0;background:rgba(20,28,60,.18)}
.hero .copy{position:relative;z-index:2;max-width:960px;margin:44px auto 0;padding:34px 40px 30px;background:rgba(255,255,255,.3);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:22px;box-shadow:0 10px 30px rgba(35,60,145,.10)}
.hero .eyebrow{display:inline-block;font-size:14px;font-weight:700;color:#233C91;letter-spacing:.02em;border:1.5px solid #233C91;border-radius:16px;padding:4px 14px;margin-bottom:14px;background:transparent}
.hero h1{font-size:40px;font-weight:900;color:#233C91;line-height:1.28;letter-spacing:-.04em}
.hero h1 em{color:var(--brand)}
.hero .desc{margin-top:14px;font-size:15.5px;color:#3A3A3D;line-height:1.7}
.hero .tel{margin-top:14px;font-size:14px;color:#3A3A3D}
.hero .tel strong{font-size:22px;color:var(--brand);margin-left:6px;letter-spacing:.02em}
.hero .team-wrap{position:relative;z-index:1;height:380px;margin-top:14px;background:url('../images/hero-team.webp') center top/1120px auto no-repeat}
.hero .team{display:none}

/* ---------- 섹션 큰 제목 (참고 사이트 타이틀 이미지 스타일) ---------- */
.ttl{text-align:center}
.ttl h2{font-size:38px;font-weight:900;color:#3A3A3D;line-height:1.25;letter-spacing:-.04em}
.ttl h2 em{color:var(--brand)}
.ttl .line2{display:flex;justify-content:center;align-items:center;gap:10px;font-size:34px;font-weight:900;color:var(--brand);letter-spacing:-.04em;margin-top:4px}
.ttl .yt{display:inline-flex;align-items:center;gap:6px;font-size:28px;color:#3A3A3D}
.ttl .yt i{display:inline-block;width:38px;height:27px;border-radius:7px;background:#e62117;position:relative}
.ttl .yt i::after{content:'';position:absolute;left:15px;top:7px;border-left:11px solid #fff;border-top:6.5px solid transparent;border-bottom:6.5px solid transparent}
.ttl .sub{margin-top:16px;font-size:16px;color:#666}
.ttl.white h2{color:#fff}.ttl.white h2 em{color:var(--yellow)}.ttl.white .sub{color:#c9d2f2}

/* ---------- 유튜브 영역 (참고 사이트 CSS 동일) ---------- */
.youtube-wrap{display:flex;gap:30px;max-width:1240px;margin:0 auto;align-items:flex-start;padding:0 15px}
.youtube-main{flex:1;position:relative;padding-top:40.1%;overflow:hidden;border-radius:10px;background:#000}
.youtube-main iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.yt-poster{position:absolute;inset:0;display:block}
.yt-poster img{width:100%;height:100%;object-fit:cover}
.yt-poster .play{position:absolute;left:50%;top:50%;width:84px;height:60px;margin:-30px 0 0 -42px;border-radius:16px;background:#e62117;box-shadow:0 8px 24px rgba(0,0,0,.35);transition:.2s}
.yt-poster .play::after{content:"";position:absolute;left:34px;top:18px;border-left:22px solid #fff;border-top:12px solid transparent;border-bottom:12px solid transparent}
.yt-poster:hover .play{transform:scale(1.08)}
.youtube-side{width:340px;position:relative;padding-bottom:25px}
.youtube-list li{display:none;margin-bottom:16px}
.yt-link{display:block;color:inherit;cursor:pointer}
.yt-link img{width:100%;border-radius:8px;display:block;aspect-ratio:16/9;object-fit:cover}
.yt-link span{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4;max-height:1.4em;margin-top:6px;font-size:16px}
.list-arrow{position:absolute;bottom:0;width:32px;height:32px;border-radius:50%;background:rgba(0,0,0,.55);border:none;cursor:pointer;z-index:10}
.list-arrow.prev{right:44px}.list-arrow.next{right:0}
.list-arrow::before{content:'';width:8px;height:8px;border-top:2px solid #fff;border-right:2px solid #fff;display:block;margin:auto}
.list-arrow.prev::before{transform:rotate(-135deg)}.list-arrow.next::before{transform:rotate(45deg)}
.list-arrow:disabled{opacity:.3;cursor:default}

/* ---------- 안면마비 바로알기 (텍스트 정보 · SEO/AEO) ---------- */
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.ttl-sm{display:inline-block;position:relative;padding-left:14px;font-size:22px;font-weight:700;color:#3A3A3D;margin-bottom:18px}
.ttl-sm::before{content:'';position:absolute;left:0;top:16%;width:4px;height:20px;background:var(--brand)}
.answer{border:1px solid var(--line);border-left:4px solid var(--brand);background:var(--tint2);padding:20px 22px;font-size:15.5px;line-height:1.75}
.answer strong{color:var(--brand)}
.checks{margin-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}
.checks li{position:relative;padding-left:26px;font-size:15px;line-height:1.5}
.checks li::before{content:'✔';position:absolute;left:0;top:0;color:var(--brand);font-size:14px}
.quotes{margin-top:16px;border-top:1px solid var(--line)}
.quotes li{padding:10px 0;border-bottom:1px solid var(--line);font-size:14.5px;color:#5a5b60}
.quotes li::before{content:'“';color:var(--brand);font-weight:900;margin-right:6px}
.note{margin-top:12px;font-size:13px;color:#74767B;line-height:1.6}
.table-wrap{overflow-x:auto}
table.cmp{width:100%;border-collapse:collapse;font-size:14.5px;min-width:520px;border-top:2px solid var(--brand)}
table.cmp th,table.cmp td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;line-height:1.55}
table.cmp thead th{background:var(--tint);color:#3A3A3D;font-weight:700;text-align:center}
table.cmp tbody th{background:#fafafa;font-weight:700;width:120px;white-space:nowrap}
table.cmp .warn{color:var(--red);font-weight:700}
.alert{margin-top:18px;background:var(--red);color:#fff;padding:14px 18px;font-size:14.5px;line-height:1.6}
.alert strong{background:#fff;color:var(--red);padding:2px 8px;margin-right:8px;font-size:13px}
.alert a{text-decoration:underline;font-weight:700}

/* ---------- 이미지 슬라이드 (갤러리형) - 참고 사이트 #__147634__ 재현 ---------- */
.gallery-wrap{position:relative;max-width:1240px;margin:0 auto;padding:0 15px}
.ggm_sub{position:absolute;top:0;left:15px;width:400px;height:122px;background:var(--brand);color:#fff;padding:24px 28px;z-index:2;overflow:hidden}
.ggm_sub::after{content:'유';position:absolute;right:10px;top:22px;width:80px;height:80px;border:2px solid rgba(255,255,255,.14);border-radius:50%;font-size:40px;font-weight:900;color:rgba(255,255,255,.12);text-align:center;line-height:78px}
.ggm_sub p{font-size:15px;color:#dfe5f7}
.ggm_sub strong{display:block;font-size:21px;font-weight:900;margin-top:4px;letter-spacing:-.03em;position:relative;z-index:1}
.gallery{display:flex;align-items:flex-start}
.slide_thum{width:400px;margin-top:122px;height:492px;display:grid;grid-template-columns:1fr;grid-template-rows:repeat(6,1fr);gap:1px;background:#fff;flex:0 0 auto}
.slide_thum button{display:block;width:100%;height:100%;padding:0 30px;border:0;background:#e5e5e5;font-size:20px;font-weight:700;color:#333;text-align:center;transition:.2s;font-family:inherit}
.slide_thum button:hover{background:#d8dce6}
.slide_thum button.active{background:var(--brand);color:#fff}
.slide_img{position:relative;width:840px;flex:0 0 auto}
.slide_img .item{display:none}
.slide_img .item.active{display:block}
.slide_img .owl-nav{position:absolute;right:30px;top:20px;z-index:3;display:flex}
.slide_img .owl-nav button{width:30px;height:30px;margin-left:1px;border:1px solid #aaa;background:#030c1d;color:#aaa;font-size:14px;font-weight:700;line-height:28px;padding:0}
.slide_img .owl-nav button:hover{color:#fff}

/* 배너 (참고 사이트 디자인 배너 이미지를 HTML/CSS로 구성) 840x614 */
.banner{position:relative;width:100%;height:614px;overflow:hidden;background:#fff}
.banner .bh{font-size:34px;font-weight:900;color:#3A3A3D;line-height:1.28;letter-spacing:-.04em}
.banner .bh em{color:var(--brand)}
.banner .bh .big{font-size:44px;color:var(--brand)}
.banner .bp{margin-top:12px;font-size:14px;color:#5a5b60;line-height:1.7}
.banner .logo-mark{position:absolute;right:110px;top:24px;height:24px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips li{background:transparent;border:1px solid #b9c3e3;color:#333;font-size:13.5px;padding:7px 14px;border-radius:20px;font-weight:700}
.chips.dark li{background:var(--brand);border-color:var(--brand);color:#fff}
/* b1 네트워크 */
.b1{background:linear-gradient(135deg,#eef2fb 0%,#f8fafd 60%,#fff 100%);padding:44px 40px 0}
.b1 .txt{width:420px}
.b1 .bh{font-size:31px}
.b1 .chips{margin-top:24px;flex-direction:column;align-items:flex-start}
.b1 .chart{position:absolute;right:40px;bottom:96px;width:330px;height:300px;border-bottom:1px solid #c8cfe6;display:flex;align-items:flex-end;justify-content:space-between;gap:14px}
.b1 .bar{flex:1;text-align:center;display:flex;flex-direction:column;justify-content:flex-end;height:100%}
.b1 .bar i{display:block;background:#b7c2e6;border-radius:4px 4px 0 0}
.b1 .bar.hi i{background:var(--brand)}
.b1 .bar b{display:block;font-size:14px;color:var(--brand);margin-bottom:6px}
.b1 .bar span{display:block;font-size:13px;color:#5a5b60;margin-top:8px;font-weight:700}
.b1 .net{position:absolute;right:36px;top:64px;width:300px;display:grid;gap:6px}
.b1 .strip{position:absolute;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;height:196px;padding:0 4px 4px}
.b1 .strip figure{position:relative;overflow:hidden}
.b1 .strip img{width:100%;height:100%;object-fit:cover}
.b1 .strip figcaption{position:absolute;left:0;right:0;bottom:0;background:rgba(75,97,177,.85);color:#fff;font-size:13px;font-weight:700;text-align:center;padding:6px 4px}
.b1 .net li{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:8px;border:1px solid #b9c3e3;border-radius:6px;padding:8px 12px;font-size:12.5px;background:transparent}
.b1 .net li b{font-size:15px;color:var(--brand)}
.b1 .net li span{color:#74767B}
.b1 .net li em{text-align:right;color:#4a4a4e}
/* b2 협진 */
.b2{padding:44px 40px 0}
.b2 .txt{width:470px}
.b2 .chips{margin-top:20px;width:480px}
.b2 .doc{position:absolute;right:0;top:0;width:330px;height:390px;object-fit:cover;object-position:top;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 25%);mask-image:linear-gradient(90deg,transparent 0,#000 25%)}
.b2 .strip{position:absolute;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;height:214px;padding:0 4px 4px}
.b2 .strip figure{position:relative;overflow:hidden}
.b2 .strip img{width:100%;height:100%;object-fit:cover}
.b2 .strip figcaption{position:absolute;left:0;right:0;bottom:0;background:rgba(75,97,177,.85);color:#fff;font-size:13px;text-align:center;padding:6px 4px}
/* b3 치료법 (다크) */
.b3{background:var(--brand-deep) url('../images/bg-pattern.webp') center/cover;color:#fff;padding:44px 40px 40px;text-align:center}
.b3 .bh{color:#fff}.b3 .bh em{color:var(--yellow)}
.b3 .bp{color:#cfd6f0}
.b3 .grid{margin-top:26px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.b3 .grid figure{position:relative;height:190px;overflow:hidden;border-radius:6px}
.b3 .grid img{width:100%;height:100%;object-fit:cover}
.b3 .grid figcaption{position:absolute;left:0;right:0;bottom:0;background:rgba(75,97,177,.92);color:#fff;font-size:15px;font-weight:700;text-align:center;padding:8px}
/* b4 입원 */
.b4{background:linear-gradient(180deg,#eef2fb,#fff 60%);padding:44px 40px 0}
.b4 .txt{width:520px}
.b4 .txt{width:100%}
.b4 .feat{margin-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}
.b4 .feat li{position:relative;padding-left:20px;font-size:14px;color:#4a4a4e;line-height:1.55}
.b4 .feat li::before{content:"✔";position:absolute;left:0;top:0;color:var(--brand);font-size:12px}
.b4 .grid{position:absolute;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:0 4px 4px;height:250px}
.b4 .grid figure{position:relative;overflow:hidden}
.b4 .grid img{width:100%;height:100%;object-fit:cover}
.b4 .grid figcaption{position:absolute;left:0;right:0;bottom:0;background:rgba(75,97,177,.88);color:#fff;font-size:13.5px;font-weight:700;text-align:center;padding:7px}
/* b5 단계별 (사진 배경) */
.b5{background:#222 url('../images/gal-05-care.webp') center/cover;padding:44px 40px 40px;color:#fff}
.b5::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,30,70,.7),rgba(20,30,70,.85))}
.b5 > *{position:relative}
.b5 .bh{color:#fff}.b5 .bh em{color:var(--yellow)}
.b5 .bp{color:#dfe5f7}
.b5 .steps{margin-top:26px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.b5 .steps li{background:rgba(255,255,255,.94);color:#333;border-radius:6px;padding:18px 16px;min-height:250px}
.b5 .steps b{display:block;font-size:20px;color:var(--brand);margin-bottom:2px}
.b5 .steps small{display:block;font-size:12.5px;color:#74767B;margin-bottom:10px}
.b5 .steps p{font-size:13.5px;line-height:1.6;color:#4a4a4e;position:relative;padding-left:10px}
.b5 .steps p::before{content:'·';position:absolute;left:0}
/* b6 의료진 */
.b6{display:flex;background:linear-gradient(90deg,#fff 0,#fff 45%,#eef2fb 100%)}
.b6 .doc{width:340px;height:614px;object-fit:cover;object-position:top;flex:0 0 auto}
.b6 .txt{padding:50px 36px}
.b6 .role{font-size:13px;font-weight:700;color:var(--brand);letter-spacing:.1em}
.b6 .name{font-size:36px;font-weight:900;color:#3A3A3D;margin-top:4px}
.b6 .name small{font-size:16px;font-weight:700;color:#666;margin-left:8px}
.b6 .chips{margin:16px 0 18px}
.b6 dl{display:grid;grid-template-columns:76px 1fr;gap:8px 10px;font-size:14px;line-height:1.6}
.b6 dt{font-weight:700;color:var(--brand)}
.b6 .links{margin-top:16px;display:flex;flex-wrap:wrap;gap:6px}
.b6 .links a{font-size:12.5px;font-weight:700;color:var(--brand);border:1px solid var(--brand);padding:5px 10px;border-radius:14px}

/* b7 눈 보호·자가관리 */
.b7{background:linear-gradient(135deg,#eef2fb 0%,#f8fafd 60%,#fff 100%);padding:40px 40px 130px;min-height:614px}
.b7 .txt{width:440px;min-height:150px}
.b7 .tips{position:static;margin-top:26px;display:grid;grid-template-columns:1fr 1fr;gap:30px}
.b7 .strip{position:absolute;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;height:118px;padding:0 4px 4px}
.b7 .strip figure{position:relative;overflow:hidden}
.b7 .strip img{width:100%;height:100%;object-fit:cover}
.b7 .strip figcaption{position:absolute;left:0;right:0;bottom:0;background:rgba(75,97,177,.85);color:#fff;font-size:13px;font-weight:700;text-align:center;padding:6px 4px}
.b7 .tips h4{font-size:15px;font-weight:800;color:var(--brand);margin:0 0 10px;padding-bottom:8px;border-bottom:2px solid var(--brand);display:inline-block}
.b7 .tips ol{counter-reset:t;display:grid;gap:8px}
.b7 .tips li{counter-increment:t;position:relative;padding-left:28px;font-size:13px;line-height:1.5;color:#4a4a4e}
.b7 .tips li::before{content:counter(t);position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;background:var(--brand);color:#fff;font-size:11px;font-weight:700;text-align:center;line-height:20px}
.b7 .ph{position:absolute;right:40px;top:64px;width:300px;height:140px;object-fit:cover;border-radius:8px}

/* ---------- 다크 패턴 섹션 (최근 게시글 슬라이드 재현) ---------- */
.dark-sec{background:var(--brand-deep) url('../images/bg-pattern.webp') center center repeat;color:#fff}
.dark-sec .row{max-width:1240px}
.ttl-left{display:inline-block;position:relative;padding-left:14px;font-size:20px;font-weight:700;color:#fff;line-height:1.4}
.ttl-left::before{content:'';position:absolute;left:0;top:16%;width:4px;height:20px;background:#fff}
.ttl-left small{font-size:14px;font-weight:400;color:#c9d2f2;margin-left:10px}
.bslide{position:relative}
.bslide .viewport{overflow:hidden}
.bslide .track{display:flex;transition:transform .5s ease;will-change:transform}
.bslide .item{flex:0 0 auto;padding:0 10px;text-align:center}
.bslide .item img{width:100%;display:block;background:#fff}
.bslide .item .txt_subject{display:block;padding:11px 0;font-size:16px;font-weight:700;color:var(--yellow);line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bslide .item a{display:block}
.bslide .owl-nav button{position:absolute;top:50%;z-index:2;width:52px;height:52px;margin-top:-46px;border:0;border-radius:50%;background:#000;color:#fff;font-size:26px;line-height:52px;padding:0;opacity:.7}
.bslide .owl-nav button:hover{opacity:1}
.bslide .owl-nav .prev{left:5px}.bslide .owl-nav .next{right:5px}
.bslide .owl-dots{margin-top:20px;padding:10px;text-align:center;font-size:0}
.bslide .owl-dots button{display:inline-block;width:35px;height:3px;margin:0 4px;border:0;padding:0;background:#ccc}
.bslide .owl-dots button.active{background:var(--orange)}
.bslide.land .item .txt_subject{white-space:normal}
.fac-tabs{display:flex;gap:2px;max-width:1000px;margin:0 auto}
.fac-tabs button{flex:1;height:52px;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:17px;font-weight:700;transition:.2s}
.fac-tabs button:hover{background:rgba(255,255,255,.26)}
.fac-tabs button.active{background:#fff;color:var(--brand)}
.fac-panel{display:none;margin-top:22px}
.fac-panel.active{display:block}
.fac-panel .bslide .item{padding:0 8px}

/* ---------- FAQ (AEO) ---------- */
.faq{max-width:none;margin:0 auto;border-top:2px solid var(--brand)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:18px 50px 18px 16px;font-size:17px;font-weight:700;position:relative;display:flex;gap:10px}
.faq summary::-webkit-details-marker{display:none}
.faq summary .q{color:var(--brand);font-weight:900}
.faq summary::after{content:'+';position:absolute;right:16px;top:12px;font-size:26px;font-weight:300;color:var(--brand)}
.faq details[open] summary{background:var(--tint2)}
.faq details[open] summary::after{content:'−'}
.faq .a{padding:16px 16px 20px 42px;font-size:15px;line-height:1.75;color:#4a4a4e;background:#fff}
.faq .a p+p{margin-top:8px}

/* ---------- 하단 3단 (진료시간 / 상담배너 / 지점안내) ---------- */
.cols3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:22px;align-items:stretch}
.hours-box{border:1px solid var(--line);background:#fff;padding:24px 22px;height:100%}
.hours-box h3{display:flex;justify-content:space-between;align-items:center;font-size:24px;font-weight:700;color:#3A3A3D;margin-bottom:14px}
.hours-box h3 i{width:26px;height:26px;background:var(--brand);color:#fff;font-style:normal;font-size:20px;line-height:26px;text-align:center}
.hours-box dl{display:grid;grid-template-columns:auto 1fr;gap:9px 14px;font-size:14px;line-height:1.55;padding-bottom:12px;border-bottom:1px solid var(--line)}
.hours-box dt{font-weight:700;color:#4a4a4e;white-space:nowrap}
.hours-box dd{color:#333}
.hours-box dd{line-height:1.7}.hours-box dd span{color:var(--red)}
.hours-box .red{margin-top:12px;color:var(--red);font-size:14px;font-weight:700}
.hours-box .memo{margin-top:8px;font-size:12.5px;color:#74767B;line-height:1.6}
.cta-stack{display:grid;gap:14px;height:100%;grid-template-rows:1fr auto auto auto}
.cta-stack .tel-banner{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:168px;overflow:hidden;background:#000 url('../images/hero-left.webp') center/cover;color:#fff;text-align:center;padding:26px 16px}
.cta-stack .tel-banner::before{content:'';position:absolute;inset:0;background:rgba(20,30,70,.6)}
.cta-stack .tel-banner > *{position:relative}
.cta-stack .tel-banner p{font-size:15px;line-height:1.5}
.cta-stack .tel-banner p strong{display:block;font-size:17px}
.cta-stack .tel-banner .num{display:block;margin-top:10px;font-size:34px;font-weight:900;letter-spacing:.02em}
.cta-stack .bar{display:flex;align-items:center;gap:12px;height:54px;padding:0 18px;font-size:17px;font-weight:700}
.cta-stack .bar i{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;font-style:normal;font-weight:900;font-size:14px}
.cta-stack .reserve{background:var(--brand-deep);color:#fff}.cta-stack .reserve i{background:#fff;color:var(--brand-deep)}
.cta-stack .kakao{background:#fae100;color:#3c1e1e}.cta-stack .kakao i{background:#3c1e1e;color:#fae100}
.cta-stack .online{background:var(--brand);color:#fff}.cta-stack .online i{background:#fff;color:var(--brand)}
.branch-list{display:flex;flex-direction:column;height:100%}
.branch-list ul{flex:1;display:flex;flex-direction:column;justify-content:space-evenly}
.branch-list h3{font-size:22px;font-weight:700;color:var(--brand);margin-bottom:12px}
.branch-list h3::before{content:'○';font-size:14px;margin-right:8px;vertical-align:2px}
.branch-list li{padding:9px 0;border-bottom:1px dashed var(--line);font-size:14px;line-height:1.5}
.branch-list li b{display:block;font-size:16px;color:#3A3A3D}
.branch-list li b small{font-size:12.5px;font-weight:700;color:var(--brand);margin-left:6px}
.branch-list li address{font-style:normal;color:#5a5b60}
.branch-list li a{color:var(--brand);font-weight:700;font-size:13px;margin-left:6px}
.branch-list .box{margin-top:14px;background:var(--brand);color:#fff;padding:0 18px;font-size:14px;min-height:60px;display:flex;flex-direction:column;justify-content:center;border-radius:0}
.branch-list .box p{padding:3px 0}
.branch-list .box p::before{content:'✔';color:var(--yellow);margin-right:8px}

/* ---------- 푸터 ---------- */
#footer{border-top:1px solid var(--line);background:var(--bg);padding:30px 15px 40px}
#footer .fnb ul{text-align:center;font-size:0}
#footer .fnb ul li{display:inline-block}
#footer .fnb ul li a{display:inline-block;position:relative;margin-left:10px;padding-left:10px;font-size:13px;color:#737373;line-height:1.3}
#footer .fnb ul li a::before{content:'';position:absolute;top:1px;bottom:0;left:0;width:1px;height:10px;margin:auto;background:#737373;opacity:.5}
#footer .fnb ul li:first-child a{margin-left:0;padding-left:0}
#footer .fnb ul li:first-child a::before{display:none}
#footer .fnb ul li a:hover{color:var(--brand)}
#footer .finfo{max-width:1210px;margin:16px auto 0;text-align:left;font-size:12px;color:#888;line-height:1.7}
#footer .finfo p{padding:1px 0}
#footer .finfo p strong{color:#666}
#footer .finfo .legal{margin-top:12px;padding-top:12px;border-top:1px solid var(--line);max-width:none}
#footer .finfo a{color:#777;text-decoration:underline}
#footer .copyright{margin-top:8px;font-size:12px;color:#999;text-align:center}

/* ---------- 퀵메뉴 (PC 우측 고정, 참고 사이트 스타일) · 1.3배 ---------- */
.quick{position:fixed;right:10px;top:50%;transform:translateY(-50%);z-index:900;width:83px;background:#fff;border:1px solid #ccc;border-radius:16px;overflow:hidden;text-align:center;font-size:13.5px;font-weight:700;color:#3A3A3D;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.quick .qt{background:var(--brand);color:#fff;font-size:14px;font-weight:900;line-height:1.15;padding:12px 0}
.quick a,.quick button{display:block;width:100%;padding:10px 2px 9px;border:0;border-bottom:1px solid #eee;background:#fff;color:#3A3A3D;font:inherit;line-height:1.2}
.quick a:last-child,.quick button:last-child{border-bottom:0}
.quick a:hover,.quick button:hover{background:var(--tint)}
.quick svg{display:block;width:34px;height:34px;margin:0 auto 5px}
.quick .qtel{color:var(--brand);font-size:13px}
.quick .qtel b{display:block;font-size:15.5px;letter-spacing:-.03em}

/* ---------- 모바일 하단 고정 5버튼 (참고 사이트 m_quick_* 재현) ---------- */
.m_quick{display:none;position:fixed;left:0;right:0;bottom:0;z-index:950;height:57px;background:#3A3A3D;grid-template-columns:repeat(5,1fr)}
.m_quick a{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-size:11.5px;font-weight:700;gap:3px;border-left:1px solid #4a4a4e}
.m_quick a:first-child{border-left:0}
.m_quick svg{width:22px;height:22px}

/* ---------- 모바일 TOP 버튼 ---------- */
.m-top{display:none;position:fixed;right:14px;top:60%;z-index:960;width:44px;height:44px;border:0;border-radius:50%;background:#3A3A3D;box-shadow:0 4px 14px rgba(58,58,61,.35);opacity:0;transform:translateY(10px);transition:opacity .25s,transform .25s;padding:0}
.m-top svg{width:22px;height:22px;display:block;margin:0 auto}
.m-top.on{opacity:1;transform:none}

/* ---------- 등장 효과 (AOS 대체) ---------- */
[data-aos]{opacity:0;transform:translateY(30px);transition:opacity .8s ease,transform .8s ease}
[data-aos].aos-animate{opacity:1;transform:none}

/* ---------- 반응형 ---------- */
@media (max-width:1300px){.quick{width:75px;right:4px;font-size:12px}}
@media (max-width:1270px){
  .gallery{flex-wrap:wrap}
  .slide_thum{width:100%;margin-top:0;height:auto;grid-template-columns:repeat(3,1fr);grid-template-rows:none}
  .slide_thum button{height:60px;font-size:16px;padding:0 10px}
  .banner{height:auto}
  .ggm_sub{position:static;width:100%;height:auto;padding:20px 24px}
  .slide_img{width:100%}
}
@media (max-width:1023px){
  .gnb_p{display:none}
  #header .inner{height:60px}
  #header .logo img{height:22px}
  #header .logo .logo-sub{font-size:15px;padding-left:8px;gap:8px}
  #toggle_right{display:block}
  .lnb{position:fixed;top:60px;left:0;right:0;bottom:0;background:#fff;overflow-y:auto;transform:translateX(100%);transition:transform .25s;padding-bottom:80px;margin:0}
  .lnb.open{transform:none}
  .lnb .dep1{flex-direction:column}
  .lnb .dep1 > li > a{height:auto;line-height:1.4;padding:15px 20px;border-bottom:1px solid #eee}
  .lnb .dep2{position:static;opacity:1;visibility:visible;border:0;background:var(--tint2);border-bottom:1px solid #eee}
  .hero .copy{margin:20px 16px 0;padding:24px 18px 22px}
  .hero h1{font-size:25px}
  .hero .desc{font-size:14px}
  .hero .desc br{display:none}
  .hero .team-wrap{height:0;padding-top:52%;margin-top:14px;background-size:100% auto}
  .fac-tabs button{font-size:14px;height:44px}
  .sp100{height:40px}.sp60{height:30px}.sp40{height:20px}
  .ttl h2{font-size:28px}.ttl .line2{font-size:24px}.ttl .yt{font-size:20px}
  .youtube-main{width:100%;padding-top:56.25%}
  .youtube-wrap{flex-direction:column;gap:14px}
  .youtube-side{width:100%;padding-bottom:0}
  .youtube-list{display:flex;gap:12px;overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:none}
  .youtube-list::-webkit-scrollbar{display:none}
  .youtube-list li{display:block;flex:0 0 220px;margin-bottom:0;scroll-snap-align:start}
  .list-arrow{display:none}
  .info-grid{grid-template-columns:1fr}
  .slide_thum{grid-template-columns:repeat(2,1fr)}
  .banner{min-height:0}
  .banner .bh{font-size:24px}.banner .bh .big{font-size:32px}
  .banner .logo-mark{display:none}
  .b1{padding:30px 20px 0}.b1 .txt{width:100%}.b1 .net{position:static;width:100%;margin-top:20px}.b1 .strip{position:static;height:150px;margin-top:20px}
  .b2{padding:30px 20px 0}.b2 .txt,.b2 .chips{width:100%}.b2 .doc{display:none}.b2 .strip{position:static;height:150px;margin-top:20px;grid-template-columns:repeat(5,1fr)}
  .b3{padding:30px 20px}.b3 .grid figure{height:140px}
  .b4{padding:30px 20px 0}.b4 .feat{grid-template-columns:1fr}.b4 .grid{position:static;height:auto;grid-template-columns:1fr 1fr;margin-top:20px}.b4 .grid figure{height:140px}
  .b5{padding:30px 20px}.b5 .steps{grid-template-columns:1fr}.b5 .steps li{min-height:0}
  .b7{padding:30px 20px 0;min-height:0}.b7 .txt{width:100%}.b7 .tips{position:static;grid-template-columns:1fr;margin-top:20px}.b7 .ph{display:none}.b7 .strip{position:static;height:120px;margin-top:20px}
  .b6{flex-direction:column}.b6 .doc{width:100%;height:320px}.b6 .txt{padding:24px 20px}.b6 .name{font-size:28px}
  .bslide .owl-nav button{margin-top:-60px;width:40px;height:40px;line-height:40px;font-size:20px}
  .cols3{grid-template-columns:1fr}
  .quick{display:none}
  .m_quick{display:grid}
  .m-top{display:block}
  body{padding-bottom:57px}
}
@media (max-width:640px){
  .checks{grid-template-columns:1fr}
  .slide_thum button{font-size:14px;height:52px}
  .b2 .strip,.b1 .strip{grid-template-columns:repeat(3,1fr);height:auto}
  .b2 .strip figure,.b1 .strip figure{height:110px}
  .b2 .strip figure:nth-child(n+4),.b1 .strip figure:nth-child(n+4){display:none}
  .faq summary{font-size:15px;padding:14px 40px 14px 12px}
  .faq .a{padding:12px 12px 16px 12px}
  .ttl h2{font-size:24px}
}
@media (prefers-reduced-motion:reduce){
  [data-aos]{opacity:1;transform:none;transition:none}
  .bslide .track{transition:none}
  html{scroll-behavior:auto}
}

/* ---------- 안면마비 이야기 하위 페이지 ---------- */
.sub-hero{background:linear-gradient(180deg,var(--tint) 0%,#fff 100%);padding:54px 15px 44px;text-align:center}
.sub-hero .crumb{font-size:13px;color:#74767B;margin-bottom:12px}
.sub-hero .crumb a{color:var(--brand)}
.sub-hero h1{font-size:36px;font-weight:900;color:#233C91;letter-spacing:-.04em;line-height:1.3}
.sub-hero h1 em{color:var(--brand)}
.sub-hero .lead{max-width:760px;margin:14px auto 0;font-size:16px;color:#5a5b60;line-height:1.7}
.sub-hero .meta{margin-top:14px;font-size:13px;color:#74767B}
.article{max-width:900px;margin:0 auto;padding:0 15px}
.article h2{font-size:24px;font-weight:800;color:#3A3A3D;margin:48px 0 16px;padding-left:14px;position:relative;letter-spacing:-.03em}
.article h2::before{content:'';position:absolute;left:0;top:6px;width:4px;height:22px;background:var(--brand)}
.article h2:first-child{margin-top:0}
.article h3{font-size:18px;font-weight:700;color:var(--brand);margin:24px 0 8px}
.article p{font-size:15.5px;line-height:1.8;color:#4a4a4e;margin:0 0 12px}
.article ul.dot{margin:0 0 12px}
.article ul.dot li{position:relative;padding-left:16px;font-size:15.5px;line-height:1.75;color:#4a4a4e}
.article ul.dot li::before{content:'';position:absolute;left:0;top:13px;width:6px;height:6px;border-radius:50%;background:var(--brand)}
.article ol.num{counter-reset:n;margin:0 0 12px}
.article ol.num li{counter-increment:n;position:relative;padding-left:32px;font-size:15.5px;line-height:1.75;color:#4a4a4e;margin-bottom:6px}
.article ol.num li::before{content:counter(n);position:absolute;left:0;top:4px;width:22px;height:22px;border-radius:50%;background:var(--brand);color:#fff;font-size:12px;font-weight:700;text-align:center;line-height:22px}
.article figure{margin:20px 0}
.article figure img{width:100%;aspect-ratio:16/8;object-fit:cover}
.article figcaption{font-size:13px;color:#74767B;margin-top:6px}
.article .answer{margin-bottom:16px}
.article .note{margin:6px 0 14px}
.article .alert{margin:16px 0}
.article .checks{margin:0 0 14px}
.related{max-width:900px;margin:56px auto 0;padding:0 15px}
.related h2{font-size:20px;font-weight:800;margin-bottom:14px}
.related ul{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.related li a{display:block;border:1px solid var(--line);padding:16px 18px;font-size:15px;font-weight:700;color:#333;transition:.2s}
.related li a small{display:block;font-weight:400;color:#74767B;font-size:12.5px;margin-top:4px}
.related li a:hover{border-color:var(--brand);color:var(--brand)}
.cta-band{max-width:900px;margin:40px auto 0;padding:0 15px}
.cta-band .in{background:var(--brand);color:#fff;padding:26px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.cta-band .in p{font-size:16px;line-height:1.5}
.cta-band .in p strong{font-size:24px;display:block}
.cta-band .in .btns{display:flex;gap:8px;flex-wrap:wrap}
.cta-band .in .btns a{background:#fff;color:var(--brand);font-weight:700;padding:11px 18px;font-size:14px}
@media (max-width:1023px){.sub-hero h1{font-size:26px}.article h2{font-size:20px}.related ul{grid-template-columns:1fr}}

/* 갤러리 배너: 하단 사진 띠를 배너 바닥까지 붙여 왼쪽 탭 목록과 높이를 맞춤 (하단 흰 여백 4px 제거) */
.b1 .strip,.b2 .strip,.b4 .grid,.b7 .strip{padding-bottom:0}
/* PC 갤러리 배너: 글 아래 남는 여백만큼 하단 사진 띠를 키움 (글과 겹치지 않는 범위) */
@media (min-width:1271px){
  .b1 .strip{height:226px}
  .b2 .strip{height:244px}.b2 .doc{height:366px}
  .b4 .grid{height:290px}
  .b7{padding-bottom:212px}.b7 .strip{height:200px}
}

/* ---------- 매거진 (워드프레스 글 목록) ---------- */
.mag-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:26px}
.mag-cats{display:flex;gap:8px;flex-wrap:wrap}
.mag-cats button{height:40px;padding:0 18px;border:1px solid #E3E5EA;border-radius:999px;background:#fff;color:#4a4a4e;font-size:14.5px;font-weight:700}
.mag-cats button.active{background:var(--brand);border-color:var(--brand);color:#fff}
.mag-search{display:flex;gap:6px}
.mag-search input{height:40px;width:240px;border:1px solid #E3E5EA;border-radius:999px;padding:0 16px;font-size:14px}
.mag-search button{height:40px;padding:0 16px;border:0;border-radius:999px;background:#3A3A3D;color:#fff;font-size:14px;font-weight:700}
.mag-status{font-size:13.5px;color:#74767B;margin-bottom:14px;min-height:20px}
.mag-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px 24px}
.mag-card a{display:block}
.mag-card .ph{aspect-ratio:16/10;overflow:hidden;border-radius:14px;background:#EAEDF7;display:flex;align-items:center;justify-content:center}
.mag-card .ph img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.mag-card a:hover .ph img{transform:scale(1.04)}
.mag-card .noimg{color:var(--brand);font-weight:800;font-size:18px;text-align:center;line-height:1.3}
.mag-card .body{padding:16px 4px 0}
.mag-card .cat{display:inline-block;font-size:12.5px;font-weight:700;color:var(--brand);letter-spacing:.04em;margin-bottom:6px}
.mag-card h3{font-size:19px;font-weight:800;line-height:1.4;letter-spacing:-.03em;color:#1c1c1f;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mag-card p{margin-top:8px;font-size:14px;color:#74767B;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mag-card time{display:block;margin-top:10px;font-size:12.5px;color:#9a9ca3}
.mag-pager{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:48px;flex-wrap:wrap}
.mag-pager button{min-width:40px;height:40px;padding:0 8px;border:1px solid #E3E5EA;border-radius:8px;background:#fff;color:#4a4a4e;font-size:14.5px;font-weight:700}
.mag-pager button:hover{border-color:var(--brand);color:var(--brand)}
.mag-pager button.active{background:var(--brand);border-color:var(--brand);color:#fff}
.mag-pager button.arrow{font-size:18px}
.mag-pager button.disabled{opacity:.35;cursor:default}
.mag-pager .dots{padding:0 4px;color:#9a9ca3}
.mag-note{margin-top:20px;text-align:center}
.mag-note code{background:#F2F3F5;padding:2px 6px;border-radius:4px}
@media (max-width:1023px){.mag-grid{grid-template-columns:1fr 1fr;gap:28px 16px}}
@media (max-width:640px){.mag-grid{grid-template-columns:1fr}.mag-search{width:100%}.mag-search input{flex:1;width:auto}}

/* 로고: 이미지에 위아래 여백(각 6%)을 넣어 잘림을 막았으므로, 표시 높이를 키워 글자 크기는 이전과 동일하게 유지 */
#header .logo img{height:35px}
@media (max-width:1023px){#header .logo img{height:28px}}
