/*
Theme Name: Dr. Pramod
Theme URI: https://vmsoftsys.com/
Author: vmsoftsys
Author URI: https://vmsoftsys.com/
Description: Custom WordPress theme for Dr. Pramod K Sudarshan with full logo, site icon, responsive image, featured image, and block editor support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dr-pramod
Tags: custom-logo, custom-menu, featured-images, block-styles, wide-blocks, threaded-comments, translation-ready
*/

:root {
  --dp-primary: #2e3192;
  --dp-primary-deep: #095d7e;
  --dp-teal: #095d7e;
  --dp-accent: #14c9a6;
  --dp-action: #faa41a;
  --dp-ink: #095d7e;
  --dp-muted: #5a686c;
  --dp-surface: #ffffff;
  --dp-soft: #ccecee;
  --dp-border: #ccecee;
  --dp-font: "Poppins", Arial, Helvetica, sans-serif;
  --dp-radius: 8px;
  --dp-container: 1490px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--dp-ink);
  font-family: var(--dp-font);
  font-size: 16px;
  line-height: 1.6;
  background: var(--dp-surface);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
button,
input,
select,
textarea {
  font-family: var(--dp-font);
}

a {
  color: var(--dp-primary);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  box-shadow: 0 2px 16px rgba(9, 93, 126, 0.08);
}

.site-topbar {
  color: #fff;
  background: var(--dp-primary);
}

.site-topbar__inner,
.site-header__inner,
.site-nav-row__inner,
.site-footer__inner {
  width: min(100% - 36px, var(--dp-container));
  margin-inline: auto;
}

.site-main,
.dp-container {
  width: min(100% - 36px, var(--dp-container));
  margin-inline: auto;
}

.site-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 58px;
}

.site-topbar__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.site-topbar__list li,
.site-topbar__list a,
.site-socials {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.site-topbar__list a:hover,
.site-topbar__list a:focus {
  color: #fff;
  text-decoration: none;
}

.site-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 999px;
  flex: 0 0 auto;
}

.site-icon svg,
.site-socials svg,
.header-cta__icon svg,
.nav-toggle-button svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-socials {
  gap: 12px;
}

.site-socials a {
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--dp-primary);
  background: #fff;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background-color 180ms ease;
}

.site-socials a:hover,
.site-socials a:focus {
  color: var(--dp-primary);
  background: #fff;
  box-shadow: 0 8px 18px rgba(9, 93, 126, 0.2);
  transform: translateY(-2px);
  text-decoration: none;
}

.site-socials a:hover svg,
.site-socials a:focus svg {
  color: inherit;
  opacity: 1;
  visibility: visible;
}

.site-socials a[aria-label="Instagram"] svg,
.site-socials a[aria-label="YouTube"] svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-socials a[aria-label="Facebook"] svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 131px;
  gap: 24px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.custom-logo {
  width: auto;
  max-width: min(344px, 52vw);
  max-height: 96px;
  object-fit: contain;
}

.site-title {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 60px;
  padding: 12px 22px;
  color: #fff;
  background: #294aa8;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus {
  color: #fff;
  text-decoration: none;
  background: var(--dp-primary);
}

.header-cta__icon {
  display: inline-flex;
  font-size: 38px;
  flex: 0 0 auto;
}

.site-nav-row {
  background: rgba(20, 201, 166, 0.86);
}

.site-nav-row__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 55px;
}

.primary-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 55px;
  padding: 0 16px;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
}

.primary-menu a:hover,
.primary-menu a:focus {
  color: #fff;
  background: rgba(46, 49, 146, 0.2);
  text-decoration: none;
}

.primary-menu .menu-item-has-children > a::after {
  content: "+";
  margin-left: 8px;
  font-weight: 400;
}

.primary-menu .sub-menu {
  position: absolute;
  min-width: 220px;
  margin: 55px 0 0;
  padding: 8px 0;
  list-style: none;
  background: var(--dp-accent);
  box-shadow: 0 12px 30px rgba(9, 93, 126, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

.primary-menu li {
  position: relative;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-menu .sub-menu a {
  min-height: 42px;
  justify-content: flex-start;
  white-space: nowrap;
}

.primary-menu > .has-mega-menu {
  position: static;
}

.primary-menu > .has-mega-menu > .sub-menu {
  display: none;
}

.mega-menu {
  position: absolute;
  top: 55px;
  left: 0;
  z-index: 30;
  width: 100%;
  padding-top: 14px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity 0.24s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.24s ease;
}

.primary-menu > .has-mega-menu:hover > .mega-menu,
.primary-menu > .has-mega-menu:focus-within > .mega-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 22px;
  width: 100%;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(46, 49, 146, 0.1);
  border-top: 4px solid var(--dp-action);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 24px 46px rgba(9, 93, 126, 0.18);
}

.mega-menu__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 100%;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(46, 49, 146, 0.96), rgba(9, 93, 126, 0.94));
  border-radius: 8px;
}

.mega-menu__intro span {
  color: var(--dp-action);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.mega-menu__intro h2 {
  margin: 10px 0 12px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.mega-menu__intro p {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.mega-menu__intro a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 22px;
  padding: 0 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  background: var(--dp-action);
  border-radius: 6px;
}

.mega-menu__intro a:hover,
.mega-menu__intro a:focus {
  color: #fff;
  text-decoration: none;
  background: var(--dp-accent);
}

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

.primary-menu .mega-menu__card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 112px;
  padding: 16px;
  color: var(--dp-primary);
  background: var(--dp-soft);
  border: 1px solid rgba(9, 93, 126, 0.08);
  border-radius: 8px;
  text-transform: none;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.primary-menu .mega-menu__card:hover,
.primary-menu .mega-menu__card:focus {
  color: var(--dp-primary);
  background: #fff;
  border-color: var(--dp-accent);
  box-shadow: 0 14px 26px rgba(9, 93, 126, 0.13);
  transform: translateY(-3px);
}

.mega-menu__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: #fff;
  border-radius: 8px;
}

.mega-menu__icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.mega-menu__text {
  min-width: 0;
}

.mega-menu__text strong,
.mega-menu__text small {
  display: block;
}

.mega-menu__text strong {
  color: var(--dp-primary);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.18;
  text-transform: uppercase;
}

.mega-menu__text small {
  margin-top: 6px;
  color: #000;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-button {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle-button svg {
  width: 28px;
  height: 28px;
}

.nav-toggle-button__icon {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  width: 32px;
  height: 32px;
  gap: 6px;
  flex: 0 0 auto;
}

.nav-toggle-button__icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform-origin: center;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    width 0.28s ease;
}

.nav-toggle-button__brand,
.mobile-menu-extras {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--dp-primary);
  border-bottom: 4px solid var(--dp-primary);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 28, 148, 0.18) 0%,
    rgba(11, 28, 148, 0) 58%
  );
  pointer-events: none;
}

.hero__banner-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% bottom;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 42px;
  min-height: 475px;
  padding-block: 160px 160px;
}

.hero__content {
  width: 900px;
  max-width: 100%;
}

.hero h1 {
  margin: 0 0 6px;
  font-size: clamp(40px, 5.1vw, 65px);
  line-height: 1.12;
  font-weight: 900;
  text-transform: uppercase;
}

.hero p {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.35vw, 30px);
  line-height: 1.25;
  text-transform: uppercase;
}

.hero__rule {
  width: min(100%, 596px);
  height: 2px;
  margin: 18px 0 8px;
  background: var(--dp-action);
}

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

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 12px 22px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--dp-primary);
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  color: #fff;
  text-decoration: none;
  filter: brightness(0.96);
}

.button--accent {
  background: var(--dp-action);
  font-weight: 600;
}

.button--secondary {
  background: var(--dp-accent);
  font-weight: 600;
}

.site-main {
  padding-block: 46px;
}

.entry-header {
  margin-bottom: 24px;
}

.entry-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.entry-content > * {
  max-width: 780px;
  margin-inline: auto;
}

.entry-content > .alignwide {
  max-width: var(--dp-container);
}

@media (max-width: 1180px) {
  .hero__banner-image {
    object-position: 63% bottom;
  }

  .hero__content {
    max-width: 620px;
  }
}

.entry-content > .alignfull {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.wp-caption,
.gallery,
.wp-block-image,
.wp-block-gallery {
  max-width: 100%;
}

.site-footer {
  margin-top: 48px;
  padding: 38px 0 42px;
  color: #fff;
  background: #294a9b;
}

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

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 1fr 0.78fr;
  align-items: start;
  gap: 78px;
}

.footer-column h2 {
  margin: 0 0 14px;
  color: #fff200;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.1;
}

.footer-column p {
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.18;
}

.footer-contact p + p {
  margin-top: 8px;
}

.footer-contact .footer-label {
  margin-bottom: 4px;
  font-size: 19px;
  line-height: 1.2;
}

.footer-contact__line {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0;
}

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

.footer-links a {
  display: inline-flex;
  color: #fff;
  font-size: 19px;
  line-height: 1.24;
}

.footer-links--compact a {
  font-size: 16px;
  line-height: 1.28;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #fff200;
  text-decoration: none;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  color: #294a9b;
  background: #fff;
  border-radius: 999px;
}

.footer-socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: none;
}

.footer-socials a[aria-label="Instagram"] svg,
.footer-socials a[aria-label="YouTube"] svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

