:root {
  --brand: #641419;
  --teal: #0f766e;
  --gold: #d99735;
  --ink: #182536;
  --muted: #607086;
  --paper: #ffffff;
  --soft: #f4f8f9;
  --line: #dce6ea;
  --public-header-height: 106px;
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

/* Site Manager V2: simple live-save CMS shell. */
.v2-admin { background: #eef5fb; }
.v2-panel { color: #172033; }
.v2-title-row,
.v2-health,
.v2-section-search,
.v2-section-list,
.v2-editor-main,
.v2-live-preview,
.v2-media-panel {
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 54, 86, .06);
}
.v2-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 26px;
}
.v2-title-row h1,
.v2-section-head h1 {
  margin: 4px 0 8px;
  color: #0f172a;
  font-size: 34px;
  line-height: 1.12;
}
.v2-title-row p,
.v2-section-head p,
.v2-module-head p {
  max-width: 760px;
  margin: 0;
  color: #52657a;
  line-height: 1.55;
}
.v2-health {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 16px 18px;
}
.v2-health strong { color: #0f172a; font-size: 18px; }
.v2-health span { color: #52657a; font-weight: 750; }
.v2-health-list {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0 18px 2px;
}
.v2-health-item {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  background: #fff;
  color: #213149;
}
.v2-health-item strong {
  margin-left: auto;
  color: #0f172a;
}
.v2-health-item.warning { background: #fff8ee; }
.v2-health-item.ready { background: #f0fdf4; }
.v2-health-item-icon { width: 15px; }
.v2-section-search {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 14px;
  color: #52657a;
  font-weight: 800;
}
.v2-section-search input,
.v2-field-grid input,
.v2-field-grid textarea,
.v2-nav-row input,
.v2-upload-box input[type="file"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  color: #172033;
  background: #f8fbff;
}
.v2-field-grid select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  color: #172033;
  background: #f8fbff;
}
.v2-section-list { display: grid; overflow: hidden; }
.v2-section-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 58px;
  padding: 12px 16px;
  border-bottom: 1px solid #e6eef6;
  color: #172033;
  text-decoration: none;
}
.v2-section-cell {
  display: grid;
  grid-template-columns: 28px minmax(220px, 1fr) 120px 160px;
  gap: 14px;
  align-items: center;
  min-width: 0;
}
.v2-section-row:last-child { border-bottom: 0; }
.v2-section-row:hover,
.v2-section-row:focus-visible { background: #f4f9ff; }
.v2-section-row strong { font-size: 16px; }
.v2-section-row span,
.v2-section-row i {
  color: #52657a;
  font-style: normal;
  font-weight: 760;
}
.v2-section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.v2-grip {
  width: 16px;
  height: 18px;
  background: radial-gradient(circle, #8aa0b7 1.5px, transparent 2px) 0 0 / 7px 7px;
}
.v2-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(360px, 45%);
  gap: 18px;
  align-items: start;
}
.v2-editor-grid--split {
  gap: 20px;
}
.v2-editor-main,
.v2-live-preview { padding: 22px; }
.v2-live-preview { min-height: 600px; }
.v2-section-head { margin-bottom: 20px; }
.v2-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.v2-field-grid label {
  display: grid;
  gap: 7px;
  color: #243145;
  font-weight: 800;
}
.v2-field-grid small {
  color: #607086;
  font-size: 12px;
  line-height: 1.4;
}
.v2-wide { grid-column: 1 / -1; }
.v2-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0;
}
.v2-toggle-row label,
.v2-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #243145;
  font-weight: 850;
}
.v2-toggle-row input,
.v2-checkbox input {
  width: 16px;
  height: 16px;
}
.v2-module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 6px 0 12px;
}
.v2-module-head h2 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 22px;
}
.v2-nav-editor {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e6eef6;
}
.v2-nav-row {
  display: grid;
  grid-template-columns: 22px minmax(120px, 170px) minmax(180px, 1fr) 1px 100px;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.v2-form-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 22px -22px -22px;
  padding: 14px 22px;
  border-top: 1px solid #e6eef6;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
}
.v2-live-preview {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}
.v2-media-panel,
.v2-media-controls,
.v2-media-list,
.v2-media-item-actions {
  display: grid;
  gap: 10px;
}
.v2-media-panel {
  padding: 12px;
}

.v2-item-editor {
  display: grid;
  gap: 12px;
}

.v2-item-card {
  border: 1px solid #e6eef6;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}

.v2-item-card .v2-item-toolbar {
  margin-bottom: 10px;
  gap: 10px;
}

.v2-item-card .v2-item-toolbar strong {
  color: #18253a;
}

.v2-footer-social-editor {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.v2-footer-social-list {
  display: grid;
  gap: 10px;
}

.v2-footer-social-row {
  display: grid;
  grid-template-columns: 18px minmax(108px, .7fr) minmax(0, 1.7fr) max-content;
  gap: 10px;
  align-items: end;
  padding: 10px 12px;
  border: 1px solid #e3edf6;
  border-radius: 10px;
  background: #fff;
  min-width: 0;
}

.v2-footer-social-row.is-dragging {
  opacity: .62;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .12);
}

.v2-footer-social-row label {
  display: grid;
  gap: 5px;
  color: #243145;
  font-weight: 800;
  min-width: 0;
}

.v2-footer-social-row select,
.v2-footer-social-row input {
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  color: #172033;
  background: #f8fbff;
}

.v2-footer-social-grip {
  align-self: center;
  cursor: grab;
}

.v2-footer-social-add {
  justify-self: start;
}

.v2-footer-social-remove {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
  white-space: nowrap;
}

.v2-advanced-helper {
  margin: 4px 0 14px;
  color: #607086;
  font-weight: 700;
}

.v2-footer-preview {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid #e1ebf4;
  border-radius: 12px;
  background: linear-gradient(180deg, #112033, #0c1727);
  color: #dbeafe;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.v2-footer-preview h2,
.v2-footer-preview h3,
.v2-footer-preview p {
  margin: 0;
}

.v2-footer-preview h2 {
  color: #fff;
  font-size: 24px;
  line-height: 1.15;
}

.v2-footer-preview h3 {
  color: #fff;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.v2-footer-preview p {
  color: #cbd5e1;
  line-height: 1.55;
}

.v2-footer-preview-about {
  display: grid;
  gap: 12px;
}

.v2-footer-preview-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.v2-footer-preview-social a,
.v2-footer-preview-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  border: 1px solid rgba(20, 184, 166, .45);
  border-radius: 999px;
  color: #ccfbf1;
  text-decoration: none;
  background: rgba(15, 118, 110, .16);
  font-weight: 900;
}

.social-platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
}

.social-platform-icon::before { content: "\25CF"; }
.social-platform-icon.facebook::before { content: "f"; font-family: Arial, sans-serif; font-style: normal; }
.social-platform-icon.instagram::before { content: "\25CE"; }
.social-platform-icon.youtube::before { content: "\25B6"; font-size: 12px; }
.social-platform-icon.linkedin::before { content: "in"; font-size: 10px; letter-spacing: -.04em; }
.social-platform-icon.twitter::before { content: "X"; font-family: Arial, sans-serif; }
.social-platform-icon.whatsapp::before { content: "W"; font-size: 12px; }
.social-platform-icon.tiktok::before { content: "\266A"; }
.social-platform-icon.website::before { content: "\2197"; }

.v2-footer-preview-empty {
  padding: 0 12px;
  color: #9fb0c5;
  font-size: 12px;
  font-weight: 800;
}

.v2-footer-preview-links {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.v2-footer-preview-links span {
  color: #cbd5e1;
  font-weight: 760;
}

.v2-item-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2-trust-editor-main {
  padding-bottom: 100px;
}

.v2-trust-items {
  margin-top: 6px;
}

.v2-trust-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2-item-grip {
  width: 16px;
  height: 18px;
  background: radial-gradient(circle, #8aa0b7 1.5px, transparent 2px) 0 0 / 7px 7px;
}

.v2-item-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.v2-trust-order-button {
  min-width: 30px;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 8px;
}

.v2-trust-order-button:hover {
  border-color: #cfdff2;
  background: #f1f5fc;
}

.v2-trust-visibility {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #243145;
  font-weight: 840;
}

.v2-trust-visibility input,
.v2-trust-visibility input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

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

.v2-trust-live-preview .v2-trust-preview {
  display: grid;
  gap: 10px;
}

.v2-trust-preview-copy h3 {
  margin: 0 0 4px;
  color: #641419;
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1.08;
}

.v2-trust-preview-list {
  display: grid;
  gap: 10px;
}

.v2-trust-preview-card {
  padding: 10px 12px;
  border: 1px solid #e6eef6;
  border-radius: 10px;
  background: #f8fbff;
}

.v2-trust-preview-card strong {
  display: block;
  margin-bottom: 4px;
  color: #1f2937;
  font-size: 16px;
}

.v2-trust-preview-card span {
  color: #475569;
  line-height: 1.45;
}

.v2-form-actions.v2-trust-form-actions {
  z-index: 10;
}
.v2-media-controls {
  grid-template-columns: repeat(3, minmax(0, max-content));
  align-items: center;
  justify-content: start;
  gap: 10px;
}
.v2-media-controls input[type="text"] {
  margin: 0;
}
.v2-hidden-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.v2-current-image img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  background: #e8f0fb;
  border: 1px solid #dce8f1;
  border-radius: 8px;
}
.v2-media-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid #e4edf5;
  border-radius: 8px;
  padding: 8px;
}
.v2-media-item img { width: 110px; height: 66px; object-fit: cover; border-radius: 6px; }
.v2-media-text {
  min-width: 0;
  color: #243145;
}
.v2-media-text strong,
.v2-media-text span {
  display: block;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v2-media-item-actions {
  grid-auto-flow: column;
  justify-content: end;
}

.v2-media-dialog {
  width: min(720px, calc(100vw - 40px));
  max-height: min(760px, calc(100vh - 40px));
  border: 1px solid #d8e7f4;
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16,32,51,.24);
}

.v2-media-dialog::backdrop {
  background: rgba(15,23,42,.42);
}

.v2-media-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.v2-media-dialog-head strong {
  display: block;
  color: #0f172a;
  font-size: 20px;
}

.v2-media-dialog-head span,
.v2-media-search span {
  display: block;
  color: #52657a;
  font-weight: 700;
}

.v2-media-search {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.v2-recommended-size {
  margin: 0;
  color: #475569;
}

.v2-save-status { display: grid; gap: 6px; margin-bottom: 16px; }
.v2-save-status p { margin: 0; }
.v2-save-status-success {
  color: #166534;
  font-weight: 700;
}
.v2-save-status-note,
.v2-save-status-error { color: #b42318; }
.v2-save-status-note { font-weight: 700; }
.v2-header-preview,
.v2-hero-preview,
.v2-upload-box {
  border: 1px solid #e1ebf4;
  border-radius: 8px;
  background: #f8fbff;
}
.v2-header-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
}
.v2-header-preview img {
  width: 92px;
  height: 56px;
  object-fit: contain;
}
.v2-header-preview .btn-teal {
  margin-left: auto;
  color: #fff;
  background: #0f766e;
  border: 1px solid #0f766e;
}
.v2-header-preview strong {
  min-width: 0;
  overflow: hidden;
  color: #641419;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v2-header-preview nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.v2-header-preview nav span,
.v2-header-preview b {
  padding: 7px 9px;
  border-radius: 8px;
  background: #fff;
  color: #53657a;
  font-size: 12px;
  font-weight: 850;
}
.v2-header-preview b {
  color: #fff;
  background: #0f766e;
}
.v2-header-accreditation-preview {
  grid-column: 1 / -1;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid #d9e5ef;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}
.v2-header-accreditation-preview[hidden] {
  display: none;
}
.v2-header-preview .v2-header-accreditation-preview img {
  width: 42px;
  height: 34px;
  object-fit: contain;
}
.v2-hero-preview { overflow: hidden; }
.v2-hero-preview {
  max-height: 760px;
  overflow: auto;
}
.v2-hero-preview > div { padding: 18px; }
.v2-hero-preview span {
  color: #641419;
  font-family: Georgia, serif;
  font-weight: 900;
  font-size: 17px;
}
.v2-hero-preview h2 {
  margin: 6px 0 8px;
  color: #641419;
  font-family: Georgia, serif;
  font-size: 36px;
  line-height: 1.02;
}
.v2-hero-preview p { color: #52657a; line-height: 1.45; }
.v2-hero-preview b {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 8px;
  color: #1f1604;
  background: #d99735;
}
.v2-hero-preview img {
  display: block;
  width: 100%;
  max-height: 420px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e7f4f3;
}
.v2-hero-preview .v2-button-row a {
  display: inline-block;
}
.v2-button-row a,
.v2-header-preview a {
  color: #17345f;
  text-decoration: none;
}
.v2-upload-box {
  display: grid;
  gap: 10px;
  padding: 14px;
}
.v2-upload-box label {
  display: grid;
  gap: 8px;
  color: #243145;
  font-weight: 850;
}
.v2-upload-box p {
  margin: 0;
  color: #52657a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}
@media (max-width: 1020px) {
  .v2-editor-grid { grid-template-columns: 1fr; }
  .v2-live-preview { position: static; }
  .v2-section-row { grid-template-columns: 1fr; }
  .v2-section-cell { grid-template-columns: 22px minmax(0, 1fr); }
  .v2-section-row span,
  .v2-section-row i { grid-column: 2; }
  .v2-section-actions { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .v2-title-row { display: grid; }
  .v2-field-grid,
  .v2-nav-row,
  .v2-trust-item-grid { grid-template-columns: 1fr; }
  .v2-grip { display: none; }
  .v2-form-actions {
    position: static;
    display: grid;
  }
  .v2-item-actions { margin-left: auto; }
  .v2-footer-social-row {
    grid-template-columns: 1fr;
  }
  .v2-footer-social-grip {
    display: none;
  }
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--public-header-height, 106px) + 16px);
}
body { margin: 0; color: var(--ink); background: var(--soft); }
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 6vw, 72px);
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.brand-logo {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
}

.site-nav { display: flex; align-items: center; gap: 24px; font-size: 17px; }
.site-nav a { color: #52657a; text-decoration: none; font-weight: 650; }
.nav-cta {
  padding: 16px 24px;
  color: #fff !important;
  background: var(--teal);
  border-radius: 8px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 6vw, 72px) 56px;
  background:
    linear-gradient(90deg, #fff 0 48%, #eaf7f6 48% 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
}

.hero-copy h1,
.content-band h2 {
  margin: 0;
  max-width: 760px;
  color: var(--brand);
  font-family: Georgia, serif;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy h1 { font-size: clamp(54px, 8vw, 106px); }
.content-band h2 { font-size: clamp(38px, 5vw, 72px); }
.hero-subtitle, .lead { color: #4e6380; font-size: clamp(19px, 2vw, 25px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

.btn-gold { background: var(--gold); color: #1f1604; }
.btn-white { background: #fff; color: var(--ink); border-color: var(--line); }

.hero-gallery {
  display: grid;
  grid-template-columns: .85fr 1.35fr;
  grid-template-rows: 240px 240px;
  gap: 24px;
  align-items: stretch;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(24,37,54,.18);
}

.hero-img-main { grid-row: 1 / span 2; align-self: center; height: 82%; }

.quick-actions {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  max-width: 1320px;
  margin: -38px auto 0;
  padding: 0 24px;
}

.quick-actions a {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(24,37,54,.1);
  font-size: 20px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1320px;
  margin: 54px auto 0;
  padding: 0 24px;
}

.trust-strip article {
  padding: 24px;
  border-left: 4px solid var(--gold);
  background: #fff;
}

.trust-strip strong {
  display: block;
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: 1;
}

.trust-strip span { color: var(--muted); font-weight: 700; }

.content-band {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 72px);
  background: #fff;
}

.muted-band { background: var(--soft); }

.split-band {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
}

.image-medallion img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50% 50% 8px 50%;
}

.section-heading { max-width: 780px; margin-bottom: 32px; }
.section-heading p, .content-band p { color: var(--muted); font-size: 18px; line-height: 1.7; }

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

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

.premium-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(24,37,54,.07);
}

.premium-card.compact { min-height: 180px; }
.premium-card h3 { margin: 0 0 12px; color: var(--ink); font-size: 24px; }
.premium-card p { margin: 0; }
.card-mark { display: block; width: 42px; height: 4px; margin-bottom: 24px; background: var(--teal); }

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

.doctor-card,
.blog-card,
.gallery-grid figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(24,37,54,.07);
}

.doctor-card img,
.blog-card img,
.gallery-grid img {
  width: 100%;
  object-fit: cover;
}

.doctor-card img { aspect-ratio: 4 / 5; }
.blog-card img,
.gallery-grid img { aspect-ratio: 4 / 3; }

.doctor-card div,
.blog-card div,
.gallery-grid figcaption {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.doctor-card h3,
.blog-card h3,
.gallery-grid strong {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
}

.doctor-card strong,
.blog-card span,
.gallery-grid span {
  color: var(--brand);
  font-weight: 900;
}

.doctor-card p,
.blog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.faq-list { display: grid; gap: 12px; max-width: 900px; }
.faq-list details { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.faq-list summary { cursor: pointer; padding: 20px 22px; color: var(--ink); font-size: 20px; font-weight: 850; }
.faq-list p { margin: 0; padding: 0 22px 22px; }

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 32px;
  color: #fff;
  background: var(--brand);
}

.contact-band h2, .contact-band .eyebrow, .contact-band p { color: #fff; }
.appointment-panel { padding: 28px; border-radius: 8px; background: rgba(255,255,255,.12); }
.appointment-panel h3 { margin-top: 0; font-size: 28px; }
.appointment-panel .btn { width: 100%; margin-top: 12px; }

.empty-state, .admin-shell {
  max-width: 980px;
  margin: 10vh auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-shell h1 { margin-top: 0; font-size: 42px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.admin-nav a { padding: 12px 14px; border-radius: 8px; background: var(--soft); text-decoration: none; font-weight: 800; }
.inline-form { margin-top: 18px; }

.login-form { display: grid; gap: 12px; max-width: 420px; }
.login-form label { display: grid; gap: 6px; font-weight: 800; }
.login-form input { min-height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #f8fbff; color: #0f172a; }
.login-form input:focus { outline: 3px solid rgba(47, 115, 246, .18); border-color: #7aa7ff; }
.login-form input:-webkit-autofill,
.login-form input:-webkit-autofill:hover,
.login-form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #f8fbff inset;
  -webkit-text-fill-color: #0f172a;
  caret-color: #0f172a;
  transition: background-color 9999s ease-in-out 0s;
}
.validation { color: #b42318; font-weight: 750; }
.field-validation, .caps-warning { color: #b42318; font-size: 13px; font-weight: 750; }

.site-login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 560px);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  min-height: 100vh;
  padding: clamp(28px, 5vw, 70px);
  background:
    linear-gradient(120deg, #dbeafe 0%, #eef8ff 46%, #f8fbff 100%);
}

.site-login-copy h1 {
  margin: 24px 0 12px;
  color: #0f172a;
  font-size: clamp(40px, 5.05vw, 68px);
  line-height: 1.04;
}

.site-login-copy p {
  max-width: 760px;
  color: #52657a;
  font-size: 19px;
  line-height: 1.45;
}

.site-login-copy .login-tagline {
  max-width: 620px;
  margin: 0 0 14px;
  color: #17345f;
  font-size: clamp(24px, 2.45vw, 31px);
  font-weight: 950;
  line-height: 1.25;
}

.site-login-copy .login-product-copy {
  max-width: 640px;
  margin: 0;
}

.site-login-copy .login-positioning {
  max-width: 620px;
  margin: 12px 0 0;
  color: #405a78;
  font-size: 15px;
  font-weight: 850;
}

.scodeit-brand {
  display: block;
  width: min(220px, 70vw);
  height: auto;
}

.admin-logo.large {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  font-size: 34px;
}

.login-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 34px;
}

.login-proof article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 122px;
  padding: 16px;
  border: 1px solid #cfe0f3;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
}

.login-proof strong {
  color: #17345f;
  font-size: 15px;
  line-height: 1.25;
}

.login-proof span {
  color: #52657a;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.45;
}

.login-capabilities {
  max-width: 720px;
  margin-top: 30px;
  padding: 14px 16px;
  border: 1px solid rgba(207,224,243,.9);
  border-radius: 16px;
  background: rgba(255,255,255,.44);
}

.login-capabilities strong {
  display: block;
  margin-bottom: 10px;
  color: #17345f;
  font-size: 14px;
  font-weight: 900;
}

.login-capabilities ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.login-capabilities li {
  padding: 6px 9px;
  border: 1px solid rgba(122,167,255,.26);
  border-radius: 999px;
  color: #405a78;
  background: rgba(248,251,255,.7);
  font-size: 12px;
  font-weight: 850;
}

.site-login-card {
  padding: 30px;
  border: 1px solid #dbe7f3;
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 26px 80px rgba(31,54,86,.13);
}

.site-login-card h2 {
  margin: 6px 0 8px;
  color: #0f172a;
  font-size: 31px;
}

.login-card-copy {
  margin: 0 0 26px;
  color: #52657a;
  font-size: 16px;
  line-height: 1.45;
}

.password-input-wrap {
  position: relative;
  display: block;
}

.password-input-wrap input {
  width: 100%;
  padding-right: 68px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #d7e3f0;
  border-radius: 8px;
  background: #fff;
  color: #2f73f6;
  font-weight: 850;
  cursor: pointer;
}

.password-toggle:focus-visible,
.login-link:focus-visible,
.login-footer a:focus-visible {
  outline: 3px solid rgba(47, 115, 246, .2);
  outline-offset: 2px;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.remember-option {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  color: #52657a;
  font-weight: 800 !important;
}

.remember-option input {
  min-height: 0;
  width: 16px;
  height: 16px;
  padding: 0;
}

.login-link {
  color: #2f73f6;
  font-weight: 850;
  text-decoration: none;
}

.login-link:hover {
  text-decoration: underline;
}

.login-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e2edf7;
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
}

.login-footer span {
  color: #8090a5;
  font-size: 12px;
  font-weight: 650;
}

.login-footer a {
  color: #52657a;
  text-decoration: none;
}

.login-footer a:hover {
  color: #2f73f6;
  text-decoration: underline;
}

.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  background: #eef5fb;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 16px;
  border-right: 1px solid #dbe7f3;
  background: rgba(255,255,255,.94);
  color: #172033;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 8px;
  text-decoration: none;
}

.admin-brand strong,
.admin-brand small {
  display: block;
}

.admin-brand strong {
  color: #172033;
  font-size: 18px;
  line-height: 1.1;
}

.admin-brand small {
  margin-top: 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.admin-logo {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #2f73f6);
  font-weight: 950;
}

.admin-search {
  margin: 18px 0 20px;
  padding: 13px 14px;
  border: 1px solid #dbe7f3;
  border-radius: 14px;
  color: #8090a5;
  background: #f8fbff;
  font-weight: 700;
}

.admin-menu {
  display: grid;
  gap: 8px;
}

.admin-menu a {
  padding: 14px 16px;
  border-radius: 14px;
  color: #243145;
  text-decoration: none;
  font-weight: 800;
}

.admin-menu a.active,
.admin-menu a:hover {
  color: #172033;
  background: #d9edff;
}

.admin-panel {
  min-width: 0;
  padding: 28px 32px 48px;
}

.admin-panel.narrow {
  max-width: 980px;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  margin: -28px -32px 28px;
  padding: 14px 32px;
  border-bottom: 1px solid #dbe7f3;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px);
}

.topbar-left {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.menu-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border: 1px solid #dbe7f3;
  border-radius: 10px;
  color: #647086;
  background: rgba(255,255,255,.82);
  font-size: 0;
  box-shadow: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.menu-chip::before {
  content: "";
  width: 14px;
  height: 10px;
  border-top: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  box-shadow: 0 4.1px 0 currentColor;
}

.menu-chip:hover {
  color: var(--admin-primary);
  border-color: rgba(52,120,246,.2);
  background: rgba(232,242,255,.72);
}

.admin-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 34px;
  border: 1px solid #dbe7f3;
  border-radius: 18px;
  background: linear-gradient(120deg, #fff 0%, #fff 62%, #d6e6ff 100%);
  box-shadow: 0 18px 50px rgba(31, 54, 86, .08);
}

.admin-hero-card h1 {
  margin: 6px 0 10px;
  color: #0f172a;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
}

.admin-hero-card p,
.admin-title p {
  max-width: 820px;
  color: #52657a;
  font-size: 18px;
  line-height: 1.55;
}

.admin-kicker {
  margin: 0;
  color: #2f73f6;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.admin-button.primary {
  color: #fff;
  background: #2f6fed;
  box-shadow: 0 14px 28px rgba(47, 111, 237, .22);
}

.admin-button.ghost {
  color: #172033;
  background: #f8fbff;
  border-color: #dbe7f3;
}

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

.admin-module-grid a {
  min-height: 190px;
  padding: 22px;
  border: 1px solid #dbe7f3;
  border-radius: 18px;
  color: #172033;
  background: #fff;
  box-shadow: 0 14px 38px rgba(31, 54, 86, .06);
  text-decoration: none;
}

.admin-module-grid span,
.admin-module-grid strong,
.admin-module-grid small {
  display: block;
}

.admin-module-grid span {
  width: 46px;
  margin-bottom: 28px;
  padding-top: 5px;
  border-top: 4px solid #0f766e;
  color: #64748b;
  font-weight: 950;
}

.admin-module-grid strong {
  margin-bottom: 10px;
  font-size: 22px;
}

.admin-module-grid small {
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
}

.admin-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-panel h1 {
  margin: 0;
  color: var(--ink);
  font-size: 42px;
}

.notice {
  padding: 12px 14px;
  border: 1px solid #b6dfc4;
  border-radius: 8px;
  color: #14532d;
  background: #ecfdf3;
  font-weight: 800;
}

.section-editor-list {
  display: grid;
  gap: 18px;
}

.editor-card,
.settings-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid #dbe7f3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(24,37,54,.06);
}

.editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.editor-head strong {
  display: block;
  font-size: 22px;
}

.editor-head span {
  color: var(--muted);
  font-weight: 800;
}

.editor-card label,
.settings-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
}

.editor-card input,
.editor-card textarea,
.settings-form input,
.settings-form textarea,
.admin-table input,
.admin-table select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 400;
}

.settings-form small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.settings-upload-grid,
.color-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.settings-upload-card {
  align-content: start;
  min-height: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdff;
}

.settings-upload-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  padding: 12px;
  border-radius: 14px;
  background: #eef6fb;
}

.settings-upload-card input[type="file"] {
  padding: 10px;
  background: #fff;
}

.color-picker-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.color-picker-row input[type="color"] {
  min-height: 52px;
  padding: 5px;
}

.colour-warning {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  color: #047857;
  background: #f0fdf4;
  font-weight: 850;
}

.colour-warning.danger {
  border-color: #fed7aa;
  color: #9a3412;
  background: #fff7ed;
}

@media (max-width: 760px) {
  .settings-upload-grid,
  .color-settings-grid {
    grid-template-columns: 1fr;
  }

  .clinic-settings-form .shared-image-uploader.has-current-image .current-image-preview,
  .clinic-settings-form .shared-image-uploader.has-current-image .image-drop-control {
    grid-template-columns: 1fr;
  }

  .clinic-settings-form .shared-image-uploader.has-current-image .current-image-preview > span,
  .clinic-settings-form .shared-image-uploader.has-current-image .current-image-preview > small,
  .clinic-settings-form .shared-image-uploader.has-current-image .current-image-preview > .current-image-actions {
    grid-column: auto;
  }

  .clinic-settings-form .shared-image-uploader.has-current-image .current-image-preview img {
    grid-row: auto;
    max-height: 180px;
  }
}

@media (max-width: 760px) {
  .site-login-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 18px;
  }

  .site-login-copy h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .site-login-copy p {
    font-size: 18px;
  }

  .site-login-copy .login-tagline {
    font-size: 23px;
  }

  .site-login-copy .login-positioning {
    font-size: 14px;
  }

  .login-capabilities {
    margin-top: 22px;
    padding: 13px;
  }

  .login-capabilities ul {
    gap: 7px;
  }

  .scodeit-brand {
    width: 176px;
  }

  .login-proof {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .login-proof article {
    min-height: auto;
  }

  .site-login-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .site-login-card h2 {
    font-size: 26px;
  }

  .login-options {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .site-login-shell {
    padding: 22px 14px;
  }

  .site-login-copy h1 {
    font-size: 42px;
  }

  .login-proof article {
    padding: 12px 14px;
  }
}

.editor-card textarea {
  resize: vertical;
}

.code-input {
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
}

.toggle-line {
  display: inline-flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px !important;
}

.toggle-line input {
  width: auto;
  min-height: auto;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.module-grid {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(360px, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 26px;
}

.module-heading-form h2,
.module-item-form h2,
.module-list h2 {
  margin: 0 0 6px;
  color: #172033;
}

.module-list {
  display: grid;
  gap: 14px;
}

.module-record {
  margin-top: 0;
}

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

.delete-form {
  margin: -6px 0 16px;
  text-align: right;
}

.admin-button.danger {
  color: #842029;
  border-color: #fecaca;
  background: #fff1f2;
}

.module-empty {
  padding: 24px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  color: #64748b;
  background: #fff;
  font-weight: 800;
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-nav { display: none; }
  .hero-section, .split-band, .contact-band { grid-template-columns: 1fr; }
  .hero-section { min-height: auto; background: #fff; }
  .hero-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 210px 210px; }
  .hero-img-main { grid-column: 1 / span 2; grid-row: auto; height: 100%; }
  .quick-actions { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
  .trust-strip, .card-grid, .card-grid.four, .people-grid, .gallery-grid, .blog-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-panel { padding: 24px; }
  .admin-topbar { margin: -24px -24px 24px; padding: 14px 24px; }
  .admin-hero-card { align-items: flex-start; flex-direction: column; }
  .admin-module-grid { grid-template-columns: 1fr; }
  .module-grid, .module-record-fields { grid-template-columns: 1fr; }
  .site-login-shell { grid-template-columns: 1fr; }
  .login-proof { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { padding: 14px 16px; }
  .brand { font-size: 18px; }
  .brand-logo { width: 46px; height: 46px; }
  .hero-copy h1 { font-size: 48px; }
  .hero-gallery { display: none; }
  .quick-actions a { min-height: 72px; font-size: 17px; }
}

/* Premium generated public website */
.hospital-site {
  --navy: #102033;
  --hospital-muted: #607086;
  --hospital-line: #dbe7e8;
  --hospital-surface: #f3f8f8;
  overflow-x: visible;
  color: var(--navy);
  background: #fff;
}

.hospital-site img {
  display: block;
}

.hospital-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(219,231,232,.9);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
}

.hospital-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hospital-nav {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.hospital-nav a {
  color: #43566d;
  font-weight: 800;
  text-decoration: none;
}

.hospital-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 12px;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.hospital-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  min-height: 720px;
  padding: clamp(46px, 7vw, 86px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 78% 18%, rgba(15,118,110,.16), transparent 32%),
    linear-gradient(90deg, #fff 0 49%, #eaf7f6 49% 100%);
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 800;
  font-style: italic;
}

.hero-content h1,
.section-copy h2,
.section-heading h2,
.appointment-copy h2 {
  margin: 0;
  color: var(--brand);
  font-family: Georgia, serif;
  font-weight: 950;
  line-height: 1.04;
}

.hero-content h1 {
  max-width: 720px;
  font-size: clamp(44px, 5.4vw, 78px);
  overflow-wrap: normal;
  word-break: normal;
}

.hero-content p:not(.section-kicker),
.section-heading p,
.section-copy p,
.appointment-copy p {
  color: var(--hospital-muted);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.62;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-soft {
  color: var(--teal);
  background: #e8f6f4;
  border-color: #cce7e3;
}

.hero-mini-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-mini-trust span {
  padding: 9px 12px;
  border: 1px solid var(--hospital-line);
  border-radius: 999px;
  color: #43566d;
  background: rgba(255,255,255,.76);
  font-weight: 800;
}

.hero-photo-wrap {
  position: relative;
}

.hero-photo {
  width: 100%;
  min-height: 480px;
  max-height: 660px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 32px 90px rgba(16,32,51,.2);
}

.hero-appointment-card {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: min(320px, calc(100% - 52px));
  padding: 20px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 18px;
  color: #fff;
  background: rgba(16,32,51,.76);
  backdrop-filter: blur(12px);
}

.hero-appointment-card strong,
.hero-appointment-card span {
  display: block;
}

.hero-appointment-card span {
  margin-top: 6px;
  color: rgba(255,255,255,.82);
}

.trust-band {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1240px;
  margin: -46px auto 0;
  padding: 0 22px;
}

.trust-band article {
  padding: 24px;
  border: 1px solid var(--hospital-line);
  border-left: 5px solid var(--gold);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16,32,51,.08);
}

.trust-band strong {
  display: block;
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1;
}

.trust-band span {
  color: #52657a;
  font-weight: 850;
}

.hospital-section {
  padding: clamp(54px, 7vw, 92px) clamp(20px, 5vw, 72px);
}

.surface-section {
  background: var(--hospital-surface);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.section-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(16,32,51,.14);
}

.section-image.wide img {
  aspect-ratio: 4 / 3;
}

.section-copy h2,
.section-heading h2,
.appointment-copy h2 {
  font-size: clamp(34px, 4.1vw, 62px);
}

.lead {
  font-weight: 700;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.about-badges span {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--teal);
  background: #e8f6f4;
  font-weight: 850;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 34px;
}

.service-grid,
.doctor-grid,
.testimonial-grid,
.blog-grid-premium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card,
.why-grid article,
.doctor-card-premium,
.testimonial-grid figure,
.premium-gallery figure,
.blog-grid-premium article,
.contact-card {
  border: 1px solid var(--hospital-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16,32,51,.07);
}

.service-card {
  overflow: hidden;
  min-height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover,
.why-grid article:hover,
.doctor-card-premium:hover,
.premium-gallery figure:hover,
.blog-grid-premium article:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, .34);
  box-shadow: 0 24px 64px rgba(16,32,51,.11);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e7f1f1;
}

.service-card div {
  padding: 24px;
}

.service-line {
  display: block;
  width: 46px;
  height: 5px;
  margin-bottom: 22px;
  background: var(--teal);
}

.service-card h3,
.why-grid strong,
.doctor-card-premium h3,
.blog-grid-premium h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 24px;
}

.service-card p,
.why-grid p,
.doctor-card-premium p,
.blog-grid-premium p,
.tech-list span {
  margin: 0;
  color: var(--hospital-muted);
  font-size: 17px;
  line-height: 1.65;
}

.service-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.service-card a::after {
  content: " ->";
}

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

.why-grid article {
  padding: 24px;
}

.doctor-card-premium,
.blog-grid-premium article,
.premium-gallery figure {
  overflow: hidden;
}

.doctor-card-premium img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
}

.doctor-card-premium div,
.blog-grid-premium div,
.premium-gallery figcaption {
  padding: 22px;
}

.doctor-card-premium .doctor-designation,
.blog-grid-premium span,
.premium-gallery span,
.testimonial-grid figcaption span {
  color: var(--brand);
  font-weight: 900;
}

.tech-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.tech-list article {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--hospital-line);
  border-radius: 16px;
  background: #fff;
}

.equipment-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--section-max);
  margin: 0 auto;
}

.equipment-card {
  overflow: hidden;
  border: 1px solid var(--hospital-line);
  border-radius: var(--card-radius);
  background: #fff;
  box-shadow: var(--premium-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

.equipment-card:hover,
.equipment-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 26px 70px rgba(17, 24, 39, .12);
}

.equipment-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e9f5f4;
}

.equipment-card > div {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.equipment-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
}

.equipment-card p {
  margin: 0;
}

.equipment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.equipment-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f3f7fb;
}

.equipment-card details {
  margin-top: 4px;
  color: var(--muted);
}

.equipment-card summary {
  width: fit-content;
  color: var(--teal);
  font-weight: 900;
  cursor: pointer;
}

.equipment-actions,
.equipment-empty {
  max-width: var(--section-max);
  margin: 26px auto 0;
}

.equipment-toggle {
  border: 0;
  cursor: pointer;
}

.equipment-empty {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px;
  border: 1px dashed var(--hospital-line);
  border-radius: var(--card-radius);
  background: #fff;
}

.equipment-empty img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
}

@media (max-width: 980px) {
  .equipment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .equipment-grid,
  .equipment-empty {
    grid-template-columns: 1fr;
  }
}

.premium-gallery {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 18px;
}

.premium-gallery img,
.blog-grid-premium img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.premium-gallery figure:first-child {
  grid-row: span 2;
}

.premium-gallery figure:first-child img {
  aspect-ratio: 4 / 4.15;
}

.testimonial-grid figure {
  margin: 0;
  padding: 28px;
}

.testimonial-grid blockquote {
  margin: 0;
  color: #243145;
  font-size: 20px;
  line-height: 1.55;
}

.testimonial-grid figcaption {
  display: grid;
  gap: 4px;
  margin-top: 20px;
}

.premium-faq {
  max-width: 980px;
}

.premium-faq details {
  border-radius: 16px;
}

.appointment-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(217,151,53,.24), transparent 30%),
    linear-gradient(135deg, var(--brand), #102033);
}

.appointment-section .section-kicker,
.appointment-copy h2,
.appointment-copy p {
  color: #fff;
}

.contact-card {
  padding: 28px;
  color: var(--navy);
}

.contact-card h3 {
  margin: 0 0 18px;
  font-size: 30px;
}

.contact-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.contact-card dt {
  color: var(--hospital-muted);
  font-weight: 900;
}

.contact-card dd {
  margin: 0 0 6px;
  font-weight: 800;
}

.contact-card dd span {
  display: block;
}

.map-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--teal);
  font-weight: 900;
}

