/*
Theme Name: DHS Modern
Theme URI: https://doctorshospitalsseguku.com
Author: Doctors' Hospital Sseguku
Description: A modern, accessible, mobile-first theme for Doctors' Hospital Sseguku.
Version: 1.5.4
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: dhs-modern
*/

:root {
  --dhs-navy: #002066;
  --dhs-navy-2: #0f3e84;
  --dhs-blue: #1769d1;
  --dhs-teal: #0f3e84;
  --dhs-teal-dark: #002066;
  --dhs-red: #e34a45;
  --dhs-gold: #f3a43b;
  --dhs-ink: #16213b;
  --dhs-muted: #5d6d86;
  --dhs-soft: #f2f6fc;
  --dhs-line: #d9e3f1;
  --dhs-white: #ffffff;
  --dhs-shadow: 0 22px 60px rgba(0, 32, 102, 0.12);
  --dhs-radius: 24px;
  --dhs-radius-sm: 14px;
  --dhs-container: min(1180px, calc(100% - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dhs-white);
  color: var(--dhs-ink);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--dhs-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--dhs-teal-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.65em;
  color: var(--dhs-navy);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5.35rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 1.25em;
}

.container {
  width: var(--dhs-container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 18px;
  z-index: 9999;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--dhs-white);
  color: var(--dhs-navy);
  box-shadow: var(--dhs-shadow);
}

.skip-link:focus {
  top: 18px;
}

.topbar {
  background: var(--dhs-navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.87rem;
}

.topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar__items {
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.topbar a:hover {
  color: var(--dhs-white);
}

.topbar__status {
  display: inline-flex;
  align-items: center;
  color: var(--dhs-white);
  font-weight: 700;
}

.topbar__status::before {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 32, 102, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  flex: 0 0 auto;
}

.brand a {
  display: block;
  text-decoration: none;
}

.brand img,
.custom-logo {
  width: auto;
  max-width: 305px;
  height: 58px;
  object-fit: contain;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 12px 11px;
  border-radius: 9px;
  color: var(--dhs-navy);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  background: var(--dhs-soft);
  color: var(--dhs-blue);
}

.header-cta {
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dhs-line);
  border-radius: 12px;
  background: var(--dhs-white);
  color: var(--dhs-navy);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: 180ms ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -7px;
}

.menu-toggle span::after {
  position: absolute;
  top: 7px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: var(--dhs-teal);
  color: var(--dhs-white);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--dhs-teal-dark);
  color: var(--dhs-white);
  box-shadow: 0 14px 30px rgba(15, 62, 132, 0.22);
}

.button--navy {
  background: var(--dhs-navy);
}

.button--navy:hover {
  background: var(--dhs-navy-2);
}

.button--outline {
  border: 1px solid rgba(0, 32, 102, 0.18);
  background: transparent;
  color: var(--dhs-navy);
}

.button--outline:hover {
  background: var(--dhs-navy);
  color: var(--dhs-white);
}

.button--light {
  background: var(--dhs-white);
  color: var(--dhs-navy);
}

.button--light:hover {
  background: #eaf5f4;
  color: var(--dhs-navy);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--dhs-teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: none;
}

.department-service-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.department-service-group { margin: 0 0 24px; }
.department-service-lists .department-service-group { padding: 26px; border: 1px solid var(--dhs-line); border-radius: 16px; background: white; }
.department-service-group h3 { margin: 0 0 14px; font-size: 1.2rem; }
.department-service-group ul, .room-card ul { margin: 0; padding-left: 20px; }
.department-service-group li, .room-card li { margin-bottom: 8px; }
.room-package-details { margin-top: 32px; }
@media (max-width: 700px) { .department-service-lists { grid-template-columns: 1fr; } }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 15%, rgba(15, 62, 132, 0.16), transparent 32%),
    linear-gradient(135deg, #f8fbfd 0%, #edf7f8 100%);
}

.hero::before {
  position: absolute;
  right: -90px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border: 74px solid rgba(23, 105, 209, 0.06);
  border-radius: 50%;
  content: "";
}

.hero__inner {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  align-items: center;
  gap: 66px;
  padding-block: 72px 90px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--dhs-teal);
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--dhs-muted);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--dhs-muted);
  font-size: 0.9rem;
  font-weight: 650;
  list-style: none;
}

.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__proof li::before {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 62, 132, 0.12);
  color: var(--dhs-teal-dark);
  content: "✓";
  font-size: 0.73rem;
  font-weight: 900;
}

.hero__visual {
  position: relative;
}

.hero__image {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border-radius: 38px 38px 120px 38px;
  background: #dbe9ef;
  box-shadow: var(--dhs-shadow);
}

.hero__image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.hero__image::after {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(transparent, rgba(0, 32, 102, 0.34));
  content: "";
}

.hero__card {
  position: absolute;
  bottom: 28px;
  left: -34px;
  z-index: 2;
  max-width: 250px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 50px rgba(0, 32, 102, 0.18);
}

.hero__card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--dhs-navy);
  font-size: 1.05rem;
}

.hero__card span {
  color: var(--dhs-muted);
  font-size: 0.88rem;
}

.care-strip {
  position: relative;
  z-index: 5;
  margin-top: -40px;
}

.care-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 20px;
  background: var(--dhs-navy);
  color: var(--dhs-white);
  box-shadow: 0 24px 60px rgba(0, 32, 102, 0.2);
}

.care-strip__item {
  position: relative;
  min-height: 132px;
  padding: 27px 30px;
}

.care-strip__item + .care-strip__item {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.care-strip__item--accent {
  background: var(--dhs-teal);
}

.care-strip__label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.care-strip__item--accent .care-strip__label {
  color: rgba(255, 255, 255, 0.78);
}

.care-strip__item strong,
.care-strip__item a {
  color: var(--dhs-white);
  font-size: 1.1rem;
  font-weight: 750;
  text-decoration: none;
}

.care-strip__item p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.section {
  padding-block: 105px;
}

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

.section--navy {
  background: var(--dhs-navy);
  color: rgba(255, 255, 255, 0.78);
}

.section--navy h2,
.section--navy h3 {
  color: var(--dhs-white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
}

.section-heading__copy {
  max-width: 720px;
}

.section-heading p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--dhs-muted);
}

.section--navy .section-heading p {
  color: rgba(255, 255, 255, 0.66);
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 255px;
  padding: 27px;
  border: 1px solid var(--dhs-line);
  border-radius: var(--dhs-radius-sm);
  background: var(--dhs-white);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--dhs-blue);
  background: var(--dhs-blue);
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 32, 102, 0.1);
}

.service-card:is(:hover, :focus-visible) h3,
.service-card:is(:hover, :focus-visible) p {
  color: #fff;
}

.service-card:is(:hover, :focus-visible)::after {
  background: rgba(255, 255, 255, 0.14);
}

.service-card:focus-visible {
  outline: 3px solid var(--dhs-blue);
  outline-offset: 4px;
}

.service-card::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(15, 62, 132, 0.08);
  content: "";
}

.service-kicker {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 12px;
  background: var(--dhs-soft);
  color: var(--dhs-blue);
  font-size: 0.78rem;
  font-weight: 850;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  margin: 0;
  color: var(--dhs-muted);
  font-size: 0.92rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 72px;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  min-height: 520px;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: var(--dhs-shadow);
}

.about-badge {
  position: absolute;
  right: -22px;
  bottom: 30px;
  width: 155px;
  padding: 24px;
  border-radius: 20px;
  background: var(--dhs-teal);
  color: var(--dhs-white);
  box-shadow: 0 18px 40px rgba(15, 62, 132, 0.3);
}

.about-badge strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.about-badge span {
  display: block;
  margin-top: 7px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.about-copy > p {
  color: var(--dhs-muted);
  font-size: 1.04rem;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0 34px;
}

.value {
  padding: 17px 18px;
  border: 1px solid var(--dhs-line);
  border-radius: 12px;
  background: var(--dhs-white);
}

.value strong {
  display: block;
  color: var(--dhs-navy);
  font-size: 0.94rem;
}

.value span {
  color: var(--dhs-muted);
  font-size: 0.84rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 54px;
}

.stat {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
}

.stat strong {
  display: block;
  margin-bottom: 7px;
  color: var(--dhs-white);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--dhs-line);
  border-radius: 20px;
  background: var(--dhs-white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--dhs-shadow);
}

.team-card__image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dhs-soft);
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 350ms ease;
}

.team-card:hover img {
  transform: scale(1.03);
}

.team-card__content {
  padding: 23px 24px 25px;
}

.team-card__content h3 {
  margin-bottom: 5px;
}

.team-card__content p {
  margin: 0;
  color: var(--dhs-teal-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  min-height: 290px;
  grid-column: span 4;
  margin: 0;
  border-radius: 18px;
  background: var(--dhs-soft);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(5) {
  grid-column: span 8;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  transition: transform 350ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

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

.journey__step {
  padding: 30px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.journey__number {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--dhs-teal);
  color: var(--dhs-white);
  font-size: 0.84rem;
  font-weight: 800;
}

.journey__step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--dhs-line);
  border-radius: 18px;
  background: var(--dhs-white);
}

.news-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #d8eef0, #dae7f2);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.news-card:hover .news-card__media img {
  transform: scale(1.04);
}

.news-card__content {
  padding: 24px;
}