@media (max-width: 760px) {
  .site-topbar__inner,
  .site-header__inner,
  .site-footer__inner {
    flex-direction: column;
  }

  .site-topbar__inner {
    align-items: flex-start;
    padding-block: 12px;
  }

  .site-topbar__list {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    font-size: 17px;
  }

  .site-header__inner {
    align-items: stretch;
    min-height: 0;
    padding-block: 16px;
  }

  .custom-logo {
    max-width: min(100%, 330px);
    max-height: 90px;
  }

  .site-header__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .header-cta {
    min-height: 52px;
    justify-content: flex-start;
    font-size: 17px;
  }

  .header-cta__icon {
    font-size: 30px;
  }

  .site-nav-row__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-toggle-button {
    display: flex;
  }

  .primary-menu {
    align-items: stretch;
    flex-direction: column;
    padding-bottom: 10px;
  }

  .primary-menu a {
    min-height: 44px;
    padding-inline: 0;
  }

  .primary-menu .sub-menu {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 16px;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-menu > .has-mega-menu > .sub-menu {
    display: none;
  }

  .mega-menu {
    position: static;
    width: auto;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: none;
  }

  .mega-menu__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0 8px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .mega-menu__intro {
    padding: 18px;
    background: rgba(46, 49, 146, 0.92);
  }

  .mega-menu__intro h2 {
    font-size: 22px;
  }

  .mega-menu__intro p {
    font-size: 14px;
  }

  .mega-menu__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .primary-menu .mega-menu__card {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.92);
  }

  .mega-menu__icon {
    width: 44px;
    height: 44px;
  }

  .mega-menu__icon img {
    width: 32px;
    height: 32px;
  }

  .site-footer {
    padding-block: 34px;
  }

  .site-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-column h2 {
    font-size: 21px;
  }

  .footer-links a,
  .footer-column p {
    font-size: 17px;
  }

  .footer-links--compact a {
    font-size: 15px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 38px 220px;
  }

  .hero__content {
    width: min(100%, 360px);
  }

  .hero__banner-image {
    object-fit: cover;
    object-position: 58% bottom;
  }

  .hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(46, 49, 146, 0.74) 0%,
        rgba(46, 49, 146, 0.5) 48%,
        rgba(46, 49, 146, 0) 72%
      ),
      linear-gradient(90deg, rgba(11, 28, 148, 0.46), rgba(11, 28, 148, 0));
  }

  .hero h1 {
    font-size: 29px;
    text-wrap: balance;
  }

  .hero p {
    font-size: 17px;
    max-width: 350px;
  }

  .hero__actions {
    margin-top: 20px;
  }

  .hero__actions .button {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 15px;
  }
}

@media (max-width: 460px) {
  .hero__inner {
    padding-block: 34px 245px;
  }

  .hero__banner-image {
    object-position: 64% bottom;
  }
}

.home-intro {
  padding: 58px 0 64px;
  background: #fff;
}

.home-intro__inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 64px;
}

.home-intro__content {
  /* Fluid width managed by grid layout */
}

.home-intro__eyebrow,
.home-intro h2,
.home-intro__subhead {
  color: var(--dp-primary);
  text-transform: uppercase;
}

.home-intro__eyebrow {
  margin: 0 0 2px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.home-intro h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
}

.home-intro__subhead {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.18;
}

.home-intro__content > p:not(.home-intro__eyebrow):not(.home-intro__subhead) {
  margin: 0;
  color: #000;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.18;
  text-align: justify;
}

.home-intro__readmore {
  display: flex;
  justify-content: right;
  margin-top: 20px;
}

.home-intro__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 205px;
  min-height: 45px;
  color: #fff;
  background: var(--dp-primary);
  border-radius: 5px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-intro__button:hover,
.home-intro__button:focus {
  color: #fff;
  text-decoration: none;
  background: var(--dp-primary);
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 32px;
}

.home-stat {
  display: flex;
  align-items: center;
  min-height: 69px;
  padding: 7px 12px;
  background: var(--dp-soft);
  border-radius: 7px;
  overflow: hidden;
}

.home-stat img {
  width: 49px;
  height: 49px;
  object-fit: contain;
  flex: 0 0 auto;
  margin-right: 10px;
  mix-blend-mode: multiply;
}