.office-map-embed {
  width: 100%;
  min-height: 240px;
  margin-top: 18px;
  border: 0;
  border-radius: 16px;
  background: #eef8f7;
}

.hospital-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 42px clamp(20px, 5vw, 72px);
  color: #dfe9ee;
  background: #102033;
}

.hospital-footer p {
  max-width: 640px;
  color: #b8c7d3;
}

.hospital-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.hospital-footer a {
  color: #fff;
}

.footer-brand {
  color: #fff;
}

.mobile-sticky-appointment {
  display: none;
}

@media (max-width: 1120px) {
  .hospital-header { grid-template-columns: 1fr auto; }
  .hospital-nav { display: none; }
  .hospital-hero, .split-section, .appointment-section { grid-template-columns: 1fr; }
  .hospital-hero { min-height: auto; background: #fff; }
  .hero-photo { min-height: 380px; }
  .trust-band, .service-grid, .doctor-grid, .testimonial-grid, .blog-grid-premium, .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .premium-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .hospital-header { padding: 14px 16px; }
  .hospital-brand { font-size: 18px; }
  .hospital-cta { min-height: 46px; padding: 10px 14px; }
  .hospital-hero {
    display: block;
    padding: 38px 18px 46px;
  }
  .hero-content {
    width: min(100%, calc(100vw - 36px));
    min-width: 0;
  }
  .hero-content h1 {
    width: min(100%, calc(100vw - 36px));
    max-width: 330px;
    font-size: 27px;
    line-height: 1.08;
    overflow-wrap: break-word;
  }
  .hero-content p:not(.section-kicker) {
    width: min(100%, calc(100vw - 36px));
    max-width: 330px;
  }
  .hero-content p:not(.section-kicker),
  .section-heading p,
  .section-copy p,
  .appointment-copy p {
    font-size: 17px;
  }
  .hospital-section { padding: 48px 18px; }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(100%, calc(100vw - 36px));
    max-width: 330px;
  }
  .hero-mini-trust {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, calc(100vw - 36px));
    max-width: 330px;
  }
  .hero-mini-trust span {
    max-width: 100%;
  }
  .hero-photo-wrap {
    width: min(100%, calc(100vw - 36px));
    max-width: calc(100vw - 36px);
    margin-top: 34px;
  }
  .hero-photo {
    width: 100%;
    max-width: calc(100vw - 36px);
    min-height: 270px;
    border-radius: 20px;
  }
  .hero-appointment-card {
    position: static;
    width: min(100%, calc(100vw - 36px));
    max-width: calc(100vw - 36px);
    margin-top: 12px;
    color: #fff;
    overflow-wrap: break-word;
  }
  .hero-appointment-card span {
    white-space: normal;
  }
  .trust-band, .service-grid, .doctor-grid, .testimonial-grid, .blog-grid-premium, .why-grid, .premium-gallery { grid-template-columns: 1fr; }
  .premium-gallery figure:first-child { grid-row: auto; }
  .hospital-footer { grid-template-columns: 1fr; }
  .mobile-sticky-appointment {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 14px;
    color: #fff;
    background: var(--teal);
    box-shadow: 0 18px 48px rgba(16,32,51,.22);
    font-weight: 950;
    text-decoration: none;
  }
}

/* Single-page visual website editor */
.visual-editor-shell .admin-panel {
  padding-bottom: 120px;
}

.website-editor-panel[data-preview-size="tablet"] {
  max-width: 980px;
  margin: 0 auto;
}

.website-editor-panel[data-preview-size="mobile"] {
  max-width: 560px;
  margin: 0 auto;
}

.editor-topbar {
  gap: 16px;
}

.preview-mode-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid #dbe7f3;
  border-radius: 14px;
  background: #f8fbff;
}

.preview-mode-tabs button {
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  color: #52657a;
  background: transparent;
  font-weight: 850;
  cursor: pointer;
}

.preview-mode-tabs button.active {
  color: #fff;
  background: #2f6fed;
}

.editor-sticky-actions {
  position: sticky;
  top: 68px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -6px 0 22px;
  padding: 14px 18px;
  border: 1px solid #dbe7f3;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 45px rgba(31,54,86,.08);
  backdrop-filter: blur(16px);
}

.editor-sticky-actions strong,
.editor-sticky-actions span {
  display: block;
}

.editor-sticky-actions span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.editor-sticky-actions span.dirty {
  color: #b45309;
}

.editor-sticky-actions > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.editor-intro h1 {
  font-size: clamp(34px, 4vw, 52px);
}

.editor-section-card {
  margin-bottom: 18px;
  border: 1px solid #dbe7f3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(31,54,86,.06);
  overflow: hidden;
}

.editor-section-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}

.editor-section-card summary::-webkit-details-marker {
  display: none;
}

.editor-section-card summary strong,
.editor-section-card summary small {
  display: block;
}

.editor-section-card summary strong {
  color: #172033;
  font-size: 22px;
}

.editor-section-card summary small {
  margin-top: 4px;
  color: #64748b;
  font-weight: 700;
}

.editor-visible-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #243145;
  font-weight: 900;
}

.editor-card-body {
  display: grid;
  gap: 16px;
  padding: 0 22px 22px;
}

.visual-field {
  display: grid;
  gap: 7px;
  color: #172033;
  font-weight: 500;
  line-height: 1.35;
}

.visual-field > span,
.form-grid label > span,
.settings-form label > span,
.editor-card label > span,
.tenant-form-grid label > span,
.tenant-filter-bar label > span {
  font-weight: 500;
  line-height: 1.35;
}

.visual-field input,
.visual-field textarea,
.visual-field select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #dbe7f3;
  border-radius: 12px;
  color: #172033;
  background: #fbfdff;
  font: inherit;
  font-weight: 400;
}

.visual-field small,
.form-grid small,
.editor-card small,
.settings-form small,
.tenant-form-grid small,
.tenant-filter-bar small,
.form-help {
  color: var(--admin-muted, #64748b);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.visual-field textarea {
  resize: vertical;
}

.rich-input {
  min-height: 132px;
  line-height: 1.55;
}

.image-dropzone {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 2px dashed #bfd3e7;
  border-radius: 16px;
  background: #f8fbff;
  cursor: pointer;
}

.image-dropzone.drag-over {
  border-color: #2f6fed;
  background: #edf5ff;
}

.image-dropzone img {
  width: 180px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  background: #e7eef6;
}

.image-dropzone strong,
.image-dropzone span,
.image-dropzone p {
  display: block;
}

.image-dropzone span,
.image-dropzone p {
  color: #64748b;
  font-weight: 750;
}

.image-dropzone button,
.repeat-head button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #dbe7f3;
  border-radius: 10px;
  color: #243145;
  background: #fff;
  font-weight: 850;
  cursor: pointer;
}

.visual-repeater {
  display: grid;
  gap: 14px;
}

.visual-repeater > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.visual-repeater > header div,
.visual-repeater > header strong,
.visual-repeater > header span {
  display: block;
}

.visual-repeater > header span {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.repeat-search {
  width: min(220px, 100%);
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #dbe7f3;
  border-radius: 12px;
  background: #fff;
  font-weight: 800;
}

.visual-repeat-card {
  padding: 16px;
  border: 1px solid #dbe7f3;
  border-radius: 16px;
  background: #fbfdff;
}

.compact-repeat-list {
  display: grid;
  gap: 10px;
}

.compact-repeat-card {
  display: grid;
  grid-template-columns: auto 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #dbe7f3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(31,54,86,.05);
}

.compact-repeat-card.is-hidden-item {
  opacity: .72;
  background: #f8fafc;
}

.compact-repeat-card img,
.repeat-thumb-placeholder {
  width: 64px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #eaf3fb;
}

.repeat-thumb-placeholder {
  display: grid;
  place-items: center;
  color: #0f766e;
  font-weight: 950;
}

.repeat-summary {
  min-width: 0;
}

.repeat-summary strong,
.repeat-summary small {
  display: block;
}

.repeat-summary strong {
  color: #172033;
  font-size: 15px;
}

.repeat-summary small {
  max-width: 48ch;
  overflow: hidden;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-repeat-card em {
  padding: 6px 9px;
  border-radius: 999px;
  color: #047857;
  background: #e6f7f1;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.compact-repeat-card.is-hidden-item em {
  color: #475569;
  background: #e2e8f0;
}

.repeat-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.repeat-actions button,
.item-editor-drawer button[data-close] {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #dbe7f3;
  border-radius: 10px;
  color: #243145;
  background: #fff;
  font-weight: 850;
  cursor: pointer;
}

.repeat-actions button[data-remove] {
  color: #9f1239;
  border-color: #fecdd3;
  background: #fff5f6;
}

.nested-image-list {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dbe7f3;
  border-radius: 18px;
  background: #fbfdff;
}

.nested-image-list > header strong,
.nested-image-list > header span {
  display: block;
}

.nested-image-list > header span {
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

.nested-images {
  display: grid;
  gap: 12px;
}

.nested-image-card {
  display: grid;
  grid-template-columns: auto minmax(130px, 170px) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid #dbe7f3;
  border-radius: 16px;
  background: #fff;
}

.nested-image-card .friendly-image-control {
  min-height: 120px;
  padding: 8px;
}

.nested-image-card .image-dropzone img {
  width: 100%;
  max-height: 96px;
  object-fit: cover;
}

.nested-image-card input {
  width: 100%;
}

.nested-image-card .repeat-actions {
  grid-column: 2 / -1;
}

.empty-repeat-list {
  margin: 0;
  padding: 14px;
  border: 1px dashed #bfd3e7;
  border-radius: 14px;
  color: #64748b;
  background: #fbfdff;
  font-weight: 800;
}

.item-editor-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  justify-content: flex-end;
  background: rgba(15, 23, 42, .38);
}

.drawer-panel {
  width: min(560px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #f7fbff;
  box-shadow: -24px 0 60px rgba(15,23,42,.18);
}

.drawer-panel > header,
.drawer-panel > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid #dbe7f3;
  background: #fff;
}

.drawer-panel > footer {
  border-top: 1px solid #dbe7f3;
  border-bottom: 0;
}

.drawer-panel h3 {
  margin: 2px 0 0;
  color: #172033;
  font-size: 24px;
}

.drawer-panel header span {
  color: #64748b;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.drawer-fields {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  overflow: auto;
}

.repeat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.repeat-head div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

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

.repeat-fields .image-dropzone,
.repeat-fields .visual-field:has(textarea) {
  grid-column: 1 / -1;
}

.add-repeat {
  justify-self: start;
}

@media (max-width: 860px) {
  .editor-sticky-actions,
  .editor-section-card summary,
  .image-dropzone {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .repeat-fields {
    grid-template-columns: 1fr;
  }

  .image-dropzone img {
    width: 100%;
  }

  .visual-repeater > header,
  .compact-repeat-card {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .repeat-actions {
    justify-content: stretch;
  }

  .repeat-actions button {
    flex: 1;
  }
}

/* Generated public-site layout polish */
.hospital-site {
  --section-max: 1480px;
  --card-radius: 18px;
  --premium-shadow: 0 18px 48px rgba(16,32,51,.075);
  --site-section-y: clamp(58px, 7.2vw, 100px);
  --site-card-gap: clamp(18px, 2vw, 24px);
  --site-card-padding: clamp(20px, 2vw, 26px);
  --site-card-shadow: 0 18px 46px rgba(16,32,51,.075);
  --site-card-shadow-hover: 0 26px 70px rgba(16,32,51,.13);
  --site-image-bg: #e8f3f3;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hospital-header {
  grid-template-columns: minmax(260px, auto) 1fr auto auto auto;
  gap: clamp(16px, 2vw, 28px);
  min-height: 86px;
}

.hospital-brand {
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 74px;
  height: 48px;
  object-fit: contain;
}

.brand-mark-fallback {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--fallback-secondary, var(--teal)) 28%, white);
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 72% 24%, rgba(255,255,255,.24) 0 13%, transparent 14%),
    linear-gradient(135deg, var(--fallback-primary, var(--brand)), var(--fallback-secondary, var(--teal)));
  box-shadow: 0 10px 26px rgba(17, 37, 55, .12);
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .04em;
  line-height: 1;
}

.brand-name {
  color: var(--navy);
  font-weight: 950;
  line-height: 1.05;
}

.header-accreditation {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 6px 12px;
  border: 1px solid var(--hospital-line);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
}

.header-accreditation img {
  width: 58px;
  height: 50px;
  object-fit: contain;
}

.header-accreditation .accreditation-copy {
  display: grid;
  gap: 1px;
  max-width: 140px;
  color: #52657a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.08;
  text-align: left;
}

.header-accreditation .accreditation-copy span {
  display: block;
  white-space: nowrap;
}

.mobile-nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--hospital-line);
  border-radius: 12px;
  background: #fff;
}

.mobile-nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--navy);
}

.hospital-nav a {
  position: relative;
  padding: 8px 0;
}

.hospital-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.hospital-nav a:hover::after,
.hospital-nav a:focus-visible::after,
.hospital-nav a.active::after {
  transform: scaleX(1);
}

.hospital-nav a.active {
  color: var(--teal);
}

.hospital-hero,
.split-section,
.hospital-section > .section-heading,
.service-grid,
.why-grid,
.doctor-grid,
.tech-section,
.testimonial-grid,
.premium-gallery,
.blog-grid-premium,
.appointment-section > *,
.hospital-footer {
  max-width: var(--section-max);
  margin-left: auto;
  margin-right: auto;
}

.hospital-hero {
  min-height: 660px;
  padding-top: clamp(42px, 5vw, 72px);
  padding-bottom: clamp(48px, 5vw, 70px);
}

.hero-content h1 {
  max-width: 680px;
  font-size: clamp(42px, 5vw, 72px);
}

.hero-photo {
  min-height: 430px;
  max-height: 610px;
  border-radius: 24px;
}

.hospital-section {
  padding-top: clamp(46px, 5.6vw, 76px);
  padding-bottom: clamp(46px, 5.6vw, 76px);
}

.section-heading {
  margin-bottom: 28px;
}

.section-copy h2,
.section-heading h2,
.appointment-copy h2 {
  font-size: clamp(32px, 3.6vw, 56px);
}

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

.service-card,
.why-grid article,
.doctor-card-premium,
.testimonial-grid figure,
.premium-gallery figure,
.blog-grid-premium article,
.contact-card {
  border-radius: var(--card-radius);
  box-shadow: var(--premium-shadow);
}

.service-card img {
  aspect-ratio: 16 / 8;
  max-height: 210px;
}

.service-card div,
.doctor-card-premium div,
.blog-grid-premium div,
.premium-gallery figcaption {
  padding: 20px;
}

.service-card a {
  align-items: center;
  gap: 6px;
}

.service-card a::after {
  content: "";
}

.why-grid article {
  display: grid;
  gap: 10px;
}

.why-icon,
.tech-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: var(--teal);
  background: #e8f6f4;
}

.why-icon::before,
.tech-icon::before {
  font-size: 22px;
  line-height: 1;
}

.why-icon.doctor::before { content: "+"; font-weight: 950; }
.why-icon.diagnostic::before { content: "◉"; }
.why-icon.heart::before { content: "♡"; font-weight: 950; }
.why-icon.plan::before { content: "✓"; font-weight: 950; }
.tech-icon.scope::before { content: "◌"; font-weight: 950; }
.tech-icon.retina::before { content: "◉"; }
.tech-icon.vision::before { content: "⌁"; font-weight: 950; }

.demo-badge,
.doctor-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--teal);
  background: #e8f6f4;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.doctor-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  margin: 12px 0;
  color: #52657a;
  font-size: 14px;
}

.doctor-meta dt {
  font-weight: 900;
}

.doctor-meta dd {
  margin: 0;
}

.doctor-expertise {
  color: #52657a;
  font-size: 14px;
}

.doctor-expertise span {
  color: #1b2a41;
  font-weight: 900;
}

.doctor-action {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.tech-list article {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.tech-list article > span:not(.tech-icon) {
  grid-column: 2;
}

.section-note {
  max-width: 760px;
  padding: 10px 12px;
  border: 1px solid #d8ece9;
  border-radius: 12px;
  color: #52657a !important;
  background: #f6fbfa;
  font-size: 14px !important;
  font-weight: 800;
}

.testimonial-grid blockquote::before {
  content: "“";
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 0;
  vertical-align: -18px;
}

.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.premium-gallery figcaption {
  display: grid;
  gap: 5px;
}

.premium-gallery span,
.premium-gallery strong {
  display: block;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  background: rgba(10, 24, 40, .86);
  backdrop-filter: blur(8px);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox__dialog {
  position: relative;
  display: grid;
  width: min(1120px, 100%);
  justify-items: center;
  outline: none;
}

.gallery-lightbox figure {
  width: min(1040px, 100%);
  margin: 0;
}

.gallery-lightbox img {
  display: block;
  width: 100%;
  max-height: min(74vh, 760px);
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 26px 90px rgba(0,0,0,.36);
}

.gallery-lightbox figcaption {
  display: grid;
  gap: 6px;
  justify-items: center;
  margin: 16px auto 0;
  color: #fff;
  text-align: center;
}

.gallery-lightbox__category {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gallery-lightbox figcaption strong {
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
}

.gallery-lightbox__counter {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: -6px;
  right: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.12);
  font-size: 28px;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  font-size: 36px;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: -74px;
}

.lightbox-next {
  right: -74px;
}

.lightbox-close:hover {
  border-color: rgba(255,255,255,.48);
  background: rgba(255,255,255,.22);
}

.lightbox-close:focus-visible {
  outline: 3px solid rgba(255,255,255,.72);
  outline-offset: 3px;
}

.premium-faq summary {
  position: relative;
  padding-right: 54px;
  list-style: none;
}

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

.premium-faq summary::after {
  content: "⌄";
  position: absolute;
  right: 20px;
  top: 18px;
  color: var(--teal);
  font-size: 24px;
  transition: transform .18s ease;
}

.premium-faq details[open] summary::after {
  transform: rotate(180deg);
}

.map-preview {
  position: relative;
  min-height: 112px;
  margin-top: 20px;
  padding: 18px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(15,118,110,.12) 1px, transparent 1px),
    linear-gradient(rgba(15,118,110,.12) 1px, transparent 1px),
    #eef8f7;
  background-size: 28px 28px;
}

.map-preview span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  border: 6px solid var(--brand);
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.map-preview strong,
.map-preview small {
  position: relative;
  display: block;
}

.map-preview small {
  color: #52657a;
  font-weight: 800;
}

.footer-brand .brand-mark {
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.28));
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(217,151,53,.75);
  outline-offset: 4px;
}

@media (max-width: 1320px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1220px) {
  .hospital-header {
    gap: clamp(12px, 1.4vw, 18px);
  }

  .header-accreditation {
    gap: 9px;
    padding-inline: 10px;
  }

  .header-accreditation .accreditation-copy {
    max-width: 92px;
    line-height: 1.05;
  }

  .header-accreditation .accreditation-copy span {
    white-space: normal;
  }
}

@media (max-width: 1120px) {
  .hospital-header {
    grid-template-columns: 1fr auto auto;
  }

  .mobile-nav-toggle {
    display: grid;
    grid-column: 2;
    grid-row: 1;
  }

  .hospital-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--hospital-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(16,32,51,.12);
  }

  .hospital-header.nav-open .hospital-nav {
    display: flex;
  }

  .header-accreditation {
    grid-column: 3;
    grid-row: 1;
  }

  .hospital-cta {
    display: none;
  }
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hospital-header {
    grid-template-columns: 1fr auto;
    min-height: 74px;
  }

  .brand-mark {
    width: 58px;
    height: 38px;
  }

  .brand-name {
    font-size: 17px;
  }

  .header-accreditation {
    display: none;
  }

  .hospital-hero {
    padding-top: 30px;
  }

  .hero-content h1 {
    max-width: 360px;
    font-size: 38px;
  }

  .hero-photo {
    min-height: 250px;
  }

  .trust-band {
    margin-top: 0;
  }

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

  .service-card img {
    max-height: 190px;
  }

  .section-copy h2,
  .section-heading h2,
  .appointment-copy h2 {
    font-size: 31px;
    max-width: 100%;
  }

  .gallery-lightbox {
    padding: 18px;
  }
}

/* Final public-site polish: keep generated symbols ASCII-safe and consistent. */
.why-icon::before,
.tech-icon::before {
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
}

.why-icon.doctor::before { content: "DR"; }
.why-icon.diagnostic::before { content: "DX"; }
.why-icon.heart::before { content: "PT"; }
.why-icon.plan::before { content: "OK"; }
.tech-icon.scope::before { content: "SL"; }
.tech-icon.retina::before { content: "RI"; }
.tech-icon.vision::before { content: "VT"; }

.testimonial-grid blockquote::before {
  content: open-quote;
}

.premium-faq summary::after {
  content: "";
  right: 23px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: translateY(-60%) rotate(45deg);
}

.premium-faq details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

/* Platform-level public card polish. */
.hospital-section {
  padding-top: var(--site-section-y);
  padding-bottom: var(--site-section-y);
}

.section-heading {
  margin-bottom: clamp(30px, 3.4vw, 44px);
}

.service-grid,
.doctor-grid,
.testimonial-grid,
.blog-grid-premium,
.equipment-grid,
.premium-gallery,
.why-grid {
  gap: var(--site-card-gap);
}

.service-card,
.doctor-card-premium,
.equipment-card,
.testimonial-grid figure,
.premium-gallery figure,
.blog-grid-premium article,
.why-grid article {
  position: relative;
  height: 100%;
  border-radius: var(--card-radius);
  box-shadow: var(--site-card-shadow);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.service-card,
.doctor-card-premium,
.equipment-card,
.premium-gallery figure,
.blog-grid-premium article {
  display: flex;
  flex-direction: column;
}

.service-card img,
.doctor-card-premium img,
.equipment-card > img,
.premium-gallery img,
.blog-grid-premium img,
.section-image img,
.hero-photo {
  background:
    linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.58), rgba(255,255,255,0)),
    var(--site-image-bg);
  background-size: 220% 100%, 100% 100%;
  object-fit: cover;
}

.hospital-site img,
.blog-public-page img,
.article-public-page img {
  color: transparent;
}

.hospital-site img[loading="lazy"],
.blog-public-page img[loading="lazy"],
.article-public-page img[loading="lazy"] {
  animation: public-image-skeleton 1.15s ease-in-out infinite;
}

.hospital-site img[src],
.blog-public-page img[src],
.article-public-page img[src] {
  border: 0;
}

@keyframes public-image-skeleton {
  0% { background-position: 140% 0, 0 0; }
  100% { background-position: -140% 0, 0 0; }
}

.service-card img,
.doctor-card-premium img,
.equipment-card > img,
.premium-gallery img,
.blog-grid-premium img {
  transition: transform .18s ease;
}

.service-card:hover,
.service-card:focus-within,
.why-grid article:hover,
.why-grid article:focus-within,
.doctor-card-premium:hover,
.doctor-card-premium:focus-within,
.equipment-card:hover,
.equipment-card:focus-within,
.testimonial-grid figure:hover,
.testimonial-grid figure:focus-within,
.premium-gallery figure:hover,
.premium-gallery figure:focus-within,
.blog-grid-premium article:hover,
.blog-grid-premium article:focus-within {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, .34);
  box-shadow: var(--site-card-shadow-hover);
}

.service-card:hover img,
.service-card:focus-within img,
.doctor-card-premium:hover img,
.doctor-card-premium:focus-within img,
.equipment-card:hover > img,
.equipment-card:focus-within > img,
.premium-gallery figure:hover img,
.premium-gallery figure:focus-within img,
.blog-grid-premium article:hover img,
.blog-grid-premium article:focus-within img {
  transform: scale(1.025);
}

.service-card div,
.doctor-card-premium div,
.equipment-card > div,
.blog-grid-premium div,
.premium-gallery figcaption {
  padding: var(--site-card-padding);
}

.service-card div,
.doctor-card-premium div,
.equipment-card > div,
.blog-grid-premium div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.service-card img {
  aspect-ratio: 16 / 10;
  min-height: 176px;
}

.service-card h3,
.doctor-card-premium h3,
.equipment-card h3,
.blog-grid-premium h3,
.premium-gallery strong {
  line-height: 1.18;
}

.service-card p,
.doctor-card-premium p,
.equipment-card p,
.blog-grid-premium p {
  line-height: 1.62;
}

.service-card a,
.doctor-action,
.blog-grid-premium .section-link {
  margin-top: auto;
  padding-top: 16px;
}

.doctor-card-premium img {
  aspect-ratio: 4 / 5.2;
  min-height: 330px;
}

.doctor-card-premium h3 {
  margin-bottom: 6px;
  font-size: clamp(23px, 2vw, 29px);
}

.doctor-card-premium .doctor-designation {
  margin-bottom: 8px;
  color: var(--brand);
  line-height: 1.3;
}

.doctor-meta {
  width: 100%;
  gap: 5px 12px;
  margin: 14px 0 12px;
}

.doctor-action {
  display: inline-flex;
}

.equipment-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,.52), rgba(255,255,255,0) 36%),
    var(--hospital-surface);
}

.equipment-card {
  border-top: 4px solid rgba(15,118,110,.32);
}

.equipment-card > img {
  aspect-ratio: 16 / 10.5;
  min-height: 210px;
}

.equipment-card h3 {
  font-size: clamp(21px, 1.9vw, 27px);
}

.equipment-card .tech-icon {
  margin-bottom: 2px;
}

.testimonial-grid figure {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 32px);
}

.testimonial-grid blockquote {
  position: relative;
  flex: 1;
  padding-top: 22px;
  color: #243145;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.62;
}

.testimonial-grid blockquote::before {
  position: absolute;
  left: 0;
  top: -7px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 58px;
  line-height: 1;
  opacity: .75;
}

.testimonial-grid figcaption {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(219,231,232,.8);
}

.testimonial-grid figcaption strong {
  color: var(--navy);
  font-size: 16px;
}

.testimonial-grid figcaption span {
  color: var(--brand);
  font-size: 13px;
}

.blog-grid-premium img {
  aspect-ratio: 16 / 10;
  min-height: 210px;
}

.blog-grid-premium h3 {
  font-size: clamp(22px, 1.9vw, 27px);
}

.blog-grid-premium h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-grid-premium h3 a:hover,
.blog-grid-premium h3 a:focus-visible {
  color: var(--teal);
}

.blog-grid-premium small {
  margin-bottom: 12px;
  color: #6a7a8d;
  font-weight: 800;
  line-height: 1.45;
}

.premium-gallery figure {
  min-height: 100%;
}

.premium-gallery img {
  aspect-ratio: 4 / 3.15;
}

.premium-gallery figure:first-child img {
  aspect-ratio: 4 / 4.5;
}

.premium-gallery figcaption {
  min-height: 88px;
}

.gallery-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .doctor-card-premium,
  .equipment-card,
  .testimonial-grid figure,
  .premium-gallery figure,
  .blog-grid-premium article,
  .why-grid article,
  .service-card img,
  .doctor-card-premium img,
  .equipment-card > img,
  .premium-gallery img,
  .blog-grid-premium img,
  .hospital-site img[loading="lazy"],
  .blog-public-page img[loading="lazy"],
  .article-public-page img[loading="lazy"] {
    transition: none;
    animation: none;
  }

  .service-card:hover,
  .service-card:focus-within,
  .why-grid article:hover,
  .why-grid article:focus-within,
  .doctor-card-premium:hover,
  .doctor-card-premium:focus-within,
  .equipment-card:hover,
  .equipment-card:focus-within,
  .testimonial-grid figure:hover,
  .testimonial-grid figure:focus-within,
  .premium-gallery figure:hover,
  .premium-gallery figure:focus-within,
  .blog-grid-premium article:hover,
  .blog-grid-premium article:focus-within,
  .service-card:hover img,
  .service-card:focus-within img,
  .doctor-card-premium:hover img,
  .doctor-card-premium:focus-within img,
  .equipment-card:hover > img,
  .equipment-card:focus-within > img,
  .premium-gallery figure:hover img,
  .premium-gallery figure:focus-within img,
  .blog-grid-premium article:hover img,
  .blog-grid-premium article:focus-within img {
    transform: none;
  }
}