.news-card__date {
  display: block;
  margin-bottom: 12px;
  color: var(--dhs-teal-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card h3 a {
  color: inherit;
  text-decoration: none;
}

.news-card p {
  margin-bottom: 0;
  color: var(--dhs-muted);
  font-size: 0.92rem;
}

.page-hero {
  padding-block: 88px 82px;
  background:
    radial-gradient(circle at 85% 20%, rgba(15, 62, 132, 0.16), transparent 28%),
    var(--dhs-navy);
  color: rgba(255, 255, 255, 0.72);
}

.page-hero h1 {
  max-width: 880px;
  margin-bottom: 17px;
  color: var(--dhs-white);
  font-size: clamp(2.6rem, 5vw, 4.35rem);
}

.page-hero p {
  max-width: 670px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--dhs-gold);
  text-decoration: none;
}

.content-wrap {
  padding-block: 80px 105px;
}

.entry-content {
  max-width: 850px;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content p,
.entry-content li {
  color: #42556b;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.35em;
}

.entry-content img {
  border-radius: 18px;
}

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

.service-finder {
  display: grid;
  grid-template-columns: minmax(120px, auto) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  padding: 20px 22px;
  border: 1px solid var(--dhs-line);
  border-radius: 16px;
  background: var(--dhs-soft);
}

.service-finder label {
  color: var(--dhs-navy);
  font-weight: 800;
}

.service-finder input {
  min-height: 48px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid #bfd0da;
  border-radius: 11px;
  outline: 0;
  background: var(--dhs-white);
  color: var(--dhs-ink);
}

.service-finder input:focus {
  border-color: var(--dhs-teal);
  box-shadow: 0 0 0 4px rgba(15, 62, 132, 0.12);
}

.service-finder > span {
  color: var(--dhs-muted);
  font-size: 0.84rem;
}

.service-finder__empty {
  margin: 24px 0 0;
  padding: 20px;
  border-radius: 12px;
  background: #fff5e2;
  color: #6d5120;
  text-align: center;
}

.detail-card {
  padding: 30px;
  border: 1px solid var(--dhs-line);
  border-radius: 16px;
  background: var(--dhs-white);
}

.detail-card h3 {
  margin-bottom: 12px;
}

.detail-card p,
.detail-card li {
  color: var(--dhs-muted);
  font-size: 0.92rem;
}

.detail-card ul {
  margin: 0;
  padding-left: 19px;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 45px;
}

.mission-card {
  padding: 32px;
  border-radius: 18px;
  background: var(--dhs-soft);
}

.mission-card:nth-child(2) {
  background: var(--dhs-navy);
  color: rgba(255, 255, 255, 0.75);
}

.mission-card:nth-child(2) h3 {
  color: var(--dhs-white);
}

.faq-list {
  display: grid;
  gap: 13px;
  max-width: 900px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--dhs-line);
  border-radius: 14px;
  background: var(--dhs-white);
}

.faq-list summary {
  position: relative;
  padding: 22px 56px 22px 22px;
  color: var(--dhs-navy);
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--dhs-soft);
  color: var(--dhs-teal-dark);
  content: "+";
  text-align: center;
  line-height: 28px;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--dhs-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}

.contact-panel {
  padding: 36px;
  border-radius: 22px;
  background: var(--dhs-navy);
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel h2,
.contact-panel h3 {
  color: var(--dhs-white);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
}

.contact-item {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-item span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-item a,
.contact-item strong {
  color: var(--dhs-white);
  text-decoration: none;
}

.map-frame {
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--dhs-line);
  border-radius: 22px;
  background: var(--dhs-soft);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.patient-preview {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(23, 105, 209, 0.11), transparent 28%),
    var(--dhs-soft);
}

.schedule-preview-grid,
.schedule-grid {
  display: grid;
  gap: 18px;
}

.schedule-preview-grid {
  grid-template-columns: repeat(4, 1fr);
}

.schedule-preview-card,
.schedule-card {
  border: 1px solid var(--dhs-line);
  border-radius: 18px;
  background: var(--dhs-white);
  box-shadow: 0 14px 36px rgba(0, 32, 102, 0.07);
}

.schedule-preview-card {
  min-height: 205px;
  padding: 26px;
}

.schedule-preview-card--link {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.schedule-preview-card--link:hover,
.schedule-preview-card--link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(23, 105, 209, 0.34);
  color: inherit;
  box-shadow: 0 20px 42px rgba(0, 32, 102, 0.13);
}

.schedule-preview-card > span,
.schedule-card__label {
  display: block;
  margin-bottom: 20px;
  color: var(--dhs-blue);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-preview-card strong,
.schedule-card > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--dhs-navy);
  font-size: 1.17rem;
  line-height: 1.3;
}

.schedule-preview-card p,
.schedule-card p {
  margin: 0;
  color: var(--dhs-muted);
  font-size: 0.9rem;
}

.schedule-preview-card--emergency {
  border-color: transparent;
  background: var(--dhs-red);
  color: var(--dhs-white);
}

.schedule-preview-card--emergency > span,
.schedule-preview-card--emergency strong,
.schedule-preview-card--emergency p {
  color: var(--dhs-white);
}

.insurance-preview {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.75fr);
  gap: 38px;
  margin-top: 24px;
  padding: 34px;
  border-radius: 22px;
  background: var(--dhs-navy);
  color: rgba(255, 255, 255, 0.7);
}

.insurance-preview h3 {
  margin-bottom: 8px;
  color: var(--dhs-white);
}

.insurance-preview p {
  margin: 0;
}

.insurance-preview__list {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 10px;
}

.insurance-preview__list span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--dhs-white);
  font-size: 0.82rem;
  font-weight: 700;
}

.testimonials {
  background: var(--dhs-white);
}

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

.testimonial-card {
  min-height: 275px;
  margin: 0;
  padding: 30px;
  border: 1px solid var(--dhs-line);
  border-radius: 20px;
  background: linear-gradient(150deg, var(--dhs-white), #f5f8fd);
  box-shadow: 0 16px 38px rgba(0, 32, 102, 0.08);
}

.testimonial-card__stars {
  margin-bottom: 24px;
  color: var(--dhs-gold);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}

.testimonial-card blockquote {
  margin: 0 0 28px;
  color: var(--dhs-navy);
  font-size: 1.25rem;
  font-weight: 720;
  line-height: 1.45;
}

.testimonial-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding-top: 18px;
  border-top: 1px solid var(--dhs-line);
}

.testimonial-card figcaption strong {
  color: var(--dhs-ink);
}

.testimonial-card figcaption span {
  color: var(--dhs-muted);
  font-size: 0.8rem;
}

.schedule-grid {
  grid-template-columns: repeat(3, 1fr);
}

.schedule-card {
  min-height: 275px;
  padding: 30px;
}

.schedule-card h3 {
  margin-bottom: 22px;
}

.schedule-card--featured {
  border-color: transparent;
  background: var(--dhs-navy);
}

.schedule-card--featured h3,
.schedule-card--featured strong,
.schedule-card--featured p,
.schedule-card--featured .schedule-card__label {
  color: var(--dhs-white);
}

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

.insurer-card {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--dhs-line);
  border-radius: 14px;
  background: var(--dhs-white);
  color: var(--dhs-navy);
  box-shadow: 0 10px 28px rgba(0, 32, 102, 0.06);
  font-weight: 800;
  text-align: center;
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.visit-card {
  padding: 42px;
  border: 1px solid var(--dhs-line);
  border-radius: 22px;
  background: var(--dhs-soft);
}

.visit-card p {
  color: var(--dhs-muted);
}

.visit-card--navy {
  border-color: transparent;
  background: var(--dhs-navy);
  color: rgba(255, 255, 255, 0.72);
}

.visit-card--navy h2,
.visit-card--navy p,
.visit-card--navy .eyebrow {
  color: var(--dhs-white);
}

.visit-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--dhs-white);
}

.button--outline-light:hover {
  border-color: var(--dhs-white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--dhs-white);
}

.site-footer {
  background: #00184d;
  color: rgba(255, 255, 255, 0.67);
}

.footer-cta {
  transform: translateY(-50%);
  margin-bottom: -30px;
  padding: 34px 40px;
  border-radius: 20px;
  background: var(--dhs-teal);
  color: var(--dhs-white);
  box-shadow: 0 18px 50px rgba(15, 62, 132, 0.28);
}

.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-cta h2 {
  margin: 0 0 5px;
  color: var(--dhs-white);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.footer-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 0.75fr 1fr;
  gap: 48px;
  padding-block: 70px 55px;
}

.footer-brand > img {
  width: 275px;
  max-height: 60px;
  margin-bottom: 22px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 360px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--dhs-white);
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: var(--dhs-blue);
  color: var(--dhs-white);
}

.footer-title {
  margin-bottom: 20px;
  color: var(--dhs-white);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 9px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.67);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--dhs-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--dhs-white);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 900;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  color: #082c1c;
  box-shadow: 0 13px 35px rgba(6, 31, 55, 0.24);
  font-size: 0.74rem;
  font-weight: 900;
  text-decoration: none;
}

.whatsapp-float:hover {
  color: #082c1c;
  transform: translateY(-2px);
}

.whatsapp-float img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.whatsapp-float:focus-visible {
  outline: 3px solid #25d366;
  outline-offset: 4px;
}

.empty-state {
  padding: 42px;
  border: 1px dashed #bfcfd8;
  border-radius: 16px;
  background: var(--dhs-soft);
  text-align: center;
}

.pagination {
  margin-top: 38px;
}