.home-stat strong {
  display: block;
  color: var(--dp-primary);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.home-stat span {
  display: block;
  color: var(--dp-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.home-intro__media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
}

.home-intro__media img {
  width: 100%;
  aspect-ratio: 474 / 432;
  object-fit: cover;
  object-position: center;
}

.patient-testimonials {
  padding: 50px 0 50px;
  background: #dcfafa;
}

.patient-testimonials h2 {
  margin: 0 0 48px;
  color: var(--dp-primary);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.patient-testimonials__grid {
  display: grid;
  grid-template-columns: minmax(0, 528px) minmax(0, 528px);
  align-items: start;
  justify-content: center;
  gap: 46px;
}

.testimonial-panel {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  justify-items: center;
  gap: 16px;
}

.testimonial-card {
  width: min(100%, 420px);
  min-height: 247px;
  padding: 22px 24px 22px;
  background: #fff;
  border: 1px solid var(--dp-primary);
  border-radius: 7px;
}

.testimonial-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.testimonial-card__avatar {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  object-fit: cover;
}

.testimonial-card__avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #006a91;
  background: #c8e6ff;
}

.testimonial-card__avatar--fallback svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.testimonial-card__rating {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #f4d01d;
  font-size: 18px;
  line-height: 1;
}

.testimonial-card__google {
  color: #4285f4;
  font-size: 35px;
  font-weight: 800;
  line-height: 1;
}

.testimonial-card h3 {
  margin: 0 0 10px;
  color: #202020;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.testimonial-card p {
  margin: 0;
  color: #000;
  font-size: 12.5px;
  line-height: 1.32;
}

.testimonial-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 42px;
  padding: 0;
  color: #000;
  background: transparent;
  border: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.testimonial-view-all {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  min-height: 35px;
  margin-top: 33px;
  color: #fff;
  background: var(--dp-action);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.testimonial-view-all:hover,
.testimonial-view-all:focus {
  color: #fff;
  text-decoration: none;
  filter: brightness(0.97);
}

.testimonial-video {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.testimonial-video iframe,
.testimonial-video video,
.testimonial-video .wp-video,
.testimonial-video img,
.testimonial-video__placeholder {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.testimonial-video iframe,
.testimonial-video video,
.testimonial-video img {
  object-fit: cover;
}

.testimonial-video img {
  filter: saturate(1.02);
}

.testimonial-video__placeholder {
  position: relative;
  background: linear-gradient(135deg, #294a9b, #095d7e);
}

.testimonial-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  transform: translate(-50%, -50%);
}

.testimonial-video__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 26px solid #fff;
  transform: translate(-50%, -50%);
}

.testimonial-archive {
  display: grid;
  gap: 22px;
  width: min(100% - 36px, var(--dp-container));
  margin: 34px auto 0;
}

.testimonial-archive__item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: var(--dp-soft);
  border-radius: 8px;
}

.testimonial-archive__item img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 999px;
}

.testimonial-archive__item h2 {
  margin: 0 0 8px;
  color: var(--dp-primary);
}

.testimonial-archive__item p {
  margin: 0 0 8px;
  color: #000;
}

.home-videos {
  padding: 68px 0 78px;
  background: #fff;
}

.home-videos h2 {
  margin: 0 0 38px;
  color: var(--dp-primary);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.home-videos__stage {
  display: grid;
  grid-template-columns: 42px minmax(0, 936px) 42px;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

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

.home-video-card__media {
  position: relative;
  aspect-ratio: 435 / 242;
  overflow: hidden;
  background: #111;
}

.home-video-card__media iframe,
.home-video-card__media video,
.home-video-card__media .wp-video,
.home-video-card__media img,
.home-video-card__placeholder {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.home-video-card__media iframe,
.home-video-card__media video,
.home-video-card__media img {
  object-fit: cover;
}

.home-video-card__placeholder {
  position: relative;
  background: linear-gradient(135deg, #294a9b, #095d7e);
}

.home-video-card__play {
  position: absolute;
  top: 47%;
  left: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  transform: translate(-50%, -50%);
}

.home-video-card__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #fff;
  transform: translate(-50%, -50%);
}

.home-video-card__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 30px 1fr auto 20px;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 0 12px;
  color: #fff;
  background: rgba(20, 20, 20, 0.94);
}

.home-video-card__control-play {
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid #fff;
}

.home-video-card__bar {
  position: relative;
  height: 4px;
  background: #8d8d8d;
}

.home-video-card__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  background: #0d76ff;
}

.home-video-card__bar::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 34%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #0d76ff;
  transform: translate(-50%, -50%);
}

.home-video-card__time {
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.home-video-card__dot {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 999px;
}

.home-videos__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 52px;
  padding: 0;
  color: #000;
  background: transparent;
  border: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.home-videos__view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 131px;
  min-height: 39px;
  margin: 46px auto 0;
  color: #fff;
  background: var(--dp-action);
  border-radius: 5px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-videos__view-all:hover,
.home-videos__view-all:focus {
  color: #fff;
  text-decoration: none;
  filter: brightness(0.97);
}

.home-blogs {
  padding: 36px 0 38px;
  background: #dcfafa;
}

.home-blogs__header {
  max-width: 860px;
  margin: 0 auto 32px;
  text-align: center;
}

.home-blogs__header h2 {
  margin: 0 0 2px;
  color: var(--dp-primary);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.home-blogs__header p {
  margin: 0;
  color: #111;
  font-size: 18px;
  line-height: 1.35;
}

.home-blogs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  max-width: 1104px;
  margin-inline: auto;
}

.home-blog-card {
  overflow: hidden;
  border-radius: 6px;
  background: #294a9b;
}

.home-blog-card__image {
  display: block;
  overflow: hidden;
  background: #d7edf1;
}

.home-blog-card__image img,
.home-blog-card__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 364 / 171;
  object-fit: cover;
}

.home-blog-card__placeholder {
  background: linear-gradient(135deg, #294a9b, #095d7e);
}

.home-blog-card__body {
  padding: 9px 10px 13px;
  color: #fff;
  background: #294a9b;
}

.home-blog-card__body h3 {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.12;
}

.home-blog-card__body h3 a,
.home-blog-card__read {
  color: #fff;
}

.home-blog-card__body p {
  margin: 0 0 8px;
  color: #fff;
  font-size: 11px;
  line-height: 1.22;
}

.home-blog-card__read {
  display: block;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  font-size: 11px;
  line-height: 1;
}

.home-blog-card__body a:hover,
.home-blog-card__body a:focus {
  color: #fff;
  text-decoration: none;
}

.home-blogs__view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 131px;
  min-height: 39px;
  margin: 36px auto 0;
  color: #fff;
  background: var(--dp-action);
  border-radius: 5px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-blogs__view-all:hover,
.home-blogs__view-all:focus {
  color: #fff;
  text-decoration: none;
  filter: brightness(0.97);
}

.doctor-locations {
  padding: 46px 0 82px;
  background: #fff;
}

.doctor-locations h2 {
  margin: 0 0 48px;
  color: var(--dp-primary);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.doctor-locations__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 58px;
  max-width: 946px;
  margin-inline: auto;
}

.doctor-location-card {
  text-align: center;
}

.doctor-location-card__map {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--dp-soft);
}

.doctor-location-card__map iframe {
  display: block;
  width: 100%;
  height: 256px;
  border: 0;
  filter: saturate(0.82) opacity(0.78);
}

.doctor-location-card__directions {
  position: absolute;
  left: 50%;
  bottom: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  min-height: 38px;
  padding: 9px 18px;
  color: #fff;
  background: var(--dp-action);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.doctor-location-card__directions:hover,
.doctor-location-card__directions:focus {
  color: #fff;
  text-decoration: none;
  filter: brightness(0.97);
}

.doctor-location-card h3 {
  margin: 30px auto 0;
  max-width: 450px;
  color: var(--dp-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.02;
  text-transform: uppercase;
}

.appointment-request {
  padding: 56px 0 58px;
  background: #fff;
  border-top: 5px solid #e9e9e9;
}

.appointment-request__inner {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 630px);
  align-items: start;
  justify-content: center;
  gap: 72px;
}

.appointment-request__aside {
  padding-top: 60px;
}

.appointment-request__aside h2 {
  margin: 0 0 22px;
  color: var(--dp-primary);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.appointment-callout {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 91px;
  padding: 20px 34px 20px 20px;
  color: #fff;
  background: var(--dp-accent);
  border-radius: 999px;
}

.appointment-callout__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
}

.appointment-callout__icon svg {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.appointment-callout p {
  margin: 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
}

.appointment-form h3 {
  margin: 0 0 24px;
  color: #003a66;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
}

.appointment-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 21px 50px;
}

.appointment-form label {
  display: block;
  color: #3f3f3f;
  font-size: 17px;
  line-height: 1.2;
}

.appointment-form label span:first-child {
  display: block;
}

.appointment-form input[type="text"],
.appointment-form input[type="tel"],
.appointment-form input[type="email"],
.appointment-form textarea {
  width: 100%;
  margin-top: 3px;
  padding: 4px 0 7px;
  color: #111;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #777;
  border-radius: 0;
  font: inherit;
  outline: 0;
}

.appointment-form textarea {
  min-height: 48px;
  resize: vertical;
}

.appointment-form input:focus,
.appointment-form textarea:focus {
  border-bottom-color: var(--dp-primary);
  box-shadow: 0 1px 0 var(--dp-primary);
}

.appointment-form__message {
  grid-row: span 2;
}

.appointment-form__captcha {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  min-height: 69px;
  padding: 12px 15px 10px 10px;
  background: #f5f5f5;
  color: #3f3f3f;
  font-size: 15px;
}

.appointment-form__captcha input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.appointment-form__check {
  width: 28px;
  height: 28px;
  margin-right: 12px;
  background: #fff;
  border: 2px solid #c4c4c4;
}

.appointment-form__captcha input:checked + .appointment-form__check {
  background: var(--dp-primary);
  border-color: var(--dp-primary);
  box-shadow: inset 0 0 0 5px #fff;
}

.appointment-form__captcha strong {
  color: #777;
  font-size: 11px;
  font-weight: 500;
  text-align: right;
}

.appointment-form__submit {
  min-height: 32px;
  margin-top: 22px;
  padding: 8px 20px;
  background: #e93060;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.page-template-specialities .appointment-request {
  margin-top: 0;
  padding-block: 58px 62px;
  border-top-width: 5px;
}

.page-template-specialities .appointment-request__inner {
  grid-template-columns: minmax(320px, 430px) minmax(0, 720px);
  justify-content: space-between;
  gap: 86px;
}

.page-template-specialities .appointment-request__aside {
  padding-top: 58px;
}

.page-template-specialities .appointment-form {
  max-width: 720px;
}

.page-template-specialities .appointment-form__submit {
  display: flex;
  margin-left: calc(50% + 25px);
}

.appointment-form__notice {
  margin: -12px 0 18px;
  padding: 10px 14px;
  border-radius: 5px;
  font-size: 14px;
}

.appointment-form__notice--success {
  color: #0c5b35;
  background: #dff7ea;
}

.appointment-form__notice--error {
  color: #8b1634;
  background: #ffe2ea;
}

.appointment-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 1120px) {
  .home-intro {
    padding-block: 70px;
  }

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

  .home-intro__content {
    max-width: none;
  }

  .home-intro__media {
    max-width: 640px;
    margin-inline: auto;
  }

  .patient-testimonials__grid {
    gap: 38px;
  }

  .home-videos__stage {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
  }

  .doctor-locations__grid {
    gap: 32px;
  }

  .appointment-request__inner {
    gap: 42px;
  }
}

@media (max-width: 1024px) {
  .site-topbar,
  .site-header > .site-header__inner {
    display: none;
  }

  .site-header {
    box-shadow: 0 2px 14px rgba(9, 93, 126, 0.12);
  }

  .site-topbar__inner {
    justify-content: center;
    min-height: 52px;
  }

  .site-topbar__spacer {
    display: none;
  }

  .site-topbar__list {
    justify-content: center;
    gap: 14px 22px;
    font-size: 17px;
  }

  .site-header__inner {
    align-items: stretch;
    min-height: 0;
    padding-block: 18px;
  }

  .custom-logo {
    max-width: min(100%, 330px);
    max-height: 90px;
  }

  .site-header__actions {
    flex-wrap: wrap;
    align-content: center;
  }

  .header-cta {
    min-height: 54px;
    padding-inline: 16px;
    font-size: 16px;
    white-space: normal;
  }

  .header-cta__icon {
    font-size: 31px;
  }

  .site-nav-row__inner {
    align-items: center;
    flex-direction: row;
    min-height: 0;
  }

  .nav-toggle-button {
    display: flex;
    min-height: 76px;
    padding-inline: 2px;
    font-size: 18px;
    letter-spacing: 0;
  }

  .nav-toggle-button__brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
  }

  .nav-toggle-button__brand .custom-logo {
    width: auto;
    max-width: min(270px, 72vw);
    max-height: 60px;
    object-fit: contain;
  }

  .nav-toggle:checked
    + .site-nav-row
    .nav-toggle-button__icon
    span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked
    + .site-nav-row
    .nav-toggle-button__icon
    span:nth-child(2) {
    width: 0;
    opacity: 0;
  }

  .nav-toggle:checked
    + .site-nav-row
    .nav-toggle-button__icon
    span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-navigation {
    display: block;
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    z-index: 100;
    width: min(420px, 88vw);
    max-height: none;
    overflow-y: auto;
    padding: 18px;
    background: var(--dp-accent);
    box-shadow: -18px 0 36px rgba(9, 93, 126, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateX(104%);
    transition:
      opacity 0.28s ease,
      transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  .nav-toggle:checked + .site-nav-row .site-navigation {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .primary-menu {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0 16px;
  }

  .primary-menu > li {
    opacity: 0;
    transform: translateX(18px);
    transition:
      opacity 0.26s ease,
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-toggle:checked + .site-nav-row .primary-menu > li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-toggle:checked + .site-nav-row .primary-menu > li:nth-child(1) {
    transition-delay: 0.04s;
  }
  .nav-toggle:checked + .site-nav-row .primary-menu > li:nth-child(2) {
    transition-delay: 0.08s;
  }
  .nav-toggle:checked + .site-nav-row .primary-menu > li:nth-child(3) {
    transition-delay: 0.12s;
  }
  .nav-toggle:checked + .site-nav-row .primary-menu > li:nth-child(4) {
    transition-delay: 0.16s;
  }
  .nav-toggle:checked + .site-nav-row .primary-menu > li:nth-child(5) {
    transition-delay: 0.2s;
  }
  .nav-toggle:checked + .site-nav-row .primary-menu > li:nth-child(6) {
    transition-delay: 0.24s;
  }
  .nav-toggle:checked + .site-nav-row .primary-menu > li:nth-child(7) {
    transition-delay: 0.28s;
  }

  .primary-menu a {
    justify-content: space-between;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 18px;
  }

  .primary-menu a:hover,
  .primary-menu a:focus {
    background: rgba(46, 49, 146, 0.26);
  }

  .primary-menu .sub-menu {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 16px;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mobile-menu-extras {
    display: grid;
    gap: 18px;
    padding: 14px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.38);
    opacity: 0;
    transform: translateX(18px);
    transition:
      opacity 0.28s ease 0.22s,
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1) 0.22s;
  }

  .nav-toggle:checked + .site-nav-row .mobile-menu-extras {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-contact-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    color: #fff;
    list-style: none;
    font-size: 17px;
    line-height: 1;
  }

  .mobile-contact-list li,
  .mobile-contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
  }

  .mobile-contact-list a:hover,
  .mobile-contact-list a:focus {
    color: #fff;
    text-decoration: none;
  }

  .mobile-contact-list .site-socials {
    gap: 12px;
  }

  .mobile-contact-list .site-socials a {
    color: var(--dp-primary);
    background: #fff;
  }

  .mobile-contact-list .site-socials svg {
    fill: currentColor;
    stroke: none;
  }

  .mobile-contact-list .site-socials a[aria-label="Instagram"] svg,
  .mobile-contact-list .site-socials a[aria-label="YouTube"] svg {
    fill: none;
    stroke: currentColor;
  }

  .mobile-menu-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mobile-menu-actions .header-cta {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    font-size: 15px;
  }

  .patient-testimonials__grid,
  .home-videos__grid,
  .doctor-locations__grid,
  .appointment-request__inner {
    grid-template-columns: 1fr;
  }

  .patient-testimonials__grid,
  .home-videos__grid,
  .doctor-locations__grid {
    max-width: 680px;
    margin-inline: auto;
  }

  .appointment-request__inner {
    max-width: 780px;
    margin-inline: auto;
  }

  .appointment-request__aside {
    padding-top: 0;
  }

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

  .hero__inner {
    min-height: 500px;
  }

  .hero__banner-image {
    object-position: 62% bottom;
  }
}

@media (max-width: 760px) {
  .hero__banner-image {
    object-position: 58% bottom;
  }

  .home-intro {
    padding-block: 48px;
  }

  .home-intro h2 {
    font-size: 28px;
  }

  .home-intro__subhead,
  .home-intro__content > p:not(.home-intro__eyebrow):not(.home-intro__subhead) {
    font-size: 17px;
    text-align: left;
  }

  .home-intro__readmore {
    justify-content: stretch;
    margin-top: 18px;
  }

  .home-intro__button {
    width: 100%;
  }

  .home-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 26px;
  }

  .home-stat {
    min-height: 72px;
  }

  .home-stat img {
    width: 54px;
    height: 54px;
  }

  .home-stat strong {
    font-size: 28px;
  }

  .home-stat span {
    font-size: 12px;
  }

  .patient-testimonials {
    padding-block: 42px;
  }

  .patient-testimonials h2 {
    margin-bottom: 28px;
    font-size: 26px;
  }

  .patient-testimonials__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .testimonial-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .testimonial-arrow {
    display: none;
  }

  .testimonial-card,
  .testimonial-video,
  .testimonial-view-all {
    grid-column: 1;
  }

  .testimonial-card {
    width: 100%;
  }

  .testimonial-view-all {
    margin-top: 4px;
  }

  .testimonial-archive__item {
    grid-template-columns: 1fr;
  }

  .home-videos {
    padding-block: 48px 56px;
  }

  .home-videos h2 {
    margin-bottom: 28px;
    font-size: 28px;
  }

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

  .home-videos__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-videos__arrow {
    display: none;
  }

  .home-videos__view-all {
    margin-top: 28px;
  }

  .home-blogs {
    padding-block: 42px;
  }

  .home-blogs__header {
    margin-bottom: 26px;
  }

  .home-blogs__header h2 {
    font-size: 28px;
  }

  .home-blogs__header p {
    font-size: 16px;
  }

  .home-blogs__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-blog-card__body h3 {
    font-size: 18px;
  }

  .home-blog-card__body p,
  .home-blog-card__read {
    font-size: 13px;
  }

  .doctor-locations {
    padding-block: 42px 56px;
  }

  .doctor-locations h2 {
    margin-bottom: 30px;
    font-size: 28px;
  }

  .doctor-locations__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .doctor-location-card__map iframe {
    height: 220px;
  }

  .doctor-location-card h3 {
    margin-top: 18px;
    font-size: 22px;
  }

  .appointment-request {
    padding-block: 42px;
  }

  .appointment-request__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .appointment-request__aside {
    padding-top: 0;
  }

  .appointment-callout {
    border-radius: 26px;
  }

  .appointment-form__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .appointment-form__message {
    grid-row: auto;
  }

  .appointment-form__submit {
    width: 100%;
  }

  .page-template-specialities .appointment-form__submit {
    margin-left: 0;
  }

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

  .mobile-menu-actions .header-cta {
    justify-content: flex-start;
    font-size: 16px;
  }
}

@media (max-width: 460px) {
  .hero__banner-image {
    object-position: 64% bottom;
  }
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 72px 0 80px;
  background: #ffffff;
}

.why-choose-us__header {
  text-align: center;
  margin-bottom: 44px;
}

.why-choose-us__eyebrow {
  margin: 0 0 4px;
  color: var(--dp-primary);
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
}

.why-choose-us__title {
  margin: 0;
  color: var(--dp-primary);
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
}

.why-choose-us__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.why-choose-us__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 22px;
  background: rgba(20, 201, 166, 0.15);
  border-radius: 12px;
}

.why-choose-us__icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
}