@media (max-width: 900px) {
  .service-card img,
  .equipment-card > img,
  .blog-grid-premium img {
    min-height: 190px;
  }

  .doctor-card-premium img {
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  .hospital-site {
    --site-section-y: 54px;
    --site-card-padding: 20px;
  }

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

  .service-card img,
  .equipment-card > img,
  .blog-grid-premium img {
    min-height: 184px;
  }

  .doctor-card-premium img {
    min-height: 340px;
  }

  .testimonial-grid figure {
    min-height: 0;
  }
}

/* Shared public website rhythm and footer polish. */
.hospital-site {
  --site-section-y: clamp(40px, 4.8vw, 68px);
  --site-section-y-tight: clamp(34px, 4vw, 56px);
  --site-container-x: clamp(20px, 5vw, 72px);
  --site-heading-gap: clamp(22px, 2.8vw, 34px);
  --site-card-gap: clamp(16px, 1.8vw, 22px);
  --site-card-padding: clamp(18px, 1.8vw, 24px);
  --footer-bg: #102033;
  --footer-bg-deep: #0b1726;
}

.hospital-section {
  padding-top: var(--site-section-y);
  padding-bottom: var(--site-section-y);
}

.hospital-section.surface-section {
  padding-top: var(--site-section-y-tight);
  padding-bottom: var(--site-section-y-tight);
}

.section-heading {
  margin-bottom: var(--site-heading-gap);
}

.section-heading p {
  margin-top: 8px;
}

.hospital-hero {
  min-height: clamp(540px, 61vw, 620px);
  padding-top: clamp(34px, 4.2vw, 58px);
  padding-bottom: clamp(36px, 4.5vw, 60px);
}

.split-section {
  gap: clamp(28px, 4vw, 56px);
}

.service-grid,
.doctor-grid,
.testimonial-grid,
.blog-grid-premium,
.equipment-grid,
.premium-gallery,
.why-grid {
  gap: var(--site-card-gap);
}

.service-card div,
.doctor-card-premium div,
.equipment-card > div,
.blog-grid-premium div,
.premium-gallery figcaption {
  padding: var(--site-card-padding);
}

.appointment-section {
  grid-template-columns: minmax(0, .95fr) minmax(340px, 500px);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 0;
  padding: clamp(46px, 5vw, 72px) var(--site-container-x) clamp(44px, 4.8vw, 68px);
  background:
    radial-gradient(circle at 14% 8%, rgba(217,151,53,.24), transparent 28%),
    linear-gradient(145deg, var(--brand), #321426 58%, var(--footer-bg));
}

.appointment-section > * {
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

.appointment-copy {
  max-width: 620px;
}

.contact-actions {
  margin-top: clamp(20px, 2.4vw, 30px);
}

.contact-card {
  padding: clamp(24px, 2.5vw, 32px);
}

.contact-card dl {
  gap: 10px;
}

.office-map-embed {
  min-height: 0;
  height: clamp(190px, 17vw, 235px);
}

.map-preview {
  min-height: 128px;
}

.hospital-footer {
  max-width: none;
  margin: 0;
  padding: 0;
  color: #dfe9ee;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 120px),
    linear-gradient(180deg, var(--footer-bg), var(--footer-bg-deep));
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) minmax(140px, .7fr) minmax(160px, .8fr) minmax(220px, 1fr);
  gap: clamp(26px, 4vw, 58px);
  max-width: var(--section-max);
  margin: 0 auto;
  padding: clamp(42px, 5vw, 70px) var(--site-container-x) clamp(30px, 3.6vw, 46px);
}

.footer-about,
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-about {
  gap: 18px;
}

.footer-about p {
  max-width: 520px;
  margin: 0;
  color: #bdd0dc;
  line-height: 1.7;
}

.footer-brand .brand-name,
.footer-brand {
  color: #fff;
}

.footer-links,
.footer-contact {
  gap: 11px;
}

.footer-links h2,
.footer-contact h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-links a,
.footer-contact a,
.footer-contact address {
  color: #c9d7e2;
  font-size: 15px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.55;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.08);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: rgba(255,255,255,.36);
  background: rgba(255,255,255,.14);
}

.footer-bottom {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  max-width: var(--section-max);
  margin: 0 auto;
  padding: 18px var(--site-container-x) 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #92a6b5;
  font-size: 13px;
  font-weight: 700;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a {
  color: #b9c8d4;
  text-decoration: none;
}

@media (max-width: 1120px) {
  .appointment-section {
    grid-template-columns: 1fr;
  }

  .appointment-copy {
    max-width: 760px;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, .8fr);
  }
}

@media (max-width: 680px) {
  .hospital-site {
    --site-section-y: 42px;
    --site-section-y-tight: 36px;
    --site-card-padding: 18px;
  }

  .hospital-hero {
    padding-top: 30px;
    padding-bottom: 36px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .appointment-section {
    padding: 42px 18px 44px;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .office-map-embed {
    height: 190px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 38px 18px 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 18px 88px;
  }
}

/* Final shared public website refinement. */
.hospital-site {
  --site-gap-sm: clamp(12px, 1.2vw, 16px);
  --site-gap-md: clamp(20px, 2vw, 24px);
  --site-gap-lg: clamp(32px, 3.4vw, 40px);
  --site-section-y: clamp(38px, 4.4vw, 64px);
  --site-section-y-tight: clamp(34px, 3.7vw, 54px);
  --site-card-gap: clamp(16px, 1.8vw, 22px);
  --site-card-padding: clamp(20px, 1.9vw, 25px);
  --site-ease: 180ms ease;
}

.hospital-hero {
  min-height: clamp(500px, 56vw, 575px);
  padding-top: clamp(30px, 3.7vw, 50px);
  padding-bottom: clamp(32px, 3.8vw, 52px);
}

.hero-photo {
  min-height: clamp(340px, 33vw, 390px);
  max-height: 540px;
}

.hero-content h1 {
  line-height: .98;
}

.hero-actions,
.contact-actions {
  gap: var(--site-gap-sm);
}

.hospital-section {
  padding-top: var(--site-section-y);
  padding-bottom: var(--site-section-y);
}

.hospital-section.surface-section {
  padding-top: var(--site-section-y-tight);
  padding-bottom: var(--site-section-y-tight);
}

.section-heading {
  margin-bottom: var(--site-gap-lg);
}

.equipment-heading {
  margin-bottom: calc(var(--site-gap-lg) + 10px);
}

.service-card,
.doctor-card-premium,
.equipment-card,
.testimonial-grid figure,
.premium-gallery figure,
.blog-grid-premium article,
.why-grid article {
  min-width: 0;
}

.service-card img,
.equipment-card > img,
.blog-grid-premium img,
.premium-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.service-card img {
  aspect-ratio: 16 / 9.5;
  min-height: 170px;
  max-height: 205px;
}

.service-card div {
  gap: 8px;
}

.service-card h3,
.equipment-card h3,
.blog-grid-premium h3 {
  min-height: 2.36em;
}

.service-card p,
.doctor-card-premium p,
.equipment-card p,
.blog-grid-premium p {
  line-height: 1.58;
}

.service-card a,
.doctor-action,
.blog-grid-premium .section-link,
.secondary-link,
.map-link {
  transition: color var(--site-ease), transform var(--site-ease), text-decoration-color var(--site-ease);
}

.service-card a:hover,
.service-card a:focus-visible,
.doctor-action:hover,
.doctor-action:focus-visible,
.blog-grid-premium .section-link:hover,
.blog-grid-premium .section-link:focus-visible,
.secondary-link:hover,
.secondary-link:focus-visible,
.map-link:hover,
.map-link:focus-visible {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.doctor-card-premium img {
  aspect-ratio: 4 / 4.75;
  min-height: clamp(280px, 28vw, 315px);
}

.doctor-card-premium div {
  gap: 8px;
}

.doctor-card-premium h3 {
  margin-bottom: 2px;
}

.doctor-card-premium .doctor-designation {
  margin-bottom: 4px;
}

.doctor-meta {
  margin: 10px 0;
}

.equipment-grid {
  align-items: stretch;
}

.equipment-card > img {
  aspect-ratio: 16 / 10;
  min-height: 190px;
}

.equipment-card > div {
  gap: 11px;
}

.testimonial-grid figure {
  min-height: 210px;
  padding: clamp(24px, 2.4vw, 34px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)),
    radial-gradient(circle at 16px 18px, rgba(217,151,53,.18), transparent 130px);
}

.testimonial-grid blockquote {
  padding-top: 26px;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.62;
}

.testimonial-grid blockquote::before {
  left: 0;
  top: -2px;
  color: var(--gold);
  font-size: 52px;
  opacity: .55;
}

.testimonial-grid figcaption {
  margin-top: var(--site-gap-md);
}

.testimonial-grid figcaption strong {
  font-size: 16px;
}

.testimonial-grid figcaption span:empty {
  display: none;
}

.premium-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.premium-gallery figure,
.premium-gallery figure:first-child {
  grid-row: auto;
}

.premium-gallery img,
.premium-gallery figure:first-child img {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.premium-gallery figcaption {
  min-height: 82px;
}

.gallery-open {
  overflow: hidden;
}

.premium-faq {
  display: grid;
  gap: 12px;
}

.premium-faq details {
  overflow: hidden;
  border: 1px solid var(--hospital-line);
  background: rgba(255,255,255,.88);
  box-shadow: 0 12px 30px rgba(16,32,51,.045);
  transition: border-color var(--site-ease), box-shadow var(--site-ease), background var(--site-ease);
}

.premium-faq details:hover,
.premium-faq details:focus-within,
.premium-faq details[open] {
  border-color: rgba(15,118,110,.28);
  background: #fff;
  box-shadow: 0 18px 44px rgba(16,32,51,.07);
}

.premium-faq summary {
  padding: 18px 58px 18px 22px;
  cursor: pointer;
}

.premium-faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: #52657a;
  line-height: 1.65;
}

.premium-faq summary::after {
  transition: transform var(--site-ease), border-color var(--site-ease);
}

.blog-grid-premium img {
  aspect-ratio: 16 / 9.5;
  min-height: 190px;
}

.blog-grid-premium div {
  gap: 8px;
}

.blog-grid-premium h3 {
  min-height: 2.36em;
}

.blog-grid-premium p {
  line-height: 1.6;
}

.appointment-section {
  grid-template-columns: minmax(0, .9fr) minmax(380px, 540px);
  gap: clamp(38px, 5vw, 72px);
  padding-top: clamp(54px, 5.2vw, 80px);
  padding-bottom: clamp(48px, 4.6vw, 72px);
}

.appointment-copy h2 {
  max-width: 620px;
}

.contact-card {
  display: grid;
  gap: var(--site-gap-md);
}

.contact-card h3 {
  margin-bottom: 0;
}

.contact-card dl {
  gap: 11px 18px;
}

.contact-card dd,
.contact-card dt {
  overflow-wrap: anywhere;
}

.map-link {
  margin-top: 0;
}

.office-map-embed {
  height: clamp(220px, 20vw, 280px);
  margin-top: 0;
}

.location-tablist {
  display: flex;
  gap: 8px;
  max-width: 100%;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--hospital-line);
  border-radius: 16px;
  background: #f5fbfb;
  scrollbar-width: none;
}

.location-tablist::-webkit-scrollbar {
  display: none;
}

.location-tab {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #52657a;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--site-ease), background-color var(--site-ease), border-color var(--site-ease), box-shadow var(--site-ease);
}

.location-tab:hover,
.location-tab:focus-visible {
  color: var(--teal);
  background: #fff;
}

.location-tab:focus-visible {
  outline: 3px solid rgba(59, 130, 246, .25);
  outline-offset: 2px;
}

.location-tab.active {
  color: var(--teal);
  border-color: rgba(15,118,110,.2);
  background: #fff;
  box-shadow: 0 10px 24px rgba(16,32,51,.08);
}

.location-panels {
  min-width: 0;
}

.location-panel {
  display: grid;
  gap: var(--site-gap-md);
}

.location-panel[hidden] {
  display: none;
}

.location-panel h4 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.2;
}

.office-map-shell {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #eef8f7;
}

.office-map-shell .office-map-embed {
  display: block;
}

.map-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: rgba(238,248,247,.86);
  font-weight: 900;
}

.map-loading[hidden] {
  display: none;
}

.map-unavailable {
  margin: 0;
  padding: 16px;
  border: 1px dashed #bcd4d2;
  border-radius: 14px;
  color: #52657a;
  background: #f6fbfa;
  font-weight: 800;
  line-height: 1.5;
}

.hospital-footer {
  border-top: 1px solid rgba(255,255,255,.11);
}

.footer-main {
  align-items: start;
  column-gap: clamp(44px, 7vw, 112px);
  row-gap: 34px;
  padding-top: clamp(56px, 5.4vw, 86px);
  padding-bottom: clamp(32px, 3.4vw, 48px);
}

.footer-brand {
  align-items: center;
}

.footer-about {
  gap: var(--site-gap-md);
}

.footer-links,
.footer-contact {
  gap: 15px;
}

.footer-links h2,
.footer-contact h2 {
  margin-bottom: 12px;
}

.footer-view-all {
  margin-top: 4px;
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.footer-contact address,
.footer-contact a {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.footer-contact-icon {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  margin-top: 1px;
  border-radius: 7px;
  color: #d9f7f4;
  background: rgba(255,255,255,.08);
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.footer-contact-icon.location::before { content: "\1F4CD"; }
.footer-contact-icon.phone::before { content: "\260E"; }
.footer-contact-icon.whatsapp::before { content: "W"; }
.footer-contact-icon.email::before { content: "\2709"; }
.footer-contact-icon.map::before { content: "\2197"; }
.footer-contact-icon.branches::before { content: "\25A6"; }

.footer-bottom {
  color: #a9bac7;
  line-height: 1.5;
  background: rgba(3, 10, 20, .22);
}

.footer-powered {
  color: #7f95a6;
  font-size: 12px;
  font-weight: 700;
}

.settings-fieldset {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid #d6e4f2;
  border-radius: 18px;
  background: #f8fbff;
}

.settings-fieldset > div:first-child p:last-child {
  margin: 4px 0 0;
  color: #52657a;
  font-size: 14px;
  line-height: 1.5;
}

.clinic-settings-form {
  gap: 16px;
}

.clinic-settings-form > small {
  display: none;
}

.settings-section-card {
  background: #fff;
}

.settings-section-card > div:first-child {
  display: grid;
  gap: 4px;
}

.settings-section-card > div:first-child .admin-kicker {
  margin: 0;
}

.settings-save-button {
  min-height: 46px;
}

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

.btn,
.hospital-cta,
.mobile-sticky-appointment {
  transition: transform var(--site-ease), box-shadow var(--site-ease), background-color var(--site-ease), color var(--site-ease), border-color var(--site-ease);
}

.btn:hover,
.btn:focus-visible,
.hospital-cta:hover,
.hospital-cta:focus-visible,
.mobile-sticky-appointment:hover,
.mobile-sticky-appointment:focus-visible {
  transform: translateY(-1px);
}

.btn:active,
.hospital-cta:active,
.mobile-sticky-appointment:active {
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hospital-hero {
    min-height: auto;
  }

  .hero-photo {
    min-height: 330px;
  }

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

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }

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

  .office-map-embed {
    height: clamp(220px, 34vw, 320px);
  }
}

@media (max-width: 680px) {
  .hospital-site {
    --site-section-y: 40px;
    --site-section-y-tight: 36px;
    --site-card-gap: 15px;
    --site-card-padding: 18px;
  }

  .hospital-hero {
    padding-top: 28px;
    padding-bottom: 32px;
  }

  .hero-content h1 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .hero-photo {
    min-height: 245px;
  }

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

  .service-card h3,
  .equipment-card h3,
  .blog-grid-premium h3 {
    min-height: 0;
  }

  .service-card img,
  .equipment-card > img,
  .blog-grid-premium img {
    min-height: 168px;
  }

  .doctor-card-premium img {
    min-height: 285px;
  }

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

  .gallery-lightbox {
    padding: 16px;
  }

  .gallery-lightbox img {
    max-height: 68vh;
    border-radius: 14px;
  }

  .gallery-lightbox figcaption {
    margin-top: 12px;
  }

  .lightbox-close {
    top: 0;
    right: 0;
  }

  .lightbox-nav {
    top: auto;
    bottom: 72px;
    width: 44px;
    height: 44px;
    font-size: 30px;
    transform: none;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }

  .premium-gallery figcaption {
    min-height: 0;
  }

  .premium-faq summary {
    padding: 16px 50px 16px 18px;
  }

  .premium-faq details p {
    padding: 0 18px 18px;
  }

  .appointment-section {
    gap: 28px;
    padding-top: 44px;
    padding-bottom: 42px;
  }

  .contact-card {
    padding: 22px;
  }

  .location-tablist {
    margin-right: -4px;
    margin-left: -4px;
  }

  .location-tab {
    min-height: 40px;
    padding: 9px 13px;
  }

  .office-map-embed {
    height: 220px;
  }

  .footer-main {
    gap: 28px;
    padding-top: 48px;
  }

  .settings-two-column {
    grid-template-columns: 1fr;
  }
}

/* Final compact public-section rhythm. */
.hospital-site {
  --public-header-height: 106px;
  --site-section-y: clamp(32px, 3.7vw, 52px);
  --site-section-y-tight: clamp(28px, 3.1vw, 44px);
  --site-gap-lg: clamp(24px, 2.5vw, 32px);
  padding-top: 0;
  overflow-x: visible;
}

.hospital-site [id] {
  scroll-margin-top: calc(var(--public-header-height) + 16px);
}

.hospital-header {
  position: sticky;
  right: 0;
  left: 0;
  top: 0;
  z-index: 120;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(219,231,232,.92);
  box-shadow: 0 12px 30px rgba(16,32,51,.06);
  backdrop-filter: blur(14px);
}

.hospital-section {
  padding-top: var(--site-section-y);
  padding-bottom: var(--site-section-y);
}

.hospital-section.surface-section {
  padding-top: var(--site-section-y-tight);
  padding-bottom: var(--site-section-y-tight);
}

.hospital-section + .hospital-section {
  padding-top: clamp(28px, 3vw, 44px);
}

.section-heading {
  margin-bottom: var(--site-gap-lg);
}

.equipment-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .8fr);
  gap: 8px clamp(36px, 5vw, 76px);
  align-items: center;
  margin-bottom: clamp(20px, 2.1vw, 28px);
}

.equipment-heading .section-kicker {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

.equipment-heading h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 620px;
  margin: 0;
  font-size: clamp(34px, 3.5vw, 52px);
}

.equipment-heading > p:not(.section-kicker) {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 430px;
  margin: 0;
  align-self: center;
}

@media (max-width: 680px) {
  :root {
    --public-header-height: 82px;
  }

  .hospital-site {
    --public-header-height: 82px;
    --site-section-y: 34px;
    --site-section-y-tight: 30px;
    --site-gap-lg: 22px;
  }

  .hospital-site [id] {
    scroll-margin-top: calc(var(--public-header-height) + 12px);
  }

  .hospital-section + .hospital-section {
    padding-top: 30px;
  }

  .equipment-heading {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 22px;
  }

  .equipment-heading .section-kicker,
  .equipment-heading h2,
  .equipment-heading > p:not(.section-kicker) {
    grid-column: 1;
    grid-row: auto;
    max-width: none;
  }
}

/* Appointment-to-footer closing area refinement. */
.appointment-section {
  display: block;
  padding: clamp(48px, 5vw, 64px) var(--site-container-x);
}

.appointment-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: clamp(56px, 6vw, 82px);
  align-items: center;
  width: min(100%, 1240px);
  max-width: 1240px;
  margin: 0 auto;
}

.appointment-copy {
  max-width: 620px;
}

.appointment-copy h2 {
  font-size: clamp(36px, 4.2vw, 58px);
}

.appointment-copy p {
  max-width: 560px;
}

.appointment-section .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: clamp(22px, 2.4vw, 30px);
}

.appointment-section .contact-actions .btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  line-height: 1;
}

.appointment-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 620px;
  margin-top: 22px;
}

.appointment-trust span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.08);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
}

.appointment-section .contact-card {
  width: 100%;
  padding: clamp(22px, 2.2vw, 28px);
}

.appointment-section .contact-card h3 {
  font-size: clamp(24px, 2.1vw, 30px);
}

.appointment-section .location-panel {
  gap: 14px;
}

.appointment-section .location-panel h4 {
  font-size: clamp(18px, 1.6vw, 22px);
}

.appointment-section .contact-card dl {
  gap: 9px 16px;
}

.appointment-section .office-map-embed {
  height: clamp(180px, 16vw, 215px);
}

.doctor-card-premium img {
  aspect-ratio: 4 / 4.4;
}

.doctor-card-premium h3,
.doctor-card-premium p,
.service-card h3,
.service-card p,
.equipment-card h3,
.equipment-card p,
.blog-grid-premium h3,
.blog-grid-premium p,
.appointment-copy h2,
.appointment-copy p {
  overflow-wrap: break-word;
}

.hospital-footer {
  display: block;
  width: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 120px),
    #102033;
}

.footer-main {
  box-sizing: border-box;
  grid-template-columns: minmax(280px, 1.4fr) minmax(140px, max-content) minmax(180px, max-content) minmax(280px, 1fr);
  gap: clamp(48px, 5.6vw, 84px);
  justify-content: start;
  width: min(100%, 1280px);
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  padding: clamp(60px, 5.4vw, 72px) clamp(40px, 4.4vw, 56px) clamp(42px, 4vw, 48px);
}

.footer-about,
.footer-links,
.footer-contact {
  min-width: 0;
}

.footer-links {
  align-items: flex-start;
  justify-self: start;
  gap: 16px;
  text-align: left;
}

.footer-contact {
  justify-self: start;
}

.footer-links a {
  align-self: flex-start;
  font-weight: 720;
  text-align: left;
  overflow-wrap: break-word;
}

.footer-brand .brand-mark {
  width: clamp(70px, 6vw, 88px);
  height: clamp(46px, 4vw, 58px);
}

.footer-brand .brand-name {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1;
}

.footer-about p {
  max-width: 360px;
  font-size: 17px;
  line-height: 1.78;
}

.footer-links h2,
.footer-contact h2 {
  width: auto;
  align-self: flex-start;
  font-size: 15px;
  letter-spacing: .09em;
  text-align: left;
}

.footer-links a,
.footer-contact a,
.footer-contact address,
.footer-hours,
.footer-office-name {
  font-size: 17px;
  line-height: 1.72;
  overflow-wrap: break-word;
}

.footer-links a,
.footer-contact a,
.footer-bottom a {
  transition: color var(--site-ease), text-decoration-color var(--site-ease), opacity var(--site-ease);
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.footer-office-name {
  display: block;
  color: #fff;
  font-weight: 850;
}

.footer-hours {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  color: #c9d7e2;
  font-weight: 680;
}

.footer-contact-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  font-size: 12px;
}

.footer-contact {
  gap: 14px;
}

.footer-contact a,
.footer-contact address {
  font-weight: 680;
}

.footer-contact-icon.hours::before {
  content: "H";
}

.footer-bottom {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.14);
  background: #0b1726;
}

.footer-bottom-inner {
  box-sizing: border-box;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 20px clamp(40px, 5vw, 56px);
  color: #a9bac7;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1120px) {
  .appointment-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: 42px;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
    gap: 42px 56px;
  }
}

@media (max-width: 820px) {
  .appointment-inner {
    grid-template-columns: 1fr;
  }

  .appointment-copy {
    max-width: 720px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-right: 24px;
    padding-left: 24px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .footer-legal {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .hospital-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .appointment-section {
    padding: 40px 18px;
  }

  .appointment-inner {
    gap: 24px;
  }

  .appointment-section .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .appointment-section .contact-actions .btn {
    width: 100%;
  }

  .appointment-section .office-map-embed {
    height: 205px;
  }

  .doctor-card-premium img {
    aspect-ratio: 4 / 4.15;
  }

  .footer-main {
    gap: 34px;
    padding-top: 42px;
    padding-bottom: 34px;
  }

  .footer-bottom-inner {
    padding-bottom: 88px;
  }
}

/* Shared Eye Hospital template refinement. Applies to all tenants using the template. */
.hospital-hero {
  grid-template-columns: minmax(340px, .94fr) minmax(420px, 1.06fr);
  overflow: hidden;
}

.hero-photo-wrap {
  min-width: 0;
}

.hero-photo,
.section-image img,
.service-card img,
.doctor-card-premium img,
.equipment-card > img,
.premium-gallery img,
.blog-grid-premium img,
.testimonial-avatar {
  background:
    radial-gradient(circle at 22% 18%, rgba(15, 118, 110, .12), transparent 28%),
    linear-gradient(110deg, rgba(232,246,244,.86), rgba(255,255,255,.96), rgba(232,246,244,.86));
  background-size: 220% 100%;
  object-fit: cover;
}

.service-card,
.doctor-card-premium,
.equipment-card,
.testimonial-grid figure,
.premium-gallery figure,
.blog-grid-premium article {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card img,
.doctor-card-premium img,
.equipment-card > img,
.premium-gallery img,
.blog-grid-premium img {
  transition: transform 420ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .doctor-card-premium,
  .equipment-card,
  .testimonial-grid figure,
  .premium-gallery figure,
  .blog-grid-premium article,
  .service-card img,
  .doctor-card-premium img,
  .equipment-card > img,
  .premium-gallery img,
  .blog-grid-premium img {
    transition: none;
  }
}

.hero-actions .btn,
.contact-actions .btn {
  min-height: 50px;
  align-items: center;
}

.hero-mini-trust span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.service-card div {
  display: grid;
  grid-template-rows: auto auto minmax(82px, 1fr) auto;
  align-content: start;
  gap: 10px;
}

.service-card h3 {
  min-height: 2.15em;
}

.service-card p {
  min-height: 4.4em;
  line-height: 1.52;
}

.service-card a {
  align-self: end;
}

.doctor-grid {
  grid-template-columns: repeat(auto-fit, minmax(310px, 390px));
  justify-content: center;
}

.doctor-card-premium {
  display: grid;
  grid-template-rows: auto 1fr;
}

.doctor-card-premium > div {
  display: grid;
  grid-template-rows: auto auto auto auto auto 1fr auto;
  align-content: start;
  gap: 9px;
}

.doctor-meta {
  grid-template-columns: minmax(94px, auto) minmax(0, 1fr);
}

.doctor-action {
  align-self: end;
  margin-top: 8px;
}

.equipment-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 26px);
}

.equipment-card {
  grid-column: span 2;
  display: grid;
  min-height: 100%;
}

.equipment-card:first-child {
  grid-column: span 3;
  grid-template-columns: minmax(240px, 1.05fr) minmax(220px, .95fr);
  align-items: stretch;
}

.equipment-card:first-child > img {
  height: 100%;
  aspect-ratio: auto;
  min-height: 330px;
}

.equipment-card > div {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
  align-content: start;
  gap: 9px;
}

.equipment-benefit {
  display: grid;
  gap: 5px;
  margin-top: 2px !important;
  padding: 12px 13px;
  border: 1px solid #d8ece9;
  border-radius: 14px;
  background: #f6fbfa;
}

.equipment-benefit span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial-grid figure {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  gap: 14px;
  min-height: 210px;
  padding-top: clamp(34px, 3.2vw, 44px);
}

.testimonial-grid figure::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  left: 24px;
  color: rgba(15, 118, 110, .18);
  font-family: Georgia, serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
}

.testimonial-grid blockquote {
  padding-top: 0;
}

.testimonial-grid blockquote::before {
  content: none;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-rating {
  display: inline-flex;
  gap: 2px;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 17px;
  letter-spacing: .02em;
}

.testimonial-grid figcaption strong:empty,
.testimonial-grid figcaption span:empty {
  display: none;
}

.premium-gallery {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.premium-gallery figure {
  display: grid;
  grid-template-rows: auto 1fr;
}

.premium-gallery figcaption {
  min-height: 82px;
}

.gallery-open:focus-visible {
  outline: 3px solid rgba(15,118,110,.28);
  outline-offset: 4px;
}

.premium-faq summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding-top: 17px;
  padding-bottom: 17px;
}

.premium-faq details[open] summary {
  color: var(--teal);
}

.article-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #64748b;
}

.article-meta-line span {
  position: relative;
  color: inherit;
  font-weight: 820;
}

.article-meta-line span + span::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9aaabd;
  transform: translateY(-50%);
}

.blog-grid-premium {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.blog-grid-premium article {
  display: grid;
  grid-template-rows: auto 1fr;
}

.blog-grid-premium div {
  display: grid;
  grid-template-rows: auto auto auto minmax(74px, 1fr) auto;
  align-content: start;
  gap: 10px;
}

.blog-grid-premium .section-link {
  align-self: end;
}

@media (min-width: 1121px) {
  .equipment-grid:has(.equipment-card:nth-child(2)) .equipment-card:first-child {
    grid-column: span 3;
  }
}

@media (max-width: 1120px) {
  .hospital-hero {
    grid-template-columns: 1fr;
  }

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

  .equipment-card,
  .equipment-card:first-child {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .equipment-card:first-child > img {
    min-height: 240px;
  }
}

@media (max-width: 680px) {
  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-appointment-card {
    position: static;
    width: auto;
    margin-top: 14px;
    color: var(--navy);
    background: rgba(255,255,255,.92);
    border-color: var(--hospital-line);
    box-shadow: 0 16px 42px rgba(16,32,51,.08);
  }

  .hero-appointment-card span {
    color: #52657a;
  }

  .service-card h3,
  .service-card p {
    min-height: 0;
  }

  .doctor-grid,
  .equipment-grid,
  .testimonial-grid,
  .premium-gallery,
  .blog-grid-premium {
    grid-template-columns: 1fr;
  }

  .doctor-meta {
    grid-template-columns: 1fr;
    gap: 3px 0;
  }

  .doctor-meta dd + dt {
    margin-top: 6px;
  }

  .mobile-sticky-appointment {
    display: none;
  }
}

/* Premium Eye Hospital template pass. Shared across all Eye Hospital tenants. */
.hospital-site {
  --eye-section-max: 1280px;
  --eye-radius-lg: 30px;
  --eye-radius-md: 22px;
  --eye-shadow-soft: 0 22px 70px rgba(16, 32, 51, .10);
  --eye-shadow-strong: 0 34px 95px rgba(16, 32, 51, .15);
  background:
    linear-gradient(180deg, #ffffff 0, #ffffff 620px, #f2faf9 620px, #f2faf9 100%);
}

.hospital-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, .9fr) minmax(540px, 1.1fr);
  gap: clamp(34px, 5.5vw, 76px);
  align-items: center;
  max-width: none;
  min-height: clamp(620px, 72vh, 820px);
  padding: clamp(56px, 6vw, 86px) clamp(28px, 6vw, 86px);
  background:
    radial-gradient(circle at 76% 24%, rgba(15, 118, 110, .16), transparent 34%),
    linear-gradient(90deg, #fff 0 48%, #e8f6f4 48% 100%);
}

.hospital-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(46vw, 680px);
  height: min(30vw, 420px);
  pointer-events: none;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, .52));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-content h1 {
  max-width: 760px;
  font-size: clamp(54px, 6.3vw, 96px);
  letter-spacing: 0;
  line-height: .91;
}

.hero-content p:not(.section-kicker) {
  max-width: 650px;
  font-size: clamp(20px, 1.65vw, 27px);
  line-height: 1.55;
}

.hero-actions {
  gap: 14px;
  margin-top: clamp(24px, 2.5vw, 34px);
}

.hero-actions .btn {
  min-height: 54px;
  padding-right: 24px;
  padding-left: 24px;
}

.hero-mini-trust {
  max-width: 720px;
  margin-top: clamp(22px, 2.4vw, 32px);
  gap: 12px;
}

.hero-mini-trust span {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(15, 118, 110, .14);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 28px rgba(16, 32, 51, .07);
}

.hero-photo-wrap {
  position: relative;
  z-index: 1;
  min-height: clamp(430px, 48vw, 660px);
  border-radius: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: clamp(430px, 48vw, 660px);
  aspect-ratio: 16 / 11;
  border-radius: var(--eye-radius-lg);
  object-fit: cover;
  box-shadow: var(--eye-shadow-strong);
}

.hero-appointment-card {
  right: clamp(18px, 2.2vw, 34px);
  bottom: clamp(18px, 2.2vw, 34px);
  width: min(360px, calc(100% - 44px));
  padding: 22px;
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(5, 18, 32, .28);
}

.trust-band {
  max-width: var(--eye-section-max);
  margin-top: -42px;
  gap: clamp(14px, 2vw, 22px);
}

.trust-band article {
  min-height: 112px;
  padding: 24px 26px;
  border-radius: 18px;
}

.hospital-section {
  padding-right: clamp(28px, 5.6vw, 82px);
  padding-left: clamp(28px, 5.6vw, 82px);
}

.hospital-section > .section-heading,
.hospital-section > .service-grid,
.hospital-section > .why-grid,
.hospital-section > .doctor-grid,
.hospital-section > .equipment-grid,
.hospital-section > .testimonial-grid,
.hospital-section > .premium-gallery,
.hospital-section > .blog-grid-premium,
.hospital-section > .premium-faq,
.split-section {
  max-width: var(--eye-section-max);
  margin-right: auto;
  margin-left: auto;
}

.hospital-section.surface-section {
  background:
    linear-gradient(180deg, rgba(235, 248, 247, .92), rgba(245, 251, 250, .96));
}

.hospital-section:not(.surface-section) {
  background: #fff;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(28px, 3.4vw, 46px);
}

.section-heading h2,
.section-copy h2 {
  max-width: 760px;
  line-height: .98;
}

.section-heading p:not(.section-kicker),
.section-copy p {
  max-width: 760px;
}

.split-section {
  grid-template-columns: minmax(390px, .92fr) minmax(0, 1.08fr);
  gap: clamp(42px, 7vw, 96px);
}

.section-image img {
  aspect-ratio: 4 / 4.55;
  border-radius: var(--eye-radius-lg);
  box-shadow: var(--eye-shadow-strong);
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: clamp(20px, 2.4vw, 30px);
}

.service-card {
  border-radius: var(--eye-radius-md);
  box-shadow: var(--eye-shadow-soft);
}

.service-card img {
  aspect-ratio: 16 / 10.5;
  min-height: 220px;
}

.service-card div {
  padding: clamp(22px, 2.3vw, 30px);
}

.service-card h3 {
  font-size: clamp(23px, 1.9vw, 30px);
  line-height: 1.08;
}

.service-card p {
  font-size: 17px;
}

.why-grid {
  gap: clamp(18px, 2vw, 24px);
}

.why-grid article {
  min-height: 190px;
  padding: clamp(22px, 2.3vw, 30px);
}

.doctor-grid {
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(22px, 2.6vw, 34px);
}

.doctor-card-premium {
  border-radius: var(--eye-radius-md);
  box-shadow: var(--eye-shadow-soft);
}

.doctor-card-premium img {
  aspect-ratio: 4 / 5.2;
  min-height: 430px;
}

.doctor-card-premium > div {
  padding: clamp(24px, 2.4vw, 32px);
}

.doctor-card-premium h3 {
  font-size: clamp(25px, 2vw, 32px);
}

.doctor-meta,
.doctor-expertise {
  font-size: 14px;
}

.equipment-section {
  background:
    linear-gradient(180deg, #fff 0, #fff 34%, #f2faf9 34%, #f2faf9 100%);
}

.equipment-heading {
  max-width: var(--eye-section-max);
  margin-right: auto;
  margin-left: auto;
}

.equipment-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(22px, 2.6vw, 34px);
}

.equipment-card,
.equipment-card:first-child {
  grid-column: auto;
  grid-template-columns: 1fr;
  border-radius: var(--eye-radius-md);
}

.equipment-card:first-child {
  grid-row: span 2;
}

.equipment-card:first-child > img {
  min-height: 430px;
  aspect-ratio: 16 / 10.2;
}

