/* Visual language from damsoyu.com, observed 2026-10-11.
   Isolated to the new site. Original PHP/CSS files remain untouched. */
@font-face {
  font-family: NanumSquare;
  src: url('/dsy-content-assets/fonts/NanumSquareR.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: NanumSquare;
  src: url('/dsy-content-assets/fonts/NanumSquareB.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: NanumSquare;
  src: url('/dsy-content-assets/fonts/NanumSquareEB.woff2') format('woff2');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #1c1c1c;
  --muted: #696969;
  --blue: #3b69b6;
  --deep: #152644;
  --pale: #f4f6f9;
  --paper: #fff;
  --line: #ddd;
  --font: NanumSquare, Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Apple SD Gothic Neo', 'Microsoft YaHei', sans-serif;
}
html[lang='zh-Hans'] { --font: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', NanumSquare, sans-serif; }
body { font-size: 17px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; line-height: 1.3; }
h2 { font-size: clamp(32px, 3.5vw, 50px); }
.wrap { max-width: 1400px; width: calc(100% - 80px); }
.eyebrow { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.button { border-radius: 0; font-size: 15px; font-weight: 700; padding: 15px 28px; }
.button:hover { transform: none; }
.text-link { font-size: 15px; font-weight: 700; }
.lead { font-size: 19px; }

/* White mobile header / navy inner-page header / clear homepage overlay. */
.topline { height: 32px; background: #f5f5f5; border: 0; }
.topline > .wrap { font-size: 11px; letter-spacing: .025em; }
.preview-label { border-color: #ccc; }
.header { background: var(--deep); color: #fff; border: 0; backdrop-filter: none; }
.header-inner { height: 80px; gap: 24px; }
.brand img { width: 180px; height: auto; filter: brightness(0) invert(1); }
.brand > span { display: none; }
nav:where(#navigation) { gap: clamp(22px, 2.2vw, 38px); font-size: 16px; font-weight: 800; }
nav:where(#navigation) > a:not(.button):hover { color: #c8dbff; }
nav:where(#navigation) .button.small { font-size: 14px; border-color: #a1b6da; background: transparent; }
nav:where(#navigation) .button.small:hover { background: var(--blue); }
.home-page .header { margin-bottom: -80px; background: #00000026; }
.home-page .header.is-scrolled { background: var(--deep); }

/* The official homepage uses an edge-to-edge visual and centered ruled slogan. */
.hospital-hero { position: relative; min-height: 720px; height: calc(100svh - 32px); max-height: 1050px; display: grid; place-items: center; background: #152644; color: #fff; isolation: isolate; }
.hospital-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; z-index: -2; }
.hospital-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #07132670, #08152794 60%, #0815279e); z-index: -1; }
.hospital-hero-content { text-align: center; padding-block: 130px 105px; }
.hospital-hero-content .eyebrow { color: #fff; font-size: 15px; letter-spacing: .12em; margin-bottom: 30px; }
.hospital-slogan { max-width: 1000px; margin: auto; padding-block: 34px; border-block: 1px solid #ffffff70; }
.hospital-slogan h1 { font-size: clamp(44px, 4.8vw, 70px); line-height: 1.2; font-weight: 800; letter-spacing: -.04em; }
.hospital-slogan h1 span { display: block; margin-top: 8px; }
.hospital-slogan p { color: #fff; max-width: 790px; margin: 28px auto 0; font-size: 21px; font-weight: 700; line-height: 1.7; }
.hospital-hero .hero-actions { justify-content: center; margin-top: 32px; gap: 32px; }
.hospital-hero .button { background: var(--blue); border-color: #7195d0; }
.hospital-hero .button:hover { background: #284f8e; }
.hospital-hero .text-link { color: #fff; }
.hospital-hero-bottom { position: absolute; bottom: 32px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .025em; }
.hospital-hero-bottom > a { display: flex; align-items: center; gap: 16px; font-size: 10px; letter-spacing: .12em; }
.hospital-hero-bottom > a > span { font-size: 23px; }

/* Main sections: blue accents, broad white spacing, and the site's curved corners. */
.section { padding-block: 100px; }
.treatment-section { background: #fff; padding-block: 100px; }
.split-section { gap: 80px; grid-template-columns: .8fr 1.2fr; }
.section-intro h2 { max-width: 440px; }
.section-intro > p:not(.eyebrow) { font-size: 17px; max-width: 420px; }
.interior-image { width: 100%; max-width: 430px; height: 235px; border-radius: 20px 20px 65px 20px; }
.treatment-list { display: grid; gap: 12px; }
.treatment-row { padding: 24px 28px; border: 1px solid #e4e7ec; border-radius: 12px 12px 40px 12px; background: #f8f8f6; align-items: center; }
.treatment-row:first-child { border-top: 1px solid #e4e7ec; }
.treatment-row:hover { border-color: var(--blue); background: #f3f6fc; }
.treatment-row h3 { font-size: 26px; color: var(--deep); }
.treatment-row p { font-size: 14px; max-width: 490px; }
.row-number { font-weight: 800; font-size: 14px; padding-top: 0; }
.section-heading { display: block; text-align: center; margin-bottom: 52px; }
.section-heading > div { max-width: 900px; margin-inline: auto; }
.section-heading > p { max-width: 750px; margin: 24px auto 0; font-size: 17px; }
.proof-grid { gap: 32px; }
.proof-item { border-top: 3px solid var(--blue); padding-top: 30px; }
.proof-item h3 { font-size: 27px; }
.proof-item p { font-size: 16px; max-width: 350px; }
.proof-item .text-link { margin-top: 28px; }
.proof-photo img { border-radius: 20px 20px 65px 20px; }
.guide-section { background: #f8f8f6; }
.guide-card { border-radius: 20px 20px 55px 20px; border-color: #e1e3e6; }
.guide-art { background: #e7eef8; }
.guide-art > span { font-family: var(--font); font-weight: 800; color: var(--blue); }
.art-1 { background: #e9edf3; }
.art-1 > span { color: #536986; }
.art-2 { background: #e7edf1; }
.art-2 > span { color: #50758b; }
.guide-card h3 { font-size: 25px; font-weight: 800; }
.guide-card p:not(.eyebrow) { font-size: 15px; }
.guide-card .text-link { font-size: 14px; }
.steps { gap: 25px; }
.step { border: 1px solid #dce3ed; border-radius: 16px 16px 42px 16px; padding: 28px; background: #f6f8fc; }
.step > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 16px; font-weight: 800; }
.step h3 { font-size: 23px; }
.step p { font-size: 15px; }
.visit-banner { background: #edf2f9; border-radius: 25px 25px 70px 25px; overflow: hidden; }
.visit-pattern { background: var(--deep); color: #fff; border: 0; }
.visit-pattern span, .visit-pattern b, .visit-pattern i { color: #fff; }
.visit-banner > div:last-child { padding: 50px; }
.visit-banner p:not(.eyebrow) { font-size: 17px; }
.faqs summary { font-size: 18px; font-weight: 800; }
.faqs p { font-size: 16px; }

/* The official columns use a centered title, grey search area and ruled list. */
.page-heading { text-align: center; padding-block: 65px 60px; }
.page-heading h1, html[lang='ko'] .page-heading h1 { font-size: 44px; }
.page-heading .eyebrow { margin-bottom: 12px; }
.page-heading .lead { margin: 24px auto 0; max-width: 800px; font-size: 18px; }
.library-tools { display: flex; flex-direction: column; padding: 0 0 28px; gap: 28px; background: #f1f1f1; border: 0; }
.filters { width: 100%; display: flex; gap: 0; background: #fff; border-bottom: 1px solid #ddd; }
.filters button { flex: 1; padding: 19px 14px; border: 1px solid #ddd; border-bottom: 0; border-radius: 0; font-size: 17px; font-weight: 800; background: #fff; }
.filters button + button { border-left: 0; }
.filters button[aria-pressed='true'] { background: var(--blue); color: #fff; border-color: var(--blue); }
.search { width: min(650px, calc(100% - 40px)); margin: 0; min-width: 0; border-radius: 0; border: 1px solid #ccc; background: #fff; }
.search input { font-size: 16px; }
.library-list { border-top: 2px solid #444; }
.library-row { grid-template-columns: 65px 1fr 36px; padding: 30px 24px; gap: 25px; }
.library-row h2 { font-size: 23px; font-weight: 800; }
.library-row p { font-size: 15px; }
.library-row:hover { background: #f8faff; }
.library-number { font-size: 17px; color: #555; }
.category-label { color: var(--blue); font-weight: 700; }
.result-count { padding-block: 25px 15px; }

/* Reading pages retain their answers, table of contents and source links. */
.breadcrumb { font-size: 13px; padding-top: 25px; }
.article-header { text-align: center; max-width: 1080px; padding-block: 40px; }
.article-header h1 { max-width: 1000px; margin-inline: auto; font-size: 44px; }
.article-description { max-width: 850px; margin-inline: auto; font-size: 19px; }
.article-byline { justify-content: center; gap: 30px; }
.article-layout { grid-template-columns: 235px minmax(0, 1fr); max-width: 1180px; gap: 65px; border-top: 2px solid #333; padding-top: 45px; }
.toc { border: 1px solid #ddd; border-top: 3px solid var(--blue); background: #fafafa; padding: 24px; }
.toc strong { color: var(--deep); font-size: 16px; font-weight: 800; }
.prose { font-size: 18px; line-height: 1.9; }
.prose p, .prose li { color: #333; }
.prose > p:first-child { border: 0; background: #f5f7fa; font-size: 19px; padding: 30px; }
.prose h2 { font-size: 30px; font-weight: 800; }
.prose th { background: #f1f4f9; color: var(--deep); }
.care-context { border-radius: 20px 20px 50px 20px; background: #f1f5fb; border: 1px solid #dae3f0; }
.care-context h2 { font-size: 27px; }
.related-grid > a { border-radius: 16px 16px 40px 16px; }
.related-grid h3 { font-weight: 800; }
.information-heading { grid-template-columns: 1fr; text-align: center; gap: 40px; padding-block: 40px 0; }
.information-heading > div { max-width: 1000px; margin-inline: auto; }
.information-heading h1 { font-size: 44px; }
.information-heading .lead { max-width: 850px; margin-inline: auto; font-size: 19px; }
.information-heading > img { width: 100%; height: 290px; border-radius: 0; object-position: center; }
.information-layout { gap: 75px; }
.information-aside { background: #f4f6fa; border-top: 3px solid var(--blue); }
.answer-section h2 { color: var(--deep); font-weight: 800; font-size: 31px; }
.doctor-monogram { background: #edf2f9; color: var(--blue); }
.research-row { border-top-color: #ddd; }
.research-year { color: var(--blue); }
.answer-callout { background: #f1f5fb; border-radius: 20px 20px 50px 20px; }
.contact-panel { border-top: 3px solid var(--blue); padding-top: 30px; }

.hospital-footer { background: linear-gradient(#f4f7fbe8, #f4f7fbe8), url('/dsy-content-assets/hospital-facade.jpg') center/cover; color: var(--deep); margin-top: 30px; }
.hospital-footer p, .hospital-footer .eyebrow, .hospital-footer a { color: var(--deep); }
.hospital-footer .footer-top { border-bottom: 1px solid #bdc8d8; padding-block: 70px; }
.hospital-footer .footer-top h2 { font-weight: 800; font-size: 38px; }
.hospital-footer .footer-top p:not(.eyebrow) { color: #526071; font-size: 16px; }
.hospital-footer .button.light { background: var(--blue); color: #fff; border-color: var(--blue); }
.hospital-footer .footer-bottom { border: 0; font-size: 14px; }
.hospital-footer .footer-bottom small { color: #526071; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { gap: 20px; }
  .brand img { width: 150px; }
  nav:where(#navigation) { gap: 18px; font-size: 14px; }
  .split-section { gap: 40px; }
  .article-layout { gap: 35px; grid-template-columns: 200px minmax(0, 1fr); }
  .information-layout { gap: 40px; }
  .step { padding: 22px; }
}

@media (max-width: 900px) {
  .header, .home-page .header, .home-page .header.is-scrolled { background: #fff; color: var(--ink); margin-bottom: 0; box-shadow: 0 1px 5px #00000012; }
  .header-inner { height: 70px; }
  .brand img { filter: none; width: 160px; }
  .menu-toggle { display: block; }
  nav:where(#navigation) { display: none; position: absolute; top: 70px; left: 0; right: 0; max-height: calc(100svh - 100px); overflow-y: auto; background: var(--deep); color: #fff; padding: 24px; font-size: 18px; border: 0; box-shadow: 0 10px 20px #0002; }
  nav:where(#navigation).is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  nav:where(#navigation) > a:not(.button) { padding: 16px 4px; border-bottom: 1px solid #ffffff26; }
  nav:where(#navigation) .button.small { margin-top: 20px; padding: 14px 18px; }
  .hospital-hero { min-height: 610px; height: auto; }
  .hospital-hero-content { padding-block: 100px 120px; }
  .hospital-slogan h1 { font-size: 48px; }
  .hospital-slogan p { font-size: 18px; }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .toc { padding: 22px; }
  .toc ol { columns: 2; }
  .information-layout { grid-template-columns: 1fr; }
  .information-aside { position: static; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 40px); }
  .topline { height: 31px; }
  .topline > .wrap { font-size: 10px; gap: 9px; }
  .topline > .wrap > span:first-child { display: none; }
  .preview-label { border: 0; padding: 0; }
  .languages { gap: 16px; }
  .header-inner { height: 62px; }
  .brand img { width: 150px; }
  nav:where(#navigation) { top: 62px; padding: 15px 20px 24px; }
  .hospital-hero { min-height: 600px; }
  .hospital-hero-image { object-position: 58% center; }
  .hospital-hero-content { padding-block: 65px 100px; }
  .hospital-hero-content .eyebrow { font-size: 10px; letter-spacing: .08em; margin-bottom: 22px; }
  .hospital-slogan { padding-block: 25px; }
  .hospital-slogan h1 { font-size: 37px; line-height: 1.25; }
  .hospital-slogan h1 span { margin-top: 10px; }
  .hospital-slogan p { font-size: 15px; margin-top: 23px; font-weight: 400; line-height: 1.75; }
  .hospital-hero .hero-actions { gap: 20px; margin-top: 26px; }
  .hospital-hero .button { font-size: 13px; padding: 13px 18px; gap: 20px; }
  .hospital-hero .text-link { font-size: 13px; }
  .hospital-hero-bottom { bottom: 23px; font-size: 10px; gap: 18px; }
  .hospital-hero-bottom > span { max-width: 205px; }
  .hospital-hero-bottom > a { font-size: 9px; gap: 9px; }
  .section, .treatment-section { padding-block: 58px; }
  h2 { font-size: 32px; }
  .eyebrow { font-size: 11px; margin-bottom: 17px; }
  .split-section { grid-template-columns: 1fr; gap: 28px; }
  .section-intro > p:not(.eyebrow) { font-size: 15px; }
  .interior-image { display: block; height: 180px; margin-top: 25px; border-radius: 15px 15px 45px 15px; }
  .treatment-row { padding: 21px 18px; grid-template-columns: 22px minmax(0,1fr) 22px; gap: 13px; border-radius: 10px 10px 30px 10px; }
  .treatment-row h3 { font-size: 23px; }
  .treatment-row p { font-size: 13px; }
  .row-number { font-size: 12px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading > p { font-size: 15px; margin-top: 18px; }
  .proof-item p { font-size: 15px; max-width: none; }
  .guide-card { grid-template-columns: 75px minmax(0,1fr); border-radius: 15px 15px 40px 15px; }
  .guide-card h3 { font-size: 22px; }
  .guide-card p:not(.eyebrow) { font-size: 13px; }
  .guide-card-body { padding: 25px 18px; }
  .guide-art > span { font-size: 45px; }
  .steps { grid-template-columns: 1fr; gap: 15px; }
  .step { padding: 25px; }
  .step h3 { font-size: 23px; }
  .step p { font-size: 14px; }
  .visit-banner { border-radius: 18px 18px 45px 18px; }
  .visit-banner > div:last-child { padding: 30px 25px; }
  .visit-banner p:not(.eyebrow) { font-size: 15px; }
  .faqs summary { font-size: 16px; }
  .faqs p { font-size: 14px; }
  .page-heading { padding-block: 38px; }
  .page-heading h1, html[lang='ko'] .page-heading h1 { font-size: 34px; }
  .page-heading .lead { font-size: 15px; margin-top: 18px; }
  .library-tools { gap: 20px; padding-bottom: 20px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .filters button { flex: 1 0 auto; min-width: 80px; padding: 14px 12px; font-size: 13px; }
  .search { width: calc(100% - 30px); }
  .search input { font-size: 14px; }
  .library-row { padding: 23px 4px; grid-template-columns: 23px minmax(0,1fr) 18px; gap: 12px; }
  .library-row h2 { font-size: 21px; line-height: 1.45; }
  .library-row p { font-size: 13px; }
  .library-number { font-size: 13px; }
  .breadcrumb { font-size: 11px; padding-top: 22px; }
  .article-header { padding-block: 30px; }
  .article-header h1, html[lang='ko'] .article-header h1, html[lang='zh-Hans'] .article-header h1 { font-size: 31px; line-height: 1.4; }
  .article-description { font-size: 16px; }
  .article-layout { padding-top: 25px; }
  .toc ol { columns: 1; }
  .prose { font-size: 16px; }
  .prose > p:first-child { font-size: 17px; padding: 22px; }
  .prose h2 { font-size: 25px; }
  .care-context { padding: 25px; }
  .care-context h2 { font-size: 24px; }
  .information-heading { padding-block: 30px 0; gap: 30px; }
  .information-heading h1, html[lang='zh-Hans'] .information-heading h1 { font-size: 34px; }
  .information-heading .lead { font-size: 16px; }
  .information-heading > img { height: 180px; border-radius: 0; }
  .information-layout { gap: 30px; }
  .answer-section h2 { font-size: 26px; }
  .hospital-footer .footer-top { padding-block: 40px; }
  .hospital-footer .footer-top h2 { font-size: 31px; }
  .hospital-footer .footer-top p:not(.eyebrow) { font-size: 14px; }
  .hospital-footer .footer-bottom { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Path labels and optional verified editorial credits wrap on small screens. */
.breadcrumb ol { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 13px; list-style:none; padding:0; margin:0; min-width:0; }
.breadcrumb li { display:flex; align-items:baseline; gap:13px; min-width:0; max-width:100%; }
.breadcrumb a { color:var(--blue); }
.breadcrumb [aria-current="page"] { overflow-wrap:anywhere; }
.breadcrumb-separator { flex:none; }
.page-editorial { padding-block:24px; margin-block:24px 48px; border-top:1px solid var(--line); color:var(--muted); font-size:14px; }
.page-editorial dl { display:flex; flex-wrap:wrap; gap:14px 32px; margin:0; }
.page-editorial dl>div { min-width:0; max-width:100%; }
.page-editorial dt { font-weight:700; margin-bottom:5px; }
.page-editorial dd { margin:0; overflow-wrap:anywhere; }
.page-editorial a { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
.page-editorial time { white-space:nowrap; }
