﻿@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&family=Noto+Serif+KR:wght@500;600;700&display=swap");

:root {
  --ink: #2b2723;
  --muted: #71675d;
  --line: #dbe3e8;
  --paper: #ffffff;
  --soft: #faf6f0;
  --mint: #2f8a7a;
  --deep: #4b3e33;
  --coral: #d96f52;
  --gold: #b88a3d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans KR", "Pretendard", "Apple SD Gothic Neo", Arial, sans-serif;
  background: var(--soft);
  letter-spacing: 0;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(219, 227, 232, 0.9);
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(14px);
}

body[data-page="home"] .home-floating-header {
  position: absolute;
  top: 24px;
  left: 50%;
  width: min(1080px, calc(100% - 48px));
  padding: 13px 24px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 252, 247, 0.68);
  box-shadow: none;
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

body[data-page="home"] .home-floating-header .brand,
body[data-page="home"] .home-floating-header .main-nav {
  text-shadow: none;
}

body[data-page="home"] .home-floating-header .brand small {
  color: rgba(75, 62, 51, 0.66);
}

body[data-page="home"] .home-floating-header .main-nav {
  color: var(--deep);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 230px;
}

.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 40px;
  padding: 1px 0 2px;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.brand small {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: #574a3f;
  font-size: 15px;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 13px;
  line-height: 1;
  transition: color 160ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 5px;
  left: 13px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.page-hero {
  display: grid;
  min-height: 420px;
  align-items: end;
  padding: 96px clamp(20px, 5vw, 72px) 72px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78)),
    var(--page-hero-image, url("./assets/hero.jpg"))
      center / cover;
}

.hospital-hero {
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(248, 243, 237, 0.98), rgba(255, 255, 255, 0.96) 58%, rgba(236, 226, 216, 0.82));
  color: #3f2d23;
}

.hospital-hero .eyebrow,
.hospital-hero p {
  color: #756457;
}

.hospital-intro,
.clinic-space-section {
  padding: 82px clamp(20px, 5vw, 72px);
}

.hospital-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  background: #fff;
}

.hospital-intro-copy {
  max-width: 620px;
}

.hospital-intro-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.clinic-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
}

.clinic-facts div {
  padding: 18px;
  border: 1px solid rgba(75, 62, 51, 0.12);
  border-radius: 8px;
  background: var(--soft);
}

.clinic-facts dt {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.clinic-facts dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
}

.intro-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(43, 39, 35, 0.16);
}

.intro-photo::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.intro-photo img {
  display: block;
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: center;
}

.clinic-space-section {
  background: var(--soft);
}

.compact-head,
.clinic-space-section .section-head {
  max-width: 760px;
}

.space-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 18px;
  margin-top: 28px;
}

.space-feature {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(75, 62, 51, 0.1);
}

.space-feature img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
}

.space-feature figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(14px);
}

.space-feature span,
.space-stack span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.space-feature strong,
.space-stack strong {
  display: block;
  margin-top: 7px;
  font-size: 21px;
  line-height: 1.35;
}

.space-stack {
  display: grid;
  gap: 14px;
}

.space-stack article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  min-height: 174px;
  padding: 14px;
  border: 1px solid rgba(75, 62, 51, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(75, 62, 51, 0.07);
}

.space-stack img {
  display: block;
  width: 100%;
  height: 146px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
}

.space-stack p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

body[data-page="notice"] {
  --page-hero-image: url("./assets/hero-notice.jpg");
}

body[data-page="philosophy"] {
  --page-hero-image: url("./assets/hero-philosophy.jpg");
}

body[data-page="doctors"] {
  --page-hero-image: url("./assets/hero-doctors.jpg");
}

body[data-page="hospital"] {
  --page-hero-image: url("./assets/hero-hospital.jpg");
  background: #fff;
}

body[data-page="hospital"] main {
  background: #fff;
}

body[data-page="location"] {
  --page-hero-image: url("./assets/hero-location.jpg");
}

body[data-page="medical"] {
  --page-hero-image: url("./assets/hero-notice.jpg");
}

.medical-hero {
  background:
    linear-gradient(90deg, rgba(255, 252, 247, 0.96), rgba(255, 252, 247, 0.76), rgba(255, 252, 247, 0.42)),
    var(--page-hero-image, url("./assets/hero-notice.jpg")) center / cover;
}

.medical-archive {
  padding: 72px clamp(20px, 5vw, 72px);
}

.medical-lead {
  max-width: 760px;
}

.medical-lead p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0;
}

.medical-search {
  max-width: 760px;
  margin: 28px 0 24px;
}

.medical-search label {
  display: block;
  margin-bottom: 9px;
  color: var(--deep);
  font-weight: 900;
}

.medical-search div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(75, 62, 51, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(75, 62, 51, 0.07);
}

.medical-search input {
  width: 100%;
  min-height: 44px;
  border: 0;
  outline: 0;
  padding: 0 12px;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.medical-search button {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.medical-searchable.is-hidden {
  display: none;
}

.search-empty {
  margin: 20px 0 0;
  padding: 22px;
  border: 1px solid rgba(75, 62, 51, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
}

.topic-strip span {
  padding: 9px 12px;
  border: 1px solid rgba(75, 62, 51, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
}

.featured-post {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
  padding: 30px;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
}

.featured-post span,
.medical-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.featured-post h3 {
  margin-top: 12px;
  font-size: 28px;
}

.featured-post p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.featured-post a {
  display: grid;
  min-height: 44px;
  padding: 0 18px;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--deep);
  font-weight: 900;
}

.medical-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.medical-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(75, 62, 51, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(75, 62, 51, 0.07);
}

.medical-card h3 {
  margin-top: 14px;
}

.medical-card p {
  color: var(--muted);
  line-height: 1.7;
}

.home-hero {
  display: grid;
  min-height: calc(100vh - 76px);
  align-items: center;
  padding: 96px clamp(20px, 6vw, 96px);
  background:
    linear-gradient(90deg, rgba(43, 39, 35, 0.86), rgba(43, 39, 35, 0.52), rgba(43, 39, 35, 0.16)),
    url("./assets/hero.jpg") center / cover;
  color: #fff;
}

.home-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 5vw, 72px);
  width: min(1032px, calc(100% - 96px));
  margin: 0 auto;
  align-items: center;
}

.home-hero-single {
  grid-template-columns: minmax(0, 1fr);
}

.home-copy {
  max-width: 900px;
}

.home-hero .eyebrow {
  color: #cfe9e4;
}

.home-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.16;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.main-message {
  display: block;
}

.main-message span {
  display: block;
}

.main-message em {
  font-style: normal;
  color: #f4d8a7;
}

.home-hero p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.75;
}

.home-main {
  background: #fff;
}

.home-hero-renewed {
  position: relative;
  min-height: 690px;
  padding: 170px 0 120px;
  background:
    linear-gradient(90deg, rgba(43, 39, 35, 0.72), rgba(43, 39, 35, 0.38), rgba(255, 255, 255, 0.1)),
    url("./assets/hero.jpg") center / cover;
}

.home-hero-renewed .home-copy {
  max-width: 1010px;
}

.home-hero-renewed .eyebrow {
  margin-bottom: 16px;
  color: #ead9b5;
  font-size: 12px;
  letter-spacing: 0.3em;
}

.home-hero-renewed h1 {
  max-width: 760px;
  font-size: clamp(38px, 5.4vw, 68px);
}

.home-notice-bar {
  position: absolute;
  left: 50%;
  bottom: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  width: min(1032px, calc(100% - 96px));
  min-height: 66px;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(43, 39, 35, 0.18);
  transform: translateX(-50%);
}

.home-notice-bar a {
  display: flex;
  align-items: center;
  min-width: 0;
}

.home-notice-bar a:first-child {
  gap: 22px;
  padding: 0 28px;
}