@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr 0.9fr;
    gap: 35px;
  }

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

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-grid > :last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 900px) {
  .topbar__items > :not(:first-child) {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    inset: 84px 0 auto;
    display: none;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    padding: 22px 20px 30px;
    border-top: 1px solid var(--dhs-line);
    background: var(--dhs-white);
    box-shadow: 0 25px 50px rgba(0, 32, 102, 0.15);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 5px;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 62px 85px;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero__visual {
    max-width: 680px;
  }

  .hero__card {
    left: 20px;
  }

  .care-strip__grid {
    grid-template-columns: 1fr;
  }

  .care-strip__item + .care-strip__item {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .about-media {
    max-width: 680px;
  }

  .stats,
  .team-grid,
  .journey,
  .detail-grid,
  .news-grid,
  .schedule-preview-grid,
  .schedule-grid,
  .insurer-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insurance-preview {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) {
    grid-column: span 6;
  }

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

  .footer-grid > :last-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --dhs-container: min(100% - 28px, 1180px);
  }

  .topbar__inner {
    min-height: 38px;
  }

  .topbar__status {
    font-size: 0.76rem;
  }

  .site-header__inner {
    min-height: 74px;
  }

  .brand img,
  .custom-logo {
    max-width: 220px;
    height: 46px;
  }

  .site-nav {
    inset-block-start: 74px;
  }

  .hero__inner {
    padding-block: 50px 76px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__proof {
    display: grid;
    gap: 10px;
  }

  .hero__image,
  .hero__image img {
    min-height: 390px;
  }

  .hero__image {
    border-radius: 26px 26px 80px 26px;
  }

  .hero__card {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }

  .section {
    padding-block: 74px;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading .button {
    margin-top: 18px;
  }

  .services-grid,
  .stats,
  .team-grid,
  .journey,
  .detail-grid,
  .news-grid,
  .mission-grid,
  .values-list,
  .schedule-preview-grid,
  .schedule-grid,
  .insurer-grid,
  .testimonial-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .insurance-preview {
    padding: 28px;
  }

  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) {
    grid-column: 1 / -1;
  }

  .about-media img {
    min-height: 390px;
  }

  .about-badge {
    right: 12px;
  }

  .page-hero {
    padding-block: 64px;
  }

  .footer-cta {
    padding: 28px;
  }

  .footer-cta__inner,
  .footer-bottom {
    display: block;
  }

  .footer-cta .button {
    width: 100%;
    margin-top: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 65px;
  }

  .footer-bottom > :last-child {
    margin-top: 8px;
  }

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

/* Version 1.4: detailed services, specialist directory and inpatient facilities. */
.contact-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.contact-link-list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--dhs-white);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.section--soft .contact-link-list a,
.feature-band__copy .contact-link-list a,
.service-contact-panel--light .contact-link-list a {
  border-color: var(--dhs-line);
  color: var(--dhs-navy);
}

.contact-link-list a:hover,
.contact-link-list a:focus-visible {
  border-color: var(--dhs-gold);
  background: var(--dhs-gold);
  color: var(--dhs-navy);
}

.service-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 52px;
  align-items: center;
}

.service-contact-panel h2 {
  max-width: 760px;
  margin-bottom: 14px;
}

.service-contact-panel p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.service-contact-panel--light p {
  color: var(--dhs-muted);
}

.specialty-group + .specialty-group {
  margin-top: 64px;
}

.specialty-group__heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--dhs-line);
}

.specialty-group__heading h2 {
  margin: 0;
}

.specialty-group__heading span {
  color: var(--dhs-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.team-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(145deg, #e7effb, #f7faff);
}

.team-card__placeholder span {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 2px solid rgba(23, 105, 209, 0.24);
  border-radius: 50%;
  color: var(--dhs-navy);
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.team-card__schedule {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--dhs-line);
  color: var(--dhs-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

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

.room-card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--dhs-line);
  border-radius: 20px;
  background: var(--dhs-white);
  box-shadow: 0 15px 42px rgba(0, 32, 102, 0.07);
}

.room-card > span {
  display: block;
  margin-bottom: 28px;
  color: var(--dhs-blue);
  font-weight: 850;
  letter-spacing: 0.08em;
}

.room-card h3 {
  margin-bottom: 10px;
}

.room-card p {
  margin: 0;
  color: var(--dhs-muted);
}

@media (max-width: 900px) {
  .service-contact-panel,
  .room-grid {
    grid-template-columns: 1fr;
  }

  .room-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .contact-link-list {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-link-list a {
    justify-content: center;
  }

  .specialty-group__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Version 1.2: immersive hero, public-health ticker and richer page systems. */
.health-alert {
  position: relative;
  z-index: 110;
  overflow: hidden;
  background: #d93d38;
  color: var(--dhs-white);
}

.health-alert__inner {
  display: flex;
  align-items: stretch;
  min-height: 42px;
}

.health-alert__label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 8px 24px 8px 0;
  background: #b9272d;
  font-size: 0.78rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.health-alert__label::after {
  position: absolute;
  inset: 0 -20px 0 auto;
  width: 22px;
  background: #b9272d;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: "";
}

.health-alert__label > span {
  width: 9px;
  height: 9px;
  border: 2px solid var(--dhs-white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.health-alert__viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.health-alert__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 42px;
  min-height: 42px;
  padding-left: 42px;
  animation: dhs-alert-scroll 34s linear infinite;
  white-space: nowrap;
}

.health-alert__track:hover,
.health-alert__track:focus-within {
  animation-play-state: paused;
}

.health-alert__track span,
.health-alert__track a {
  color: var(--dhs-white);
  font-size: 0.82rem;
  font-weight: 650;
}

.health-alert__track a {
  font-weight: 800;
}

@keyframes dhs-alert-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-55%); }
}

.hero--full {
  isolation: isolate;
  min-height: 735px;
  background:
    linear-gradient(90deg, rgba(0, 22, 68, 0.97) 0%, rgba(0, 32, 102, 0.84) 35%, rgba(0, 32, 102, 0.24) 67%, rgba(0, 14, 52, 0.16) 100%),
    var(--hero-image) center 42% / cover no-repeat;
}

.hero--full::before {
  inset: auto auto -210px -100px;
  z-index: -1;
  border-color: rgba(255, 255, 255, 0.08);
}

.hero--full::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 28%;
  background: linear-gradient(transparent, rgba(0, 20, 66, 0.38));
  content: "";
}

.hero--full .hero__inner {
  min-height: 735px;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end;
  padding-block: 112px 126px;
}

.hero--full .hero__copy {
  max-width: 720px;
}

.hero--full .eyebrow,
.hero--full h1,
.hero--full h1 span {
  color: var(--dhs-white);
}

.hero--full .eyebrow {
  color: #dceaff;
}

.hero--full .hero__lead {
  color: rgba(255, 255, 255, 0.86);
}

.hero--full .hero__proof {
  color: rgba(255, 255, 255, 0.82);
}

.hero--full .hero__proof li::before {
  background: rgba(255, 255, 255, 0.16);
  color: var(--dhs-white);
}

.hero--full .button--outline {
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--dhs-white);
}

.hero--full .button--outline:hover {
  border-color: var(--dhs-white);
  background: var(--dhs-white);
  color: var(--dhs-navy);
}

.hero__quick-card {
  align-self: end;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 65px rgba(0, 20, 67, 0.3);
  backdrop-filter: blur(12px);
}

.hero__quick-label {
  display: block;
  margin-bottom: 10px;
  color: var(--dhs-red);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero__quick-card strong {
  display: block;
  color: var(--dhs-navy);
  font-size: 1.25rem;
  line-height: 1.25;
}

.hero__quick-card p {
  margin: 10px 0 18px;
  color: var(--dhs-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.hero__quick-card a {
  color: var(--dhs-red);
  font-weight: 850;
  text-decoration: none;
}

.eyebrow--light {
  color: #dbeaff;
}

.page-hero--services {
  background:
    linear-gradient(90deg, rgba(0, 24, 78, 0.96), rgba(0, 32, 102, 0.68)),
    url("assets/images/october-2026/surgical-theatre.webp") center 46% / cover no-repeat;
}

.page-hero--updates {
  background:
    linear-gradient(90deg, rgba(0, 24, 78, 0.96), rgba(0, 32, 102, 0.72)),
    url("assets/images/october-2026/ambulance-service.webp") center / cover no-repeat;
}

.service-intro {
  background: var(--dhs-blue);
  color: var(--dhs-white);
}

.service-intro__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.45fr auto;
  align-items: center;
  gap: 38px;
  min-height: 138px;
  padding-block: 24px;
}

.service-intro__grid > div span,
.update-cta__inner span,
.page-cta__inner > div > span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-intro__grid strong {
  font-size: 1.35rem;
  line-height: 1.2;
}

.service-intro__grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.service-directory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-directory-card {
  overflow: hidden;
  border: 1px solid var(--dhs-line);
  border-radius: 20px;
  background: var(--dhs-white);
  box-shadow: 0 15px 45px rgba(0, 32, 102, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-directory-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--dhs-shadow);
}

.service-directory-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--dhs-soft);
}

.service-directory-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

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

.service-directory-card__body {
  padding: 25px 25px 28px;
}

.service-directory-card__topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}

.service-directory-card__topline > span {
  color: var(--dhs-blue);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-directory-card__topline small {
  color: var(--dhs-muted);
  font-size: 0.71rem;
  font-weight: 700;
  text-align: right;
}

.service-directory-card h2 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.service-directory-card h2 a {
  color: inherit;
  text-decoration: none;
}

.service-directory-card p {
  margin: 0 0 18px;
  color: var(--dhs-muted);
  font-size: 0.91rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dhs-blue);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  gap: 10px;
}

