/* 진료 안내 */
.lgtabs .tabs a[aria-current]{background:var(--nv);color:#fff}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gsec{padding:clamp(56px,7vw,110px) 0 0}
.gsec:last-of-type{padding-bottom:clamp(64px,8vw,120px)}
.gt{margin:0 0 clamp(24px,3vw,40px);font-weight:400;font-size:clamp(26px,2.3vw,38px);letter-spacing:-.035em;color:var(--nv)}
.ghead{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:clamp(24px,3vw,40px)}
.ghead .gt{margin:0}

/* 진료 시간 */
.ghours{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(16px,2vw,28px)}
.gbox{display:flex;flex-direction:column;padding:clamp(28px,3vw,48px);border-radius:28px;background:#F7F9FB;border:1px solid #E3E9EF}
.gbox h3{margin:0 0 clamp(18px,2vw,28px);font-size:clamp(18px,1.4vw,22px);font-weight:600;color:var(--bl)}
.glist{margin:0}
.glist div{display:grid;grid-template-columns:minmax(110px,9em) 1fr;align-items:baseline;gap:16px;padding:16px 0;border-top:1px solid #DDE4EC}
.glist div:first-child{border-top:0;padding-top:0}
.glist dt{font-size:16px;color:var(--tx)}
.glist dd{margin:0;font-size:clamp(22px,1.9vw,30px);font-weight:500;letter-spacing:-.02em;color:var(--nv)}
.glist dd small{margin-left:10px;font-size:14px;font-weight:500;color:var(--bl);letter-spacing:0}
.glist dd.x{color:#B4561A}
.gtel{margin-top:auto;padding-top:clamp(24px,2.6vw,36px);display:flex;align-items:center;gap:14px;color:var(--nv)}
.gtel svg{flex:none;width:48px;height:48px;padding:13px;border-radius:50%;background:var(--nv);color:#fff}
.gtel span{display:flex;flex-direction:column;font-size:clamp(22px,1.9vw,28px);font-weight:600;letter-spacing:.01em}
.gtel small{font-size:13.5px;font-weight:500;color:var(--tx);letter-spacing:0}
.gbox.dark{background:var(--nv);border-color:var(--nv);color:#fff}
.gbox.dark h3{color:#F3A65A}
.gbig{margin:0;font-size:clamp(18px,1.4vw,21px);line-height:1.6;color:rgba(255,255,255,.85)}
.gbig b{display:block;margin-top:6px;font-size:clamp(30px,2.8vw,46px);font-weight:500;letter-spacing:-.02em;color:#fff}
.gnote{margin:18px 0 0;font-size:15px;line-height:1.7;color:rgba(255,255,255,.75)}
.gbox.dark .gtel{color:#fff}
.gbox.dark .gtel svg{background:var(--am)}
.gbox.dark .gtel small{color:rgba(255,255,255,.7)}

/* 의료진 진료 일정 (요일당 한 칸) */
.gsched{position:relative;overflow-x:auto;border:1px solid #DDE4EC;border-radius:22px}
.gsched table{width:100%;min-width:640px;border-collapse:collapse;text-align:center;table-layout:fixed}
.gsched thead th:first-child{width:20%}
.gsched th,.gsched td{padding:20px 8px;font-size:15.5px;border-bottom:1px solid #E8EDF2}
.gsched thead th{padding:16px 8px;background:var(--nv);color:#fff;font-weight:500;border:0}
.gsched tbody tr:last-child th,.gsched tbody tr:last-child td{border-bottom:0}
.gsched .who{width:20%;text-align:left;padding-left:clamp(16px,2vw,28px);background:#F7F9FB;border-right:1px solid #E8EDF2}
.gsched .who a{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 6px;color:var(--nv);font-weight:400}
.gsched .who b{font-size:19px;font-weight:600}
.gsched .who small{flex-basis:100%;font-size:13.5px;color:var(--bl);font-weight:500}
.gsched .who a:hover b{text-decoration:underline;text-underline-offset:4px}
.gsched .dot,.glegend .dot{display:inline-block;width:12px;height:12px;border-radius:50%;background:var(--bl)}
.gsched td.off{color:#B4561A;font-weight:600;background:#FFF6EE}
.gsched td.half{color:#B4561A;font-weight:600;background:#FFF9F3}
.glegend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin:16px 4px 0;font-size:14.5px;color:var(--tx)}
.glegend span{display:inline-flex;align-items:center;gap:8px;color:var(--nv);font-weight:500}
.glegend .offk,.glegend .halfk{display:inline-block;width:14px;height:14px;border-radius:4px;background:#FFE3CC;border:1px solid #F3B98A}
.glegend .halfk{background:#FFF1E4;border-style:dashed}

/* 진료 분야 */
.gcls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,1.6vw,24px)}
.gcl{display:flex;flex-direction:column;padding:clamp(22px,2.2vw,32px);border-radius:22px;border:1px solid #DDE4EC;background:#fff}
.gcl h3{margin:0 0 14px;padding-bottom:14px;border-bottom:2px solid var(--nv);font-size:clamp(19px,1.5vw,23px);font-weight:600;letter-spacing:-.02em;color:var(--nv)}
.gcl ul{margin:0 0 18px;padding:0;list-style:none}
.gcl li{position:relative;padding:5px 0 5px 16px;font-size:15.5px;line-height:1.55;color:var(--tx)}
.gcl li::before{content:"";position:absolute;left:2px;top:.95em;width:6px;height:6px;border-radius:50%;background:var(--am)}
.gmore{margin-top:auto;align-self:flex-start;font-size:14.5px;font-weight:600;color:var(--bl);border-bottom:1px solid currentColor;padding-bottom:2px}
.gmore:hover{color:var(--nv)}

/* 오시는 길 띠 */
.gvisit{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding:clamp(28px,3vw,44px) clamp(24px,3.4vw,56px);border-radius:28px;background:#EEF2F5}
.gvisit h2{margin:0 0 6px;font-size:clamp(22px,1.9vw,30px);font-weight:500;letter-spacing:-.03em;color:var(--nv)}
.gvisit p{margin:0;font-size:16px;color:var(--tx)}
.gvb{display:flex;gap:10px;flex-wrap:wrap}

@media(max-width:1100px){.gcls{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.ghours{grid-template-columns:1fr}}
@media(max-width:600px){
 .gcls{grid-template-columns:1fr}
 .glist div{grid-template-columns:1fr;gap:2px}
 .gsched table{min-width:520px}
 .gsched th,.gsched td{padding:14px 4px;font-size:13.5px}
 .gsched .who b{font-size:16px}
}
@media(max-width:600px){
 .gsched table{min-width:0}
 .gsched thead th:first-child{width:27%}
 .gsched .who{padding-left:12px}
 .gsched .who a{display:block}
 .gsched .who b{font-size:15.5px}
 .gsched .who small{display:block;font-size:12px}
 .gsched th,.gsched td{padding:14px 2px;font-size:12.5px;line-height:1.35;word-break:keep-all}
 .gsched .dot{width:10px;height:10px}
}
/* 휴진 구분 강화 */
.gsched td.off,.gsched td.half{background:none}
.gsched .pk{display:inline-block;padding:6px 12px;border-radius:999px;font-size:14px;font-weight:600;line-height:1.2;white-space:nowrap}
.gsched .pk.full{background:#E5762B;color:#fff}

.gsched .pk.am{display:block;width:max-content;margin:0 auto 4px;padding:0;font-size:12.5px;font-weight:500;color:var(--bl);background:none}
.gsched .pk.pm{border:1.5px solid #E5762B;color:#C05A17;background:#fff}
.glegend .offk{background:#E5762B;border-color:#E5762B;border-radius:999px;width:22px}
.glegend .halfk{background:#fff;border:1.5px solid #E5762B;border-radius:999px;width:22px}
@media(max-width:600px){
 .gsched .pk{padding:4px 6px;font-size:11.5px;white-space:normal}
 .gsched .pk.am{font-size:10.5px}
}
@media(max-width:600px){
 .gsched .pk.full,.gsched .pk.pm{display:inline-grid;place-items:center;width:40px;height:40px;padding:0;border-radius:50%;font-size:11px;line-height:1.15;text-align:center}
 .glegend .offk,.glegend .halfk{width:14px;border-radius:50%}
}
.gcl{overflow:hidden;padding-top:0}
.gcl .gimg{display:block;margin:0 calc(-1*clamp(22px,2.2vw,32px)) 20px;aspect-ratio:16/9;overflow:hidden;background:#EAF2FA}
.gcl .gimg img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.gcl:hover .gimg img{transform:scale(1.04)}