.home-notice-bar strong {
  color: var(--deep);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.home-notice-bar span {
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-notice-bar a:last-child {
  justify-content: center;
  background: linear-gradient(135deg, var(--deep), #6a5543);
  color: #fff;
  font-weight: 900;
}

.home-service-panel {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 5vw, 72px) 64px;
  background: #fff;
}

.home-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(300px, 0.96fr);
  width: min(1120px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(75, 62, 51, 0.12);
  border-top: 0;
  background: #fff;
  box-shadow: 0 24px 68px rgba(75, 62, 51, 0.1);
}

.home-menu-card {
  position: relative;
  min-height: 220px;
  padding: 34px 28px 28px;
  border-right: 1px solid rgba(75, 62, 51, 0.12);
  background: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-menu-card:hover {
  background: #fffcf7;
  transform: translateY(-3px);
}

.home-menu-card .service-icon {
  display: none;
}

.home-menu-card small {
  position: absolute;
  top: 34px;
  right: 28px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.home-menu-card strong,
.home-contact-card strong {
  display: block;
  color: var(--deep);
  font-size: 21px;
  font-weight: 900;
}

.home-menu-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-menu-feature {
  grid-column: 1 / 4;
  min-height: 190px;
  padding: 38px;
  border-top: 1px solid rgba(75, 62, 51, 0.12);
  background:
    linear-gradient(90deg, rgba(75, 62, 51, 0.95), rgba(146, 105, 52, 0.72)),
    url("./assets/hero-hospital.jpg") center / cover;
  color: #fff;
}

.home-menu-feature span {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 900;
}

.home-menu-feature strong {
  color: #fff;
  font-size: 24px;
}

.home-menu-feature p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
}

.home-contact-card {
  grid-column: 4;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 38px 30px;
  background: var(--deep);
  color: #fff;
}

.home-contact-card > span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
}

.home-contact-card strong {
  margin-top: 10px;
  color: #f0d29b;
  font-size: 30px;
}

.home-contact-card dl {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.home-contact-card dt {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 800;
}

.home-contact-card dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.65;
}

.home-contact-card > div:last-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.home-contact-card a {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

body[data-page="home"] .service-icon {
  border-color: rgba(184, 138, 61, 0.36);
  background: #fff8ec;
}

body[data-page="home"] .service-icon-sleep::before,
body[data-page="home"] .service-icon-nose::before,
body[data-page="home"] .service-icon-sinus::before,
body[data-page="home"] .service-icon-balance::before,
body[data-page="home"] .service-icon-ear::before,
body[data-page="home"] .service-icon-earcare::before,
body[data-page="home"] .service-icon-aid::before,
body[data-page="home"] .service-icon-throat::before {
  border-color: var(--gold);
}

body[data-page="home"] .service-icon-sleep::after,
body[data-page="home"] .service-icon-nose::after,
body[data-page="home"] .service-icon-balance::after,
body[data-page="home"] .service-icon-aid::after,
body[data-page="home"] .service-icon-earcare::after,
body[data-page="home"] .service-icon-throat::after {
  background: var(--deep);
}

body[data-page="home"] .service-icon-ear::after {
  border-right-color: var(--deep);
  border-bottom-color: var(--deep);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.home-hero .secondary-btn {
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep);
}

.home-panel {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.92);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.home-panel p {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.home-panel strong {
  font-size: 24px;
  line-height: 1.35;
}

.home-panel span {
  color: var(--muted);
  line-height: 1.7;
}

.panel-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.panel-links a {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  font-weight: 900;
}

.home-info-band {
  padding: 48px 0 104px;
  background: var(--soft);
}

.home-section-head,
.home-card-grid {
  width: min(1032px, calc(100% - 96px));
  margin-left: auto;
  margin-right: auto;
}

.home-section-head {
  max-width: none;
  margin-bottom: 44px;
}

.home-section-head .eyebrow {
  color: var(--gold);
  letter-spacing: 0.18em;
}

.home-section-head h2 {
  margin-bottom: 14px;
}

.home-section-head p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-info-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(75, 62, 51, 0.14);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(75, 62, 51, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.home-card-media {
  display: block;
  overflow: hidden;
}

.home-info-card img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  background: #f5efe6;
}

.home-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(75, 62, 51, 0.14);
}

.home-card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 24px 26px 28px;
}

.home-card-copy span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.home-card-copy strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

.home-card-copy em {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  line-height: 1.75;
  word-break: keep-all;
}

.page-hero > div {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-weight: 800;
  font-size: clamp(38px, 5.5vw, 60px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

h2 {
  margin-bottom: 14px;
  font-weight: 800;
  font-size: 31px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  word-break: keep-all;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.35;
  word-break: keep-all;
}

.page-hero p:not(.eyebrow),
.lead-text {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.content-shell {
  padding: 72px clamp(20px, 5vw, 72px);
}

.section-head {
  margin-bottom: 24px;
}

.notice-list {
  display: grid;
  gap: 12px;
}

.list-row,
.feature-card,
.treatment-card,
.info-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.list-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 0.8fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 20px;
  min-height: 112px;
  padding: 22px;
}

.list-row span,
.feature-card span,
.treatment-card span,
.info-list span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.list-row h3,
.list-row p {
  margin-bottom: 0;
}

.list-row p,
.feature-card p,
.treatment-card p,
.plain-list,
.info-list strong {
  color: var(--muted);
  line-height: 1.65;
}

.two-column,
.profile-layout,
.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 220px;
  padding: 24px;
}

.feature-card h3 {
  margin-top: 18px;
}

.image-placeholder {
  display: grid;
  min-height: 360px;
  place-items: center;
  border: 1px dashed #a9bbc4;
  border-radius: 8px;
  background: var(--soft);
  color: #60717c;
  font-weight: 900;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid .image-placeholder {
  min-height: 260px;
}

.profile-image,
.gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.profile-image img,
.gallery-item img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.profile-image img {
  height: auto;
}

.doctor-profile-section {
  align-items: start;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
}

.doctor-photo-card {
  align-self: start;
}

.doctor-only {
  display: flex;
  align-items: end;
  justify-content: center;
  background: #594637;
}

.doctor-only img {
  max-height: 760px;
  object-fit: contain;
  object-position: center bottom;
}

.doctor-photo-card img {
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 0;
  object-fit: cover;
  object-position: center 44%;
}

.doctors-hero-split {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 320px;
  overflow: hidden;
  background: var(--deep);
  color: #fff;
}

.doctor-hero-panel {
  min-height: 320px;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.2);
}

.doctor-hero-left {
  background-image:
    linear-gradient(rgba(30, 28, 40, 0.48), rgba(30, 28, 40, 0.48)),
    url("./assets/hero-doctors.jpg");
}

.doctor-hero-right {
  background-image:
    linear-gradient(rgba(35, 38, 53, 0.5), rgba(35, 38, 53, 0.5)),
    url("./assets/hero-hospital.jpg");
}

.doctor-hero-copy {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.doctor-hero-copy p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.doctor-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 62px);
  text-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.doctor-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: end;
  padding: 72px clamp(24px, 7vw, 110px) 0;
  background:
    linear-gradient(90deg, rgba(250, 246, 240, 0.92), rgba(255, 255, 255, 0.98)),
    #f5f2ed;
}

.doctor-portrait-stage {
  align-self: end;
  display: flex;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
}

.doctor-portrait-stage img {
  display: block;
  width: min(430px, 100%);
  max-height: 690px;
  align-self: end;
  border: 1px solid rgba(75, 62, 51, 0.12);
  border-radius: 8px 8px 0 0;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 28px 56px rgba(75, 62, 51, 0.18);
}

.doctor-profile-copy {
  align-self: center;
  max-width: 720px;
  padding: 22px 0 76px;
}

.doctor-profile-copy .eyebrow {
  color: var(--gold);
}

.doctor-profile-copy h2 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
}

.doctor-profile-copy h2 span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.doctor-subtitle {
  margin: 8px 0 18px;
  color: rgba(75, 62, 51, 0.34);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.doctor-divider {
  width: 100%;
  height: 8px;
  margin: 30px 0 34px;
  background: linear-gradient(90deg, rgba(184, 138, 61, 0.22), rgba(184, 138, 61, 0));
}

.doctor-career-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.doctor-career {
  padding: clamp(6px, 1vw, 12px) 0;
}

.career-block {
  margin-top: 28px;
}

.career-block h3 {
  margin-bottom: 14px;
  color: var(--deep);
}

.career-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.career-list li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

body[data-page="hospital"] .hospital-doctor-section {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  min-height: 620px;
  margin: 0 auto 78px;
  grid-template-columns: minmax(0, 0.56fr) minmax(340px, 0.44fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding: 46px 0 34px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body[data-page="hospital"] .hospital-doctor-section::before {
  content: none;
}

body[data-page="hospital"] .hospital-doctor-section::after {
  content: none;
}

body[data-page="hospital"] .hospital-doctor-photo {
  position: relative;
  grid-column: 2;
  left: auto;
  top: auto;
  bottom: auto;
  z-index: 2;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

body[data-page="hospital"] .hospital-doctor-photo img {
  position: relative;
  display: block;
  width: min(410px, 100%);
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: right bottom;
  filter: none;
}

body[data-page="hospital"] .hospital-doctor-copy {
  position: relative;
  z-index: 3;
  grid-column: 1;
  align-self: center;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 34px 0;
  background: transparent;
}

body[data-page="hospital"] .hospital-doctor-copy h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  color: #3f2d23;
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: 0;
}

body[data-page="hospital"] .hospital-doctor-copy h2 span {
  order: 2;
  margin: 0;
  color: #4b4038;
  font-size: 22px;
  font-weight: 500;
}

body[data-page="hospital"] .hospital-doctor-copy .doctor-subtitle {
  margin: 26px 0 0;
  color: #171412;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

body[data-page="hospital"] .hospital-doctor-message {
  max-width: 640px;
  margin: 18px 0 0;
  color: #66564b;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.78;
}

body[data-page="hospital"] .hospital-doctor-section .doctor-career h3 {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #6f533f;
  color: #5a3f2e;
  font-size: 17px;
  font-weight: 900;
}

body[data-page="hospital"] .hospital-doctor-section .doctor-career-grid {
  gap: 36px;
}

body[data-page="hospital"] .hospital-doctor-section .career-list {
  gap: 9px;
}

body[data-page="hospital"] .hospital-doctor-section .career-list li {
  color: #6f665f;
  font-size: 15px;
  line-height: 1.62;
}

body[data-page="hospital"] .hospital-doctor-section .career-list li::before {
  background: #8b6a50;
}

@media (max-width: 900px) {
  body[data-page="hospital"] .hospital-doctor-section {
    width: calc(100% - 32px);
    min-height: 0;
    margin: 28px auto 64px;
    grid-template-columns: 1fr;
    padding: 30px 0 0;
    overflow: visible;
  }

  body[data-page="hospital"] .hospital-doctor-section::before,
  body[data-page="hospital"] .hospital-doctor-section::after {
    display: none;
  }

  body[data-page="hospital"] .hospital-doctor-copy {
    grid-column: auto;
    order: 1;
    margin-left: 0;
    padding: 24px 0 16px;
    background: transparent;
  }

  body[data-page="hospital"] .hospital-doctor-photo {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    order: 2;
    min-height: 0;
    align-items: flex-start;
    justify-content: center;
  }

  body[data-page="hospital"] .hospital-doctor-photo img {
    right: auto;
    bottom: auto;
    width: min(380px, 100%);
    margin-left: 0;
    filter: none;
  }

  body[data-page="hospital"] .hospital-doctor-copy h2 {
    display: block;
    font-size: clamp(32px, 9vw, 44px);
  }

  body[data-page="hospital"] .hospital-doctor-copy h2 span {
    display: block;
    margin-bottom: 6px;
  }

  body[data-page="hospital"] .hospital-doctor-section .doctor-career-grid {
    gap: 28px;
  }
}

.gallery-item img {
  height: 280px;
}

.gallery-item figcaption {
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 900;
}

.treatment-section {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.treatment-grid.refined {
  margin-top: 26px;
}

.treatment-card {
  min-height: 270px;
  overflow: hidden;
  padding: 26px;
  border-color: rgba(75, 62, 51, 0.12);
  box-shadow: 0 10px 30px rgba(75, 62, 51, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.treatment-card span,
.treatment-card h3,
.treatment-card p {
  display: block;
}

.treatment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 157, 139, 0.45);
  box-shadow: 0 18px 48px rgba(75, 62, 51, 0.13);
}

.treatment-card h3 {
  margin-top: 18px;
}

.medical-icon {
  display: block;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  padding: 11px;
  border: 1px solid rgba(47, 138, 122, 0.18);
  border-radius: 8px;
  background: linear-gradient(145deg, #f9fcfb, #eef7f4);
  color: var(--mint);
}

.medical-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
}

.treatment-accordion-section {
  padding-top: 86px;
  padding-bottom: 92px;
  background: #fff;
}

.centered-head {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.treatment-accordion {
  display: flex;
  gap: 12px;
  width: min(1180px, 100%);
  height: 430px;
  margin: 34px auto 0;
}

.treatment-panel {
  position: relative;
  flex: 0 0 86px;
  min-width: 0;
  overflow: hidden;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(43, 39, 35, 0.76), rgba(43, 39, 35, 0.4)),
    var(--panel-image) center / cover;
  color: #fff;
  box-shadow: 0 20px 48px rgba(43, 39, 35, 0.13);
  transition: flex-basis 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.treatment-panel::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 39, 35, 0.22), rgba(43, 39, 35, 0.72));
  content: "";
}

.treatment-panel.is-active {
  flex-basis: min(620px, 58%);
  box-shadow: 0 28px 70px rgba(43, 39, 35, 0.22);
}

.treatment-panel button {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.treatment-panel button span {
  display: none;
}

.treatment-panel button strong {
  display: block;
  max-height: 80%;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.28;
  text-align: center;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  writing-mode: vertical-rl;
}

.treatment-panel.is-active button {
  width: 70px;
  height: 70px;
  inset: auto auto 34px 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), #8a6330);
  box-shadow: 0 14px 34px rgba(43, 39, 35, 0.26);
}

.treatment-panel.is-active button span,
.treatment-panel.is-active button strong {
  display: none;
}

.treatment-panel.is-active button::before {
  color: #fff;
  font-size: 28px;
  font-weight: 400;
  content: "+";
}

.treatment-panel-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(520px, calc(100% - 108px));
  height: 100%;
  padding: 64px 38px 112px;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.treatment-panel.is-active .treatment-panel-content {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.treatment-panel-content span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 900;
}

.treatment-panel-content h3 {
  margin: 18px 0 16px;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.treatment-panel-content p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.8;
}

.treatment-panel-content a {
  display: inline-grid;
  width: fit-content;
  min-height: 42px;
  margin-top: 22px;
  padding: 0 18px;
  place-items: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--deep);
  font-size: 14px;
  font-weight: 900;
}

.service-icon {
  position: relative;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border: 2px solid rgba(79, 157, 139, 0.28);
  border-radius: 8px;
  background: #f8fbfa;
}

.service-icon::before,
.service-icon::after {
  position: absolute;
  content: "";
}

.service-icon-sleep::before {
  width: 24px;
  height: 24px;
  left: 15px;
  top: 11px;
  border: 3px solid var(--mint);
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-24deg);
}

.service-icon-sleep::after {
  width: 26px;
  height: 3px;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  background: var(--coral);
}

.service-icon-nose::before,
.service-icon-sinus::before {
  width: 18px;
  height: 30px;
  left: 18px;
  top: 10px;
  border: 3px solid var(--mint);
  border-top: 0;
  border-radius: 0 0 18px 18px;
}

.service-icon-nose::after {
  width: 18px;
  height: 3px;
  left: 18px;
  top: 28px;
  border-radius: 999px;
  background: var(--coral);
}

.service-icon-sinus::after {
  width: 32px;
  height: 18px;
  left: 10px;
  top: 16px;
  border-top: 3px solid var(--coral);
  border-bottom: 3px solid var(--coral);
  border-radius: 999px;
}

.service-icon-balance::before {
  width: 28px;
  height: 28px;
  left: 12px;
  top: 12px;
  border: 3px solid var(--mint);
  border-radius: 50%;
}

.service-icon-balance::after {
  width: 14px;
  height: 14px;
  left: 20px;
  top: 20px;
  border-radius: 50%;
  background: var(--coral);
}

.service-icon-ear::before,
.service-icon-earcare::before {
  width: 22px;
  height: 30px;
  left: 16px;
  top: 9px;
  border: 3px solid var(--mint);
  border-radius: 50% 50% 50% 16px;
}

.service-icon-ear::after {
  width: 14px;
  height: 14px;
  left: 26px;
  top: 30px;
  border-right: 3px solid var(--coral);
  border-bottom: 3px solid var(--coral);
  border-radius: 0 0 12px 0;
}

.service-icon-aid::before {
  width: 24px;
  height: 30px;
  left: 15px;
  top: 10px;
  border: 3px solid var(--mint);
  border-radius: 16px 16px 12px 12px;
}

.service-icon-aid::after {
  width: 10px;
  height: 10px;
  left: 22px;
  top: 20px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 13px 0 var(--coral);
}

.service-icon-earcare::after {
  width: 24px;
  height: 3px;
  left: 15px;
  top: 28px;
  border-radius: 999px;
  background: var(--coral);
  transform: rotate(-20deg);
}

.service-icon-throat::before {
  width: 22px;
  height: 32px;
  left: 16px;
  top: 9px;
  border: 3px solid var(--mint);
  border-radius: 18px;
}

.service-icon-throat::after {
  width: 22px;
  height: 3px;
  left: 16px;
  top: 30px;
  border-radius: 999px;
  background: var(--coral);
}

.plain-list {
  margin: 22px 0 0;
  padding-left: 18px;
}

.plain-list li + li {
  margin-top: 8px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.info-list div {
  padding: 22px;
}

.info-list span,
.info-list strong {
  display: block;
}

.info-list strong {
  margin-top: 6px;
  font-size: 20px;
  color: var(--ink);
}

.map-placeholder,
.map-card {
  min-height: 460px;
}

.map-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.76)),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(79, 157, 139, 0.18) 46px 47px),
    repeating-linear-gradient(90deg, #eef6f4 0 46px, rgba(38, 63, 79, 0.12) 46px 47px);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.map-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 42px rgba(38, 63, 79, 0.12);
}

.map-pin {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
}

.map-card strong {
  font-size: 24px;
}

.map-card small {
  max-width: 420px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.map-image-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.map-image-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 42px rgba(38, 63, 79, 0.12);
}