.feature-band {
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  border-radius: 28px;
  background: var(--dhs-white);
  box-shadow: var(--dhs-shadow);
}

.feature-band__image {
  min-height: 430px;
}

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

.feature-band__copy {
  align-self: center;
  padding: 50px;
}

.feature-band__copy p {
  color: var(--dhs-muted);
}

.feature-band__actions,
.page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-hero {
  position: relative;
  isolation: isolate;
  min-height: 570px;
  overflow: hidden;
  background: var(--service-image) center / cover no-repeat;
  color: rgba(255, 255, 255, 0.8);
}

.service-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 22, 69, 0.97) 0%, rgba(0, 32, 102, 0.76) 47%, rgba(0, 32, 102, 0.18) 100%);
}

.service-hero__content {
  display: flex;
  min-height: 570px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 80px;
}

.service-hero h1 {
  max-width: 730px;
  margin-bottom: 18px;
  color: var(--dhs-white);
  font-size: clamp(2.75rem, 5vw, 4.8rem);
}

.service-hero p {
  max-width: 650px;
  margin: 0;
  font-size: 1.12rem;
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.service-overview {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: start;
  gap: 85px;
}

.service-overview__copy .lead {
  max-width: 720px;
  color: #42556b;
  font-size: 1.18rem;
}

.availability-card {
  padding: 30px;
  border-radius: 20px;
  background: var(--dhs-navy);
  color: rgba(255, 255, 255, 0.75);
  box-shadow: var(--dhs-shadow);
}

.availability-card > span {
  color: #9fc8ff;
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.availability-card h3 {
  margin: 12px 0;
  color: var(--dhs-white);
}

.availability-card a {
  color: var(--dhs-white);
  font-size: 0.87rem;
  font-weight: 800;
}

.service-detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-detail-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--dhs-line);
  border-radius: 15px;
  background: var(--dhs-white);
}

.service-detail-item span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  background: #e7f0fd;
  color: var(--dhs-blue);
  font-size: 0.74rem;
  font-weight: 850;
}

.service-detail-item p {
  margin: 0;
  color: #42556b;
  font-weight: 650;
}

.service-guidance {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 72px;
}

.service-guidance__image {
  overflow: hidden;
  min-height: 500px;
  border-radius: 30px;
  box-shadow: var(--dhs-shadow);
}

.service-guidance__image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.check-list {
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 0 13px 38px;
  border-bottom: 1px solid var(--dhs-line);
  color: #42556b;
}

.check-list li::before {
  position: absolute;
  top: 14px;
  left: 0;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #e5f0fd;
  color: var(--dhs-blue);
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
}

.service-note {
  padding: 18px 20px;
  border-left: 4px solid var(--dhs-red);
  background: #fff3f3;
  color: #6d3030;
  font-size: 0.9rem;
}

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

.related-services > a {
  padding: 28px;
  border: 1px solid var(--dhs-line);
  border-radius: 18px;
  background: var(--dhs-white);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.related-services > a:hover {
  transform: translateY(-4px);
  box-shadow: var(--dhs-shadow);
}

.related-services > a > span {
  color: var(--dhs-blue);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.related-services h3 {
  margin-top: 12px;
}

.related-services p {
  margin-bottom: 0;
  color: var(--dhs-muted);
  font-size: 0.9rem;
}

.news-card__meta,
.post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-bottom: 13px;
  color: var(--dhs-teal-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.news-card__meta > * + *::before,
.post-hero__meta > * + *::before {
  margin-right: 18px;
  color: #a7b4c5;
  content: "•";
}

.news-card__content .text-link {
  margin-top: 18px;
}

.updates-index {
  padding-top: 80px;
}

.featured-update {
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 470px;
  border-radius: 28px;
  background: var(--dhs-white);
  box-shadow: var(--dhs-shadow);
}

.featured-update__media {
  overflow: hidden;
  min-height: 470px;
}

.featured-update__media img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  transition: transform 400ms ease;
}

.featured-update:hover .featured-update__media img {
  transform: scale(1.035);
}

.featured-update__copy {
  align-self: center;
  padding: 50px;
}

.featured-update__copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.featured-update__copy h2 a {
  color: inherit;
  text-decoration: none;
}

.featured-update__copy p {
  color: var(--dhs-muted);
}

.updates-heading {
  margin: 84px 0 32px;
}

.updates-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.update-cta,
.page-cta {
  background: var(--dhs-blue);
  color: rgba(255, 255, 255, 0.78);
}

.update-cta__inner,
.page-cta__inner {
  display: flex;
  min-height: 230px;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-block: 45px;
}

.update-cta h2,
.page-cta h2 {
  margin-bottom: 8px;
  color: var(--dhs-white);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.update-cta p {
  max-width: 720px;
  margin: 0;
}

.post-hero {
  position: relative;
  isolation: isolate;
  min-height: 610px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
}

.post-hero__media,
.post-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.post-hero__overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 22, 69, 0.97) 0%, rgba(0, 32, 102, 0.75) 54%, rgba(0, 32, 102, 0.25));
}

.post-hero__content {
  display: flex;
  min-height: 610px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 80px;
}

.post-hero h1 {
  max-width: 850px;
  color: var(--dhs-white);
  font-size: clamp(2.65rem, 5vw, 4.7rem);
}

.post-hero__meta {
  color: #dceaff;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 790px) 320px;
  align-items: start;
  justify-content: space-between;
  gap: 80px;
}

.post-content {
  max-width: none;
}

.post-content > p:first-of-type {
  color: var(--dhs-navy);
  font-size: 1.2rem;
  font-weight: 600;
}

.post-sidebar {
  position: sticky;
  top: 122px;
  display: grid;
  gap: 18px;
}

.post-sidebar__card {
  padding: 28px;
  border: 1px solid var(--dhs-line);
  border-radius: 18px;
  background: var(--dhs-soft);
}

.post-sidebar__card > span {
  color: var(--dhs-blue);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.post-sidebar__card h2 {
  margin: 10px 0;
  font-size: 1.45rem;
}

.post-sidebar__card p {
  color: var(--dhs-muted);
  font-size: 0.9rem;
}

.post-sidebar__card--urgent {
  border: 0;
  background: var(--dhs-navy);
  color: rgba(255, 255, 255, 0.74);
}

.post-sidebar__card--urgent > span {
  color: #ffb7b7;
}

.post-sidebar__card--urgent h2,
.post-sidebar__card--urgent a {
  color: var(--dhs-white);
}

.post-sidebar__card--urgent a {
  font-size: 1.05rem;
  font-weight: 850;
}

.post-disclaimer,
.privacy-note {
  margin-top: 48px;
  padding: 22px 24px;
  border-left: 4px solid var(--dhs-blue);
  background: var(--dhs-soft);
}

.post-disclaimer strong {
  color: var(--dhs-navy);
}

.post-disclaimer p,
.privacy-note {
  color: var(--dhs-muted);
  font-size: 0.88rem;
}

.post-disclaimer p {
  margin: 4px 0 0;
}

.story-timeline,
.application-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.story-timeline > div,
.application-steps > div {
  position: relative;
  padding: 30px;
  border: 1px solid var(--dhs-line);
  border-radius: 18px;
  background: var(--dhs-white);
}

.story-timeline > div::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 4px;
  background: var(--dhs-blue);
  content: "";
}

.story-timeline span,
.application-steps span {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 20px;
  padding-inline: 9px;
  border-radius: 12px;
  background: #e7f0fd;
  color: var(--dhs-blue);
  font-size: 0.76rem;
  font-weight: 850;
}

.story-timeline p,
.application-steps p {
  margin-bottom: 0;
  color: var(--dhs-muted);
  font-size: 0.91rem;
}

.team-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 52px;
}

.team-intro p,
.gallery-intro p {
  color: var(--dhs-muted);
}

.quick-help {
  position: relative;
  z-index: 5;
  margin-top: -28px;
}

.quick-help__grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 19px;
  background: var(--dhs-white);
  box-shadow: var(--dhs-shadow);
}

.quick-help__grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.quick-help__grid a {
  display: grid;
  gap: 1px;
  padding: 25px 28px;
  border-right: 1px solid var(--dhs-line);
  color: inherit;
  text-decoration: none;
}

.quick-help__grid a:last-child {
  border-right: 0;
}

.quick-help__grid a:hover {
  background: var(--dhs-soft);
}

.quick-help__grid span {
  color: var(--dhs-blue);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-help__grid strong {
  color: var(--dhs-navy);
}

.quick-help__grid small {
  overflow-wrap: anywhere;
  color: var(--dhs-muted);
}

.gallery-intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.gallery-item {
  position: relative;
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 42px 20px 17px;
  background: linear-gradient(transparent, rgba(0, 20, 65, 0.87));
  color: var(--dhs-white);
  font-size: 0.82rem;
  font-weight: 700;
}

.visit-guide {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
}

.visit-guide__copy p {
  color: var(--dhs-muted);
}

.visit-guide__card {
  padding: 36px;
  border-radius: 22px;
  background: var(--dhs-navy);
  color: rgba(255, 255, 255, 0.72);
}

.visit-guide__card > span {
  color: #9fc8ff;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.visit-guide__card h3 {
  margin: 13px 0;
  color: var(--dhs-white);
}

.visit-guide__card .text-link {
  color: var(--dhs-white);
}

@media (max-width: 1080px) {
  .hero--full .hero__inner {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 34px;
  }

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

  .post-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 45px;
  }
}