.equipment-card:not(:first-child) {
  grid-template-columns: minmax(180px, .9fr) minmax(0, 1fr);
  align-items: stretch;
}

.equipment-card:not(:first-child) > img {
  height: 100%;
  min-height: 230px;
  aspect-ratio: auto;
}

.equipment-card > div {
  padding: clamp(22px, 2.3vw, 30px);
}

.equipment-card h3 {
  font-size: clamp(22px, 1.8vw, 29px);
  line-height: 1.1;
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 2.4vw, 30px);
}

.testimonial-grid figure {
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--eye-radius-md);
  box-shadow: var(--eye-shadow-soft);
}

.testimonial-grid blockquote {
  font-size: clamp(19px, 1.5vw, 23px);
}

.premium-gallery {
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr) minmax(0, .84fr);
  grid-auto-flow: dense;
  gap: clamp(20px, 2.4vw, 30px);
}

.premium-gallery figure {
  border-radius: var(--eye-radius-md);
  box-shadow: var(--eye-shadow-soft);
}

.premium-gallery figure:first-child {
  grid-row: span 2;
}

.premium-gallery img {
  aspect-ratio: 4 / 3.15;
  min-height: 240px;
}

.premium-gallery figure:first-child img {
  aspect-ratio: 4 / 4.45;
  min-height: 560px;
}

.premium-gallery figcaption {
  padding: 20px 22px 22px;
}

.premium-faq {
  max-width: 980px;
}

.premium-faq details {
  margin-bottom: 12px;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(16, 32, 51, .045);
}

.premium-faq summary {
  min-height: 64px;
  padding-right: 64px;
  font-size: clamp(17px, 1.3vw, 19px);
}

.blog-grid-premium {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(22px, 2.4vw, 30px);
}

.blog-grid-premium article {
  border-radius: var(--eye-radius-md);
  box-shadow: var(--eye-shadow-soft);
}

.blog-grid-premium img {
  aspect-ratio: 16 / 10.2;
  min-height: 250px;
}

.appointment-section {
  background:
    radial-gradient(circle at 14% 24%, rgba(217, 151, 53, .18), transparent 30%),
    linear-gradient(112deg, #771f1b 0%, #551326 48%, #102033 100%);
}

.appointment-inner {
  max-width: var(--eye-section-max);
  grid-template-columns: minmax(0, 1fr) minmax(390px, 500px);
}

.appointment-section .contact-card {
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(5, 18, 32, .28);
}

@media (max-width: 1180px) {
  .hospital-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    background:
      radial-gradient(circle at 72% 24%, rgba(15, 118, 110, .14), transparent 34%),
      linear-gradient(180deg, #fff 0 50%, #e8f6f4 50% 100%);
  }

  .hero-content {
    max-width: 840px;
  }

  .hero-photo-wrap,
  .hero-photo {
    min-height: clamp(360px, 52vw, 560px);
  }

  .split-section,
  .equipment-grid,
  .appointment-inner {
    grid-template-columns: 1fr;
  }

  .equipment-card:first-child {
    grid-row: auto;
  }

  .equipment-card:not(:first-child) {
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 900px) {
  .hospital-section {
    padding-right: 24px;
    padding-left: 24px;
  }

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

  .doctor-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  }

  .doctor-card-premium img {
    min-height: 360px;
  }

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

  .premium-gallery figure:first-child {
    grid-row: auto;
    grid-column: span 2;
  }

  .premium-gallery figure:first-child img {
    aspect-ratio: 16 / 9.5;
    min-height: 340px;
  }
}

@media (max-width: 680px) {
  .hospital-site {
    background: #f4faf9;
  }

  .hospital-hero {
    gap: 24px;
    padding: 34px 18px 38px;
  }

  .hero-content h1 {
    font-size: clamp(42px, 13.5vw, 58px);
    line-height: .95;
  }

  .hero-content p:not(.section-kicker) {
    font-size: 18px;
  }

  .hero-actions .btn {
    min-height: 50px;
  }

  .hero-mini-trust {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-photo-wrap,
  .hero-photo {
    min-height: 280px;
  }

  .hero-photo {
    border-radius: 22px;
  }

  .trust-band,
  .service-grid,
  .doctor-grid,
  .equipment-grid,
  .testimonial-grid,
  .premium-gallery,
  .blog-grid-premium,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .trust-band {
    margin-top: 0;
    padding: 18px;
  }

  .hospital-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .section-heading h2,
  .section-copy h2,
  .appointment-copy h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .section-image img {
    aspect-ratio: 4 / 3.8;
    border-radius: 22px;
  }

  .service-card img,
  .blog-grid-premium img {
    min-height: 205px;
  }

  .doctor-card-premium img {
    min-height: 330px;
  }

  .equipment-card:first-child > img,
  .equipment-card:not(:first-child) > img {
    min-height: 230px;
    aspect-ratio: 16 / 10.5;
  }

  .equipment-card:not(:first-child) {
    grid-template-columns: 1fr;
  }

  .premium-gallery figure:first-child {
    grid-column: auto;
  }

  .premium-gallery img,
  .premium-gallery figure:first-child img {
    min-height: 240px;
    aspect-ratio: 4 / 3.15;
  }

  .appointment-inner {
    grid-template-columns: 1fr;
  }
}

/* Shared appointment/blog closing polish. */
.hospital-section > .section-link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(100%, var(--eye-section-max, 1280px));
  margin: clamp(22px, 2.2vw, 30px) auto 0;
  color: var(--teal);
  font-weight: 900;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hospital-section > .section-link::after {
  content: "->";
  font-weight: 950;
  transform: translateY(-1px);
}

.hospital-section > .section-link:hover,
.hospital-section > .section-link:focus-visible {
  color: var(--brand);
}

.appointment-section {
  margin-top: 0;
  background:
    radial-gradient(circle at 20% 26%, rgba(217, 151, 53, .16), transparent 32%),
    linear-gradient(112deg, #7f281e 0%, #5b1528 50%, #122039 100%);
}

.appointment-inner {
  padding: clamp(26px, 3.2vw, 44px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .12) 52%, rgba(255, 255, 255, .05)),
    rgba(255, 255, 255, .02);
}

.appointment-copy .section-kicker {
  color: rgba(255, 255, 255, .9);
}

.appointment-copy h2 {
  color: #fff;
}

.appointment-copy p {
  color: rgba(255, 255, 255, .86);
}

.appointment-section .contact-actions .btn {
  box-shadow: 0 14px 34px rgba(3, 10, 20, .16);
}

.appointment-section .contact-card {
  border-color: rgba(219, 231, 232, .85);
  background: rgba(255, 255, 255, .96);
}

.contact-detail-list {
  display: grid;
  gap: 13px;
  margin: 0;
}

.contact-detail-row {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 3px 12px;
  align-items: start;
}

.contact-detail-row::before {
  content: "";
  grid-row: 1 / span 2;
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: #08766e;
  background: #e7f7f5;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.contact-detail-address::before { content: "\1F4CD"; }
.contact-detail-phone::before { content: "\260E"; }
.contact-detail-whatsapp::before { content: "W"; }
.contact-detail-email::before { content: "\2709"; }
.contact-detail-hours::before { content: "\23F1"; }

.contact-detail-row dt {
  grid-column: 2;
  margin: 0;
  color: #65758a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.contact-detail-row dd {
  grid-column: 2;
  margin: 0;
  color: var(--navy);
  font-weight: 850;
  line-height: 1.42;
}

.contact-detail-row dd span {
  display: block;
}

.appointment-section .map-link {
  width: fit-content;
  margin-top: 2px;
}

.appointment-section .office-map-shell,
.appointment-section .office-map-embed {
  border-radius: 18px;
}

@media (max-width: 820px) {
  .appointment-inner {
    padding: 22px;
    border-radius: 24px;
  }
}

@media (max-width: 680px) {
  .hospital-section > .section-link {
    margin-top: 18px;
  }

  .appointment-inner {
    padding: 0;
    border: 0;
    background: transparent;
  }
}

/* Reception-friendly website editor */
.visual-editor-shell {
  background: #eef5fb;
}

.visual-editor-shell .admin-panel {
  padding-bottom: 140px;
}

.editor-intro {
  display: flex;
  justify-content: space-between;
  gap: 22px;
}

.setup-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 300px;
  padding: 16px;
  border: 1px solid #dbe7f3;
  border-radius: 18px;
  background: #f8fbff;
}

.setup-checklist strong {
  grid-column: 1 / -1;
}

.setup-checklist span {
  padding: 8px 10px;
  border-radius: 999px;
  color: #24566f;
  background: #e8f6ff;
  font-size: 12px;
  font-weight: 900;
}

.setup-checklist small {
  grid-column: 1 / -1;
  color: var(--admin-muted, #64748b);
  font-weight: 850;
}

.setup-checklist button {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid #dbe7f3;
  border-radius: 999px;
  background: #fff;
  color: #243145;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.setup-checklist button.done {
  color: #047857;
  border-color: #b6eee3;
  background: #ecfdf8;
}

.setup-checklist button.todo {
  color: #64748b;
  background: #f8fbff;
}

.setup-progress {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  padding: 0 !important;
  border-radius: 999px !important;
  background: #e2edf7 !important;
}

.setup-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #3478f6;
}

.editor-workspace {
  display: grid;
  grid-template-columns: 280px minmax(460px, 1fr) minmax(340px, 420px);
  gap: 18px;
  align-items: start;
}

.section-navigator,
.section-edit-panel,
.live-preview-panel {
  border: 1px solid #dbe7f3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(31,54,86,.06);
}

.section-navigator,
.live-preview-panel {
  position: sticky;
  top: 152px;
  max-height: calc(100vh - 180px);
  overflow: auto;
}

.section-navigator {
  padding: 14px;
}

.section-navigator-head,
.preview-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-navigator-head strong,
.preview-panel-head strong {
  display: block;
  color: #172033;
}

.section-navigator-head span,
.preview-panel-head span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.section-nav-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
  align-items: center;
  margin-bottom: 8px;
  padding: 12px;
  border: 1px solid #e1ebf5;
  border-radius: 16px;
  color: #172033;
  background: #fbfdff;
  text-align: left;
  cursor: pointer;
}

.section-card-select {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.section-card-select.has-thumb {
  grid-template-columns: 34px 44px minmax(0, 1fr);
}

.section-card-thumb {
  width: 44px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.section-card-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #0f766e;
  background: #e8f6f4;
  font-size: 13px;
  font-weight: 950;
}

.section-card-copy {
  min-width: 0;
}

.section-card-meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.section-card-meta em {
  padding: 4px 7px;
  border-radius: 999px;
  color: #475569;
  background: #eef2f7;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.section-card-meta em:first-child {
  color: #075e54;
  background: #dff8f2;
}

.section-nav-card.active .section-card-meta em:first-child,
.section-nav-card:hover .section-card-meta em:first-child {
  color: #075e54;
  background: #fff;
}

.section-move-menu {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.section-move-menu button {
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid #dbe7f3;
  border-radius: 9px;
  color: #243145;
  background: #fff;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.section-nav-card.active,
.section-nav-card:hover {
  border-color: #9fc8ff;
  background: #eaf4ff;
}

.section-nav-card.dragging,
.compact-repeat-card.dragging {
  border-color: #3478f6;
  background: #eef6ff;
  box-shadow: 0 14px 34px rgba(52,120,246,.18);
}

.section-nav-card strong,
.section-nav-card small {
  display: block;
}

.section-nav-card small {
  margin-top: 3px;
  color: #64748b;
  font-weight: 800;
}

.section-nav-card em {
  padding: 5px 8px;
  border-radius: 999px;
  color: #0f766e;
  background: #e8f6f4;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.drag-handle {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: transparent;
  background:
    radial-gradient(circle, #64748b 2px, transparent 3px) 7px 7px / 8px 8px,
    #f1f5f9;
}

.section-edit-panel {
  min-height: 640px;
  overflow: hidden;
}

.focused-editor-card {
  padding: 22px;
}

.focused-editor-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e1ebf5;
}

.focused-editor-head span,
.focused-editor-head p {
  color: #64748b;
  font-weight: 800;
}

.focused-editor-head h2 {
  margin: 5px 0 8px;
  color: #172033;
  font-size: 30px;
}

.editor-switch {
  display: inline-flex;
  align-items: center;
  align-self: start;
  gap: 10px;
  min-width: 230px;
  padding: 12px;
  border: 1px solid #dbe7f3;
  border-radius: 16px;
  background: #f8fbff;
  font-weight: 900;
}

.field-grid {
  display: grid;
  gap: 16px;
}

.friendly-field span {
  color: #172033;
}

.field-help,
.field-error {
  font-size: 12px;
}

.field-help {
  color: #64748b;
}

.field-error {
  min-height: 16px;
  color: #b42318;
  font-weight: 850;
}

.friendly-field.invalid input,
.friendly-field.invalid textarea,
.friendly-field.invalid select {
  border-color: #f04438;
  background: #fff8f7;
}

.validation-summary {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: 14px;
  color: #991b1b;
  background: #fff1f2;
  font-weight: 850;
}

.validation-summary:empty {
  display: none;
}

.friendly-image-control {
  grid-template-columns: 168px minmax(0, 1fr);
}

.friendly-image-control .image-actions,
.friendly-image-control p {
  grid-column: 1 / -1;
}

.image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.focused-repeater {
  gap: 14px;
  margin-top: 6px;
  padding: 16px;
  border: 1px solid #e1ebf5;
  border-radius: 18px;
  background: #f8fbff;
}

.focused-repeater > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.focused-repeater > header span {
  color: #64748b;
  font-weight: 800;
}

.repeat-card-list {
  display: grid;
  gap: 14px;
}

.visual-repeat-card {
  background: #fff;
}

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

.repeat-head strong {
  align-self: center;
}

.accreditation-panel {
  padding: 16px;
  border: 1px solid #d8ece9;
  border-radius: 18px;
  background: #f6fbfa;
}

.accreditation-panel h3 {
  margin: 0 0 8px;
}

.accreditation-panel p {
  color: #52657a;
}

.confirm-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 850;
}

.editor-section-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e1ebf5;
}

.editor-section-footer span {
  color: #64748b;
  font-weight: 800;
}

.live-preview-panel {
  padding: 14px;
}

.preview-panel-head {
  align-items: flex-start;
}

.preview-mode-tabs {
  flex-wrap: wrap;
}

.preview-frame {
  width: 100%;
  min-height: 620px;
  overflow: auto;
  border: 1px solid #dbe7f3;
  border-radius: 18px;
  background: #f6fafb;
}

.preview-frame.preview-loading {
  position: relative;
}

.preview-frame.preview-loading::before {
  content: "Refreshing preview...";
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #3478f6;
  background: rgba(255,255,255,.82);
  font-weight: 950;
}

.preview-frame.tablet {
  width: min(100%, 330px);
  margin-inline: auto;
}

.preview-frame.mobile {
  width: min(100%, 240px);
  margin-inline: auto;
}

.mini-site {
  width: 100%;
  min-width: 320px;
  color: #172033;
  background: #fff;
  font-size: 12px;
}

.preview-frame.mobile .mini-site {
  min-width: 220px;
  font-size: 10px;
}

.mini-site header {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid #e1ebf5;
  color: #0f766e;
  font-weight: 950;
}

.mini-site section {
  padding: 16px;
}

.mini-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: linear-gradient(90deg, #fff, #eaf7f6);
}

.preview-frame.mobile .mini-hero {
  grid-template-columns: 1fr;
}

.mini-hero h1,
.mini-site h2 {
  margin: 4px 0 8px;
  color: #641419;
  font-family: Georgia, serif;
  line-height: 1.08;
}

.mini-hero img,
.mini-card-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  object-fit: cover;
}

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

.preview-frame.mobile .mini-card-grid {
  grid-template-columns: 1fr;
}

.mini-card-grid article {
  overflow: hidden;
  border: 1px solid #e1ebf5;
  border-radius: 12px;
  background: #fff;
}

.mini-card-grid strong,
.mini-card-grid p {
  display: block;
  padding: 8px;
}

.mini-card-grid p {
  margin: 0;
  color: #64748b;
}

.mini-contact {
  color: #fff;
  background: linear-gradient(135deg, #641419, #102033);
}

.mini-contact h2 {
  color: #fff;
}

.mini-contact span,
.mini-contact strong {
  display: block;
}

.publish-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16,32,51,.58);
}

.publish-modal[hidden] {
  display: none;
}

.publish-modal section {
  width: min(560px, 100%);
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(16,32,51,.28);
}

.publish-modal h2 {
  margin-top: 0;
}

.publish-warning {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid #fde68a;
  border-radius: 14px;
  background: #fffbeb;
  color: #854d0e;
  font-weight: 750;
}

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

.undo-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 210;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  color: #fff;
  background: #172033;
  box-shadow: 0 18px 52px rgba(16,32,51,.24);
  font-weight: 850;
}

.undo-toast button {
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,.12);
  font-weight: 900;
}

@media (max-width: 1380px) {
  .editor-workspace {
    grid-template-columns: 250px minmax(420px, 1fr);
  }

  .live-preview-panel {
    grid-column: 1 / -1;
    position: static;
    max-height: none;
  }
}

@media (max-width: 980px) {
  .editor-workspace {
    grid-template-columns: 1fr;
  }

  .section-navigator {
    position: static;
    max-height: none;
  }

  .section-navigator #sectionNavigator {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .section-nav-card {
    margin: 0;
  }

  .focused-editor-head,
  .editor-intro {
    flex-direction: column;
  }

  .blog-filter-row-three,
  .blog-filter-row-two {
    grid-template-columns: 1fr;
  }

  .blog-filter-head,
  .blog-filter-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-filter-actions .admin-button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .section-navigator #sectionNavigator,
  .repeat-fields,
  .mini-card-grid,
  .setup-checklist {
    grid-template-columns: 1fr;
  }

  .friendly-image-control,
  .image-dropzone {
    grid-template-columns: 1fr;
  }

  .image-dropzone img {
    width: 100%;
  }

  .editor-sticky-actions {
    top: 0;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.admin-hero.compact {
  margin: 28px 0 24px;
  padding: 32px;
  border: 1px solid #dbe8f6;
  border-radius: 24px;
  background: linear-gradient(115deg, #fff 0%, #f5fbff 58%, #dbeafe 100%);
}

.admin-hero.compact h1 {
  margin: 6px 0 10px;
  color: #172033;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.admin-alert {
  margin: 14px 0;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 850;
}

.admin-alert:empty {
  display: none;
}

.admin-alert.success {
  color: #075e54;
  border: 1px solid #b6eee3;
  background: #ecfdf8;
}

.admin-alert.danger {
  color: #9f1239;
  border: 1px solid #fecdd3;
  background: #fff1f2;
}

.blog-editor-card,
.admin-card {
  margin-bottom: 24px;
}

.btn-primary {
  color: #fff;
  background: #2f73f6;
}

.btn-danger {
  color: #9f1239;
  border-color: #fecdd3;
  background: #fff1f2;
}

.error-summary {
  color: #991b1b;
  border-color: #fecaca;
  background: #fff1f2;
}

.tenant-create-card {
  padding: 22px;
  border: 1px solid #dbe7f3;
  box-shadow: 0 16px 42px rgba(24,37,54,.06);
}

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

.tenant-form-grid label,
.tenant-filter-bar label {
  display: grid;
  gap: 6px;
  color: #172033;
  font-weight: 500;
  line-height: 1.35;
}

.tenant-form-grid input,
.tenant-form-grid select,
.tenant-filter-bar input,
.tenant-filter-bar select,
.tenant-suspend-form input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dbe7f3;
  border-radius: 10px;
  color: #172033;
  background: #fff;
}

.tenant-form-grid .check-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  align-content: center;
}

.tenant-form-grid .check-row input {
  width: auto;
  min-height: 0;
}

.tenant-form-actions {
  display: flex;
  align-items: end;
  gap: 10px;
  grid-column: 1 / -1;
  flex-wrap: wrap;
}

.tenant-filter-bar {
  grid-template-columns: minmax(260px, 1fr) 220px auto;
  align-items: end;
  padding: 22px;
  border: 1px solid #dbe7f3;
  border-radius: 18px;
  background: #fff;
}

.tenant-list {
  display: grid;
  gap: 18px;
}

.tenant-card {
  padding: 22px;
  border: 1px solid #dbe7f3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(24,37,54,.06);
}

.tenant-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.tenant-card-head h2 {
  margin: 4px 0;
  color: #172033;
  font-size: 28px;
}

.tenant-card-head p {
  margin: 0;
  color: #52657a;
  font-weight: 800;
}

.tenant-status {
  align-self: start;
  padding: 8px 12px;
  border-radius: 999px;
  color: #0f766e;
  background: #dff7f1;
  font-weight: 950;
}

.tenant-status.status-suspended,
.tenant-status.status-expired {
  color: #9f1239;
  background: #ffe4e6;
}

.tenant-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.tenant-metrics span {
  padding: 12px;
  border: 1px solid #e3edf7;
  border-radius: 14px;
  background: #f8fbff;
}

.tenant-metrics strong,
.tenant-metrics small {
  display: block;
}

.tenant-metrics small {
  margin-top: 3px;
  color: #64748b;
  font-weight: 800;
}

.tenant-warning {
  padding: 10px 12px;
  border-radius: 12px;
  color: #7c2d12;
  background: #fff7ed;
  font-weight: 850;
}

.tenant-details {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e3edf7;
}

.tenant-details summary {
  cursor: pointer;
  color: #0f766e;
  font-weight: 950;
}

.tenant-details form {
  margin-top: 14px;
}

.tenant-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.tenant-action-row form {
  margin: 0;
}

.dev-onboarding-link {
  width: 100%;
  margin-top: 8px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.tenant-suspend-form {
  display: flex;
  gap: 10px;
}

.tenant-audit {
  color: #64748b;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .tenant-form-grid,
  .tenant-filter-bar,
  .tenant-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .tenant-form-grid,
  .tenant-filter-bar,
  .tenant-metrics {
    grid-template-columns: 1fr;
  }

  .tenant-card-head {
    display: grid;
  }
}

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

.form-grid label,
.comment-form label,
.moderation-form label {
  display: grid;
  gap: 8px;
  color: #172033;
  font-weight: 500;
  line-height: 1.35;
}

.form-grid input,
.form-grid textarea,
.form-grid select,
.comment-form input,
.comment-form textarea,
.moderation-form textarea,
.inline-filter input,
.inline-filter select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d6e3f2;
  border-radius: 12px;
  color: #172033;
  background: #fff;
  font: inherit;
  font-weight: 400;
}

.span-2 {
  grid-column: 1 / -1;
}

.large-textarea {
  min-height: 240px;
}

.checkbox-line {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px;
}

.checkbox-line input {
  width: auto;
  min-height: auto;
}

.image-upload {
  display: grid;
  grid-template-columns: minmax(220px, .6fr) 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px dashed #b8d5f1;
  border-radius: 16px;
  background: #f7fbff;
}

.image-upload img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 14px;
}

.sticky-actions {
  position: sticky;
  bottom: 14px;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dbe8f6;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 48px rgba(16,32,51,.12);
}

.list-toolbar,
.inline-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.inline-filter {
  justify-content: flex-end;
}

.blog-article-toolbar {
  align-items: flex-start;
  margin-bottom: 14px;
}

.blog-article-toolbar .admin-kicker {
  margin-bottom: 4px;
}

.blog-filter-panel {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  justify-content: stretch;
  gap: 12px;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid #dbe8f6;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 30px rgba(16,32,51,.06);
}

.blog-filter-head,
.blog-filter-actions,
.blog-advanced-filters summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blog-filter-head h3 {
  margin: 0 0 3px;
  color: #172033;
  font-size: 16px;
}

.blog-filter-head p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
}

.blog-filter-count,
.blog-advanced-filters summary small {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid #b6eee3;
  border-radius: 999px;
  color: #075e54;
  background: #ecfdf8;
  font-size: 12px;
  font-weight: 900;
}

.blog-filter-panel label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 850;
}

.blog-filter-panel input,
.blog-filter-panel select {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.blog-filter-search {
  grid-column: 1 / -1;
}

.blog-advanced-filters {
  display: grid;
  gap: 12px;
  padding-top: 2px;
}

.blog-advanced-filters summary {
  cursor: pointer;
  padding: 8px 10px;
  border: 1px solid #e4edf8;
  border-radius: 12px;
  color: #172033;
  background: #fff;
  font-weight: 900;
  list-style: none;
}

.blog-advanced-filters summary::-webkit-details-marker {
  display: none;
}

.blog-advanced-filters summary::after {
  content: "+";
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: #075e54;
  background: #e6f7f3;
  font-size: 18px;
  line-height: 1;
}

.blog-advanced-filters[open] summary::after {
  content: "-";
}

.blog-filter-row {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.blog-filter-row-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-filter-row-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-filter-actions {
  justify-content: flex-end;
  padding-top: 2px;
}

.blog-filter-actions .admin-button {
  min-height: 40px;
}

.blog-advanced-seo {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid #dbe8f6;
  border-radius: 14px;
  background: #f8fbff;
}

.blog-advanced-seo summary {
  cursor: pointer;
  color: #172033;
  font-weight: 900;
}

.blog-advanced-seo p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.blog-advanced-seo label {
  margin-top: 10px;
}

.blog-article-details-fields {
  gap: 10px;
}

.blog-article-details-fields label {
  gap: 5px;
  font-size: 13px;
}

.blog-article-details-fields input,
.blog-article-details-fields select {
  min-height: 46px;
  height: 46px;
  padding: 9px 12px;
  border-radius: 11px;
}

.blog-article-details-fields .checkbox-line {
  margin-top: 2px;
}

.blog-article-details-fields .checkbox-line input {
  width: 18px;
  height: 18px;
  min-height: 18px;
}

[data-blog-row-message] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: 100%;
  margin: 4px 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
}

[data-blog-row-message][hidden] {
  display: none;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.admin-stat-grid article {
  padding: 18px;
  border: 1px solid #dbe8f6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(16,32,51,.08);
}

.admin-stat-grid span,
.comment-private span {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
}

.admin-stat-grid strong {
  display: block;
  margin-top: 6px;
  color: #172033;
  font-size: 28px;
  line-height: 1;
}

.editor-fieldset {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #dbe8f6;
  border-radius: 18px;
  background: #fff;
}

.editor-fieldset legend {
  padding: 0 8px;
  color: #172033;
  font-size: 18px;
  font-weight: 700;
}

.admin-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.admin-list-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid #dbe8f6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(16,32,51,.08);
}

.admin-list-card img {
  width: 110px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
}

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

.admin-list-card p {
  margin: 8px 0 0;
  color: #64748b;
}

.status-badge,
.menu-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  color: #075e54;
  background: #dff8f2;
  font-size: 12px;
  font-weight: 950;
}

.status-badge.draft {
  color: #475569;
  background: #e2e8f0;
}

.status-badge.scheduled {
  color: #7c2d12;
  background: #ffedd5;
}

.status-badge.archived,
.status-badge.rejected,
.status-badge.spam {
  color: #991b1b;
  background: #fee2e2;
}

.admin-button.danger {
  color: #9f1239;
  border-color: #fecdd3;
  background: #fff1f2;
}

.comment-card {
  grid-template-columns: minmax(0, 1fr) auto minmax(360px, .8fr);
  align-items: start;
}

.moderation-form {
  display: grid;
  gap: 10px;
}

.moderation-form div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.comment-private {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #dbe8f6;
  border-radius: 12px;
  background: #f8fbff;
}

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

.rating-summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #dbe8f6;
  border-radius: 14px;
  background: #fff;
}

.blog-public-page,
.article-public-page {
  --public-header-height: 106px;
  padding-top: 0;
  scroll-padding-top: calc(var(--public-header-height) + 16px);
  color: #172033;
  background: #f4fafb;
}

.blog-public-page [id],
.article-public-page [id] {
  scroll-margin-top: calc(var(--public-header-height) + 16px);
}

.blog-site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
  min-height: 92px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid #dbe8f6;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
}

.blog-site-header .hospital-brand {
  width: 278px;
  min-width: 278px;
}

.blog-site-header .brand-name {
  max-width: 180px;
  font-size: clamp(22px, 2vw, 27px);
  white-space: normal;
}

.blog-site-header .hospital-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: clamp(12px, 1.15vw, 18px);
  min-width: 0;
  white-space: nowrap;
}

.blog-site-header .hospital-nav a,
.blog-back {
  color: #475569;
  font-weight: 950;
  text-decoration: none;
}

.blog-site-header .hospital-nav a {
  position: relative;
  flex: 0 0 auto;
  padding: 8px 0;
}

.blog-site-header .hospital-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.blog-site-header .hospital-nav a:hover::after,
.blog-site-header .hospital-nav a:focus-visible::after,
.blog-site-header .hospital-nav a.active::after {
  transform: scaleX(1);
}

.blog-site-header .hospital-nav a.active {
  color: var(--teal);
}

.blog-back {
  display: inline-flex;
  margin-bottom: 14px;
  color: #0f766e;
}

.blog-hero,
.article-shell,
.blog-list-section,
.article-feedback,
.comments-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.blog-hero {
  padding: clamp(44px, 5vw, 68px) 0 clamp(26px, 3vw, 38px);
}

.blog-hero h1,
.article-shell h1 {
  max-width: 860px;
  margin: 10px 0 12px;
  color: #641419;
  font-family: Georgia, serif;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1;
}

.blog-hero > p:not(.section-kicker) {
  max-width: 720px;
  margin: 0;
  color: #475569;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
}

.medical-note {
  margin: 18px 0;
  padding: 13px 16px;
  border-left: 4px solid #d99735;
  border-radius: 12px;
  color: #475569;
  background: #fffaf0;
  line-height: 1.55;
}

.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 22px;
  padding: 18px 0 58px;
}

.blog-list-grid.article-count-1 {
  grid-template-columns: minmax(420px, 520px);
  justify-content: center;
}

.blog-list-grid.article-count-2 {
  grid-template-columns: repeat(2, minmax(280px, 520px));
  justify-content: center;
}

.featured-blog-card {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: 0;
  margin: 24px 0 34px;
  overflow: hidden;
  border: 1px solid #dbe8f6;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16,32,51,.1);
}

.featured-blog-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.featured-blog-card div {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(26px, 3vw, 38px);
}

.featured-blog-card h2,
.blog-list-heading h2,
.blog-appointment-cta h2,
.related-articles h2 {
  margin: 0;
  color: #641419;
  font-family: Georgia, serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

.featured-blog-card h2 a,
.blog-list-card h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
}

.blog-list-heading span {
  color: #64748b;
  font-weight: 900;
}

.blog-filter {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 220px auto auto;
  align-items: end;
  gap: 14px;
  margin: 18px 0 24px;
  padding: 18px;
  border: 1px solid #dbe8f6;
  border-radius: 18px;
  background: #fff;
}

.blog-filter label {
  display: grid;
  gap: 8px;
  color: #172033;
  font-weight: 900;
}

.blog-search-input {
  position: relative;
  display: block;
}

.blog-search-input::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid #64748b;
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.blog-search-input::after {
  content: "";
  position: absolute;
  left: 27px;
  top: calc(50% + 7px);
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #64748b;
  transform: rotate(45deg);
  pointer-events: none;
}

.blog-filter input,
.blog-filter select,
.blog-filter .btn,
.blog-clear-filter {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #d6e3f2;
  border-radius: 12px;
  font: inherit;
}

.blog-filter input:focus-visible,
.blog-filter select:focus-visible {
  outline: 3px solid rgba(47,112,238,.35);
  outline-offset: 2px;
  border-color: #2f70ee;
}

.blog-clear-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f766e;
  background: #f7fbff;
  font-weight: 950;
  text-decoration: none;
}

.blog-search-input input {
  width: 100%;
  padding-left: 44px;
}

.blog-list-card,
.article-card,
.comment-panel,
.rating-panel,
.approved-comment {
  overflow: hidden;
  border: 1px solid #dbe8f6;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(16,32,51,.08);
}

.blog-list-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.blog-list-card:hover,
.blog-list-card:focus-within {
  border-color: rgba(15,118,110,.28);
  box-shadow: 0 22px 68px rgba(16,32,51,.12);
  transform: translateY(-2px);
}

.blog-list-card.empty-state {
  grid-column: 1 / -1;
}

.blog-list-card img,
.article-hero-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.62), rgba(255,255,255,0)),
    #e9f3f5;
  background-size: 220% 100%, 100% 100%;
  object-fit: cover;
}

.blog-list-card img {
  transition: transform 220ms ease;
}

.blog-list-card:hover img,
.blog-list-card:focus-within img {
  transform: scale(1.025);
}

.blog-list-card div,
.article-card div {
  display: grid;
  gap: 10px;
  flex: 1;
  padding: 20px;
}

.blog-list-card a {
  color: #0f766e;
  font-weight: 950;
}

.blog-pagination {
  margin: -24px 0 58px;
  text-align: center;
}

.article-category-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(15,118,110,.2);
  border-radius: 999px;
  color: #0f766e;
  background: #eefaf8;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.article-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 6px 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.4;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-meta-item::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  opacity: .8;
}

.meta-author::before {
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 -5px 0 currentColor;
}

.meta-date::before {
  border: 2px solid currentColor;
  border-radius: 4px;
  box-shadow: inset 0 4px 0 rgba(100,116,139,.35);
}

.meta-time::before {
  border: 2px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(currentColor, currentColor) 50% 3px / 2px 5px no-repeat,
              linear-gradient(currentColor, currentColor) 50% 50% / 5px 2px no-repeat;
}

.empty-state.blog-list-card {
  min-height: 220px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.empty-state.blog-list-card div {
  max-width: 560px;
  margin: 0 auto;
}

.empty-state.blog-list-card h2 {
  color: #172033;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(24px, 2.6vw, 34px);
}

.article-shell {
  padding: clamp(44px, 5vw, 68px) 0 28px;
}

.article-summary {
  max-width: 760px;
  color: #475569;
  font-size: 21px;
  line-height: 1.6;
}

.article-tags,
.article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.article-share {
  align-items: center;
}

.article-tags span,
.article-share a,
.article-share button,
.share-feedback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #dbe8f6;
  border-radius: 999px;
  background: #fff;
  color: #0f766e;
  font-weight: 950;
  text-decoration: none;
}