.why-choose-us__content {
  flex: 1 1 auto;
}

.why-choose-us__item-title {
  margin: 0 0 6px;
  color: var(--dp-primary-deep);
  font-size: 24px;
  font-weight: 800;
  text-transform: capitalize;
  line-height: 1.2;
}

.why-choose-us__item-desc {
  margin: 0;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.why-choose-us__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--dp-action);
  border-radius: 12px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.why-choose-us__cta:hover,
.why-choose-us__cta:focus {
  color: #fff;
  text-decoration: none;
  filter: brightness(0.95);
}

.why-choose-us__cta span {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .why-choose-us__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .why-choose-us {
    padding: 48px 0;
  }

  .why-choose-us__header {
    margin-bottom: 28px;
  }

  .why-choose-us__eyebrow {
    font-size: 17px;
  }

  .why-choose-us__title {
    font-size: 22px;
  }

  .why-choose-us__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .why-choose-us__item {
    padding: 20px;
  }

  .why-choose-us__cta {
    min-height: 72px;
  }

  .why-choose-us__cta span {
    font-size: 17px;
  }
}

/* Services Section */
.services {
  padding: 80px 0;
  background: #ffffff;
}

.services__header {
  text-align: center;
  margin-bottom: 50px;
}

.services__eyebrow {
  display: block;
  margin: 0 0 4px;
  color: var(--dp-accent);
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.services__title {
  margin: 0;
  color: var(--dp-primary);
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

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

.services__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--dp-soft); /* #ccecee soft aqua background */
  border-radius: 16px;
  padding: 36px 20px;
  text-decoration: none;
  transition:
    transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1),
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.services__card:hover {
  transform: translateY(-5px);
  background-color: #bee5e5; /* slightly deeper soft aqua on hover */
  box-shadow: 0 10px 25px rgba(9, 93, 126, 0.08);
  text-decoration: none;
}

.services__card-icon-wrapper {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services__card-icon {
  width: 76px;
  height: 76px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.services__card:hover .services__card-icon {
  transform: scale(1.08);
}

.services__card-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dp-primary);
  text-align: center;
}

.services__card:hover .services__card-title {
  color: var(--dp-primary);
  text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .services__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .services__eyebrow {
    font-size: 26px;
  }

  .services__title {
    font-size: 40px;
  }
}

@media (max-width: 992px) {
  .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .services__card {
    padding: 30px 16px;
  }

  .services__card-title {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 60px 0;
  }

  .services__header {
    margin-bottom: 35px;
  }

  .services__eyebrow {
    font-size: 22px;
  }

  .services__title {
    font-size: 32px;
  }

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

@media (max-width: 480px) {
  .services__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .services__card {
    padding: 26px 16px;
  }
}

/* About Hero */
.about-hero {
  padding: 0;
  background: #fff;
}

.about-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  align-items: end;
  width: 100%;
  max-width: none;
  min-height: 440px;
  overflow: hidden;
  padding: 160px clamp(42px, 7vw, 138px) 46px;
  background: #dff9f7;
  border-radius: 0;
}

.about-hero__content {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.about-hero h1 {
  margin: 0 0 2px;
  color: var(--dp-primary);
  font-size: 65px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.about-hero__subtitle {
  margin: 0 0 25px;
  color: var(--dp-primary);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}

.about-hero__details {
  display: grid;
  gap: 21px;
  margin-bottom: 31px;
}

.about-hero__detail {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #00998f;
}

.about-hero__detail img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.about-hero__detail h2 {
  margin: 0;
  color: #00998f;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.about-hero__detail p {
  margin: 1px 0 0;
  color: #00998f;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.05;
}

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

.about-hero__actions .button {
  min-width: 218px;
  min-height: 49px;
  font-size: 17px;
  font-weight: 800;
}

.about-hero__media {
  position: absolute;
  right: clamp(56px, 7vw, 138px);
  bottom: 0;
  z-index: 1;
  width: min(34vw, 390px);
}

.about-hero__media img {
  width: 100%;
  height: auto;
  margin-bottom: 0;
}

.about-page-main {
  padding-top: 28px;
}

@media (max-width: 1180px) {
  .about-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    padding-inline: 42px;
  }

  .about-hero__content {
    max-width: 610px;
  }

  .about-hero__media {
    right: 44px;
    width: min(35vw, 350px);
  }

  .about-hero h1 {
    font-size: 31px;
  }

  .about-hero__subtitle {
    font-size: 19px;
  }
}

@media (max-width: 900px) {
  .about-hero__inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 44px 28px 0;
  }

  .about-hero__content {
    max-width: none;
    width: 100%;
    order: 2;
  }

  .about-hero__media {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: center;
    order: 1;
    width: min(58vw, 340px);
    margin: 0 0 28px;
  }

  .about-hero h1 {
    font-size: clamp(32px, 7vw, 46px);
  }

  .about-hero__subtitle {
    font-size: clamp(18px, 3.7vw, 24px);
  }
}

@media (max-width: 640px) {
  .about-hero {
    padding-top: 0;
  }

  .about-hero__inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 30px 22px 0;
    border-radius: 0;
  }

  .about-hero h1 {
    font-size: 28px;
    line-height: 1.12;
  }

  .about-hero__subtitle {
    margin-bottom: 22px;
    font-size: 17px;
  }

  .about-hero__details {
    gap: 18px;
    margin-bottom: 24px;
  }

  .about-hero__detail {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .about-hero__detail img {
    width: 38px;
    height: 38px;
  }

  .about-hero__detail h2 {
    font-size: 20px;
  }

  .about-hero__detail p {
    font-size: 13px;
    line-height: 1.16;
  }

  .about-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .about-hero__actions .button {
    width: 100%;
    min-width: 0;
  }

  .about-hero__media {
    width: min(74vw, 300px);
    margin-bottom: 24px;
  }
}

/* About Overview */
.about-overview {
  padding: 20px 0 34px;
  background: #fff;
}

.about-overview__inner {
  max-width: var(--dp-container);
}