@media (max-width: 900px) {
  .health-alert__inner {
    width: 100%;
  }

  .health-alert__label {
    padding-left: 18px;
  }

  .hero--full {
    min-height: 720px;
    background:
      linear-gradient(90deg, rgba(0, 22, 68, 0.96) 0%, rgba(0, 32, 102, 0.74) 66%, rgba(0, 20, 66, 0.42) 100%),
      var(--hero-image) 63% center / cover no-repeat;
  }

  .hero--full .hero__inner {
    min-height: 720px;
    grid-template-columns: 1fr;
    align-content: end;
    gap: 32px;
    padding-block: 90px 108px;
  }

  .hero__quick-card {
    width: min(100%, 620px);
  }

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

  .service-intro__grid .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .feature-band,
  .featured-update,
  .service-overview,
  .service-guidance,
  .post-layout,
  .team-intro,
  .visit-guide {
    grid-template-columns: 1fr;
  }

  .feature-band__image,
  .featured-update__media {
    min-height: 390px;
  }

  .service-overview,
  .service-guidance,
  .team-intro,
  .visit-guide {
    gap: 42px;
  }

  .availability-card {
    max-width: 520px;
  }

  .post-sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .story-timeline,
  .application-steps,
  .quick-help__grid,
  .quick-help__grid--four {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-help__grid a:nth-child(2n) {
    border-right: 0;
  }

  .quick-help__grid a:nth-child(n+3) {
    border-top: 1px solid var(--dhs-line);
  }
}

@media (max-width: 640px) {
  .health-alert__label {
    padding-right: 19px;
    font-size: 0.68rem;
  }

  .health-alert__label::after {
    display: none;
  }

  .health-alert__track {
    gap: 26px;
    padding-left: 20px;
    animation-duration: 26s;
  }

  .health-alert__track span,
  .health-alert__track a {
    font-size: 0.75rem;
  }

  .hero--full,
  .hero--full .hero__inner {
    min-height: 690px;
  }

  .hero--full {
    background:
      linear-gradient(90deg, rgba(0, 20, 66, 0.98) 0%, rgba(0, 32, 102, 0.77) 78%, rgba(0, 20, 66, 0.48) 100%),
      var(--hero-image) 65% center / cover no-repeat;
  }

  .hero--full .hero__inner {
    padding-block: 70px 100px;
  }

  .hero__quick-card {
    padding: 22px;
  }

  .service-intro__grid,
  .service-directory,
  .service-detail-list,
  .related-services,
  .story-timeline,
  .application-steps,
  .quick-help__grid,
  .quick-help__grid--four,
  .post-sidebar {
    grid-template-columns: 1fr;
  }

  .service-intro__grid {
    gap: 19px;
    padding-block: 32px;
  }

  .service-intro__grid .button {
    grid-column: auto;
  }

  .feature-band__image,
  .featured-update__media {
    min-height: 270px;
  }

  .feature-band__copy,
  .featured-update__copy {
    padding: 30px 24px 34px;
  }

  .service-hero,
  .service-hero__content {
    min-height: 520px;
  }

  .service-hero__overlay {
    background: linear-gradient(90deg, rgba(0, 22, 69, 0.97), rgba(0, 32, 102, 0.62));
  }

  .service-guidance__image,
  .service-guidance__image img {
    min-height: 340px;
  }

  .update-cta__inner,
  .page-cta__inner {
    display: block;
  }

  .update-cta .button,
  .page-cta .button {
    width: 100%;
    margin-top: 20px;
  }

  .post-hero,
  .post-hero__content {
    min-height: 520px;
  }

  .quick-help {
    margin-top: 0;
  }

  .quick-help__grid {
    border-radius: 0;
    box-shadow: none;
  }

  .quick-help__grid a,
  .quick-help__grid a:nth-child(2n) {
    border: 0;
    border-bottom: 1px solid var(--dhs-line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .health-alert__track {
    width: auto;
    animation: none;
    white-space: normal;
  }
}

/* Version 1.3: authentic media, logo partners and diagnostic service expansion. */
.insurance-preview__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.insurance-logo,
.insurer-card {
  display: grid;
  min-width: 0;
  place-items: center;
  background: var(--dhs-white);
}

.insurance-logo {
  min-height: 76px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
}

.insurance-logo img,
.insurer-card img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

.insurance-logo strong,
.insurer-card strong {
  color: var(--dhs-navy);
  font-size: 0.86rem;
  line-height: 1.25;
  text-align: center;
}

.insurer-card {
  min-height: 118px;
}

.insurer-card img {
  max-height: 64px;
}

.clinical-feature {
  overflow: hidden;
}

.media-stories {
  background: linear-gradient(180deg, #f4f8fd, #edf4fc);
}

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

.media-card {
  overflow: hidden;
  border: 1px solid var(--dhs-line);
  border-radius: 24px;
  background: var(--dhs-white);
  box-shadow: 0 18px 48px rgba(0, 32, 102, 0.09);
}

.media-card__video {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--dhs-navy);
}

.media-card__video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card__body {
  padding: 28px;
}

.media-card__body > span {
  color: var(--dhs-blue);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.media-card__body h3 {
  margin: 10px 0;
}

.media-card__body p {
  margin: 0;
  color: var(--dhs-muted);
}

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

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

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

/* Version 1.4.1: interactive department directory and refined media presentation. */
.brand-lockup {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  color: var(--dhs-navy);
  text-decoration: none;
}

.brand .brand-lockup__mark {
  width: 55px;
  min-width: 55px;
  max-width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: contain;
}

.brand-lockup__text {
  display: grid;
  line-height: 1.05;
}

.brand-lockup__text strong {
  color: inherit;
  font-size: 1.01rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-lockup__text small {
  margin-top: 6px;
  color: var(--dhs-muted);
  font-size: 0.77rem;
  letter-spacing: 0.08em;
}

.footer-brand .brand-lockup {
  margin-bottom: 22px;
  color: var(--dhs-white);
}

.footer-brand .brand-lockup__mark {
  width: 62px;
  min-width: 62px;
  max-width: 62px;
  height: 62px;
  max-height: none;
  margin: 0;
  border-radius: 50%;
  filter: none;
  object-fit: contain;
}

.footer-brand .brand-lockup__text small {
  color: rgba(255, 255, 255, 0.66);
}

.footer-brand .social-links {
  flex-wrap: wrap;
}

.footer-brand .social-links a {
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.social-links a:nth-child(2) svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-links a:nth-child(2) .social-icon__fill {
  fill: currentColor;
  stroke: none;
}

.specialty-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  align-items: start;
  gap: 28px;
}

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

.specialty-tab {
  display: flex;
  min-height: 66px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border: 1px solid var(--dhs-line);
  border-radius: 13px;
  background: var(--dhs-white);
  color: var(--dhs-navy);
  font-weight: 750;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.specialty-tab small {
  color: var(--dhs-blue);
  font-size: 1rem;
  transition: transform 160ms ease;
}

.specialty-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 105, 209, 0.42);
  background: var(--dhs-soft);
}

.specialty-tab:hover small {
  transform: translateX(3px);
}

.specialty-tab:focus-visible {
  outline: 3px solid rgba(23, 105, 209, 0.28);
  outline-offset: 2px;
}

.specialty-tab.is-active {
  border-color: var(--dhs-blue);
  background: var(--dhs-blue);
  color: var(--dhs-white);
  box-shadow: 0 16px 34px rgba(0, 32, 102, 0.18);
}

.specialty-tab.is-active small {
  color: var(--dhs-white);
}

.specialty-explorer__panels {
  position: sticky;
  top: 115px;
}

.specialty-explorer.is-empty .specialty-explorer__panels {
  display: none;
}

.specialty-panel {
  overflow: hidden;
  border-radius: 24px;
  background: var(--dhs-navy);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 60px rgba(0, 32, 102, 0.24);
}

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

.specialty-tab[hidden], .service-finder__empty[hidden] { display: none; }

.specialty-panel__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: #0d3576;
}

.specialty-panel__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 23, 73, 0.55));
  content: "";
}

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

.specialty-panel__body {
  padding: 32px;
}

.specialty-panel__kicker,
.specialty-panel__availability span,
.specialty-panel__contacts > span {
  display: block;
  color: #a9caff;
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.specialty-panel h2 {
  margin: 9px 0 12px;
  color: var(--dhs-white);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.specialty-panel h3 {
  margin: 28px 0 12px;
  color: var(--dhs-white);
  font-size: 1rem;
  letter-spacing: 0;
}

.specialty-panel__body > p {
  color: rgba(255, 255, 255, 0.73);
}

.specialty-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.specialty-panel li {
  position: relative;
  padding-left: 19px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.specialty-panel li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #6ca7f2;
  content: "";
}

.specialty-panel__availability,
.specialty-panel__contacts {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.specialty-panel__availability strong {
  display: block;
  margin-top: 7px;
  color: var(--dhs-white);
  font-size: 0.95rem;
  line-height: 1.5;
}

.specialty-panel__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
}

.specialty-panel__contacts > span {
  width: 100%;
}

.specialty-panel__contacts a {
  color: var(--dhs-white);
  font-weight: 800;
}

.specialty-panel .button {
  margin-top: 28px;
}

.media-showcase {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(45, 116, 218, 0.32), transparent 28%),
    linear-gradient(135deg, #00184d, #002a72);
  color: rgba(255, 255, 255, 0.76);
}

.media-showcase__heading {
  margin-bottom: 34px;
}

.media-showcase__heading > div {
  max-width: 780px;
}

.media-showcase__heading h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
}

.media-showcase h2,
.media-showcase h3 {
  color: var(--dhs-white);
}

.media-showcase__heading p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.media-showcase__single {
  max-width: 1120px;
}

.media-feature {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 14, 48, 0.28);
}