.share-label {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #102033;
  font-weight: 950;
}

.article-share button {
  cursor: pointer;
  font: inherit;
}

.share-feedback {
  color: #102033;
  background: #ecfdf8 !important;
  border-color: #bceade !important;
}

.share-feedback:empty {
  display: none;
}

.article-body {
  max-width: 740px;
  padding: 30px 0;
  color: #475569;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.article-body p {
  margin: 0 0 1.1em;
}

.article-body h2,
.article-body h3 {
  margin: 34px 0 12px;
  color: #102033;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.18;
}

.article-body h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.article-body h3 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.article-body ul,
.article-body ol {
  padding-left: 1.35em;
}

.article-body li + li {
  margin-top: 8px;
}

.article-body blockquote,
.article-callout {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid #d99735;
  border-radius: 16px;
  background: #fffaf0;
  color: #102033;
  font-weight: 800;
}

.article-body a {
  color: #0f766e;
  font-weight: 900;
  text-underline-offset: 3px;
}

.service-detail-page {
  background: #eef8f8;
  color: #102033;
}

.service-detail-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(44px, 5vw, 68px) 0 34px;
}

.service-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.service-detail-copy h1 {
  max-width: 760px;
  margin: 10px 0 16px;
  color: #641419;
  font-family: Georgia, serif;
  font-size: clamp(46px, 6.4vw, 82px);
  line-height: .98;
}

.service-detail-summary {
  max-width: 680px;
  margin: 0;
  color: #526987;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.58;
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.service-detail-actions .btn,
.service-detail-panel .btn {
  min-height: 48px;
  text-decoration: none;
}

.service-detail-actions .btn-outline {
  background: #fff;
  border-color: #dbe8f6;
  color: #102033;
}

.service-detail-page .btn-teal {
  background: #0f766e;
  color: #fff;
}

.service-detail-image-wrap {
  overflow: hidden;
  border: 1px solid #d5e5f0;
  border-radius: 28px;
  background: #dfeff0;
  box-shadow: 0 24px 70px rgba(16,32,51,.12);
}

.service-detail-image-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
  margin-top: clamp(34px, 5vw, 56px);
}

.service-detail-main,
.service-detail-panel,
.service-benefits article {
  border: 1px solid #dbe8f6;
  border-radius: 24px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 54px rgba(16,32,51,.08);
}

.service-detail-main,
.service-detail-panel {
  padding: clamp(24px, 3vw, 34px);
}

.service-detail-main h2,
.service-detail-panel h2,
.service-benefits h2 {
  margin: 0 0 14px;
  color: #102033;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(25px, 2.8vw, 36px);
  line-height: 1.12;
}

.service-detail-main p,
.service-detail-panel p {
  margin: 0;
  color: #526987;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.72;
}

.service-detail-panel {
  display: grid;
  gap: 16px;
}

.service-benefits {
  margin-top: clamp(32px, 5vw, 54px);
}

.service-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.service-benefits article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 18px;
}

.service-benefits article span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: #e4f8f4;
  color: #0f766e;
  font-weight: 950;
}

.service-benefits article p {
  margin: 0;
  color: #475569;
  font-weight: 800;
  line-height: 1.55;
}

.related-services {
  padding-top: 8px;
}

.article-body figure {
  margin: 26px 0;
}

.article-body figure img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
}

.article-body figcaption {
  margin-top: 8px;
  color: #64748b;
  font-size: 15px;
  font-weight: 800;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid #dbe8f6;
  border-radius: 16px;
}

.article-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.article-table-wrap td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5eef8;
}

.article-feedback,
.comments-section {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0 64px;
}

.rating-panel,
.comment-panel,
.approved-comment {
  padding: 24px;
}

.rating-panel {
  align-self: start;
}

.rating-panel h2,
.comment-panel h2 {
  margin: 0 0 8px;
}

.rating-summary,
.field-help,
.char-counter,
.comment-list-heading p {
  margin: 0;
  color: #64748b;
  font-weight: 800;
}

.rating-fieldset {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 0;
  border: 0;
}

.star-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.star-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid #dbe8f6;
  border-radius: 14px;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  font-size: 30px;
  font-weight: 900;
}

.star-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.star-button:hover,
.star-button.is-active {
  border-color: #d99735;
  color: #d99735;
  background: #fffaf0;
}

.star-button:has(input:focus-visible) {
  outline: 3px solid rgba(47,112,238,.45);
  outline-offset: 3px;
}

.rating-help-text {
  min-height: 24px;
  color: #102033;
  font-weight: 950;
}

.rating-submit:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.comment-form {
  display: grid;
  gap: 16px;
}

.comment-form label {
  display: grid;
  gap: 8px;
  color: #102033;
  font-weight: 950;
}

.comment-form input,
.comment-form textarea {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d6e3f2;
  border-radius: 12px;
  color: #102033;
  font: inherit;
}

.comment-form input.input-validation-error,
.comment-form textarea.input-validation-error {
  border-color: #fb7185;
  background: #fff7f8;
}

.comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

.comment-form input:focus-visible,
.comment-form textarea:focus-visible,
.article-share a:focus-visible,
.article-share button:focus-visible,
.blog-appointment-cta a:focus-visible {
  outline: 3px solid rgba(47,112,238,.45);
  outline-offset: 3px;
}

.required-label,
.optional-label {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.required-label {
  color: #9f1239;
}

.field-validation {
  color: #9f1239;
  font-size: 13px;
  font-weight: 900;
}

.comment-warning {
  padding: 12px 14px;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  background: #fff7ed;
  color: #7c2d12;
  font-weight: 850;
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkbox-line {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 12px !important;
}

.checkbox-line input {
  min-width: 24px;
  min-height: 24px;
  margin-top: 2px;
}

.form-message {
  padding: 12px 14px;
  border-radius: 12px;
  background: #ecfdf8;
  color: #075e54;
  font-weight: 900;
  line-height: 1.5;
}

.approved-comments {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.approved-comments article {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid #dbe8f6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16,32,51,.05);
}

.comment-list-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0;
}

.comment-meta strong {
  color: #102033;
  font-size: 18px;
  line-height: 1.25;
}

.comment-meta time,
.approved-comments small {
  color: #64748b;
  font-size: 14px;
  font-weight: 900;
}

.comment-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  color: #d99735;
  font-weight: 950;
}

.comment-rating span {
  letter-spacing: .08em;
  line-height: 1;
}

.comment-rating small {
  color: #475569;
}

.comment-text {
  margin: 0;
  color: #243449;
  font-size: 16px;
  line-height: 1.65;
}

.comment-empty {
  padding: 20px;
  border: 1px dashed #c7d7ea;
  border-radius: 18px;
  color: #64748b;
  background: linear-gradient(180deg, #fff, #f8fbff);
  font-weight: 850;
  line-height: 1.55;
}

.clinic-reply {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: #f4fafb;
}

.article-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, calc(100% - 48px));
  margin: -32px auto 64px;
}

.article-pager a {
  display: grid;
  gap: 8px;
  min-height: 72px;
  padding: 18px;
  border: 1px solid #dbe8f6;
  border-radius: 18px;
  color: #0f766e;
  background: #fff;
  box-shadow: 0 18px 60px rgba(16,32,51,.08);
  text-decoration: none;
}

.article-pager a .pager-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 15px;
  font-weight: 950;
}

.article-pager a .pager-label span {
  color: #0f766e;
  font-size: 18px;
  line-height: 1;
}

.article-pager a strong {
  color: #0f766e;
  line-height: 1.35;
}

.article-pager a:hover,
.article-pager a:focus-visible {
  border-color: rgba(15,118,110,.32);
  box-shadow: 0 22px 68px rgba(16,32,51,.12);
  outline: none;
  transform: translateY(-1px);
}

.blog-appointment-cta,
.related-articles {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 72px;
}

.blog-appointment-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(26px, 3vw, 34px);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(120deg, #641419, #102033);
}

.article-pager + .blog-appointment-cta {
  margin-top: 20px;
}

.blog-appointment-cta > div {
  max-width: 760px;
}

.blog-appointment-cta .section-kicker,
.blog-appointment-cta h2 {
  color: #fff;
}

.blog-appointment-cta p {
  color: rgba(255,255,255,.9);
}

.blog-appointment-cta .btn {
  min-height: 48px;
  color: #102033;
}

.blog-footer {
  display: block;
  width: 100%;
  margin-top: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 120px),
    #102033;
}

.blog-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(170px, max-content) minmax(240px, 1fr);
  gap: clamp(44px, 5vw, 76px);
  align-items: start;
  width: min(100%, 1180px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 5vw, 64px) clamp(24px, 4vw, 40px) clamp(34px, 3.6vw, 44px);
}

.blog-footer .footer-about,
.blog-footer .footer-links,
.blog-footer .footer-contact {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.blog-footer .footer-links,
.blog-footer .footer-contact {
  gap: 14px;
}

.blog-footer .footer-links h2,
.blog-footer .footer-contact h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.blog-footer .footer-about p,
.blog-footer .footer-links a,
.blog-footer .footer-contact a {
  color: #c9d7e2;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.65;
}

.blog-footer .footer-about p {
  max-width: 380px;
  margin: 18px 0 0;
}

.blog-footer .footer-links a,
.blog-footer .footer-contact a {
  text-decoration: none;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.blog-footer .footer-links a:hover,
.blog-footer .footer-links a:focus-visible,
.blog-footer .footer-contact a:hover,
.blog-footer .footer-contact a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.blog-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  background: #0b1726;
}

.blog-footer .footer-bottom-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 18px clamp(24px, 4vw, 40px);
  color: #a9bac7;
  font-size: 13px;
  font-weight: 700;
}

.related-articles {
  padding-top: 24px;
}

@media (max-width: 980px) {
  .form-grid,
  .image-upload,
  .blog-list-grid,
  .blog-filter,
  .featured-blog-card,
  .article-feedback,
  .comments-section,
  .admin-list-card,
  .comment-card,
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .blog-site-header {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 24px;
  }

  .blog-site-header .hospital-brand {
    min-width: 0;
    white-space: normal;
  }

  .blog-site-header .hospital-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    white-space: normal;
  }

  .blog-public-page,
  .article-public-page {
    --public-header-height: 92px;
  }

  .blog-filter {
    grid-template-columns: 1fr;
  }

  .featured-blog-card div {
    align-content: start;
  }

  .blog-footer .footer-main {
    grid-template-columns: 1fr;
  }

  .blog-footer .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .admin-list-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

/* Neutral Site Manager admin interface */
:root {
  --admin-primary: #3478F6;
  --admin-primary-dark: #1E5BD7;
  --admin-light-blue: #EEF6FF;
  --admin-teal: #0F766E;
  --admin-accent: #168779;
  --admin-gold: #F5B841;
  --admin-page: #F3F8FD;
  --admin-surface: #FFFFFF;
  --admin-ink: #182438;
  --admin-muted: #61718B;
  --admin-border: #DCE7F2;
  --admin-soft: #F7FAFE;
  --admin-shadow: 0 8px 28px rgba(31, 65, 104, .07);
  --admin-focus: 0 0 0 4px rgba(52, 120, 246, .18);
  --admin-z-content: 1;
  --admin-z-sticky: 30;
  --admin-z-header: 70;
  --admin-z-dropdown: 140;
  --admin-z-modal: 220;
  --admin-z-toast: 240;
  --admin-burgundy: var(--admin-primary);
  --admin-burgundy-dark: var(--admin-primary-dark);
  --admin-cream: var(--admin-page);
}

.admin-layout,
body.admin-shell,
.visual-editor-shell {
  min-height: 100vh;
  color: var(--admin-ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(238,246,255,.9)),
    var(--admin-page);
}

body.admin-shell {
  display: grid;
  grid-template-columns: 322px minmax(0, 1fr);
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  transition: grid-template-columns .2s ease;
}

.admin-layout {
  display: grid;
  grid-template-columns: 322px minmax(0, 1fr);
  transition: grid-template-columns .2s ease;
}

body.admin-sidebar-collapsed.admin-shell,
body.admin-sidebar-collapsed .admin-layout {
  grid-template-columns: 0 minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  z-index: 30;
  align-self: start;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100vh;
  max-height: 100vh;
  padding: 24px 17px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-right: 1px solid var(--admin-border);
  background: rgba(255,255,255,.88);
  box-shadow: 10px 0 30px rgba(31,65,104,.04);
  backdrop-filter: blur(18px);
  transition: opacity .18s ease, transform .2s ease, padding .2s ease, border-color .18s ease, box-shadow .18s ease;
}

body.admin-sidebar-collapsed .admin-sidebar {
  overflow: hidden;
  padding-right: 0;
  padding-left: 0;
  border-right-color: transparent;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-16px);
  box-shadow: none;
}

.admin-sidebar {
  scrollbar-width: none;
}

.admin-sidebar::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.admin-brand {
  min-height: auto;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  text-decoration: none;
  transition: background-color .18s ease, box-shadow .18s ease;
}

.admin-brand:hover {
  background: var(--admin-light-blue);
}

.admin-brand .admin-logo,
.admin-brand > span:first-child:not(:last-child),
.admin-logo {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--admin-primary), var(--admin-accent));
  box-shadow: 0 12px 24px rgba(52,120,246,.18);
  font-weight: 950;
}

.admin-brand strong {
  color: var(--admin-ink);
  font-size: 16px;
  line-height: 1.1;
}

.admin-brand-copy,
.admin-brand > span:last-child,
.admin-brand > div {
  min-width: 0;
}

.admin-brand small,
.admin-brand em {
  display: block;
  margin-top: 3px;
  color: var(--admin-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-brand em {
  color: var(--admin-muted);
  letter-spacing: .08em;
  text-transform: none;
}

.admin-brand b {
  display: block;
  margin-top: 3px;
  color: var(--admin-ink);
  max-width: 100%;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.22;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-brand i {
  display: block;
  max-width: 100%;
  overflow: hidden;
  margin-top: 2px;
  color: var(--admin-muted);
  font-size: 11.5px;
  font-style: normal;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-site-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
  color: var(--admin-muted);
  font-size: 11px;
  line-height: 1.2;
}

.admin-site-meta > span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 7px;
  border: 1px solid var(--admin-border);
  border-radius: 999px;
  background: #fff;
}

.admin-site-status {
  color: #0f766e !important;
  border-color: rgba(15,118,110,.22) !important;
  background: #ecfdf8 !important;
}

.admin-site-status.sales-demo,
.status-badge.sales-demo {
  color: #7a4d00 !important;
  border-color: #f6d98d !important;
  background: #fff3cd !important;
}

.admin-demo-notice {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid #b7eadf;
  border-radius: 12px;
  background: #e9fbf7;
  color: #075f55;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.admin-demo-notice.warning {
  border-color: #f1c3c3;
  background: #fff2f2;
  color: #8a1f1f;
}

.admin-search {
  display: block;
  margin: 16px 0 19px;
  padding: 0;
  border: 0;
  background: transparent;
}

.admin-search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.admin-search input,
input.admin-search {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px 10px 40px;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  color: var(--admin-ink);
  background:
    linear-gradient(currentColor, currentColor) 16px 21px / 12px 1.8px no-repeat,
    radial-gradient(circle at 21px 17px, transparent 5px, currentColor 5.5px, currentColor 6.7px, transparent 7.2px) 0 0 / 38px 38px no-repeat,
    #fff;
  font: inherit;
  font-weight: 500;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.admin-menu {
  display: grid;
  gap: 4px;
}

.admin-menu-label {
  margin: 18px 10px 7px;
  padding-top: 8px;
  border-top: 1px solid rgba(214,227,242,.72);
  color: #647086;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: none;
}

.admin-menu-label:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.admin-menu a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 10px 12px 10px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #3F4654;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.admin-menu a::before,
.module-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  opacity: .88;
  background: currentColor;
  mask: var(--admin-icon, linear-gradient(#000 0 0)) center / contain no-repeat;
}

.admin-menu a[data-icon="dashboard"],
.module-icon[data-icon="dashboard"] { --admin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M3 13h8V3H3zM13 21h8V11h-8zM13 3v6h8V3zM3 21h8v-6H3z'/%3E%3C/svg%3E"); }
.admin-menu a[data-icon="edit"],
.module-icon[data-icon="edit"] { --admin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E"); }
.admin-menu a[data-icon="stethoscope"],
.module-icon[data-icon="stethoscope"] { --admin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 3v5a4 4 0 0 0 8 0V3M6 3H4m10 0h2M10 15a6 6 0 0 0 12 0v-3'/%3E%3Ccircle cx='20' cy='10' r='2'/%3E%3C/svg%3E"); }
.admin-menu a[data-icon="user"],
.module-icon[data-icon="user"] { --admin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.admin-menu a[data-icon="image"],
.module-icon[data-icon="image"] { --admin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='8.5' cy='10' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E"); }
.admin-menu a[data-icon="quote"],
.module-icon[data-icon="quote"] { --admin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M3 21c3 0 7-2 7-8V5H3v8h4c0 3-1 5-4 5zM14 21c3 0 7-2 7-8V5h-7v8h4c0 3-1 5-4 5z'/%3E%3C/svg%3E"); }
.admin-menu a[data-icon="help"],
.module-icon[data-icon="help"] { --admin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.1 9a3 3 0 1 1 5.8 1c-.8 1.4-2.9 1.6-2.9 3.5M12 17h.01'/%3E%3C/svg%3E"); }
.admin-menu a[data-icon="file"],
.module-icon[data-icon="file"] { --admin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E"); }
.admin-menu a[data-icon="message"],
.module-icon[data-icon="message"] { --admin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E"); }
.admin-menu a[data-icon="calendar"],
.module-icon[data-icon="calendar"] { --admin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); }
.admin-menu a[data-icon="map"],
.module-icon[data-icon="map"] { --admin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M9 18 3 21V6l6-3 6 3 6-3v15l-6 3-6-3Z'/%3E%3Cpath d='M9 3v15M15 6v15'/%3E%3C/svg%3E"); }
.admin-menu a[data-icon="settings"],
.module-icon[data-icon="settings"] { --admin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 15.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.9l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.9-.3 1.7 1.7 0 0 0-1 1.6V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.6 1.7 1.7 0 0 0-1.9.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1A1.7 1.7 0 0 0 4.6 15a1.7 1.7 0 0 0-1.6-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.6-1 1.7 1.7 0 0 0-.3-1.9l-.1-.1A2 2 0 1 1 7.1 4.2l.1.1a1.7 1.7 0 0 0 1.9.3h.1a1.7 1.7 0 0 0 1-1.6V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.6h.1a1.7 1.7 0 0 0 1.9-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.9v.1a1.7 1.7 0 0 0 1.6 1h.1a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.9 1Z'/%3E%3C/svg%3E"); }
.admin-menu a[data-icon="external"],
.module-icon[data-icon="external"] { --admin-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M15 3h6v6M10 14 21 3M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E"); }

.admin-menu a:hover {
  color: var(--admin-primary-dark);
  border-color: rgba(52,120,246,.14);
  background: rgba(232,242,255,.72);
}

.admin-menu a.search-match {
  color: var(--admin-primary-dark);
  border-color: rgba(52,120,246,.18);
}

.admin-menu a.active {
  color: var(--admin-primary-dark);
  border-color: rgba(52,120,246,.16);
  background: rgba(232,242,255,.64);
  box-shadow: 0 8px 18px rgba(52,120,246,.06);
  font-weight: 650;
}

.admin-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 4px;
  border-radius: 999px;
  background: var(--admin-accent);
}

.admin-menu a.active .menu-badge {
  color: var(--admin-primary-dark);
  background: #fff;
}

.admin-sidebar.admin-menu-no-results::after {
  content: attr(data-search-empty-text);
  display: block;
  margin: 14px 10px 0;
  padding: 12px;
  border: 1px dashed var(--admin-border);
  border-radius: 12px;
  color: var(--admin-muted);
  background: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 750;
}

.admin-breadcrumb a[href="/admin"]:first-child {
  display: none;
}

.admin-breadcrumb a[href="/admin"]:first-child + span::before {
  content: none;
}

.admin-breadcrumb a[href="/admin"]:first-child + a {
  color: var(--admin-teal);
}

.admin-menu a:focus-visible,
.admin-button:focus-visible,
.menu-chip:focus-visible,
.profile-menu summary:focus-visible,
.profile-menu-link:focus-visible,
.profile-menu-panel button:focus-visible,
.preview-mode-tabs button:focus-visible,
.image-dropzone:focus-visible,
.visual-field input:focus-visible,
.visual-field textarea:focus-visible,
.visual-field select:focus-visible,
.form-grid input:focus-visible,
.form-grid textarea:focus-visible,
.form-grid select:focus-visible,
.settings-form input:focus-visible,
.settings-form textarea:focus-visible,
.settings-form select:focus-visible,
.admin-search input:focus-visible,
input.admin-search:focus-visible {
  outline: 0;
  box-shadow: var(--admin-focus);
}

.admin-panel,
.admin-main {
  min-width: 0;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 22px 32px 48px;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: var(--admin-z-header);
  min-height: 64px;
  margin: -22px -32px 24px;
  padding: 12px 32px;
  border-bottom: 1px solid var(--admin-border);
  background: rgba(243,248,253,.9);
  overflow: visible;
  backdrop-filter: blur(14px);
}

.topbar-left,
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-actions {
  gap: 12px;
  justify-content: flex-end;
}

.admin-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-breadcrumb a {
  color: var(--admin-teal);
  text-decoration: none;
}

.admin-breadcrumb span::before {
  content: "/";
  margin-right: 7px;
  color: #B09AA2;
}

.menu-chip,
.admin-icon {
  display: inline-flex;
  min-width: 34px;
  min-height: 34px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  color: #647086;
  background: rgba(255,255,255,.86);
  cursor: pointer;
}

.admin-icon {
  display: inline-flex;
  min-width: 40px;
  min-height: 38px;
  border-radius: 12px;
  color: var(--admin-primary);
  background: #fff;
}

.admin-topbar > strong,
.topbar-left strong {
  color: var(--admin-ink);
  font-size: 15px;
}

.profile-menu {
  position: relative;
}

.profile-menu summary {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(52,120,246,.16);
  border-radius: 999px;
  color: #fff;
  background: var(--admin-primary);
  cursor: pointer;
  font-weight: 950;
  list-style: none;
}

.profile-menu summary::-webkit-details-marker {
  display: none;
}

.profile-menu > div,
.profile-menu-panel {
  display: grid;
  gap: 10px;
  min-width: 220px;
  padding: 14px;
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--admin-shadow);
  z-index: var(--admin-z-dropdown);
}

.profile-menu > div {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
}

.profile-menu-panel {
  position: fixed;
  right: auto;
  top: auto;
}

.profile-menu-panel[hidden] {
  display: none;
}

.profile-menu form,
.profile-menu-panel form {
  margin: 0;
}

.profile-menu strong,
.profile-menu-panel strong {
  color: var(--admin-ink);
  font-size: 14px;
  font-weight: 900;
}

.profile-menu button,
.profile-menu-panel button,
.profile-menu-link {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  color: var(--admin-primary-dark);
  background: var(--admin-light-blue);
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  text-decoration: none;
}

.profile-menu button:hover,
.profile-menu-panel button:hover,
.profile-menu-link:hover {
  border-color: rgba(52,120,246,.24);
  background: #fff;
}

.admin-button {
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 14px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}

.admin-button:hover {
  transform: translateY(-1px);
}

.admin-button.is-loading {
  cursor: wait;
  opacity: .88;
  pointer-events: none;
  transform: none;
}

.admin-button.is-loading::before {
  content: "";
  width: 1em;
  height: 1em;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  flex: 0 0 auto;
  animation: admin-button-spin .75s linear infinite;
}

@keyframes admin-button-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-button.is-loading::before {
    animation: none;
  }
}

.admin-button.primary,
.btn-primary {
  color: #fff;
  background: var(--admin-primary);
  box-shadow: 0 14px 28px rgba(52,120,246,.18);
}

.admin-button.ghost {
  color: var(--admin-ink);
  background: #fff;
  border-color: var(--admin-border);
}

.admin-button.soft {
  color: var(--admin-primary-dark);
  background: var(--admin-light-blue);
  border-color: #CFE3FF;
}

.admin-button.danger,
.btn-danger {
  color: #9f1239;
  border-color: #fecdd3;
  background: #fff1f2;
}

.admin-welcome-card,
.admin-hero-card,
.admin-hero.compact,
.admin-card,
.editor-card,
.settings-form,
.editor-fieldset,
.section-navigator,
.section-edit-panel,
.live-preview-panel,
.tenant-card,
.tenant-filter-bar,
.tenant-create-card {
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--admin-shadow);
}

.admin-welcome-card,
.admin-hero-card,
.admin-hero.compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 26px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.96) 58%, rgba(238,246,255,.96) 100%),
    radial-gradient(circle at 100% 0, rgba(52,120,246,.14), transparent 36%);
}

.admin-welcome-card h1,
.admin-hero-card h1,
.admin-hero.compact h1,
.admin-title h1 {
  margin: 5px 0 9px;
  color: var(--admin-ink);
  font-family: Inter, Segoe UI, Arial, sans-serif;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.08;
}

.admin-welcome-card p,
.admin-hero-card p,
.admin-hero.compact p,
.admin-title p {
  color: var(--admin-muted);
  font-size: 16px;
}

.admin-kicker {
  color: var(--admin-primary);
  font-size: 12px;
  letter-spacing: .14em;
}

.website-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.website-meta div {
  min-width: min(100%, 152px);
  max-width: 260px;
  padding: 10px 12px;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  background: #fff;
}

.website-meta dt,
.website-meta dd {
  margin: 0;
}

.website-meta dt {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 850;
}

.website-meta dd {
  margin-top: 3px;
  color: var(--admin-ink);
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  min-width: 260px;
}

.dashboard-completion {
  display: grid;
  gap: 14px;
  margin: 18px 0 24px;
  padding: 18px;
}

.dashboard-completion h2 {
  margin: 2px 0 4px;
}

.dashboard-completion span {
  color: var(--admin-muted);
  font-weight: 850;
}

.dashboard-completion-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef7;
}

.dashboard-completion-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--admin-primary);
}

.admin-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 26px 0 14px;
}

.admin-section-head h2,
.admin-card h2,
.list-toolbar h2 {
  margin: 0;
  color: var(--admin-ink);
  font-size: 24px;
}

.admin-section-head > span {
  color: var(--admin-muted);
  font-weight: 850;
}

.admin-module-grid,
.premium-dashboard-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}

.admin-module-grid a,
.dashboard-module-card {
  position: relative;
  min-width: 0;
  min-height: 176px;
  padding: 18px;
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  color: var(--admin-ink);
  background: #fff;
  box-shadow: 0 8px 28px rgba(31,65,104,.07);
  text-decoration: none;
}

.dashboard-module-card {
  display: grid;
  align-content: start;
  gap: 7px;
}

.admin-module-grid a:hover,
.dashboard-module-card:hover {
  border-color: rgba(52,120,246,.24);
  box-shadow: 0 14px 36px rgba(31,65,104,.1);
  transform: translateY(-2px);
}

.dashboard-module-card .module-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--admin-teal);
  background: #EAF7F4;
}

.dashboard-module-card .module-icon::before {
  margin: auto;
}

.dashboard-module-card small,
.dashboard-module-card em,
.dashboard-module-card .module-status {
  color: var(--admin-muted);
  font-style: normal;
  font-weight: 800;
}

.dashboard-module-card strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
}

.dashboard-module-card b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--admin-primary);
  font-size: 28px;
  line-height: 1;
}

.dashboard-module-card small,
.dashboard-module-card .module-status {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-module-card em {
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
}

.dashboard-module-card .module-status {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--admin-border);
  font-size: 13px;
}

.dashboard-lower-grid {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(320px, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.admin-card {
  padding: 20px;
}

.empty-copy {
  margin: 0;
  color: var(--admin-muted);
  font-weight: 800;
  line-height: 1.6;
}

.attention-list,
.activity-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.attention-list a,
.activity-list li {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
}

.attention-list span,
.activity-list span,
.activity-list time {
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 800;
}

.activity-list strong,
.activity-list time {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-list span {
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.45;
}

.status-badge {
  color: #075e54;
  background: #E4F7F2;
}

.status-badge.published {
  color: #075e54;
  background: #DFF8F2;
}

.status-badge.draft {
  color: #6A3B09;
  background: #FFF3D0;
}

.notice,
.admin-alert.success {
  border-color: #B6EEE3;
  border-radius: 12px;
  color: #075e54;
  background: #ECFDF8;
}

.client-chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #CFE3FF;
  border-radius: 999px;
  color: var(--admin-primary-dark);
  background: var(--admin-light-blue);
  font-size: 13px;
  font-weight: 900;
}

.client-chip::before {
  content: "Currently managing";
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: start;
  border: 1px solid var(--admin-border);
  background: #fff;
}

.admin-alert::before {
  content: "i";
  display: grid;
  width: 22px;
  height: 22px;
  grid-row: 1 / span 2;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--admin-primary);
  font-size: 13px;
  font-weight: 950;
}

.admin-alert strong {
  display: block;
  color: var(--admin-ink);
}

.admin-alert span,
.admin-alert div {
  color: inherit;
  font-weight: 800;
}

.admin-alert ul {
  margin: 0;
  padding-left: 18px;
}

.admin-alert.success::before {
  content: "✓";
  background: var(--admin-accent);
}

.admin-alert.danger::before {
  content: "!";
  background: #D92D20;
}

.admin-alert.warning {
  color: #92400E;
  border-color: #FEDF89;
  background: #FFFAEB;
}

.admin-alert.warning::before {
  content: "!";
  background: #DC6803;
}

.table-wrap,
.admin-table,
.admin-list-card,
.rating-summary-list div {
  border-color: var(--admin-border);
}

.form-grid input,
.form-grid textarea,
.form-grid select,
.comment-form input,
.comment-form textarea,
.moderation-form textarea,
.inline-filter input,
.inline-filter select,
.visual-field input,
.visual-field textarea,
.visual-field select,
.editor-card input,
.editor-card textarea,
.settings-form input,
.settings-form textarea,
.settings-form select,
.admin-table input,
.admin-table select {
  border-color: var(--admin-border);
  border-radius: 11px;
  background: #fff;
}

.admin-stat-grid article,
.admin-list-card,
.blog-list-card,
.article-card,
.comment-panel,
.rating-panel,
.approved-comment {
  border-color: var(--admin-border);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(53,16,28,.055);
}

.admin-stat-grid strong {
  color: var(--admin-primary);
}

.editor-sticky-actions {
  top: 64px;
  border-color: var(--admin-border);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--admin-shadow);
}

.preview-mode-tabs {
  border-color: var(--admin-border);
  background: #FFFDFB;
}

.preview-mode-tabs button.active {
  background: var(--admin-primary);
}

.section-nav-card {
  border-color: var(--admin-border);
  border-radius: 13px;
  background: #FFFDFB;
}

.section-nav-card.active,
.section-nav-card:hover {
  border-color: rgba(52,120,246,.22);
  background: var(--admin-light-blue);
}

.image-dropzone {
  border-color: #DECFC5;
  border-radius: 16px;
  background: #FFFDFB;
}

.image-dropzone.drag-over {
  border-color: var(--admin-teal);
  background: #ECFDF8;
}

.global-content-notice {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  background: linear-gradient(135deg, #FFFDFB, #F3FAFF);
}

.global-content-notice span,
.module-summary span,
.module-summary small,
.module-note,
.module-record-card span,
.module-record-card p {
  color: var(--admin-muted);
}

.global-content-notice h3 {
  margin: 4px 0 6px;
  color: var(--admin-primary);
  font-size: 1.1rem;
}

.global-content-notice p {
  margin: 0;
  max-width: 680px;
  color: var(--admin-text);
}

.global-content-notice dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: 10px;
  margin: 0;
}

.global-content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.homepage-layout-summary {
  display: grid;
  gap: 16px;
  grid-column: 1 / -1;
}

.homepage-layout-summary dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.homepage-layout-summary div {
  padding: 14px;
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  background: #FFFDFB;
}

.homepage-layout-summary dt {
  color: var(--admin-muted);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.homepage-layout-summary dd {
  margin: 4px 0 0;
  color: var(--admin-primary);
  font-weight: 800;
}

.global-content-notice dl div,
.module-summary {
  padding: 12px;
  border: 1px solid rgba(20, 184, 166, .22);
  border-radius: 14px;
  background: rgba(236, 253, 248, .72);
}

.global-content-notice dt {
  font-size: .72rem;
  color: var(--admin-muted);
}

.global-content-notice dd,
.module-summary strong {
  margin: 0;
  color: var(--admin-primary);
  font-weight: 800;
}

.module-hero-card {
  margin-bottom: 22px;
}

.module-summary {
  min-width: 190px;
}

.module-summary strong {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
}

.module-management-card {
  padding: 22px;
}

.module-note {
  margin: 0 0 18px;
}

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

.module-record-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  min-height: 112px;
  padding: 12px;
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  background: #FFFDFB;
}

.module-record-card img {
  width: 78px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
}

.module-record-card strong,
.module-record-card span,
.module-record-card p {
  display: block;
}

.module-record-card p {
  margin: 6px 0 0;
  font-size: .86rem;
  line-height: 1.45;
}

.module-visibility-alert {
  margin: 16px 0 18px;
}

.module-visibility-alert p {
  margin: 0 0 8px;
}

.module-alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.module-record-title-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.module-record-title-row .status-badge {
  flex: 0 0 auto;
  text-transform: none;
  letter-spacing: 0;
}

.status-badge.public {
  color: #047857;
  background: #D1FAE5;
}

.status-badge.hidden,
.status-badge.setup-required {
  color: #92400E;
  background: #FEF3C7;
}

.status-badge.sample-content {
  color: #475467;
  background: #EEF2F6;
}

.module-record-card:has(.module-record-title-row .status-badge) .module-record-title-row + span:not(.module-record-order) {
  display: none;
}