.map-image-link img {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.map-image-link span {
  display: block;
  padding: 16px 18px;
  color: var(--deep);
  font-weight: 900;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: var(--deep);
  color: #fff;
}

footer p {
  margin: 0;
}

footer a {
  color: #cfe9e4;
  font-weight: 800;
}

.home-footer {
  justify-content: center;
  gap: 18px;
  padding-top: 16px;
  padding-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

@media (max-width: 960px) {
  body[data-page="home"] .home-floating-header {
    position: sticky;
    top: 0;
    left: auto;
    width: 100%;
    border-radius: 0;
    transform: none;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .list-row,
  .two-column,
  .profile-layout,
  .location-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .treatment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-content {
    grid-template-columns: 1fr;
  }

  .home-hero-renewed {
    min-height: 640px;
    padding-top: 110px;
  }

  .home-notice-bar {
    grid-template-columns: minmax(0, 1fr) 132px;
  }

  .home-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-menu-feature {
    grid-column: 1 / -1;
  }

  .home-contact-card {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
  }

  .doctor-showcase {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .doctor-portrait-stage {
    min-height: 0;
    order: 2;
  }

  .doctor-portrait-stage img {
    width: min(360px, 82vw);
  }

  .doctor-profile-copy {
    order: 1;
    padding-bottom: 18px;
  }

  .treatment-accordion {
    height: auto;
    flex-direction: column;
  }

  .treatment-panel,
  .treatment-panel.is-active {
    flex-basis: auto;
    min-height: 92px;
  }

  .treatment-panel.is-active {
    min-height: 390px;
  }

  .treatment-panel button strong {
    writing-mode: horizontal-tb;
  }

  .treatment-panel.is-active button {
    inset: auto auto 24px 24px;
    width: 58px;
    height: 58px;
  }

  .treatment-panel-content {
    width: 100%;
    padding: 42px 28px 100px;
  }

  .home-panel {
    max-width: 520px;
  }

  .home-card-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-content,
  .home-notice-bar,
  .home-section-head,
  .home-card-grid {
    width: calc(100% - 40px);
  }

  .medical-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hospital-intro,
  .space-showcase {
    grid-template-columns: 1fr;
  }

  .hospital-intro {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .intro-photo img {
    height: 380px;
  }

  .space-feature,
  .space-feature img {
    min-height: 430px;
  }

  .space-stack article {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .home-floating-header {
    padding: 14px 20px;
  }

  body[data-page="home"] .home-floating-header .main-nav {
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  body[data-page="home"] .home-floating-header .main-nav a {
    flex: 0 0 auto;
    padding: 0 10px;
    font-size: 13px;
  }

  .site-header {
    padding: 14px 20px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand > span:last-child {
    height: 36px;
  }

  .brand strong {
    white-space: normal;
    font-size: 15.5px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    font-size: 14px;
  }

  .main-nav a {
    justify-content: center;
    padding: 0 8px;
  }

  body[data-page="home"] .home-floating-header .main-nav {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    justify-content: flex-start;
    overflow-x: auto;
  }

  body[data-page="home"] .home-floating-header .main-nav a {
    height: 34px;
    flex: 0 0 auto;
  }

  .page-hero,
  .content-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-hero {
    min-height: 360px;
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .home-hero {
    min-height: calc(100vh - 96px);
    padding: 72px 0 112px;
  }

  .home-hero-renewed {
    min-height: 660px;
    padding-top: 92px;
    padding-bottom: 150px;
  }

  .home-hero-renewed h1 {
    font-size: 36px;
  }

  .home-notice-bar {
    bottom: 20px;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-notice-bar a:first-child {
    min-height: 58px;
    padding: 0 18px;
  }

  .home-notice-bar a:last-child {
    min-height: 48px;
  }

  .home-service-panel {
    padding: 56px 0 40px;
  }

  .home-menu-grid {
    grid-template-columns: 1fr;
  }

  .home-menu-card,
  .home-menu-feature,
  .home-contact-card {
    min-height: 0;
    padding: 28px 22px;
  }

  .doctors-hero-split {
    grid-template-columns: 1fr;
    min-height: 300px;
  }

  .doctor-hero-panel {
    min-height: 150px;
  }

  .doctor-career-grid {
    grid-template-columns: 1fr;
  }

  .treatment-accordion-section {
    padding-top: 64px;
    padding-bottom: 70px;
  }

  .treatment-panel.is-active {
    min-height: 430px;
  }

  .treatment-panel-content h3 {
    font-size: 28px;
  }

  .home-panel {
    padding: 22px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .treatment-grid {
    grid-template-columns: 1fr;
  }

  .home-info-band {
    padding: 32px 0 72px;
  }

  .home-section-head {
    margin-bottom: 32px;
  }

  .medical-search div {
    grid-template-columns: 1fr;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .medical-card-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }

  .hospital-hero {
    min-height: 390px;
  }

  .hospital-intro,
  .clinic-space-section {
    padding: 48px 20px;
  }

  .clinic-facts {
    grid-template-columns: 1fr;
  }

  .intro-photo img {
    height: 280px;
  }

  .space-feature,
  .space-feature img {
    min-height: 330px;
  }

  .space-feature figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 16px;
  }

  .space-stack article {
    grid-template-columns: 1fr;
  }

  .space-stack img {
    height: 190px;
  }
}


/* Wider Medical Services image stage */
.treatment-accordion {
  grid-template-columns: 78px 78px 78px 78px minmax(520px, 1fr);
}

.treatment-panel.is-active {
  min-width: 0;
}

.treatment-panel.is-active .treatment-panel-content {
  max-width: 560px;
}

@media (max-width: 900px) {
  .treatment-accordion {
    grid-template-columns: 1fr;
  }
}

/* 2026-07-31 brown tone refinement */
body[data-page="home"] .webblog-header .brand strong {
  color: #5b4638;
}

body[data-page="home"] .webblog-header .brand small {
  color: rgba(128, 98, 73, 0.72);
}

body[data-page="home"] .webblog-header .main-nav {
  color: #4f4036;
}

body[data-page="home"] .webblog-header .main-nav a::after {
  background: #9a7656;
}

body[data-page="home"] .webmag-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.82) 34%, rgba(244, 239, 233, 0.56) 62%, rgba(118, 86, 62, 0.12) 100%),
    radial-gradient(circle at 16% 28%, rgba(157, 121, 86, 0.14), transparent 36%),
    #fbf8f4;
}

body[data-page="home"] .webmag-hero::before {
  opacity: 0.34;
}

body[data-page="home"] .webmag-hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.78) 38%, rgba(255, 255, 255, 0.36) 60%, rgba(255, 255, 255, 0.04) 100%),
    linear-gradient(0deg, rgba(251, 248, 244, 0.92) 0%, rgba(251, 248, 244, 0) 22%);
}

body[data-page="home"] .webmag-hero-copy > p {
  color: #8a694d;
  letter-spacing: 0.42em;
}

body[data-page="home"] .webmag-hero-copy h1 {
  color: #2b241f;
  font-family: "Noto Serif KR", "Noto Sans KR", serif;
  font-size: clamp(38px, 4.85vw, 58px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.23;
}

body[data-page="home"] .webmag-hero-copy > span {
  color: #5d5048;
  font-weight: 600;
}

body[data-page="home"] .webmag-hero-actions a {
  border-color: #8b6a50;
  color: #6a4f3b;
}

body[data-page="home"] .webmag-hero-actions a:first-child {
  color: #6a4f3b;
}

body[data-page="home"] .webmag-hero-actions a:last-child {
  border-color: #8b6a50;
  background: #6f533f;
  box-shadow: 0 18px 42px rgba(111, 83, 63, 0.22);
}

body[data-page="home"] .choice-hero-doctor {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
  body[data-page="home"] .webmag-hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(251, 248, 244, 0.78) 100%),
      #fbf8f4;
  }

  body[data-page="home"] .webmag-hero::before {
    opacity: 0.32;
  }

  body[data-page="home"] .webmag-hero::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.78) 44%, rgba(251, 248, 244, 0.38) 100%),
      linear-gradient(0deg, rgba(251, 248, 244, 0.94) 0%, rgba(251, 248, 244, 0) 30%);
  }

  body[data-page="home"] .webmag-hero-copy h1 {
    font-size: clamp(36px, 10vw, 48px);
  }
}

/* 2026-07-31 final brown tone override */
body[data-page="home"] .webblog-header .brand strong {
  color: #5b4638 !important;
}

body[data-page="home"] .webblog-header .brand small {
  color: rgba(128, 98, 73, 0.72) !important;
}

body[data-page="home"] .webblog-header .main-nav {
  color: #4f4036 !important;
}

body[data-page="home"] .webblog-header .main-nav a::after {
  background: #9a7656 !important;
}

body[data-page="home"] .webmag-hero {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.8) 35%, rgba(244, 239, 233, 0.54) 62%, rgba(118, 86, 62, 0.14) 100%), #fbf8f4 !important;
}

body[data-page="home"] .webmag-hero::before {
  opacity: 0.38 !important;
}

body[data-page="home"] .webmag-hero::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.74) 38%, rgba(255, 255, 255, 0.34) 60%, rgba(255, 255, 255, 0.03) 100%), linear-gradient(0deg, rgba(251, 248, 244, 0.9) 0%, rgba(251, 248, 244, 0) 22%) !important;
}

body[data-page="home"] .webmag-hero-copy > p {
  color: #8a694d !important;
  letter-spacing: 0.42em !important;
}

body[data-page="home"] .webmag-hero-copy h1 {
  color: #2b241f !important;
  font-family: "Noto Serif KR", "Noto Sans KR", serif !important;
  font-size: clamp(38px, 4.85vw, 58px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.23 !important;
}

body[data-page="home"] .webmag-hero-copy > span {
  color: #5d5048 !important;
  font-weight: 600 !important;
}

body[data-page="home"] .webmag-hero-actions a {
  border-color: #8b6a50 !important;
  color: #6a4f3b !important;
}

body[data-page="home"] .webmag-hero-actions a:last-child {
  border-color: #8b6a50 !important;
  background: #6f533f !important;
  color: #fff !important;
  box-shadow: 0 18px 42px rgba(111, 83, 63, 0.22) !important;
}

@media (max-width: 900px) {
  body[data-page="home"] .webmag-hero-copy h1 {
    font-size: clamp(36px, 10vw, 48px) !important;
  }
}

/* 2026-07-31 hero photo placement fix */
body[data-page="home"] .webmag-hero::before {
  opacity: 0.22 !important;
}

body[data-page="home"] .webmag-hero::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 42%, rgba(255, 255, 255, 0.38) 63%, rgba(255, 255, 255, 0.03) 100%), linear-gradient(0deg, rgba(251, 248, 244, 0.9) 0%, rgba(251, 248, 244, 0) 22%) !important;
}

body[data-page="home"] .choice-hero-doctor {
  right: -34px !important;
  width: min(49vw, 680px) !important;
  background: linear-gradient(90deg, rgba(251, 248, 244, 0) 0%, rgba(251, 248, 244, 0.08) 20%, rgba(251, 248, 244, 0.14) 100%), url("./assets/profile.jpg") left 52% center / auto 100% no-repeat !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 18%, #000 34%, #000 100%) !important;
  mask-image: linear-gradient(90deg, transparent 0%, transparent 18%, #000 34%, #000 100%) !important;
}

@media (max-width: 900px) {
  body[data-page="home"] .choice-hero-doctor {
    right: auto !important;
    width: 100% !important;
  }
}

/* 2026-07-31 main care subjects accordion */
.choice-care-subjects {
  padding: 82px clamp(24px, 5vw, 72px) 96px;
  background: #fff;
}

.choice-care-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.choice-care-heading p {
  margin: 0;
  color: #8a694d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.42em;
}

.choice-care-heading h2 {
  max-width: 620px;
  margin: 16px 0 0;
  color: #6a5a4f;
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.55;
}

.choice-care-accordion {
  display: flex;
  gap: 16px;
  height: 360px;
}

.choice-care-card {
  position: relative;
  flex: 0.72;
  min-width: 92px;
  overflow: hidden;
  border-radius: 24px;
  background: #3e332b;
  color: #fff;
  box-shadow: 0 24px 64px rgba(64, 49, 39, 0.12);
  transition: flex 420ms ease, transform 300ms ease, box-shadow 300ms ease;
}

.choice-care-card.is-open,
.choice-care-card:hover,
.choice-care-card:focus-visible {
  flex: 3.7;
  transform: translateY(-4px);
  box-shadow: 0 34px 80px rgba(64, 49, 39, 0.2);
}

.choice-care-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transform: scale(1.02);
  transition: opacity 320ms ease, transform 520ms ease;
}

.choice-care-card:hover img,
.choice-care-card:focus-visible img,
.choice-care-card.is-open img {
  opacity: 0.84;
  transform: scale(1.06);
}

.choice-care-card::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(43, 36, 31, 0.02) 0%, rgba(43, 36, 31, 0.42) 48%, rgba(43, 36, 31, 0.86) 100%),
    linear-gradient(90deg, rgba(43, 36, 31, 0.26), rgba(43, 36, 31, 0));
  content: "";
}

.choice-care-card span,
.choice-care-card strong,
.choice-care-card p {
  position: absolute;
  z-index: 1;
}