.media-feature--spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.65fr);
  align-items: stretch;
  background: rgba(255, 255, 255, 0.09);
}

.media-feature__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #000d2d;
}

.media-feature--spotlight .media-feature__frame {
  min-height: 420px;
  aspect-ratio: auto;
}

.media-feature__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hospital-video__play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px; border: 0; background: transparent; color: #fff; cursor: pointer; font: inherit; font-size: .85rem; font-weight: 800; white-space: nowrap; }
.hospital-video__play[hidden] { display: none; }
.hospital-video__play-icon { display: grid; place-items: center; width: 82px; height: 82px; border: 2px solid #fff; border-radius: 50%; background: rgba(0,32,102,.85); box-shadow: 0 6px 25px rgba(0,0,0,.3); transition: background .15s, transform .15s; }
.hospital-video__play svg { width: 34px; height: 34px; fill: currentColor; margin-left: 4px; }
.hospital-video__play:hover .hospital-video__play-icon { background: var(--dhs-blue); transform: scale(1.06); }
.hospital-video__play:focus-visible { outline: 3px solid #fff; outline-offset: 5px; border-radius: 12px; }
@media (max-width: 600px) { .hospital-video__play-icon { width: 68px; height: 68px; } }

.media-feature__body {
  padding: 28px;
}

.media-feature--spotlight .media-feature__body {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(30px, 4vw, 52px);
}

.media-feature__body > span {
  color: #a9caff;
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.media-feature__body h3 {
  margin: 9px 0 11px;
}

.media-feature__body p {
  color: rgba(255, 255, 255, 0.68);
}

.media-feature__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}

.media-feature__actions .button {
  min-height: 48px;
}

.text-link--light {
  color: var(--dhs-white);
}

.text-link--light:hover {
  color: #cce0ff;
}

@media (max-width: 1080px) {
  .brand-lockup__text strong {
    font-size: 0.9rem;
  }

  .brand-lockup__text small {
    font-size: 0.7rem;
  }

  .specialty-explorer {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.78fr);
  }
}

@media (max-width: 900px) {
  .specialty-explorer,
  .media-feature--spotlight {
    grid-template-columns: 1fr;
  }

  .specialty-explorer__panels {
    position: static;
  }

  .media-feature--spotlight .media-feature__frame {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .brand-lockup {
    gap: 8px;
  }

  .brand .brand-lockup__mark {
    width: 45px;
    min-width: 45px;
    max-width: 45px;
    height: 45px;
  }

  .brand-lockup__text strong {
    max-width: 175px;
    white-space: normal;
  }

  .brand-lockup__text small {
    display: none;
  }

  .specialty-explorer__list {
    grid-template-columns: 1fr;
  }

  .specialty-panel__body {
    padding: 26px 22px;
  }

  .media-feature__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .media-feature__actions .button,
  .media-feature__actions .text-link {
    justify-content: center;
    width: 100%;
    text-align: center;
  }
}

/* Modern team directory. */
.page-hero--team {
  background:
    linear-gradient(90deg, rgba(0, 24, 78, 0.97) 0%, rgba(0, 32, 102, 0.84) 53%, rgba(0, 32, 102, 0.4) 100%),
    url("assets/images/specialist-clinician.webp") center 34% / cover no-repeat;
}

.team-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
  padding: 30px 32px;
  border: 1px solid var(--dhs-line);
  border-radius: 20px;
  background: linear-gradient(135deg, #f7faff, #eef4fd);
}

.team-toolbar .eyebrow {
  margin-bottom: 12px;
}

.team-toolbar h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.team-search {
  position: relative;
  display: block;
  width: min(100%, 410px);
  flex: 0 0 auto;
}

.team-search::before {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: var(--dhs-blue);
  content: "⌕";
  font-size: 1.35rem;
  line-height: 1;
  pointer-events: none;
}

.team-search input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px 0 48px;
  border: 1px solid #bfd0e8;
  border-radius: 13px;
  outline: 0;
  background: var(--dhs-white);
  color: var(--dhs-ink);
}

.team-search input:focus {
  border-color: var(--dhs-blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 209, 0.12);
}

.specialist-index {
  margin-bottom: 70px;
  padding: 24px 26px;
  border-radius: 18px;
  background: var(--dhs-navy);
  color: var(--dhs-white);
}

.specialist-index > span {
  display: block;
  margin-bottom: 13px;
  color: #abcaff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.specialist-index > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.specialist-index a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--dhs-white);
  font-size: 0.79rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.specialist-index a:hover {
  transform: translateY(-2px);
  background: var(--dhs-blue);
  color: var(--dhs-white);
}

.team-search__empty {
  margin: 30px 0 0;
  padding: 28px;
  border-radius: 16px;
  background: #fff4e3;
  color: #6d5120;
  font-weight: 700;
  text-align: center;
}

.specialty-group {
  scroll-margin-top: 130px;
}

.specialty-group + .specialty-group {
  margin-top: 86px;
}

.specialty-group__heading {
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 19px;
  border-bottom: 2px solid #e4ebf5;
}

.specialty-group__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--dhs-blue) !important;
  font-size: 0.7rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.11em !important;
}

.specialty-group__heading h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.specialty-group__count {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: #eaf1fc;
  color: var(--dhs-navy) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.04em !important;
}

.specialist-directory .team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.specialist-directory .team-card {
  display: flex;
  min-width: 0;
  height: auto;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dde6f2;
  border-radius: 22px;
  background: var(--dhs-white);
  box-shadow: 0 14px 36px rgba(0, 32, 102, 0.07);
}

.specialist-directory .team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 105, 209, 0.28);
  box-shadow: 0 22px 48px rgba(0, 32, 102, 0.14);
}

.specialist-directory .team-card__image {
  position: relative;
  aspect-ratio: 5 / 4;
  background: #eaf1fb;
}

.specialist-directory .team-card__image::after {
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  background: linear-gradient(transparent, rgba(0, 26, 82, 0.12));
  content: "";
  pointer-events: none;
}

.specialist-directory .team-card__image img {
  object-position: top center;
}

.specialist-directory .team-card__content {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 18px 19px 20px;
}

.team-card__role {
  display: block;
  margin-bottom: 6px;
  color: var(--dhs-blue);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.specialist-directory .team-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

.specialist-directory .team-card__placeholder {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 15%, rgba(65, 139, 229, 0.18), transparent 30%),
    linear-gradient(145deg, #e7effb, #f8fbff);
}

.specialist-directory .team-card__placeholder::before,
.specialist-directory .team-card__placeholder::after {
  position: absolute;
  z-index: -1;
  border: 22px solid rgba(23, 105, 209, 0.07);
  border-radius: 50%;
  content: "";
}

.specialist-directory .team-card__placeholder::before {
  right: -48px;
  bottom: -58px;
  width: 170px;
  height: 170px;
}

.specialist-directory .team-card__placeholder::after {
  top: -54px;
  left: -55px;
  width: 130px;
  height: 130px;
}

.specialist-directory .team-card__placeholder span {
  width: 78px;
  height: 78px;
  border: 0;
  background: var(--dhs-navy);
  color: var(--dhs-white);
  box-shadow: 0 14px 36px rgba(0, 32, 102, 0.2);
}

.specialist-directory .team-card__schedule {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--dhs-line);
}

.specialist-directory .team-card__schedule > span {
  color: var(--dhs-muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.specialist-directory .team-card__schedule strong {
  color: var(--dhs-navy);
  font-size: 0.81rem;
  font-weight: 750;
  line-height: 1.45;
}

@media (max-width: 1080px) {
  .specialist-directory .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .team-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .team-search {
    width: 100%;
  }

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

@media (max-width: 560px) {
  .team-toolbar {
    padding: 24px 22px;
  }

  .specialist-index {
    margin-bottom: 52px;
    padding: 22px;
  }

  .specialist-index > div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .specialist-index a {
    border-radius: 11px;
  }

  .specialist-directory .team-grid {
    grid-template-columns: 1fr;
  }

  .specialist-directory .team-card__image {
    min-height: 142px;
    aspect-ratio: auto;
  }

  .specialist-directory .team-card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .specialist-directory .team-card__content {
    justify-content: center;
  }
}

/* Version 1.4.2: compact team cards and patient-facilities presentation. */
.patient-facilities {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
}

.facility-grid {
  display: grid;
  overflow-x: auto;
  grid-auto-columns: minmax(310px, 360px);
  grid-auto-flow: column;
  gap: 22px;
  padding: 6px 2px 10px;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-padding-inline: 2px;
  scroll-snap-type: inline mandatory;
}

.facility-card {
  display: flex;
  grid-column: auto;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--dhs-line);
  border-radius: 22px;
  background: var(--dhs-white);
  box-shadow: 0 16px 42px rgba(0, 32, 102, 0.08);
  scroll-snap-align: start;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.facility-card:nth-child(n + 4) {
  grid-column: auto;
}

.facility-grid::-webkit-scrollbar {
  display: none;
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(0, 32, 102, 0.14);
}

.facility-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--dhs-soft);
}

.facility-card__image::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(0, 24, 77, 0.28));
  content: "";
}

.facility-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.facility-card:hover .facility-card__image img {
  transform: scale(1.035);
}