.module-record-order {
  margin-top: 3px;
  color: #5D6F85;
  font-weight: 800;
}

.module-record-note {
  padding: 10px 12px;
  border: 1px solid #FEDF89;
  border-radius: 10px;
  color: #92400E;
  background: #FFFAEB;
}

.module-record-note strong {
  display: inline;
  margin-right: 4px;
}

.appointment-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.appointment-detail-grid article {
  min-height: 108px;
  padding: 14px;
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  background: #FFFDFB;
}

.appointment-detail-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--admin-muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.appointment-detail-grid strong {
  display: block;
  color: var(--admin-primary);
  overflow-wrap: anywhere;
}

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

.appointment-hours .module-record-card {
  grid-template-columns: 1fr;
  min-height: auto;
}

.focused-edit-layout,
.homepage-display-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 18px;
  align-items: start;
}

.focused-edit-card h1 {
  margin: 0;
  color: var(--admin-primary);
  font-size: 1.8rem;
}

.focused-form-grid {
  display: grid;
  gap: 14px;
}

.focused-form-grid .visual-field,
.focused-form-grid .focused-switch {
  margin: 0;
}

.focused-switch {
  justify-content: flex-start;
  padding: 14px;
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  background: #FFFDFB;
}

.sticky-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--admin-border);
}

.focused-preview-card {
  position: sticky;
  top: 84px;
  padding: 16px;
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  background: #FFFDFB;
  box-shadow: var(--admin-shadow);
}

.treatment-preview-card,
.treatments-section-preview {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  background: #F7FCFF;
}

.treatment-preview-card img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.treatment-preview-card h2,
.treatments-section-preview h2 {
  margin: 0;
  color: var(--admin-primary);
}

.record-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.admin-button.danger {
  border-color: rgba(162, 44, 72, .22);
  color: var(--admin-primary);
  background: #FFF1F3;
}

.section-preview-frame {
  width: 100%;
  overflow: auto;
  transition: max-width .18s ease;
}

.section-preview-frame.tablet {
  max-width: 760px;
  margin-inline: auto;
}

.section-preview-frame.mobile {
  max-width: 390px;
  margin-inline: auto;
}

.section-preview-frame.mobile .service-grid,
.section-preview-frame.tablet .service-grid {
  grid-template-columns: 1fr;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.office-location-layout {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.office-location-list,
.office-location-editor {
  min-width: 0;
}

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

.office-location-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  background: #fff;
}

.office-location-card.selected {
  border-color: rgba(15,118,110,.35);
  background: #f1fbfa;
  box-shadow: inset 3px 0 0 var(--admin-accent);
}

.office-location-card strong,
.office-location-card span,
.office-location-card em {
  display: block;
}

.office-location-card strong {
  color: var(--admin-ink);
  font-weight: 950;
}

.office-location-card span,
.office-location-card p {
  color: var(--admin-muted);
}

.office-location-card p {
  margin: 6px 0 0;
  line-height: 1.45;
}

.office-location-card em {
  width: fit-content;
  margin-top: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #047857;
  background: #dff8f1;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.office-location-form {
  display: grid;
  gap: 16px;
}

.location-capture-card,
.location-map-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px dashed rgba(52,120,246,.32);
  border-radius: 14px;
  background: #f8fbff;
}

.location-capture-card .admin-button {
  justify-content: center;
  width: 100%;
}

.location-capture-card p,
.location-map-card span {
  margin: 0;
  color: var(--admin-muted);
  font-weight: 800;
}

.location-map-card iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 12px;
  background: #eef5fb;
}

.location-map-card iframe[hidden] {
  display: none;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(20, 184, 166, .35);
  border-radius: 999px;
  color: var(--admin-primary);
  background: #ECFDF8;
  font-weight: 800;
  text-decoration: none;
}

.shared-image-uploader {
  display: grid;
  gap: 12px;
}

.image-uploader-head {
  display: grid;
  gap: 4px;
}

.image-uploader-head span,
.image-uploader-message,
.selected-image-preview small,
.current-image-preview small {
  color: var(--admin-muted);
}

.image-drop-control {
  display: grid;
  min-height: 210px;
  place-items: center;
  gap: 8px;
  padding: 24px;
  border: 1.5px dashed rgba(52, 120, 246, .38);
  border-radius: 16px;
  background: #F7FCFF;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.image-drop-control:focus-visible,
.image-drop-control.drag-active {
  outline: 3px solid rgba(52, 120, 246, .18);
  border-color: var(--admin-primary);
  background: #ECFDF8;
}

.image-drop-control .drop-title {
  color: var(--admin-primary);
  font-size: 1.05rem;
  font-weight: 900;
}

.image-drop-control em {
  color: var(--admin-muted);
  font-style: normal;
}

.image-drop-control b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--admin-border);
  border-radius: 999px;
  background: #fff;
}

.current-image-preview,
.selected-image-preview {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  background: #FFFDFB;
}

.selected-image-preview[hidden] {
  display: none;
}

.current-image-preview img,
.selected-image-preview img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 12px;
}

.current-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.current-image-actions .admin-button {
  flex: 1 1 140px;
}

.clinic-settings-form .shared-image-uploader.has-current-image {
  gap: 10px;
}

.clinic-settings-form .shared-image-uploader.has-current-image .current-image-preview {
  grid-template-columns: minmax(92px, 140px) minmax(0, 1fr);
  gap: 10px 14px;
  align-items: center;
}

.clinic-settings-form .shared-image-uploader.has-current-image .current-image-preview > span,
.clinic-settings-form .shared-image-uploader.has-current-image .current-image-preview > small,
.clinic-settings-form .shared-image-uploader.has-current-image .current-image-preview > .current-image-actions {
  grid-column: 2;
}

.clinic-settings-form .shared-image-uploader.has-current-image .current-image-preview > span {
  align-self: end;
  color: var(--admin-muted);
  font-weight: 850;
}

.clinic-settings-form .shared-image-uploader.has-current-image .current-image-preview img {
  grid-row: 1 / span 3;
  max-height: 104px;
}

.clinic-settings-form .shared-image-uploader.has-current-image .image-drop-control {
  min-height: 0;
  padding: 12px 14px;
  grid-template-columns: 1fr auto;
  place-items: center start;
  text-align: left;
}

.clinic-settings-form .shared-image-uploader.has-current-image .image-drop-control span:not(.drop-title),
.clinic-settings-form .shared-image-uploader.has-current-image .image-drop-control em {
  display: none;
}

.clinic-settings-form .shared-image-uploader.has-current-image .image-drop-control .drop-title {
  font-size: 14px;
}

.clinic-settings-form .shared-image-uploader.has-current-image .image-drop-control b {
  min-height: 34px;
  padding: 0 12px;
}

.current-image-preview.marked-for-removal {
  opacity: .55;
}

.image-size-warning {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(217, 119, 6, .24);
  border-radius: 12px;
  background: #FFF7ED;
}

.image-size-warning[hidden] {
  display: none;
}

.image-size-warning strong {
  color: #92400E;
}

.image-size-warning p {
  margin: 0;
  color: #7C2D12;
  line-height: 1.5;
}

.image-size-warning div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.image-uploader-message.error {
  color: #B42318;
  font-weight: 800;
}

.settings-upload-card {
  border-color: var(--admin-border);
  border-radius: 16px;
  background: #FFFDFB;
}

.colour-warning {
  border-radius: 12px;
}

/* Dashboard card polish: responsive cards without awkward text breaks. */
.dashboard-section .premium-dashboard-grid {
  gap: 15px;
}

.dashboard-section .dashboard-module-card {
  min-height: 158px;
  padding: 16px;
  gap: 6px;
}

.dashboard-section .dashboard-module-card strong {
  font-size: 19px;
  line-height: 1.18;
}

.dashboard-section .dashboard-module-card b {
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.05;
}

.dashboard-section .dashboard-module-card .module-status {
  margin-top: 5px;
  padding-top: 8px;
}

@media (max-width: 1180px) {
  .admin-module-grid,
  .premium-dashboard-grid,
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-lower-grid {
    grid-template-columns: 1fr;
  }

  .global-content-notice,
  .appointment-detail-grid,
  .focused-edit-layout,
  .homepage-display-layout,
  .office-location-layout,
  .module-record-grid {
    grid-template-columns: 1fr;
  }

  .focused-preview-card {
    position: static;
  }
}

@media (max-width: 980px) {
  body.admin-nav-open {
    overflow: hidden;
  }

  body.admin-has-sidebar.admin-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(15, 23, 42, .32);
  }

  body.admin-shell,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 120;
    width: min(86vw, 320px);
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
    overflow-y: auto;
    transform: translateX(-104%);
    transition: transform .18s ease;
    box-shadow: 22px 0 48px rgba(15,23,42,.18);
    overscroll-behavior: contain;
  }

  body.admin-nav-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-panel,
  .admin-main {
    width: 100%;
    padding: 20px;
  }

  .admin-topbar {
    margin: -20px -20px 20px;
    padding: 12px 20px;
  }

  .menu-chip {
    display: inline-flex;
  }

  .admin-welcome-card,
  .admin-hero-card,
  .admin-hero.compact {
    align-items: flex-start;
    flex-direction: column;
  }

  .welcome-actions,
  .topbar-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .admin-panel,
  .admin-main {
    padding: 16px;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
    margin: -16px -16px 18px;
    padding: 12px 16px;
  }

  .topbar-left,
  .topbar-actions,
  .website-meta,
  .welcome-actions,
  .editor-sticky-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .admin-module-grid,
  .premium-dashboard-grid,
  .admin-stat-grid,
  .dashboard-lower-grid {
    grid-template-columns: 1fr;
  }

  .admin-button,
  .topbar-actions .admin-button,
  .welcome-actions .admin-button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --public-header-height: 82px;
  }

  .blog-hero,
  .article-shell,
  .blog-list-section,
  .article-feedback,
  .comments-section,
  .blog-appointment-cta,
  .article-pager,
  .related-articles {
    width: min(100% - 28px, 1180px);
  }

  .blog-public-page,
  .article-public-page {
    --public-header-height: 82px;
    scroll-padding-top: calc(var(--public-header-height) + 12px);
  }

  .blog-public-page [id],
  .article-public-page [id] {
    scroll-margin-top: calc(var(--public-header-height) + 12px);
  }

  .blog-hero {
    padding-top: 34px;
  }

  .blog-hero h1,
  .article-shell h1 {
    font-size: clamp(36px, 13vw, 52px);
    line-height: 1.02;
  }

  .sticky-actions,
  .list-toolbar,
  .inline-filter,
  .blog-appointment-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .article-pager {
    grid-template-columns: 1fr;
    margin-top: -20px;
  }

  .blog-list-grid.article-count-1,
  .blog-list-grid.article-count-2 {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .featured-blog-card img {
    min-height: 220px;
  }

  .article-share a,
  .article-share button,
  .article-share span {
    min-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-list-card,
  .blog-list-card img,
  .article-pager a {
    transition: none;
  }

  .blog-list-card:hover,
  .blog-list-card:focus-within,
  .article-pager a:hover,
  .article-pager a:focus-visible {
    transform: none;
  }

  .blog-list-card:hover img,
  .blog-list-card:focus-within img {
    transform: none;
  }
}

@media (max-width: 900px) {
  .service-detail-shell {
    width: min(100% - 28px, 1180px);
  }

  .service-detail-hero,
  .service-detail-content {
    grid-template-columns: 1fr;
  }

  .service-detail-hero {
    gap: 24px;
  }

  .service-detail-image-wrap {
    order: -1;
  }

  .service-benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-detail-shell {
    padding-top: 34px;
  }

  .service-detail-copy h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .service-detail-actions {
    flex-direction: column;
  }

  .service-detail-actions .btn,
  .service-detail-panel .btn {
    width: 100%;
  }
}

/* Homepage Layout Manager */
.visual-editor-shell .website-editor-panel {
  width: min(100%, 1180px);
}

.homepage-layout-hero {
  align-items: center;
  padding: 28px 32px;
}

.homepage-layout-hero h1 {
  margin-bottom: 8px;
}

.homepage-layout-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 10px;
  min-width: min(100%, 560px);
}

.homepage-layout-stats div {
  padding: 14px;
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 28px rgba(31,65,104,.06);
}

.homepage-layout-stats strong {
  display: block;
  color: var(--admin-primary);
  font-size: 18px;
  line-height: 1.1;
}

.homepage-layout-stats span {
  display: block;
  margin-top: 4px;
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 850;
}

.visual-editor-shell .editor-workspace {
  grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
  gap: 20px;
}

.visual-editor-shell .section-navigator,
.visual-editor-shell .section-edit-panel {
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(31,54,86,.06);
}

.visual-editor-shell .section-navigator {
  padding: 0;
  position: static;
  max-height: none;
  overflow: visible;
  align-self: start;
}

.visual-editor-shell .section-navigator-head {
  position: static;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 16px;
  border-bottom: 1px solid #e1ebf5;
  background: rgba(255,255,255,.96);
}

.section-search {
  display: block;
  margin-top: 12px;
}

.section-search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.section-search input {
  width: 100%;
  min-height: 38px;
  padding: 8px 11px 8px 34px;
  border: 1px solid var(--admin-border);
  border-radius: 11px;
  color: var(--admin-ink);
  background:
    linear-gradient(currentColor, currentColor) 14px 19px / 11px 1.6px no-repeat,
    radial-gradient(circle at 19px 15px, transparent 4.5px, currentColor 5px, currentColor 6px, transparent 6.5px) 0 0 / 34px 34px no-repeat,
    #f8fbff;
  font: inherit;
  font-size: 13px;
  font-weight: 780;
}

.section-search input:focus {
  outline: 0;
  border-color: rgba(52,120,246,.58);
  box-shadow: var(--admin-focus);
}

.section-search-empty {
  margin: 10px 16px 0;
  padding: 10px 12px;
  border: 1px dashed var(--admin-border);
  border-radius: 11px;
  color: var(--admin-muted);
  background: #fbfdff;
  font-size: 13px;
  font-weight: 800;
}

.visual-editor-shell .section-navigator #sectionNavigator {
  max-height: none;
  overflow: visible;
  padding: 9px 10px 10px;
  scrollbar-width: none;
}

.visual-editor-shell .section-navigator #sectionNavigator::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.visual-editor-shell .section-nav-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 0 0 7px;
  padding: 0;
  border-radius: 14px;
  background: #fff;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.visual-editor-shell .section-nav-card.active {
  border-color: rgba(52,120,246,.36);
  background: var(--admin-light-blue);
  box-shadow: 0 16px 34px rgba(52,120,246,.16);
  transform: translateY(-1px);
}

.visual-editor-shell .section-nav-card.active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: var(--admin-accent);
}

.visual-editor-shell .section-nav-card.drop-target {
  border-color: var(--admin-primary);
  box-shadow: inset 0 3px 0 var(--admin-primary), 0 12px 26px rgba(52,120,246,.12);
}

.visual-editor-shell .section-card-select {
  grid-template-columns: 20px 30px minmax(0, 1fr);
  width: 100%;
  min-height: 54px;
  padding: 8px 8px 8px 12px;
  border-radius: 14px;
}

.visual-editor-shell .section-card-select:focus-visible,
.visual-editor-shell .section-move-menu summary:focus-visible,
.visual-editor-shell .section-move-menu a:focus-visible,
.visual-editor-shell .section-move-menu button:focus-visible,
.visual-editor-shell .recovery-actions summary:focus-visible,
.visual-editor-shell .recovery-actions button:focus-visible {
  outline: 0;
  box-shadow: var(--admin-focus);
}

.visual-editor-shell .drag-handle {
  color: #7b8798;
  font-size: 16px;
  line-height: 1;
  cursor: grab;
}

.visual-editor-shell .section-card-icon {
  width: 30px;
  height: 30px;
  color: var(--admin-teal);
  background: #e8f6f4;
}

.visual-editor-shell .section-card-copy strong {
  display: block;
  color: var(--admin-ink);
  font-weight: 900;
  line-height: 1.15;
}

.visual-editor-shell .section-nav-card.active .section-card-copy strong {
  color: var(--admin-primary-dark);
}

.visual-editor-shell .section-card-meta {
  gap: 4px;
  margin-top: 4px;
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 850;
}

.visual-editor-shell .section-navigator.has-many-sections {
  position: sticky;
  top: 152px;
  max-height: calc(100vh - 180px);
  overflow: hidden;
}

.visual-editor-shell .section-navigator.has-many-sections .section-navigator-head {
  position: sticky;
  top: 0;
}

.visual-editor-shell .section-navigator.has-many-sections #sectionNavigator {
  max-height: calc(100vh - 300px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.visual-editor-shell .section-navigator.has-many-sections #sectionNavigator::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.visual-editor-shell .section-card-meta em {
  padding: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
}

.visual-editor-shell .section-card-meta em + em::before {
  content: "·";
  margin-right: 4px;
  color: #9aa7b7;
}

.visual-editor-shell .section-move-menu {
  position: relative;
  align-self: center;
  grid-column: auto;
  padding-right: 8px;
  z-index: 2;
}

.visual-editor-shell .section-nav-card.menu-open,
.visual-editor-shell .section-move-menu[open] {
  z-index: var(--admin-z-dropdown);
}

.visual-editor-shell .section-move-menu summary {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: var(--admin-muted);
  cursor: pointer;
  list-style: none;
}

.visual-editor-shell .section-move-menu summary::-webkit-details-marker {
  display: none;
}

.visual-editor-shell .section-move-menu[open] summary,
.visual-editor-shell .section-move-menu summary:hover {
  color: var(--admin-primary);
  background: #fff;
}

.visual-editor-shell .section-move-menu div {
  position: absolute;
  right: 8px;
  top: 36px;
  z-index: var(--admin-z-dropdown);
  display: grid;
  min-width: 150px;
  padding: 6px;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(31,54,86,.16);
}

.visual-editor-shell .section-move-menu a,
.visual-editor-shell .section-move-menu button {
  display: block;
  min-height: 34px;
  padding: 7px 9px;
  border: 0;
  border-radius: 8px;
  color: #243145;
  background: #fff;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

.visual-editor-shell .section-move-menu a:hover,
.visual-editor-shell .section-move-menu button:hover {
  color: var(--admin-primary-dark);
  background: var(--admin-light-blue);
}

.visual-editor-shell .section-edit-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.visual-editor-shell .focused-editor-card {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.visual-editor-shell .focused-editor-head {
  align-items: flex-start;
  gap: 18px;
}

.visual-editor-shell .focused-editor-head h2 {
  margin-top: 4px;
  font-size: 30px;
}

.back-to-structure {
  display: none;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  color: var(--admin-primary);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.visual-editor-shell .editor-switch {
  flex: 0 0 auto;
  border-radius: 16px;
}

.visual-editor-shell .homepage-layout-summary dl {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.visual-editor-shell .homepage-layout-summary div {
  background: #fbfdff;
}

.visual-editor-shell .homepage-layout-summary {
  gap: 0;
}

.layout-info-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid #e1ebf5;
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 850;
}

.layout-info-strip span {
  display: inline-flex;
  align-items: center;
}

.layout-info-strip span + span::before {
  content: "·";
  margin: 0 9px;
  color: #9aa7b7;
}

.visual-editor-shell .editor-section-footer {
  align-items: center;
}

.primary-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.recovery-actions {
  position: relative;
}

.recovery-actions summary {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  color: var(--admin-muted);
  background: #fff;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.recovery-actions summary::-webkit-details-marker {
  display: none;
}

.recovery-actions div,
.recovery-actions button {
  font: inherit;
}

.recovery-actions button {
  position: absolute;
  right: 0;
  top: 44px;
  z-index: 4;
  min-width: 220px;
  padding: 10px 12px;
  border: 1px solid #ffd3d7;
  border-radius: 12px;
  color: #9f1239;
  background: #fff7f8;
  font-weight: 850;
  box-shadow: 0 18px 42px rgba(31,54,86,.14);
}

.section-focused-preview {
  overflow: hidden;
  border: 1px solid var(--admin-border);
  border-radius: 18px;
  background: #f6fafb;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.62);
}

.section-focused-preview .mini-site {
  min-width: 0;
}

.section-focused-preview .focused-mini-site header {
  background: #fff;
}

.mini-section-preview {
  min-height: 260px;
  padding: 24px;
}

.mini-section-preview h2 {
  margin: 0 0 6px;
  color: #641419;
  font-family: Georgia, serif;
}

.mini-gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.mini-gallery-strip figure {
  margin: 0;
}

.mini-gallery-strip img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
}

.mini-gallery-strip figcaption {
  margin-top: 5px;
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 800;
}

.mini-faq-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.mini-faq-list details {
  padding: 10px 12px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  background: #fff;
}

.mini-faq-list summary {
  font-weight: 900;
}

@media (max-width: 1180px) {
  .visual-editor-shell .editor-workspace {
    grid-template-columns: 1fr;
  }

  .visual-editor-shell .section-navigator {
    position: static;
    max-height: none;
  }

  .visual-editor-shell .section-navigator #sectionNavigator {
    max-height: none;
  }
}

@media (max-width: 760px) {
  .homepage-layout-stats,
  .visual-editor-shell .homepage-layout-summary dl,
  .mini-gallery-strip {
    grid-template-columns: 1fr;
  }

  .visual-editor-shell .section-edit-panel {
    padding: 16px;
  }

  .back-to-structure {
    display: inline-flex;
  }

  .visual-editor-shell .section-card-select {
    grid-template-columns: 20px 32px minmax(0, 1fr);
  }

  .visual-editor-shell .section-card-edit {
    display: none;
  }

  .layout-info-strip {
    display: grid;
    gap: 6px;
  }

  .layout-info-strip span + span::before {
    content: none;
  }
}

/* Final public appointment specificity fix. Keep this after admin editor rules. */
.hospital-site .appointment-section.hospital-section {
  display: block;
  padding: clamp(54px, 5.2vw, 72px) clamp(28px, 5.6vw, 82px);
  background:
    radial-gradient(circle at 22% 30%, rgba(217, 151, 53, .18), transparent 34%),
    linear-gradient(112deg, #7b271f 0%, #5b1428 50%, #122039 100%);
}

.hospital-site .appointment-section.hospital-section .appointment-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 500px);
  gap: clamp(44px, 5vw, 72px);
  align-items: center;
  width: min(100%, 1280px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.055), rgba(255,255,255,.13) 52%, rgba(255,255,255,.05)),
    rgba(255,255,255,.025);
}

.hospital-site .appointment-section .appointment-copy {
  max-width: 720px;
  color: #fff;
}

.hospital-site .appointment-section .appointment-copy .section-kicker,
.hospital-site .appointment-section .appointment-copy h2,
.hospital-site .appointment-section .appointment-copy p {
  color: #fff;
}

.hospital-site .appointment-section .appointment-copy h2 {
  max-width: 680px;
}

.hospital-site .appointment-section .appointment-copy p {
  max-width: 600px;
  color: rgba(255,255,255,.88);
}

.hospital-site .appointment-section .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  max-width: 760px;
}

.hospital-site .appointment-section .contact-actions .btn {
  flex: 0 0 auto;
  min-width: 152px;
  white-space: nowrap;
}

.hospital-site .appointment-section .contact-card {
  justify-self: end;
  width: 100%;
  max-width: 500px;
  border-color: rgba(219,231,232,.9);
  background: rgba(255,255,255,.97);
  box-shadow: 0 30px 90px rgba(5,18,32,.28);
}

.hospital-site .appointment-section .contact-detail-list {
  grid-template-columns: 1fr;
}

.hospital-site .appointment-section .contact-detail-row::before {
  color: var(--teal);
  background: #e7f7f5;
}

.hospital-site .appointment-section .office-map-embed {
  width: 100%;
}

.hospital-site .hospital-section > .section-link::after {
  content: "\2192";
  margin-left: 2px;
}

.hospital-site .section-actions,
.hospital-site .section-cta-row {
  display: flex;
  justify-content: center;
  margin-top: clamp(24px, 3vw, 36px);
}

.hospital-site .homepage-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid rgba(13, 96, 88, .46);
  border-radius: 999px;
  color: #075f58;
  background: rgba(231, 247, 245, .78);
  box-shadow: 0 10px 22px rgba(13, 96, 88, .08);
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.hospital-site .homepage-view-all::after {
  content: "\2192";
  margin-left: 7px;
  font-weight: 900;
}

.hospital-site .homepage-view-all:hover,
.hospital-site .homepage-view-all:focus-visible {
  border-color: #0f766e;
  color: #fff;
  background: #0f766e;
  box-shadow: 0 14px 28px rgba(13, 96, 88, .16);
  text-decoration: none;
  transform: translateY(-1px);
}

.hospital-site .homepage-view-all:active {
  transform: translateY(0);
}

.hospital-site .homepage-view-all:focus-visible {
  outline: 3px solid rgba(217, 151, 53, .54);
  outline-offset: 3px;
}

.hospital-site .homepage-view-all-row {
  display: flex;
  justify-content: center;
  margin-top: clamp(24px, 3vw, 36px);
  margin-bottom: 0;
  padding-bottom: clamp(4px, 1vw, 10px);
}

.hospital-site .blog-grid-premium {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 30px);
  align-items: stretch;
}

.hospital-site .blog-grid-premium article {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(188, 205, 224, .74);
  border-radius: var(--eye-radius-md);
  background: #fff;
  box-shadow: 0 16px 38px rgba(16, 32, 51, .08);
}

.hospital-site .blog-grid-premium img {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: 260px;
  object-fit: cover;
}

.hospital-site .blog-grid-premium article > div {
  display: grid;
  grid-template-rows: auto auto auto minmax(56px, 1fr) auto;
  gap: 11px;
  min-height: 248px;
  padding: clamp(20px, 2vw, 24px);
}

.hospital-site .blog-grid-premium article > div > span {
  color: #641419;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.hospital-site .blog-grid-premium h3 {
  margin: 0;
  color: #172033;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.16;
}

.hospital-site .blog-grid-premium h3 a {
  color: inherit;
  text-decoration: none;
}

.hospital-site .blog-grid-premium .article-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  min-height: 18px;
  color: #63738b;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.hospital-site .blog-grid-premium p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #64748b;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hospital-site .blog-grid-premium .section-link {
  align-self: end;
  margin-top: 10px;
  color: #075f58;
  font-weight: 900;
}

@media (max-width: 860px) {
  .hospital-site .blog-grid-premium {
    grid-template-columns: 1fr;
  }

  .hospital-site .blog-grid-premium article > div {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .hospital-site .blog-grid-premium img {
    max-height: 220px;
  }

  .hospital-site .blog-grid-premium article > div {
    padding: 18px;
  }
}

.hospital-site .carousel-nav {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.hospital-site .carousel-nav-button,
.hospital-site .lightbox-nav.carousel-nav-button {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 0;
  border: 2px solid rgba(13, 96, 88, .46);
  border-radius: 999px;
  color: #075f58;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 30px rgba(31,54,86,.14);
  cursor: pointer;
  font-size: 21px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.hospital-site .carousel-nav-button:hover,
.hospital-site .carousel-nav-button:focus-visible {
  border-color: #0f766e;
  color: #fff;
  background: #0f766e;
  box-shadow: 0 18px 38px rgba(13,96,88,.24);
  transform: translateY(-1px);
}

.hospital-site .carousel-nav-button:active {
  box-shadow: 0 8px 18px rgba(13,96,88,.18);
  transform: translateY(1px) scale(.98);
}

.hospital-site .carousel-nav-button:focus-visible {
  outline: 3px solid rgba(217,151,53,.58);
  outline-offset: 3px;
}

.hospital-site .carousel-nav-button:disabled,
.hospital-site .carousel-nav-button[aria-disabled="true"] {
  border-color: rgba(83,101,122,.2);
  color: rgba(83,101,122,.48);
  background: rgba(255,255,255,.72);
  box-shadow: none;
  cursor: default;
  opacity: .6;
  transform: none;
}

@media (max-width: 940px) {
  .hospital-site .appointment-section.hospital-section .appointment-inner {
    grid-template-columns: 1fr;
  }

  .hospital-site .appointment-section .contact-card {
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 680px) {
  .hospital-site .appointment-section.hospital-section {
    padding: 40px 18px;
  }

  .hospital-site .appointment-section.hospital-section .appointment-inner {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .hospital-site .appointment-section .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hospital-site .appointment-section .contact-actions .btn {
    width: 100%;
  }
}

/* Shared healthcare mobile navigation drawer. */
.mobile-nav-backdrop,
.mobile-nav-drawer {
  display: none;
}

.mobile-nav-toggle {
  width: 46px;
  height: 46px;
  border-color: rgba(184, 204, 210, .78);
  border-radius: 14px;
  color: #53657a;
  box-shadow: 0 8px 20px rgba(16, 32, 51, .06);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible {
  border-color: rgba(15, 118, 110, .34);
  background: #f8fcfc;
  box-shadow: 0 10px 24px rgba(16, 32, 51, .09);
}

.mobile-nav-toggle:active {
  transform: translateY(1px);
}

.mobile-nav-toggle span:not(.sr-only) {
  width: 22px;
  height: 2px;
  background: currentColor;
}

@media (max-width: 1120px) {
  body.public-nav-open {
    overflow: hidden;
  }

  .hospital-header {
    grid-template-columns: 1fr auto auto;
  }

  .hospital-header .hospital-nav {
    display: none !important;
  }

  .hospital-header.nav-open .hospital-nav {
    display: none !important;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 260;
    display: block;
    background: rgba(10, 24, 39, .46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  body.public-nav-open .mobile-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 270;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(88vw, 380px);
    height: 100vh;
    height: 100dvh;
    padding: 18px;
    border-left: 1px solid rgba(219, 231, 232, .9);
    background:
      linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,251,251,.98)),
      #fff;
    box-shadow: -28px 0 70px rgba(16, 32, 51, .22);
    transform: translateX(105%);
    opacity: .92;
    transition: transform 260ms cubic-bezier(.2, .8, .2, 1), opacity 220ms ease;
  }

  body.public-nav-open .mobile-nav-drawer {
    transform: translateX(0);
    opacity: 1;
  }

  .mobile-nav-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(219, 231, 232, .86);
  }

  .mobile-nav-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
    color: var(--navy);
    text-decoration: none;
  }

  .mobile-nav-brand .brand-mark {
    width: 54px;
    height: 36px;
  }

  .mobile-nav-brand .brand-name {
    min-width: 0;
    font-size: 19px;
    line-height: 1.08;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-nav-close {
    position: relative;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(184, 204, 210, .75);
    border-radius: 14px;
    background: #fff;
    color: #52657a;
    box-shadow: 0 8px 18px rgba(16, 32, 51, .06);
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
  }

  .mobile-nav-close:hover,
  .mobile-nav-close:focus-visible {
    border-color: rgba(15, 118, 110, .34);
    background: #f8fcfc;
  }

  .mobile-nav-close span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
  }

  .mobile-nav-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-nav-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .mobile-nav-list {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 0;
    padding: 18px 0;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .mobile-nav-list::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #33465d;
    font-weight: 900;
    text-decoration: none;
    transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease, transform 170ms ease;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:focus-visible {
    color: var(--teal);
    background: rgba(232, 246, 244, .72);
    border-color: rgba(15, 118, 110, .12);
  }

  .mobile-nav-link.active {
    color: var(--teal);
    background: rgba(225, 247, 244, .95);
    border-color: rgba(15, 118, 110, .2);
    box-shadow: inset 4px 0 0 var(--teal);
  }

  .mobile-nav-icon {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    color: currentColor;
    background: rgba(15, 118, 110, .09);
  }

  .mobile-nav-icon::before,
  .mobile-nav-icon::after {
    content: "";
    position: absolute;
    border-color: currentColor;
    opacity: .9;
  }

  .mobile-nav-icon--services::before,
  .mobile-nav-icon--technology::before,
  .mobile-nav-icon--gallery::before,
  .mobile-nav-icon--blog::before,
  .mobile-nav-icon--faq::before,
  .mobile-nav-icon--contact::before,
  .mobile-nav-icon--appointment::before {
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 4px;
  }

  .mobile-nav-icon--services::after {
    width: 10px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 5px 0 currentColor;
  }

  .mobile-nav-icon--doctors::before {
    width: 10px;
    height: 10px;
    top: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
  }

  .mobile-nav-icon--doctors::after {
    width: 16px;
    height: 8px;
    bottom: 7px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 0 0 12px 12px;
  }

  .mobile-nav-icon--technology::before {
    border-radius: 50%;
  }

  .mobile-nav-icon--technology::after {
    width: 18px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
  }

  .mobile-nav-icon--gallery::before {
    border-radius: 5px;
  }

  .mobile-nav-icon--gallery::after {
    width: 8px;
    height: 8px;
    right: 8px;
    bottom: 8px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
  }

  .mobile-nav-icon--blog::before {
    border-radius: 3px;
  }

  .mobile-nav-icon--blog::after {
    width: 10px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
  }

  .mobile-nav-icon--faq::before {
    border-radius: 50%;
  }

  .mobile-nav-icon--faq::after {
    content: "?";
    border: 0;
    font-size: 15px;
    font-weight: 950;
    line-height: 1;
  }

  .mobile-nav-icon--contact::before {
    border-radius: 50%;
  }

  .mobile-nav-icon--contact::after {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
  }

  .mobile-nav-icon--appointment::before {
    border-radius: 5px;
  }

  .mobile-nav-icon--appointment::after {
    width: 10px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -5px 0 currentColor;
  }

  .mobile-nav-drawer__footer {
    padding-top: 14px;
    border-top: 1px solid rgba(219, 231, 232, .86);
  }

  .mobile-nav-appointment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 14px 18px;
    border-radius: 16px;
    color: #fff;
    background: var(--teal);
    box-shadow: 0 16px 32px rgba(15, 118, 110, .24);
    font-weight: 950;
    text-decoration: none;
    transition: filter 170ms ease, transform 170ms ease;
  }

  .mobile-nav-appointment .mobile-nav-icon {
    color: #fff;
    background: rgba(255,255,255,.16);
  }

  .mobile-nav-appointment:hover,
  .mobile-nav-appointment:focus-visible {
    filter: brightness(1.04);
    transform: translateY(-1px);
  }
}

@media (max-width: 520px) {
  .mobile-nav-drawer {
    width: min(92vw, 360px);
    padding: 16px;
  }

  .mobile-nav-link {
    min-height: 46px;
    padding-block: 10px;
  }

  .mobile-nav-toggle {
    width: 44px;
    height: 44px;
  }
}

/* Shared admin card typography and spacing polish. */
.admin-section-head h2,
.module-management-card h2,
.dashboard-section h2 {
  line-height: 1.18;
}

.module-record-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 292px), 1fr));
  gap: 16px;
}

