/* Independent Korean home, guide pages and visible keyword navigation. */
html[lang='ko'] .header-inner { gap: 24px; }
html[lang='ko'] #navigation { gap: clamp(14px, 1.65vw, 26px); font-size: 15px; }
.keyword-dropdown { position: relative; }
.keyword-dropdown > summary { min-height: 80px; font-size: 15px; font-weight: 800; gap: 7px; white-space: nowrap; }
.keyword-dropdown > summary:hover, .keyword-dropdown[open] > summary { color: #c8dbff; }
.keyword-dropdown .keyword-chevron { color: inherit; font-size: 16px; transform: none; }
.keyword-dropdown[open] .keyword-chevron { transform: rotate(180deg); }
.keyword-submenu { position: absolute; top: 100%; left: -22px; width: 300px; padding: 22px; background: #fff; color: var(--deep); border-top: 3px solid var(--blue); box-shadow: 0 15px 40px #091b3533; border-radius: 0 0 18px 4px; }
.keyword-overview { display: block; border-bottom: 1px solid #dce3ed; padding-bottom: 16px; margin-bottom: 8px; }
.keyword-overview small { display: block; color: #657185; font-size: 12px; font-weight: 400; margin-bottom: 4px; }
.keyword-overview strong { display: flex; justify-content: space-between; align-items: center; font-size: 18px; }
.keyword-submenu ul { list-style: none; padding: 0; margin: 0; }
.keyword-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; padding: 12px 0; }
.keyword-link > span { color: var(--blue); }
.keyword-link:hover, .keyword-overview:hover { color: var(--blue); }
.ko-hero .hospital-slogan { max-width: 1080px; }
.ko-hero .hospital-slogan h1 { font-size: clamp(38px, 4.1vw, 64px); word-break: keep-all; }
.ko-hero .hospital-slogan p { font-size: 20px; font-weight: 400; word-break: keep-all; text-wrap: pretty; }
.ko-quick-section { background: var(--deep); color: #fff; }
.ko-quick-links { display: grid; grid-template-columns: repeat(5, 1fr); }
.ko-quick-links > a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 27px 23px; border-right: 1px solid #ffffff26; }
.ko-quick-links > a:first-child { border-left: 1px solid #ffffff26; }
.ko-quick-links > a:hover { background: #223d67; }
.ko-quick-links > a > span:first-child { font-size: 11px; color: #b5c9ea; }
.ko-quick-links strong { font-size: 17px; font-weight: 700; white-space: nowrap; }
.ko-care-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.ko-care-card { padding: 30px; border: 1px solid #dae2ee; border-radius: 14px 14px 44px 14px; background: #fff; }
.ko-card-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; }
.ko-card-heading > span { color: var(--blue); font-size: 14px; font-weight: 800; }
.ko-card-heading p { font-size: 13px; color: #606f82; }
.ko-care-card h3 { font-size: 29px; color: var(--deep); }
.ko-care-card h3 > a { display: flex; align-items: center; justify-content: space-between; }
.ko-care-card h3 span { font-size: 22px; color: var(--blue); }
.ko-care-card > p { font-size: 16px; margin-top: 18px; line-height: 1.75; min-height: 56px; word-break: keep-all; }
.ko-care-card ul { padding: 12px 0 0; margin: 24px 0 0; list-style: none; border-top: 1px solid #dde4ee; }
.ko-care-card li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; gap: 12px; font-size: 15px; font-weight: 700; }
.ko-care-card li a:hover { color: var(--blue); }
.ko-care-card li span { color: var(--blue); }
.ko-care-photo { overflow: hidden; background: #eff3fa; border-radius: 14px 14px 44px 14px; }
.ko-care-photo > img { width: 100%; height: 210px; object-fit: cover; }
.ko-care-photo > div { padding: 30px; }
.ko-care-photo p { color: var(--blue); font-size: 14px; margin-bottom: 12px; }
.ko-care-photo h3 { font-size: 28px; margin-bottom: 18px; color: var(--deep); }
.ko-cost-band { background: #edf2f9; padding-block: 80px; }
.ko-cost-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.ko-cost-inner h2 { font-size: clamp(30px, 3vw, 43px); }
.ko-cost-inner > div > p:not(.eyebrow) { margin-top: 22px; font-size: 17px; }
.ko-cost-inner ol { list-style: none; padding: 0; margin: 0 0 28px; }
.ko-cost-inner li { display: flex; gap: 22px; padding-block: 20px; border-bottom: 1px solid #ccd7e7; }
.ko-cost-inner li > span { color: var(--blue); font-size: 13px; font-weight: 800; }
.ko-cost-inner h3 { font-size: 22px; margin-bottom: 9px; }
.ko-cost-inner li p { font-size: 15px; }
.ko-choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.ko-choice-grid > div { border-top: 3px solid var(--blue); padding-top: 28px; }
.ko-choice-grid span { color: var(--blue); font-size: 13px; }
.ko-choice-grid h3 { font-size: 25px; margin-block: 22px 16px; }
.ko-choice-grid p { font-size: 16px; }
.ko-choice-grid .text-link { margin-top: 22px; }
.ko-visit { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.ko-visit > img { width: 100%; height: 400px; object-fit: cover; border-radius: 18px 18px 65px 18px; }
.ko-visit .ko-address { color: var(--deep); font-size: 20px; font-weight: 800; margin-block: 28px 15px; }
.ko-visit p { font-size: 16px; }
.ko-care-heading { text-align: center; padding-block: 55px 65px; }
.ko-care-heading h1 { font-size: clamp(35px, 4vw, 53px); line-height: 1.35; }
.ko-care-heading .lead { margin: 22px auto 16px; max-width: 780px; }
.ko-draft-note { font-size: 12px; color: #697487; }
.ko-care-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); max-width: 1160px; gap: 65px; align-items: start; }
.ko-care-heading, .ko-care-body { word-break: keep-all; overflow-wrap: break-word; }
.ko-care-toc { position: sticky; top: 105px; border-top: 3px solid var(--blue); background: #f4f6fa; padding: 24px; }
.ko-care-toc strong { font-size: 16px; }
.ko-care-toc ol { padding-left: 18px; margin: 20px 0; font-size: 14px; color: #58687d; }
.ko-care-toc li { padding-block: 8px; }
.ko-care-toc a:hover { color: var(--blue); text-decoration: underline; }
.ko-care-toc .text-link { font-size: 13px; }
.ko-direct-answer { padding: 30px; background: #edf2f9; border-radius: 0 0 35px 0; border-left: 3px solid var(--blue); }
.ko-direct-answer .eyebrow { margin-bottom: 12px; }
.ko-direct-answer > p:last-child { font-size: 19px; color: var(--deep); line-height: 1.9; }
.ko-answer { padding-block: 40px; border-bottom: 1px solid #dce3ec; }
.ko-answer h2 { font-size: 30px; color: var(--deep); line-height: 1.5; margin-bottom: 22px; word-break: keep-all; }
.ko-answer > p, .ko-answer li { color: #38475b; font-size: 18px; line-height: 1.9; }
.ko-answer ul { padding-left: 22px; margin: 22px 0 0; }
.ko-answer li { padding-block: 4px; }
.ko-answer .text-link { margin-top: 22px; }
.ko-source { display: block; margin-top: 20px; font-size: 13px; color: #486589; text-decoration: underline; text-underline-offset: 3px; }
.ko-consult-card { margin-top: 35px; padding: 32px; background: #edf2f9; border-radius: 18px 18px 45px 18px; }
.ko-consult-card h2 { font-size: 28px; }
.ko-consult-card p { margin-block: 20px; font-size: 17px; }
@media (min-width:1101px) and (max-width:1250px) {
 html[lang='ko'] .brand img { width: 145px; }
 html[lang='ko'] #navigation, .keyword-dropdown > summary { font-size: 14px; }
 html[lang='ko'] #navigation { gap: 14px; }
 html[lang='ko'] nav:where(#navigation) .button.small { padding-inline: 12px; }
}
/* Six Korean nav:where(#navigation) entries need the compact menu earlier than EN/CN. */
@media (max-width:1100px) {
 html[lang='ko'] .header, html[lang='ko'] .home-page .header { background: #fff; color: var(--ink); margin-bottom: 0; box-shadow: 0 1px 5px #00000012; }
 html[lang='ko'] .header-inner { height: 70px; }
 html[lang='ko'] .brand img { filter: none; width: 160px; }
 html[lang='ko'] .menu-toggle { display: block; }
 html[lang='ko'] #navigation { display: none; position: absolute; top: 70px; left: 0; right: 0; max-height: calc(100dvh - 105px); overflow-y: auto; overscroll-behavior: contain; background: var(--deep); color: #fff; padding: 18px 24px 28px; border: 0; }
 html[lang='ko'] #navigation.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
 html[lang='ko'] #navigation > a:not(.button) { font-size: 17px; padding: 18px 4px; border-bottom: 1px solid #ffffff26; }
 html[lang='ko'] #navigation .button.small { margin-top: 20px; padding: 14px 18px; }
 .keyword-dropdown { border-bottom: 1px solid #ffffff26; }
 .keyword-dropdown > summary { font-size: 17px; min-height: 62px; padding-inline: 4px; }
 .keyword-submenu { position: static; width: 100%; box-shadow: none; padding: 20px; margin-bottom: 14px; border: 0; border-radius: 6px 6px 20px 6px; }
 .keyword-link { font-size: 15px; padding-block: 13px; }
 .ko-quick-links > a { padding-inline: 15px; }
 .ko-quick-links > a > span:first-child { display: none; }
 .ko-quick-links strong { font-size: 15px; }
 .ko-care-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .ko-cost-inner { gap: 35px; }
 .ko-care-layout { grid-template-columns: 210px minmax(0,1fr); gap: 35px; }
 .ko-visit { gap: 35px; }
}
@media (max-width:700px) {
 html[lang='ko'] .header-inner { height: 62px; }
 html[lang='ko'] #navigation { top: 62px; padding: 12px 20px 24px; max-height: calc(100dvh - 96px); }
 html[lang='ko'] .brand img { width: 150px; }
 .ko-hero { min-height: 550px; }
 .ko-hero .hospital-slogan h1 { font-size: clamp(28px,7.4vw,42px); }
 .ko-hero .hospital-slogan p { font-size: 16px; }
 .ko-hero .hospital-hero-content { padding-block: 70px 95px; }
 .ko-hero .hospital-hero-bottom > span { max-width: 245px; }
 .ko-quick-links { width: calc(100% - 40px); grid-template-columns: repeat(2,1fr); }
 .ko-quick-links > a { padding: 19px 12px; border: 0; border-bottom: 1px solid #ffffff26; }
 .ko-quick-links > a:first-child { border-left: 0; }
 .ko-quick-links > a:last-child { grid-column: 1/-1; }
 .ko-care-grid, .ko-cost-inner, .ko-choice-grid, .ko-visit, .ko-care-layout { grid-template-columns: 1fr; }
 .ko-care-card { padding: 26px; }
 .ko-care-card > p { min-height: 0; }
 .ko-care-card h3 { font-size: 27px; }
 .ko-care-card li a { font-size: 16px; padding-block: 12px; }
 .ko-care-photo { display: none; }
 .ko-cost-band { padding-block: 55px; }
 .ko-cost-inner .button { font-size: 14px; padding: 15px 18px; gap: 14px; }
 .ko-choice-grid { gap: 32px; }
 .ko-visit > img { height: 280px; }
 .ko-visit .ko-address { font-size: 18px; }
 .ko-care-heading { padding-block: 35px 40px; }
 .ko-care-heading h1 { font-size: 34px; }
 .ko-care-heading .lead { font-size: 17px; }
 .ko-care-toc { position: static; padding: 22px; }
 .ko-direct-answer { padding: 24px; }
 .ko-direct-answer > p:last-child { font-size: 18px; }
 .ko-answer { padding-block: 30px; }
 .ko-answer h2 { font-size: 26px; }
 .ko-answer > p, .ko-answer li { font-size: 17px; }
 .ko-consult-card { padding: 25px; }
 .ko-consult-card h2 { font-size: 25px; }
}

/* Patient information section; search-keyword navigation remains unchanged. */
html[lang='ko'] .home-page .header { margin-bottom:0; background:var(--deep); }
.ko-reader-hero { padding-block:70px 55px; background:linear-gradient(115deg,#f0f4fa,#fafbfd); }
.ko-reader-intro { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr); gap:65px; align-items:center; }
.ko-reader-intro h1 { color:var(--deep); font-size:clamp(38px,4.5vw,65px); line-height:1.25; margin-block:20px; word-break:keep-all; }
.ko-reader-intro .lead { line-height:1.9; margin-bottom:24px; word-break:keep-all; }
.ko-reading-note { padding:32px; border-left:3px solid var(--blue); background:#fff; box-shadow:0 12px 35px #15264407; }
.ko-note-label { font-size:17px; font-weight:800; color:var(--deep); }
.ko-reading-note ol { padding-left:22px; margin-block:20px; }
.ko-reading-note li { padding-block:7px; font-size:17px; }
.ko-reading-note p { font-size:14px; line-height:1.8; }
.ko-starting-points { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:45px; }
.ko-starting-points > a { display:flex; flex-direction:column; gap:15px; padding:26px; background:#fff; border:1px solid #d8e1ee; border-radius:10px; font-weight:400; }
.ko-starting-points > a:hover { border-color:var(--blue); color:var(--deep); }
.ko-starting-points h2 { font-size:22px; line-height:1.45; word-break:keep-all; }
.ko-starting-points p { font-size:16px; line-height:1.8; }
.ko-starting-points .text-link { margin-top:auto; padding-top:5px; }
.ko-help-card { padding:35px; border-radius:14px 14px 44px 14px; background:#edf2f9; }
.ko-help-card h3 { font-size:28px; margin-block:25px; }
.ko-help-card > p:not(.eyebrow) { font-size:17px; line-height:1.9; }
.ko-help-card .text-link { margin-top:25px; display:inline-block; }
.ko-care-body { min-width:0; }
.ko-care-heading h1 { max-width:940px; margin-inline:auto; }
.ko-care-toc { max-height:calc(100dvh - 140px); overflow-y:auto; }
.ko-table-wrap { max-width:100%; overflow-x:auto; margin-top:25px; border:1px solid #d5dfea; border-radius:9px; background:#fff; }
.ko-guide-table { width:100%; border-collapse:collapse; table-layout:fixed; min-width:550px; }
.ko-guide-table caption { text-align:left; padding:15px 20px; font-size:14px; color:#4c5f78; background:#f6f8fb; }
.ko-guide-table th,.ko-guide-table td { border-bottom:1px solid #d5dfea; padding:19px 20px; text-align:left; vertical-align:top; font-size:16px; line-height:1.85; color:#293c56; overflow-wrap:break-word; word-break:keep-all; }
.ko-guide-table thead th { background:#e8eff8; color:var(--deep); font-weight:800; }
.ko-guide-table th:first-child { width:24%; }
.ko-guide-table tbody th { font-weight:800; background:#f9fbfd; }
.ko-guide-table tbody tr:last-child > * { border-bottom:0; }
.ko-insurance-note { padding:28px; background:#fff; border-left:3px solid var(--blue); margin-top:28px; }
.ko-insurance-note strong { font-size:21px; color:var(--deep); }
.ko-insurance-note p { margin-top:12px; font-size:17px; line-height:1.85; }
.ko-cost-summary { margin-top:24px; font-size:17px; }
.ko-answer > .ko-table-note { font-size:14px; margin-top:15px; color:#657185; }
.ko-question-sheet { margin-top:30px; padding:28px; background:#f2f6fb; border-radius:9px; }
.ko-question-sheet h3 { font-size:23px; color:var(--deep); }
.ko-question-sheet ol { padding-left:23px; margin-bottom:0; }
.ko-question-sheet li { padding-block:7px; }
.ko-contact-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:stretch; }
.ko-contact-actions .button { justify-content:center; gap:12px; }
.ko-contact-actions .outline { background:#fff; color:var(--deep); border:1px solid #97adc9; }
.ko-contact-actions .outline:hover { background:#edf2f9; }
.ko-footer-phone { display:block; margin-top:18px; font-weight:800; }
.ko-contact-sticky { display:none; }
.ko-official-links { border-block:1px solid #d7e0ec; padding-block:35px; display:grid; grid-template-columns:1.2fr 1fr; gap:40px; align-items:center; }
.ko-official-links h2 { font-size:28px; margin-block:12px 16px; }
.ko-official-links p { font-size:16px; }
.ko-official-links > div:last-child { display:grid; }
.ko-official-links > div:last-child a { display:flex; justify-content:space-between; padding-block:14px; border-bottom:1px solid #e4e9f0; font-weight:700; }
.ko-bottom-contact { padding-bottom:70px; }
@media (max-width:1100px) {
 html[lang='ko'] .home-page .header { background:#fff; }
 .ko-reader-intro { gap:30px; }
 .ko-reader-intro .lead { font-size:17px; }
 .ko-desktop-break { display:none; }
 .ko-starting-points { gap:12px; }
 .ko-starting-points > a { padding:22px; }
 .ko-starting-points h2 { font-size:21px; }
}
@media (max-width:700px) {
 html[lang='ko'] { scroll-padding-bottom:90px; }
 html[lang='ko'] body { padding-bottom:calc(88px + env(safe-area-inset-bottom,0px)); }
 .ko-reader-hero { padding-block:38px; }
 .ko-reader-intro,.ko-starting-points,.ko-official-links { grid-template-columns:1fr; }
 .ko-reader-intro h1 { font-size:clamp(33px,8.6vw,48px); margin-block:16px 24px; }
 .ko-reader-intro .lead { font-size:17px; }
 .ko-reading-note { padding:24px; }
 .ko-reading-note li { font-size:16px; }
 .ko-starting-points { margin-top:28px; }
 .ko-starting-points > a { gap:10px; }
 .ko-starting-points h2 { font-size:22px; }
 .ko-help-card { padding:27px; }
 .ko-help-card h3 { font-size:26px; }
 .ko-guide-table { min-width:520px; }
 .ko-guide-table th,.ko-guide-table td { padding:14px; font-size:15px; }
 .ko-table-wrap::before { content:'표를 좌우로 밀어서 읽어보세요.'; display:block; padding:10px 14px; color:#52657f; font-size:12px; }
 .ko-insurance-note { padding:23px; }
 .ko-insurance-note strong { font-size:20px; }
 .ko-insurance-note p { font-size:16px; }
 .ko-care-toc { max-height:none; overflow:visible; }
 .ko-care-heading h1 { font-size:31px; }
 .ko-question-sheet { padding:23px; }
 .ko-question-sheet h3 { font-size:22px; }
 .ko-contact-actions { flex-direction:column; align-items:stretch; }
 .ko-contact-actions .button { font-size:15px; padding-inline:12px; }
 .ko-official-links { gap:20px; }
 .ko-official-links h2 { font-size:25px; }
 .ko-bottom-contact { padding-bottom:45px; }
 .ko-contact-sticky { position:fixed; z-index:40; inset:auto 0 0; display:grid; grid-template-columns:1fr 1fr; gap:0; background:#fff; padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px)); box-shadow:0 -3px 15px #15264415; }
 .ko-contact-sticky > a { display:flex; justify-content:center; align-items:center; gap:9px; min-height:48px; font-size:15px; font-weight:800; color:var(--deep); }
 .ko-contact-sticky > a:last-child { color:#fff; background:var(--blue); border-radius:5px; }
 .ko-contact-sticky > a:first-child:hover { color:var(--blue); }
 .ko-contact-sticky > a:last-child:hover { color:#fff; background:#2e5595; }
}