.facility-card__image > span {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--dhs-white);
  color: var(--dhs-blue);
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0, 24, 77, 0.16);
}

.facility-card__body {
  display: flex;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
  padding: 24px;
}

.facility-card__body h3 {
  margin-bottom: 9px;
  font-size: 1.28rem;
}

.facility-card__body p {
  margin: 0 0 22px;
  color: var(--dhs-muted);
  font-size: 0.9rem;
}

.facility-card__button {
  min-height: 42px;
  margin-top: auto;
  padding: 9px 16px;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .facility-grid {
    grid-auto-columns: minmax(285px, 46vw);
  }
}

@media (max-width: 640px) {
  .facility-grid {
    grid-auto-columns: minmax(265px, 86vw);
    gap: 16px;
  }

  .facility-card__body {
    padding: 21px;
  }
}

/* Version 1.4.7: facility slider controls and precise logo alignment. */
.facility-slider__controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: -4px 2px 14px;
}

.facility-slider__arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--dhs-navy);
  border-radius: 50%;
  background: var(--dhs-navy);
  color: var(--dhs-white);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.facility-slider__arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.facility-slider__arrow:hover:not(:disabled),
.facility-slider__arrow:focus-visible:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--dhs-blue);
  background: var(--dhs-blue);
}

.facility-slider__arrow:disabled {
  border-color: #d8e2ef;
  background: #e7edf6;
  color: #8b9ab0;
  cursor: default;
  opacity: 0.72;
}

.site-header__inner {
  gap: 18px;
}

.brand-lockup__badge {
  position: relative;
  display: block;
  width: 62px;
  min-width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--dhs-white);
}

.brand .brand-lockup__badge .brand-lockup__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74px;
  min-width: 74px;
  max-width: none;
  height: 74px;
  max-height: none;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  transform: translate(calc(-50% - 1px), calc(-50% + 0.25px));
}

.brand-lockup__text strong {
  font-size: 0.94rem;
}

.site-nav a {
  padding-inline: 10px;
  white-space: nowrap;
}

.footer-brand .brand-lockup__badge {
  position: relative;
  display: block;
  width: 68px;
  min-width: 68px;
  height: 68px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--dhs-white);
}

.footer-brand .brand-lockup__badge .brand-lockup__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  min-width: 96px;
  max-width: none;
  height: 96px;
  max-height: none;
  margin: 0;
  border-radius: 0;
  filter: none;
  object-fit: contain;
  object-position: center;
  transform: translate(calc(-50% - 1px), calc(-50% + 0.25px));
}

@media (max-width: 640px) {
  .brand-lockup__badge {
    width: 54px;
    min-width: 54px;
    height: 54px;
  }

  .brand .brand-lockup__badge .brand-lockup__mark {
    width: 64px;
    min-width: 64px;
    height: 64px;
  }
}

/* Compact homepage rhythm and image-led department layouts. */
.home-services { padding-block: 64px 24px; }
.home-services .service-card { min-height: 180px; padding: 24px; }
.home-services + .clinical-feature { padding-block: 24px 64px; }