.choice-care-card span {
  top: 28px;
  left: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.choice-care-card strong {
  right: 22px;
  bottom: 34px;
  left: 22px;
  font-family: "Noto Serif KR", "Noto Sans KR", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.28;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transition: right 320ms ease, bottom 320ms ease, left 320ms ease, font-size 320ms ease, writing-mode 320ms ease;
}

.choice-care-card p {
  right: 34px;
  bottom: 34px;
  left: 34px;
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 320ms ease;
}

.choice-care-card.is-open strong,
.choice-care-card:hover strong,
.choice-care-card:focus-visible strong {
  right: auto;
  bottom: 96px;
  left: 34px;
  font-size: 34px;
  writing-mode: horizontal-tb;
}

.choice-care-card.is-open p,
.choice-care-card:hover p,
.choice-care-card:focus-visible p {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 901px) {
  .choice-care-accordion:hover .choice-care-card.is-open {
    flex: 0.72;
    transform: none;
    box-shadow: 0 24px 64px rgba(64, 49, 39, 0.12);
  }

  .choice-care-accordion:hover .choice-care-card.is-open img {
    opacity: 0.72;
    transform: scale(1.02);
  }

  .choice-care-accordion:hover .choice-care-card.is-open strong {
    right: 22px;
    bottom: 34px;
    left: 22px;
    font-size: 26px;
    writing-mode: vertical-rl;
  }

  .choice-care-accordion:hover .choice-care-card.is-open p {
    opacity: 0;
    transform: translateY(12px);
  }

  .choice-care-accordion:hover .choice-care-card.is-open:hover {
    flex: 3.7;
    transform: translateY(-4px);
    box-shadow: 0 34px 80px rgba(64, 49, 39, 0.2);
  }

  .choice-care-accordion:hover .choice-care-card.is-open:hover img {
    opacity: 0.84;
    transform: scale(1.06);
  }

  .choice-care-accordion:hover .choice-care-card.is-open:hover strong {
    right: auto;
    bottom: 96px;
    left: 34px;
    font-size: 34px;
    writing-mode: horizontal-tb;
  }

  .choice-care-accordion:hover .choice-care-card.is-open:hover p {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .choice-care-subjects {
    padding: 72px 22px 82px;
  }

  .choice-care-accordion {
    display: grid;
    height: auto;
    gap: 14px;
  }

  .choice-care-card,
  .choice-care-card.is-open,
  .choice-care-card:hover,
  .choice-care-card:focus-visible {
    min-height: 260px;
    flex: none;
    transform: none;
  }

  .choice-care-card strong,
  .choice-care-card.is-open strong,
  .choice-care-card:hover strong,
  .choice-care-card:focus-visible strong {
    right: auto;
    bottom: 88px;
    left: 26px;
    font-size: 28px;
    writing-mode: horizontal-tb;
  }

  .choice-care-card p,
  .choice-care-card.is-open p,
  .choice-care-card:hover p,
  .choice-care-card:focus-visible p {
    right: 26px;
    bottom: 26px;
    left: 26px;
    opacity: 1;
    transform: none;
  }
}

/* 2026-07-31 latest posts with reservation side panel */
.choice-latest-posts {
  padding: 90px clamp(24px, 5vw, 72px) 112px;
  background: #fff;
}

.choice-latest-heading {
  max-width: 1120px;
  margin: 0 auto 28px;
}

.choice-latest-heading > p {
  margin: 0 0 18px;
  color: #8a694d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.42em;
}

.choice-latest-heading > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(91, 70, 56, 0.18);
  padding-bottom: 22px;
}

.choice-latest-heading h2 {
  margin: 0;
  color: #2b241f;
  font-family: "Noto Serif KR", "Noto Sans KR", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.choice-latest-heading a {
  color: #8a694d;
  font-size: 14px;
  font-weight: 900;
}

.choice-latest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.choice-post-list {
  border-top: 1px solid rgba(91, 70, 56, 0.12);
}

.choice-post-row {
  position: relative;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr) 38px;
  gap: 30px;
  min-height: 210px;
  align-items: center;
  border-bottom: 1px solid rgba(91, 70, 56, 0.12);
  background: #fff;
  transition: background 220ms ease;
}

.choice-post-row:hover {
  background: #fbf8f4;
}

.choice-post-row > img {
  width: 238px;
  height: 210px;
  object-fit: cover;
}

.choice-post-copy {
  padding: 26px 0;
}

.choice-post-copy span {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #f0e8df;
  padding: 6px 14px;
  color: #7b5c43;
  font-size: 12px;
  font-weight: 900;
}

.choice-post-copy h3 {
  margin: 0;
  color: #4b3528;
  font-family: "Noto Serif KR", "Noto Sans KR", serif;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.choice-post-copy p {
  display: -webkit-box;
  max-width: 560px;
  margin: 16px 0 0;
  overflow: hidden;
  color: #65594f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.choice-post-copy time {
  display: block;
  margin-top: 20px;
  color: #8d7b6b;
  font-size: 13px;
  font-weight: 800;
}

.choice-post-row > em {
  color: #7b5c43;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
}

.choice-reserve-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.choice-booking-card {
  display: block;
  background:
    linear-gradient(145deg, rgba(104, 74, 54, 0.98) 0%, rgba(67, 45, 34, 1) 58%, rgba(45, 30, 24, 1) 100%);
  padding: 30px 28px;
  color: #fff;
  box-shadow: 0 28px 72px rgba(54, 35, 27, 0.24);
}

.choice-booking-card strong {
  display: block;
  margin-bottom: 22px;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.choice-booking-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.choice-booking-card h3 {
  margin: 16px 0 0;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.42;
}

.choice-booking-card p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.choice-booking-card em {
  display: inline-flex;
  width: 100%;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  background: #fff;
  color: #5b4638;
  font-style: normal;
  font-weight: 900;
}

.choice-phone-card,
.choice-clinic-card {
  border: 1px solid rgba(91, 70, 56, 0.16);
  background: #fff;
  padding: 26px 24px;
}

.choice-phone-card span {
  display: block;
  color: #8d7b6b;
  font-size: 13px;
  font-weight: 900;
}

.choice-phone-card a {
  display: block;
  margin-top: 12px;
  color: #6f533f;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.choice-phone-card p {
  margin: 14px 0 0;
  color: #7a6d61;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}

.choice-clinic-card {
  display: block;
  padding-bottom: 0;
  overflow: hidden;
}

.choice-clinic-card strong {
  color: #2b241f;
  font-size: 20px;
  font-weight: 900;
}

.choice-clinic-card p {
  margin: 14px 0 0;
  color: #67594d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.choice-clinic-card span {
  display: inline-flex;
  margin-top: 18px;
  color: #8a694d;
  font-size: 13px;
  font-weight: 900;
}

.choice-clinic-card img {
  display: block;
  width: calc(100% + 48px);
  height: 126px;
  margin: 22px -24px 0;
  object-fit: cover;
}

@media (max-width: 980px) {
  .choice-latest-layout {
    grid-template-columns: 1fr;
  }

  .choice-reserve-panel {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .choice-latest-posts {
    padding: 72px 22px 88px;
  }

  .choice-latest-heading > div {
    display: grid;
  }

  .choice-post-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .choice-post-row > img {
    width: 100%;
    height: 220px;
  }

  .choice-post-copy {
    padding: 24px 0 28px;
  }

  .choice-post-row > em {
    position: absolute;
    right: 4px;
    bottom: 28px;
  }

  .choice-reserve-panel {
    grid-template-columns: 1fr;
  }
}


/* Compact round quick widget */
.quick-widget {
  position: fixed;
  right: clamp(14px, 2.5vw, 28px);
  top: 50%;
  z-index: 30;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.quick-card {
  display: grid;
  grid-template-columns: none;
  gap: 0;
  place-items: center;
  width: 50px;
  height: 50px;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(75, 62, 51, 0.16);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.96);
  color: var(--deep);
  box-shadow: 0 10px 26px rgba(43, 39, 35, 0.14);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.quick-card:hover {
  transform: translateX(-3px);
  border-color: rgba(184, 138, 61, 0.5);
  background: #fff;
  box-shadow: 0 14px 32px rgba(43, 39, 35, 0.2);
}

.quick-icon {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: 999px;
  background: none;
  color: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.quick-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-label,
.quick-text,
.quick-arrow {
  display: none;
}

.quick-top .quick-icon {
  padding-bottom: 1px;
  font-size: 17px;
}

@media (max-width: 700px) {
  .quick-widget {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 18px;
    grid-template-columns: repeat(3, 50px);
    transform: translateX(-50%);
  }

  .quick-card:hover {
    transform: translateY(-3px);
  }
}


/* Site footer */
.site-footer {
  display: block;
  padding: 46px clamp(22px, 7vw, 126px) 40px;
  background: #322720;
  color: rgba(255, 255, 255, 0.9);
}

.footer-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.footer-brand strong {
  display: block;
  color: #f3eee9;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.28em;
  line-height: 1;
}

.footer-brand span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.footer-line {
  height: 1px;
  margin: 26px 0 22px;
  background: rgba(255, 255, 255, 0.28);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-info {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.footer-info p {
  margin: 0;
}

.footer-info strong {
  margin-right: 14px;
  color: #fff;
  font-weight: 900;
}

.footer-info span {
  color: rgba(255, 255, 255, 0.76);
}

.footer-copy {
  margin-top: 10px !important;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 2px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 760px) {
  .site-footer {
    padding: 38px 22px 34px;
  }

  .footer-brand strong {
    font-size: 22px;
    letter-spacing: 0.22em;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    white-space: normal;
  }
}


/* Home hero headline */
.home-hero-renewed .main-message {
  max-width: 1010px;
  margin-top: 14px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.97);
  font-size: clamp(26px, 2.7vw, 38px);
  font-weight: 700;
  line-height: 1.48;
  letter-spacing: -0.02em;
  word-break: keep-all;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  animation: heroFadeUp 900ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
}

.home-hero-renewed .main-message em {
  font-weight: 800;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .home-hero-renewed .main-message {
    font-size: 25px;
    line-height: 1.5;
  }
}


/* Keep CHOICE CARE image on hover */
.home-menu-feature:hover {
  background:
    linear-gradient(90deg, rgba(75, 62, 51, 0.9), rgba(146, 105, 52, 0.64)),
    url("./assets/hero-hospital.jpg") center / cover;
}


/* Premium main card redesign */
.home-service-panel {
  padding: 88px 0 64px;
  background: linear-gradient(180deg, #fff 0%, #fbf8f4 100%);
}

.home-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(300px, 0.96fr);
  gap: 16px;
  width: min(1032px, calc(100% - 96px));
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-menu-card,
.home-contact-card {
  overflow: hidden;
  border: 1px solid rgba(92, 72, 58, 0.11);
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(69, 54, 43, 0.06);
}

.home-menu-card {
  min-height: 230px;
  padding: 30px 28px 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(252, 247, 240, 0.9));
  border-right: 1px solid rgba(92, 72, 58, 0.11);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.home-menu-card::after {
  position: absolute;
  inset: auto 24px 20px auto;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 138, 61, 0.75));
  content: "";
  transition: width 220ms ease;
}

.home-menu-card:hover {
  background:
    linear-gradient(145deg, #fff, #f7efe3);
  border-color: rgba(184, 138, 61, 0.32);
  box-shadow: 0 18px 44px rgba(69, 54, 43, 0.12);
  transform: translateY(-3px);
}

.home-menu-card:hover::after {
  width: 62px;
}

.home-menu-card .service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f8ead6, #fffaf2);
  box-shadow: inset 0 0 0 1px rgba(184, 138, 61, 0.22), 0 10px 24px rgba(184, 138, 61, 0.12);
}

.home-menu-card small {
  top: 30px;
  right: 28px;
  color: rgba(117, 91, 70, 0.52);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.home-menu-card strong {
  color: #332a23;
  font-size: 22px;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

.home-menu-card p {
  margin-top: 13px;
  color: rgba(65, 55, 47, 0.66);
  font-size: 14px;
  line-height: 1.76;
  word-break: keep-all;
}

.home-menu-feature {
  min-height: 210px;
  padding: 42px;
  border: 0;
  background:
    linear-gradient(90deg, rgba(46, 37, 31, 0.92), rgba(112, 82, 54, 0.6)),
    url("./assets/hero-hospital.jpg") center / cover;
  box-shadow: 0 16px 44px rgba(65, 44, 30, 0.12);
}

.home-menu-feature:hover {
  background:
    linear-gradient(90deg, rgba(46, 37, 31, 0.86), rgba(112, 82, 54, 0.54)),
    url("./assets/hero-hospital.jpg") center / cover;
}

.home-menu-feature span {
  color: rgba(255, 236, 205, 0.78);
  letter-spacing: 0.18em;
}

.home-menu-feature strong {
  color: #fff;
  font-size: 27px;
  word-break: keep-all;
}

.home-menu-feature p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  word-break: keep-all;
}

.home-contact-card {
  min-height: 436px;
  padding: 38px 32px;
  background:
    radial-gradient(circle at 90% 8%, rgba(240, 210, 155, 0.18), transparent 34%),
    linear-gradient(155deg, #372b24 0%, #251f1b 100%);
  box-shadow: 0 18px 48px rgba(40, 31, 26, 0.14);
}

.home-contact-card > span {
  color: rgba(255, 236, 205, 0.76);
  letter-spacing: 0.12em;
}

.home-contact-card strong {
  color: #f4d8a7;
  font-size: 31px;
}

.home-contact-card a {
  min-height: 46px;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-contact-card a:hover {
  border-color: rgba(244, 216, 167, 0.5);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.home-info-band {
  background: #fbf8f4;
}

.home-info-card:hover {
  border-color: rgba(184, 138, 61, 0.28);
}

.home-info-card img {
  transition: transform 420ms ease;
}

.home-info-card:hover img {
  transform: scale(1.04);
}

@media (max-width: 960px) {
  .home-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 40px);
  }

  .home-contact-card,
  .home-menu-feature {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .home-menu-grid,
  .home-card-grid {
    grid-template-columns: 1fr;
  }

  .home-menu-card,
  .home-contact-card,
  .home-menu-feature {
    border-radius: 2px;
  }
}


/* Remove main menu decorative icons */
.home-menu-card .service-icon {
  display: none !important;
}

.home-menu-card {
  padding-top: 52px;
}

.home-menu-card small {
  top: 28px;
}

.home-menu-card strong {
  margin-top: 0;
}


/* Premium location page */
.location-premium {
  grid-template-columns: minmax(360px, 0.88fr) minmax(440px, 1.12fr);
  align-items: stretch;
  gap: 28px;
}

.location-copy-card,
.location-map-card {
  border: 1px solid rgba(92, 72, 58, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 64px rgba(69, 54, 43, 0.1);
}

.location-copy-card {
  padding: clamp(28px, 4vw, 42px);
}

.location-copy-card h2 {
  margin: 10px 0 0;
  color: #332a23;
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -0.02em;
}

.location-lead {
  max-width: 520px;
  margin: 16px 0 26px;
  color: rgba(65, 55, 47, 0.66);
  font-size: 15px;
  line-height: 1.85;
}

.location-info-grid {
  display: grid;
  gap: 12px;
}

.location-info-card {
  position: relative;
  overflow: hidden;
  padding: 20px 22px;
  border: 1px solid rgba(92, 72, 58, 0.09);
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #fbf5ed);
}

.location-info-card::before {
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: #b88a3d;
  content: "";
}

.location-info-card span {
  display: block;
  color: #b88a3d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location-info-card strong {
  display: block;
  margin-top: 8px;
  color: #332a23;
  font-size: 18px;
  line-height: 1.45;
}

.location-info-card p {
  margin: 6px 0 0;
  color: rgba(65, 55, 47, 0.62);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.location-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.location-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: #332a23;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.location-actions a + a {
  border: 1px solid rgba(92, 72, 58, 0.18);
  background: #fff;
  color: #332a23;
}

.location-map-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 520px;
  padding: 0;
}

.location-map-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform 450ms ease;
}

.location-map-card:hover img {
  transform: scale(1.035);
}

.location-map-card span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(51, 42, 35, 0.88);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

@media (max-width: 960px) {
  .location-premium {
    grid-template-columns: 1fr;
  }

  .location-map-card,
  .location-map-card img {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .location-actions {
    flex-direction: column;
  }
}

/* Doctors page hero without clinic photo background */
body[data-page="doctors"] .doctors-hero-split {
  background:
    radial-gradient(circle at 18% 22%, rgba(214, 178, 116, 0.22), transparent 32%),
    linear-gradient(135deg, #312821 0%, #4a3d33 48%, #756554 100%);
}

body[data-page="doctors"] .doctor-hero-left,
body[data-page="doctors"] .doctor-hero-right {
  background-image: none;
  filter: none;
}

body[data-page="doctors"] .doctor-hero-left {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 62%);
}

body[data-page="doctors"] .doctor-hero-right {
  background: linear-gradient(135deg, transparent 12%, rgba(214, 178, 116, 0.16) 100%);
}

/* Refined location page typography */
body[data-page="location"] main {
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  color: #302720;
}

body[data-page="location"] .page-hero h1,
body[data-page="location"] .location-copy-card h2 {
  letter-spacing: 0;
  word-break: keep-all;
}

body[data-page="location"] .location-copy-card h2 {
  margin-top: 8px;
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.18;
}

body[data-page="location"] .location-lead {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0;
}

body[data-page="location"] .location-info-card {
  padding: 22px 24px 22px 26px;
}

body[data-page="location"] .location-info-card span {
  letter-spacing: 0.04em;
  font-size: 13px;
  font-weight: 700;
}

body[data-page="location"] .location-info-card strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
}

body[data-page="location"] .location-info-card p {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

body[data-page="location"] .location-hours-card .hours-lines {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  color: rgba(48, 39, 32, 0.72);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

body[data-page="location"] .location-hours-card .hours-lines span {
  display: block;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
}

body[data-page="location"] .location-actions a,
body[data-page="location"] .location-map-card span {
  font-weight: 700;
  letter-spacing: 0;
}

body[data-page="location"] .location-hours-card strong {
  margin-top: 0;
}
/* Sleep polysomnography article */
.article-page {
  background: #f7f5f2;
  padding: 72px 24px 120px;
}

.medical-article {
  width: min(920px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(72, 54, 43, 0.12);
  box-shadow: 0 24px 70px rgba(55, 42, 34, 0.08);
}

.article-header {
  padding: 76px clamp(28px, 8vw, 92px) 64px;
  border-bottom: 1px solid #e8e2dc;
}

.article-back {
  display: inline-flex;
  align-items: center;
  color: #6e5b4d;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.article-back::before {
  content: "←";
  margin-right: 9px;
}

.article-category {
  margin: 56px 0 18px;
  color: #a35f1b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.article-header h1 {
  margin: 0;
  color: #2b2521;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  word-break: keep-all;
}

.article-summary {
  max-width: 680px;
  margin: 28px 0 26px;
  color: #706761;
  font-size: 18px;
  line-height: 1.8;
  word-break: keep-all;
}

.article-header time {
  color: #99908a;
  font-size: 14px;
}

.article-body {
  padding: 72px clamp(24px, 7vw, 80px) 88px;
}

.article-body section {
  width: min(700px, 100%);
  margin: 42px auto 104px;
}

.article-body h2 {
  margin: 0 0 30px;
  color: #332a24;
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 0;
  word-break: keep-all;
}

.article-body p {
  margin: 0 0 20px;
  color: #4f4945;
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0;
  word-break: keep-all;
}

.article-visual {
  display: block;
  width: min(760px, 100%);
  height: auto;
  margin: 0 auto;
  border: 0;
}

.article-photo {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-footer-nav {
  padding: 0 clamp(24px, 7vw, 80px) 80px;
  text-align: center;
}

.article-footer-nav a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid #4f4036;
  color: #3a302a;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 720px) {
  .article-page {
    padding: 28px 14px 72px;
  }

  .article-header {
    padding: 42px 24px 38px;
  }

  .article-category {
    margin-top: 38px;
  }

  .article-header h1 {
    font-size: 31px;
    line-height: 1.42;
  }

  .article-summary {
    font-size: 16px;
  }

  .article-body {
    padding: 42px 16px 56px;
  }

  .article-body section {
    margin: 30px auto 72px;
    padding: 0 8px;
  }

  .article-body h2 {
    font-size: 23px;
  }

  .article-body p {
    font-size: 16px;
    line-height: 1.9;
  }

  .article-footer-nav {
    padding-bottom: 56px;
  }
}

/* Medical article navigation and consultation rail */
.article-layout {
  display: grid;
  width: min(1220px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 920px) minmax(250px, 280px);
  align-items: start;
  gap: 20px;
}

.article-layout .medical-article {
  width: 100%;
  margin: 0;
}

.article-meta-row {
  display: flex;
  margin-top: 4px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.copy-url-button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #d9d2cc;
  border-radius: 4px;
  background: #fff;
  color: #5f554e;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.article-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
}

.article-clinic-panel,
.article-side-section,
.article-contact-panel {
  overflow: hidden;
  border: 1px solid #e0dad5;
  border-radius: 8px;
  background: #fff;
}

.article-clinic-panel > img {
  display: block;
  width: 100%;
  height: 145px;
  object-fit: cover;
}

.article-clinic-panel > div {
  padding: 20px;
}

.article-clinic-panel h2 {
  margin: 7px 0 15px;
  color: #302a26;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  word-break: keep-all;
}

.article-clinic-panel ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-clinic-panel li {
  position: relative;
  padding-left: 13px;
  color: #6a615b;
  font-size: 13px;
  line-height: 1.55;
}

.article-clinic-panel li::before {
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2f7a70;
  content: "";
}

.article-side-section {
  padding: 20px;
}

.article-side-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.article-side-heading h2 {
  margin: 0;
  color: #302a26;
  font-size: 17px;
  letter-spacing: 0;
}

.article-side-heading > a {
  color: #77706a;
  font-size: 12px;
  font-weight: 700;
}

.article-side-links {
  display: grid;
  margin-top: 12px;
}

.article-side-links > a {
  display: grid;
  gap: 5px;
  padding: 14px 0;
  border-top: 1px solid #eee9e5;
}

.article-side-links span {
  color: #2f7a70;
  font-size: 11px;
  font-weight: 800;
}

.article-side-links strong {
  color: #423b36;
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
}

.article-contact-panel {
  padding: 22px 20px;
  background: #332c27;
  color: #fff;
}

.article-contact-panel p {
  margin: 0;
  color: #d9ccc3;
  font-size: 12px;
  font-weight: 700;
}

.article-contact-panel > strong {
  display: block;
  margin-top: 7px;
  font-size: 24px;
  letter-spacing: 0;
}

.article-contact-panel > span {
  display: block;
  margin-top: 12px;
  color: #d9d1cb;
  font-size: 12px;
  line-height: 1.65;
}

.article-contact-panel > a {
  display: flex;
  min-height: 42px;
  margin-top: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #fff;
  color: #332c27;
  font-size: 13px;
  font-weight: 800;
}

.article-contact-panel > a.secondary {
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
}

@media (max-width: 1400px) {
  .article-quick-widget {
    right: 14px;
    top: auto;
    bottom: 18px;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .article-layout {
    width: min(920px, 100%);
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .article-meta-row {
    align-items: flex-start;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .article-quick-widget {
    left: 50%;
    right: auto;
    bottom: 16px;
    grid-template-columns: repeat(3, 54px);
    transform: translateX(-50%);
  }
}
/* Automatically published medical articles */
.auto-medical-post {
  margin-top: 18px;
}

.auto-article-body > p,
.auto-article-body > h2,
.auto-article-body > h3,
.auto-article-body > ul,
.auto-article-body > ol,
.auto-article-body > blockquote {
  width: min(700px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.auto-article-body > h2 {
  margin-top: 92px;
}

.auto-article-figure {
  margin: 0 auto;
}

.auto-article-figure + p {
  min-height: 1px;
}

/* Medical archive post list */
.latest-posts-section {
  width: 100%;
  margin-top: 54px;
  margin-right: auto;
  margin-left: auto;
}

.latest-posts-heading {
  margin-bottom: 22px;
}

.latest-posts-heading h2 {
  margin: 6px 0 0;
  color: #22201e;
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: 0;
}

.latest-post-list {
  display: grid;
  gap: 16px;
}

.latest-post-row {
  position: relative;
  display: block;
  height: auto;
  min-height: 200px;
  overflow: hidden;
  border: 1px solid #ded9d4;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  box-shadow: 0 12px 34px rgba(54, 44, 37, 0.055);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.latest-post-row:last-child {
  border-bottom: 1px solid #ded9d4;
}

.latest-post-row::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #2f7a70;
  content: "";
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.latest-post-row:hover {
  border-color: #bfcfc9;
  box-shadow: 0 18px 46px rgba(54, 44, 37, 0.09);
  transform: translateY(-2px);
}

.latest-post-row:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.latest-post-media {
  height: 272px;
  margin: 0;
  overflow: hidden;
  background: #eef1f1;
}

.latest-post-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-post-copy {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 34px 52px 32px 42px;
}

.latest-post-row-text .latest-post-copy {
  min-height: 200px;
}

.latest-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.latest-post-category {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf5f4;
  color: #2f7a70;
  font-size: 12px;
  font-weight: 800;
}

.latest-post-meta time {
  color: #918780;
  font-size: 12px;
  font-weight: 700;
}

.latest-post-copy h3 {
  margin: 15px 0 0;
  color: #24211f;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
  word-break: keep-all;
}

.latest-post-copy p {
  display: -webkit-box;
  overflow: hidden;
  margin: 14px 0 0;
  color: #69625d;
  font-size: 14px;
  line-height: 1.8;
  word-break: keep-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.latest-post-more {
  display: inline-flex;
  margin-top: 19px;
  align-items: center;
  gap: 9px;
  color: #2f7a70;
  font-size: 12px;
  font-weight: 800;
}

.latest-post-more b {
  font-size: 18px;
  font-weight: 500;
  transition: transform 180ms ease;
}

.latest-post-row:hover .latest-post-more b {
  transform: translateX(5px);
}

.all-posts {
  width: 100%;
  margin-top: 26px;
  margin-right: auto;
  margin-left: auto;
  border-top: 1px solid #dce2e6;
  border-bottom: 1px solid #dce2e6;
}

.all-posts summary {
  display: flex;
  min-height: 68px;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  color: #2b2723;
  font-size: 16px;
  font-weight: 800;
}

.all-posts summary::-webkit-details-marker {
  display: none;
}

.all-posts-plus {
  font-size: 24px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.all-posts[open] .all-posts-plus {
  transform: rotate(45deg);
}

.all-post-list {
  padding-bottom: 14px;
}

.all-post-link {
  display: grid;
  min-height: 58px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #edf0f2;
  color: #403a36;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.all-post-link time {
  color: #918983;
  font-size: 12px;
  font-weight: 600;
}

/* Match every generated article to the first polysomnography article. */
.auto-article-body {
  font-family: "Noto Sans KR", "Pretendard", "Apple SD Gothic Neo", Arial, sans-serif;
}

.auto-article-body h2 {
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 0;
}

.auto-article-body p,
.auto-article-body li,
.auto-article-body blockquote {
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0;
}

.auto-article-body p *,
.auto-article-body li *,
.auto-article-body blockquote * {
  font-family: inherit !important;
  font-size: inherit !important;
}

/* Webblog focused home */
body[data-page="home"] {
  background: #fff;
}

body[data-page="home"] .webblog-header {
  position: static;
  width: 100%;
  padding: 18px max(28px, calc((100% - 1440px) / 2));
  border-bottom: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
  transform: none;
}

body[data-page="home"] .webblog-header .brand {
  min-width: 270px;
}

body[data-page="home"] .webblog-header .brand-logo {
  width: 42px;
  height: 42px;
}

body[data-page="home"] .webblog-header .brand strong {
  color: #1f2824;
  font-size: 20px;
  font-weight: 900;
}

body[data-page="home"] .webblog-header .brand small {
  color: rgba(31, 40, 36, 0.55);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.webblog-header .main-nav {
  gap: clamp(26px, 5.2vw, 84px);
  color: #1f2421;
  font-size: 15px;
  font-weight: 800;
}

.webblog-header .main-nav a {
  min-width: auto;
  padding: 0 4px;
}

.webblog-header .main-nav a::after {
  right: 4px;
  left: 4px;
  bottom: 4px;
  height: 1px;
  background: #1f2421;
}

.webblog-hero {
  width: min(1440px, calc(100% - 56px));
  min-height: min(720px, calc(100vh - 116px));
  margin: 0 auto 34px;
  padding: clamp(64px, 8vw, 116px) clamp(36px, 8vw, 118px);
  background:
    linear-gradient(90deg, rgba(26, 32, 30, 0.26), rgba(26, 32, 30, 0.06) 44%, rgba(255, 255, 255, 0.01) 72%),
    url("./assets/hero.jpg") center / cover;
  color: #fff;
}

.webblog-hero .main-message {
  max-width: 760px;
  font-family: "Noto Serif KR", "Noto Sans KR", serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: 0;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.24);
}

.webblog-hero .main-message em {
  color: #fff;
  font-style: normal;
}

.webblog-hero .eyebrow {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.9vw, 28px);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 54px;
}

.hero-actions a {
  display: inline-flex;
  min-width: 158px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-actions a + a {
  border-color: rgba(255, 255, 255, 0.46);
}

.home-magazine {
  padding: 86px max(20px, calc((100% - 1032px) / 2)) 96px;
  background: #fff;
}

.magazine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(230px, auto);
  gap: 16px;
  margin-top: 28px;
}

.magazine-card {
  position: relative;
  display: flex;
  min-height: 260px;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid rgba(75, 62, 51, 0.12);
  border-radius: 8px;
  background: #f8f4ee;
  color: #fff;
  box-shadow: 0 18px 46px rgba(58, 45, 35, 0.09);
}

.magazine-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(26, 22, 19, 0.04), rgba(26, 22, 19, 0.82));
  content: "";
}

.magazine-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.magazine-card:hover img {
  transform: scale(1.045);
}

.magazine-card span,
.magazine-card strong,
.magazine-card p {
  position: relative;
  z-index: 2;
}

.magazine-card span {
  color: #f1d39d;
  font-size: 12px;
  font-weight: 900;
}

.magazine-card strong {
  display: block;
  margin-top: 10px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.42;
}

.magazine-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.7;
}

.magazine-card-large {
  min-height: 540px;
  grid-column: span 2;
  grid-row: span 2;
}

.magazine-card-large strong {
  font-size: 30px;
}

.magazine-card-wide {
  grid-column: span 2;
  min-height: 260px;
}

.magazine-card-dark {
  background:
    radial-gradient(circle at 90% 10%, rgba(207, 165, 92, 0.24), transparent 34%),
    linear-gradient(145deg, #342b25 0%, #1e1a17 100%);
}

.magazine-card-dark::before {
  display: none;
}

.home-location-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(420px, 1.14fr);
  gap: 22px;
  padding: 88px max(20px, calc((100% - 1032px) / 2)) 96px;
  background: #fbf8f4;
}

.home-location-section .location-copy-card,
.home-location-section .location-map-card {
  border-radius: 8px;
}

.home-location-section .location-map-card {
  min-height: 560px;
}

.home-location-section .location-map-card img {
  min-height: 560px;
}

.home-clean-footer {
  padding: 28px max(28px, calc((100% - 1440px) / 2)) 40px;
  border-top: 1px solid rgba(30, 34, 32, 0.28);
  background: #fff;
  color: #111817;
}

.home-clean-footer-inner {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr 1.15fr 1fr;
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.clean-footer-brand strong {
  display: block;
  color: #050908;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.clean-footer-brand span {
  display: block;
  margin-top: 16px;
  color: rgba(17, 24, 23, 0.55);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.clean-footer-block strong,
.clean-footer-contact strong {
  display: block;
  margin-bottom: 14px;
  color: #101615;
  font-size: 13px;
  font-weight: 900;
}

.clean-footer-block p {
  margin: 0;
  color: rgba(25, 34, 32, 0.62);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.8;
}

.clean-footer-block .clean-footer-small {
  margin-top: 22px;
  color: rgba(25, 34, 32, 0.46);
  font-size: 11px;
}

.clean-footer-contact > a {
  display: inline-block;
  color: #050908;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.1;
}

.clean-footer-contact div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.clean-footer-contact div a {
  color: #111817;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

body[data-page="home"] .home-clean-footer {
  margin-top: 0;
}

body[data-page="home"] .home-story-section {
  padding-bottom: 108px;
  background: #fff;
}

body[data-page="home"] .home-story-section::before {
  display: none;
}

.webmag-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: end;
  padding: 86px max(28px, calc((100% - 1180px) / 2)) 72px;
  background:
    linear-gradient(180deg, #fff 0%, #fbfaf8 100%);
}

.webmag-hero-copy {
  max-width: 650px;
}

.webmag-hero-copy > p {
  margin: 0 0 22px;
  color: rgba(42, 38, 34, 0.48);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.webmag-hero-copy h1 {
  margin: 0;
  color: #1d1a18;
  font-family: "Noto Serif KR", "Noto Sans KR", "Apple SD Gothic Neo", serif;
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: 0;
}

.webmag-hero-copy > span {
  display: block;
  max-width: 520px;
  margin-top: 26px;
  color: rgba(31, 31, 29, 0.62);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
}

.webmag-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.webmag-hero-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid #171717;
  border-radius: 999px;
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.webmag-hero-actions a:first-child {
  background: #111;
  color: #fff;
}

.webmag-feature-slider {
  position: relative;
  min-width: 0;
}

.webmag-slide-track {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(42, 38, 34, 0.09);
}

.webmag-feature-card {
  display: none;
  overflow: hidden;
  border: 1px solid rgba(42, 38, 34, 0.12);
  border-radius: 18px;
  background: #f5f3f0;
  box-shadow: none;
}

.webmag-feature-card.is-active {
  display: block;
  animation: webmagSlideFade 220ms ease both;
}

@keyframes webmagSlideFade {
  from {
    opacity: 0;
    transform: translateX(14px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.webmag-feature-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(0.18) contrast(0.96) brightness(1.02);
}

.webmag-feature-card > div {
  padding: 26px 28px 28px;
}

.webmag-feature-card span {
  color: #a38650;
  font-size: 12px;
  font-weight: 900;
}

.webmag-feature-card strong {
  display: block;
  margin-top: 12px;
  color: #111;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.38;
  letter-spacing: -0.035em;
}

.webmag-feature-card p {
  margin: 14px 0 0;
  color: rgba(31, 31, 29, 0.58);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

.webmag-feature-card em {
  display: inline-block;
  margin-top: 22px;
  color: #111;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.webmag-slider-controls {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: min(100%, 62%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}

.webmag-slider-controls button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 0;
  background: rgba(10, 10, 10, 0.28);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  pointer-events: auto;
  backdrop-filter: blur(6px);
  transition: background 160ms ease, border-color 160ms ease;
}

.webmag-slider-controls button:hover {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(10, 10, 10, 0.52);
}

.home-story-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(300px, 0.9fr) minmax(220px, 300px);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  padding-top: 98px;
  padding-bottom: 0;
  overflow: hidden;
}

.home-story-section::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 170px;
  background:
    linear-gradient(90deg, rgba(239, 232, 223, 0.74), rgba(255, 255, 255, 0.72)),
    url("./assets/hero-location.jpg") center / cover;
  content: "";
  opacity: 0.45;
}

.story-link,
.story-center,
.story-depth {
  position: relative;
  z-index: 1;
}

.story-link {
  display: block;
  color: #27433e;
}

.story-link img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.96) brightness(1.02);
  box-shadow: 0 18px 44px rgba(40, 38, 34, 0.075);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.story-link:hover img {
  box-shadow: 0 26px 54px rgba(40, 38, 34, 0.13);
  transform: translateY(-4px);
}

.story-link strong {
  display: block;
  margin-top: 24px;
  color: #294742;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.35;
}

.story-link strong span {
  font-weight: 500;
}

.story-link p {
  margin: 14px 0 0;
  color: rgba(42, 55, 52, 0.68);
  font-size: 14px;
  line-height: 1.8;
}

.story-center {
  position: relative;
  min-height: 500px;
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.story-center::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 210px;
  background: rgba(39, 67, 62, 0.12);
  content: "";
}

.story-center h2 {
  width: min(100%, 320px);
  margin: 0;
  color: #5b4944;
  font-family: "Noto Serif KR", Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
  overflow-wrap: normal;
}

.story-center p {
  width: min(100%, 360px);
  margin: 24px 0 0;
  color: rgba(62, 65, 61, 0.64);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}

.story-link-right {
  margin-top: 58px;
}

@media (max-width: 1280px) {
  .story-center h2 {
    width: min(100%, 300px);
    font-size: clamp(28px, 2.8vw, 36px);
  }
}

.story-depth {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, 1fr) 260px 250px minmax(0, 0.28fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  margin-top: 34px;
  padding: 0 0 118px;
}

.story-depth-copy {
  max-width: 330px;
  margin-top: 72px;
}

.story-depth-copy h3 {
  position: relative;
  margin: 0;
  color: #4d403b;
  font-family: "Noto Serif KR", "Noto Sans KR", serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.68;
  letter-spacing: 0;
}

.story-depth-copy h3::after {
  display: none;
}

.story-depth-copy p {
  margin: 28px 0 0;
  color: rgba(59, 62, 58, 0.66);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.9;
}

.story-depth-main,
.story-depth-sub {
  display: block;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 22px 46px rgba(45, 42, 38, 0.12);
}

.story-depth-main {
  aspect-ratio: 0.72 / 1;
  margin-top: 16px;
}

.story-depth-sub {
  aspect-ratio: 0.86 / 1;
  margin-top: 120px;
}

.journal-depth {
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 1fr);
  gap: clamp(38px, 5vw, 76px);
  align-items: start;
  padding-bottom: 142px;
}

.journal-depth .story-depth-copy {
  margin-top: 88px;
}

.journal-panel {
  min-width: 0;
}

.journal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.journal-head p {
  margin: 0 0 14px;
  color: rgba(45, 43, 40, 0.48);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.journal-head h3 {
  margin: 0;
  color: #111;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.journal-head > a {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.45);
  color: #111;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.journal-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
}

.journal-card {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  padding: 14px 14px 22px;
  border: 1px solid rgba(42, 38, 34, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(40, 38, 34, 0.075);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.journal-card:hover {
  border-color: rgba(42, 38, 34, 0.18);
  box-shadow: 0 26px 58px rgba(40, 38, 34, 0.12);
  transform: translateY(-4px);
}

.journal-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  filter: grayscale(0.65) contrast(0.94) brightness(1.04);
  object-fit: cover;
}

.journal-card span {
  margin: 20px 8px 0;
  color: #a38650;
  font-size: 12px;
  font-weight: 900;
}

.journal-card strong {
  display: block;
  margin: 12px 8px 0;
  color: #111;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: -0.03em;
}

.journal-card p {
  margin: 16px 8px 0;
  color: rgba(35, 34, 32, 0.58);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

.journal-card::after {
  display: block;
  height: 1px;
  margin: auto 8px 0;
  background: rgba(42, 38, 34, 0.12);
  content: "";
}

@media (max-width: 960px) {
  .webmag-hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .webmag-hero-copy h1 {
    font-size: clamp(32px, 8vw, 46px);
  }

  .magazine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .magazine-card-large,
  .magazine-card-wide {
    grid-column: span 2;
  }

  .home-location-section {
    grid-template-columns: 1fr;
  }

  .home-clean-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-story-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .story-center {
    min-height: auto;
    padding: 20px 0 36px;
    order: -1;
  }

  .story-center::after {
    display: none;
  }

  .story-link,
  .story-link-right {
    margin-top: 0;
  }

  .story-link img {
    aspect-ratio: 16 / 10;
  }

  .story-depth {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding-bottom: 62px;
  }

  .story-depth-copy {
    max-width: none;
    margin-top: 10px;
  }

  .story-depth-copy h3::after {
    display: none;
  }

  .story-depth-main,
  .story-depth-sub {
    aspect-ratio: 16 / 10;
    margin-top: 0;
  }

  .journal-depth .story-depth-copy {
    margin-top: 10px;
  }

  .journal-head {
    grid-template-columns: 1fr;
  }

  .journal-card-row {
    grid-template-columns: 1fr;
  }

  .journal-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .webmag-hero {
    padding-right: 22px;
    padding-left: 22px;
  }

  .webmag-hero-actions a {
    width: 100%;
  }

  .webblog-hero {
    min-height: 640px;
  }

  .hero-actions a {
    width: 100%;
  }

  .magazine-grid {
    grid-template-columns: 1fr;
  }

  .magazine-card,
  .magazine-card-large,
  .magazine-card-wide {
    min-height: 250px;
    grid-column: auto;
    grid-row: auto;
  }

  .magazine-card-large strong {
    font-size: 23px;
  }

  .home-location-section .location-map-card,
  .home-location-section .location-map-card img {
    min-height: 360px;
  }

  .home-clean-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .clean-footer-brand strong {
    font-size: 24px;
  }
}

@media (max-width: 720px) {
  .latest-posts-section {
    margin-top: 38px;
  }

  .latest-posts-heading h2 {
    font-size: 26px;
  }

  .latest-post-row {
    min-height: 170px;
  }

  .latest-post-media,
  .latest-post-media img {
    height: 154px;
  }

  .latest-post-copy {
    padding: 22px 18px 22px 20px;
  }

  .latest-post-row-text .latest-post-copy {
    min-height: 170px;
  }

  .latest-post-category {
    padding: 4px 8px;
    font-size: 10px;
  }

  .latest-post-copy h3 {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 9px;
    font-size: 17px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .latest-post-copy p {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
  }

  .latest-post-meta time {
    font-size: 10px;
  }

  .latest-post-more {
    display: none;
  }

  .all-post-link {
    min-height: 64px;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
  }

  .auto-article-body h2 {
    font-size: 23px;
  }

  .auto-article-body p,
  .auto-article-body li,
  .auto-article-body blockquote {
    font-size: 16px;
    line-height: 1.9;
  }
}

/* Unified page gutter — one alignment line across all pages (2026-07-10) */
.site-header,
.page-hero,
.hospital-intro,
.clinic-space-section,
.content-shell,
.medical-archive,
.doctor-showcase,
.article-header,
.article-body,
.article-footer-nav,
.site-footer,
footer {
  padding-left: max(20px, calc((100% - 1032px) / 2));
  padding-right: max(20px, calc((100% - 1032px) / 2));
}

.footer-inner {
  width: min(100%, 1032px);
}

/* Medical info page: align visual tone with the webmag home */
body[data-page="medical"] {
  background: #fbf8f2;
}

body[data-page="medical"] .site-header {
  padding: 18px max(28px, calc((100% - 1440px) / 2));
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

body[data-page="medical"] .brand strong {
  color: #1f2824;
  font-size: 20px;
  font-weight: 900;
}

body[data-page="medical"] .brand small {
  color: rgba(31, 40, 36, 0.55);
  font-size: 12px;
}

body[data-page="medical"] .main-nav {
  gap: clamp(26px, 5.2vw, 84px);
  color: #1f2421;
}

body[data-page="medical"] .main-nav a {
  padding: 0 4px;
}

body[data-page="medical"] .main-nav a::after {
  right: 4px;
  left: 4px;
  bottom: 4px;
  height: 1px;
  background: #1f2421;
}

body[data-page="medical"] .medical-hero {
  min-height: 0;
  padding: 86px max(28px, calc((100% - 1180px) / 2)) 48px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 86% 12%, rgba(47, 138, 122, 0.08), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, #fbf8f2 100%);
}

body[data-page="medical"] .medical-hero > div {
  max-width: 820px;
}

body[data-page="medical"] .medical-hero .eyebrow,
body[data-page="medical"] .medical-lead .eyebrow,
body[data-page="medical"] .latest-posts-heading .eyebrow {
  color: rgba(42, 38, 34, 0.48);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

body[data-page="medical"] .medical-hero h1 {
  color: #151515;
  font-family: "Noto Serif KR", "Noto Sans KR", "Apple SD Gothic Neo", serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

body[data-page="medical"] .medical-hero p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(31, 31, 29, 0.62);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
}

body[data-page="medical"] .medical-archive {
  padding: 36px max(28px, calc((100% - 1180px) / 2)) 96px;
  background: #fbf8f2;
}

body[data-page="medical"] .medical-lead {
  max-width: 760px;
}

body[data-page="medical"] .medical-lead h2,
body[data-page="medical"] .latest-posts-heading h2 {
  color: #111;
  font-family: "Noto Sans KR", "Pretendard", "Apple SD Gothic Neo", Arial, sans-serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

body[data-page="medical"] .medical-lead p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(31, 31, 29, 0.58);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}

body[data-page="medical"] .medical-search {
  max-width: 780px;
  margin: 34px 0 22px;
}

body[data-page="medical"] .medical-search label {
  margin-bottom: 10px;
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

body[data-page="medical"] .medical-search div {
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(42, 38, 34, 0.12);
  border-radius: 999px;
  background: #fffdf9;
  box-shadow: none;
}

body[data-page="medical"] .medical-search input {
  min-height: 44px;
  padding: 0 18px;
  font-weight: 600;
}

body[data-page="medical"] .medical-search button {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: #111;
  font-size: 13px;
}

body[data-page="medical"] .topic-strip {
  gap: 9px;
  margin: 22px 0 48px;
}

body[data-page="medical"] .topic-strip span {
  padding: 8px 13px;
  border-color: rgba(42, 38, 34, 0.1);
  background: rgba(255, 253, 249, 0.88);
  color: rgba(31, 31, 29, 0.62);
  font-size: 12px;
}

body[data-page="medical"] .latest-posts-section {
  margin-top: 0;
}

body[data-page="medical"] .latest-posts-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding-top: 34px;
  border-top: 1px solid rgba(42, 38, 34, 0.1);
}

body[data-page="medical"] .latest-post-list {
  gap: 14px;
}

body[data-page="medical"] .latest-post-row {
  min-height: 0;
  border: 1px solid rgba(42, 38, 34, 0.1);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 18px 42px rgba(40, 38, 34, 0.055);
}

body[data-page="medical"] .latest-post-row::before {
  display: none;
}

body[data-page="medical"] .latest-post-row:hover {
  border-color: rgba(42, 38, 34, 0.18);
  box-shadow: 0 26px 58px rgba(40, 38, 34, 0.1);
  transform: translateY(-3px);
}

body[data-page="medical"] .latest-post-copy {
  padding: 30px 38px 32px;
}

body[data-page="medical"] .latest-post-row-text .latest-post-copy {
  min-height: 184px;
}

body[data-page="medical"] .latest-post-category {
  background: #f2eadc;
  color: #a38650;
}

body[data-page="medical"] .latest-post-copy h3 {
  color: #111;
  font-size: 22px;
  letter-spacing: -0.03em;
}

body[data-page="medical"] .latest-post-copy p {
  color: rgba(31, 31, 29, 0.58);
  font-weight: 600;
}

body[data-page="medical"] .latest-post-more {
  color: #111;
}

body[data-page="medical"] .all-posts {
  margin-top: 34px;
  border-color: rgba(42, 38, 34, 0.16);
}

body[data-page="medical"] .all-posts summary {
  min-height: 72px;
  color: #111;
}

body[data-page="medical"] .all-post-link {
  border-top-color: rgba(42, 38, 34, 0.08);
}

@media (max-width: 720px) {
  body[data-page="medical"] .medical-hero {
    padding: 54px 22px 30px;
  }

  body[data-page="medical"] .medical-archive {
    padding: 30px 22px 72px;
  }

  body[data-page="medical"] .medical-search div {
    border-radius: 18px;
  }

  body[data-page="medical"] .latest-post-copy {
    padding: 24px 20px 26px;
  }
}

/* White editorial tone with brown accents */
body[data-page="home"],
body[data-page="medical"] {
  background: #fff;
}

body[data-page="home"] .site-header,
body[data-page="medical"] .site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(93, 69, 55, 0.1);
}

body[data-page="home"] .webmag-hero {
  background: #fff;
}

body[data-page="home"] .webmag-hero-copy > p,
body[data-page="medical"] .medical-hero .eyebrow,
body[data-page="medical"] .medical-lead .eyebrow,
body[data-page="medical"] .latest-posts-heading .eyebrow {
  color: #8b6a4d;
}

body[data-page="home"] .webmag-hero-copy h1,
body[data-page="medical"] .medical-hero h1,
body[data-page="medical"] .medical-lead h2,
body[data-page="medical"] .latest-posts-heading h2 {
  color: #181512;
}

body[data-page="home"] .webmag-hero-actions a {
  border-color: #5d4537;
  color: #5d4537;
}

body[data-page="home"] .webmag-hero-actions a:first-child,
body[data-page="medical"] .medical-search button {
  background: #5d4537;
  border-color: #5d4537;
  color: #fff;
}

body[data-page="home"] .webmag-feature-card,
body[data-page="medical"] .latest-post-row,
body[data-page="medical"] .medical-search div,
body[data-page="medical"] .all-posts {
  border-color: rgba(93, 69, 55, 0.13);
  background: #fff;
}

body[data-page="home"] .webmag-feature-card span,
body[data-page="medical"] .latest-post-category {
  color: #8b6a4d;
}

body[data-page="medical"] .latest-post-category {
  background: rgba(139, 106, 77, 0.1);
}

body[data-page="home"] .story-center h2 {
  color: #5d4537;
}

body[data-page="home"] .story-link strong {
  color: #4c382e;
}

body[data-page="home"] .home-clean-footer,
body[data-page="medical"] .site-footer {
  background: #fff;
  border-top-color: rgba(93, 69, 55, 0.12);
}

body[data-page="medical"] .medical-hero,
body[data-page="medical"] .medical-archive {
  background: #fff;
}

body[data-page="medical"] .latest-posts-section {
  margin-bottom: 72px;
}

body[data-page="medical"] .home-clean-footer {
  margin-top: 0;
  background: #fff;
  border-top: 1px solid rgba(93, 69, 55, 0.12);
}

body[data-page="medical"] .home-clean-footer-inner {
  max-width: 1180px;
}

/* Simple location page */
.location-simple-page {
  background: #fff;
  color: #181512;
}

.location-simple-hero {
  padding: 92px max(28px, calc((100% - 1180px) / 2)) 44px;
}

.location-simple-hero p {
  margin: 0 0 16px;
  color: #8b6a4d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.location-simple-hero h1 {
  margin: 0;
  color: #181512;
  font-family: "Noto Serif KR", "Noto Sans KR", "Apple SD Gothic Neo", serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.18;
}

.location-simple-hero span {
  display: block;
  margin-top: 18px;
  color: rgba(31, 31, 29, 0.62);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

.location-simple-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  padding: 0 max(28px, calc((100% - 1180px) / 2)) 96px;
}

.location-simple-info {
  display: grid;
  gap: 0;
  align-self: start;
  border-top: 1px solid rgba(93, 69, 55, 0.18);
}

.location-simple-info > div {
  padding: 24px 0;
  border-bottom: 1px solid rgba(93, 69, 55, 0.12);
}

.location-simple-info strong {
  display: block;
  margin-bottom: 10px;
  color: #8b6a4d;
  font-size: 13px;
  font-weight: 900;
}

.location-simple-info p {
  margin: 0;
  color: rgba(31, 31, 29, 0.74);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.85;
}

.location-simple-info a {
  color: #181512;
  font-weight: 900;
}

.location-simple-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.location-simple-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #5d4537;
  border-radius: 999px;
  color: #5d4537;
  font-size: 13px;
  font-weight: 900;
}

.location-simple-actions a:first-child {
  background: #5d4537;
  color: #fff;
}

.location-parking {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #5d4537;
  font-size: 14px;
  font-weight: 900;
}

.location-parking b {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #5d4537;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.location-simple-map {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(93, 69, 55, 0.14);
  border-radius: 18px;
  background: #f6f3ef;
  box-shadow: 0 24px 70px rgba(42, 38, 34, 0.08);
}

.location-map-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  gap: 3px;
  padding: 13px 16px;
  border: 1px solid rgba(93, 69, 55, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(42, 38, 34, 0.12);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.location-map-label strong {
  color: #5d4537;
  font-size: 15px;
  font-weight: 900;
}

.location-map-label span {
  color: rgba(31, 31, 29, 0.64);
  font-size: 12px;
  font-weight: 700;
}

.location-simple-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

@media (max-width: 900px) {
  .location-simple-layout {
    grid-template-columns: 1fr;
  }

  .location-simple-map,
  .location-simple-map iframe {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .location-simple-hero {
    padding: 58px 22px 32px;
  }

  .location-simple-layout {
    padding: 0 22px 72px;
  }
}

/* 2026-07-31 Choice ENT homepage hero refresh */
body[data-page="home"] {
  background: #f7fbfa;
}

body[data-page="home"] .quick-widget {
  display: none;
}

body[data-page="home"] .webblog-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 56px);
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

body[data-page="home"] .webblog-header .brand {
  min-width: 250px;
  color: #17201f;
}

body[data-page="home"] .webblog-header .brand-logo {
  width: 42px;
  height: 42px;
}

body[data-page="home"] .webblog-header .brand strong {
  color: #0a9fa1;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
}

body[data-page="home"] .webblog-header .brand small {
  color: rgba(10, 159, 161, 0.72);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body[data-page="home"] .webblog-header .main-nav {
  gap: clamp(14px, 2.4vw, 34px);
  color: #273230;
  font-size: 16px;
  font-weight: 900;
}

body[data-page="home"] .webblog-header .main-nav a {
  height: 44px;
  padding: 0;
}

body[data-page="home"] .webblog-header .main-nav a::after {
  right: 0;
  bottom: 2px;
  left: 0;
  background: #0aa9aa;
}

body[data-page="home"] .webmag-hero {
  position: relative;
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.95fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  margin-top: -76px;
  padding: 222px clamp(24px, 5vw, 72px) 76px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 35%, rgba(236, 250, 249, 0.68) 63%, rgba(10, 159, 161, 0.16) 100%),
    radial-gradient(circle at 13% 28%, rgba(10, 169, 170, 0.14), transparent 34%),
    #f6fbfa;
}

body[data-page="home"] .webmag-hero::before {
  position: absolute;
  inset: 0;
  background: url("./assets/profile.jpg") center / cover no-repeat;
  content: "";
  opacity: 0.2;
}

body[data-page="home"] .webmag-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.94) 38%, rgba(255, 255, 255, 0.54) 60%, rgba(255, 255, 255, 0.06) 100%),
    linear-gradient(0deg, rgba(246, 251, 250, 0.96) 0%, rgba(246, 251, 250, 0) 22%);
  content: "";
  pointer-events: none;
}

body[data-page="home"] .webmag-hero::before {
  background-position: center top !important;
}

body[data-page="home"] .webmag-hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.8) 38%, rgba(255, 255, 255, 0.46) 60%, rgba(255, 255, 255, 0.02) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.58) 18%, rgba(255, 255, 255, 0) 44%),
    linear-gradient(0deg, rgba(246, 251, 250, 0.96) 0%, rgba(246, 251, 250, 0) 22%) !important;
}

body[data-page="home"] .webmag-hero-copy,
body[data-page="home"] .choice-hero-doctor {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .webmag-hero-copy {
  max-width: 640px;
}

body[data-page="home"] .webmag-hero-copy > p {
  margin: 0;
  color: #009fa3;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.48em;
  text-transform: uppercase;
}

body[data-page="home"] .webmag-hero-copy h1 {
  max-width: 620px;
  margin: 32px 0 0;
  color: #14201f;
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.18;
}

body[data-page="home"] .webmag-hero-copy > span {
  display: block;
  max-width: 600px;
  margin-top: 28px;
  color: #435250;
  font-size: 16px;
  font-weight: 600;
  line-height: 2.02;
}

body[data-page="home"] .webmag-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

body[data-page="home"] .webmag-hero-actions a {
  display: inline-flex;
  min-width: 136px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid #0aa9aa;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.78);
  color: #087f82;
  font-size: 14px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

body[data-page="home"] .webmag-hero-actions a:first-child {
  background: rgba(255, 255, 255, 0.78);
  color: #087f82;
}

body[data-page="home"] .webmag-hero-actions a:last-child {
  border-color: #0aa9aa;
  background: #0aa9aa;
  color: #fff;
  box-shadow: 0 18px 42px rgba(10, 169, 170, 0.24);
}

body[data-page="home"] .choice-hero-doctor {
  position: absolute;
  right: -34px;
  bottom: 0;
  z-index: 1;
  width: min(49vw, 680px);
  height: calc(100% - 76px);
  align-self: end;
  justify-self: end;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(251, 248, 244, 0) 0%, rgba(251, 248, 244, 0.08) 20%, rgba(251, 248, 244, 0.14) 100%),
    url("./assets/profile.jpg") left 52% center / auto 100% no-repeat;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 900;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 18%, #000 34%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 18%, #000 34%, #000 100%);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

body[data-page="home"] .choice-hero-doctor span {
  position: absolute;
  right: 54px;
  bottom: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body[data-page="home"] .choice-hero-doctor span::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

@media (max-width: 900px) {
  body[data-page="home"] .webblog-header {
    position: sticky;
    padding: 12px 20px;
  }

  body[data-page="home"] .webblog-header .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  body[data-page="home"] .webblog-header .main-nav a {
    flex: 0 0 auto;
    height: 36px;
    padding-right: 10px;
    font-size: 13px;
  }

  body[data-page="home"] .webmag-hero {
    min-height: 690px;
    grid-template-columns: 1fr;
    padding: 58px 22px 52px;
  }

  body[data-page="home"] .webmag-hero::before {
    background-position: center bottom;
    background-size: auto 58%;
    opacity: 0.46;
  }

  body[data-page="home"] .webmag-hero::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 46%, rgba(255, 255, 255, 0.42) 100%),
      linear-gradient(0deg, rgba(246, 251, 250, 0.98) 0%, rgba(246, 251, 250, 0) 30%);
  }

  body[data-page="home"] .webmag-hero-copy h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  body[data-page="home"] .choice-hero-doctor {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 300px;
    justify-self: stretch;
    margin: 80px 0 -52px;
    background: url("./assets/profile.jpg") center 36% / cover no-repeat;
    color: #087f82;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 100%);
    text-shadow: none;
  }

  body[data-page="home"] .choice-hero-doctor span {
    right: auto;
    bottom: 24px;
    left: 0;
  }
}

/* 2026-07-31 final hero placement: background only behind title, doctor to far right */
body[data-page="home"] .webmag-hero::before {
  background: url("./assets/profile.jpg") right center / cover no-repeat !important;
  opacity: 0.52 !important;
}

body[data-page="home"] .webmag-hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 44%, rgba(255, 255, 255, 0.44) 64%, rgba(255, 255, 255, 0.05) 100%),
    linear-gradient(0deg, rgba(251, 248, 244, 0.9) 0%, rgba(251, 248, 244, 0) 22%) !important;
}

body[data-page="home"] .choice-hero-doctor {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  height: auto !important;
  align-self: end !important;
  justify-self: end !important;
  margin: 0 32px 18px 0 !important;
  background: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

body[data-page="home"] .choice-hero-doctor span {
  position: static !important;
}

@media (max-width: 900px) {
  body[data-page="home"] .webmag-hero::before {
    background-position: center bottom !important;
    background-size: auto 58% !important;
    opacity: 0.4 !important;
  }
}

/* 2026-07-31 final hero right doctor crop */
body[data-page="home"] .webmag-hero::before {
  background: url("./assets/profile.jpg") center / cover no-repeat !important;
  opacity: 0.2 !important;
}

body[data-page="home"] .webmag-hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.86) 43%, rgba(255, 255, 255, 0.56) 58%, rgba(255, 255, 255, 0.12) 100%),
    linear-gradient(0deg, rgba(251, 248, 244, 0.92) 0%, rgba(251, 248, 244, 0) 22%) !important;
}

body[data-page="home"] .choice-hero-doctor {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  width: min(52vw, 720px) !important;
  height: calc(100% - 76px) !important;
  margin: 0 !important;
  background: url("./assets/hero-doctor-right.jpg") right bottom / auto 100% no-repeat !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 100%) !important;
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 100%) !important;
}

body[data-page="home"] .choice-hero-doctor span {
  position: absolute !important;
  right: 46px !important;
  bottom: 34px !important;
}

@media (max-width: 900px) {
  body[data-page="home"] .choice-hero-doctor {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: 320px !important;
    margin: 90px 0 -52px !important;
    background-position: center bottom !important;
    background-size: cover !important;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%) !important;
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%) !important;
  }

  body[data-page="home"] .choice-hero-doctor span {
    right: auto !important;
    bottom: 24px !important;
    left: 0 !important;
  }
}

/* Final home hero header overlay: let the hero image sit behind the menu */
body[data-page="home"] .webblog-header {
  background: transparent !important;
  border-bottom: 0 !important;
}

body[data-page="home"] .webblog-header .brand strong,
body[data-page="home"] .webblog-header .main-nav a {
  color: #211812 !important;
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.72);
}

body[data-page="home"] .webblog-header .brand small {
  color: rgba(33, 24, 18, 0.74) !important;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.72);
}

body[data-page="home"] .webblog-header .main-nav a::after {
  background: #5d4537 !important;
}

body[data-page="home"] .webmag-hero {
  margin-top: -76px !important;
  padding-top: 222px !important;
}

body[data-page="home"] .webmag-hero::before {
  background-position: center top !important;
}

body[data-page="home"] .webmag-hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.78) 38%, rgba(255, 255, 255, 0.42) 60%, rgba(255, 255, 255, 0.02) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.52) 18%, rgba(255, 255, 255, 0) 44%),
    linear-gradient(0deg, rgba(246, 251, 250, 0.96) 0%, rgba(246, 251, 250, 0) 22%) !important;
}

/* Final hospital profile layout: career text and doctor portrait aligned as one section */
body[data-page="hospital"] .hospital-doctor-section {
  position: relative !important;
  display: grid !important;
  width: min(1120px, calc(100% - 48px)) !important;
  min-height: 0 !important;
  margin: 0 auto 78px !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px) !important;
  align-items: center !important;
  gap: clamp(48px, 6vw, 88px) !important;
  padding: 70px 0 76px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body[data-page="hospital"] .hospital-doctor-section::before,
body[data-page="hospital"] .hospital-doctor-section::after {
  content: none !important;
  display: none !important;
}

body[data-page="hospital"] .hospital-doctor-copy {
  position: relative !important;
  z-index: 2 !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: center !important;
  max-width: 690px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body[data-page="hospital"] .hospital-doctor-photo {
  position: relative !important;
  z-index: 1 !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

body[data-page="hospital"] .hospital-doctor-photo img {
  position: relative !important;
  display: block !important;
  width: min(360px, 100%) !important;
  max-width: 100% !important;
  max-height: 620px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  filter: none !important;
}

body[data-page="hospital"] .hospital-doctor-section .doctor-career-grid {
  gap: clamp(34px, 4vw, 48px) !important;
}

@media (max-width: 900px) {
  body[data-page="hospital"] .hospital-doctor-section {
    width: calc(100% - 32px) !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding: 40px 0 62px !important;
  }

  body[data-page="hospital"] .hospital-doctor-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
    max-width: none !important;
  }

  body[data-page="hospital"] .hospital-doctor-photo {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-content: center !important;
  }

  body[data-page="hospital"] .hospital-doctor-photo img {
    width: min(330px, 100%) !important;
    max-height: 520px !important;
  }
}

/* Final typography direction: one refined sans family, separated by weight and scale */
body,
button,
input,
textarea,
select {
  font-family: "Noto Sans KR", "Pretendard", "Apple SD Gothic Neo", Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
.webmag-hero-copy h1,
.hospital-doctor-copy h2,
.hospital-hero h1,
.medical-hero h1,
.medical-lead h2,
.latest-posts-heading h2,
.location-simple-hero h1,
.choice-care-subjects h2,
.choice-care-card h3 {
  font-family: "Noto Sans KR", "Pretendard", "Apple SD Gothic Neo", Arial, sans-serif !important;
  letter-spacing: -0.015em !important;
}

body[data-page="home"] .webmag-hero-copy h1 {
  font-weight: 900 !important;
  line-height: 1.18 !important;
}

body[data-page="hospital"] .hospital-doctor-copy h2,
body[data-page="hospital"] .hospital-hero h1 {
  font-weight: 900 !important;
}

.eyebrow,
.brand small,
.webmag-hero-copy > p,
.latest-posts-heading .eyebrow,
.choice-care-subjects .eyebrow {
  font-family: "Noto Sans KR", "Pretendard", "Apple SD Gothic Neo", Arial, sans-serif !important;
  letter-spacing: 0.22em !important;
}

/* Hospital top: no visible split between menu and title area */
body[data-page="hospital"] .webblog-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  min-height: 76px !important;
  padding: 14px clamp(20px, 5vw, 56px) !important;
  border-radius: 0 !important;
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body[data-page="hospital"] .webblog-header .brand strong,
body[data-page="hospital"] .webblog-header .main-nav a {
  color: #211812 !important;
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.72) !important;
}

body[data-page="hospital"] .webblog-header .brand small {
  color: rgba(93, 69, 55, 0.68) !important;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.72) !important;
}

body[data-page="hospital"] .webblog-header .main-nav a::after {
  background: #5d4537 !important;
}

body[data-page="hospital"] .hospital-hero {
  min-height: 260px !important;
  padding-top: 104px !important;
  padding-bottom: 68px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-bottom: 0 !important;
  background: #fff !important;
  color: #211812 !important;
}

body[data-page="hospital"] .hospital-hero > div {
  width: calc(100% - 72px) !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
}

body[data-page="hospital"] .hospital-hero .eyebrow {
  color: #8b6a50 !important;
}

body[data-page="hospital"] .hospital-hero p {
  color: rgba(33, 24, 18, 0.72) !important;
}

/* Hospital profile section connector */
body[data-page="hospital"] .hospital-intro {
  padding-bottom: 58px !important;
}

body[data-page="hospital"] .hospital-doctor-section {
  margin-top: 0 !important;
  gap: clamp(30px, 4vw, 54px) !important;
  padding-top: 58px !important;
}

body[data-page="hospital"] .hospital-doctor-section::before {
  position: absolute !important;
  top: -2px !important;
  left: 0 !important;
  right: 0 !important;
  display: block !important;
  height: 2px !important;
  background:
    linear-gradient(90deg, #5d4537 0 74px, rgba(93, 69, 55, 0.18) 74px, rgba(93, 69, 55, 0.06) 58%, rgba(93, 69, 55, 0) 100%) !important;
  content: "" !important;
}

body[data-page="hospital"] .hospital-doctor-section::after {
  position: absolute !important;
  top: -32px !important;
  left: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 22px !important;
  padding: 0 14px 0 0 !important;
  background: linear-gradient(90deg, #fff 0%, #fff 82%, rgba(255, 255, 255, 0)) !important;
  color: #8b6a50 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.24em !important;
  line-height: 1 !important;
  content: "DOCTOR PROFILE" !important;
}

@media (max-width: 900px) {
  body[data-page="hospital"] .hospital-intro {
    padding-bottom: 42px !important;
  }

  body[data-page="hospital"] .hospital-doctor-section {
    gap: 22px !important;
    padding-top: 44px !important;
  }
}

/* Final shared webblog header sizing: match home menu on every page, without carrying the hero image */
body:not([data-page="home"]) .webblog-header {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  width: 100% !important;
  min-height: 76px !important;
  padding: 14px clamp(20px, 5vw, 56px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  transform: none !important;
}

body:not([data-page="home"]) .webblog-header .brand {
  min-width: 250px !important;
  gap: 13px !important;
}

body:not([data-page="home"]) .webblog-header .brand-logo {
  width: 42px !important;
  height: 42px !important;
}

body:not([data-page="home"]) .webblog-header .brand > span:last-child {
  height: 42px !important;
  padding: 1px 0 2px !important;
}

body:not([data-page="home"]) .webblog-header .brand strong {
  color: #211812 !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

body:not([data-page="home"]) .webblog-header .brand small {
  color: rgba(93, 69, 55, 0.72) !important;
  font-size: 10.5px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
}

body:not([data-page="home"]) .webblog-header .main-nav {
  gap: clamp(14px, 2.4vw, 34px) !important;
  color: #211812 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

body:not([data-page="home"]) .webblog-header .main-nav a {
  height: 44px !important;
  padding: 0 !important;
  color: #211812 !important;
  font-size: 16px !important;
  text-shadow: none !important;
}

body:not([data-page="home"]) .webblog-header .main-nav a::after {
  right: 0 !important;
  bottom: 2px !important;
  left: 0 !important;
  background: #5d4537 !important;
}

/* Final hospital page flow: title -> doctor profile -> space */
body[data-page="hospital"] .hospital-doctor-section {
  width: min(1120px, calc(100% - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 22px !important;
  padding-bottom: 52px !important;
}

body[data-page="hospital"] .hospital-intro {
  width: min(1120px, calc(100% - 48px)) !important;
  margin: 0 auto 84px !important;
  padding: 66px 0 0 !important;
  border-top: 1px solid rgba(93, 69, 55, 0.12) !important;
  background: #fff !important;
}

body[data-page="hospital"] .hospital-intro-copy {
  max-width: 560px !important;
}

body[data-page="hospital"] .intro-photo {
  box-shadow: 0 22px 52px rgba(42, 38, 34, 0.1) !important;
}

@media (max-width: 900px) {
  body[data-page="hospital"] .hospital-doctor-section {
    margin-bottom: 12px !important;
    padding-bottom: 42px !important;
  }

  body[data-page="hospital"] .hospital-intro {
    width: calc(100% - 32px) !important;
    margin: 0 auto 64px !important;
    padding-top: 42px !important;
  }

  body[data-page="hospital"] .hospital-doctor-section {
    width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body[data-page="hospital"] .hospital-hero > div {
    width: calc(100% - 32px) !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }
}



/* Keep the home hero copy area clean hero-clean-copy while preserving the doctor image on the right. */
body[data-page="home"] .webmag-hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.98) 54%, rgba(255, 255, 255, 0.62) 68%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(0deg, rgba(251, 248, 244, 0.94) 0%, rgba(251, 248, 244, 0) 22%) !important;
}


/* Visible FAQ block for auto-published medical posts */
.article-body .post-faq,
.haroop-post .post-faq {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(93, 69, 55, 0.18);
}
.article-body .post-faq dl,
.haroop-post .post-faq dl {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
}
.article-body .post-faq dt,
.haroop-post .post-faq dt {
  color: #3a2b22;
  font-weight: 900;
  line-height: 1.65;
}
.article-body .post-faq dd,
.haroop-post .post-faq dd {
  margin: -6px 0 8px;
  color: #66564a;
  line-height: 1.85;
}


/* FAQ block refinement for medical article pages */
.haroop-post .post-faq {
  margin: 38px 0 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(93, 69, 55, 0.18);
}
.haroop-post .post-faq h2 {
  margin: 0 0 18px;
  color: #2f261f;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.haroop-post .post-faq dl {
  display: grid;
  gap: 0;
  margin: 0;
}
.haroop-post .post-faq dt {
  margin: 0;
  padding: 18px 20px 7px;
  border: 1px solid rgba(93, 69, 55, 0.14);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: #fbf8f4;
  color: #332820;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.55;
}
.haroop-post .post-faq dt::before {
  content: "Q. ";
  color: #7a5942;
}
.haroop-post .post-faq dd {
  margin: 0 0 14px;
  padding: 0 20px 18px;
  border: 1px solid rgba(93, 69, 55, 0.14);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: #fbf8f4;
  color: #65574e;
  font-size: 15px;
  line-height: 1.85;
}
.haroop-post .post-faq dd::before {
  content: "A. ";
  color: #9a7656;
  font-weight: 900;
}


/* FAQ visual reset after inline post styles */
.article-body.auto-article-body .haroop-post .post-faq {
  margin: 38px 0 28px !important;
  padding-top: 28px !important;
  border-top: 1px solid rgba(93, 69, 55, 0.18) !important;
}
.article-body.auto-article-body .haroop-post .post-faq h2 {
  margin: 0 0 18px !important;
  color: #2f261f !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
}
.article-body.auto-article-body .haroop-post .post-faq dl {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
.article-body.auto-article-body .haroop-post .post-faq dt {
  margin: 0 !important;
  padding: 18px 20px 7px !important;
  border: 1px solid rgba(93, 69, 55, 0.14) !important;
  border-bottom: 0 !important;
  border-radius: 10px 10px 0 0 !important;
  background: #fbf8f4 !important;
  color: #332820 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.55 !important;
}
.article-body.auto-article-body .haroop-post .post-faq dt::before {
  content: "Q. " !important;
  color: #7a5942 !important;
}
.article-body.auto-article-body .haroop-post .post-faq dd {
  margin: 0 0 14px !important;
  padding: 0 20px 18px !important;
  border: 1px solid rgba(93, 69, 55, 0.14) !important;
  border-top: 0 !important;
  border-radius: 0 0 10px 10px !important;
  background: #fbf8f4 !important;
  color: #65574e !important;
  font-size: 15px !important;
  line-height: 1.85 !important;
  text-align: left !important;
}
.article-body.auto-article-body .haroop-post .post-faq dd::before {
  content: "A. " !important;
  color: #9a7656 !important;
  font-weight: 900 !important;
}


/* Medical review / NAP card refinement */
.article-body.auto-article-body .haroop-post .post-clinic {
  display: block !important;
  margin: 34px 0 0 !important;
  padding: 22px 24px !important;
  border: 1px solid rgba(93, 69, 55, 0.14) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #1f1f1d !important;
  box-shadow: 0 10px 28px rgba(42, 38, 34, 0.06) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}
.article-body.auto-article-body .haroop-post .post-clinic h2 {
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #111 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
}
.article-body.auto-article-body .haroop-post .post-clinic p {
  display: inline !important;
  margin: 0 !important;
  color: #1f1f1d !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
}
.article-body.auto-article-body .haroop-post .post-clinic .post-reviewed-by {
  display: block !important;
  margin-bottom: 8px !important;
  color: #2f261f !important;
  font-weight: 800 !important;
}
.article-body.auto-article-body .haroop-post .post-clinic .post-service-cta {
  display: none !important;
}
.article-body.auto-article-body .haroop-post .post-clinic .nap-phone::before,
.article-body.auto-article-body .haroop-post .post-clinic .nap-map::before {
  content: "?" !important;
  margin: 0 8px !important;
  color: rgba(42, 38, 34, 0.38) !important;
}
.article-body.auto-article-body .haroop-post .post-clinic a {
  color: #0068d9 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}


/* Article alignment normalization */
.medical-article,
.medical-article .article-header,
.medical-article .article-body,
.medical-article .article-body .haroop-post,
.medical-article .article-body .haroop-post * {
  text-align: left;
}
.medical-article .article-body figure,
.medical-article .article-body figure * {
  text-align: left;
}
.medical-article .article-body img.article-visual {
  display: block;
  margin-right: auto;
  margin-left: auto;
}


/* Hide clinic sign text bleeding through the home hero copy area. */
body[data-page="home"] .webmag-hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 62%, rgba(255, 255, 255, 0.78) 74%, rgba(255, 255, 255, 0.18) 100%),
    linear-gradient(0deg, rgba(251, 248, 244, 0.96) 0%, rgba(251, 248, 244, 0) 24%) !important;
}
