/* Boxin Dental visual layer v3. Load after style.css. Admin media aligned. */

:root {
  --ink: #102a43;
  --muted: #60758a;
  --blue: #0b6fc2;
  --blue-dark: #075797;
  --navy: #082f4f;
  --teal: #138f87;
  --mint: #e3f5f0;
  --pale: #f4f8fb;
  --surface: #ffffff;
  --line: #dbe7ef;
  --gold: #bd8a42;
  --primary: var(--blue);
  --primary-dark: var(--blue-dark);
  --primary-light: #eaf4fb;
  --accent: var(--teal);
  --text: var(--ink);
  --text-secondary: #435b70;
  --text-muted: var(--muted);
  --bg: var(--surface);
  --bg-soft: var(--pale);
  --bg-subtle: #edf4f8;
  --border: var(--line);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 6px 18px rgba(8, 47, 79, .06);
  --shadow-md: 0 14px 38px rgba(8, 47, 79, .10);
  --nav-h: 72px;
  --transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  background: #fbfdff;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  max-width: 100%;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
li,
small,
span {
  overflow-wrap: break-word;
}

[hidden],
.hidden {
  display: none !important;
}

.container {
  width: min(calc(100% - 48px), 1160px);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.narrow {
  width: min(calc(100% - 48px), 780px);
  max-width: none;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: auto;
  border-bottom: 1px solid rgba(219, 231, 239, .9);
  background: rgba(251, 253, 255, .96);
  box-shadow: 0 5px 20px rgba(8, 47, 79, .035);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-width: 0;
  height: var(--nav-h);
  padding: 0;
  gap: 24px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  min-width: 0;
  flex: 0 1 auto;
  gap: 9px;
  align-items: center;
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: .01em;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--blue), #55bcae);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(11, 111, 194, .18);
}

.nav nav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav nav a,
.mobile-menu a {
  color: #40576d;
  font-size: 14px;
  font-weight: 560;
  line-height: 1.3;
  letter-spacing: 0;
}

.nav nav a {
  position: relative;
  padding: 9px 0;
  white-space: nowrap;
}

.nav nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav nav a:hover,
.nav nav a.active {
  color: var(--blue);
  font-weight: 650;
}

.nav nav a:hover::after,
.nav nav a.active::after {
  transform: scaleX(1);
}

.nav-action {
  flex: 0 0 auto;
}

.menu {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu,
.mobile-menu.open {
  display: none;
}

/* Buttons and links */
.btn,
.btn-primary,
.btn-ghost,
.btn-light,
.btn-outline,
.btn-outline-light {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn-lg {
  min-height: 48px;
  padding: 13px 23px;
  font-size: 15px;
}

.btn-compact {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 12px;
}

.btn-primary,
.btn-primary:visited {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 111, 194, .16);
}

.btn-primary:hover {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue-dark), #0c7e78);
  color: #fff;
  box-shadow: 0 10px 24px rgba(8, 87, 151, .22);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: #cfe0eb;
  background: #eef6fb;
  color: var(--blue-dark);
}

.btn-ghost:hover,
.btn-outline:hover {
  border-color: #9fc9e4;
  background: #e4f1f9;
  color: var(--blue-dark);
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover {
  background: #eef8f7;
  color: var(--navy);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .55);
  background: transparent;
  color: #fff;
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
}

.btn:disabled,
.btn-primary:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: .58;
  transform: none;
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
  white-space: normal;
}

.text-link:hover {
  color: var(--blue-dark);
}

.text-link-light {
  color: #cceee8;
}

.text-link-light:hover {
  color: #fff;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(11, 111, 194, .28);
  outline-offset: 3px;
}

/* Home hero */
.hero,
.home-hero {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(99, 207, 191, .28), transparent 30%),
    radial-gradient(circle at 68% 92%, rgba(45, 131, 203, .24), transparent 34%),
    linear-gradient(122deg, #072b4b 0%, #0a4c6e 58%, #0d716f 100%);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  top: 70px;
  right: -150px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, .025), 0 0 0 62px rgba(255, 255, 255, .018);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  gap: clamp(40px, 6vw, 78px);
  align-items: center;
  padding-block: 70px 64px;
}

.hero-grid-home {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(24px, 4vw, 42px);
  padding-block: 70px 54px;
}

.hero-main {
  min-width: 0;
}

.eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta .eyebrow,
.contact-highlight .eyebrow,
.admin-side .eyebrow {
  color: #9ddbd3;
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 18px;
  color: #fff;
  font-size: clamp(44px, 5.2vw, 66px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.hero h1 em {
  display: block;
  margin-top: 7px;
  color: #a9e7db;
  font-style: normal;
}

.home-hero h1 {
  text-wrap: balance;
  word-break: keep-all;
}

.home-hero h1 .no-break {
  white-space: nowrap;
}

.home-hero h1 em {
  word-break: normal;
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  color: #d6e8f1;
  font-size: 17px;
  line-height: 1.8;
}

.hero-note {
  margin: 0;
  color: rgba(214, 232, 241, .82);
  font-size: 13px;
  line-height: 1.6;
}

.hero-showcase {
  min-width: 0;
  align-self: center;
}

.showcase-shell-hero {
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 22px 44px rgba(2, 24, 43, .18);
}

/* 首页轮播直接以图片作为画面，不保留通用卡片的浅色内衬。 */
.showcase-shell.showcase-shell-hero {
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
}

.hero-showcase {
  justify-self: end;
  width: min(100%, 500px);
  transform: translateX(22px);
}

.showcase-shell-hero .showcase-viewport,
.showcase-shell-hero .showcase-slide {
  border-radius: 24px;
}

.showcase-shell-hero .showcase-figure {
  aspect-ratio: 4 / 3;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 18px;
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, .46);
  background: rgba(255, 255, 255, .07);
  color: #fff;
}

.hero .btn-ghost:hover {
  border-color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .13);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #cce1e9;
  font-size: 13px;
  line-height: 1.5;
}

.hero-proof i {
  flex: 0 0 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #83d7cb;
}