.module-record-card {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  min-height: 176px;
  padding: 16px;
  background: #fff;
}

.module-record-card:not(:has(img)) {
  grid-template-columns: 1fr;
}

.module-record-card > div {
  display: grid;
  align-content: start;
  min-width: 0;
}

.module-record-title-row {
  gap: 12px;
  min-height: 48px;
  align-items: flex-start;
}

.module-record-title-row strong {
  min-width: 0;
  color: var(--admin-ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.22;
  overflow-wrap: normal;
  word-break: normal;
}

.module-record-card > div > span:not(.status-badge):not(.module-record-order) {
  margin-top: 2px;
  color: var(--admin-muted);
  font-weight: 650;
  line-height: 1.35;
}

.module-record-card p {
  margin-top: 10px;
  color: #41536b;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: normal;
  word-break: normal;
}

.module-record-card img {
  width: 92px;
  height: 104px;
}

.record-card-actions {
  gap: 10px;
  margin-top: 18px;
}

.record-card-actions .admin-button {
  min-width: 132px;
  justify-content: center;
  white-space: nowrap;
}

.record-card-actions form {
  display: contents;
}

.dashboard-module-card {
  grid-template-rows: auto auto minmax(28px, auto) auto auto 1fr;
  gap: 8px;
  min-height: 212px;
}

.dashboard-module-card small {
  line-height: 1.2;
}

.dashboard-module-card strong {
  min-height: 26px;
  line-height: 1.25;
}

.dashboard-module-card b {
  display: block;
  max-width: 100%;
  line-height: 1.08;
}

.dashboard-module-card em {
  min-height: 22px;
  color: #607086;
  font-weight: 750;
}

.dashboard-module-card .module-status {
  align-self: end;
  line-height: 1.35;
}

.activity-list li strong,
.activity-list li span,
.activity-list li time,
.attention-list a strong,
.attention-list a span {
  overflow-wrap: normal;
  word-break: normal;
}

@media (min-width: 1320px) {
  .premium-dashboard-grid {
    grid-template-columns: repeat(4, minmax(300px, 1fr));
  }
}

@media (min-width: 1040px) and (max-width: 1319px) {
  .premium-dashboard-grid {
    grid-template-columns: repeat(3, minmax(300px, 1fr));
  }
}

@media (max-width: 760px) {
  .module-record-grid,
  .premium-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .module-record-card,
  .module-record-card:not(:has(img)) {
    grid-template-columns: 1fr;
  }

  .record-card-actions .admin-button {
    min-width: min(100%, 180px);
  }
}

/* Narrow viewport and browser-zoom comfort pass. */
@media (max-width: 900px) {
  .hospital-hero {
    padding-top: clamp(30px, 5vw, 46px);
    padding-bottom: clamp(34px, 5.5vw, 52px);
  }

  .hero-content h1 {
    max-width: 680px;
    font-size: clamp(42px, 10.5vw, 68px);
    line-height: .96;
  }

  .hero-content p:not(.section-kicker) {
    max-width: 620px;
    font-size: clamp(17px, 2.6vw, 22px);
    line-height: 1.55;
  }

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

  .hero-actions .btn {
    min-height: 48px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-mini-trust {
    gap: 8px;
  }

  .hero-mini-trust span {
    min-height: 38px;
    padding: 8px 12px;
  }

  .service-card img,
  .equipment-card > img,
  .blog-grid-premium img,
  .premium-gallery img,
  .premium-gallery figure:first-child img {
    min-height: 210px;
  }

  .doctor-card-premium img {
    min-height: 360px;
  }

  .hospital-site .appointment-section.hospital-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .hospital-site .appointment-section.hospital-section .appointment-inner {
    gap: 28px;
    padding: 22px;
  }

  .hospital-site .appointment-section .appointment-copy h2 {
    font-size: clamp(34px, 7.5vw, 50px);
    line-height: 1;
  }

  .hospital-site .appointment-section .contact-actions {
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .hero-content h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero-actions,
  .hospital-site .appointment-section .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .hospital-site .appointment-section .contact-actions .btn {
    width: 100%;
  }

  .hero-photo-wrap,
  .hero-photo {
    min-height: 245px;
  }

  .doctor-card-premium img {
    min-height: 310px;
  }

  .service-card img,
  .equipment-card > img,
  .blog-grid-premium img,
  .premium-gallery img,
  .premium-gallery figure:first-child img {
    min-height: 185px;
  }
}

/* Final admin dashboard readability pass. */
.dashboard-section .premium-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}

.dashboard-section .dashboard-module-card {
  min-height: 224px;
  padding: 20px;
  gap: 9px;
  grid-template-rows: auto auto auto auto auto 1fr;
}

.dashboard-section .dashboard-module-card strong,
.dashboard-section .dashboard-module-card b,
.dashboard-section .dashboard-module-card small,
.dashboard-section .dashboard-module-card em,
.dashboard-section .dashboard-module-card .module-status {
  max-width: 100%;
}

.dashboard-section .dashboard-module-card strong,
.dashboard-section .dashboard-module-card b,
.dashboard-section .dashboard-module-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-section .dashboard-module-card em,
.dashboard-section .dashboard-module-card .module-status {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.dashboard-section .dashboard-module-card em {
  min-height: 24px;
  line-height: 1.35;
}

.dashboard-section .dashboard-module-card .module-status {
  display: block;
  align-self: end;
  min-height: 44px;
  margin-top: 8px;
  padding-top: 10px;
  line-height: 1.38;
}

@media (min-width: 1500px) {
  .dashboard-section .premium-dashboard-grid {
    grid-template-columns: repeat(4, minmax(300px, 1fr));
  }
}

@media (min-width: 1120px) and (max-width: 1499px) {
  .dashboard-section .premium-dashboard-grid {
    grid-template-columns: repeat(3, minmax(300px, 1fr));
  }
}

@media (min-width: 760px) and (max-width: 1119px) {
  .dashboard-section .premium-dashboard-grid {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
  }
}

@media (max-width: 759px) {
  .dashboard-section .premium-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* Dashboard card final polish: avoid cramped four-column cards on normal desktops. */
.dashboard-section .premium-dashboard-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 18px;
}

.dashboard-section .dashboard-module-card {
  min-height: 190px;
  padding: 18px 20px;
  gap: 7px;
  align-content: start;
  grid-template-rows: auto auto auto auto auto;
}

.dashboard-section .dashboard-module-card .module-icon {
  margin-bottom: 10px;
}

.dashboard-section .dashboard-module-card strong {
  min-height: 0;
  font-size: 19px;
  line-height: 1.25;
}

.dashboard-section .dashboard-module-card b {
  font-size: 26px;
  line-height: 1.08;
}

.dashboard-section .dashboard-module-card em {
  min-height: 0;
  line-height: 1.3;
}

.dashboard-section .dashboard-module-card .module-status {
  align-self: start;
  width: 100%;
  min-height: 0;
  margin-top: 10px;
  padding-top: 10px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 1700px) {
  .dashboard-section .premium-dashboard-grid {
    grid-template-columns: repeat(4, minmax(320px, 1fr));
  }
}

@media (min-width: 1180px) and (max-width: 1699px) {
  .dashboard-section .premium-dashboard-grid {
    grid-template-columns: repeat(3, minmax(320px, 1fr));
  }
}

@media (min-width: 760px) and (max-width: 1179px) {
  .dashboard-section .premium-dashboard-grid {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
  }
}

@media (max-width: 759px) {
  .dashboard-section .premium-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-section .dashboard-module-card {
    min-height: 0;
  }

  .dashboard-section .dashboard-module-card .module-status {
    white-space: normal;
  }
}

/* Eye Hospital hero large-screen balance: keep the full-bleed feel without over-stretching content. */
@media (min-width: 1180px) {
  .hospital-hero {
    grid-template-columns: minmax(420px, 610px) minmax(620px, 920px);
    justify-content: center;
    gap: clamp(38px, 4.5vw, 72px);
    min-height: clamp(590px, 68vh, 760px);
    padding-top: clamp(62px, 6vw, 86px);
    padding-bottom: clamp(66px, 6.5vw, 92px);
    padding-right: max(38px, calc((100vw - 1560px) / 2 + 38px));
    padding-left: max(38px, calc((100vw - 1560px) / 2 + 38px));
  }

  .hero-content {
    max-width: 610px;
  }

  .hero-content h1 {
    max-width: 610px;
    font-size: clamp(62px, 5.25vw, 90px);
    line-height: .92;
  }

  .hero-content p:not(.section-kicker) {
    max-width: 560px;
    font-size: clamp(20px, 1.32vw, 24px);
  }

  .hero-photo-wrap {
    max-width: 920px;
    min-height: clamp(455px, 37vw, 610px);
  }

  .hero-photo {
    min-height: clamp(455px, 37vw, 610px);
  }

  .hero-mini-trust {
    max-width: 610px;
  }

  .trust-band {
    max-width: min(1120px, calc(100% - 76px));
    margin-top: -40px;
  }
}

/* V2 Trust Highlights polish: scoped to the Trust editor only. */
.v2-admin .v2-trust-editor-main {
  padding-bottom: 104px;
}

.v2-admin .v2-trust-items {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.v2-admin .v2-trust-items .v2-section-head.compact {
  margin-bottom: 2px;
}

.v2-admin .v2-trust-items .v2-section-head.compact h2 {
  margin: 0 0 6px;
  color: var(--admin-ink);
  font-size: 21px;
  line-height: 1.2;
}

.v2-admin .v2-trust-item {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(31,54,86,.05);
}

.v2-admin .v2-trust-item-header {
  display: grid;
  grid-template-columns: auto minmax(96px, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.v2-admin .v2-trust-item-header strong {
  color: var(--admin-ink);
  font-size: 15px;
  line-height: 1.2;
}

.v2-admin .v2-item-grip {
  width: 14px;
  height: 18px;
  background: radial-gradient(circle, #9aa9bc 1.4px, transparent 2px) 0 0 / 7px 7px;
}

.v2-admin .v2-item-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.v2-admin .v2-trust-order-button.admin-button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 9px;
  color: var(--admin-ink);
  font-size: 15px;
  line-height: 1;
  box-shadow: none;
}

.v2-admin .v2-trust-order-button.admin-button:hover {
  transform: none;
}

.v2-admin .v2-trust-order-button.admin-button:disabled {
  color: #9aa9bc;
  background: #f4f8fd;
  cursor: not-allowed;
  opacity: .58;
}

.v2-admin .v2-trust-visibility {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  margin: 0;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.v2-admin .v2-trust-visibility input[type="checkbox"] {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--admin-primary);
}

.v2-admin .v2-trust-item-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.v2-admin .v2-trust-item-grid label {
  gap: 6px;
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}

.v2-admin .v2-trust-item-grid input {
  min-height: 42px;
}

.v2-admin .v2-trust-form-actions {
  z-index: calc(var(--admin-z-header) - 1);
}

.v2-admin .v2-trust-live-preview {
  min-height: 0;
  align-content: start;
}

.v2-admin .v2-trust-preview {
  display: grid;
  gap: 16px;
  padding: 4px 0 0;
}

.v2-admin .v2-trust-preview-copy h3 {
  margin: 0 0 8px;
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.12;
}

.v2-admin .v2-trust-preview-copy p {
  margin: 0;
  color: #52657a;
  font-size: 15px;
  line-height: 1.5;
}

.v2-admin .v2-trust-preview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.v2-admin .v2-trust-preview-card {
  display: grid;
  gap: 7px;
  min-height: 96px;
  padding: 14px;
  border: 1px solid #e4edf5;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 10px 24px rgba(31,54,86,.05);
}

.v2-admin .v2-trust-preview-card strong,
.v2-admin .v2-trust-preview-card span {
  display: block;
}

.v2-admin .v2-trust-preview-card strong {
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.18;
}

.v2-admin .v2-trust-preview-card span {
  color: #52657a;
  font-size: 14px;
  line-height: 1.45;
}

/* Why Choose Us V2 editor polish. */
.v2-admin .v2-why-editor-main {
  padding-bottom: 110px;
}

.v2-admin .v2-why-reason-list {
  gap: 10px;
  padding-bottom: 18px;
}

.v2-admin .v2-why-reason-card {
  display: grid;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(31,54,86,.04);
}

.v2-admin .v2-why-reason-card.is-hidden {
  border-style: dashed;
  background: #f8fafc;
}

.v2-admin .v2-why-reason-card.is-hidden .v2-why-reason-fields,
.v2-admin .v2-why-reason-card.is-hidden .v2-why-icon-selector {
  opacity: .72;
}

.v2-admin .v2-why-reason-header {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 0;
}

.v2-admin .v2-why-order-actions {
  display: inline-flex;
  gap: 6px;
}

.v2-admin .v2-icon-button.admin-button {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  font-size: 15px;
  line-height: 1;
}

.v2-admin .v2-icon-button.admin-button:disabled {
  color: #9aa9bc;
  background: #f4f8fd;
  cursor: not-allowed;
  opacity: .62;
}

.v2-admin .v2-why-visibility {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #047857;
  font-size: 12px;
  font-weight: 900;
}

.v2-admin .v2-why-visibility span {
  min-width: 58px;
  padding: 5px 9px;
  border-radius: 999px;
  text-align: center;
  background: #dff7ef;
}

.v2-admin .v2-why-visibility input {
  width: 16px;
  height: 16px;
  accent-color: #1473e6;
}

.v2-admin .v2-why-reason-card.is-hidden .v2-why-visibility {
  color: #64748b;
}

.v2-admin .v2-why-reason-card.is-hidden .v2-why-visibility span {
  background: #e9eef5;
}

.v2-admin .v2-why-reason-fields {
  gap: 12px;
}

.v2-admin .v2-why-reason-fields textarea {
  min-height: 74px;
  resize: vertical;
  line-height: 1.45;
}

.v2-admin .v2-red-mark-field {
  color: #b91c1c;
}

.v2-admin .v2-red-mark-field input,
.v2-admin .v2-red-mark-field textarea {
  border-color: #fca5a5;
}

.v2-admin .v2-why-icon-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.v2-admin .v2-why-icon-selector legend {
  width: 100%;
  margin-bottom: 2px;
  color: #243145;
  font-size: 13px;
  font-weight: 850;
}

.v2-admin .v2-why-icon-selector label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #dbe7f3;
  border-radius: 10px;
  color: #52657a;
  background: #fff;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.v2-admin .v2-why-icon-selector input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.v2-admin .v2-why-icon-selector label:has(input:checked) {
  border-color: #9bc8ff;
  color: #0f4f8b;
  background: #eef6ff;
}

.v2-admin .v2-why-icon-selector .why-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin: 0;
  font-size: 10px;
}

.v2-admin .v2-why-preview {
  align-content: start;
  gap: 16px;
  min-height: 0;
}

.v2-admin .v2-why-preview-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.v2-admin .v2-simple-preview-card {
  display: grid;
  gap: 7px;
  min-height: 98px;
  padding: 14px;
  border: 1px solid #e4edf5;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 10px 24px rgba(31,54,86,.05);
}

.v2-admin .v2-simple-preview-card strong {
  display: block;
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.18;
}

.v2-admin .v2-simple-preview-card span {
  display: block;
  color: #52657a;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .v2-admin .v2-why-reason-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .v2-admin .v2-why-visibility {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .v2-admin .v2-why-preview-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .v2-admin .v2-trust-item-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .v2-admin .v2-trust-visibility {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .v2-admin .v2-trust-item-grid,
  .v2-admin .v2-trust-preview-list {
    grid-template-columns: 1fr;
  }
}

/* Public Trust Highlights heading from V2 content. */
.hospital-site .trust-section {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: -46px auto 0;
  padding: 34px 22px 0;
}

.hospital-site .trust-section-heading {
  max-width: 780px;
  margin: 0 auto 24px;
  text-align: center;
}

.hospital-site .trust-section-heading h2 {
  margin: 0;
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 950;
  line-height: 1.04;
}

.hospital-site .trust-section-heading p {
  margin: 12px auto 0;
  color: var(--hospital-muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.58;
}

.hospital-site .trust-section .trust-band {
  max-width: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .hospital-site .trust-section {
    margin-top: 0;
    padding: 38px 18px 0;
  }

  .hospital-site .trust-section-heading {
    margin-bottom: 20px;
    text-align: left;
  }
}

/* V2 About Hospital editor polish: admin preview and optional button only. */
.v2-admin .v2-about-editor-main {
  padding-bottom: 104px;
}

.v2-admin .v2-about-editor-main .v2-media-panel {
  margin-top: 16px;
}

.v2-admin .v2-optional-panel {
  margin: 16px 0 0;
  border: 1px solid #e6eef6;
  border-radius: 12px;
  background: #fff;
}

.v2-admin .v2-optional-panel summary {
  min-height: 44px;
  padding: 12px 14px;
  color: var(--admin-ink);
  font-weight: 850;
  cursor: pointer;
}

.v2-admin .v2-optional-panel .v2-field-grid {
  padding: 0 14px 14px;
}

.v2-admin .v2-about-live-preview {
  min-height: 0;
  align-content: start;
}

.v2-admin .v2-about-preview-card {
  display: grid;
  grid-template-columns: minmax(150px, .82fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e4edf5;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.v2-admin .v2-about-preview-card img {
  width: 100%;
  height: clamp(210px, 24vw, 320px);
  object-fit: cover;
  border-radius: 14px;
  background: #e8f0fb;
}

.v2-admin .v2-about-preview-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.v2-admin .v2-about-preview-copy > span {
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 850;
}

.v2-admin .v2-about-preview-copy h2 {
  margin: 0;
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 950;
  line-height: 1.04;
}

.v2-admin .v2-about-preview-copy p {
  margin: 0;
  color: #52657a;
  font-size: 14px;
  line-height: 1.55;
}

.v2-admin .v2-about-preview-copy .v2-about-preview-subtitle {
  font-weight: 850;
}

.v2-admin .v2-about-preview-button {
  justify-self: start;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--admin-primary);
  font-weight: 900;
  text-decoration: none;
}

.v2-admin .v2-about-preview-button[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .v2-admin .v2-about-preview-card {
    grid-template-columns: 1fr;
  }

  .v2-admin .v2-about-preview-card img {
    height: 220px;
  }
}

/* Treatments admin cleanup. */
.treatment-settings-form {
  align-items: start;
}

.treatment-visibility-card {
  padding: 14px;
  border: 1px solid #dbe7f3;
  border-radius: 14px;
  background: #f8fbff;
}

.treatment-visibility-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  cursor: pointer;
}

.treatment-visibility-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.treatment-toggle-track {
  display: inline-flex;
  width: 50px;
  height: 28px;
  align-items: center;
  padding: 3px;
  border: 1px solid #cbdff4;
  border-radius: 999px;
  background: #e9f2fb;
  transition: background .16s ease, border-color .16s ease;
}

.treatment-toggle-track span {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(31,54,86,.18);
  transition: transform .16s ease;
}

.treatment-visibility-toggle input[type="checkbox"]:checked ~ .treatment-toggle-track {
  border-color: rgba(15,118,110,.34);
  background: #dff7ef;
}

.treatment-visibility-toggle input[type="checkbox"]:checked ~ .treatment-toggle-track span {
  transform: translateX(22px);
}

.treatment-visibility-toggle strong,
.treatment-visibility-toggle small {
  display: block;
}

.treatment-visibility-toggle strong {
  color: var(--admin-ink);
  font-size: 15px;
}

.treatment-visibility-toggle small {
  margin-top: 3px;
  color: var(--admin-muted);
  font-weight: 800;
}

.treatment-record-grid {
  align-items: stretch;
}

.treatment-record-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  min-height: 210px;
  padding: 16px;
}

.treatment-record-card.is-hidden {
  border-style: dashed;
  background: #f8fafc;
  opacity: .78;
}

.treatment-record-card > img,
.treatment-image-placeholder {
  width: 96px;
  height: 84px;
  border-radius: 10px;
  background: #e8f0fb;
}

.treatment-record-card > img {
  object-fit: cover;
}

.treatment-image-placeholder {
  display: grid;
  place-items: center;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.treatment-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.treatment-card-head strong {
  color: var(--admin-ink);
  line-height: 1.25;
}

.treatment-status-badge {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.treatment-status-badge.visible {
  color: #047857;
  background: #dff7ef;
}

.treatment-status-badge.hidden {
  color: #64748b;
  background: #e9eef5;
}

.treatment-status-badge.featured {
  color: #075985;
  background: #dff3ff;
}

.treatment-status-badge.not-featured {
  color: #64748b;
  background: #eef3f8;
}

.treatment-card-order {
  display: block;
  margin-top: 4px;
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 850;
}

.treatment-record-card p {
  margin: 10px 0 14px;
  color: #52657a;
  line-height: 1.48;
}

.treatment-record-card .record-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.treatment-record-card .record-card-actions form {
  margin: 0;
}

.treatment-record-card .record-card-actions .admin-button {
  min-height: 36px;
  padding: 8px 12px;
}

.treatment-order-button.admin-button {
  width: 34px;
  min-width: 34px;
  padding: 0;
}

.treatment-order-button:disabled {
  color: #9aa9bc;
  background: #f4f8fd;
  cursor: not-allowed;
  opacity: .6;
}

.treatment-danger-menu summary {
  display: inline-flex;
  width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  color: var(--admin-ink);
  background: #fff;
}

.treatment-danger-menu button {
  color: #9f1239;
}

@media (max-width: 720px) {
  .treatment-record-card {
    grid-template-columns: 1fr;
  }

  .treatment-record-card > img,
  .treatment-image-placeholder {
    width: 100%;
    height: 180px;
  }
}

/* Treatments admin records list layout. */
.treatment-record-list {
  display: grid;
  gap: 10px;
}

.treatment-record-row {
  display: grid;
  grid-template-columns: 82px minmax(260px, 1fr) minmax(132px, auto) auto;
  gap: 14px;
  align-items: center;
  min-height: 104px;
  padding: 12px 14px;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31,54,86,.04);
}

.treatment-record-row.is-hidden {
  border-style: dashed;
  background: #f8fafc;
}

.treatment-record-row.is-hidden .treatment-row-copy,
.treatment-record-row.is-hidden .treatment-row-media {
  opacity: .72;
}

.treatment-row-message {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #b7ebd8;
  border-radius: 10px;
  color: #047857;
  background: #ecfdf5;
  font-weight: 850;
}

.treatment-row-message.error {
  border-color: #fecdd3;
  color: #9f1239;
  background: #fff1f2;
}

.treatment-row-media img,
.treatment-row-media .treatment-image-placeholder {
  width: 82px;
  height: 68px;
  border-radius: 10px;
}

.treatment-row-media img {
  display: block;
  object-fit: cover;
  background: #e8f0fb;
}

.treatment-row-copy {
  min-width: 0;
}

.treatment-row-copy strong {
  display: block;
  margin-bottom: 5px;
  color: var(--admin-ink);
  font-size: 15px;
  line-height: 1.25;
}

.treatment-row-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #52657a;
  font-size: 13px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.treatment-row-state {
  display: grid;
  justify-items: start;
  gap: 6px;
}

.treatment-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.treatment-row-actions form {
  margin: 0;
}

.treatment-row-actions .admin-button {
  min-height: 34px;
  padding: 7px 11px;
}

.treatment-row-actions .admin-button.primary {
  min-width: 72px;
}

.treatment-row-actions .treatment-order-button.admin-button {
  width: 34px;
  min-width: 34px;
  padding: 0;
}

.treatment-row-actions .treatment-delete-button.admin-button {
  color: #9f1239;
  border-color: #fecdd3;
  background: #fff1f2;
  box-shadow: none;
}

.treatment-row-actions .treatment-delete-button.admin-button:hover {
  border-color: #fda4af;
  background: #ffe4e6;
}

.doctor-record-row {
  grid-template-columns: 82px minmax(260px, 1fr) minmax(126px, auto) auto;
}

.doctor-record-row .treatment-row-copy {
  display: grid;
  gap: 5px;
}

.doctor-record-row .treatment-row-copy p {
  -webkit-line-clamp: 1;
}

.doctor-record-row .treatment-row-state {
  min-width: 132px;
}

.doctor-record-row .treatment-row-actions {
  flex-wrap: nowrap;
}

.story-record-row {
  grid-template-columns: minmax(280px, 1fr) minmax(132px, auto) auto;
}

.story-record-row .treatment-row-copy p {
  -webkit-line-clamp: 2;
}

.story-record-row .treatment-row-actions {
  flex-wrap: nowrap;
}

.faq-record-row {
  grid-template-columns: minmax(320px, 1fr) minmax(132px, auto) auto;
}

.faq-record-row .treatment-row-copy p {
  -webkit-line-clamp: 2;
}

.faq-record-row .treatment-row-actions {
  flex-wrap: nowrap;
}

.gallery-record-row {
  grid-template-columns: 92px minmax(260px, 1fr) minmax(132px, auto) auto;
}

.gallery-record-row .treatment-row-media img,
.gallery-record-row .treatment-row-media .treatment-image-placeholder {
  width: 92px;
  height: 72px;
}

.gallery-record-row .treatment-row-copy p {
  -webkit-line-clamp: 1;
}

.gallery-record-row .treatment-row-actions {
  flex-wrap: nowrap;
}

.module-section-settings-card,
.treatment-record-row,
.module-record-card {
  scroll-margin-top: 96px;
}

.medical-team-page .medical-team-directory {
  padding-top: 72px;
}

.medical-team-page .medical-team-grid {
  align-items: stretch;
}

.medical-team-page .doctor-card-premium {
  height: 100%;
}

/* Homepage Medical Team carousel. */
.doctor-carousel {
  --doctor-carousel-gap: 24px;
  --doctor-carousel-visible: 3;
  --doctor-carousel-card-width: 320px;
  position: relative;
  display: grid;
  gap: 16px;
}

.doctor-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.doctor-carousel .doctor-carousel-track {
  display: flex;
  grid-template-columns: none;
  justify-content: flex-start;
  gap: var(--doctor-carousel-gap);
  align-items: stretch;
  width: max-content;
  max-width: none;
  transition: transform .55s ease;
  will-change: transform;
}

.doctor-carousel .doctor-card-premium {
  flex: 0 0 var(--doctor-carousel-card-width);
  min-width: 0;
  height: 640px;
  display: grid;
  grid-template-rows: 300px minmax(0, 1fr);
  overflow: hidden;
}

.doctor-carousel .doctor-card-premium img {
  width: 100%;
  height: 300px;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
}

.doctor-carousel .doctor-card-premium > div {
  min-height: 0;
  padding: 22px;
  overflow: hidden;
}

.doctor-carousel .doctor-card-premium h3 {
  font-size: clamp(21px, 1.65vw, 26px);
  line-height: 1.08;
}

.doctor-carousel .doctor-card-premium p,
.doctor-carousel .doctor-expertise,
.doctor-carousel .doctor-meta {
  font-size: 13px;
  line-height: 1.48;
}

.doctor-carousel .doctor-meta {
  display: grid;
  gap: 2px;
  margin: 8px 0;
}

.doctor-carousel .doctor-meta dd,
.doctor-carousel .doctor-expertise,
.doctor-carousel .doctor-card-premium p:not(.doctor-expertise) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.doctor-carousel .doctor-expertise {
  -webkit-line-clamp: 2;
}

.doctor-carousel.is-static .doctor-carousel-track {
  transform: none !important;
  will-change: auto;
}

.doctor-carousel-controls {
  gap: 10px;
}

.doctor-carousel.is-static .doctor-carousel-controls {
  display: none;
}

@media (max-width: 980px) {
  .doctor-carousel {
    --doctor-carousel-visible: 2;
  }
}

@media (max-width: 640px) {
  .doctor-carousel {
    --doctor-carousel-visible: 1;
    --doctor-carousel-gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doctor-carousel .doctor-carousel-track {
    transition: none;
  }
}

.treatment-row-actions .treatment-danger-menu {
  position: relative;
}

.treatment-row-actions .treatment-danger-menu > div {
  right: 0;
  left: auto;
  min-width: 150px;
}

@media (max-width: 980px) {
  .treatment-record-row {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
  }

  .treatment-row-state,
  .treatment-row-actions {
    grid-column: 2;
  }

  .treatment-row-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .treatment-row-media img,
  .treatment-row-media .treatment-image-placeholder {
    width: 72px;
    height: 64px;
  }
}

@media (max-width: 560px) {
  .treatment-record-row {
    grid-template-columns: 1fr;
  }

  .treatment-row-state,
  .treatment-row-actions {
    grid-column: auto;
  }
}

@media (max-width: 980px) {
  .story-record-row {
    grid-template-columns: 1fr;
  }

  .story-record-row .treatment-row-state,
  .story-record-row .treatment-row-actions {
    grid-column: auto;
  }

  .story-record-row .treatment-row-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 980px) {
  .faq-record-row {
    grid-template-columns: 1fr;
  }

  .faq-record-row .treatment-row-state,
  .faq-record-row .treatment-row-actions {
    grid-column: auto;
  }

  .faq-record-row .treatment-row-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .gallery-record-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .gallery-record-row .treatment-row-state,
  .gallery-record-row .treatment-row-actions {
    grid-column: 2;
  }

  .gallery-record-row .treatment-row-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* Premium public Technology section. */
.hospital-site .equipment-section {
  padding-top: clamp(54px, 6vw, 84px);
  padding-bottom: clamp(54px, 6vw, 84px);
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, .12), transparent 34%),
    linear-gradient(180deg, #f0fbfa 0%, #fff 48%, #f5fbfa 100%);
}

.hospital-site .equipment-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
  max-width: var(--eye-section-max);
  margin: 0 auto clamp(28px, 3vw, 42px);
  text-align: left;
}

.hospital-site .equipment-heading .section-kicker,
.hospital-site .equipment-heading h2,
.hospital-site .equipment-heading > p:not(.section-kicker) {
  grid-column: 1;
  grid-row: auto;
  margin: 0;
}

.hospital-site .equipment-heading h2 {
  max-width: 900px;
}

.hospital-site .equipment-heading > p:not(.section-kicker) {
  max-width: 720px;
}

.hospital-site .technology-showcase {
  display: grid;
  gap: clamp(20px, 2.6vw, 30px);
  max-width: var(--eye-section-max);
  margin: 0 auto;
}

.hospital-site .equipment-featured-card,
.hospital-site .equipment-carousel {
  border: 1px solid rgba(13, 96, 88, .14);
  border-radius: var(--eye-radius-md);
  background: rgba(255,255,255,.94);
  box-shadow: var(--eye-shadow-soft);
}

.hospital-site .equipment-featured-card {
  display: grid;
  grid-template-columns: minmax(360px, 55fr) minmax(0, 45fr);
  overflow: hidden;
}

.hospital-site .equipment-featured-card > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hospital-site .equipment-featured-card > div {
  display: grid;
  align-content: center;
  gap: 16px;
  min-width: 0;
  padding: clamp(34px, 3.6vw, 54px);
}

.hospital-site .equipment-card-kicker {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hospital-site .equipment-featured-card h3,
.hospital-site .equipment-compact-card h3 {
  margin: 0;
  color: var(--brand);
  font-family: Georgia, serif;
  font-weight: 950;
  letter-spacing: 0;
}

.hospital-site .equipment-featured-card h3 {
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.04;
}

.hospital-site .equipment-featured-card p,
.hospital-site .equipment-compact-card p {
  margin: 0;
  color: #52657a;
  line-height: 1.58;
}

.hospital-site .equipment-featured-card > div > p:not(.equipment-card-kicker):not(.equipment-meta):not(.equipment-benefit) {
  font-size: clamp(16px, 1.25vw, 19px);
}

.hospital-site .equipment-featured-card > div > p:not(.equipment-card-kicker):not(.equipment-meta):not(.equipment-benefit),
.hospital-site .equipment-compact-card > div > p:not(.equipment-meta):not(.equipment-benefit) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.hospital-site .equipment-featured-card > div > p:not(.equipment-card-kicker):not(.equipment-meta):not(.equipment-benefit) {
  -webkit-line-clamp: 3;
}

.hospital-site .equipment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hospital-site .equipment-meta span {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: #0f766e;
  background: #e4f7f3;
  font-size: 12px;
  font-weight: 900;
}

.hospital-site .equipment-benefit {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  background: #fffbf2;
}

.hospital-site .equipment-benefit span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hospital-site .equipment-featured-card details,
.hospital-site .equipment-compact-card details {
  margin-top: 2px;
}

.hospital-site .equipment-featured-card summary,
.hospital-site .equipment-compact-card summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 950;
}

.hospital-site .equipment-learn-more {
  justify-self: start;
  color: var(--teal);
  font-weight: 950;
  text-decoration: none;
}

.hospital-site .equipment-learn-more::after {
  content: " \2192";
}

.hospital-site .equipment-carousel {
  --equipment-carousel-gap: 24px;
  --equipment-carousel-visible: 3;
  --equipment-carousel-card-width: 350px;
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 28px);
}

.hospital-site .equipment-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hospital-site .equipment-carousel-head strong {
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: clamp(22px, 2vw, 30px);
}

.hospital-site .equipment-carousel-controls {
  gap: 12px;
}

.hospital-site .equipment-carousel.is-static .equipment-carousel-controls {
  display: none;
}

.hospital-site .equipment-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.hospital-site .equipment-carousel-track {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: var(--equipment-carousel-gap);
  width: max-content;
  max-width: none;
  transition: transform .5s ease;
  will-change: transform;
}

.hospital-site .equipment-carousel.is-static .equipment-carousel-track {
  transform: none !important;
  will-change: auto;
}

.hospital-site .equipment-compact-card {
  flex: 0 0 var(--equipment-carousel-card-width);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 205px minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(13, 96, 88, .14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(31,54,86,.08);
}

.hospital-site .equipment-compact-card > img {
  width: 100%;
  height: 205px;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
}

.hospital-site .equipment-compact-card > div {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 0;
  padding: 20px;
  overflow: hidden;
}

.hospital-site .equipment-compact-card .tech-icon {
  width: max-content;
  min-width: 38px;
  height: 34px;
  margin: 0;
  border-radius: 10px;
  font-size: 12px;
}

.hospital-site .equipment-compact-card h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(22px, 1.9vw, 27px);
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hospital-site .equipment-compact-card > div > p:not(.equipment-meta):not(.equipment-benefit) {
  font-size: 14px;
  line-height: 1.5;
  -webkit-line-clamp: 3;
}

.hospital-site .equipment-compact-card .equipment-learn-more {
  align-self: end;
  margin-top: 4px;
}

.hospital-site .equipment-compact-card .equipment-benefit,
.hospital-site .equipment-compact-card details,
.hospital-site .equipment-compact-card .equipment-meta {
  display: none;
}

.hospital-site .equipment-section-actions {
  margin: clamp(20px, 2.4vw, 30px) 0 0;
  padding-bottom: 4px;
  text-align: center;
}

.hospital-site.technology-page .technology-directory {
  padding-top: 72px;
}

.hospital-site .technology-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 30px);
}

.hospital-site .technology-directory-card {
  display: grid;
  grid-template-columns: minmax(230px, .86fr) minmax(0, 1.14fr);
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--eye-radius-md);
  box-shadow: var(--eye-shadow-soft);
}

.hospital-site .technology-directory-card > img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.hospital-site .technology-directory-card > div {
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 26px;
}

.hospital-site .technology-directory-card h2 {
  margin: 0;
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: clamp(25px, 2vw, 34px);
  line-height: 1.08;
}

@media (max-width: 980px) {
  .hospital-site .equipment-featured-card {
    grid-template-columns: 1fr;
  }

  .hospital-site .equipment-featured-card > img {
    min-height: 300px;
    max-height: 390px;
  }

  .hospital-site .equipment-carousel {
    --equipment-carousel-visible: 2;
  }
}

@media (max-width: 640px) {
  .hospital-site .equipment-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .hospital-site .equipment-carousel {
    --equipment-carousel-visible: 1;
    --equipment-carousel-gap: 14px;
  }

  .hospital-site .equipment-carousel-head {
    align-items: flex-start;
  }

  .hospital-site .equipment-featured-card > img {
    min-height: 240px;
  }

  .hospital-site .equipment-featured-card > div {
    padding: 22px;
  }

  .hospital-site .technology-directory-grid,
  .hospital-site .technology-directory-card {
    grid-template-columns: 1fr;
  }

  .hospital-site .technology-directory-card > img {
    min-height: 230px;
    max-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hospital-site .equipment-carousel-track {
    transition: none;
  }
}

/* Premium public Patient Stories carousel. */
.hospital-site .patient-stories-section {
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, .1), transparent 34%),
    linear-gradient(180deg, #f0fbfa 0%, #fff 52%, #f5fbfa 100%);
}

.hospital-site .patient-stories-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 40px);
  text-align: left;
}