.about-overview__tabs {
  display: grid;
  grid-template-columns: 0.76fr 0.8fr 0.9fr 1.48fr 1.5fr 1.05fr;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-bottom: 25px;
}

.about-overview__tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  color: var(--dp-primary);
  background: #e1e1e1;
  border: 0;
  border-radius: 5px;
  font-family: var(--dp-font);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-overview__tabs button.is-active,
.about-overview__tabs button:hover,
.about-overview__tabs button:focus-visible {
  color: #fff;
  background: #00998f;
  box-shadow: 0 8px 18px rgba(0, 153, 143, 0.16);
  transform: translateY(-1px);
  text-decoration: none;
}

.about-overview__content {
  position: relative;
  overflow: hidden;
}

.about-overview__panel {
  animation: aboutTabIn 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-overview__panel.is-entering {
  opacity: 0;
  transform: translateY(10px);
}

.about-overview__content h2 {
  margin: 0 0 8px;
  color: var(--dp-primary);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.about-overview__content p {
  margin: 0 0 18px;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.06;
}

.about-overview__content p:last-child {
  margin-bottom: 0;
}

@keyframes aboutTabIn {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(2px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 900px) {
  .about-overview {
    padding-block: 18px 48px;
  }

  .about-overview__tabs {
    display: flex;
    margin-inline: -18px;
    padding-inline: 18px;
    padding-bottom: 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .about-overview__tabs button {
    flex: 0 0 auto;
    width: auto;
    min-height: 42px;
    padding-inline: 18px;
    font-size: 14px;
    scroll-snap-align: start;
  }

  .about-overview__content p {
    font-size: 16px;
    line-height: 1.25;
  }
}

@media (max-width: 640px) {
  .about-overview {
    padding-block: 16px 42px;
  }

  .about-overview__tabs {
    gap: 7px;
    margin-bottom: 22px;
  }

  .about-overview__tabs button {
    min-height: 40px;
    padding-inline: 16px;
    font-size: 13px;
  }

  .about-overview__content h2 {
    font-size: 20px;
  }
}

/* About Why Choose */
.about-why {
  overflow: hidden;
  padding: 160px 0 0;
  background: #fff;
  border-bottom: 2px solid var(--dp-accent);
}

.about-why__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  align-items: end;
  min-height: 548px;
}

.about-why__content {
  position: relative;
  z-index: 2;
  max-width: 890px;
  padding-bottom: 86px;
}

.about-why__heading {
  margin-bottom: 28px;
}

.about-why__heading p,
.about-why__heading h2 {
  margin: 0;
  color: var(--dp-primary);
  text-transform: uppercase;
}

.about-why__heading p {
  color: var(--dp-primary-deep);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.16;
}

.about-why__heading h2 {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.16;
}

.about-why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 768px;
}

.about-why-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 95px;
  padding: 15px 22px 15px 17px;
  background: var(--dp-soft);
  border-radius: 14px;
}

.about-why-card:nth-child(5) {
  grid-column: 1;
}

.about-why-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.about-why-card h3 {
  margin: 0 0 4px;
  color: var(--dp-primary-deep);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.12;
}

.about-why-card p {
  margin: 0;
  color: #000;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
}

.about-why__media {
  position: absolute;
  right: clamp(18px, 4.6vw, 76px);
  bottom: 0;
  z-index: 1;
  width: min(37vw, 440px);
}

.about-why__media img {
  width: 100%;
  height: auto;
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  .about-why__inner {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .about-why__content {
    max-width: 720px;
  }

  .about-why__grid {
    max-width: 690px;
  }

  .about-why-card {
    grid-template-columns: 62px minmax(0, 1fr);
    padding-inline: 14px;
  }

  .about-why-card img {
    width: 58px;
    height: 58px;
  }

  .about-why__media {
    width: min(35vw, 350px);
  }
}

@media (max-width: 900px) {
  .about-why {
    padding-top: 42px;
  }

  .about-why__inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .about-why__content {
    width: 100%;
    max-width: none;
    padding-bottom: 28px;
  }

  .about-why__grid {
    max-width: none;
  }

  .about-why__media {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: center;
    width: min(72vw, 360px);
  }
}

@media (max-width: 640px) {
  .about-why {
    padding-top: 36px;
  }

  .about-why__heading {
    margin-bottom: 22px;
  }

  .about-why__heading p {
    font-size: 20px;
  }

  .about-why__heading h2 {
    font-size: 24px;
  }

  .about-why__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-why-card:nth-child(5) {
    grid-column: auto;
  }

  .about-why-card {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 92px;
    padding: 14px;
  }

  .about-why-card h3 {
    font-size: 17px;
  }

  .about-why-card p {
    font-size: 12px;
  }

  .about-why__media {
    width: min(88vw, 330px);
  }
}

/* Specialities Hero */
.specialities-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(135deg, #ccecee 0%, #ffffff 50%, #ccecee 100%);
}

.specialities-hero::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--dp-accent);
  content: "";
}

.specialities-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  align-items: end;
  gap: 52px;
  min-height: 610px;
}

.specialities-hero__content {
  align-self: center;
  padding: 66px 0 74px;
}