/* Home sections */
.trust-band {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-band-grid > div {
  min-width: 0;
  padding: 22px 24px;
  border-left: 1px solid var(--line);
}

.trust-band-grid > div:last-child {
  border-right: 1px solid var(--line);
}

.trust-band-grid strong,
.trust-band-grid span {
  display: block;
}

.trust-band-grid strong {
  color: var(--blue);
  font-size: 23px;
  font-weight: 750;
  line-height: 1.2;
}

.trust-band-grid span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.section,
.section:nth-child(even) {
  padding: 82px 0;
  background: var(--surface);
}

.section.soft,
.soft,
.clinic-preview-section,
.faq-section,
.clinic-directory-section {
  background: linear-gradient(180deg, #f6fafc, #eef6f7);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.section-head > div {
  min-width: 0;
}

.section-head h2,
.section h2,
.cta h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.018em;
}

.section-head > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.compact-head {
  margin-bottom: 28px;
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.need-grid > a,
.need-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 204px;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.need-grid > a:hover,
.need-grid > a:focus-visible,
.need-card:hover,
.need-card:focus-visible {
  border-color: #a9cde1;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.need-no {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .08em;
}

.need-grid b {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.need-grid small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.need-grid em {
  margin-top: auto;
  color: var(--blue);
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

.home-clinic-grid,
.clinic-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-clinic-card,
.home-clinic-grid > article {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.home-clinic-card h3,
.home-clinic-grid > article h3 {
  margin: 8px 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.4;
}

.home-clinic-card p,
.home-clinic-grid > article p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.decision-section,
.decision-section:nth-child(even) {
  background: #fff;
}

.decision-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 22px;
}

.process-panel,
.evidence-panel {
  min-width: 0;
  padding: 32px;
  border-radius: 20px;
}

.process-panel {
  border: 1px solid var(--line);
  background: #fff;
}

.process-panel h2,
.evidence-panel h2 {
  margin-bottom: 24px;
  font-size: clamp(27px, 2.5vw, 34px);
}

.process-list article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.process-list article > b {
  color: var(--blue);
  font-size: 13px;
}

.process-list h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.evidence-panel {
  background: linear-gradient(145deg, var(--navy), #0a6f73);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.evidence-panel .eyebrow {
  color: #9ddbd3;
}

.evidence-panel h2 {
  color: #fff;
}

.evidence-panel ul {
  margin: 0 0 24px;
  padding-left: 20px;
  color: #d5e8ea;
}

.evidence-panel li + li {
  margin-top: 12px;
}

/* News cards */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-news-carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: stretch;
  gap: 14px;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 20px;
  outline: none;
}

.carousel-viewport:focus-visible {
  box-shadow: 0 0 0 3px rgba(23, 105, 209, .12);
}

.news-carousel-track {
  display: flex;
  width: 100%;
  transition: transform .45s ease;
  will-change: transform;
}

.carousel-card {
  flex: 0 0 100%;
  min-width: 100%;
  box-shadow: none;
  border-radius: 20px;
}

.carousel-card .news-body {
  gap: 12px;
}

.carousel-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.carousel-index {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.carousel-control {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.carousel-control:hover,
.carousel-control:focus-visible {
  border-color: #acd1e4;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #bed5e7;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), width var(--transition);
}

.carousel-dot.is-active {
  width: 28px;
  background: var(--blue);
}

.carousel-dot:focus-visible {
  outline: 2px solid rgba(23, 105, 209, .28);
  outline-offset: 3px;
}

.home-showcase-section .section-head {
  margin-bottom: 18px;
}

.home-showcase-section {
  padding-top: 12px;
}

.showcase-shell {
  padding: clamp(14px, 2vw, 18px);
  border: 1px solid rgba(17, 89, 146, .08);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(244,248,251,.98));
  box-shadow: var(--shadow-sm);
}

.showcase-carousel {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  position: relative;
}

.showcase-viewport {
  overflow: hidden;
  border-radius: 24px;
}

.showcase-track {
  display: flex;
  width: 100%;
  transition: transform .42s ease;
  will-change: transform;
}

.showcase-track.is-jump-reset {
  transition: none;
}

.showcase-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  min-height: 0;
  background: transparent;
  border: 0;
  border-radius: 26px;
  overflow: hidden;
}

.showcase-open {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.showcase-open::after {
  content: '查看大图  ↗';
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(5, 31, 53, .68);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.showcase-open:hover::after,
.showcase-open:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.showcase-open:hover::after {
  background: rgba(8, 87, 137, .92);
}

.showcase-open:focus-visible {
  outline: 3px solid rgba(130, 226, 214, .92);
  outline-offset: -3px;
}

.showcase-figure {
  aspect-ratio: 4 / 3;
  min-height: 0;
  background: linear-gradient(140deg, #d9ecfb 0%, #eff7fc 100%);
}

.showcase-figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  transition: transform .45s ease, filter .32s ease;
}

.showcase-open:hover .showcase-figure img,
.showcase-open:focus-visible .showcase-figure img {
  transform: scale(1.035);
  filter: brightness(.86);
}

.showcase-carousel .carousel-control {
  align-self: center;
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  width: 34px;
  height: 56px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .88);
  color: #0b4d7c;
  font-size: 26px;
  line-height: 1;
  font-weight: 300;
  box-shadow: 0 10px 24px rgba(2, 30, 51, .2);
  backdrop-filter: blur(8px);
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.showcase-carousel button.carousel-control {
  min-width: 34px;
}

.showcase-carousel .carousel-control:hover:not(:disabled),
.showcase-carousel .carousel-control:focus-visible {
  border-color: rgba(154, 232, 222, .9);
  background: #0b699e;
  color: #fff;
  box-shadow: 0 14px 28px rgba(2, 30, 51, .32);
  transform: translateY(-50%);
}

.showcase-carousel .carousel-control:focus-visible {
  outline: 3px solid rgba(154, 232, 222, .72);
  outline-offset: 3px;
}

.showcase-carousel [data-showcase-prev] {
  left: 0;
  border-radius: 0 10px 10px 0;
}

.showcase-carousel [data-showcase-next] {
  right: 0;
  border-radius: 10px 0 0 10px;
}

.showcase-carousel .carousel-control:disabled {
  opacity: .35;
}

.home-showcase-section .carousel-dots {
  margin-top: 10px;
}

.showcase-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
}

.showcase-modal[hidden] {
  display: none;
}

.showcase-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  cursor: zoom-out;
  background: rgba(3, 17, 30, .8);
  transition: background var(--transition);
}

.showcase-modal-backdrop:hover {
  background: rgba(2, 13, 24, .9);
}

.showcase-modal-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 1080px);
  max-height: 88vh;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 22px;
  background: rgba(12, 33, 51, .88);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
}

.showcase-modal-panel img {
  display: block;
  width: 100%;
  max-height: calc(88vh - 28px);
  object-fit: contain;
  border-radius: 14px;
}

.showcase-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 999px;
  background: rgba(9, 39, 61, .78);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

.showcase-modal-close:hover,
.showcase-modal-close:focus-visible {
  background: #eaf9f6;
  color: #07577c;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .34);
  transform: rotate(90deg) scale(1.08);
}

.showcase-modal-close:focus-visible {
  outline: 3px solid rgba(154, 232, 222, .9);
  outline-offset: 3px;
}

.news-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.news-card:hover,
.news-card:focus-within {
  border-color: #abcddd;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.news-card-link {
  display: flex;
  min-height: 100%;
  flex: 1;
  flex-direction: column;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.news-card-link:focus-visible {
  outline: 3px solid rgba(11, 111, 194, .42);
  outline-offset: -3px;
}

.news-cover,
.article-cover {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  place-items: center;
  background: linear-gradient(145deg, #dceef8, #e9f7f2);
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.news-cover {
  aspect-ratio: 4 / 3;
}

.news-cover img,
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body {
  display: flex;
  min-width: 0;
  padding: 22px;
  flex: 1;
  flex-direction: column;
}

.meta {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #718599;
  font-size: 12px;
  line-height: 1.4;
}

.meta span {
  color: var(--blue);
  font-weight: 750;
}

.news-body h3 {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}

.news-body h3 a:hover {
  color: var(--blue);
}

.news-body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.news-card-arrow {
  display: grid;
  width: 30px;
  height: 30px;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #edf6fa;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.news-card-link:hover .news-card-arrow {
  background: var(--blue);
  color: #fff;
  transform: translateX(3px);
}

/* Homepage content window */
.home-content-window,
.home-content-window:nth-child(even) {
  background: #f4f8fa;
}

.home-content-window .section-head {
  align-items: end;
}

.home-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 16px;
}

.home-featured-story .news-cover {
  aspect-ratio: 16 / 8.6;
}

.home-featured-story .news-body {
  padding: 25px;
}

.home-featured-story .news-body h3 {
  max-width: 720px;
  font-size: 25px;
  line-height: 1.35;
}

.home-recent-stories {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.home-compact-story {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
}

.home-compact-story .news-cover {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

.home-compact-story .news-body {
  padding: 18px;
}

.home-compact-story .news-body h3 {
  margin: 9px 0 7px;
  font-size: 16px;
}

.home-compact-story .news-body p {
  display: -webkit-box;
  margin-bottom: 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 13px;
}

.home-content-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.empty {
  grid-column: 1 / -1;
  padding: 44px 20px;
  border: 1px dashed #bfd2df;
  border-radius: 16px;
  background: #f8fbfd;
  color: var(--muted);
  text-align: center;
}

/* Focused homepage structure */
.home-hero-focused .hero-copy {
  max-width: 720px;
}

.home-quick-map {
  align-self: stretch;
}

.clinic-info-section {
  background:
    radial-gradient(circle at 18% 8%, rgba(127, 205, 194, .16), transparent 32%),
    #fff;
}

.clinic-info-layout,
.life-layout,
.home-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.clinic-info-copy,
.home-contact-card,
.life-visual-panel {
  min-width: 0;
}

.clinic-info-copy h2,
.home-contact-card h2 {
  max-width: 720px;
  margin: 8px 0 14px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.22;
  letter-spacing: -.02em;
}

.clinic-info-copy .lead,
.home-contact-card > p {
  max-width: 720px;
  margin: 0;
  color: #3f596e;
  font-size: 16px;
  line-height: 1.85;
}

.home-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.home-overview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.home-overview-stats > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid #d7e8ee;
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}

.home-overview-stats strong,
.home-overview-stats span {
  display: block;
}

.home-overview-stats strong {
  color: var(--blue);
  font-size: 20px;
  line-height: 1.15;
}

.home-overview-stats span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.clinic-info-cards {
  display: grid;
  gap: 14px;
}

.clinic-info-cards article {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 40px rgba(24, 89, 113, .08);
}

.clinic-info-cards span,
.life-photo-card span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.clinic-info-cards h3,
.life-photo-card h3,
.home-content-window h3,
.home-contact-preview h3 {
  margin: 7px 0 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.4;
}

.clinic-info-cards p,
.life-photo-card p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.clinic-life-section {
  background: #f4f8fa;
}

.life-layout {
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
}

.life-visual-panel {
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid #cfe2eb;
  border-radius: 22px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 18px 46px rgba(18, 78, 107, .08);
}

.life-photo-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.life-photo-card > div:last-child {
  padding: 18px;
}

.life-photo-card-large {
  margin-bottom: 14px;
}

.life-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.life-photo-art {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .12)),
    linear-gradient(145deg, #dff2f8, #a8dcd6 54%, #f8d99b);
}

.life-photo-grid .life-photo-art {
  min-height: 118px;
}

.life-photo-art::before,
.life-photo-art::after,
.life-photo-art span,
.life-photo-art i,
.life-photo-art b {
  content: "";
  position: absolute;
  display: block;
}

.life-photo-art::before {
  inset: 24px 24px auto;
  height: 42px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .76);
}

.life-photo-art::after {
  right: 24px;
  bottom: 24px;
  width: 42%;
  height: 30%;
  border-radius: 18px;
  background: rgba(255, 255, 255, .62);
}

.life-photo-art span {
  left: 26px;
  bottom: 28px;
  width: 36%;
  height: 38%;
  border-radius: 22px;
  background: rgba(11, 109, 133, .18);
}

.life-photo-art i {
  left: 34%;
  bottom: 42px;
  width: 20%;
  height: 52%;
  border-radius: 999px 999px 18px 18px;
  background: rgba(255, 255, 255, .68);
}

.life-photo-art b {
  right: 18%;
  top: 36%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(26, 92, 138, .18);
}

.life-photo-art-mint {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .68), rgba(255, 255, 255, .1)),
    linear-gradient(145deg, #c8efe8, #7ccfc3);
}

.life-photo-art-gold {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .14)),
    linear-gradient(145deg, #f7dfad, #d9eff7);
}

.home-life-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.home-life-points span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid #d4e5ec;
  border-radius: 999px;
  background: #f7fbfd;
  color: #496378;
  font-size: 12px;
  line-height: 1.4;
}