.about-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.about-service-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--dhs-line); border-radius: 20px; background: #fff; color: var(--dhs-navy); text-decoration: none; box-shadow: 0 10px 30px rgba(0,32,102,.04); transition: transform .18s ease, background-color .18s ease; }
.about-service-card__media { overflow: hidden; aspect-ratio: 16 / 10; }
.about-service-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-service-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 26px; }
.about-service-card h3 { margin: 0 0 14px; font-size: 1.35rem; }
.about-service-card p { margin: 0 0 24px; color: var(--dhs-muted); font-size: .95rem; }
.about-service-card__link { display: flex; justify-content: space-between; width: 100%; margin-top: auto; font-size: .85rem; font-weight: 800; }
.about-service-card:is(:hover, :focus-visible) { transform: translateY(-4px); background: var(--dhs-blue); color: #fff; }
.about-service-card:is(:hover, :focus-visible) :is(h3, p, .about-service-card__link) { color: #fff; }
.about-service-card:focus-visible { outline: 3px solid var(--dhs-blue); outline-offset: 4px; }

.room-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.room-card__image { aspect-ratio: 16 / 10; }
.room-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.room-card__body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.room-card__body h3 { margin-top: 0; }
.room-card__body ul { margin-bottom: 20px; }
.room-card__body p { margin: 0 0 24px; color: var(--dhs-muted); line-height: 1.7; }
.room-card__body .button { align-self: flex-start; margin-top: auto; }
.room-card[id] { scroll-margin-top: 125px; }
.room-package-details { padding: 26px; border: 1px solid var(--dhs-line); border-radius: 20px; background: #fff; }
.room-package-details h3 { margin-top: 0; }

.department-page .service-hero--split { min-height: 0; background: linear-gradient(115deg, #00184d, #113f83); }
.department-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: 48px; }
.department-hero-copy { min-width: 0; }
.department-hero-copy .breadcrumbs { margin-bottom: 24px; }
.department-hero-copy .eyebrow { margin-bottom: 14px; }
.service-hero--split .department-hero-copy h1 { max-width: none; margin: 0 0 18px; font-size: clamp(2.2rem, 3.6vw, 3.5rem); line-height: 1.1; }
.service-hero--split .department-hero-copy p { font-size: 1rem; line-height: 1.7; }
.service-hero--split .service-hero__actions { margin-top: 24px; }
.department-hero-media { height: 340px; margin: 0; overflow: hidden; border-radius: 22px; background: #dbe7f5; box-shadow: 0 14px 38px rgba(0,0,0,.16); }
.department-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.department-jump-nav { padding-block: 16px; background: #fff; border-bottom: 1px solid var(--dhs-line); }
.department-jump-nav .container { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.department-jump-nav a { color: var(--dhs-navy); font-weight: 750; font-size: .85rem; text-decoration: none; }
.department-jump-nav a:hover { color: var(--dhs-blue); text-decoration: underline; }
.directory-room-links { display: grid; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.directory-room-links li { margin: 0; }
.directory-room-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.23); border-radius: 12px; color: #fff; font-weight: 750; text-decoration: none; }
.directory-room-links a:is(:hover, :focus-visible) { background: #fff; color: var(--dhs-navy); }
.department-content-section { padding-block: 48px; background: #f5f8fd; }
.department-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.department-service-content { min-width: 0; }
.department-section-heading { margin-bottom: 24px; }
.department-section-heading .eyebrow { margin-bottom: 10px; }
.department-section-heading h2 { margin: 0; font-size: clamp(1.7rem, 2.7vw, 2.25rem); }
.department-page :is(#services-offered, #department-hours, #department-contact) { scroll-margin-top: 125px; }
.department-page .department-service-lists { display: block; }
.department-page .department-service-lists--grouped { column-count: 2; column-gap: 20px; }
.department-page .department-service-group { display: inline-block; width: 100%; margin: 0 0 20px; padding: 24px; break-inside: avoid; border: 1px solid var(--dhs-line); border-radius: 18px; background: #fff; }
.department-page .department-service-group h3 { padding-bottom: 14px; border-bottom: 1px solid #e4ebf6; color: var(--dhs-navy); font-size: 1.13rem; }
.department-page .department-service-group li { margin-bottom: 9px; padding-left: 3px; color: #40536e; font-size: .94rem; line-height: 1.65; }
.department-page .department-service-group li::marker { color: var(--dhs-blue); }
.department-page .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.department-sidebar { position: sticky; top: calc(110px + var(--wp-admin--admin-bar--height, 0px)); display: grid; gap: 20px; }
.department-info-card { padding: 24px; border: 1px solid var(--dhs-line); border-radius: 18px; background: #fff; }
.department-info-card .eyebrow { margin-bottom: 12px; font-size: .66rem; }
.department-info-card h2 { margin: 0 0 14px; font-size: 1.25rem; }
.department-info-card p { margin: 0 0 18px; font-size: .93rem; line-height: 1.7; color: #40536e; }
.department-text-link { display: inline-flex; align-items: center; gap: 12px; font-size: .83rem; font-weight: 800; color: var(--dhs-blue); text-decoration: none; }
.department-info-card--contact { border-top: 4px solid var(--dhs-blue); }
.department-phone { display: block; margin-bottom: 18px; font-size: 1.14rem; font-weight: 850; color: var(--dhs-navy); text-decoration: none; white-space: nowrap; }
.department-info-card--contact .button { display: flex; justify-content: center; width: 100%; min-width: 0; padding-inline: 12px; font-size: .83rem; }
.department-secondary-photo { margin: 0; overflow: hidden; border-radius: 18px; }
.department-secondary-photo img { display: block; width: 100%; max-height: 280px; object-fit: cover; }
.department-related-section { padding-block: 48px 64px; }
.department-related-section .section-heading { margin-bottom: 26px; }
.department-related-section h2 { margin: 0; font-size: 2rem; }
.department-related > a { overflow: hidden; padding: 0; }
.department-related__media { aspect-ratio: 16 / 9; overflow: hidden; }
.department-related__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.department-related__body { padding: 24px; }
.department-related__body h3 { margin: 0 0 12px; font-size: 1.2rem; }
.department-related__body .department-text-link { margin-top: 20px; }
.department-related > a:is(:hover, :focus-visible) { background: var(--dhs-blue); color: #fff; }
.department-related > a:is(:hover, :focus-visible) :is(h3, p, .department-text-link) { color: #fff; }

/* Contact links stay clickable without underlining the numbers. */
a[href^="tel:"],
a[href^="https://wa.me/"],
a[href^="tel:"]:is(:hover, :focus, :active),
a[href^="https://wa.me/"]:is(:hover, :focus, :active) { text-decoration: none; }

/* The supplied WhatsApp artwork already has its own white outline. */
.whatsapp-float { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; filter: drop-shadow(0 4px 8px rgba(0,0,0,.2)); }
.whatsapp-float svg { display: block; width: 64px; height: 64px; }

@media (max-width: 1080px) {
  .about-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .department-hero-grid { gap: 28px; }
  .department-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 20px; }
  .department-page .department-service-lists--grouped { column-count: 1; }
  .department-page .room-grid { grid-template-columns: 1fr; }
}
@media (max-width: 850px) {
  .department-hero-grid { grid-template-columns: 1fr; padding-block: 36px; }
  .department-hero-media { height: 280px; }
  .department-layout { grid-template-columns: 1fr; }
  .department-sidebar { position: static; grid-row: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .department-secondary-photo { display: none; }
  .department-page .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .department-page .department-service-lists--grouped { column-count: 2; }
}
@media (max-width: 600px) {
  .home-services { padding-block: 42px 18px; }
  .home-services + .clinical-feature { padding-block: 18px 42px; }
  .home-services .service-card { min-height: 0; padding: 22px; }
  .about-services-grid, .department-page .room-grid, .department-sidebar { grid-template-columns: 1fr; }
  .about-service-card__body { padding: 22px; }
  .department-hero-grid { gap: 26px; }
  .department-hero-media { height: 220px; }
  .department-jump-nav .container { gap: 12px 20px; }
  .department-content-section { padding-block: 30px; }
  .department-page .department-service-lists--grouped { column-count: 1; }
  .department-page .department-service-group, .department-info-card { padding: 22px; }
  .department-related-section { padding-block: 34px; }
  .department-related-section .section-heading { align-items: start; flex-direction: column; gap: 20px; }
  .department-page .department-related { grid-template-columns: 1fr; }
}

/* Shared section rhythm across the public site. */
:root { --dhs-section-space: 64px; --dhs-heading-space: 32px; --dhs-card-gap: 24px; }
main > .section,
main > .content-wrap { padding-block: var(--dhs-section-space); }
main > .page-hero { padding-block: var(--dhs-section-space); }
main > .home-services { padding-bottom: 24px; }
.home-services + .clinical-feature { padding-block: 24px var(--dhs-section-space); }
.section-heading { margin-bottom: var(--dhs-heading-space); gap: var(--dhs-card-gap); }
.services-grid, .about-services-grid, .department-page .room-grid,
.team-grid, .related-services, .contact-grid { gap: var(--dhs-card-gap); }
.department-content-section, .department-related-section { padding-block: var(--dhs-section-space); }
.department-section-heading { margin-bottom: var(--dhs-heading-space); }
.updates-heading { margin: var(--dhs-section-space) 0 var(--dhs-heading-space); }
.gallery-intro { margin-bottom: var(--dhs-heading-space); }
.contact-panel h2 { font-size: clamp(1.65rem, 2.3vw, 2rem); line-height: 1.2; }
.contact-grid > * { min-width: 0; }
.contact-item a { overflow-wrap: anywhere; }
.map-frame iframe { max-width: 100%; }
.site-footer { padding-top: 32px; }
.footer-cta { transform: none; margin: 0; }
@media (max-width: 600px) {
  :root { --dhs-section-space: 40px; --dhs-heading-space: 24px; --dhs-card-gap: 20px; }
  .site-footer { padding-top: 24px; }
  main > .home-services { padding-bottom: 18px; }
  .home-services + .clinical-feature { padding-block: 18px var(--dhs-section-space); }
}

/* Hospital gallery: consistent photo cards, collections and an accessible viewer. */
.gallery-page__hero .eyebrow { color: #a8c9ff; }
.gallery-page__hero h1 { max-width: 900px; }
.gallery-page__facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; color: #fff; font-size: .85rem; font-weight: 700; }
.gallery-page__facts span { display: flex; align-items: center; gap: 10px; }
.gallery-page__facts span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #68aaff; }
.gallery-collection .section-heading { align-items: center; }
.gallery-collection .section-heading h2 { font-size: clamp(1.8rem, 3.1vw, 2.7rem); margin-bottom: 0; }
.gallery-collection .section-heading > p { max-width: 310px; margin: 0; color: var(--dhs-muted); font-size: .93rem; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 24px; border-bottom: 1px solid var(--dhs-line); }
.gallery-filters[hidden] { display: none; }
.gallery-filter { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 15px; border: 1px solid var(--dhs-line); border-radius: 10px; background: #fff; color: var(--dhs-navy); font: inherit; font-size: .8rem; font-weight: 750; cursor: pointer; transition: background .15s, color .15s; }
.gallery-filter span { min-width: 21px; padding: 2px 5px; border-radius: 5px; background: #edf3fc; font-size: .68rem; }
.gallery-filter:is(:hover, [aria-pressed="true"]) { border-color: var(--dhs-blue); background: var(--dhs-blue); color: #fff; }
.gallery-filter:is(:hover, [aria-pressed="true"]) span { background: rgba(255,255,255,.18); }
.gallery-results { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; color: var(--dhs-muted); font-size: .8rem; }
.gallery-results p { margin: 0; font-weight: 750; color: var(--dhs-navy); }
.hospital-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hospital-gallery-grid .hospital-gallery-card { grid-column: auto; min-height: 0; border: 1px solid var(--dhs-line); border-radius: 16px; background: #fff; }
.hospital-gallery-card[hidden] { display: none; }
.hospital-gallery-card__link { display: block; height: 100%; color: var(--dhs-navy); text-decoration: none; }
.hospital-gallery-card__image { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--dhs-soft); }
.hospital-gallery-grid .hospital-gallery-card img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.hospital-gallery-card__zoom { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(0,24,77,.7); color: #fff; font-size: 1.2rem; }
.hospital-gallery-grid .hospital-gallery-card figcaption { position: static; padding: 20px; background: none; color: inherit; }
.hospital-gallery-card figcaption > span { display: block; margin-bottom: 8px; color: var(--dhs-muted); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.hospital-gallery-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.4; letter-spacing: -.02em; }
.hospital-gallery-card__link:is(:hover, :focus-visible) { background: var(--dhs-blue); color: #fff; }
.hospital-gallery-card__link:is(:hover, :focus-visible) :is(h3, figcaption > span) { color: #fff; }
.gallery-more { display: flex; justify-content: center; margin-top: 32px; }
.gallery-more .button[hidden] { display: none; }
.gallery-more:has(.button[hidden]) { margin-top: 0; }
.gallery-viewer { width: min(1180px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 40px); margin: auto; padding: 0; overflow: auto; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: #061d47; color: #fff; box-shadow: 0 24px 90px rgba(0,0,0,.4); }
.gallery-viewer::backdrop { background: rgba(0,10,32,.88); }
.gallery-viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 22px; color: #bacce6; font-size: .85rem; }
.gallery-viewer button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 44px; min-height: 44px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; background: rgba(255,255,255,.07); color: #fff; font: inherit; cursor: pointer; }
.gallery-viewer button:hover { background: var(--dhs-blue); }
.gallery-viewer button:focus-visible, .gallery-filter:focus-visible { outline: 3px solid #85bbff; outline-offset: 3px; }
.gallery-viewer__bar button span { font-size: 1.6rem; line-height: 1; }
.gallery-viewer__stage { display: grid; grid-template-columns: 60px minmax(0, 1fr) 60px; align-items: center; gap: 10px; padding: 0 12px; min-height: 200px; }
.gallery-viewer:not([open]) { display: none; }
.gallery-viewer--fallback[open] { display: block; position: fixed; inset: 50% auto auto 50%; transform: translate(-50%, -50%); margin: 0; z-index: 10001; max-height: 90vh; }
body.gallery-viewer-fallback-open::before { content: ''; position: fixed; inset: 0; z-index: 10000; background: rgba(0, 15, 45, .8); }
.gallery-viewer__stage img { display: block; width: 100%; height: min(66dvh, 680px); object-fit: contain; background: #03132f; }
.gallery-viewer__stage button { font-size: 2rem; padding: 0; }
.gallery-viewer__caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; }
.gallery-viewer__caption p { margin: 0; font-weight: 750; }
.gallery-viewer__caption > span { color: #bacce6; font-size: .75rem; }
body.gallery-viewer-open { overflow: hidden; }
@media (max-width: 1000px) { .hospital-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .gallery-collection .section-heading { flex-direction: column; align-items: start; gap: 14px; }
  .gallery-collection .section-heading > p { max-width: none; }
  .gallery-page__facts { gap: 10px 20px; font-size: .76rem; }
  .gallery-filters { gap: 8px; padding-bottom: 20px; }
  .gallery-filter { padding: 9px 11px; font-size: .74rem; }
  .gallery-results > span { display: none; }
  .hospital-gallery-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-viewer { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; }
  .gallery-viewer__stage { position: relative; display: block; min-height: 0; padding: 0; }
  .gallery-viewer__stage img { height: auto; max-height: 65dvh; }
  .gallery-viewer__stage button { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); width: 44px; background: rgba(0,15,45,.75); }
  .gallery-viewer__stage [data-gallery-previous] { left: 8px; }
  .gallery-viewer__stage [data-gallery-next] { right: 8px; }
  .gallery-viewer__caption { display: block; padding: 18px; }
  .gallery-viewer__caption > span { display: block; margin-top: 10px; }
}