.specialities-hero__eyebrow {
  margin: 0 0 10px;
  color: var(--dp-accent);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.specialities-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--dp-primary);
  font-size: clamp(42px, 4vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.specialities-hero__lead {
  max-width: 790px;
  margin: 22px 0 0;
  color: #000;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.42;
}

.specialities-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.specialities-hero__actions .button {
  min-width: 210px;
}

.specialities-hero__explorer {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 16px;
  max-width: 880px;
  margin-top: 38px;
}

.specialities-hero__highlight {
  min-height: 154px;
  padding: 24px 26px;
  color: #fff;
  background: var(--dp-primary);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(46, 49, 146, 0.18);
}

.specialities-hero__highlight span {
  display: block;
  margin-bottom: 12px;
  color: var(--dp-action);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.specialities-hero__highlight p {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.38;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.specialities-hero__highlight p.is-changing {
  animation: specialityCopyIn 0.28s ease both;
}

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

.specialities-hero__chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 154px;
  padding: 20px 16px;
  color: var(--dp-primary);
  font: inherit;
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(46, 49, 146, 0.14);
  border-radius: 8px;
  cursor: pointer;
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.specialities-hero__chip:hover,
.specialities-hero__chip:focus-visible,
.specialities-hero__chip.is-active {
  background: #fff;
  border-color: var(--dp-accent);
  box-shadow: 0 14px 28px rgba(9, 93, 126, 0.13);
  transform: translateY(-4px);
}

.specialities-hero__chip img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.specialities-hero__chip span {
  display: block;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.18;
  text-transform: uppercase;
}

.specialities-hero__media {
  align-self: end;
}

.specialities-hero__media img {
  width: min(100%, 470px);
  margin-inline: auto 0;
  filter: drop-shadow(0 20px 28px rgba(9, 93, 126, 0.14));
}

@keyframes specialityCopyIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

/* Specialities Parent */
.specialities-parent {
  padding: 66px 0 28px;
  background: #fff;
}

.specialities-parent__header {
  max-width: 940px;
  margin: 0 auto 42px;
  text-align: center;
}

.specialities-parent__header p,
.specialities-parent__header h1,
.specialities-parent__header span {
  display: block;
  margin: 0;
}

.specialities-parent__header p {
  color: var(--dp-accent);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}

.specialities-parent__header h1 {
  margin-top: 4px;
  color: var(--dp-primary);
  font-size: 54px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.specialities-parent__header span {
  margin-top: 12px;
  color: #000;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
}

.specialities-parent__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.speciality-card a {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: var(--dp-soft);
  border-radius: 8px;
  text-decoration: none;
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.24s ease;
}

.speciality-card a:hover,
.speciality-card a:focus {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(9, 93, 126, 0.14);
  text-decoration: none;
}

.speciality-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 138px;
  padding: 24px 18px 14px;
}

.speciality-card__icon img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.speciality-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 8px 18px 20px;
  text-align: center;
}

.speciality-card__body h2 {
  margin: 0 0 8px;
  color: var(--dp-primary);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.18;
  text-transform: uppercase;
}

.speciality-card__body p {
  margin: 0 0 18px;
  color: #000;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.speciality-card__body span {
  margin-top: auto;
  color: var(--dp-primary-deep);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.speciality-cta {
  padding: 88px 0 0;
  background: #fff;
}

.speciality-cta__inner {
  position: relative;
  min-height: 560px;
  overflow: visible;
  padding-top: 0;
}

.speciality-cta__copy {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.speciality-cta__copy h2 {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--dp-primary);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.28;
  text-transform: uppercase;
}

.speciality-cta__copy p {
  max-width: 780px;
  margin: 0 0 24px;
  color: #000;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.22;
}

.speciality-cta__box {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 244px;
  width: 100%;
  margin-top: 26px;
  padding: 30px 420px 30px 46px;
  color: #fff;
  background: #264395;
  border-radius: 22px;
}

.speciality-cta__box > div {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.speciality-cta__box h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.speciality-cta__box p {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.23;
}

.speciality-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.speciality-cta__actions .button {
  min-width: 185px;
  font-size: 15px;
}

.speciality-cta__doctor {
  position: absolute;
  right: 28px;
  bottom: 0;
  z-index: 2;
  width: min(36vw, 430px);
}

@media (max-width: 1200px) {
  .specialities-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 30px;
  }

  .specialities-hero__explorer {
    grid-template-columns: 1fr;
  }

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

  .speciality-cta__copy,
  .speciality-cta__copy p {
    max-width: 700px;
  }

  .speciality-cta__box > div {
    max-width: 650px;
  }

  .speciality-cta__doctor {
    right: 10px;
    width: min(35vw, 370px);
  }
}

@media (max-width: 900px) {
  .specialities-hero {
    padding-top: 44px;
  }

  .specialities-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
  }

  .specialities-hero__media {
    order: 1;
    align-self: center;
  }

  .specialities-hero__media img {
    width: min(78vw, 330px);
    margin-inline: auto;
  }

  .specialities-hero__content {
    order: 2;
    padding: 28px 0 52px;
    text-align: center;
  }

  .specialities-hero__lead,
  .specialities-hero h1 {
    margin-inline: auto;
  }

  .specialities-hero__actions {
    justify-content: center;
  }

  .specialities-hero__chips {
    grid-template-columns: 1fr;
  }

  .specialities-hero__chip {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 16px;
  }

  .specialities-hero__chip span {
    margin-top: 0;
  }

  .specialities-parent {
    padding-block: 56px;
  }

  .specialities-parent__header h1 {
    font-size: 42px;
  }

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

  .speciality-cta__inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .speciality-cta__copy,
  .speciality-cta__copy p,
  .speciality-cta__box,
  .speciality-cta__box > div {
    max-width: none;
  }

  .speciality-cta__box {
    order: 3;
    margin-top: 0;
    padding: 28px 24px;
  }

  .speciality-cta__doctor {
    position: relative;
    right: auto;
    bottom: auto;
    order: 2;
    align-self: center;
    width: min(68vw, 340px);
    margin: 8px auto 0;
  }

  .page-template-specialities .appointment-request__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-template-specialities .appointment-request__aside {
    padding-top: 0;
  }

  .page-template-specialities .appointment-form {
    max-width: none;
  }

  .page-template-specialities .appointment-form__submit {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .specialities-hero h1 {
    font-size: 34px;
  }

  .specialities-hero__eyebrow {
    font-size: 18px;
  }

  .specialities-hero__lead {
    font-size: 16px;
  }

  .specialities-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .specialities-hero__actions .button {
    width: 100%;
  }

  .specialities-hero__explorer {
    margin-top: 26px;
  }

  .specialities-hero__highlight {
    min-height: 0;
    padding: 20px;
    text-align: left;
  }

  .specialities-hero__highlight p {
    font-size: 15px;
  }

  .specialities-parent {
    padding-block: 42px;
  }

  .specialities-parent__header {
    margin-bottom: 28px;
    text-align: left;
  }

  .specialities-parent__header p {
    font-size: 20px;
  }

  .specialities-parent__header h1 {
    font-size: 34px;
  }

  .specialities-parent__header span {
    font-size: 16px;
  }

  .specialities-parent__grid {
    grid-template-columns: 1fr;
  }

  .speciality-card a {
    flex-direction: row;
    align-items: center;
  }

  .speciality-card__icon {
    min-height: 0;
    padding: 18px 8px 18px 18px;
    flex: 0 0 104px;
  }

  .speciality-card__icon img {
    width: 68px;
    height: 68px;
  }

  .speciality-card__body {
    padding: 18px 18px 18px 4px;
    text-align: left;
  }

  .speciality-card__body h2 {
    font-size: 18px;
  }

  .speciality-cta {
    padding-block: 28px 44px;
  }

  .speciality-cta__inner {
    padding-top: 0;
  }

  .speciality-cta__copy h2 {
    font-size: 22px;
  }

  .speciality-cta__copy p,
  .speciality-cta__box p {
    font-size: 16px;
    line-height: 1.32;
  }

  .speciality-cta__box {
    min-height: 0;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .speciality-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .speciality-cta__actions .button {
    width: 100%;
  }

  .speciality-cta__doctor {
    width: min(82vw, 320px);
  }
}

/* Modern UI polish: keeps the existing structure while easing density and heavy type. */
:root {
  --dp-container: 1420px;
  --dp-shadow-soft: 0 18px 44px rgba(9, 93, 126, 0.09);
  --dp-shadow-lift: 0 24px 58px rgba(9, 93, 126, 0.13);
}

body {
  color: #102b3a;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0;
}

.site-topbar__inner,
.site-header__inner,
.site-nav-row__inner,
.site-footer__inner,
.site-main,
.dp-container {
  width: min(100% - 56px, var(--dp-container));
}

.button,
.wp-block-button__link,
button,
input[type="submit"],
.home-intro__button,
.why-choose-us__cta,
.appointment-form__submit,
.speciality-card__body span {
  min-height: 50px;
  padding-inline: 24px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0;
}

.button:hover,
.button:focus,
.home-intro__button:hover,
.home-intro__button:focus,
.why-choose-us__cta:hover,
.why-choose-us__cta:focus,
.appointment-form__submit:hover,
.appointment-form__submit:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(9, 93, 126, 0.14);
}

.hero__inner {
  min-height: 520px;
  padding-block: clamp(118px, 9vw, 160px);
}

.hero__content {
  width: min(100%, 960px);
}

.hero h1 {
  margin-bottom: 12px;
  font-size: clamp(42px, 4.6vw, 62px);
  font-weight: 700;
  line-height: 1.14;
}

.hero p {
  margin-bottom: 10px;
  font-size: clamp(23px, 2vw, 29px);
  font-weight: 400;
  line-height: 1.38;
}

.hero__rule {
  margin: 22px 0 14px;
}

.hero__actions {
  gap: 14px;
  margin-top: 34px;
}

.home .hero__banner-image,
.front-page .hero__banner-image {
  object-position: 50% top;
}

.home-intro,
.patient-testimonials,
.videos-section,
.blogs-section,
.locations,
.appointment-request,
.why-choose-us,
.services,
.about-overview,
.about-why,
.specialities-parent,
.speciality-cta {
  padding-block: clamp(68px, 6.2vw, 96px);
}

.home-intro__inner {
  gap: clamp(54px, 5.2vw, 86px);
}

.home-intro__eyebrow,
.services__eyebrow,
.why-choose-us__eyebrow,
.specialities-hero__eyebrow {
  font-weight: 600;
}

.home-intro h2,
.patient-testimonials h2,
.videos h2,
.blogs h2,
.services__title,
.why-choose-us__title,
.locations h2,
.about-overview__content h2,
.about-why__heading h2,
.specialities-parent__header h1,
.speciality-cta__copy h2 {
  font-weight: 700;
  line-height: 1.18;
}

.home-intro__content > p:not(.home-intro__eyebrow):not(.home-intro__subhead),
.about-overview__content p,
.about-why-card p,
.specialities-parent__header p,
.speciality-card__body p,
.speciality-cta__copy p,
.speciality-cta__box p {
  line-height: 1.55;
}

.home-intro__content > p:not(.home-intro__eyebrow):not(.home-intro__subhead) {
  text-align: left;
}

.home-stats {
  gap: 12px;
  margin-top: 38px;
}

.home-stat,
.why-choose-us__item,
.services__card,
.testimonial-card,
.blog-card,
.speciality-card a,
.about-why-card {
  border-radius: 8px;
}

.home-stat {
  min-height: 78px;
  padding: 14px 16px;
}

.services__card,
.speciality-card a,
.about-why-card,
.testimonial-card {
  box-shadow: var(--dp-shadow-soft);
}

.services__card:hover,
.speciality-card a:hover,
.speciality-card a:focus,
.about-why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--dp-shadow-lift);
}

.services__card-title,
.why-choose-us__item-title,
.testimonial-card h3,
.blog-card h3,
.speciality-card__body h2,
.about-why-card h3 {
  font-weight: 700;
  line-height: 1.24;
}

.testimonial-card p,
.blog-card p,
.services__card p,
.why-choose-us__item-desc {
  line-height: 1.48;
}

.appointment-request__inner {
  gap: clamp(58px, 7vw, 104px);
}

.appointment-request__aside h2,
.appointment-form h3 {
  font-weight: 700;
}

.appointment-form input[type="text"],
.appointment-form input[type="tel"],
.appointment-form input[type="email"],
.appointment-form textarea {
  font-size: 17px;
}

.site-footer {
  margin-top: 0;
  padding-block: 48px 54px;
}

.site-footer__inner {
  gap: clamp(50px, 6vw, 92px);
}

.footer-column h2 {
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-column p,
.footer-links a {
  line-height: 1.42;
}

@media (max-width: 1024px) {
  .site-topbar__inner,
  .site-header__inner,
  .site-nav-row__inner,
  .site-footer__inner,
  .site-main,
  .dp-container {
    width: min(100% - 36px, var(--dp-container));
  }

  .hero h1 {
    font-size: clamp(34px, 6vw, 48px);
  }

  .hero p {
    font-size: clamp(18px, 3.2vw, 24px);
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
    line-height: 1.62;
  }

  .home-intro,
  .patient-testimonials,
  .videos-section,
  .blogs-section,
  .locations,
  .appointment-request,
  .why-choose-us,
  .services,
  .about-overview,
  .about-why,
  .specialities-parent,
  .speciality-cta {
    padding-block: 48px;
  }
}

/* Focused cleanup for home testimonials, videos, blogs, and doctor locations. */
.patient-testimonials,
.home-videos,
.home-blogs,
.doctor-locations {
  padding-block: clamp(76px, 6vw, 104px);
}

.patient-testimonials,
.home-blogs {
  background: linear-gradient(180deg, #e9fbfb 0%, #dff7f7 100%);
}

.home-videos,
.doctor-locations {
  background: #fff;
}

.patient-testimonials h2,
.home-videos h2,
.home-blogs__header h2,
.doctor-locations h2 {
  margin-bottom: 34px;
  color: var(--dp-primary);
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.home-blogs__header {
  max-width: 900px;
  margin-bottom: 44px;
}

.home-blogs__header p {
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.55;
}

.patient-testimonials__grid {
  grid-template-columns: minmax(0, 560px) minmax(0, 560px);
  gap: clamp(34px, 4vw, 64px);
}

.testimonial-panel {
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 18px;
}

.testimonial-card,
.testimonial-video {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(9, 93, 126, 0.1);
}

.testimonial-card {
  min-height: 286px;
  padding: 30px 34px;
  border: 1px solid rgba(46, 49, 146, 0.18);
}

.testimonial-card__top {
  margin-bottom: 20px;
}

.testimonial-card h3 {
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.22;
}

.testimonial-card p {
  font-size: 15px;
  line-height: 1.55;
}

.testimonial-arrow,
.home-videos__arrow {
  width: 44px;
  height: 44px;
  color: var(--dp-primary);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(46, 49, 146, 0.16);
  border-radius: 999px;
  font-size: 28px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(9, 93, 126, 0.08);
}

.testimonial-arrow:hover,
.testimonial-arrow:focus,
.home-videos__arrow:hover,
.home-videos__arrow:focus {
  color: #fff;
  background: var(--dp-primary);
}

.testimonial-view-all,
.home-videos__view-all,
.home-blogs__view-all {
  min-width: 140px;
  min-height: 44px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.home-videos__stage {
  grid-template-columns: 44px minmax(0, 1040px) 44px;
  gap: 24px;
}

.home-videos__grid {
  gap: 24px;
}

.home-video-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(9, 93, 126, 0.12);
}

.home-video-card__media {
  aspect-ratio: 16 / 9;
}

.home-video-card__controls {
  min-height: 48px;
  padding-inline: 16px;
}

.home-videos__view-all {
  margin-top: 44px;
}

.home-blogs__grid {
  max-width: 1220px;
  gap: 24px;
}

.home-blog-card {
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(9, 93, 126, 0.1);
}

.home-blog-card__image img,
.home-blog-card__placeholder {
  aspect-ratio: 16 / 9;
  transition: transform 0.28s ease;
}

.home-blog-card:hover .home-blog-card__image img,
.home-blog-card:focus-within .home-blog-card__image img {
  transform: scale(1.035);
}

.home-blog-card__body {
  min-height: 150px;
  padding: 20px 22px 22px;
  background: var(--dp-primary);
}

.home-blog-card__body h3 {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.home-blog-card__body p {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.home-blog-card__read {
  padding-top: 12px;
  font-size: 13px;
  font-weight: 600;
}

.doctor-locations__grid {
  max-width: 1160px;
  gap: clamp(32px, 5vw, 72px);
}

.doctor-location-card {
  display: grid;
  gap: 22px;
  padding: 18px 18px 28px;
  background: #fff;
  border: 1px solid rgba(9, 93, 126, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(9, 93, 126, 0.09);
}

.doctor-location-card__map {
  border-radius: 8px;
}

.doctor-location-card__map iframe {
  height: 300px;
  filter: saturate(0.92) opacity(0.92);
}

.doctor-location-card__directions {
  bottom: 22px;
  min-width: 160px;
  min-height: 42px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.doctor-location-card h3 {
  margin-top: 0;
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .patient-testimonials__grid,
  .doctor-locations__grid {
    grid-template-columns: 1fr;
  }

  .patient-testimonials__grid {
    justify-items: center;
  }

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

  .home-videos__arrow {
    display: none;
  }

  .home-videos__grid,
  .home-blogs__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .patient-testimonials,
  .home-videos,
  .home-blogs,
  .doctor-locations {
    padding-block: 48px;
  }

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

  .testimonial-arrow {
    display: none;
  }

  .testimonial-view-all {
    grid-column: auto;
    margin-top: 18px;
  }

  .testimonial-card {
    min-height: 0;
    padding: 24px 22px;
  }

  .home-blog-card__body {
    min-height: 0;
  }

  .doctor-location-card {
    padding: 12px 12px 22px;
  }

  .doctor-location-card__map iframe {
    height: 240px;
  }
}

/* Strong redesign for Patient Testimonials and Videos. */
.patient-testimonials {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(204, 236, 238, 0.96), rgba(246, 254, 254, 0.98));
}

.patient-testimonials h2,
.home-videos h2 {
  margin-bottom: 44px;
  font-size: clamp(30px, 2.7vw, 42px);
  font-weight: 650;
}

.patient-testimonials__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: 32px;
  max-width: 1180px;
  margin-inline: auto;
}

.testimonial-panel {
  display: block;
}

.testimonial-arrow {
  display: none;
}

.testimonial-card,
.testimonial-video-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(46, 49, 146, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(9, 93, 126, 0.12);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.testimonial-card__quote {
  position: absolute;
  top: 20px;
  right: 28px;
  color: rgba(20, 201, 166, 0.22);
  font-size: 110px;
  font-weight: 700;
  line-height: 1;
}

.testimonial-card__top {
  position: relative;
  z-index: 1;
  align-items: center;
  margin-bottom: 24px;
}

.testimonial-card__avatar {
  width: 68px;
  height: 68px;
  border: 4px solid #e9fbfb;
}

.testimonial-card__avatar--fallback svg {
  width: 42px;
  height: 42px;
}

.testimonial-card__rating {
  justify-items: end;
  font-size: 18px;
}

.testimonial-card__google {
  font-size: 30px;
}

.testimonial-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  color: var(--dp-primary);
  font-size: 24px;
  font-weight: 650;
  text-transform: none;
}

.testimonial-card p {
  position: relative;
  z-index: 1;
  color: #1b2733;
  font-size: 17px;
  line-height: 1.68;
}

.testimonial-video-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 12px;
}

.testimonial-video {
  max-width: none;
  width: 100%;
  border-radius: 8px;
  box-shadow: none;
}

.testimonial-video iframe,
.testimonial-video video,
.testimonial-video img,
.testimonial-video__placeholder {
  border-radius: 8px;
}

.testimonial-video-card__body {
  padding: 18px 6px 4px;
}

.testimonial-video-card__body span,
.home-video-card__body span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--dp-accent);
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  text-transform: uppercase;
}

.testimonial-video-card__body h3 {
  margin: 0;
  color: var(--dp-primary);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.25;
}

.patient-testimonials__actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.testimonial-view-all {
  grid-column: auto;
  margin-top: 0;
}

.home-videos {
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfc 100%);
}

.home-videos__stage {
  display: block;
  max-width: 1180px;
  margin-inline: auto;
}

.home-videos__arrow {
  display: none;
}

.home-videos__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.home-video-card {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(9, 93, 126, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(9, 93, 126, 0.12);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.home-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(9, 93, 126, 0.16);
}

.home-video-card__media {
  border-radius: 0;
}

.home-video-card__media iframe,
.home-video-card__media video,
.home-video-card__media img,
.home-video-card__placeholder {
  border: 0;
}

.home-video-card__controls {
  display: none;
}

.home-video-card__play,
.testimonial-video__play {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(9, 93, 126, 0.22);
}

.home-video-card__body {
  padding: 22px 24px 24px;
}

.home-video-card__body h3 {
  margin: 0;
  color: var(--dp-primary);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.28;
}

@media (max-width: 1024px) {
  .patient-testimonials__grid,
  .home-videos__grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .testimonial-card,
  .testimonial-video-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .testimonial-card {
    padding: 30px 24px;
  }

  .testimonial-card__quote {
    top: 12px;
    right: 18px;
    font-size: 78px;
  }

  .testimonial-card__top {
    align-items: flex-start;
  }

  .testimonial-card h3,
  .testimonial-video-card__body h3,
  .home-video-card__body h3 {
    font-size: 20px;
  }

  .testimonial-card p {
    font-size: 15.5px;
  }

  .home-video-card__body,
  .testimonial-video-card__body {
    padding: 18px;
  }
}

/* Specialities card grid cleanup: stronger media, equal heights, no empty dead zones. */
.specialities-parent__grid {
  align-items: stretch;
}

.speciality-card {
  min-width: 0;
}

.speciality-card a {
  height: 100%;
  min-height: 455px;
  max-height: 455px;
  background: linear-gradient(180deg, #d9f4f5 0%, #c9ecee 100%);
  border: 1px solid rgba(9, 93, 126, 0.08);
  box-shadow: 0 18px 44px rgba(9, 93, 126, 0.09);
}

.speciality-card a:hover,
.speciality-card a:focus {
  transform: translateY(-4px);
  box-shadow: 0 26px 58px rgba(9, 93, 126, 0.15);
}

.speciality-card__icon {
  position: relative;
  min-height: 0;
  height: 150px;
  max-height: 150px;
  margin: 18px 18px 0;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(204,236,238,0.68));
  border-radius: 8px;
}

.speciality-card__icon::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0.28), rgba(255,255,255,0));
  content: "";
}

