:root{--brand:#004E73;--accent:#00ABC9;--ink:#1c2830;--muted:#5d6b75;--line:#e3e8ec;--soft:#f3f7f9;--warn:#b3361e;--warnbg:#fdf1ee}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;overflow-y:scroll}
::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background-color:#888;border-radius:4px;background-clip:padding-box}
body{margin:0;padding-top:100px;min-height:100vh;display:flex;flex-direction:column;background:#fff;color:var(--ink);font-family:"Pretendard Variable",Pretendard,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;font-size:17px;line-height:1.8;word-break:keep-all;overflow-wrap:break-word}
a{color:var(--brand)}
img{max-width:100%;height:auto}
.draft{background:#fff4d6;color:#6b4e00;text-align:center;font-size:14px;padding:6px 16px}
.crumb{width:100%;max-width:760px;margin:0 auto;padding:22px 24px 0;font-size:14px;color:var(--muted)}
.crumb a{color:var(--muted);text-decoration:none}.crumb a:hover{text-decoration:underline}
.wrap{flex:1 0 auto;width:100%;max-width:760px;margin:0 auto;padding:10px 24px 72px}
h1{font-size:34px;line-height:1.35;margin:10px 0 12px;letter-spacing:-.02em;color:var(--brand);font-weight:700;text-wrap:balance}
h2{font-size:24px;line-height:1.4;margin:48px 0 12px;letter-spacing:-.01em;font-weight:700}
h3{font-size:18px;line-height:1.5;margin:26px 0 4px;font-weight:700}
p{margin:0 0 14px}
ul,ol{margin:0 0 16px;padding-left:22px}li{margin:4px 0}
.by{font-size:14px;line-height:1.7;color:var(--muted);padding-bottom:18px;border-bottom:1px solid var(--line)}
.answer{background:var(--soft);border-left:4px solid var(--accent);padding:18px 22px;margin:24px 0 0;border-radius:0 8px 8px 0}
.answer h2{font-size:17px;color:var(--brand);margin:0 0 6px}.answer p:last-child{margin:0}
.warn{background:var(--warnbg);border:1px solid #f3cfc6;border-radius:8px;padding:20px 22px;margin-top:40px}
.warn h2{margin:0 0 8px;color:var(--warn);font-size:21px}.warn p:last-child,.warn ul:last-child{margin-bottom:0}
figure{margin:24px auto}
figure img{display:block;margin:0 auto;border-radius:6px}
figure.tall{max-width:500px}
figcaption{font-size:13.5px;line-height:1.6;color:var(--muted);margin-top:8px;text-align:center}
.soon{color:var(--muted)}.soon small{font-size:13px;margin-left:4px}
.box{border:1px solid var(--line);border-radius:8px;padding:18px 22px;margin-top:18px}
.box h2{font-size:17px;margin:0 0 8px;color:var(--brand)}
.box p{margin:0 0 6px;font-size:16px}.box p:last-child{margin:0}
.doc{display:flex;gap:18px;align-items:center}.doc img{width:88px;height:88px;border-radius:50%;object-fit:cover;object-position:50% 12%;flex:none}
dl.hrs{display:grid;grid-template-columns:auto 1fr;gap:2px 14px;margin:0 0 6px;font-size:16px}dl.hrs dt{font-weight:600}dl.hrs dd{margin:0;font-variant-numeric:tabular-nums}
.refs{font-size:15px;line-height:1.65}.refs li{margin:6px 0}
.note{font-size:14px;color:var(--muted);margin-top:14px}
.cards{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:14px}
.cards li{margin:0;border:1px solid var(--line);border-radius:8px;padding:18px 22px}
.cards a{font-size:19px;font-weight:700;text-decoration:none}.cards a:hover{text-decoration:underline}.cards p{margin:6px 0 0;font-size:16px;color:var(--muted)}
details{margin:12px 0}summary{cursor:pointer;font-weight:600;color:var(--brand)}
.pubs{font-size:14.5px;line-height:1.6}.pubs li{margin:7px 0;word-break:normal}
/* 비급여 항목안내 popup, content loaded from the homepage; rules copied from theme/nero/css/style.css */
.ft_nav .ft_popup_btn{font-weight:600}
.pop_dim{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:9999;justify-content:center;align-items:center}.pop_dim.on{display:flex}
.pop_wrap{background:#fff;border-radius:24px;width:92%;max-width:720px;max-height:85vh;overflow:hidden;display:flex;flex-direction:column}
.pop_head{display:flex;justify-content:space-between;align-items:center;padding:28px 32px;border-bottom:1px solid #E5E5EC}
.pop_head h3{font-size:24px;font-weight:700;color:#111;margin:0}
.pop_close{width:40px;height:40px;border:none;background:none;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:50%}.pop_close:hover{background:#F7F7F7}
.pop_body{padding:28px 32px;overflow-y:auto;line-height:1.5}
.pop_section+.pop_section{margin-top:40px}.pop_section_head{margin-bottom:12px}
.pop_section_head h4{font-size:28px;font-weight:700;color:#004E73;line-height:1.3;letter-spacing:-.7px;margin:0}
.pop_section_head p{margin:4px 0 0;font-size:14px;font-weight:500;color:#505050;line-height:1.5;letter-spacing:-.35px}
.pop_table{width:100%;border-collapse:collapse}
.pop_table th{background:#004E73;color:#fff;font-size:14px;font-weight:600;padding:12px 16px;text-align:center}
.pop_table .pop_th_item{width:240px}
.pop_table td{font-size:14px;font-weight:500;color:#505050;padding:12px 16px;border-bottom:1px solid #E5E5EC;text-align:center}
.pop_table td:first-child{font-weight:500;color:#111;background:#F8F8F6}.pop_table td:nth-child(2){border-right:1px solid #E5E5EC}
.pop_notice{margin:16px 0 0;font-size:14px;color:#767676}
@media (max-width:768px){.pop_wrap{border-radius:16px;max-height:90vh}.pop_head{padding:20px}.pop_head h3{font-size:20px}.pop_body{padding:20px}.pop_section+.pop_section{margin-top:28px}.pop_section_head h4{font-size:20px}.pop_section_head p{font-size:12px}.pop_table .pop_th_item{width:120px}.pop_table th,.pop_table td{padding:10px 8px;font-size:13px}}
/* Doctor page, following the homepage's doctor section (.m3_*) */
.p-doctor .wrap,.p-doctor .crumb{max-width:1080px}
.dr{display:flex;gap:64px;align-items:flex-start;margin:18px 0 0}
.dr-photo{width:44%;flex-shrink:0;border-radius:24px;overflow:hidden;box-shadow:4px 4px 20px rgba(35,48,59,.16);position:sticky;top:124px}.dr-photo img{display:block;width:100%}
.dr-info{flex:1;min-width:0;padding-top:24px}
.dr-badge{display:flex;align-items:center;gap:8px;margin:0 0 14px}.dr-badge span{font-size:19px;font-weight:600;color:var(--accent);letter-spacing:-.025em}.dr-badge i{width:4px;height:4px;border-radius:50%;background:var(--accent)}
h1.dr-name{display:flex;align-items:center;gap:14px;margin:0 0 34px;font-size:44px;line-height:1.3;color:#111;letter-spacing:-.025em}.dr-name strong{font-weight:700}.dr-name span{font-weight:500}
h2.dr-h{font-size:17px;font-weight:700;color:var(--brand);margin:30px 0 10px}
.dr-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:9px}
.dr-list li{margin:0;font-size:17px;font-weight:500;color:#505050;letter-spacing:-.025em;line-height:1.45;padding-left:12px;position:relative}
.dr-list li::before{content:"";position:absolute;left:0;top:.68em;width:3px;height:3px;border-radius:50%;background:#505050}
.dr-p{font-size:16px;color:#505050;margin:0 0 10px}
.p-doctor details{border:1px solid var(--line);border-radius:8px;padding:10px 16px;margin:8px 0}.p-doctor details summary{font-size:15px}.p-doctor .pubs{margin:12px 0 4px}
@media (max-width:1024px){.dr{flex-direction:column;gap:30px}.dr-photo{width:70%;position:static}.dr-info{padding-top:0;width:100%}h1.dr-name{font-size:34px;margin-bottom:22px}}
@media (max-width:768px){.dr-photo{width:100%;max-width:420px}.dr-list li{font-size:16px}.dr-badge span{font-size:16px}h1.dr-name{font-size:30px}}
/* Header, phone menu, side panel and footer copied from theme/nero/css/style.css so these pages match the site */
#header{width:100%;position:fixed;top:0;left:0;z-index:999;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.header_width{width:92%;margin:0 auto;max-width:1700px}
.head_menu{display:flex;justify-content:space-between;align-items:center;height:100px}
.head_menu .logo a{display:block}.head_menu .logo img{display:block;width:277px}
.main_menu{display:flex;align-items:center}
.main_menu .dept1{padding:36px 20px;text-align:center;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100px;gap:4px}
.main_menu .dept1 .nav_active{width:11px;height:11px;opacity:0;transition:.3s opacity}
.main_menu .dept1.on .nav_active{opacity:1}
.main_menu .dept1>a{font-size:18px;font-weight:500;color:#111;letter-spacing:-.45px;white-space:nowrap;text-decoration:none;line-height:normal}
.main_menu .dept1>a:hover,.main_menu .dept1.on>a{color:var(--brand)}
.mob_header{display:none;position:fixed;top:0;left:0;width:100%;z-index:999;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.15)}
.mob_header_top{display:flex;justify-content:space-between;align-items:center;height:60px;padding:0 15px}
.mob_logo{width:200px;line-height:0}.mob_logo img{width:100%}
.mob_menu_btn{width:30px;height:24px;position:relative;background:none;border:none;cursor:pointer;padding:0}
.mob_menu_btn span{display:block;width:100%;height:2px;background:#333;position:absolute;left:0;transition:.3s all}
.mob_menu_btn span:nth-child(1){top:0}.mob_menu_btn span:nth-child(2){top:11px}.mob_menu_btn span:nth-child(3){top:22px}
.mob_header.open .mob_menu_btn span:nth-child(1){top:11px;transform:rotate(45deg)}
.mob_header.open .mob_menu_btn span:nth-child(2){opacity:0}
.mob_header.open .mob_menu_btn span:nth-child(3){top:11px;transform:rotate(-45deg)}
.mob_nav{max-height:0;overflow:hidden;visibility:hidden;transition:max-height .4s ease,visibility 0s linear .4s;background:#fff;border-top:1px solid #eee}
.mob_header.open .mob_nav{max-height:calc(100vh - 60px);max-height:calc(100dvh - 60px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;visibility:visible;transition:max-height .4s ease,visibility 0s}
.mob_nav a{display:block;padding:16px 20px;font-size:16px;line-height:1.3;font-weight:500;color:#333;border-bottom:1px solid #f2f2f2;text-decoration:none}
.mob_nav a:last-child{border-bottom:none}.mob_nav a.on{color:var(--brand);font-weight:600}
.mob_dim{display:none;position:fixed;top:0;left:0;width:100%;height:100vh;background:rgba(0,0,0,.4);z-index:998}.mob_dim.active{display:block}
.quick{position:fixed;right:20px;top:50%;transform:translateY(-50%);width:125px;background:#fff;border-radius:12px;overflow:hidden;z-index:950;box-shadow:0 2px 10px rgba(0,0,0,.08)}
.qm_item{display:flex;flex-direction:column;align-items:center;gap:12px;padding:16px;border:1px solid #E5E5EC;text-decoration:none}
.qm_item+.qm_item{border-top:none}.qm_item img{width:50px;height:50px}
.qm_item span{font-size:15px;font-weight:600;color:#111;letter-spacing:-.375px;line-height:22px;text-align:center}
.qm_top{width:100%;padding:16px 0;background:#00abc9;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center}
.width{width:92%;max-width:1280px;margin:0 auto;position:relative}
#ft{background:#333;line-height:1.5}
.ft_nav{height:76px;border-top:1px solid rgba(255,255,255,.3);border-bottom:1px solid rgba(255,255,255,.3);display:flex;align-items:center}
.ft_nav .width{display:flex;align-items:center;gap:24px}
.ft_nav a{font-size:14px;font-weight:400;color:#fff;letter-spacing:-.35px;line-height:20px;text-decoration:none}
.ft_bar{display:inline-block;width:1px;height:10px;background:rgba(255,255,255,.3)}
.ft_body{padding:28px 0}.ft_body .width{display:flex;align-items:flex-start;gap:120px}
.ft_logo{width:276px;flex-shrink:0}.ft_logo img{width:100%;display:block}
.ft_info{display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.ft_info p{font-size:15px;margin:0;color:#fff;line-height:1.5;letter-spacing:-.375px}.ft_info a{color:#fff;text-decoration:none}
.ft_sep{display:inline-block;width:0;margin:0 12px 0 0}
@media (max-width:1400px){.main_menu .dept1{padding:36px 14px}.main_menu .dept1>a{font-size:15.84px}.ft_info p{font-size:13.2px}.ft_body .width{gap:80px}.ft_logo{width:240px}}
@media (max-width:1180px){.head_menu .logo img{width:190px}.main_menu .dept1{padding:36px 8px}.main_menu .dept1>a{font-size:14.5px}}
@media (max-width:1024px){body{padding-top:60px}#header{display:none}.mob_header{display:block}.ft_nav{height:56px}.ft_body .width{flex-direction:column;gap:28px}.ft_logo{width:220px}.ft_sep{display:block;height:0;margin:0}}
@media (max-width:1200px){.quick{display:none}}
@media (max-width:768px){.quick{display:none}.ft_nav{height:48px}.ft_nav .width{gap:16px}.ft_body .width{gap:20px}.ft_logo{width:200px}.ft_info p{font-size:13px;text-align:left}}
@media (max-width:760px){body{font-size:16px}.crumb{padding:16px 16px 0}.wrap{padding:6px 16px 56px}h1{font-size:27px}h2{font-size:21px;margin-top:38px}.answer,.warn,.box,.cards li{padding:16px}}
/* batch 4 (2026-11-22): /visit/ hours table, doctor page column list */
table.hours{border-collapse:collapse;margin:8px 0 0;font-size:17px}table.hours th,table.hours td{padding:8px 18px 8px 0;border-bottom:1px solid var(--line);text-align:left;font-variant-numeric:tabular-nums}table.hours th{font-weight:600;white-space:nowrap}
.dr-reads{padding-left:20px;margin:0 0 8px;display:flex;flex-direction:column;gap:8px}.dr-reads li{font-size:17px;line-height:1.45}.dr-reads a{font-weight:600}
/* 2026-11-24: 질환·치료 안내 submenu; same rules as theme/nero/css/style.css (change both together) */
.main_menu .dept2{position:absolute;top:100%;left:50%;transform:translate(-50%,8px);min-width:196px;margin:0;padding:10px 0;list-style:none;background:#fff;border-top:2px solid #00ABC9;border-radius:0 0 12px 12px;box-shadow:0 10px 24px rgba(0,0,0,.12);text-align:left;opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility 0s linear .2s;z-index:1000}
.main_menu .dept1.has_sub:hover .dept2,.main_menu .dept1.has_sub:focus-within .dept2{opacity:1;visibility:visible;transform:translate(-50%,0);transition:opacity .2s,transform .2s,visibility 0s}
.main_menu .dept1.has_sub.sub_closed .dept2{opacity:0;visibility:hidden}
.main_menu .dept1.has_sub:hover>a,.main_menu .dept1.has_sub:focus-within>a{color:var(--brand)}
.main_menu .dept2 li{margin:0}
.main_menu .dept2 a{display:block;padding:9px 24px;font-size:16px;font-weight:500;line-height:1.5;color:#333;letter-spacing:-.4px;white-space:nowrap;text-decoration:none}
.main_menu .dept2 a:hover,.main_menu .dept2 a:focus-visible{color:var(--brand);background:#F2FBFD}
.main_menu .dept2 a[aria-current="page"]{color:var(--brand);font-weight:600}
.main_menu .dept2 .dept2_all{margin-top:6px;padding-top:6px;border-top:1px solid #E5E5EC}
.main_menu .dept2 .dept2_all a{color:var(--brand);font-weight:600}.main_menu .dept2 .dept2_all a::after{content:' →'}
.quick{transition:opacity .2s,visibility 0s linear 0s}
#header:has(.has_sub:not(.sub_closed):hover)~.quick,#header:has(.has_sub:not(.sub_closed):focus-within)~.quick{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,visibility 0s linear .2s}
.mob_nav .mob_sub{padding:4px 0 8px;background:#F7F9FA;border-bottom:1px solid #f2f2f2}
.mob_nav .mob_sub a{padding:10px 20px 10px 36px;font-size:15px;font-weight:500;color:#505050;border-bottom:none}
.mob_nav .mob_sub a:last-child{color:var(--brand);font-weight:600}.mob_nav .mob_sub a:last-child::after{content:' →'}
.mob_nav .mob_sub a[aria-current="page"]{color:var(--brand);font-weight:600}