.hospital-site .patient-stories-heading > div:first-child {
  max-width: 760px;
}

.hospital-site .patient-stories-heading .section-note:empty {
  display: none;
}

.hospital-site .testimonial-carousel {
  --testimonial-carousel-gap: 24px;
  --testimonial-carousel-visible: 3;
  --testimonial-carousel-card-width: 350px;
  display: grid;
  gap: 18px;
}

.hospital-site .testimonial-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.hospital-site .testimonial-carousel-track {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: var(--testimonial-carousel-gap);
  width: max-content;
  max-width: none;
  transition: transform .5s ease;
  will-change: transform;
}

.hospital-site .testimonial-carousel.is-static .testimonial-carousel-track {
  justify-content: center;
  width: 100%;
  transform: none !important;
  will-change: auto;
}

.hospital-site .testimonial-card-premium {
  position: relative;
  flex: 0 0 var(--testimonial-carousel-card-width);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 12px;
  min-width: 0;
  min-height: 280px;
  height: 100%;
  margin: 0;
  padding: clamp(24px, 2.4vw, 32px);
  overflow: hidden;
  border: 1px solid rgba(13, 96, 88, .14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.9)),
    #fff;
  box-shadow: 0 18px 42px rgba(31,54,86,.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.hospital-site .testimonial-card-premium:hover,
.hospital-site .testimonial-card-premium:focus-within {
  border-color: rgba(13, 96, 88, .24);
  box-shadow: 0 22px 52px rgba(31,54,86,.12);
  transform: translateY(-2px);
}

.hospital-site .testimonial-quote-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--teal);
  background: #e8f7f5;
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.hospital-site .testimonial-card-premium .testimonial-avatar {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  margin: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(31,54,86,.12);
}

.hospital-site .testimonial-card-premium h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: clamp(21px, 1.8vw, 28px);
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hospital-site .testimonial-card-premium .testimonial-rating {
  margin: 0;
}

.hospital-site .testimonial-card-premium blockquote {
  display: -webkit-box;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #41546e;
  font-size: 15px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.hospital-site .testimonial-card-premium blockquote::before {
  content: none;
}

.hospital-site .testimonial-card-premium figcaption {
  margin: 2px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(13, 96, 88, .12);
}

.hospital-site .testimonial-card-premium figcaption span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.hospital-site .testimonial-carousel-controls {
  flex: 0 0 auto;
  gap: 12px;
}

.hospital-site .testimonial-carousel-controls[aria-hidden="true"] {
  display: none;
}

.hospital-site .testimonial-carousel-dots {
  display: inline-flex;
  justify-content: center;
  gap: 8px;
}

.hospital-site .testimonial-carousel.is-static .testimonial-carousel-dots {
  display: none;
}

.hospital-site .testimonial-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(13, 96, 88, .22);
  cursor: pointer;
}

.hospital-site .testimonial-carousel-dots button.is-active {
  width: 24px;
  background: var(--teal);
}

@media (max-width: 980px) {
  .hospital-site .testimonial-carousel {
    --testimonial-carousel-visible: 2;
  }
}

@media (max-width: 640px) {
  .hospital-site .patient-stories-heading {
    display: grid;
    align-items: start;
  }

  .hospital-site .testimonial-carousel {
    --testimonial-carousel-visible: 1;
    --testimonial-carousel-gap: 14px;
  }

  .hospital-site .testimonial-carousel-controls {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hospital-site .testimonial-carousel-track,
  .hospital-site .carousel-nav-button,
  .hospital-site .testimonial-card-premium {
    transition: none;
  }
}

/* Final public Gallery layout overrides. */
.hospital-site .gallery-section {
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, .08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f4fbfa 100%);
}

.hospital-site .gallery-section .section-heading {
  margin-bottom: clamp(22px, 3vw, 36px);
}

.hospital-site .premium-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) repeat(2, minmax(0, .94fr));
  grid-auto-flow: dense;
  align-items: stretch;
  gap: clamp(18px, 2.2vw, 28px);
}

.hospital-site .premium-gallery figure,
.hospital-site .premium-gallery figure:first-child {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, .14);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(16, 32, 51, .08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.hospital-site .premium-gallery figure:first-child {
  grid-row: span 2;
}

.hospital-site .premium-gallery figure:hover,
.hospital-site .premium-gallery figure:focus-within {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, .28);
  box-shadow: 0 22px 48px rgba(16, 32, 51, .12);
}

.hospital-site .gallery-open {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.hospital-site .premium-gallery img,
.hospital-site .premium-gallery figure:first-child img {
  display: block;
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

.hospital-site .premium-gallery figure:first-child img {
  aspect-ratio: 4 / 4.35;
}

.hospital-site .premium-gallery figure:hover img,
.hospital-site .premium-gallery figure:focus-within img {
  transform: scale(1.035);
}

.hospital-site .premium-gallery figcaption {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 0;
  padding: 16px 18px 18px;
}

.hospital-site .premium-gallery span {
  color: #0f766e;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hospital-site .premium-gallery strong {
  color: #102033;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.2;
}

@media (max-width: 900px) {
  .hospital-site .premium-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hospital-site .premium-gallery figure:first-child {
    grid-column: span 2;
    grid-row: auto;
  }

  .hospital-site .premium-gallery figure:first-child img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .hospital-site .premium-gallery,
  .hospital-site .premium-gallery figure:first-child {
    grid-template-columns: 1fr;
    grid-column: auto;
  }
}

.hospital-site .gallery-cta-row {
  display: flex;
  justify-content: center;
  margin-top: clamp(22px, 3vw, 34px);
}

.hospital-site .gallery-section .premium-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: clamp(16px, 2vw, 24px);
}

.hospital-site .gallery-section .premium-gallery figure,
.hospital-site .gallery-section .premium-gallery figure:first-child {
  grid-column: auto;
  grid-row: auto;
}

.hospital-site .gallery-section .premium-gallery img,
.hospital-site .gallery-section .premium-gallery figure:first-child img {
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
  object-fit: cover;
}

.hospital-site .gallery-section .premium-gallery figcaption {
  min-height: 74px;
  padding: 13px 15px 15px;
}

.hospital-site .gallery-section .premium-gallery strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hospital-site.gallery-page .gallery-directory {
  padding: clamp(54px, 6vw, 76px) clamp(20px, 4vw, 40px) clamp(64px, 7vw, 92px);
}

.hospital-site.gallery-page .gallery-directory > .section-heading,
.hospital-site.gallery-page .gallery-directory-grid {
  width: min(100%, 1240px);
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

.hospital-site.gallery-page .gallery-directory > .section-heading {
  margin-bottom: clamp(24px, 3vw, 36px);
  text-align: left;
}

.hospital-site.gallery-page .gallery-directory > .section-heading p:not(.section-kicker) {
  max-width: 720px;
}

.hospital-site.gallery-page .gallery-directory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: clamp(20px, 2.4vw, 30px);
}

.hospital-site.gallery-page .gallery-directory-grid figure,
.hospital-site.gallery-page .gallery-directory-grid figure:first-child,
.hospital-site.gallery-page .gallery-directory-grid figure:nth-child(5n + 1) {
  grid-column: auto;
  grid-row: auto;
}

.hospital-site.gallery-page .gallery-directory-grid img,
.hospital-site.gallery-page .gallery-directory-grid figure:first-child img,
.hospital-site.gallery-page .gallery-directory-grid figure:nth-child(5n + 1) img {
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
  object-fit: cover;
}

.hospital-site.gallery-page .gallery-directory-grid figcaption {
  min-height: 84px;
  padding: 16px 18px 18px;
}

.hospital-site .lightbox-close {
  display: inline-grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.16);
  line-height: 1;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.hospital-site .lightbox-close:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.74);
  background: rgba(255,255,255,.26);
}

@media (max-width: 900px) {
  .hospital-site .gallery-section .premium-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hospital-site.gallery-page .gallery-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hospital-site .gallery-section .premium-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .hospital-site .gallery-section .premium-gallery figcaption {
    min-height: 68px;
    padding: 11px 12px 13px;
  }

  .hospital-site.gallery-page .gallery-directory {
    padding-top: 48px;
  }

  .hospital-site.gallery-page .gallery-directory-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .hospital-site .gallery-section .premium-gallery {
    grid-template-columns: 1fr;
  }
}

/* Premium public FAQ page and accordion. */
.hospital-site .homepage-faq-section {
  padding-top: clamp(54px, 6vw, 80px);
  padding-bottom: clamp(54px, 6vw, 82px);
}

.hospital-site .homepage-faq-section > .section-heading,
.hospital-site .homepage-faq-list {
  width: min(100%, 1120px);
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

.hospital-site .homepage-faq-section > .section-heading {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.hospital-site .homepage-faq-list {
  gap: 16px;
}

.hospital-site .homepage-faq-list details {
  border-radius: 20px;
}

.hospital-site .homepage-view-all.faq-home-show-all::after {
  content: "\2193";
}

.hospital-site.faq-page .faq-directory {
  padding: clamp(54px, 6vw, 76px) clamp(20px, 4vw, 40px) clamp(64px, 7vw, 92px);
}

.hospital-site.faq-page .faq-directory > .section-heading,
.hospital-site .faq-directory-panel {
  width: min(100%, 1120px);
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

.hospital-site.faq-page .faq-directory > .section-heading {
  margin-bottom: clamp(22px, 3vw, 34px);
  text-align: left;
}

.hospital-site.faq-page .faq-directory > .section-heading p:not(.section-kicker) {
  max-width: 720px;
}

.hospital-site .faq-directory-panel {
  display: grid;
  gap: 18px;
}

.hospital-site .faq-search-field {
  display: grid;
  gap: 8px;
}

.hospital-site .faq-search-field span {
  color: #53657a;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hospital-site .faq-search-field input {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 1px solid rgba(13, 96, 88, .18);
  border-radius: 18px;
  color: #102033;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 32px rgba(16, 32, 51, .06);
  font: inherit;
}

.hospital-site .faq-search-field input:focus {
  border-color: rgba(15, 118, 110, .56);
  outline: 3px solid rgba(15, 118, 110, .14);
}

.hospital-site .faq-search-empty {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(13, 96, 88, .14);
  border-radius: 18px;
  color: #53657a;
  background: rgba(255,255,255,.88);
  font-weight: 800;
}

.hospital-site .premium-faq {
  display: grid;
  gap: 14px;
  width: min(100%, 1120px);
}

.hospital-site .premium-faq details {
  overflow: hidden;
  border: 1px solid rgba(13, 96, 88, .16);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 30px rgba(16, 32, 51, .055);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}

.hospital-site .premium-faq details:hover,
.hospital-site .premium-faq details:focus-within {
  border-color: rgba(15, 118, 110, .38);
  box-shadow: 0 18px 38px rgba(16, 32, 51, .085);
}

.hospital-site .premium-faq details[open] {
  border-color: rgba(15, 118, 110, .48);
  background: #fff;
  box-shadow: 0 22px 48px rgba(16, 32, 51, .1);
}

.hospital-site .premium-faq summary {
  position: relative;
  display: block;
  min-height: 62px;
  padding: 20px 76px 20px 22px;
  list-style: none;
  color: #102033;
  cursor: pointer;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 900;
  line-height: 1.25;
}

.hospital-site .premium-faq summary::-webkit-details-marker {
  display: none;
}

.hospital-site .premium-faq summary::after {
  content: "\002B";
  position: absolute;
  top: 50%;
  right: 22px;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #075f58;
  background: #e7f7f5;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.hospital-site .premium-faq details[open] summary {
  color: var(--brand);
}

.hospital-site .premium-faq details[open] summary::after {
  content: "\2212";
  color: #fff;
  background: #0f766e;
}

.hospital-site .premium-faq details p,
.hospital-site .premium-faq .faq-answer {
  margin: 0;
}

.hospital-site .premium-faq details > p,
.hospital-site .premium-faq .faq-answer {
  padding: 0 22px 22px;
  color: #52657a;
  font-size: 16px;
  line-height: 1.72;
}

.hospital-site .premium-faq .faq-answer p {
  padding: 0;
}

.hospital-site .faq-show-more {
  justify-self: center;
  margin-top: 8px;
}

.hospital-site .faq-show-more::after {
  content: "\2193";
}

@media (max-width: 640px) {
  .hospital-site.faq-page .faq-directory {
    padding-top: 46px;
  }

  .hospital-site .premium-faq summary {
    padding: 18px 64px 18px 18px;
  }

  .hospital-site .premium-faq summary::after {
    right: 18px;
  }

  .hospital-site .premium-faq details > p,
  .hospital-site .premium-faq .faq-answer {
    padding-right: 18px;
    padding-left: 18px;
  }
}

/* Public homepage polish pass: consistent premium section rhythm and cards. */
.hospital-site {
  --public-section-max: min(1180px, calc(100vw - 40px));
  --public-card-radius: 18px;
  --public-card-border: 1px solid rgba(15, 118, 110, .13);
  --public-card-shadow: 0 18px 44px rgba(16, 32, 51, .075);
  --public-card-shadow-hover: 0 24px 58px rgba(16, 32, 51, .12);
}

.hospital-site .hospital-section {
  padding-top: clamp(58px, 7vw, 96px);
  padding-bottom: clamp(58px, 7vw, 96px);
}

.hospital-site .hospital-section > .section-heading,
.hospital-site .hospital-section > .section-copy,
.hospital-site .hospital-section > .service-grid,
.hospital-site .hospital-section > .why-grid,
.hospital-site .hospital-section > .doctor-carousel,
.hospital-site .hospital-section > .testimonial-carousel,
.hospital-site .hospital-section > .premium-gallery,
.hospital-site .hospital-section > .blog-grid-premium,
.hospital-site .hospital-section > .premium-faq,
.hospital-site .hospital-section > .homepage-view-all-row {
  max-width: var(--public-section-max);
}

.hospital-site .section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(26px, 3.4vw, 44px);
  text-align: left;
}

.hospital-site .section-heading .section-kicker,
.hospital-site .section-kicker {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hospital-site .section-heading h2,
.hospital-site .section-copy h2,
.hospital-site .appointment-copy h2 {
  max-width: 860px;
  margin: 0;
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.04;
}

.hospital-site .section-heading > p:not(.section-kicker),
.hospital-site .section-copy .lead,
.hospital-site .appointment-copy p {
  max-width: 760px;
  margin: 0;
  color: #52657a;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.68;
}

.hospital-site .btn,
.hospital-site .homepage-view-all,
.hospital-site .secondary-link,
.hospital-site .section-link,
.hospital-site .doctor-action {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}

.hospital-site .homepage-view-all,
.hospital-site .secondary-link {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(15, 118, 110, .34);
  border-radius: 999px;
  color: #075f58;
  background: #ecfdf8;
  box-shadow: 0 10px 24px rgba(15, 118, 110, .08);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.hospital-site .homepage-view-all:hover,
.hospital-site .homepage-view-all:focus-visible,
.hospital-site .secondary-link:hover,
.hospital-site .secondary-link:focus-visible {
  color: #fff;
  background: #0f766e;
  border-color: #0f766e;
  transform: translateY(-1px);
}

.hospital-site .section-link {
  align-self: end;
  color: #075f58;
  font-size: 13px;
  font-weight: 950;
  text-underline-offset: 4px;
}

.hospital-site .section-link:hover,
.hospital-site .section-link:focus-visible {
  color: var(--brand);
}

.hospital-site .hero-mini-trust span,
.hospital-site .trust-band article,
.hospital-site .why-grid article,
.hospital-site .service-card,
.hospital-site .doctor-card-premium,
.hospital-site .testimonial-card-premium,
.hospital-site .premium-gallery figure,
.hospital-site .blog-grid-premium article,
.hospital-site .premium-faq details {
  border: var(--public-card-border);
  border-radius: var(--public-card-radius);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--public-card-shadow);
}

.hospital-site .why-grid article:hover,
.hospital-site .service-card:hover,
.hospital-site .doctor-card-premium:hover,
.hospital-site .doctor-card-premium:focus-within,
.hospital-site .testimonial-card-premium:hover,
.hospital-site .testimonial-card-premium:focus-within,
.hospital-site .premium-gallery figure:hover,
.hospital-site .premium-gallery figure:focus-within,
.hospital-site .blog-grid-premium article:hover,
.hospital-site .blog-grid-premium article:focus-within {
  border-color: rgba(15, 118, 110, .24);
  box-shadow: var(--public-card-shadow-hover);
  transform: translateY(-2px);
}

.hospital-site .trust-section {
  padding: clamp(34px, 4vw, 54px) 20px;
}

.hospital-site .trust-section-heading {
  max-width: var(--public-section-max);
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.hospital-site .trust-section-heading h2 {
  margin-inline: auto;
  font-size: clamp(30px, 3.4vw, 46px);
}

.hospital-site .trust-section-heading p {
  margin-inline: auto;
}

.hospital-site .trust-band {
  max-width: var(--public-section-max);
  gap: clamp(14px, 2vw, 22px);
}

.hospital-site .trust-band article {
  min-height: 112px;
  padding: 20px;
}

.hospital-site .split-section {
  gap: clamp(34px, 5vw, 72px);
}

.hospital-site .section-image img {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(16, 32, 51, .13);
}

.hospital-site .about-badges {
  gap: 10px;
  margin-top: 18px;
}

.hospital-site .about-badges span {
  border: 1px solid rgba(15, 118, 110, .14);
  border-radius: 999px;
  background: #ecfdf8;
}

.hospital-site .service-grid,
.hospital-site .why-grid {
  gap: clamp(18px, 2.2vw, 26px);
}

.hospital-site .service-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.hospital-site .service-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hospital-site .service-card > div,
.hospital-site .why-grid article {
  padding: 22px;
}

.hospital-site .service-card p,
.hospital-site .why-grid p {
  color: #52657a;
  line-height: 1.62;
}

.hospital-site .why-grid article {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px;
  min-height: 230px;
}

.hospital-site .why-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: #075f58;
  background: #e8f7f5;
}

.hospital-site .why-grid strong {
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.12;
}

.hospital-site .doctor-carousel {
  gap: 18px;
}

.hospital-site .doctor-carousel .doctor-card-premium {
  height: 520px;
  grid-template-rows: 230px minmax(0, 1fr);
}

.hospital-site .doctor-carousel .doctor-card-premium img {
  height: 230px;
}

.hospital-site .doctor-carousel .doctor-card-premium > div {
  display: grid;
  grid-template-rows: auto auto minmax(0, auto) minmax(0, 1fr) auto;
  gap: 8px;
  padding: 22px;
}

.hospital-site .doctor-carousel .doctor-card-premium h3 {
  font-size: clamp(22px, 2vw, 28px);
}

.hospital-site .doctor-action {
  width: fit-content;
  margin-top: 4px;
  color: #075f58;
  font-weight: 950;
}

.hospital-site .patient-stories-section {
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, .08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f4fbfa 100%);
}

.hospital-site .testimonial-card-premium {
  min-height: 310px;
  padding: 28px;
}

.hospital-site .testimonial-quote-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
}

.hospital-site .testimonial-card-premium h3 {
  font-size: clamp(22px, 2vw, 30px);
}

.hospital-site .testimonial-card-premium blockquote {
  color: #40536b;
  font-size: 15px;
  line-height: 1.72;
}

.hospital-site .premium-gallery {
  gap: clamp(16px, 2vw, 24px);
}

.hospital-site .premium-gallery figure,
.hospital-site .premium-gallery figure:first-child {
  border-radius: 18px;
}

.hospital-site .premium-gallery img,
.hospital-site .premium-gallery figure:first-child img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hospital-site .blog-grid-premium {
  gap: clamp(22px, 3vw, 32px);
}

.hospital-site .blog-grid-premium article {
  overflow: hidden;
}

.hospital-site .blog-grid-premium img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hospital-site .blog-grid-premium article > div {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: clamp(22px, 2.2vw, 30px);
}

.hospital-site .blog-grid-premium h3 {
  color: #122033;
  font-family: Georgia, serif;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.12;
}

.hospital-site .blog-grid-premium .blog-meta,
.hospital-site .blog-grid-premium span {
  color: #61738b;
  font-size: 13px;
  font-weight: 850;
}

.hospital-site .appointment-section {
  padding-top: clamp(64px, 7vw, 104px);
  padding-bottom: clamp(64px, 7vw, 104px);
}

.hospital-site .appointment-inner {
  border-radius: 26px;
}

@media (max-width: 980px) {
  .hospital-site {
    --public-section-max: min(100%, calc(100vw - 32px));
  }

  .hospital-site .hospital-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hospital-site .doctor-carousel .doctor-card-premium {
    height: 500px;
  }
}

@media (max-width: 640px) {
  .hospital-site {
    --public-section-max: min(100%, calc(100vw - 24px));
  }

  .hospital-site .hospital-section {
    padding: 46px 12px;
  }

  .hospital-site .section-heading h2,
  .hospital-site .section-copy h2,
  .hospital-site .appointment-copy h2 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .hospital-site .why-grid article {
    min-height: 0;
  }

  .hospital-site .doctor-carousel .doctor-card-premium {
    height: auto;
    min-height: 500px;
  }

  .hospital-site .doctor-carousel .doctor-card-premium img {
    height: 240px;
  }

  .hospital-site .testimonial-card-premium {
    min-height: 300px;
    padding: 24px;
  }
}

/* Final public refinement: testimonial presence, benefit-card hierarchy, and secondary CTA consistency. */
.hospital-site .patient-stories-section {
  padding-top: clamp(64px, 7vw, 98px);
  padding-bottom: clamp(64px, 7vw, 98px);
}

.hospital-site .patient-stories-heading {
  margin-bottom: clamp(24px, 3vw, 38px);
}

.hospital-site .testimonial-card-premium {
  grid-template-rows: auto auto minmax(120px, 1fr) auto;
  gap: 14px;
  min-height: 340px;
  padding: clamp(28px, 2.8vw, 36px);
  border-color: rgba(15, 118, 110, .18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(245, 252, 250, .94)),
    #fff;
}

.hospital-site .testimonial-card-premium::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), rgba(217, 151, 53, .85));
  opacity: .8;
}

.hospital-site .testimonial-quote-mark {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(15, 118, 110, .16);
  border-radius: 16px;
  color: #075f58;
  background: linear-gradient(180deg, #e8f7f5, #f7fffd);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.hospital-site .testimonial-card-premium h3 {
  padding-right: 64px;
  color: var(--brand);
  font-size: clamp(23px, 2vw, 31px);
  letter-spacing: 0;
}

.hospital-site .testimonial-card-premium blockquote {
  color: #354960;
  font-size: clamp(15.5px, 1.18vw, 17px);
  line-height: 1.72;
  -webkit-line-clamp: 6;
}

.hospital-site .testimonial-card-premium figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  padding-top: 14px;
}

.hospital-site .testimonial-card-premium figcaption strong,
.hospital-site .testimonial-card-premium figcaption span {
  color: #075f58;
  font-size: 14px;
  font-weight: 950;
}

.hospital-site .why-grid {
  gap: clamp(20px, 2.4vw, 30px);
}

.hospital-site .why-grid article {
  min-height: 246px;
  padding: clamp(24px, 2.3vw, 30px);
  border-color: rgba(15, 118, 110, .18);
  background:
    linear-gradient(180deg, #fff, #f8fcfb);
}

.hospital-site .why-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(15, 118, 110, .14);
  border-radius: 17px;
  font-size: 13px;
  box-shadow: 0 10px 22px rgba(15, 118, 110, .09);
}

.hospital-site .why-grid strong {
  font-size: clamp(21px, 1.75vw, 27px);
}

.hospital-site .why-grid p {
  color: #43566e;
  font-size: clamp(15px, 1.05vw, 16px);
  line-height: 1.66;
}

.hospital-site .doctor-carousel .doctor-card-premium p,
.hospital-site .doctor-carousel .doctor-expertise,
.hospital-site .doctor-carousel .doctor-meta,
.hospital-site .service-card p,
.hospital-site .blog-grid-premium p {
  font-size: clamp(14px, 1.02vw, 15.5px);
}

.hospital-site .doctor-carousel .doctor-meta dt,
.hospital-site .doctor-carousel .doctor-meta dd,
.hospital-site .blog-grid-premium .article-meta-line,
.hospital-site .blog-grid-premium .blog-meta,
.hospital-site .blog-grid-premium article > div > span {
  font-size: 13.5px;
  line-height: 1.45;
}

.hospital-site .homepage-view-all-row,
.hospital-site .section-actions.homepage-view-all-row,
.hospital-site .section-cta-row.homepage-view-all-row {
  display: flex;
  justify-content: center;
  margin-top: clamp(22px, 3vw, 34px);
}

.hospital-site .homepage-view-all,
.hospital-site .secondary-link,
.hospital-site .faq-show-more {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0;
}

.hospital-site .homepage-view-all::after,
.hospital-site .secondary-link::after {
  margin-left: 8px;
}

@media (max-width: 640px) {
  .hospital-site .testimonial-card-premium {
    min-height: 320px;
  }

  .hospital-site .testimonial-card-premium h3 {
    padding-right: 0;
  }

  .hospital-site .why-grid article {
    min-height: 0;
  }
}

/* Medical Team homepage portrait cards. Keep separate from the full /medical-team directory. */
.hospital-site:not(.medical-team-page) .doctor-carousel {
  --doctor-carousel-gap: clamp(18px, 2vw, 24px);
}

.hospital-site:not(.medical-team-page) .doctor-carousel .doctor-card-premium {
  height: clamp(580px, 49vw, 640px);
  grid-template-rows: auto minmax(0, 1fr);
  border-radius: 18px;
}

.hospital-site:not(.medical-team-page) .doctor-carousel .doctor-card-premium img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  min-height: 0;
  object-fit: cover;
}

.hospital-site:not(.medical-team-page) .doctor-carousel .doctor-card-premium > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(18px, 2vw, 22px);
  min-height: 0;
  overflow: hidden;
}

.hospital-site:not(.medical-team-page) .doctor-carousel .doctor-card-premium h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #122033;
  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hospital-site:not(.medical-team-page) .doctor-carousel .doctor-designation {
  display: -webkit-box;
  overflow: hidden;
  color: var(--brand);
  font-size: 13px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hospital-site:not(.medical-team-page) .doctor-carousel .doctor-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 8px;
  margin: 2px 0;
  font-size: 12.5px;
  line-height: 1.35;
}

.hospital-site:not(.medical-team-page) .doctor-carousel .doctor-meta dt,
.hospital-site:not(.medical-team-page) .doctor-carousel .doctor-meta dd {
  min-width: 0;
}

.hospital-site:not(.medical-team-page) .doctor-carousel .doctor-meta dd,
.hospital-site:not(.medical-team-page) .doctor-carousel .doctor-expertise,
.hospital-site:not(.medical-team-page) .doctor-carousel .doctor-card-premium p:not(.doctor-expertise) {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.hospital-site:not(.medical-team-page) .doctor-carousel .doctor-expertise,
.hospital-site:not(.medical-team-page) .doctor-carousel .doctor-card-premium p:not(.doctor-expertise) {
  margin: 0;
  font-size: 13px;
}

.hospital-site:not(.medical-team-page) .doctor-carousel .doctor-action {
  margin-top: auto;
  padding-top: 4px;
}

@media (max-width: 980px) {
  .hospital-site:not(.medical-team-page) .doctor-carousel .doctor-card-premium {
    height: clamp(560px, 78vw, 620px);
  }
}

@media (max-width: 640px) {
  .hospital-site:not(.medical-team-page) .doctor-carousel .doctor-card-premium {
    height: auto;
    min-height: 0;
  }

  .hospital-site:not(.medical-team-page) .doctor-carousel .doctor-card-premium img {
    aspect-ratio: 4 / 5;
  }
}

/* Final homepage rhythm: shared spacing and consistent secondary View All placement. */
.homepage-site {
  --homepage-section-y: clamp(64px, 5.6vw, 80px);
  --homepage-section-y-tablet: clamp(52px, 6vw, 64px);
  --homepage-section-y-mobile: clamp(40px, 10vw, 48px);
  --homepage-cta-gap: clamp(24px, 2.6vw, 32px);
  --homepage-cta-bottom: clamp(4px, 1vw, 8px);
}

.homepage-site .hospital-section:not(.appointment-section) {
  padding-top: var(--homepage-section-y);
  padding-bottom: var(--homepage-section-y);
}

.homepage-site .section-heading {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.homepage-site .section-actions.homepage-view-all-row,
.homepage-site .section-cta-row.homepage-view-all-row,
.homepage-site .homepage-view-all-row,
.homepage-site .equipment-section-actions.homepage-view-all-row,
.homepage-site .gallery-cta-row.homepage-view-all-row {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: var(--public-section-max);
  margin: var(--homepage-cta-gap) auto 0;
  padding: 0 0 var(--homepage-cta-bottom);
}

.homepage-site .homepage-view-all {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(15, 118, 110, .38);
  border-radius: 999px;
  color: #075f58;
  background: #ecfdf8;
  box-shadow: 0 10px 24px rgba(15, 118, 110, .08);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.homepage-site .homepage-view-all::after {
  content: "\2192";
  margin-left: 8px;
  font-weight: 950;
}

.homepage-site .homepage-view-all:hover,
.homepage-site .homepage-view-all:focus-visible {
  border-color: #0f766e;
  color: #fff;
  background: #0f766e;
  box-shadow: 0 14px 28px rgba(13, 96, 88, .16);
  transform: translateY(-1px);
}

.homepage-site .homepage-view-all:active {
  transform: translateY(0);
}

.homepage-site .homepage-view-all:focus-visible {
  outline: 3px solid rgba(217, 151, 53, .54);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .homepage-site .hospital-section:not(.appointment-section) {
    padding-top: var(--homepage-section-y-tablet);
    padding-bottom: var(--homepage-section-y-tablet);
  }
}

@media (max-width: 640px) {
  .homepage-site .hospital-section:not(.appointment-section) {
    padding-top: var(--homepage-section-y-mobile);
    padding-bottom: var(--homepage-section-y-mobile);
  }

  .homepage-site .section-heading {
    margin-bottom: 22px;
  }

.homepage-site .homepage-view-all {
    min-height: 44px;
    padding-right: 20px;
    padding-left: 20px;
  }
}

.patient-stories-page .patient-stories-directory {
  padding-top: clamp(64px, 7vw, 92px);
}

.patient-stories-page .patient-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 30px);
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.patient-stories-page .testimonial-card-premium {
  min-height: 0;
}

@media (max-width: 980px) {
  .patient-stories-page .patient-stories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .patient-stories-page .patient-stories-grid {
    grid-template-columns: 1fr;
    width: min(100%, calc(100vw - 24px));
  }
}
