/* ===== 연세노블의원 공용 스타일 (상세·칼럼 페이지) ===== */
@font-face{font-family:"Pretendard";font-weight:300;font-style:normal;font-display:swap;src:url("fonts/Pretendard-Light.woff") format("woff");}
@font-face{font-family:"Pretendard";font-weight:400;font-style:normal;font-display:swap;src:url("fonts/Pretendard-Regular.woff") format("woff");}
@font-face{font-family:"Pretendard";font-weight:500;font-style:normal;font-display:swap;src:url("fonts/Pretendard-Medium.woff") format("woff");}
@font-face{font-family:"Pretendard";font-weight:700;font-style:normal;font-display:swap;src:url("fonts/Pretendard-Bold.woff") format("woff");}
@font-face{font-family:"Pretendard";font-weight:800;font-style:normal;font-display:swap;src:url("fonts/Pretendard-ExtraBold.woff") format("woff");}
@font-face{font-family:"Pretendard";font-weight:900;font-style:normal;font-display:swap;src:url("fonts/Pretendard-Black.woff") format("woff");}

:root{
  --brand-50:#E9F6EF;--brand-100:#CFEBDD;--brand-200:#9FD8BB;--brand-300:#5FBE90;--brand-400:#27A065;
  --brand-500:#0B7C45;--brand-600:#086539;--brand-700:#08522F;--brand-800:#0A4026;--brand-900:#0B2E1C;
  --lime:#A8CE1B;--lime-soft:#EAF3C9;
  --gray-0:#FFFFFF;--gray-50:#FAFBFC;--gray-100:#F4F6F8;--gray-200:#E7EBEF;--gray-300:#D2D8DE;
  --gray-400:#A5AEB7;--gray-500:#6B7783;--gray-600:#4A5562;--gray-700:#2F3942;--gray-800:#1A2128;--gray-900:#0E1318;
  --bg:var(--gray-0);--fg:var(--gray-900);--fg-muted:var(--gray-600);--border:var(--gray-200);--brand:var(--brand-500);
  --r-sm:6px;--r-md:10px;--r-lg:14px;--r-xl:20px;--r-pill:999px;
  --sh-sm:0 1px 2px rgba(11,46,28,.06),0 1px 3px rgba(11,46,28,.05);
  --sh-md:0 4px 12px rgba(11,46,28,.07),0 2px 6px rgba(11,46,28,.05);
  --sh-lg:0 14px 34px rgba(11,46,28,.10),0 6px 14px rgba(11,46,28,.06);
  --font-sans:"Pretendard",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;
  --font-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --ease:cubic-bezier(0.16,1,0.3,1);
}
*,*::before,*::after{box-sizing:border-box;word-break:keep-all;overflow-wrap:break-word;}
html{scroll-behavior:smooth;scroll-padding-top:84px;}
body{margin:0;font-family:var(--font-sans);color:var(--fg);background:var(--bg);line-height:1.55;font-size:16px;-webkit-font-smoothing:antialiased;}
h1,h2,h3,h4,p,ul,figure{margin:0;}
ul{padding:0;list-style:none;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
h1,h2,h3,h4{letter-spacing:-0.025em;line-height:1.25;}
.mono{font-family:var(--font-mono);font-feature-settings:"tnum";}
.wrap{max-width:1100px;margin:0 auto;padding:0 24px;}
.narrow{max-width:820px;}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 22px;border-radius:var(--r-md);font-family:var(--font-sans);font-size:16px;font-weight:600;border:1px solid transparent;cursor:pointer;transition:transform .12s var(--ease),box-shadow .2s var(--ease),background .2s var(--ease);white-space:nowrap;}
.btn svg{width:20px;height:20px;}
.btn--primary{background:var(--brand-500);color:#fff;box-shadow:var(--sh-sm);}
.btn--primary:hover{background:var(--brand-600);transform:translateY(-1px);}
.btn--outline{background:#fff;color:var(--brand-700);border-color:var(--brand-200);}
.btn--outline:hover{background:var(--brand-50);}
.btn--lg{height:54px;padding:0 26px;font-size:17px;}
.btn--block{width:100%;}
.ic{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
:focus-visible{outline:2px solid var(--brand-500);outline-offset:2px;border-radius:4px;}

/* Badge */
.badge{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 11px;border-radius:var(--r-pill);font-size:13px;font-weight:600;line-height:1;}
.badge--lime{background:var(--lime-soft);color:#5b7000;}
.badge--brand{background:var(--brand-50);color:var(--brand-700);}

/* Header (홈과 동일) */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.85);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border);}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:72px;gap:14px;}
.brand{display:flex;align-items:center;gap:10px;}
.brand img{width:42px;height:42px;object-fit:contain;flex:none;}
.brand-word{display:flex;flex-direction:column;line-height:1.12;font-weight:800;font-size:20px;letter-spacing:-0.02em;}
.brand-word .bw-name{white-space:nowrap;}
.brand-word b{color:var(--brand-600);font-weight:800;}
.brand-word small{font-size:11px;font-weight:500;color:var(--fg-muted);letter-spacing:.02em;white-space:nowrap;}
.nav{display:flex;align-items:center;gap:2px;}
.nav a{padding:8px 11px;border-radius:var(--r-sm);font-size:15px;font-weight:500;color:var(--gray-700);white-space:nowrap;transition:background .15s,color .15s;}
.nav a:hover{background:var(--gray-100);color:var(--brand-700);}
.header-actions{display:flex;align-items:center;gap:10px;}
.header-tel{display:flex;align-items:center;gap:7px;font-weight:700;color:var(--brand-700);font-size:16px;}
.header-tel svg{width:18px;height:18px;}
.nav-toggle{display:none;width:44px;height:44px;border:1px solid var(--border);background:#fff;border-radius:var(--r-md);cursor:pointer;align-items:center;justify-content:center;}
.nav-toggle svg{width:24px;height:24px;}
@media (max-width:1080px){.nav,.header-tel{display:none;}.nav-toggle{display:inline-flex;}}

/* Mobile nav (홈과 동일) */
.mobile-nav{position:fixed;inset:0;z-index:60;display:none;background:rgba(11,46,28,.4);backdrop-filter:blur(2px);}
.mobile-nav.open{display:block;}
.mobile-nav-panel{position:absolute;top:0;right:0;width:min(82vw,340px);height:100%;background:#fff;box-shadow:var(--sh-lg);padding:22px;display:flex;flex-direction:column;gap:6px;transform:translateX(100%);transition:transform .28s var(--ease);overflow-y:auto;}
.mobile-nav.open .mobile-nav-panel{transform:translateX(0);}
.mn-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;}
.mn-head .brand img{width:38px;height:38px;}
.mn-close{width:44px;height:44px;border:none;background:var(--gray-100);border-radius:var(--r-md);cursor:pointer;display:grid;place-items:center;}
.mn-close svg{width:24px;height:24px;}
.mobile-nav a.mn-link{padding:14px 12px;border-radius:var(--r-md);font-size:17px;font-weight:600;color:var(--gray-800);}
.mobile-nav a.mn-link:hover{background:var(--gray-100);}
.mn-foot{margin-top:auto;padding-top:16px;border-top:1px solid var(--gray-100);}

/* Breadcrumb */
.crumb{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:13px;color:var(--fg-muted);padding:18px 0 0;}
.crumb a:hover{color:var(--brand-700);}
.crumb .sep{color:var(--gray-300);}
.crumb .cur{color:var(--brand-700);font-weight:600;}

/* Page hero */
.page-hero{background:linear-gradient(180deg,var(--brand-50),#fff 80%);padding:18px 0 48px;}
.page-hero .eyebrow{margin-top:18px;}
.page-hero h1{font-size:clamp(28px,4vw,44px);font-weight:800;letter-spacing:-0.03em;margin:10px 0 14px;}
.page-hero .lead{font-size:clamp(16px,1.5vw,18px);color:var(--gray-600);max-width:680px;line-height:1.7;}

/* Sections */
.section{padding:60px 0;}
.section--tint{background:var(--gray-50);}
.eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:600;color:var(--brand-600);}
.eyebrow::before{content:"";width:18px;height:2px;background:var(--lime);border-radius:2px;}
.section-title{font-size:clamp(22px,3vw,32px);font-weight:800;margin:12px 0 14px;text-wrap:balance;}
.section-lead{font-size:16px;color:var(--fg-muted);max-width:720px;line-height:1.7;text-wrap:balance;}

/* Prose (본문) */
.prose h2{font-size:clamp(20px,2.4vw,26px);font-weight:800;color:var(--gray-900);margin:38px 0 12px;padding-top:6px;}
.prose h3{font-size:17px;font-weight:700;color:var(--brand-700);margin:22px 0 8px;}
.prose p{font-size:16px;line-height:1.8;color:var(--gray-700);margin:0 0 14px;}
.prose ul.dot{margin:0 0 16px;display:flex;flex-direction:column;gap:9px;}
.prose ul.dot li{position:relative;padding-left:18px;font-size:15.5px;line-height:1.65;color:var(--gray-700);}
.prose ul.dot li::before{content:"";position:absolute;left:0;top:9px;width:6px;height:6px;border-radius:50%;background:var(--lime);}
.prose strong{color:var(--brand-700);font-weight:700;}

/* Feature cards */
.fcards{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:18px 0 8px;}
.fcard{border:1px solid var(--border);border-radius:var(--r-lg);padding:20px 22px;background:#fff;}
.fcard h3{font-size:16px;margin-bottom:7px;color:var(--gray-900);}
.fcard p{font-size:14.5px;color:var(--fg-muted);line-height:1.6;margin:0;}
@media (max-width:640px){.fcards{grid-template-columns:1fr;}}

/* Notice/callout */
.note{display:flex;gap:10px;align-items:flex-start;background:var(--brand-50);border-left:3px solid var(--brand-500);border-radius:var(--r-md);padding:14px 16px;font-size:14.5px;color:var(--brand-800);line-height:1.6;margin:20px 0;}
.note .ic{width:18px;height:18px;color:var(--brand-600);margin-top:2px;}

/* FAQ */
.faq-list{margin-top:26px;display:flex;flex-direction:column;gap:12px;}
.faq-item{border:1px solid var(--border);border-radius:var(--r-lg);padding:2px 22px;background:#fff;transition:border-color .2s,box-shadow .2s;}
.faq-item[open]{border-color:var(--brand-200);box-shadow:var(--sh-sm);}
.faq-item summary{cursor:pointer;list-style:none;padding:18px 0;font-weight:700;font-size:16px;color:var(--gray-800);display:flex;justify-content:space-between;align-items:center;gap:14px;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+";font-family:var(--font-mono);font-size:22px;color:var(--brand-500);line-height:1;flex:none;}
.faq-item[open] summary::after{content:"\2212";}
.faq-answer{padding:0 0 20px;line-height:1.75;color:var(--fg-muted);font-size:15px;}
.faq-answer p{margin:0;}

/* CTA band */
.cta-band{background:linear-gradient(150deg,var(--brand-700),var(--brand-900));color:#fff;border-radius:var(--r-xl);padding:38px;text-align:center;margin:8px 0;}
.cta-band h2{font-size:clamp(20px,2.4vw,26px);font-weight:800;margin-bottom:8px;}
.cta-band p{color:rgba(255,255,255,.82);margin-bottom:18px;font-size:15px;}
.cta-band .r-tel{font-family:var(--font-mono);font-size:clamp(24px,3vw,32px);font-weight:700;display:inline-block;margin-bottom:16px;}
.cta-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
.cta-band .btn--outline{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.3);}
.cta-band .btn--outline:hover{background:rgba(255,255,255,.18);}

/* Article meta */
.art-meta{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--fg-muted);margin:8px 0 0;}
.art-meta .cat{font-weight:700;color:var(--brand-600);}
.art-back{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:14px;font-weight:600;color:var(--brand-600);}

/* Footer (홈과 동일) */
.site-footer{background:var(--gray-900);color:var(--gray-300);padding:60px 0 36px;}
.footer-top{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:40px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.08);}
.footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:14px;}
.footer-brand img{width:54px;height:54px;object-fit:contain;background:#fff;border-radius:12px;padding:5px;}
.footer-brand .fb-name{font-weight:800;font-size:19px;color:#fff;}
.footer-brand .fb-name b{color:var(--brand-300);}
.footer-desc{font-size:14px;color:var(--gray-400);max-width:360px;line-height:1.7;}
.footer-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;}
.footer-badges span{font-size:12px;font-weight:600;background:rgba(168,206,27,.14);color:#cfe06a;padding:6px 11px;border-radius:var(--r-pill);}
.footer-col h4{font-size:14px;color:#fff;margin-bottom:14px;}
.footer-col li{margin-bottom:9px;font-size:14px;}
.footer-col a:hover{color:#fff;}
.footer-col .mono{font-size:14px;}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding-top:24px;font-size:13px;color:var(--gray-500);}
.footer-bottom .links{display:flex;gap:18px;flex-wrap:wrap;}
.footer-bottom .links a:hover{color:#fff;}
.footer-bottom strong{color:var(--gray-300);font-weight:600;}
@media (max-width:860px){.footer-top{grid-template-columns:1fr 1fr;}.footer-col.fc-brand{grid-column:1 / -1;}}
@media (max-width:640px){.footer-top{grid-template-columns:1fr;gap:28px;}.footer-bottom{flex-direction:column;align-items:flex-start;}}

@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms !important;}}