.home-contact-section {
  background: #fff;
}

.home-contact-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #c5dfdd;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(239, 249, 248, .94), rgba(255, 255, 255, .92));
  box-shadow: 0 16px 42px rgba(28, 92, 95, .08);
}

.home-contact-card .phone {
  color: var(--ink);
}

.home-contact-preview {
  min-width: 0;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: start;
}

.faq-intro h2 {
  margin-top: 10px;
}

.faq-intro p {
  margin: 16px 0 0;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: grid;
  width: 100%;
  min-height: 62px;
  padding: 16px 0;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 16px;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  text-align: left;
  cursor: pointer;
}

.faq-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #eaf4f8;
  color: var(--blue);
  transition: transform var(--transition);
}

.faq-item.open .faq-mark {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 240ms ease, opacity 180ms ease, padding 240ms ease;
}

.faq-answer.open,
.faq-item.open .faq-answer {
  max-height: 360px;
  padding-bottom: 18px;
  opacity: 1;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* Visit guide */
.guide-steps,
.guide-service-grid {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-steps li,
.guide-service-grid article,
.guide-two-column > article {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.guide-steps span,
.guide-service-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.guide-steps h3,
.guide-service-grid h3,
.guide-two-column h2 {
  margin: 10px 0 8px;
  color: var(--ink);
}

.guide-steps p,
.guide-service-grid p,
.guide-two-column p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.guide-service-grid .text-link {
  display: inline-block;
  margin-top: 16px;
}

.guide-day-section {
  background: #f7fbfd;
}

.guide-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-two-column .btn {
  margin-top: 20px;
}

.guide-faq {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background-color var(--transition);
}

.guide-faq-list {
  width: 100%;
  max-width: none;
  margin: 0;
}

.guide-faq summary {
  display: flex;
  box-sizing: border-box;
  min-height: 62px;
  align-items: center;
  padding: 16px 34px 16px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.guide-faq[open] {
  background: transparent;
}

.guide-faq[open] summary {
  min-height: 62px;
  padding-bottom: 16px;
}

.guide-faq summary::-webkit-details-marker {
  display: none;
}

.guide-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #eaf4f8;
  color: var(--blue);
}

.guide-faq[open] summary::after {
  content: '−';
}

.guide-faq p {
  margin: 0;
  padding: 0 48px 18px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.guide-faq-answer {
  height: auto;
  overflow: hidden;
  transition: height 240ms ease;
}

/* 阅读定位 */
.guide-navigation-section {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 253, 255, .96);
  backdrop-filter: blur(12px);
}

.guide-jump-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.guide-jump-nav a {
  display: flex;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f1f6f9;
  color: #40596e;
  font-size: 13px;
  line-height: 1.35;
}

.guide-jump-nav span {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.guide-jump-nav b {
  min-width: 0;
  color: inherit;
  font-size: 13px;
}

.guide-jump-nav a:hover,
.guide-jump-nav a.active,
.guide-jump-nav a[aria-current="location"] {
  border-color: #9bc8df;
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 5px 16px rgba(8, 47, 79, .07);
}

.guide-arrival-section,
.guide-service-section,
.guide-day-section [data-reading-section],
.page-guide .faq-section {
  scroll-margin-top: calc(var(--nav-h) + 88px);
}

.back-to-top {
  position: fixed;
  right: max(22px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  z-index: 40;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(120, 189, 203, .48);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(8, 47, 79, .16);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition), color var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(23, 105, 209, .3);
  outline-offset: 3px;
}

.page-back-button {
  position: fixed;
  top: calc(var(--nav-h) + 26px);
  left: max(-2px, calc((100vw - 1320px) / 2));
  z-index: 50;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px 9px 11px;
  border: 1px solid rgba(120, 189, 203, .5);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--blue-dark);
  box-shadow: 0 8px 20px rgba(8, 47, 79, .13);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.page-back-icon {
  font-size: 19px;
  line-height: .8;
}

.page-back-button:hover,
.page-back-button:focus-visible {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 11px 24px rgba(8, 83, 132, .22);
  transform: translateX(-2px);
}

.page-back-button:focus-visible {
  outline: 3px solid rgba(23, 105, 209, .3);
  outline-offset: 3px;
}

.page-back-button:active {
  transform: translateX(-1px) scale(.97);
}

/* 登录页 */
.password-input-wrap {
  position: relative;
  display: block;
}

.password-input-wrap input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #55718a;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.password-toggle:hover {
  color: var(--blue);
}

.password-toggle:active {
  transform: translateY(-50%) scale(.94);
}

.password-toggle:focus-visible {
  color: var(--blue);
  outline: 3px solid rgba(23, 105, 209, .26);
  outline-offset: 1px;
}

/* Override the legacy login-card button rule so the eye control never covers the input. */
.login-card .password-toggle {
  width: 36px;
  margin-top: 0;
}

/* CTA and footer */
.cta {
  padding: 62px 0;
  background: linear-gradient(112deg, var(--blue), var(--teal));
  color: #fff;
}

.cta .container {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.cta h2 {
  color: #fff;
}

.cta p {
  max-width: 650px;
  margin: 10px 0 0;
  color: #d9eef1;
  font-size: 15px;
}

.cta-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

footer {
  background: #071f35;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(150px, .8fr) minmax(180px, 1fr);
  gap: 44px;
  padding: 46px 0 30px;
}

.footer-grid > div {
  min-width: 0;
}

.footer-grid .brand {
  color: #fff;
}

.footer-grid b {
  display: block;
  margin: 4px 0 12px;
  color: #fff;
  font-size: 14px;
}

.footer-grid p,
.footer-grid a:not(.brand) {
  color: #aebfce;
  font-size: 13px;
  line-height: 1.75;
}

.footer-grid p {
  margin: 8px 0;
}

.footer-grid a:not(.brand) {
  display: block;
  margin: 7px 0;
}

.footer-grid a:not(.brand):hover {
  color: #fff;
}

.footer-bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #91a7b9;
  font-size: 12px;
  line-height: 1.7;
}

.footer-bottom .icp-link {
  color: #b8c8d5;
  text-decoration: underline;
  text-decoration-color: rgba(184, 200, 213, .5);
  text-underline-offset: 3px;
}

.footer-bottom .icp-link:hover,
.footer-bottom .icp-link:focus-visible {
  color: #fff;
}

.footer-records {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 0 0 16px;
  color: #91a7b9;
  font-size: 12px;
  line-height: 1.7;
}

.footer-records a {
  color: #b8c8d5;
  text-decoration: underline;
  text-decoration-color: rgba(184, 200, 213, .5);
  text-underline-offset: 3px;
}

.footer-records a:hover,
.footer-records a:focus-visible {
  color: #fff;
}

.mobile-action-bar {
  display: none;
}

/* Shared inner pages */
.page-hero {
  padding: 62px 0 50px;
  background: linear-gradient(120deg, #eef7fb, #f3faf7);
}

.page-hero h1 {
  max-width: 820px;
  margin: 12px 0 13px;
  color: var(--ink);
  font-size: clamp(38px, 4.7vw, 54px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.022em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.page-hero-grid > * {
  min-width: 0;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(40px, 7vw, 78px);
  align-items: center;
}

.split h2 {
  margin: 10px 0 16px;
  font-size: clamp(30px, 3.2vw, 40px);
}

.lead {
  margin: 0;
  color: #314e67;
  font-size: 17px;
  line-height: 1.8;
}

.split p:not(.lead) {
  margin: 15px 0 0;
  color: var(--muted);
}

.facts-card,
.about-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 10px;
  border-radius: 18px;
  background: var(--navy);
}

.facts-card > div,
.about-fact-grid > div {
  min-width: 0;
  padding: 23px 19px;
  border: 1px solid rgba(255, 255, 255, .12);
}

.facts-card strong,
.about-fact-grid strong,
.facts-card span,
.about-fact-grid span {
  display: block;
}

.facts-card strong,
.about-fact-grid strong {
  color: #fff;
  font-size: 23px;
  line-height: 1.3;
}

.facts-card span,
.about-fact-grid span {
  display: block;
  margin-top: 6px;
  color: #bcd0df;
  font-size: 12px;
  line-height: 1.6;
}

.timeline,
.about-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline article,
.about-process article,
.about-process > div,
.about-process > li {
  min-width: 0;
  padding: 23px;
  border: 1px solid var(--line);
  border-top: 3px solid #79cbbd;
  border-radius: 8px;
  background: #fff;
}

.timeline b,
.about-process b {
  color: var(--blue);
  font-size: 12px;
}

.timeline h3,
.about-process h3 {
  margin: 16px 0 7px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.timeline p,
.about-process p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.home-history-section {
  background: #f7fbfd;
}

.soft-note {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.soft-note h2 {
  margin: 0 0 10px;
}

.soft-note p {
  max-width: 720px;
  margin: 0 0 17px;
  color: var(--muted);
}

/* Services */
.service-navigation-section {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 253, 255, .96);
  backdrop-filter: blur(12px);
}

.service-jump-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.service-jump-nav a {
  display: grid;
  min-width: 0;
  min-height: 88px;
  padding: 12px 14px;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 2px 8px;
  align-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f1f6f9;
  color: #40596e;
}

.service-jump-nav a:hover,
.service-jump-nav a.active,
.service-jump-nav a[aria-selected="true"] {
  border-color: #9bc8df;
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 5px 16px rgba(8, 47, 79, .07);
}

.service-jump-nav span {
  grid-row: 1 / 3;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.service-jump-nav b {
  min-width: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1.4;
}

.service-jump-nav small {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.service-detail-section,
.service-detail-section:nth-child(even) {
  padding: 42px 0 62px;
  background: #fff;
}

.service-detail-list {
  display: grid;
  gap: 18px;
}

.service-detail-block {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  scroll-margin-top: calc(var(--nav-h) + 132px);
}

.service-detail-block[hidden] {
  display: none;
}

.service-detail-heading {
  display: block;
}

.service-index {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.service-detail-block h2 {
  margin: 8px 0 9px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: 0;
}

.service-detail-block .lead {
  max-width: 800px;
  color: #3f596e;
  font-size: 15px;
  line-height: 1.75;
}

.service-detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.service-detail-columns > div {
  min-width: 0;
  padding: 22px 24px 0 0;
}

.service-detail-columns > div + div {
  padding-right: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.service-detail-columns h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.service-detail-columns ul {
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* Professional directions */
.doctor-grid,
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.doctor-grid article,
.practice-grid article {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.doctor-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #dceff8, var(--mint));
  color: var(--blue-dark);
  font-size: 22px;
  font-weight: 800;
}

.doctor-grid h2,
.practice-grid h2,
.practice-grid h3 {
  margin: 7px 0 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.4;
}

.doctor-grid p,
.practice-grid p {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.doctor-grid a,
.practice-grid a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
}

.practice-index {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.practice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
}

.practice-tags li,
.practice-tags span {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid #d6e4ec;
  border-radius: 999px;
  background: #f6f9fb;
  color: #496378;
  font-size: 12px;
  line-height: 1.4;
}

.practice-note {
  margin: 20px 0 0;
  padding: 13px 15px;
  border-left: 3px solid #79cbbd;
  background: #f3f8f8;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* Page-specific hierarchy refinements. Keep clinic/contact layouts isolated. */
.page-services .compact-page-hero,
.page-doctors .compact-page-hero,
.page-news .compact-page-hero,
.page-about .compact-page-hero {
  padding: 40px 0 34px;
}

.page-services .compact-page-hero h1,
.page-doctors .compact-page-hero h1,
.page-news .compact-page-hero h1,
.page-about .compact-page-hero h1 {
  max-width: 760px;
  margin: 8px 0 10px;
  font-size: 42px;
  line-height: 1.22;
  letter-spacing: 0;
}

.page-services .compact-page-hero p,
.page-doctors .compact-page-hero p,
.page-news .compact-page-hero p,
.page-about .compact-page-hero p {
  max-width: 700px;
  font-size: 15px;
  line-height: 1.72;
}

.page-home .trust-band-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-home .hero h1 {
  letter-spacing: 0;
}

.page-home .section {
  padding-block: 68px;
}

.page-home .need-grid,
.page-home .home-clinic-grid,
.page-home .news-grid {
  gap: 14px;
}

.page-home .home-news-carousel {
  gap: 12px;
}

.page-home .need-card,
.page-home .need-grid > a {
  min-height: 190px;
  padding: 21px;
  border-radius: 8px;
  box-shadow: none;
}

.page-home .home-clinic-card,
.page-home .home-clinic-grid > article,
.page-home .news-card {
  border-radius: 8px;
  box-shadow: none;
}

.page-home .news-card {
  min-height: 100%;
}

.page-home .news-body {
  padding: 20px;
}

.page-home .news-body h3 {
  font-size: 17px;
  line-height: 1.42;
}

.page-home .faq-layout {
  gap: clamp(30px, 5vw, 62px);
}

@media (max-width: 960px) {
  .home-news-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-control {
    display: none;
  }

  .carousel-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }

  .news-carousel-track {
    gap: 14px;
    transform: none !important;
  }

  .carousel-card {
    flex-basis: 92%;
    min-width: 92%;
    scroll-snap-align: start;
  }

  .showcase-carousel {
    grid-template-columns: 1fr;
  }

  .showcase-carousel .carousel-control {
    display: none;
  }

  .showcase-slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .showcase-figure img {
    min-height: 230px;
  }
}

.page-services .service-detail-section,
.page-doctors .service-detail-section,
.page-doctors .practice-section,
.page-news .news-library-section,
.page-about .about-facts-section,
.page-about .about-process-section {
  padding-block: 54px;
}

.page-services .service-jump-nav a,
.page-doctors .service-jump-nav a {
  min-height: 76px;
}

.page-services .service-detail-list,
.page-doctors .service-detail-list {
  gap: 0;
}

.page-services .service-detail-block,
.page-doctors .service-detail-block {
  padding: 28px;
}

.page-doctors .practice-section .section-head {
  margin-bottom: 22px;
}

.page-doctors .practice-grid {
  gap: 12px;
}

.page-doctors .practice-card {
  display: flex;
  padding: 22px;
  flex-direction: column;
}

.page-doctors .practice-card p {
  margin-bottom: 0;
}

.page-doctors .practice-card .text-link {
  margin-top: auto;
}

.page-doctors .practice-tags {
  margin: 13px 0 16px;
}

.page-doctors .practice-note {
  max-width: 720px;
  margin-top: 16px;
}

.page-news .page-hero-note {
  max-width: 290px;
  padding: 16px 18px;
  border-left: 3px solid #79cbbd;
  background: #fff;
}

.page-news .page-hero-note strong,
.page-news .page-hero-note span {
  display: block;
}

.page-news .page-hero-note strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 13px;
}

.page-news .page-hero-note span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.page-news .news-library-section {
  background: #f5f8fa;
}

.page-news .news-library-section > .container {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.page-news .news-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .34fr);
  align-items: end;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.page-news .news-search-field,
.page-news .news-category-field {
  min-width: 0;
}

.page-news .news-toolbar label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.page-news .news-toolbar input,
.page-news .news-toolbar select {
  width: 100%;
}

.page-news .news-results-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.page-news .news-results-head h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0;
}

.page-news .news-result-count {
  margin: 0;
  text-align: right;
}

.page-news .news-grid {
  gap: 14px;
}

.page-news .news-card {
  border-radius: 8px;
  box-shadow: none;
}

.page-news .news-body {
  padding: 19px;
}

.page-about .about-fact-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.page-about .about-fact-copy h2 {
  margin: 8px 0 13px;
  font-size: 34px;
  letter-spacing: 0;
}

.page-about .about-fact-copy .lead,
.page-about .about-fact-copy p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.72;
}

.page-about .about-fact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.page-about .about-fact-grid article {
  min-width: 0;
  padding: 22px;
}

.page-about .about-fact-grid article + article {
  border-left: 1px solid var(--line);
}

.page-about .about-fact-grid span {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.page-about .about-fact-grid h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 17px;
}

.page-about .about-fact-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

.page-about .about-process-section {
  background: #f5f8fa;
}

.page-about .about-principles-section {
  padding-block: 56px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.page-about .about-principles-section .section-head {
  margin-bottom: 24px;
}

.page-about .about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.page-about .about-principles article {
  min-width: 0;
  padding: 24px 26px 4px 0;
}

.page-about .about-principles article + article {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.page-about .about-principles span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

.page-about .about-principles h3 {
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: 18px;
}

.page-about .about-principles p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.page-about .about-process-section .section-head {
  margin-bottom: 22px;
}

.page-about .about-process {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-about .about-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-about .about-timeline article,
.page-about .environment-grid article,
.page-about .team-care-grid article,
.page-news .showcase-card-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.page-about .about-timeline span,
.page-about .environment-grid span,
.page-about .team-care-grid span,
.page-news .showcase-card-grid span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.page-about .about-timeline h3,
.page-about .environment-grid h3,
.page-about .team-care-grid h3,
.page-news .showcase-card-grid h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.4;
}

.page-about .about-timeline p,
.page-about .environment-grid p,
.page-about .team-care-grid p,
.page-news .showcase-card-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.page-about .about-environment-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.page-about .environment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.page-about .team-care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-news .showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.page-news .showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-news .showcase-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-news .news-library-section {
  background: #f5f8fa;
}

.page-news .news-library-section > .container {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.page-about .about-process > li {
  display: grid;
  padding: 21px;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 13px;
  border-top-width: 1px;
}

.page-about .about-process > li > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.page-about .about-process h3 {
  margin: 0 0 6px;
}

.faq-section .faq-list,
.page-about .about-process-section .timeline,
.page-doctors .practice-section .practice-grid {
  gap: 14px;
}

.faq-section .faq-intro .btn,
.page-about .about-fact-copy .btn,
.page-doctors .practice-note {
  margin-top: 16px;
}

/* Clinic directory and contact */
#clinics,
.clinic-card,
.contact-support-grid,
.directory-toolbar,
.directory-tools {
  scroll-margin-top: calc(var(--nav-h) + 22px);
}

.directory-toolbar,
.directory-tools,
.news-toolbar,
.filters {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.directory-toolbar > *,
.directory-tools > *,
.news-toolbar > *,
.filters > * {
  min-width: 0;
}

.clinic-filter,
#clinicDistrict,
.directory-toolbar input,
.directory-toolbar select,
.directory-tools input,
.directory-tools select,
.news-toolbar input,
.news-toolbar select,
.filters input,
.filters select {
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

.directory-toolbar input,
.directory-tools input,
.news-toolbar input,
.filters input {
  flex: 1 1 260px;
}

.directory-toolbar select,
.directory-tools select,
.news-toolbar select,
.filters select {
  flex: 0 1 190px;
  width: auto;
}

.news-result-count,
#newsResultCount,
#clinicResultCount {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.clinic-directory-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clinic-card {
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.clinic-card:hover,
.clinic-card:focus-within {
  border-color: #a8cada;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.clinic-card-head {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.clinic-kicker {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.clinic-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.45;
}

.clinic-status {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e7f6f1;
  color: #237366;
  font-size: 10px;
  line-height: 1.4;
  white-space: nowrap;
}

.clinic-details {
  margin: 18px 0 16px;
  border-top: 1px solid var(--line);
}

.clinic-details > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.clinic-details dt {
  color: var(--muted);
  font-size: 12px;
}

.clinic-details dd {
  min-width: 0;
  margin: 0;
  color: #304d64;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.clinic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clinic-action-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #9fc8df;
  border-radius: 8px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.clinic-action-link:hover,
.clinic-action-link:focus-visible {
  border-color: #5d9fc5;
  background: #eaf5fa;
}

.copy-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border: 1px solid #bfd5e2;
  border-radius: 10px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.contact-highlight-wide {
  width: 100%;
}

.copy-button:hover:not(:disabled) {
  border-color: #8fbdd6;
  background: #eaf5fa;
  transform: none;
}

.copy-button.is-copied {
  border-color: #86c8b6;
  background: #e4f6ef;
  color: #17695b;
}

.copy-button-light {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.copy-button-light:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.clinic-note,
.directory-source {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.contact-grid,
.contact-highlight {
  min-width: 0;
  padding: 32px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--navy), #0b7477);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.phone-row {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.phone {
  display: block;
  min-width: 0;
  margin: 13px 0;
  color: #fff;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
}

.contact-highlight > p {
  margin: 0;
  color: #d3e7eb;
  font-size: 14px;
  line-height: 1.75;
}

.contact-facts {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.contact-facts > div {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
}

.page-contact .contact-highlight {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #c5dfdd;
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(27, 88, 90, .08);
}

.page-contact .contact-highlight .eyebrow {
  color: #18766f;
}

.page-contact .contact-highlight h2,
.page-contact .contact-highlight .phone {
  color: var(--ink);
}

.page-contact .contact-highlight > p {
  color: var(--text-secondary);
}

.contact-form {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-form h2 {
  margin: 0;
  font-size: 29px;
}

.form-intro {
  margin: 7px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.contact-form label,
.login-card label,
.admin-editor-field {
  display: block;
  margin: 14px 0;
  color: #365068;
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.login-card input,
.editor input,
.editor select,
.editor textarea,
.admin-editor-field input,
.admin-editor-field select,
.admin-editor-field textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form textarea,
.editor textarea,
.admin-editor-field textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.login-card input:focus,
.editor input:focus,
.editor select:focus,
.editor textarea:focus,
.admin-editor-field input:focus,
.admin-editor-field select:focus,
.admin-editor-field textarea:focus,
.filters input:focus,
.filters select:focus,
.directory-tools input:focus,
.directory-tools select:focus,
.news-toolbar input:focus,
.news-toolbar select:focus {
  border-color: #70acd1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 111, 194, .13);
}

.form-note {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.medical-note,
.admin-tip {
  margin-top: 18px;
  padding: 14px 15px;
  border: 0;
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
  background: #edf6fb;
  color: #35556d;
  font-size: 13px;
  line-height: 1.7;
}

/* Article page */
.article-wrap,
.article-wrap.section {
  padding-top: 52px;
  padding-bottom: 70px;
}

.page-article .narrow {
  max-width: 840px;
}

.article-head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.article-head h1 {
  margin: 12px auto;
  color: var(--ink);
  font-size: clamp(30px, 3.35vw, 40px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.018em;
}

.article-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.article-cover {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 8;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #dceef7, #eff8f5);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-cover-placeholder {
  place-items: center;
  color: #2d78a9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.article-summary {
  margin: 20px auto 14px;
  padding: 15px 18px;
  border: 1px solid #d7e9ef;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4fafc, #f4fbf8);
  color: #31556b;
  text-align: left;
}

.article-summary span {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.article-summary p {
  margin: 0;
  line-height: 1.75;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 34px 0 0;
  color: #29465e;
  font-size: 17px;
  line-height: 2;
}

.article-content p {
  margin: 0;
}

.article-content p + p {
  margin-top: 1.2em;
}

.article-content h2,
.article-content h3 {
  color: var(--ink);
  line-height: 1.4;
}

.article-content h2 {
  margin: 2.2em 0 .7em;
  font-size: 25px;
}

.article-content h3 {
  margin: 1.8em 0 .6em;
  font-size: 20px;
}

.article-content h2 + p,
.article-content h3 + p,
.article-content h2 + ul,
.article-content h2 + ol,
.article-content h3 + ul,
.article-content h3 + ol {
  margin-top: 0;
}

.article-content ul,
.article-content ol {
  margin: 1.1em 0;
  padding-left: 1.5em;
}

.article-content li + li {
  margin-top: .45em;
}

.article-callout {
  margin: 1.6em 0;
  padding: 15px 17px;
  border-left: 3px solid #64a8cf;
  border-radius: 0 12px 12px 0;
  background: #edf7fb;
  color: #365d74;
  font-size: 15px;
  line-height: 1.75;
}

.article-content .medical-note {
  margin-top: 32px;
}

.article-back {
  max-width: 720px;
  margin: 30px auto 0;
}

.article-is-short .article-wrap,
.article-preview.article-is-short {
  --article-short: 1;
}

.article-is-short .article-wrap.section {
  padding-top: 44px;
  padding-bottom: 56px;
}

.article-is-short .article-cover {
  max-height: 285px;
  aspect-ratio: 16 / 6.5;
}

.article-is-short .article-content {
  padding-top: 26px;
}

.article-preview {
  max-width: 840px;
  margin: 0 auto;
}

.article-preview .article-head {
  margin-bottom: 24px;
}

/* Login */
.login-page {
  display: grid;
  min-height: 100vh;
  padding: 34px 0;
  background: linear-gradient(135deg, #eaf4fa, #f3faf7);
  place-items: center;
}

.login-shell {
  width: min(calc(100% - 32px), 430px);
  text-align: center;
}

.login-brand {
  display: inline-flex;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 22px;
  font-weight: 750;
}

.login-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.login-card h1 {
  margin: 10px 0 6px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.3;
}

.login-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.login-card .btn {
  width: 100%;
  margin-top: 5px;
}

.login-error {
  min-height: 22px;
  margin-top: 10px;
  color: #b12c39;
  font-size: 13px;
}

.login-help {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.back-site {
  margin-top: 16px;
  color: var(--blue);
  font-size: 13px;
}

/* Admin */
.admin-page {
  background: radial-gradient(circle at top left, rgba(11, 111, 194, .06), transparent 35%), var(--pale);
}

.admin-nav-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.admin-shell {
  padding-top: 34px;
}

.admin-shell,
.admin-shell * {
  box-sizing: border-box;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: min(100%, 1280px);
  overflow: visible;
}

.admin-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.admin-brand-block,
.admin-overview,
.admin-nav,
.admin-tip {
  padding: 24px;
  border: 1px solid rgba(223, 232, 242, .95);
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 40px rgba(12, 48, 80, .05);
  backdrop-filter: blur(10px);
}

.admin-brand-block {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(246, 250, 253, .92));
}

.admin-brand-block h1 {
  margin: 10px 0 10px;
  font-size: 30px;
  line-height: 1.25;
}

.admin-brand-block p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}

.admin-overview {
  display: grid;
  gap: 12px;
}

.admin-overview article {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f7fbfd);
  border: 1px solid rgba(225, 234, 241, .92);
}

.admin-overview span,
.admin-overview small {
  color: var(--muted);
  font-size: 12px;
}

.admin-overview strong {
  color: var(--ink);
  font-size: 22px;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav-item {
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f6f9fb;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-nav-item:hover {
  border-color: rgba(11, 111, 194, .14);
  background: #edf7fc;
}

.admin-nav-item.active {
  border-color: rgba(11, 111, 194, .2);
  background: linear-gradient(135deg, rgba(11, 111, 194, .12), rgba(13, 158, 154, .08));
  color: var(--blue-dark);
}

.admin-tip {
  color: #385369;
  font-size: 13px;
  line-height: 1.75;
}

.admin-main {
  min-width: 0;
  max-width: 100%;
  overflow: clip;
  padding: 28px;
  border: 1px solid rgba(223, 232, 242, .95);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 55px rgba(12, 48, 80, .06);
}

.admin-workspace-head {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.admin-workspace-head h2 {
  margin: 7px 0 0;
  font-size: 30px;
  line-height: 1.25;
}

.admin-workspace-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-view {
  min-width: 0;
  max-width: 100%;
  overflow: clip;
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) repeat(2, minmax(130px, .45fr));
  gap: 10px;
  margin-bottom: 10px;
}

.admin-filters label,
.admin-editor-field label,
.cover-media-picker label {
  min-width: 0;
  color: #365068;
  font-size: 12px;
  font-weight: 700;
}

.admin-filters input,
.admin-filters select,
.editor input,
.editor textarea,
.admin-editor-field input,
.admin-editor-field select,
.admin-editor-field textarea,
.cover-manager select,
#coverMediaPicker {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.admin-filters input:focus,
.admin-filters select:focus,
.editor input:focus,
.editor textarea:focus,
.admin-editor-field input:focus,
.admin-editor-field select:focus,
.admin-editor-field textarea:focus,
.cover-manager select:focus,
#coverMediaPicker:focus {
  border-color: #70acd1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 111, 194, .13);
}

.filter-result,
#articleResultCount,
#mediaResultCount,
.panel-note,
#editorSaveState,
#showcaseSaveState,
#mediaUploadStatus,
#summaryCount,
#contentCount,
.field-help,
.upload-privacy-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.filter-result,
#articleResultCount,
#mediaResultCount {
  margin: 6px 0 14px;
}

.admin-status-lists {
  display: grid;
  gap: 22px;
}

.admin-status-group {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(214, 228, 239, .9);
  border-radius: 20px;
  background: rgba(248, 252, 254, .68);
}

.admin-status-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-status-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
}

.admin-status-heading span {
  display: inline-grid;
  min-width: 26px;
  min-height: 24px;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: #e5f2f8;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.admin-status-list {
  min-height: 48px;
}

.admin-item-card {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  padding: 16px;
  border: 1px solid rgba(223, 232, 242, .95);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(12, 48, 80, .05);
}

.showcase-sort-card {
  cursor: grab;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, opacity .18s ease;
  grid-template-columns: 54px 110px minmax(0, 1fr) auto;
}

.showcase-sort-card.is-dragging-card {
  opacity: .75;
  cursor: grabbing;
  transform: scale(.99);
  border-color: rgba(11, 111, 194, .4);
  box-shadow: 0 18px 40px rgba(12, 48, 80, .12);
}

.showcase-sort-card.drag-over {
  border-color: rgba(11, 111, 194, .28);
}

.admin-article-card {
  grid-template-columns: 54px 110px minmax(0, 1fr) auto;
}

.admin-article-card.is-featured {
  border-color: rgba(11, 111, 194, .18);
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.article-status-badge {
  display: inline-grid;
  width: 54px;
  min-height: 36px;
  place-items: center;
  border: 1px solid rgba(11, 111, 194, .16);
  border-radius: 12px;
  background: linear-gradient(180deg, #f7fbfd, #eef6fb);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
}

.drag-handle,
.order-badge {
  display: inline-grid;
  width: 54px;
  min-height: 36px;
  place-items: center;
  border: 1px solid rgba(11, 111, 194, .16);
  border-radius: 12px;
  background: linear-gradient(180deg, #f7fbfd, #eef6fb);
  color: var(--blue-dark);
  cursor: grab;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  user-select: none;
}

.drag-handle:active {
  cursor: grabbing;
}

.admin-item-card + .admin-item-card {
  margin-top: 12px;
}

.admin-item-cover {
  display: grid;
  width: 110px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #e8f3f8, #edf8f4);
  color: var(--muted);
  font-size: 11px;
}

.admin-item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-item-main {
  min-width: 0;
}

.admin-item-main h3 {
  margin: 7px 0 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.admin-item-main p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.admin-item-meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 142px;
  max-width: 190px;
}

.editor {
  margin-top: 22px;
  max-width: 100%;
  overflow: clip;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.editor h3 {
  margin: 0 0 13px;
  color: var(--ink);
}

.admin-editor-field {
  margin-top: 10px;
}

.admin-editor-field input,
.admin-editor-field select,
.admin-editor-field textarea,
.editor input,
.editor textarea {
  margin-top: 6px;
}

.editor #fContent {
  min-height: 260px;
  height: auto;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.cover-manager {
  display: block;
  min-width: 0;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cover-manager > .editor-heading {
  margin-bottom: 12px;
}

.cover-manager-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.cover-preview {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #eef5f8;
  color: var(--muted);
  font-size: 12px;
}

.cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-media-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: end;
  margin-top: 12px;
}

.showcase-image-block {
  display: grid;
  grid-template-columns: minmax(220px, 1fr);
  gap: 12px;
  margin: 14px 0 8px;
}

.showcase-image-preview {
  display: grid;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(223, 232, 242, .95);
  border-radius: 18px;
  background: linear-gradient(145deg, #eef5f8, #f7fbfd);
  color: var(--muted);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}

.showcase-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.showcase-image-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.showcase-media-pick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 8px;
  max-height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2px 4px 2px 2px;
}

.showcase-media-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(223, 232, 242, .95);
  border-radius: 18px;
  background: #fafcff;
}

.showcase-media-panel-head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.showcase-media-panel-head > div {
  min-width: 0;
}

.showcase-media-panel-head b {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.showcase-media-panel-head span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.showcase-media-panel.is-collapsed .showcase-media-pick {
  display: none;
}

.showcase-media-panel.is-collapsed {
  padding-bottom: 12px;
}

.showcase-media-chip {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(223, 232, 242, .95);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(12, 48, 80, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.showcase-media-chip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.showcase-media-chip span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-media-chip.is-active {
  border-color: rgba(11, 111, 194, .28);
  box-shadow: 0 0 0 3px rgba(11, 111, 194, .12), 0 12px 24px rgba(12, 48, 80, .08);
  transform: translateY(-1px);
}

.showcase-media-chip:focus-visible {
  outline: 3px solid rgba(11, 111, 194, .18);
  outline-offset: 2px;
}

.upload-zone {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 138px;
  padding: 20px;
  place-items: center;
  border: 2px dashed #b8cfdd;
  border-radius: 16px;
  background: #f7fbfd;
  color: #49677d;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.upload-zone:hover,
.upload-zone.is-dragging {
  border-color: var(--blue);
  background: #edf7fc;
  box-shadow: 0 0 0 4px rgba(11, 111, 194, .10);
}

.upload-zone b,
.upload-zone span {
  display: block;
}

.upload-zone b {
  color: var(--ink);
  font-size: 14px;
}

.upload-zone span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.media-file-picker {
  display: inline-flex;
  margin-top: 14px;
}

.media-file-picker input {
  display: none;
}

.media-file-picker .btn {
  pointer-events: none;
}

.media-upload-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.media-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
  max-width: 100%;
  overflow: clip;
}

.media-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(223, 232, 242, .95);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(12, 48, 80, .05);
}

.media-card-figure {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.media-card-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #edf4f7;
  transition: transform .25s ease;
}

.media-card-figure:focus-visible {
  outline: 3px solid rgba(11, 111, 194, .18);
  outline-offset: 2px;
}

.media-card-figure:hover img {
  transform: scale(1.02);
}

.media-card-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(7, 28, 47, .68);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  backdrop-filter: blur(6px);
}

.media-card.is-used {
  border-color: #99cdbf;
}


.media-card-body {
  display: flex;
  min-width: 0;
  padding: 12px;
  flex: 1;
  flex-direction: column;
  gap: 7px;
}

.media-card b,
.media-card p,
.media-card small {
  display: block;
  overflow-wrap: anywhere;
}

.media-card b {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.media-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.media-card small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.media-actions .btn {
  min-height: 44px;
  flex: 1 1 88px;
}

.media-card:not(:hover) .media-actions {
  opacity: .94;
}

#adminToast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;
  width: min(calc(100% - 36px), 390px);
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 42px rgba(8, 47, 79, .24);
  font-size: 13px;
  line-height: 1.55;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
}

#adminToast.show {
  opacity: 1;
  transform: translateY(0);
}

#adminToast.is-error {
  background: #9d2935;
}

.admin-preview {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(calc(100% - 32px), 760px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(8, 47, 79, .28);
}

.admin-preview::backdrop {
  background: rgba(4, 24, 39, .58);
  backdrop-filter: blur(3px);
}

.admin-preview[open] {
  animation: preview-pop .16s ease-out;
}

@keyframes preview-pop {
  from {
    opacity: .4;
    transform: translate(-50%, -48%) scale(.98);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.preview-heading {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
}

.preview-heading h2 {
  margin: 0;
  font-size: 20px;
}

.admin-preview > article {
  padding: 26px;
}

.preview-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  border-radius: 14px;
  object-fit: cover;
  background: #edf4f7;
}

.admin-preview h1 {
  margin: 10px 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.3;
}

.admin-preview .article-content {
  padding-top: 22px;
}

@media (max-width: 1080px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .admin-shell {
    padding-top: 22px;
  }

  .admin-main,
  .admin-brand-block,
  .admin-overview,
  .admin-nav,
  .admin-tip {
    padding: 20px;
  }

  .admin-workspace-head,
  .showcase-media-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-filters,
  .cover-manager-grid,
  .cover-media-picker,
  .showcase-image-block,
  .showcase-media-pick,
  .form-row {
    grid-template-columns: 1fr;
  }

  .showcase-media-pick {
    max-height: 280px;
  }

  .admin-item-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .showcase-sort-card {
    grid-template-columns: 48px 88px minmax(0, 1fr) auto;
  }

  .admin-article-card {
    grid-template-columns: 48px 88px minmax(0, 1fr);
  }

  .article-status-badge {
    width: 48px;
  }

  .showcase-sort-card .drag-handle {
    width: 48px;
    min-height: 36px;
  }

  .admin-item-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    min-width: 0;
    max-width: none;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-upload-actions {
    flex-direction: column;
  }

  #adminToast {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }
}

@media (max-width: 700px) {
  .page-home .trust-band-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .trust-band-grid > div {
    padding-inline: 11px;
    text-align: center;
  }

  .page-services .service-jump-nav,
  .page-doctors .service-jump-nav {
    display: flex;
    width: auto;
    gap: 8px;
  }

  .page-services .service-jump-nav a,
  .page-doctors .service-jump-nav a {
    flex: 0 0 min(76vw, 270px);
    min-height: 70px;
    padding: 10px 12px;
  }
}

@media (max-width: 560px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet */
@media (max-width: 1080px) {
  .nav nav {
    gap: 17px;
  }

  .need-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-clinic-grid,
  .news-grid,
  .doctor-grid,
  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-content-grid {
    grid-template-columns: 1fr;
  }

  .home-recent-stories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-compact-story {
    display: flex;
  }

  .home-compact-story .news-cover {
    height: auto;
    aspect-ratio: 16 / 7;
  }
}

@media (max-width: 960px) {
  :root {
    --nav-h: 64px;
  }

  .nav {
    height: var(--nav-h);
  }

  .nav nav,
  .nav > .btn,
  .nav > .nav-action {
    display: none;
  }

  .menu {
    display: inline-grid;
  }

  .mobile-menu.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
    width: min(calc(100% - 32px), 1160px);
    margin: 0 auto;
    padding: 10px 0 16px;
    border-top: 1px solid var(--line);
  }

  .mobile-menu a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 9px 8px;
    border-radius: 9px;
  }

  .mobile-menu a:hover,
  .mobile-menu a.active {
    background: #eaf4f8;
    color: var(--blue);
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-hero-actions {
    justify-content: flex-start;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(270px, .72fr);
    gap: 30px;
    padding-block: 58px 54px;
  }

  .hero-showcase {
    width: 100%;
    transform: none;
  }

  .hero-guide {
    padding: 23px;
  }

  .decision-layout,
  .faq-layout,
  .guide-steps,
  .guide-service-grid,
  .guide-two-column,
  .split,
  .contact-grid,
  .contact-support-grid,
  .clinic-info-layout,
  .life-layout,
  .home-contact-layout,
  .home-content-grid {
    grid-template-columns: 1fr;
  }

  .facts-card,
  .about-fact-grid {
    max-width: 620px;
  }

  .timeline,
  .about-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .guide-navigation-section {
    padding: 8px 0;
  }

  .guide-jump-nav {
    display: flex;
    width: auto;
    gap: 8px;
    margin-inline: -16px;
    padding-inline: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .guide-jump-nav::-webkit-scrollbar {
    display: none;
  }

  .guide-jump-nav a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 8px 11px;
    white-space: nowrap;
  }

  .back-to-top {
    right: 16px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    width: 42px;
    height: 42px;
  }

  .page-back-button {
    top: calc(var(--nav-h) + 12px);
    left: -4px;
    width: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
  }

  .page-back-label {
    display: none;
  }

  .container,
  .narrow {
    width: calc(100% - 32px);
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 46px 42px;
  }

  .hero-showcase {
    margin-top: 8px;
    transform: none;
  }

  .hero h1 {
    margin: 14px 0;
    font-size: clamp(36px, 10vw, 43px);
    line-height: 1.15;
    letter-spacing: -.018em;
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.78;
  }

  .actions {
    margin: 24px 0 28px;
  }

  .hero-guide {
    max-width: 560px;
  }

  .trust-band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-band-grid > div {
    padding: 17px 16px;
    border-bottom: 1px solid var(--line);
  }

  .trust-band-grid > div:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .section,
  .section:nth-child(even) {
    padding: 56px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 24px;
  }

  .section-head h2,
  .section h2,
  .cta h2 {
    font-size: 29px;
  }

  .section-head > p,
  .section-head > .text-link {
    display: block;
    margin-top: 12px;
  }

  .need-grid,
  .home-clinic-grid,
  .clinic-directory-grid,
  .news-grid,
  .service-detail,
  .service-card-grid,
  .doctor-grid,
  .practice-grid,
  .timeline,
  .about-process {
    grid-template-columns: 1fr;
  }

  .home-recent-stories {
    grid-template-columns: 1fr;
  }

  .home-featured-story .news-body,
  .home-compact-story .news-body {
    padding: 19px;
  }

  .home-featured-story .news-body h3 {
    font-size: 21px;
  }

  .home-compact-story .news-cover {
    aspect-ratio: 16 / 8;
  }

  .home-content-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .home-content-actions .btn {
    text-align: center;
  }

  .need-grid > a,
  .need-card {
    min-height: 0;
    padding: 21px;
  }

  .decision-layout {
    gap: 16px;
  }

  .life-photo-grid,
  .home-content-grid,
  .home-compact-story {
    grid-template-columns: 1fr;
  }

  .life-photo-art {
    min-height: 160px;
  }

  .home-section-actions .btn,
  .home-content-actions .btn {
    flex: 1 1 180px;
  }

  .process-panel,
  .evidence-panel {
    padding: 25px;
  }

  .faq-layout {
    gap: 26px;
  }

  .cta {
    padding: 50px 0;
  }

  .cta .container {
    display: block;
  }

  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .cta-actions .btn,
  .cta .container > .btn {
    width: 100%;
    margin-top: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 38px 0 24px;
  }

  .page-hero {
    padding: 46px 0 38px;
  }

  .page-hero h1 {
    font-size: 34px;
    line-height: 1.24;
  }

  .page-hero p {
    font-size: 15px;
  }

  .page-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .page-hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .facts-card,
  .about-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-jump-nav {
    flex-wrap: nowrap;
    margin-inline: -16px;
    padding-inline: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .service-jump-nav::-webkit-scrollbar {
    display: none;
  }

  .service-jump-nav a {
    flex: 0 0 auto;
  }

  .service-detail article,
  .service-card-grid article,
  .doctor-grid article,
  .practice-grid article,
  .clinic-card,
  .contact-highlight,
  .contact-form,
  .soft-note {
    padding: 23px;
  }

  .directory-toolbar,
  .directory-tools,
  .news-toolbar,
  .filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .directory-toolbar input,
  .directory-toolbar select,
  .directory-tools input,
  .directory-tools select,
  .news-toolbar input,
  .news-toolbar select,
  .filters input,
  .filters select {
    width: 100%;
  }

  .contact-facts > div {
    display: block;
  }

  .contact-facts span {
    display: block;
    margin-top: 4px;
    text-align: left;
  }

  .admin-nav-actions .btn {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .admin-panel,
  .admin-side,
  .login-card {
    padding: 23px;
  }

  .admin-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  body.has-mobile-action {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .mobile-action-bar {
    position: fixed;
    right: 10px;
    bottom: calc(9px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 1200;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 7px;
    border: 1px solid rgba(219, 231, 239, .94);
    border-radius: 17px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 36px rgba(8, 47, 79, .18);
    backdrop-filter: blur(14px);
  }

  .mobile-action-bar a {
    display: flex;
    min-width: 0;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 9px 8px;
    border-radius: 12px;
    background: #edf5f9;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
  }

  .mobile-action-bar a.primary {
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #fff;
  }

  .mobile-action-bar-single {
    grid-template-columns: 1fr;
  }

  .page-contact .contact-support-section {
    padding-block: 48px;
  }

  .page-contact .contact-highlight {
    padding: 24px;
  }

  .page-contact .contact-facts > div {
    display: grid;
    gap: 5px;
  }

  .page-contact .contact-facts dd {
    max-width: none;
    text-align: left;
  }
}

/* Narrow mobile, including the 319px in-app viewport. */
@media (max-width: 420px) {
  .container,
  .narrow {
    width: calc(100% - 28px);
  }

  .mobile-menu.open {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
  }

  .service-jump-nav {
    margin-inline: -14px;
    padding-inline: 14px;
  }

  .hero::after {
    display: none;
  }

  .hero-grid {
    gap: 0;
    padding-block: 38px 34px;
  }

  .hero h1 {
    font-size: clamp(34px, 10.6vw, 39px);
  }

  .hero-copy {
    font-size: 14px;
    line-height: 1.75;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 21px 0 23px;
  }

  .actions .btn {
    width: 100%;
  }

  .hero-guide {
    display: none;
  }

  .hero-proof {
    gap: 7px;
    font-size: 12px;
  }

  .trust-band-grid strong {
    font-size: 20px;
  }

  .trust-band-grid > div {
    padding: 15px 12px;
  }

  .section,
  .section:nth-child(even) {
    padding: 50px 0;
  }

  .section-head h2,
  .section h2,
  .cta h2 {
    font-size: 27px;
  }

  .page-hero {
    padding: 40px 0 34px;
  }

  .page-hero h1 {
    font-size: 31px;
  }

  .facts-card,
  .about-fact-grid {
    grid-template-columns: 1fr;
  }

  .process-panel,
  .evidence-panel,
  .service-detail article,
  .service-card-grid article,
  .doctor-grid article,
  .practice-grid article,
  .clinic-card,
  .contact-highlight,
  .contact-form,
  .soft-note,
  .admin-panel,
  .admin-side,
  .login-card {
    padding: 20px;
  }

  .phone-row {
    align-items: stretch;
    flex-direction: column;
  }

  .phone {
    font-size: 25px;
  }

  .copy-button,
  .clinic-actions .copy-button {
    width: 100%;
  }

  .page-contact .contact-highlight {
    padding: 20px;
    border-radius: 16px;
  }

  .article-head h1 {
    font-size: 28px;
    line-height: 1.26;
  }

  .article-wrap,
  .article-wrap.section {
    padding-top: 38px;
    padding-bottom: 52px;
  }

  .article-summary {
    margin-top: 16px;
    padding: 13px 14px;
  }

  .article-cover {
    border-radius: 14px;
  }

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

  .article-content h2 {
    margin-top: 1.9em;
    font-size: 22px;
  }

  .article-content h3 {
    font-size: 18px;
  }

  .article-callout {
    padding: 13px 14px;
  }

  .admin-page .brand {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .admin-nav-actions {
    gap: 4px;
  }

  .admin-nav-actions .btn {
    padding-inline: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Admin DOM and JS contract alignment */
.admin-filters label {
  min-width: 0;
  color: #365068;
  font-size: 12px;
  font-weight: 700;
}

.admin-filters label > input,
.admin-filters label > select {
  display: block;
  margin-top: 6px;
}

.admin-article-main {
  min-width: 0;
}

.admin-article-title {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.admin-article-title b {
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-article-main > small,
.admin-article-main > p {
  display: block;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 142px;
  max-width: 190px;
}

.admin-item-actions .link-btn {
  min-height: 44px;
}

.cover-manager {
  display: block;
  min-width: 0;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cover-manager > .editor-heading {
  margin-bottom: 12px;
}

.cover-manager-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(210px, .65fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.cover-media-picker {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: end;
  margin-top: 12px;
}

.cover-media-picker label {
  min-width: 0;
  color: #365068;
  font-size: 12px;
  font-weight: 700;
}

.cover-media-picker select {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.cover-media-picker select:focus {
  border-color: #70acd1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 111, 194, .13);
}

.article-cover-panel {
  margin-top: 0;
}

.article-cover-pick {
  max-height: 260px;
  overflow: auto;
}

.cover-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.upload-zone b,
.upload-zone span {
  display: block;
}

.upload-zone b {
  color: var(--ink);
  font-size: 14px;
}

.upload-zone span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

#adminToast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;
  width: min(calc(100% - 36px), 390px);
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 42px rgba(8, 47, 79, .24);
  font-size: 13px;
  line-height: 1.55;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
}

#adminToast.show {
  opacity: 1;
  transform: translateY(0);
}

#adminToast.is-error {
  background: #9d2935;
}

.admin-preview {
  width: min(calc(100% - 32px), 760px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(8, 47, 79, .28);
}

.admin-preview::backdrop {
  background: rgba(4, 24, 39, .58);
  backdrop-filter: blur(3px);
}

.preview-heading {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
}

.preview-heading h2 {
  margin: 0;
  font-size: 20px;
}

.admin-preview > article {
  padding: 26px;
}

.preview-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  border-radius: 14px;
  object-fit: cover;
  background: #edf4f7;
}

.admin-preview h1 {
  margin: 10px 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.3;
}

.admin-preview .article-content {
  padding-top: 22px;
}

@media (max-width: 700px) {
  .cover-manager-grid,
  .cover-media-picker {
    grid-template-columns: 1fr;
  }

  .cover-media-picker .btn {
    width: 100%;
  }

  .admin-item-actions {
    justify-content: flex-start;
    min-width: 0;
    max-width: none;
  }

  .admin-item-actions .link-btn {
    flex: 1 1 72px;
  }

  #adminToast {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }
}

@media (max-width: 560px) {
  .admin-preview {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 14px;
  }

  .preview-heading {
    padding: 13px 15px;
  }

  .admin-preview > article {
    padding: 18px;
  }
}

/* Admin authoring controls for article library and image assets. */
.editor-topline {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.editor-topline > * {
  min-width: 0;
}

#editorSaveState,
.panel-note,
#mediaResultCount {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.panel-note {
  max-width: 42rem;
}

.media-filters {
  margin-top: 18px;
}

#mediaResultCount {
  min-height: 20px;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .page-about .about-fact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-about .about-fact-grid {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .editor-topline {
    align-items: stretch;
    flex-direction: column;
  }

  .editor-topline .btn {
    width: 100%;
  }

  .media-filters {
    grid-template-columns: 1fr;
  }

  .page-services .compact-page-hero,
  .page-doctors .compact-page-hero,
  .page-news .compact-page-hero,
  .page-about .compact-page-hero {
    padding: 32px 0 28px;
  }

  .page-services .compact-page-hero h1,
  .page-doctors .compact-page-hero h1,
  .page-news .compact-page-hero h1,
  .page-about .compact-page-hero h1 {
    font-size: 29px;
  }

  .page-home .trust-band-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .trust-band-grid > div {
    padding: 14px 9px;
    text-align: center;
  }

  .page-home .trust-band-grid span {
    font-size: 11px;
  }

  .page-home .section {
    padding-block: 46px;
  }

  .page-services .service-navigation-section,
  .page-doctors .service-navigation-section {
    padding-block: 9px;
  }

  .page-services .service-jump-nav,
  .page-doctors .service-jump-nav {
    display: flex;
    width: auto;
    gap: 8px;
  }

  .page-services .service-jump-nav a,
  .page-doctors .service-jump-nav a {
    flex: 0 0 min(76vw, 270px);
    min-height: 70px;
    padding: 10px 12px;
  }

  .page-services .service-detail-section,
  .page-doctors .service-detail-section,
  .page-doctors .practice-section,
  .page-news .news-library-section,
  .page-about .about-facts-section,
  .page-about .about-process-section {
    padding-block: 42px;
  }

  .page-services .service-detail-block,
  .page-doctors .service-detail-block {
    padding: 21px;
  }

  .page-services .service-detail-columns,
  .page-doctors .service-detail-columns {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .page-services .service-detail-columns > div,
  .page-doctors .service-detail-columns > div {
    padding: 18px 0 0;
  }

  .page-services .service-detail-columns > div + div,
  .page-doctors .service-detail-columns > div + div {
    margin-top: 18px;
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .page-doctors .practice-card {
    padding: 20px;
  }

  .page-news .page-hero-note {
    max-width: none;
  }

  .page-news .news-library-section > .container {
    width: calc(100% - 28px);
    padding: 18px;
  }

  .page-news .news-toolbar {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 19px;
    padding-bottom: 19px;
  }

  .page-news .news-results-head {
    display: block;
  }

  .page-news .news-results-head h2 {
    font-size: 22px;
  }

  .page-news .news-result-count {
    margin-top: 5px;
    text-align: left;
  }

  .page-about .about-fact-grid {
    grid-template-columns: 1fr;
  }

  .page-about .about-fact-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .page-about .about-process {
    grid-template-columns: 1fr;
  }

  .page-about .about-principles {
    grid-template-columns: 1fr;
  }

  .page-about .about-principles article,
  .page-about .about-principles article + article {
    padding: 18px 0;
    border-left: 0;
  }

  .page-about .about-principles article + article {
    border-top: 1px solid var(--line);
  }
}