.speciality-card__icon img {
  width: 100%;
  height: 100%;
  max-height: 150px;
  object-fit: cover;
  object-position: center;
}

.speciality-card__body {
  flex: 1 1 auto;
  padding: 24px 20px 22px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(9, 93, 126, 0.35) transparent;
}

.speciality-card__body::-webkit-scrollbar {
  width: 6px;
}

.speciality-card__body::-webkit-scrollbar-track {
  background: transparent;
}

.speciality-card__body::-webkit-scrollbar-thumb {
  background: rgba(9, 93, 126, 0.32);
  border-radius: 999px;
}

.speciality-card__body h2 {
  display: -webkit-box;
  min-height: 82px;
  margin-bottom: 12px;
  overflow: hidden;
  color: var(--dp-primary);
  font-size: clamp(18px, 1.22vw, 21px);
  font-weight: 700;
  line-height: 1.26;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.speciality-card__body p {
  display: -webkit-box;
  min-height: 96px;
  margin-bottom: 18px;
  overflow: hidden;
  color: #071d26;
  font-size: 14px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.speciality-card__body span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  margin: auto auto 0;
  padding: 0 14px;
  color: var(--dp-primary-deep);
  background: rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .speciality-card a {
    min-height: 430px;
    max-height: 430px;
  }

  .speciality-card__icon {
    height: 132px;
    max-height: 132px;
  }

  .speciality-card__icon img {
    max-height: 132px;
  }
}

@media (max-width: 767px) {
  .speciality-card a {
    min-height: 0;
    max-height: none;
  }

  .speciality-card__icon {
    flex: 0 0 128px;
    height: 128px;
    max-height: 128px;
    margin: 12px 0 12px 12px;
  }

  .speciality-card__icon img {
    max-height: 128px;
  }

  .speciality-card__body h2,
  .speciality-card__body p {
    min-height: 0;
  }
}

/* Premium interior pages for content-led sections. */
.premium-page {
  width: 100%;
}

.premium-page__hero {
  margin: -46px 0 0;
  padding: clamp(74px, 7vw, 112px) 0 clamp(52px, 5vw, 82px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(20, 201, 166, 0.32), transparent 32%),
    linear-gradient(135deg, #2e3192 0%, #095d7e 100%);
}

.premium-page__hero-inner {
  text-align: center;
}

.premium-page__eyebrow {
  margin: 0 0 12px;
  color: var(--dp-action);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.premium-page__hero h1 {
  max-width: 980px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.premium-page__subtitle {
  max-width: 880px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.55;
}

.premium-page__content-wrap {
  margin-top: -34px;
  margin-bottom: 72px;
}

.premium-page__media {
  max-width: 1020px;
  margin: 0 auto 28px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(9, 93, 126, 0.16);
}

.premium-page__media img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.premium-page__content {
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(30px, 4vw, 54px);
  background: #fff;
  border: 1px solid rgba(9, 93, 126, 0.1);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(9, 93, 126, 0.11);
}

.premium-page__content > * {
  max-width: none;
}

.premium-page__content h2,
.premium-page__content h3 {
  color: var(--dp-primary);
  font-weight: 700;
  line-height: 1.22;
}

.premium-page__content p,
.premium-page__content li {
  color: #102b3a;
  font-size: 18px;
  line-height: 1.72;
}

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

.premium-card,
.premium-link-card {
  padding: 24px;
  background: #eafafa;
  border: 1px solid rgba(9, 93, 126, 0.1);
  border-radius: 8px;
}

.premium-card h3,
.premium-link-card h3 {
  margin: 0 0 10px;
  color: var(--dp-primary);
  font-size: 22px;
}

.premium-card p,
.premium-link-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.premium-link-card a {
  color: inherit;
}

.footer-services .footer-links a {
  max-width: 300px;
  line-height: 1.35;
  text-transform: none;
}

.premium-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.premium-post-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(9, 93, 126, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(9, 93, 126, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.premium-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(9, 93, 126, 0.16);
}

.premium-post-card a {
  display: flex;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  flex-direction: column;
}

.premium-post-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ccecee;
}

.premium-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.premium-post-card__body {
  display: block;
  padding: 22px;
}

.premium-post-card__body h2 {
  margin: 0 0 10px;
  color: var(--dp-primary);
  font-size: clamp(21px, 1.6vw, 27px);
  font-weight: 700;
  line-height: 1.18;
}

.premium-post-card__body span {
  display: block;
  color: #102b3a;
  font-size: 16px;
  line-height: 1.55;
}

.section-heading {
  margin: 0 0 34px;
}

.section-heading--center {
  text-align: center;
}

.section-heading span {
  display: block;
  margin-bottom: 8px;
  color: var(--dp-accent);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--dp-primary);
  font-size: clamp(32px, 3.2vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.news-media-archive,
.testimonial-archive,
.testimonial-video-archive {
  padding: clamp(62px, 6vw, 94px) 0;
}

.news-media-archive,
.testimonial-video-archive {
  background: linear-gradient(180deg, #f7ffff 0%, #eafafa 100%);
}

.testimonial-archive {
  background: #fff;
}

.news-media-grid,
.testimonial-archive__grid,
.testimonial-video-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-media-card,
.testimonial-archive-card,
.testimonial-video-archive-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(9, 93, 126, 0.1);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(9, 93, 126, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-media-card:hover,
.testimonial-archive-card:hover,
.testimonial-video-archive-card:hover {
  border-color: rgba(20, 201, 166, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 28px 68px rgba(9, 93, 126, 0.18);
}

.news-media-card a {
  display: flex;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  flex-direction: column;
}

.news-media-card__media,
.testimonial-video-archive-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #ccecee, #f7ffff);
}

.news-media-card__media img,
.testimonial-video-archive-card__media img,
.testimonial-video-archive-card__media iframe,
.testimonial-video-archive-card__media video,
.testimonial-video-archive-card__media .wp-video,
.testimonial-video-archive-card__media .wp-video-shortcode {
  width: 100%;
  height: 100% !important;
  min-height: 100%;
  object-fit: cover;
}

.news-media-card__media img {
  transition: transform 0.35s ease;
}

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

.news-media-card__fallback {
  display: grid;
  width: 100%;
  height: 100%;
  color: var(--dp-primary);
  font-weight: 700;
  place-items: center;
}

.news-media-card__body,
.testimonial-video-archive-card__body {
  display: flex;
  padding: 24px;
  flex: 1;
  flex-direction: column;
}

.news-media-card time {
  margin-bottom: 12px;
  color: var(--dp-teal);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.news-media-card h3,
.testimonial-archive-card h3,
.testimonial-video-archive-card h3 {
  margin: 0;
  color: var(--dp-primary);
  font-size: clamp(20px, 1.55vw, 27px);
  font-weight: 700;
  line-height: 1.2;
}

.news-media-card__excerpt,
.testimonial-archive-card p,
.testimonial-video-archive-card p {
  display: block;
  margin: 14px 0 0;
  color: #102b3a;
  font-size: 16px;
  line-height: 1.62;
}

.news-media-card__link,
.testimonial-video-archive-card a {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--dp-teal);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.testimonial-archive-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
}

.testimonial-archive-card__quote {
  position: absolute;
  top: 10px;
  right: 24px;
  color: rgba(20, 201, 166, 0.18);
  font-size: 92px;
  font-weight: 800;
  line-height: 1;
}

.testimonial-archive-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  align-items: center;
}

.testimonial-archive-card__avatar {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border: 4px solid #eafafa;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(9, 93, 126, 0.14);
}

.testimonial-archive-card__avatar--fallback {
  display: inline-block;
  background: linear-gradient(135deg, var(--dp-primary), var(--dp-teal));
}

.testimonial-archive-card__rating {
  display: block;
  margin-top: 6px;
  color: #faa41a;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.testimonial-video-archive-card {
  display: flex;
  flex-direction: column;
}

.testimonial-video-archive-card__body {
  min-height: 230px;
}

.testimonial-video-archive-card__media .testimonial-video__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.empty-state {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
  color: #102b3a;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(9, 93, 126, 0.1);
  border-radius: 8px;
}

@media (max-width: 900px) {
  .premium-card-grid,
  .premium-link-grid,
  .premium-posts,
  .news-media-grid,
  .testimonial-archive__grid,
  .testimonial-video-archive__grid {
    grid-template-columns: 1fr;
  }

  .testimonial-archive-card {
    min-height: 0;
  }

  .premium-page__content-wrap {
    margin-top: -22px;
  }
}

@media (max-width: 640px) {
  .premium-page__hero {
    padding-block: 58px 46px;
  }

  .premium-page__content {
    padding: 24px 20px;
  }

  .premium-page__content p,
  .premium-page__content li {
    font-size: 16px;
    line-height: 1.62;
  }
}

/* Readability fix for speciality cards: no inner scroll, more visible copy. */
.speciality-card a {
  min-height: 540px;
  max-height: 540px;
}

.speciality-card__icon {
  height: 132px;
  max-height: 132px;
}

.speciality-card__icon img {
  max-height: 132px;
}

.speciality-card__body {
  overflow: hidden;
  scrollbar-width: auto;
}

.speciality-card__body::-webkit-scrollbar {
  width: 0;
}

.speciality-card__body h2 {
  min-height: 108px;
  font-size: clamp(17px, 1.08vw, 20px);
  line-height: 1.3;
  -webkit-line-clamp: 4;
}

.speciality-card__body p {
  min-height: 150px;
  font-size: 15px;
  line-height: 1.55;
  -webkit-line-clamp: 6;
}

@media (max-width: 1180px) {
  .speciality-card a {
    min-height: 500px;
    max-height: 500px;
  }

  .speciality-card__body h2 {
    min-height: 92px;
    -webkit-line-clamp: 3;
  }

  .speciality-card__body p {
    min-height: 140px;
    -webkit-line-clamp: 6;
  }
}

@media (max-width: 767px) {
  .speciality-card a {
    min-height: 0;
    max-height: none;
  }

  .speciality-card__body {
    overflow: visible;
  }

  .speciality-card__body h2,
  .speciality-card__body p {
    display: block;
    min-height: 0;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
}

/* Footer polish: compact address QR blocks and match the original footer proportions. */
.site-footer {
  margin-top: 0;
  padding: 34px 0 36px;
  background: #294a9b;
}

.site-footer__inner {
  grid-template-columns: minmax(280px, 1.22fr) minmax(170px, 0.78fr) minmax(260px, 1fr) minmax(180px, 0.68fr);
  gap: clamp(38px, 5vw, 72px);
}

.footer-column h2 {
  margin-bottom: 14px;
  color: #fff200;
  font-size: clamp(22px, 1.6vw, 26px);
  line-height: 1.1;
}

.footer-column p,
.footer-links a {
  font-size: 17px;
  line-height: 1.34;
}

.footer-links--compact a {
  font-size: 15px;
  line-height: 1.36;
}

.footer-address-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  align-items: start;
  gap: 12px;
  max-width: 370px;
  margin-bottom: 12px;
}

.footer-address-card + .footer-address-card {
  margin-top: 8px;
}

.footer-address-content p:first-child {
  margin-bottom: 3px;
}

.footer-address-qr {
  width: 78px;
  height: 78px;
  padding: 5px;
  overflow: hidden;
  background: #fff;
  border-radius: 6px;
}

.footer-address-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-contact__line {
  grid-template-columns: 88px minmax(0, 1fr);
  margin-top: 6px;
}

.footer-services .footer-links a {
  max-width: 290px;
  text-transform: none;
}

.footer-socials {
  margin-top: 13px;
}

.footer-socials a {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.footer-socials a:hover,
.footer-socials a:focus {
  color: #294a9b;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

@media (max-width: 1180px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 44px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 32px 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-address-card {
    grid-template-columns: minmax(0, 1fr) 70px;
    max-width: 100%;
  }

  .footer-address-qr {
    width: 70px;
    height: 70px;
  }
}
