/* Excel Dental Dentor consolidated front-end stylesheet 2.7.2. */

/* ===== dentor.css ===== */
:root {
  --ed-navy: #06283a;
  --ed-navy-deep: #031d2c;
  --ed-blue: #0787c4;
  --ed-blue-dark: #006a9f;
  --ed-red: #d83f50;
  --ed-mint: #e4f8ec;
  --ed-mint-strong: #70d5a7;
  --ed-ice: #edf8fb;
  --ed-ink: #102535;
  --ed-muted: #4f6471;
  --ed-red-text: #b92d3f;
  --ed-line: rgba(16, 37, 53, 0.11);
  --ed-white: #ffffff;
  --ed-shadow: 0 24px 60px rgba(5, 37, 54, 0.12);
  --ed-radius: 26px;
  --ed-radius-small: 16px;
  --ed-font: "Montserrat", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ed-tooth-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NjcgNTgyIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCBtZWV0Ij48cGF0aCBmaWxsPSIjMDAwIiBkPSJNMjU1IDMzQzIxNSAyMCAxODUgMCAxNDAgOEM4NiAxOCA0NCA1MiAxOCAxMDBDLTIgMTM5LTIgMTkxIDEyIDI0MEMzMSAzMDcgNTkgMzY5IDg5IDQyNEMxMTUgNDcyIDEzMyA1MjYgMTY5IDU2M0MxODEgNTc2IDE5NCA1ODIgMjA2IDU4MkMyMzIgNTgyIDI1MCA1NTMgMjYyIDUxNEMyNzAgNDg5IDI3NiA0NzAgMjgzIDQ1OEMyOTAgNDcwIDI5NiA0ODkgMzA0IDUxNEMzMTYgNTUzIDMzNCA1NzYgMzYwIDU3NkMzODIgNTc2IDQwMiA1NjQgNDE3IDU0NUM0NTUgNDk3IDQ3OCA0NDkgNTA4IDM5M0M1MzYgMzQxIDU1NCAyODYgNTYzIDIzMkM1NzMgMTc0IDU2MyAxMTcgNTMwIDcyQzUwMSAzMyA0NTggNiA0MTIgMEMzNjUtNSAzMTcgMTggMjgzIDMzQzI3MyAzNyAyNjQgMzcgMjU1IDMzWiIvPjwvc3ZnPg==");
}

/* Keep the native Kadence header/footer while allowing the front page blocks to span the viewport. */
.ed-dentor-home .content-area,
.ed-dentor-family .content-area {
  margin-top: 0;
  margin-bottom: 0;
}

.ed-dentor-home .content-container,
.ed-dentor-family .content-container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.ed-dentor-home .site-main,
.ed-dentor-family .site-main,
.ed-dentor-home .entry-content-wrap,
.ed-dentor-family .entry-content-wrap {
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.ed-dentor-home .entry-content,
.ed-dentor-family .entry-content {
  margin: 0;
}

.ed-dentor-home .entry-header,
.ed-dentor-family .entry-header {
  display: none;
}

.ed-section {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: clip;
  color: var(--ed-ink);
  font-family: var(--ed-font);
  scroll-margin-top: 130px;
}

.ed-section > .kt-row-column-wrap,
.ed-section > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-section .ed-services__intro > .kt-row-column-wrap,
.ed-section .ed-services__intro > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-section .ed-services__grid > .kt-row-column-wrap,
.ed-section .ed-services__grid > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-section .ed-dentists__intro > .kt-row-column-wrap,
.ed-section .ed-dentists__intro > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-section .ed-dentists__grid > .kt-row-column-wrap,
.ed-section .ed-dentists__grid > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-section .ed-family-grid > .kt-row-column-wrap,
.ed-section .ed-family-grid > .kt-row-layout-inner > .kt-row-column-wrap {
  width: min(100%, 1250px);
  margin-inline: auto;
  padding: clamp(72px, 8vw, 112px) clamp(20px, 4vw, 42px);
}

.ed-section .kt-inside-inner-col > :first-child {
  margin-top: 0;
}

.ed-section .kt-inside-inner-col > :last-child {
  margin-bottom: 0;
}

.ed-section h1,
.ed-section h2,
.ed-section h3,
.ed-section p,
.ed-section li,
.ed-section a,
.ed-section summary {
  font-family: var(--ed-font);
}

.ed-display,
.ed-section-title,
.ed-service-card__title,
.ed-dentist-card__name,
.ed-family-card__title {
  text-wrap: balance;
}

.ed-display {
  margin: 0;
  font-size: clamp(2.7rem, 5.6vw, 5.15rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
  font-weight: 800;
  color: var(--ed-ink);
}

.ed-display--light,
.ed-section-title--light {
  color: var(--ed-white);
}

.ed-section-title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: var(--ed-ink);
}

/* Keep light heading variants white even when the base title rule follows them. */
.ed-section .ed-section-title--light,
.ed-section .ed-display--light {
  color: var(--ed-white);
}

.ed-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #87d8f5;
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ed-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.ed-kicker--red {
  color: var(--ed-red-text);
}

.ed-kicker--light {
  color: #99e2f8;
}

.ed-lead,
.ed-body-large {
  color: var(--ed-muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.72;
}

.ed-lead {
  max-width: 650px;
}

.ed-text-light {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.ed-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ed-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.93rem;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.ed-button .wp-block-button__link:hover,
.ed-button .wp-block-button__link:focus-visible {
  transform: translateY(-2px);
}

.ed-button--primary .wp-block-button__link {
  color: #fff;
  background: var(--ed-blue);
  box-shadow: 0 14px 28px rgba(7, 135, 196, 0.25);
}

.ed-button--primary .wp-block-button__link:hover,
.ed-button--primary .wp-block-button__link:focus-visible {
  background: var(--ed-blue-dark);
  box-shadow: 0 18px 34px rgba(7, 135, 196, 0.32);
}

.ed-button--ghost .wp-block-button__link {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.32);
}

.ed-button--white .wp-block-button__link {
  color: var(--ed-blue-dark);
  background: #fff;
}

.ed-text-link {
  color: var(--ed-blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.ed-text-link:hover,
.ed-text-link:focus-visible {
  color: var(--ed-red-text);
}

.ed-checklist {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.ed-checklist li {
  position: relative;
  margin: 0;
  padding-left: 31px;
  color: var(--ed-ink);
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 700;
}

.ed-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.03em;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--ed-blue-dark);
  background: var(--ed-mint);
  font-size: 0.7rem;
  font-weight: 900;
}

/* Hero */
.ed-hero {
  min-height: 720px;
  color: #fff;
  background:
    radial-gradient(circle at 7% 50%, transparent 0 106px, rgba(128, 221, 250, 0.13) 107px 108px, transparent 109px),
    radial-gradient(circle at 94% 22%, rgba(8, 134, 194, 0.13), transparent 34%),
    linear-gradient(115deg, var(--ed-navy-deep), var(--ed-navy) 58%, #172436 100%);
}

.ed-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -165px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(135, 216, 245, 0.14);
  border-radius: 50%;
}

.ed-hero > .kt-row-column-wrap,
.ed-hero > .kt-row-layout-inner > .kt-row-column-wrap {
  min-height: 720px;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr) !important;
  align-items: center;
  gap: clamp(42px, 7vw, 94px);
  padding-top: clamp(92px, 10vw, 138px);
  padding-bottom: clamp(110px, 12vw, 155px);
}

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

.ed-hero__title {
  color: #fff;
}

.ed-hero__lead {
  max-width: 690px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.72);
}

.ed-hero__trust {
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}

.ed-hero__trust span {
  margin-right: 8px;
  color: #ffd05b;
  letter-spacing: 0.07em;
}

.ed-tooth-stage {
  position: relative;
  min-height: 582px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.ed-tooth-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100%, 567px);
  aspect-ratio: 567 / 582;
  z-index: -2;
  background: rgba(85, 190, 230, 0.15);
  -webkit-mask-image: var(--ed-tooth-mask);
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-image: var(--ed-tooth-mask);
  mask-position: center;
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  transform: translate(-46%, -48%) scale(1.045);
}

.ed-tooth-stage::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: 4%;
  bottom: 7%;
  z-index: -1;
  border: 34px solid rgba(99, 203, 239, 0.13);
  border-radius: 50%;
}

.ed-tooth-photo__image {
  position: relative;
  isolation: isolate;
  width: min(100%, 567px);
  aspect-ratio: 567 / 582;
  margin: 0 auto !important;
  overflow: hidden;
  background: transparent;
  -webkit-mask-image: var(--ed-tooth-mask);
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-image: var(--ed-tooth-mask);
  mask-position: center;
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  transform: translateZ(0);
  filter: drop-shadow(0 30px 35px rgba(0, 0, 0, 0.24));
}

.ed-tooth-photo__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 43%;
  transform: scale(1.12);
}

.ed-tooth-photo__image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
  opacity: 0.8;
}

.ed-floating-card {
  position: absolute;
  z-index: 4;
  width: auto;
  margin: 0 !important;
  padding: 14px 17px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(2, 24, 36, 0.18);
}

.ed-floating-card__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  color: var(--ed-ink);
  line-height: 1.15;
}

.ed-floating-card__copy strong {
  font-size: 1.03rem;
  line-height: 1.05;
}

.ed-floating-card__copy span {
  color: var(--ed-muted);
  font-size: 0.68rem;
  line-height: 1.25;
}

.ed-floating-card--since {
  top: 12%;
  right: 0;
  text-align: center;
}

.ed-floating-card--since strong {
  color: var(--ed-blue-dark);
  font-size: 1.45rem;
}

.ed-floating-card--phone {
  left: 0;
  bottom: 20%;
  padding-left: 56px;
}

.ed-floating-card--phone::before {
  content: "☎";
  position: absolute;
  left: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 10px;
  color: #fff;
  background: var(--ed-blue);
  transform: translateY(-50%);
}

/* Contact strip */
.ed-contact-strip {
  z-index: 8;
  margin-top: -44px;
  overflow: visible;
  background: transparent;
}

.ed-contact-strip > .kt-row-column-wrap,
.ed-contact-strip > .kt-row-layout-inner > .kt-row-column-wrap {
  width: min(100%, 1120px);
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px;
  padding-top: 0;
  padding-bottom: 62px;
}

.ed-contact-card > .kt-inside-inner-col {
  position: relative;
  min-height: 112px;
  padding: 25px 22px 23px 78px;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(3, 35, 51, 0.13);
}

.ed-contact-card > .kt-inside-inner-col::before {
  position: absolute;
  left: 22px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--ed-blue-dark);
  background: var(--ed-mint);
  font-size: 1rem;
  font-weight: 900;
}

.ed-contact-card--phone > .kt-inside-inner-col::before { content: "☎"; }
.ed-contact-card--location > .kt-inside-inner-col::before { content: "⌖"; }
.ed-contact-card--calendar > .kt-inside-inner-col::before { content: "✓"; }

.ed-contact-card__title {
  margin: 0 0 6px;
  color: var(--ed-ink);
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 800;
}

.ed-contact-card__text {
  margin: 0;
  color: var(--ed-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.ed-contact-card__text a {
  color: inherit;
  text-decoration: none;
}

/* Introduction */
.ed-intro {
  background: #fff;
}

.ed-intro > .kt-row-column-wrap,
.ed-intro > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr) !important;
  align-items: center;
  gap: clamp(54px, 8vw, 112px);
}

.ed-intro__collage {
  position: relative;
  min-height: 610px;
}

.ed-intro__office {
  width: 68%;
  height: 550px;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 54% 54% 25px 25px;
  box-shadow: var(--ed-shadow);
}

.ed-intro__office img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.ed-intro__detail {
  position: absolute;
  right: 0;
  bottom: 42px;
  width: 46%;
  height: 235px;
  margin: 0 !important;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(3, 35, 51, 0.18);
}

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

.ed-year-badge {
  position: absolute;
  top: 38px;
  right: 2%;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  color: #fff;
  background: var(--ed-red);
  box-shadow: 0 18px 35px rgba(216, 63, 80, 0.25);
}

.ed-year-badge__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  text-align: center;
}

.ed-year-badge__copy strong { font-size: 1.55rem; }
.ed-year-badge__copy span { max-width: 74px; font-size: 0.63rem; line-height: 1.15; }

.ed-intro__copy .ed-section-title,
.ed-routine__copy .ed-section-title {
  max-width: 650px;
}

.ed-intro__copy .ed-body-large,
.ed-routine__copy .ed-body-large {
  margin-top: 25px;
}

.ed-link-row {
  margin-top: 27px;
}

/* Services */
.ed-services {
  background: var(--ed-ice);
}

.ed-services > .kt-row-column-wrap,
.ed-services > .kt-row-layout-inner > .kt-row-column-wrap {
  display: block !important;
}

.ed-services__shell > .kt-inside-inner-col {
  width: 100%;
}

.ed-services__intro > .kt-row-column-wrap,
.ed-services__intro > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr) !important;
  align-items: end;
  gap: 60px;
  padding: 0 0 55px;
}

.ed-services__grid > .kt-row-column-wrap,
.ed-services__grid > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px;
  padding: 0;
}

.ed-service-card > .kt-inside-inner-col {
  height: 100%;
  padding: 0 0 24px;
  overflow: hidden;
  border: 1px solid rgba(6, 40, 58, 0.07);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(6, 40, 58, 0.07);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.ed-service-card:hover > .kt-inside-inner-col {
  transform: translateY(-7px);
  box-shadow: 0 22px 42px rgba(6, 40, 58, 0.13);
}

.ed-service-card__image {
  width: 100%;
  height: 190px;
  margin: 0 0 22px !important;
  overflow: hidden;
}

.ed-service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

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

.ed-service-card__title,
.ed-service-card__text,
.ed-service-card__link {
  margin-left: 22px;
  margin-right: 22px;
}

.ed-service-card__title {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: 800;
}

.ed-service-card__text {
  min-height: 92px;
  margin-bottom: 17px;
  color: var(--ed-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.ed-service-card__link {
  font-size: 0.78rem;
}

/* Homepage service-card gutters match the related-care card spacing. */
.ed-dentor-home .ed-service-card > .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
  padding: 0 28px 28px !important;
}

.ed-dentor-home .ed-service-card__image {
  flex: 0 0 auto;
  width: calc(100% + 56px);
  max-width: calc(100% + 56px);
  margin: 0 -28px 24px !important;
}

.ed-dentor-home .ed-service-card__title,
.ed-dentor-home .ed-service-card__text,
.ed-dentor-home .ed-service-card__link {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.ed-dentor-home .ed-service-card__link {
  margin-top: auto !important;
  padding-top: 2px;
}

/* Stats */
.ed-stats {
  background: linear-gradient(90deg, var(--ed-blue-dark), var(--ed-blue));
}

.ed-stats > .kt-row-column-wrap,
.ed-stats > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0;
  padding-top: 34px;
  padding-bottom: 34px;
}

.ed-stat > .kt-inside-inner-col {
  padding: 5px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.ed-stat:last-child > .kt-inside-inner-col {
  border-right: 0;
}

.ed-stat__number {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
  font-weight: 800;
}

.ed-stat__label {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Routine care */
.ed-routine {
  background: #fff;
}

.ed-routine > .kt-row-column-wrap,
.ed-routine > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr) !important;
  align-items: center;
  gap: clamp(55px, 9vw, 120px);
}

.ed-routine__visual {
  position: relative;
  max-width: 520px;
  margin-left: auto;
}

.ed-routine__image {
  height: 510px;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 120px 22px 22px 22px;
  box-shadow: var(--ed-shadow);
}

.ed-routine__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.ed-floating-card--routine {
  right: -22px;
  bottom: 35px;
  padding-left: 58px;
}

.ed-floating-card--routine::before {
  content: "▣";
  position: absolute;
  left: 15px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: #fff;
  background: var(--ed-blue);
  transform: translateY(-50%);
}

/* Smile comparison */
.ed-smile {
  color: #fff;
  background:
    radial-gradient(circle at 10% 90%, rgba(7, 135, 196, 0.13), transparent 30%),
    var(--ed-navy-deep);
}

.ed-smile > .kt-row-column-wrap,
.ed-smile > .kt-row-layout-inner > .kt-row-column-wrap {
  display: block !important;
}

.ed-smile__heading {
  max-width: 860px;
  margin: 0 auto 45px;
  text-align: center;
}

.ed-smile__heading .ed-kicker {
  justify-content: center;
}

.ed-smile__heading .ed-body-large {
  max-width: 780px;
  margin-inline: auto;
}

.ed-smile-compare {
  --ed-split: 50%;
  position: relative;
  width: min(100%, 980px);
  aspect-ratio: 3.3 / 1;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: #0d3449;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.26);
}

.ed-smile-compare .ed-smile-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
}

.ed-smile-compare .ed-smile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-smile-after { z-index: 1; }
.ed-smile-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--ed-split)) 0 0);
}

.ed-smile-range {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.ed-smile-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ed-split);
  z-index: 5;
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  pointer-events: none;
}

.ed-smile-handle {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--ed-blue);
  font-size: 1rem;
  font-weight: 900;
  transform: translate(-50%, -50%);
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.25);
}

.ed-smile-label {
  position: absolute;
  top: 18px;
  z-index: 5;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(2, 24, 36, 0.72);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

.ed-smile-label--before { left: 18px; }
.ed-smile-label--after { right: 18px; }

/* Dentists */
.ed-dentists {
  background: var(--ed-ice);
}

.ed-dentists > .kt-row-column-wrap,
.ed-dentists > .kt-row-layout-inner > .kt-row-column-wrap {
  display: block !important;
}

.ed-dentists__intro > .kt-row-column-wrap,
.ed-dentists__intro > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr) !important;
  align-items: end;
  gap: 60px;
  padding: 0 0 55px;
}

.ed-dentists__grid > .kt-row-column-wrap,
.ed-dentists__grid > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px;
  padding: 0;
}

.ed-dentist-card > .kt-inside-inner-col {
  display: grid;
  grid-template-columns: minmax(170px, 0.72fr) minmax(0, 1.28fr);
  min-height: 325px;
  overflow: hidden;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(6, 40, 58, 0.09);
}

.ed-dentist-card__image {
  width: 100%;
  height: 100%;
  min-height: 325px;
  margin: 0 !important;
  overflow: hidden;
}

.ed-dentist-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ed-dentist-card--li .ed-dentist-card__image img {
  object-position: center 40%;
}

.ed-dentist-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.ed-dentist-card__name {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.15;
  font-weight: 800;
}

.ed-dentist-card__role {
  margin: 7px 0 16px;
  color: var(--ed-red-text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ed-dentist-card__text {
  color: var(--ed-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* Reviews */
.ed-reviews {
  background: #fff;
}

.ed-reviews > .kt-row-column-wrap,
.ed-reviews > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.15fr) !important;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.ed-reviews__visual {
  position: relative;
}

.ed-reviews__image {
  height: 530px;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 24px 110px 24px 24px;
  box-shadow: var(--ed-shadow);
}

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

.ed-floating-card--reviews {
  left: 25px;
  bottom: 24px;
}

.ed-reviews__content .ed-section-title {
  margin-bottom: 22px;
}

.ed-trustindex-placeholder {
  display: none;
  min-height: 190px;
  margin-top: 24px;
  padding: 30px;
  border: 1px dashed rgba(6, 40, 58, 0.2);
  border-radius: 18px;
  background: var(--ed-ice);
  color: var(--ed-ink);
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.ed-trustindex-placeholder span {
  color: var(--ed-muted);
}

/* Appointment banner */
.ed-appointment-banner {
  color: #fff;
  background: linear-gradient(90deg, var(--ed-blue-dark), var(--ed-blue));
}

.ed-appointment-banner > .kt-row-column-wrap,
.ed-appointment-banner > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center;
  gap: 50px;
  padding-top: 42px;
  padding-bottom: 42px;
}

.ed-appointment-banner .ed-section-title {
  max-width: 760px;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.ed-appointment-banner__action .ed-actions {
  justify-content: flex-end;
  margin: 0;
}

/* Articles */
.ed-articles {
  background: #fff;
}

.ed-articles > .kt-row-column-wrap,
.ed-articles > .kt-row-layout-inner > .kt-row-column-wrap {
  display: block !important;
}

.ed-articles__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "kicker all"
    "title all";
  align-items: end;
  column-gap: 28px;
  row-gap: 12px;
  margin-bottom: 45px;
}

.ed-articles__heading .ed-kicker {
  grid-area: kicker;
  margin-bottom: 0;
}

.ed-articles__heading .ed-section-title {
  grid-area: title;
  max-width: 920px;
}

.ed-articles__all {
  grid-area: all;
  position: static;
  align-self: end;
  justify-self: end;
  margin: 0 0 10px;
  white-space: nowrap;
}

.ed-articles-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.ed-articles-grid li {
  overflow: hidden;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(6, 40, 58, 0.08);
}

.ed-articles-grid .wp-block-latest-posts__featured-image {
  margin: 0;
}

.ed-articles-grid .wp-block-latest-posts__featured-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.ed-articles-grid > li > a:not(.wp-block-latest-posts__post-excerpt) {
  display: block;
  padding: 22px 22px 8px;
  color: var(--ed-ink);
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 800;
  text-decoration: none;
}

.ed-articles-grid .wp-block-latest-posts__post-date,
.ed-articles-grid .wp-block-latest-posts__post-excerpt {
  display: block;
  padding-left: 22px;
  padding-right: 22px;
}

.ed-articles-grid .wp-block-latest-posts__post-date {
  color: var(--ed-red-text);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ed-articles-grid .wp-block-latest-posts__post-excerpt {
  padding-bottom: 22px;
  color: var(--ed-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* FAQ */
.ed-faq {
  background: var(--ed-ice);
}

.ed-faq > .kt-row-column-wrap,
.ed-faq > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr) !important;
  align-items: start;
  gap: clamp(55px, 8vw, 110px);
}

.ed-faq__copy .ed-section-title {
  max-width: 560px;
}

.ed-faq__items {
  display: grid;
  gap: 13px;
}

.ed-faq-item {
  margin: 0;
  padding: 0 21px;
  border: 1px solid rgba(6, 40, 58, 0.07);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(6, 40, 58, 0.05);
}

.ed-faq-item summary {
  position: relative;
  padding: 20px 38px 20px 0;
  color: var(--ed-ink);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.ed-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  color: var(--ed-blue);
  font-size: 1.25rem;
  transform: translateY(-50%);
}

.ed-faq-item[open] summary::after { content: "–"; }

.ed-faq-item > p {
  margin: 0;
  padding: 0 0 21px;
  color: var(--ed-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* Final CTA */
.ed-final-cta {
  color: #fff;
  background:
    radial-gradient(circle at 94% 90%, transparent 0 92px, rgba(97, 200, 238, 0.17) 93px 122px, transparent 123px),
    linear-gradient(112deg, #071f2d, var(--ed-navy));
}

.ed-final-cta > .kt-row-column-wrap,
.ed-final-cta > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center;
  gap: 60px;
  padding-top: 74px;
  padding-bottom: 74px;
}

.ed-final-cta .ed-display {
  max-width: 760px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.ed-final-cta__actions .ed-actions {
  justify-content: flex-end;
  margin: 0;
}

/* Family page */
.ed-family-hero {
  color: #fff;
  background: linear-gradient(115deg, var(--ed-navy-deep), var(--ed-navy));
}

.ed-family-hero > .kt-row-column-wrap,
.ed-family-hero > .kt-row-layout-inner > .kt-row-column-wrap {
  min-height: 620px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr) !important;
  align-items: center;
  gap: 75px;
}

.ed-family-hero .ed-display,
.ed-family-hero .ed-hero__lead { color: #fff; }
.ed-family-hero .ed-hero__lead { opacity: 0.76; }

.ed-family-hero__image {
  height: 470px;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 52% 52% 22px 22px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.25);
}

.ed-family-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-family-stages {
  background: var(--ed-ice);
}

.ed-family-stages > .kt-row-column-wrap,
.ed-family-stages > .kt-row-layout-inner > .kt-row-column-wrap { display: block !important; }
.ed-family-grid > .kt-row-column-wrap,
.ed-family-grid > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px;
  padding: 45px 0 0;
}

.ed-family-card > .kt-inside-inner-col {
  height: 100%;
  padding: 28px;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 13px 30px rgba(6, 40, 58, 0.07);
}

.ed-family-card__title {
  margin: 0 0 13px;
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: 800;
}

.ed-family-card__text {
  color: var(--ed-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Kadence header menu created by the setup screen. */
.header-navigation .menu-item.ed-menu-cta > a,
.mobile-navigation .menu-item.ed-menu-cta > a {
  color: #fff !important;
  background: var(--ed-blue);
  border-radius: 999px;
}

.header-navigation .menu-item.ed-menu-cta > a {
  margin-left: 8px;
  padding: 10px 18px !important;
}

.header-navigation .sub-menu {
  min-width: 245px;
  padding: 10px;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 13px;
  box-shadow: 0 18px 40px rgba(6, 40, 58, 0.13);
}

.header-navigation .sub-menu a {
  border-radius: 8px;
}

/* Motion */
.ed-animations-ready .ed-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.ed-animations-ready .ed-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ed-reveal,
  .ed-service-card > .kt-inside-inner-col,
  .ed-service-card__image img,
  .ed-button .wp-block-button__link {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 1024px) {
  .ed-hero > .kt-row-column-wrap,
.ed-hero > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-intro > .kt-row-column-wrap,
.ed-intro > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-routine > .kt-row-column-wrap,
.ed-routine > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-reviews > .kt-row-column-wrap,
.ed-reviews > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-family-hero > .kt-row-column-wrap,
.ed-family-hero > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 45px;
  }

  .ed-hero > .kt-row-column-wrap,
.ed-hero > .kt-row-layout-inner > .kt-row-column-wrap { grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr) !important; }
  .ed-tooth-stage { min-height: 500px; }
  .ed-services__grid > .kt-row-column-wrap,
.ed-services__grid > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-family-grid > .kt-row-column-wrap,
.ed-family-grid > .kt-row-layout-inner > .kt-row-column-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .ed-service-card__text { min-height: 70px; }
  .ed-dentist-card > .kt-inside-inner-col { grid-template-columns: 150px 1fr; }
}

@media (max-width: 780px) {
  .ed-section > .kt-row-column-wrap,
.ed-section > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-section .ed-services__intro > .kt-row-column-wrap,
.ed-section .ed-services__intro > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-section .ed-services__grid > .kt-row-column-wrap,
.ed-section .ed-services__grid > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-section .ed-dentists__intro > .kt-row-column-wrap,
.ed-section .ed-dentists__intro > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-section .ed-dentists__grid > .kt-row-column-wrap,
.ed-section .ed-dentists__grid > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-section .ed-family-grid > .kt-row-column-wrap,
.ed-section .ed-family-grid > .kt-row-layout-inner > .kt-row-column-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ed-hero > .kt-row-column-wrap,
.ed-hero > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-intro > .kt-row-column-wrap,
.ed-intro > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-services__intro > .kt-row-column-wrap,
.ed-services__intro > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-routine > .kt-row-column-wrap,
.ed-routine > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-dentists__intro > .kt-row-column-wrap,
.ed-dentists__intro > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-reviews > .kt-row-column-wrap,
.ed-reviews > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-faq > .kt-row-column-wrap,
.ed-faq > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-family-hero > .kt-row-column-wrap,
.ed-family-hero > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-appointment-banner > .kt-row-column-wrap,
.ed-appointment-banner > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-final-cta > .kt-row-column-wrap,
.ed-final-cta > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: 1fr !important;
  }

  .ed-hero { min-height: 0; }
  .ed-hero > .kt-row-column-wrap,
.ed-hero > .kt-row-layout-inner > .kt-row-column-wrap { min-height: 0; padding-top: 86px; padding-bottom: 110px; }
  .ed-tooth-stage { min-height: 520px; margin-top: 15px; }
  .ed-floating-card--phone { left: 2%; }
  .ed-floating-card--since { right: 2%; }

  .ed-contact-strip { margin-top: -35px; }
  .ed-contact-strip > .kt-row-column-wrap,
.ed-contact-strip > .kt-row-layout-inner > .kt-row-column-wrap { grid-template-columns: 1fr !important; }

  .ed-intro__collage { min-height: 540px; }
  .ed-intro__office { height: 500px; }
  .ed-intro__detail { height: 210px; }

  .ed-services__intro > .kt-row-column-wrap,
.ed-services__intro > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-dentists__intro > .kt-row-column-wrap,
.ed-dentists__intro > .kt-row-layout-inner > .kt-row-column-wrap { gap: 20px; }
  .ed-services__grid > .kt-row-column-wrap,
.ed-services__grid > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-dentists__grid > .kt-row-column-wrap,
.ed-dentists__grid > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-family-grid > .kt-row-column-wrap,
.ed-family-grid > .kt-row-layout-inner > .kt-row-column-wrap { grid-template-columns: 1fr !important; }
  .ed-service-card__image { height: 245px; }
  .ed-service-card__text { min-height: 0; }
  .ed-dentor-home .ed-service-card > .kt-inside-inner-col { padding: 0 22px 24px !important; }
  .ed-dentor-home .ed-service-card__image {
    width: calc(100% + 44px);
    max-width: calc(100% + 44px);
    margin-left: -22px !important;
    margin-right: -22px !important;
  }

  .ed-stats > .kt-row-column-wrap,
.ed-stats > .kt-row-layout-inner > .kt-row-column-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .ed-stat:nth-child(2) > .kt-inside-inner-col { border-right: 0; }
  .ed-stat:nth-child(-n/**/+2) > .kt-inside-inner-col { border-bottom: 1px solid rgba(255, 255, 255, 0.17); padding-bottom: 24px; margin-bottom: 20px; }

  .ed-routine__visual { max-width: none; margin: 15px 0 0; }
  .ed-floating-card--routine { right: 16px; }

  .ed-smile-compare { aspect-ratio: 2 / 1; }

  .ed-dentist-card > .kt-inside-inner-col { grid-template-columns: 165px 1fr; }

  .ed-reviews__image { height: 420px; }
  .ed-appointment-banner__action .ed-actions,
  .ed-final-cta__actions .ed-actions { justify-content: flex-start; }

  .ed-articles__heading {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "title"
      "all";
  }
  .ed-articles__all { position: static; justify-self: start; align-self: start; margin-top: 0; }
  .ed-articles-grid { grid-template-columns: 1fr; }
  .ed-articles-grid .wp-block-latest-posts__featured-image img { height: 240px; }
}

@media (max-width: 520px) {
  .ed-display { font-size: clamp(2.55rem, 13vw, 3.75rem); }
  .ed-section-title { font-size: clamp(2.15rem, 11vw, 3.15rem); }
  .ed-actions { align-items: stretch; }
  .ed-actions .wp-block-button { width: 100%; }
  .ed-actions .wp-block-button__link { width: 100%; }

  .ed-tooth-stage { min-height: 450px; }
  .ed-tooth-photo__image { width: 92%; }
  .ed-floating-card { padding: 11px 13px; }
  .ed-floating-card--phone { bottom: 11%; padding-left: 49px; }
  .ed-floating-card--since { top: 8%; }

  .ed-intro__collage { min-height: 460px; }
  .ed-intro__office { width: 82%; height: 430px; }
  .ed-intro__detail { width: 48%; height: 175px; bottom: 20px; }
  .ed-year-badge { width: 94px; height: 94px; top: 22px; }

  .ed-stats > .kt-row-column-wrap,
.ed-stats > .kt-row-layout-inner > .kt-row-column-wrap { grid-template-columns: 1fr !important; }
  .ed-stat > .kt-inside-inner-col { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.17); padding: 20px; margin: 0 !important; }
  .ed-stat:last-child > .kt-inside-inner-col { border-bottom: 0; }

  .ed-routine__image { height: 420px; border-radius: 80px 18px 18px 18px; }
  .ed-smile-compare { aspect-ratio: 1.5 / 1; }
  .ed-smile-handle { width: 40px; height: 40px; }

  .ed-dentist-card > .kt-inside-inner-col { display: block; }
  .ed-dentist-card__image { height: 330px; min-height: 0; }
  .ed-dentist-card__body { padding: 26px; }
  .ed-reviews__image { height: 360px; }
}

/* 2.1.9 links for the lightweight Family Dentistry fallback page. */
.ed-family-card > .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
}

.ed-family-card__text {
  flex: 1 1 auto;
}

.ed-family-card__link {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.8rem;
  font-weight: 800;
}

/* 2.2.2 — homepage service-card gutters and a fuller FAQ column. */
.ed-dentor-home .ed-service-card > .kt-inside-inner-col {
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  padding: 0 28px 28px !important;
}

.ed-dentor-home .ed-service-card__image {
  width: calc(100% + 56px) !important;
  max-width: none !important;
  margin: 0 -28px 24px !important;
}

.ed-dentor-home .ed-service-card__title,
.ed-dentor-home .ed-service-card__text,
.ed-dentor-home .ed-service-card__link {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.ed-dentor-home .ed-service-card__text {
  flex: 1 1 auto;
  min-height: 0;
}

.ed-dentor-home .ed-service-card__link {
  margin-top: auto !important;
}

.ed-dentor-home .ed-faq > .kt-row-column-wrap,
.ed-dentor-home .ed-faq > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr) !important;
  gap: clamp(52px, 7vw, 96px);
}

.ed-dentor-home .ed-faq__items {
  gap: 11px;
}

.ed-dentor-home .ed-faq-item summary {
  padding-top: 18px;
  padding-bottom: 18px;
}

@media (max-width: 900px) {
  .ed-dentor-home .ed-faq > .kt-row-column-wrap,
  .ed-dentor-home .ed-faq > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  .ed-dentor-home .ed-service-card > .kt-inside-inner-col {
    padding-right: 22px !important;
    padding-bottom: 25px !important;
    padding-left: 22px !important;
  }

  .ed-dentor-home .ed-service-card__image {
    width: calc(100% + 44px) !important;
    margin-right: -22px !important;
    margin-left: -22px !important;
  }
}

/* ===== interior.css ===== */
/*
 * Dentor-inspired interior page system for Excel Dental.
 * Scoped to pages installed by the theme and normal WordPress post/archive views.
 */

.ed-dentor-interior .content-area,
.ed-dentor-interior .content-container {
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.ed-dentor-interior .site-main,
.ed-dentor-interior .entry-content-wrap {
  padding: 0;
  background: transparent;
}

.ed-dentor-interior .entry-header {
  display: none;
}

.ed-dentor-interior .entry-content {
  margin: 0;
}

.ed-interior-section {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: clip;
  color: var(--ed-ink);
  font-family: var(--ed-font);
  scroll-margin-top: 130px;
}

.ed-interior-section > .kt-row-column-wrap,
.ed-interior-section > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-interior-section .ed-procedure-grid > .kt-row-column-wrap,
.ed-interior-section .ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-interior-section .ed-about-profile-grid > .kt-row-column-wrap,
.ed-interior-section .ed-about-profile-grid > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-interior-section .ed-team-grid > .kt-row-column-wrap,
.ed-interior-section .ed-team-grid > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-interior-section .ed-form-directory__grid > .kt-row-column-wrap,
.ed-interior-section .ed-form-directory__grid > .kt-row-layout-inner > .kt-row-column-wrap {
  width: min(100%, 1250px);
  margin-inline: auto;
  padding: clamp(74px, 8vw, 112px) clamp(20px, 4vw, 42px);
}

.ed-interior-section h1,
.ed-interior-section h2,
.ed-interior-section h3,
.ed-interior-section h4,
.ed-interior-section p,
.ed-interior-section li,
.ed-interior-section a,
.ed-interior-section summary,
.ed-interior-section label,
.ed-interior-section input,
.ed-interior-section select,
.ed-interior-section textarea,
.ed-interior-section button {
  font-family: var(--ed-font);
}

/* Dentor inner-page banner. */
.ed-page-hero {
  width: calc(100% - clamp(28px, 4vw, 64px));
  max-width: 1600px;
  margin: clamp(20px, 3vw, 38px) auto clamp(44px, 6vw, 78px);
  overflow: hidden;
  border-radius: 25px;
  color: #fff;
  background-color: var(--ed-navy-deep);
  box-shadow: 0 24px 60px rgba(3, 29, 44, 0.13);
}

.ed-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 24, 36, 0.91) 0%, rgba(2, 24, 36, 0.76) 49%, rgba(2, 24, 36, 0.43) 100%);
}

.ed-page-hero > .kt-row-column-wrap,
.ed-page-hero > .kt-row-layout-inner > .kt-row-column-wrap {
  position: relative;
  z-index: 2;
  display: grid !important;
  align-items: center;
  min-height: 360px;
  width: min(100%, 1250px);
  padding: clamp(58px, 7vw, 92px) clamp(28px, 5vw, 72px) !important;
}

.ed-page-hero__copy {
  position: relative;
  z-index: 3;
  max-width: 830px;
}

.ed-page-hero__kicker {
  margin: 0 0 16px;
  color: #8de0fb;
  font-size: 0.74rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ed-page-hero__title {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.65rem, 5vw, 5rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
  font-weight: 800;
  text-wrap: balance;
}

.ed-page-hero__summary {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.ed-page-hero__crumbs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(2, 24, 36, 0.34);
  font-size: 0.76rem;
  line-height: 1.2;
}

.ed-page-hero__crumbs a {
  color: #fff;
  text-decoration: none;
}

/* Generic cards. */
.ed-interior-card {
  height: 100%;
  padding: 30px;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(6, 40, 58, 0.08);
}

.ed-interior-card__title {
  margin: 0 0 12px;
  color: var(--ed-ink);
  font-size: 1.35rem;
  line-height: 1.15;
  font-weight: 800;
}

.ed-interior-card__text {
  margin: 0;
  color: var(--ed-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.ed-interior-card__link {
  margin: 20px 0 0;
}

/* Services directory and procedure cards. */
.ed-services-directory,
.ed-hub-procedures,
.ed-detail-related,
.ed-about-team,
.ed-education-page,
.ed-form-directory,
.ed-search-page {
  background: var(--ed-ice);
}

.ed-services-directory > .kt-row-column-wrap,
.ed-services-directory > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-hub-procedures > .kt-row-column-wrap,
.ed-hub-procedures > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-detail-related > .kt-row-column-wrap,
.ed-detail-related > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-about-doctors > .kt-row-column-wrap,
.ed-about-doctors > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-about-team > .kt-row-column-wrap,
.ed-about-team > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-education-page > .kt-row-column-wrap,
.ed-education-page > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-form-directory > .kt-row-column-wrap,
.ed-form-directory > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-search-page > .kt-row-column-wrap,
.ed-search-page > .kt-row-layout-inner > .kt-row-column-wrap {
  display: block !important;
}

.ed-services-directory__shell > .kt-inside-inner-col,
.ed-hub-procedures__shell > .kt-inside-inner-col,
.ed-detail-related__shell > .kt-inside-inner-col,
.ed-about-doctors__shell > .kt-inside-inner-col,
.ed-about-team__shell > .kt-inside-inner-col,
.ed-education-page__shell > .kt-inside-inner-col,
.ed-form-directory__shell > .kt-inside-inner-col,
.ed-search-page__shell > .kt-inside-inner-col {
  width: 100%;
}

.ed-services-directory .ed-section-title,
.ed-hub-procedures .ed-section-title,
.ed-detail-related .ed-section-title,
.ed-about-doctors .ed-section-title,
.ed-about-team .ed-section-title,
.ed-education-page .ed-section-title,
.ed-form-directory .ed-section-title,
.ed-search-page .ed-section-title {
  max-width: 880px;
}

.ed-services-directory .ed-body-large,
.ed-hub-procedures .ed-body-large,
.ed-education-page .ed-body-large,
.ed-form-directory .ed-body-large,
.ed-search-page .ed-body-large {
  max-width: 790px;
  margin-top: 22px;
}

.ed-procedure-grid > .kt-row-column-wrap,
.ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px;
  padding: 48px 0 0 !important;
}

.ed-procedure-grid--four > .kt-row-column-wrap,
.ed-procedure-grid--four > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.ed-procedure-card > .kt-inside-inner-col {
  position: relative;
  height: 100%;
  padding: 0 0 26px;
  overflow: hidden;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 15px 36px rgba(6, 40, 58, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.ed-procedure-card:hover > .kt-inside-inner-col {
  transform: translateY(-7px);
  box-shadow: 0 24px 48px rgba(6, 40, 58, 0.14);
}

.ed-procedure-card__image {
  width: 100%;
  height: 220px;
  margin: 0 0 23px !important;
  overflow: hidden;
}

.ed-procedure-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.ed-procedure-card:hover .ed-procedure-card__image img {
  transform: scale(1.045);
}

.ed-procedure-card__title,
.ed-procedure-card__text,
.ed-procedure-card__link {
  margin-left: 24px;
  margin-right: 24px;
}

.ed-procedure-card__title {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--ed-ink);
  font-size: 1.22rem;
  line-height: 1.18;
  font-weight: 800;
}

.ed-procedure-card__text {
  min-height: 75px;
  margin-bottom: 17px;
  color: var(--ed-muted);
  font-size: 0.88rem;
  line-height: 1.58;
}

.ed-procedure-card__link {
  margin-bottom: 0;
  font-size: 0.82rem;
}

.ed-service-groups > .kt-row-column-wrap,
.ed-service-groups > .kt-row-layout-inner > .kt-row-column-wrap {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px;
  padding-top: 0;
}

.ed-service-group > .kt-inside-inner-col {
  height: 100%;
  padding: 34px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, var(--ed-navy-deep), var(--ed-navy));
  box-shadow: 0 20px 45px rgba(3, 29, 44, 0.16);
}

.ed-service-group__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 800;
}

.ed-service-group__text {
  margin: 0 0 23px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.ed-service-group__links {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ed-service-group__links li {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ed-service-group__links a {
  display: block;
  padding: 13px 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

/* Main service hub. */
.ed-hub-intro {
  background: #fff;
}

.ed-hub-intro > .kt-row-column-wrap,
.ed-hub-intro > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr) !important;
  align-items: center;
  gap: clamp(58px, 8vw, 112px);
}

.ed-hub-intro__image {
  width: 100%;
  height: 610px;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 52% 52% 23px 23px;
  box-shadow: var(--ed-shadow);
}

.ed-hub-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ed-hub-intro__copy .ed-section-title {
  max-width: 710px;
}

.ed-hub-intro__copy .ed-body-large {
  margin-top: 24px;
}

.ed-hub-intro__copy .ed-checklist {
  margin-top: 26px;
}

.ed-hub-intro__copy .ed-actions {
  margin-top: 30px;
}

/* Service detail layout. */
.ed-detail-main {
  background: #fff;
}

.ed-detail-main > .kt-row-column-wrap,
.ed-detail-main > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px) !important;
  align-items: start;
  gap: clamp(42px, 6vw, 78px);
}

.ed-detail-featured-image {
  width: 100%;
  height: clamp(330px, 43vw, 560px);
  margin: 0 0 42px !important;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 24px 55px rgba(6, 40, 58, 0.13);
}

.ed-detail-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-detail-title {
  margin: 0;
  color: var(--ed-ink);
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.048em;
  font-weight: 800;
}

.ed-detail-lead {
  max-width: 850px;
  margin: 22px 0 36px;
  color: var(--ed-muted);
  font-size: 1.1rem;
  line-height: 1.72;
}

.ed-preserved-content {
  color: #344b59;
  font-size: 1rem;
  line-height: 1.75;
}

.ed-preserved-content > * + * {
  margin-top: 1.35em;
}

.ed-preserved-content h2,
.ed-preserved-content h3,
.ed-preserved-content h4,
.ed-preserved-content .wp-block-heading {
  margin-bottom: 0.55em;
  color: var(--ed-ink);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.ed-preserved-content h2,
.ed-preserved-content .wp-block-heading:is(h2) {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.12;
}

.ed-preserved-content h3,
.ed-preserved-content .wp-block-heading:is(h3) {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
}

.ed-preserved-content p,
.ed-preserved-content li {
  color: #455b67;
  line-height: 1.76;
}

.ed-preserved-content a {
  color: var(--ed-blue-dark);
}

.ed-preserved-content .wp-block-image,
.ed-preserved-content .wp-block-video,
.ed-preserved-content iframe {
  overflow: hidden;
  border-radius: 18px;
}

.ed-preserved-content .wp-block-kadence-rowlayout,
.ed-preserved-content .kt-row-layout-inner,
.ed-preserved-content .kt-row-column-wrap {
  max-width: 100% !important;
  margin-inline: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ed-detail-main__sidebar > .kt-inside-inner-col {
  position: sticky;
  top: 135px;
  display: grid;
  gap: 22px;
}

.ed-detail-sidebar__panel {
  padding: 29px;
  border: 1px solid rgba(6, 40, 58, 0.09);
  border-radius: 19px;
  background: var(--ed-ice);
  box-shadow: 0 13px 30px rgba(6, 40, 58, 0.07);
}

.ed-detail-sidebar__title {
  margin: 0 0 16px;
  color: var(--ed-ink);
  font-size: 1.25rem;
  line-height: 1.18;
  font-weight: 800;
}

.ed-detail-sidebar__text {
  margin: 0 0 20px;
  color: var(--ed-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.ed-detail-sidebar__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ed-detail-sidebar__links li {
  margin: 0;
  border-top: 1px solid rgba(6, 40, 58, 0.1);
}

.ed-detail-sidebar__links li:first-child {
  border-top: 0;
}

.ed-detail-sidebar__links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  color: var(--ed-ink);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.ed-detail-sidebar__cta {
  color: #fff;
  background: linear-gradient(145deg, var(--ed-navy-deep), var(--ed-navy));
}

.ed-detail-sidebar__cta .ed-detail-sidebar__title,
.ed-detail-sidebar__cta .ed-detail-sidebar__text {
  color: #fff;
}

.ed-detail-sidebar__cta .ed-detail-sidebar__text {
  opacity: 0.74;
}

.ed-detail-sidebar__cta .ed-actions {
  display: grid;
  gap: 10px;
  margin: 0;
}

.ed-detail-sidebar__cta .wp-block-button,
.ed-detail-sidebar__cta .wp-block-button__link {
  width: 100%;
}

/* Interior FAQ borrows homepage accordion styling. */
.ed-interior-faq {
  background: var(--ed-ice);
}

.ed-interior-faq > .kt-row-column-wrap,
.ed-interior-faq > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr) !important;
  align-items: start;
  gap: clamp(58px, 8vw, 110px);
}

/* About. */
.ed-about-history {
  background: #fff;
}

.ed-about-history > .kt-row-column-wrap,
.ed-about-history > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr) !important;
  align-items: center;
  gap: clamp(58px, 8vw, 112px);
}

.ed-about-history__visual {
  position: relative;
  min-height: 590px;
}

.ed-about-history__office {
  width: 86%;
  height: 570px;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 54% 54% 24px 24px;
  box-shadow: var(--ed-shadow);
}

.ed-about-history__office img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-about-history .ed-year-badge {
  top: 44px;
  right: 0;
}

.ed-about-history__copy .ed-body-large {
  margin-top: 23px;
}

.ed-about-doctors {
  background: #fff;
}

.ed-about-profile-grid > .kt-row-column-wrap,
.ed-about-profile-grid > .kt-row-layout-inner > .kt-row-column-wrap {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 28px;
  padding: 50px 0 0 !important;
}

.ed-about-profile > .kt-inside-inner-col {
  display: grid;
  grid-template-columns: minmax(205px, 0.72fr) minmax(0, 1.28fr);
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(6, 40, 58, 0.1);
}

.ed-about-profile__image {
  height: 100%;
  min-height: 470px;
  margin: 0 !important;
  overflow: hidden;
}

.ed-about-profile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ed-about-profile__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 45px);
}

.ed-about-profile__name {
  margin: 0;
  color: var(--ed-ink);
  font-size: 1.48rem;
  line-height: 1.13;
  font-weight: 800;
}

.ed-about-profile__role,
.ed-team-card__role {
  margin: 8px 0 18px;
  color: var(--ed-red-text);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ed-about-profile__text,
.ed-team-card__text {
  color: var(--ed-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.ed-team-grid > .kt-row-column-wrap,
.ed-team-grid > .kt-row-layout-inner > .kt-row-column-wrap {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 25px;
  padding: 48px 0 0 !important;
}

.ed-team-card > .kt-inside-inner-col {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 15px 36px rgba(6, 40, 58, 0.08);
}

.ed-team-card__image {
  grid-row: 1 / span 4;
  width: 180px;
  height: 100%;
  min-height: 320px;
  margin: 0 !important;
  overflow: hidden;
}

.ed-team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ed-team-card__name,
.ed-team-card__role,
.ed-team-card__text {
  margin-left: 30px;
  margin-right: 30px;
}

.ed-team-card__name {
  margin-top: 35px;
  margin-bottom: 0;
  color: var(--ed-ink);
  font-size: 1.3rem;
  line-height: 1.15;
  font-weight: 800;
}

.ed-team-card__text {
  margin-bottom: 32px;
}

/* Contact and appointment forms. */
.ed-contact-main,
.ed-appointment-main,
.ed-form-detail {
  background: #fff;
}

.ed-contact-main > .kt-row-column-wrap,
.ed-contact-main > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-appointment-main > .kt-row-column-wrap,
.ed-appointment-main > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-form-detail > .kt-row-column-wrap,
.ed-form-detail > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr) !important;
  align-items: start;
  gap: clamp(52px, 8vw, 105px);
}

.ed-contact-main__details .ed-section-title,
.ed-appointment-main__intro .ed-section-title,
.ed-form-detail__intro .ed-section-title {
  max-width: 620px;
}

.ed-contact-main__details .ed-body-large,
.ed-appointment-main__intro .ed-body-large,
.ed-form-detail__intro .ed-body-large {
  margin-top: 24px;
}

.ed-contact-detail {
  position: relative;
  min-height: 68px;
  margin-top: 16px;
  padding: 12px 15px 12px 64px;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 15px;
  background: var(--ed-ice);
}

.ed-contact-detail::before {
  position: absolute;
  left: 15px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ed-blue-dark);
  background: var(--ed-mint);
  font-weight: 900;
}

.ed-contact-detail--phone::before { content: "☎"; }
.ed-contact-detail--text::before { content: "✉"; }
.ed-contact-detail--email::before { content: "@"; }
.ed-contact-detail--location::before { content: "⌖"; }

.ed-contact-detail__title {
  margin: 0 0 2px;
  color: var(--ed-ink);
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ed-contact-detail__text {
  margin: 0;
  color: var(--ed-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.ed-contact-detail__text a {
  color: inherit;
  text-decoration: none;
}

.ed-contact-main__form > .kt-inside-inner-col,
.ed-appointment-main__form > .kt-inside-inner-col,
.ed-form-detail__form > .kt-inside-inner-col {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 23px;
  background: var(--ed-ice);
  box-shadow: 0 18px 42px rgba(6, 40, 58, 0.09);
}

.ed-contact-form__title,
.ed-appointment-form__title,
.ed-form-detail__title {
  margin: 0 0 12px;
  color: var(--ed-ink);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.ed-contact-form__intro {
  margin: 0 0 28px;
  color: var(--ed-muted);
  line-height: 1.6;
}

.ed-dentor-interior .gform_wrapper {
  margin: 0;
}

.ed-dentor-interior .gform_wrapper .gform_fields {
  gap: 18px;
}

.ed-dentor-interior .gform_wrapper label,
.ed-dentor-interior .gform_wrapper .gfield_label {
  color: var(--ed-ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.ed-dentor-interior .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.ed-dentor-interior .gform_wrapper select,
.ed-dentor-interior .gform_wrapper textarea {
  min-height: 52px;
  border: 1px solid rgba(6, 40, 58, 0.14);
  border-radius: 11px;
  color: var(--ed-ink);
  background: #fff;
  box-shadow: none;
}

.ed-dentor-interior .gform_wrapper textarea {
  min-height: 135px;
}

.ed-dentor-interior .gform_wrapper .gform_button,
.ed-dentor-interior .gform_wrapper input[type="submit"] {
  min-height: 51px;
  padding: 0 27px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ed-blue);
  font-weight: 800;
  cursor: pointer;
}

.ed-contact-map {
  padding-top: 0;
  background: #fff;
}

.ed-contact-map > .kt-row-column-wrap,
.ed-contact-map > .kt-row-layout-inner > .kt-row-column-wrap {
  padding-top: 0;
}

.ed-map {
  width: 100%;
  height: 490px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(6, 40, 58, 0.1);
}

.ed-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ed-contact-hours {
  background: var(--ed-ice);
}

.ed-contact-hours > .kt-row-column-wrap,
.ed-contact-hours > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr) !important;
  align-items: center;
  gap: clamp(55px, 8vw, 110px);
}

.ed-contact-hours__image {
  height: 540px;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 110px 24px 24px 24px;
  box-shadow: var(--ed-shadow);
}

.ed-contact-hours__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-appointment-note,
.ed-download-panel {
  margin-top: 30px;
  padding: 25px;
  border-radius: 17px;
  background: var(--ed-ice);
}

.ed-appointment-note__title,
.ed-download-panel__title {
  margin: 0 0 8px;
  color: var(--ed-ink);
  font-size: 1.15rem;
  font-weight: 800;
}

.ed-appointment-note__text,
.ed-download-panel__text {
  margin: 0;
  color: var(--ed-muted);
  line-height: 1.6;
}

.ed-appointment-steps > .kt-row-column-wrap,
.ed-appointment-steps > .kt-row-layout-inner > .kt-row-column-wrap {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px;
  padding-top: 0;
}

.ed-step-card > .kt-inside-inner-col {
  height: 100%;
  padding: 32px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(145deg, var(--ed-navy-deep), var(--ed-navy));
  box-shadow: 0 20px 45px rgba(3, 29, 44, 0.14);
}

.ed-step-card__number {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin: 0 0 23px;
  border-radius: 50%;
  color: var(--ed-blue-dark);
  background: var(--ed-mint);
  font-weight: 900;
}

.ed-step-card__title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
}

.ed-step-card__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

/* Reviews. */
.ed-reviews-page {
  background: #fff;
}

.ed-reviews-page > .kt-row-column-wrap,
.ed-reviews-page > .kt-row-layout-inner > .kt-row-column-wrap {
  display: block !important;
}

.ed-reviews-page__shell > .kt-inside-inner-col {
  width: min(100%, 1020px);
  margin-inline: auto;
}

.ed-reviews-page .ed-section-title,
.ed-reviews-page .ed-body-large {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.ed-reviews-page .ed-kicker {
  justify-content: center;
}

.ed-reviews-page .ed-body-large {
  margin-top: 22px;
}

.ed-reviews-page .ed-trustindex-placeholder {
  display: none;
}

.ed-reviews-page script + div,
.ed-reviews-page .ti-widget,
.ed-reviews-page [class*="trustindex"] {
  margin-top: 38px;
}

/* Education page and Post Grid. */
.ed-education-page .ed-actions {
  margin-top: 28px;
}

.ed-blog-postgrid {
  margin-top: 52px;
}

.ed-blog-postgrid .kt-blocks-post-grid-item,
.ed-blog-postgrid article {
  overflow: hidden;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 15px 36px rgba(6, 40, 58, 0.08);
}

.ed-blog-postgrid .entry-content,
.ed-blog-postgrid .kt-blocks-post-grid-item-inner {
  padding: 24px;
}

.ed-blog-postgrid .entry-title,
.ed-blog-postgrid .entry-title a {
  color: var(--ed-ink);
  font-weight: 800;
}

/* Forms directory/detail. */
.ed-form-directory__grid > .kt-row-column-wrap,
.ed-form-directory__grid > .kt-row-layout-inner > .kt-row-column-wrap {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 25px;
  padding: 45px 0 0 !important;
}

.ed-form-directory__card > .kt-inside-inner-col {
  height: 100%;
}

.ed-form-directory__card .ed-interior-card {
  min-height: 250px;
}

.ed-form-card--dental {
  border-top: 5px solid var(--ed-blue);
}

.ed-form-card--medical {
  border-top: 5px solid var(--ed-red);
}

.ed-download-panel {
  margin-top: 28px;
  border: 1px solid rgba(6, 40, 58, 0.08);
  background: #fff;
}

.ed-download-panel__links {
  margin: 0 0 12px;
  line-height: 1.9;
}

.ed-download-panel__links a {
  color: var(--ed-blue-dark);
  font-weight: 750;
}

/* Search and confirmation. */
.ed-search-page__shell > .kt-inside-inner-col,
.ed-confirmation__shell > .kt-inside-inner-col {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.ed-search-page .ed-kicker,
.ed-confirmation .ed-kicker {
  justify-content: center;
}

.ed-search-page .ed-section-title,
.ed-search-page .ed-body-large,
.ed-confirmation .ed-section-title,
.ed-confirmation .ed-body-large {
  margin-inline: auto;
}

.ed-site-search {
  max-width: 760px;
  margin: 36px auto 0;
}

.ed-site-search .wp-block-search__inside-wrapper {
  min-height: 64px;
  padding: 6px;
  border: 1px solid rgba(6, 40, 58, 0.14);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(6, 40, 58, 0.09);
}

.ed-site-search .wp-block-search__input {
  border: 0;
  outline: 0;
  box-shadow: none;
}

.ed-site-search .wp-block-search__button {
  margin: 0;
  padding: 0 25px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ed-blue);
  font-weight: 800;
}

.ed-confirmation {
  background: var(--ed-ice);
}

.ed-confirmation .ed-actions {
  justify-content: center;
  margin-top: 30px;
}

/* Single articles, archives, search results and 404. */
.ed-dentor-single-post .content-area,
.ed-dentor-content-archive .content-area,
.ed-dentor-404 .content-area {
  margin-top: 0;
  margin-bottom: 0;
}

.ed-dentor-single-post .site-main,
.ed-dentor-content-archive .site-main,
.ed-dentor-404 .site-main {
  font-family: var(--ed-font);
}

.ed-dentor-single-post .entry-hero-container-inner,
.ed-dentor-content-archive .entry-hero-container-inner,
.ed-dentor-404 .entry-hero-container-inner {
  color: #fff;
  background: linear-gradient(115deg, var(--ed-navy-deep), var(--ed-navy));
}

.ed-dentor-single-post .entry-hero-container-inner .entry-title,
.ed-dentor-content-archive .entry-hero-container-inner .entry-title,
.ed-dentor-404 .entry-hero-container-inner .entry-title {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.ed-dentor-single-post .content-container,
.ed-dentor-content-archive .content-container,
.ed-dentor-404 .content-container {
  max-width: 1250px;
}

.ed-dentor-single-post .entry-content-wrap,
.ed-dentor-content-archive .entry-content-wrap,
.ed-dentor-404 .entry-content-wrap {
  border-radius: 22px;
  box-shadow: 0 15px 40px rgba(6, 40, 58, 0.08);
}

.ed-dentor-single-post .entry-content {
  color: #405662;
  font-size: 1rem;
  line-height: 1.78;
}

.ed-dentor-single-post .entry-content h2,
.ed-dentor-single-post .entry-content h3,
.ed-dentor-single-post .entry-content h4 {
  color: var(--ed-ink);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ed-dentor-single-post .entry-content h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.08;
}

.ed-dentor-single-post .entry-content h3 {
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

.ed-dentor-single-post .entry-content img,
.ed-dentor-single-post .entry-content iframe,
.ed-dentor-single-post .entry-content video {
  border-radius: 18px;
}

.ed-dentor-content-archive .loop-entry {
  overflow: hidden;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 19px;
  box-shadow: 0 15px 36px rgba(6, 40, 58, 0.08);
}

.ed-dentor-content-archive .loop-entry .entry-title,
.ed-dentor-content-archive .loop-entry .entry-title a {
  color: var(--ed-ink);
  font-weight: 800;
}

.ed-post-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 38px;
  margin-top: 55px;
  padding: clamp(30px, 5vw, 48px);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(115deg, var(--ed-navy-deep), var(--ed-navy));
}

.ed-post-cta__kicker {
  display: block;
  margin-bottom: 11px;
  color: #8de0fb;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.ed-post-cta h2 {
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: clamp(1.8rem, 3vw, 2.7rem) !important;
}

.ed-post-cta p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.ed-post-cta__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ed-post-cta__button,
.ed-post-cta__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none !important;
}

.ed-post-cta__button {
  color: #fff;
  background: var(--ed-blue);
}

.ed-post-cta__phone {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

/* Keep menu treatment consistent after adding Reviews. */
.header-navigation .menu-item.ed-menu-cta > a,
.mobile-navigation .menu-item.ed-menu-cta > a {
  color: #fff !important;
  background: var(--ed-blue);
  border-radius: 999px;
}

/* Editor canvas. */
.editor-styles-wrapper .ed-page-hero,
.editor-styles-wrapper .ed-interior-section {
  max-width: none;
}

.editor-styles-wrapper .ed-trustindex-placeholder {
  display: flex;
  min-height: 170px;
  margin-top: 26px;
  padding: 28px;
  border: 1px dashed rgba(6, 40, 58, 0.24);
  border-radius: 17px;
  background: var(--ed-ice);
  color: var(--ed-ink);
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  text-align: center;
}

/* Responsive. */
@media (max-width: 1100px) {
  .ed-procedure-grid--four > .kt-row-column-wrap,
  .ed-procedure-grid--four > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ed-about-profile > .kt-inside-inner-col {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .ed-about-profile__image {
    min-height: 500px;
  }
}

@media (max-width: 900px) {
  .ed-hub-intro > .kt-row-column-wrap,
  .ed-hub-intro > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-detail-main > .kt-row-column-wrap,
  .ed-detail-main > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-about-history > .kt-row-column-wrap,
  .ed-about-history > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-contact-main > .kt-row-column-wrap,
  .ed-contact-main > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-appointment-main > .kt-row-column-wrap,
  .ed-appointment-main > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-form-detail > .kt-row-column-wrap,
  .ed-form-detail > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-contact-hours > .kt-row-column-wrap,
  .ed-contact-hours > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-interior-faq > .kt-row-column-wrap,
  .ed-interior-faq > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: 1fr !important;
  }

  .ed-procedure-grid > .kt-row-column-wrap,
  .ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-service-groups > .kt-row-column-wrap,
  .ed-service-groups > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ed-detail-main__sidebar > .kt-inside-inner-col {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ed-about-profile-grid > .kt-row-column-wrap,
  .ed-about-profile-grid > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-team-grid > .kt-row-column-wrap,
  .ed-team-grid > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: 1fr !important;
  }

  .ed-about-profile > .kt-inside-inner-col {
    grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr);
  }

  .ed-contact-hours__image,
  .ed-hub-intro__image {
    height: 500px;
  }

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

@media (max-width: 700px) {
  .ed-page-hero {
    width: calc(100% - 24px);
    margin-top: 14px;
    border-radius: 20px;
  }

  .ed-page-hero > .kt-row-column-wrap,
  .ed-page-hero > .kt-row-layout-inner > .kt-row-column-wrap {
    min-height: 330px;
    padding: 50px 25px !important;
  }

  .ed-page-hero__title {
    font-size: clamp(2.35rem, 11vw, 3.7rem);
  }

  .ed-interior-section > .kt-row-column-wrap,
  .ed-interior-section > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-interior-section .ed-procedure-grid > .kt-row-column-wrap,
  .ed-interior-section .ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-interior-section .ed-about-profile-grid > .kt-row-column-wrap,
  .ed-interior-section .ed-about-profile-grid > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-interior-section .ed-team-grid > .kt-row-column-wrap,
  .ed-interior-section .ed-team-grid > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-interior-section .ed-form-directory__grid > .kt-row-column-wrap,
  .ed-interior-section .ed-form-directory__grid > .kt-row-layout-inner > .kt-row-column-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ed-procedure-grid > .kt-row-column-wrap,
  .ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-procedure-grid--four > .kt-row-column-wrap,
  .ed-procedure-grid--four > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-service-groups > .kt-row-column-wrap,
  .ed-service-groups > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-appointment-steps > .kt-row-column-wrap,
  .ed-appointment-steps > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-form-directory__grid > .kt-row-column-wrap,
  .ed-form-directory__grid > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: 1fr !important;
  }

  .ed-procedure-card__image {
    height: 245px;
  }

  .ed-procedure-card__text {
    min-height: 0;
  }

  .ed-detail-main__sidebar > .kt-inside-inner-col {
    grid-template-columns: 1fr;
  }

  .ed-about-history__visual {
    min-height: 500px;
  }

  .ed-about-history__office {
    width: 90%;
    height: 490px;
  }

  .ed-about-profile > .kt-inside-inner-col,
  .ed-team-card > .kt-inside-inner-col {
    display: block;
  }

  .ed-about-profile__image,
  .ed-team-card__image {
    width: 100%;
    height: 400px;
    min-height: 0;
  }

  .ed-team-card__name,
  .ed-team-card__role,
  .ed-team-card__text {
    margin-left: 27px;
    margin-right: 27px;
  }

  .ed-contact-main__form > .kt-inside-inner-col,
  .ed-appointment-main__form > .kt-inside-inner-col,
  .ed-form-detail__form > .kt-inside-inner-col {
    padding: 25px;
  }

  .ed-contact-hours__image,
  .ed-hub-intro__image {
    height: 430px;
  }

  .ed-map {
    height: 390px;
  }

  .ed-post-cta__actions {
    align-items: stretch;
  }

  .ed-post-cta__button,
  .ed-post-cta__phone {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .ed-page-hero__crumbs {
    border-radius: 14px;
  }

  .ed-about-history__visual {
    min-height: 430px;
  }

  .ed-about-history__office {
    height: 420px;
  }

  .ed-about-history .ed-year-badge {
    width: 94px;
    height: 94px;
  }

  .ed-about-profile__image,
  .ed-team-card__image {
    height: 350px;
  }

  .ed-contact-hours__image,
  .ed-hub-intro__image {
    height: 380px;
    border-radius: 70px 19px 19px 19px;
  }
}

/* Family Dentistry life-stage navigation. */
.ed-family-stages {
  background: #fff;
}

.ed-family-stages > .kt-row-column-wrap,
.ed-family-stages > .kt-row-layout-inner > .kt-row-column-wrap {
  display: block !important;
}

.ed-family-stages .ed-section-title {
  max-width: 860px;
}

.ed-family-stages .ed-body-large {
  max-width: 790px;
  margin-top: 22px;
}

.ed-family-stage-grid > .kt-row-column-wrap,
.ed-family-stage-grid > .kt-row-layout-inner > .kt-row-column-wrap {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px;
  padding: 46px 0 0 !important;
}

.ed-family-stage-card > .kt-inside-inner-col {
  height: 100%;
  padding: 30px;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 20px;
  background: var(--ed-ice);
  box-shadow: 0 14px 34px rgba(6, 40, 58, 0.07);
}

.ed-family-stage-card__title {
  margin: 0 0 13px;
  color: var(--ed-ink);
  font-size: 1.28rem;
  line-height: 1.15;
  font-weight: 800;
  scroll-margin-top: 150px;
}

.ed-family-stage-card__text {
  margin: 0;
  color: var(--ed-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .ed-family-stage-grid > .kt-row-column-wrap,
  .ed-family-stage-grid > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .ed-family-stage-grid > .kt-row-column-wrap,
  .ed-family-stage-grid > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
 * 2.1.0 interior photography and editorial layout refinements.
 * These rules support the current 2026 Media Library images without copying
 * them into the theme or changing the approved homepage.
 * -------------------------------------------------------------------------- */

.ed-image-focus-top img {
  object-position: center 18% !important;
}

.ed-button--outline .wp-block-button__link {
  color: var(--ed-blue-dark);
  border-color: rgba(7, 135, 196, 0.34);
  background: #fff;
}

.ed-button--outline .wp-block-button__link:hover,
.ed-button--outline .wp-block-button__link:focus-visible {
  color: #fff;
  border-color: var(--ed-blue);
  background: var(--ed-blue);
}

.ed-button--dark .wp-block-button__link {
  color: #fff;
  background: var(--ed-navy);
}

.ed-button--dark .wp-block-button__link:hover,
.ed-button--dark .wp-block-button__link:focus-visible {
  background: var(--ed-navy-deep);
}

/* Reusable Dentor-style two-image composition. */
.ed-interior-collage {
  position: relative;
  width: 100%;
  max-width: 570px;
  min-height: 580px;
  margin: 0 auto;
}

.ed-interior-collage__primary {
  width: 82%;
  height: 540px;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 48% 48% 24px 24px;
  background: #dfeff4;
  box-shadow: var(--ed-shadow);
}

.ed-interior-collage__primary img,
.ed-interior-collage__accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-interior-collage__primary img {
  object-position: center;
}

.ed-interior-collage__accent {
  position: absolute;
  right: 0;
  bottom: 24px;
  z-index: 2;
  width: 46%;
  height: 220px;
  margin: 0 !important;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(3, 35, 51, 0.18);
}

.ed-services-story,
.ed-hub-intro,
.ed-detail-intro,
.ed-generations,
.ed-about-reviews,
.ed-reviews-page,
.ed-confirmation,
.ed-search-page {
  background: #fff;
}

.ed-services-story > .kt-row-column-wrap,
.ed-services-story > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-hub-intro > .kt-row-column-wrap,
.ed-hub-intro > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-detail-intro > .kt-row-column-wrap,
.ed-detail-intro > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-generations > .kt-row-column-wrap,
.ed-generations > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-about-reviews > .kt-row-column-wrap,
.ed-about-reviews > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-reviews-page > .kt-row-column-wrap,
.ed-reviews-page > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-confirmation > .kt-row-column-wrap,
.ed-confirmation > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-search-page > .kt-row-column-wrap,
.ed-search-page > .kt-row-layout-inner > .kt-row-column-wrap {
  display: grid !important;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr) !important;
  align-items: center;
  gap: clamp(54px, 8vw, 112px);
}

.ed-services-story__copy .ed-section-title,
.ed-hub-intro__copy .ed-section-title,
.ed-detail-intro__copy .ed-section-title,
.ed-generations__copy .ed-section-title,
.ed-about-reviews__copy .ed-section-title,
.ed-reviews-page__shell .ed-section-title {
  max-width: 720px;
}

.ed-services-story__copy .ed-body-large,
.ed-hub-intro__copy .ed-body-large,
.ed-detail-intro__copy .ed-body-large,
.ed-generations__copy .ed-body-large,
.ed-about-reviews__copy .ed-body-large,
.ed-reviews-page__shell .ed-body-large {
  margin-top: 24px;
}

.ed-services-story__copy .ed-checklist,
.ed-hub-intro__copy .ed-checklist,
.ed-detail-intro__copy .ed-checklist {
  margin-top: 26px;
}

.ed-services-story__copy .ed-actions,
.ed-hub-intro__copy .ed-actions,
.ed-detail-intro__copy .ed-actions {
  margin-top: 30px;
}

.ed-services-story__visual .ed-interior-collage__primary {
  width: 86%;
  height: 510px;
  border-radius: 110px 24px 24px 24px;
}

.ed-detail-intro {
  background: var(--ed-ice);
}

.ed-detail-intro__visual .ed-interior-collage__primary {
  border-radius: 28px 110px 28px 28px;
}

.ed-detail-main__content > .kt-inside-inner-col,
.ed-articles__shell > .kt-inside-inner-col,
.ed-family-stages__shell > .kt-inside-inner-col,
.ed-contact-map__shell > .kt-inside-inner-col {
  width: 100%;
}

/* Family life-stage photography. */
.ed-family-stage-card > .kt-inside-inner-col {
  height: 100%;
  padding: 0 0 28px;
  overflow: hidden;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 15px 36px rgba(6, 40, 58, 0.08);
}

.ed-family-stage-card__image {
  width: 100%;
  height: 220px;
  margin: 0 0 24px !important;
  overflow: hidden;
}

.ed-family-stage-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-family-stage-card__title,
.ed-family-stage-card__text {
  margin-left: 24px;
  margin-right: 24px;
}

.ed-family-stage-card__title {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--ed-ink);
  font-size: 1.2rem;
  line-height: 1.18;
  font-weight: 800;
}

.ed-family-stage-card__text {
  margin-bottom: 0;
  color: var(--ed-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* About-page layered imagery and alternating story rows. */
.ed-about-history__family {
  position: absolute;
  right: 0;
  bottom: 30px;
  z-index: 3;
  width: 46%;
  height: 225px;
  margin: 0 !important;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(3, 35, 51, 0.18);
}

.ed-about-history__family img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-generations {
  background: var(--ed-ice);
}

.ed-generations__image,
.ed-about-reviews__image,
.ed-reviews-page__image,
.ed-confirmation__image,
.ed-search-page__image,
.ed-contact-main__image,
.ed-education-page__image,
.ed-form-directory__image,
.ed-form-detail__image {
  width: 100%;
  margin: 0 !important;
  overflow: hidden;
  box-shadow: var(--ed-shadow);
}

.ed-generations__image {
  height: 520px;
  border-radius: 24px 110px 24px 24px;
}

.ed-about-reviews__image,
.ed-reviews-page__image {
  height: 540px;
  border-radius: 110px 24px 24px 24px;
}

.ed-generations__image img,
.ed-about-reviews__image img,
.ed-reviews-page__image img,
.ed-confirmation__image img,
.ed-search-page__image img,
.ed-contact-main__image img,
.ed-education-page__image img,
.ed-form-directory__image img,
.ed-form-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-about-reviews {
  background: #fff;
}

.ed-about-reviews .ed-trustindex-placeholder,
.ed-reviews-page .ed-trustindex-placeholder {
  display: none;
}

.ed-about-reviews script + div,
.ed-about-reviews .ti-widget,
.ed-about-reviews [class*="trustindex"],
.ed-reviews-page script + div,
.ed-reviews-page .ti-widget,
.ed-reviews-page [class*="trustindex"] {
  margin-top: 34px;
}

/* Contact, appointment, education, forms and utility-page image blocks. */
.ed-contact-main__image {
  height: 340px;
  margin-bottom: 38px !important;
  border-radius: 24px 95px 24px 24px;
}

.ed-appointment-main__visual {
  max-width: 560px;
  margin: 0 0 42px;
}

.ed-appointment-main__visual.ed-interior-collage {
  min-height: 500px;
}

.ed-appointment-main__visual .ed-interior-collage__primary {
  height: 470px;
}

.ed-education-page__top,
.ed-form-directory__top {
  margin-bottom: 64px;
}

.ed-education-page__top > .kt-row-column-wrap,
.ed-education-page__top > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-form-directory__top > .kt-row-column-wrap,
.ed-form-directory__top > .kt-row-layout-inner > .kt-row-column-wrap {
  display: grid !important;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr) !important;
  align-items: center;
  gap: clamp(50px, 7vw, 96px);
  padding: 0 !important;
}

.ed-education-page__image,
.ed-form-directory__image {
  height: 430px;
  border-radius: 100px 24px 24px 24px;
}

.ed-form-directory__intro .ed-body-large,
.ed-education-page__intro .ed-body-large {
  margin-top: 23px;
}

.ed-form-detail__image {
  height: 360px;
  margin-bottom: 36px !important;
  border-radius: 24px 90px 24px 24px;
}

.ed-confirmation,
.ed-search-page {
  background: var(--ed-ice);
}

.ed-confirmation__image,
.ed-search-page__image {
  height: 500px;
  border-radius: 110px 24px 24px 24px;
}

.ed-search-page__shell > .kt-inside-inner-col,
.ed-confirmation__shell > .kt-inside-inner-col {
  max-width: none;
  margin-inline: 0;
  text-align: left;
}

.ed-search-page .ed-kicker,
.ed-confirmation .ed-kicker {
  justify-content: flex-start;
}

.ed-search-page .ed-section-title,
.ed-search-page .ed-body-large,
.ed-confirmation .ed-section-title,
.ed-confirmation .ed-body-large {
  margin-inline: 0;
}

.ed-confirmation .ed-actions {
  justify-content: flex-start;
}

.ed-form-card {
  height: 100%;
}

/* Responsive treatment for new interior compositions. */
@media (max-width: 1000px) {
  .ed-services-story > .kt-row-column-wrap,
  .ed-services-story > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-hub-intro > .kt-row-column-wrap,
  .ed-hub-intro > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-detail-intro > .kt-row-column-wrap,
  .ed-detail-intro > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-generations > .kt-row-column-wrap,
  .ed-generations > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-about-reviews > .kt-row-column-wrap,
  .ed-about-reviews > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-reviews-page > .kt-row-column-wrap,
  .ed-reviews-page > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-confirmation > .kt-row-column-wrap,
  .ed-confirmation > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-search-page > .kt-row-column-wrap,
  .ed-search-page > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-education-page__top > .kt-row-column-wrap,
  .ed-education-page__top > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-form-directory__top > .kt-row-column-wrap,
  .ed-form-directory__top > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 44px;
  }

  .ed-interior-collage {
    min-height: 530px;
  }

  .ed-interior-collage__primary {
    height: 500px;
  }

  .ed-interior-collage__accent {
    height: 190px;
  }
}

@media (max-width: 780px) {
  .ed-services-story > .kt-row-column-wrap,
  .ed-services-story > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-hub-intro > .kt-row-column-wrap,
  .ed-hub-intro > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-detail-intro > .kt-row-column-wrap,
  .ed-detail-intro > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-generations > .kt-row-column-wrap,
  .ed-generations > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-about-reviews > .kt-row-column-wrap,
  .ed-about-reviews > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-reviews-page > .kt-row-column-wrap,
  .ed-reviews-page > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-confirmation > .kt-row-column-wrap,
  .ed-confirmation > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-search-page > .kt-row-column-wrap,
  .ed-search-page > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-education-page__top > .kt-row-column-wrap,
  .ed-education-page__top > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-form-directory__top > .kt-row-column-wrap,
  .ed-form-directory__top > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: 1fr !important;
  }

  .ed-interior-collage {
    max-width: 620px;
    min-height: 530px;
  }

  .ed-interior-collage__primary,
  .ed-services-story__visual .ed-interior-collage__primary {
    width: 84%;
    height: 500px;
  }

  .ed-interior-collage__accent {
    width: 44%;
    height: 190px;
  }

  .ed-contact-main__image,
  .ed-form-detail__image {
    height: 320px;
  }

  .ed-generations__image,
  .ed-about-reviews__image,
  .ed-reviews-page__image,
  .ed-confirmation__image,
  .ed-search-page__image {
    height: 430px;
  }

  .ed-education-page__image,
  .ed-form-directory__image {
    height: 380px;
  }
}

@media (max-width: 520px) {
  .ed-interior-collage {
    min-height: 440px;
  }

  .ed-interior-collage__primary,
  .ed-services-story__visual .ed-interior-collage__primary {
    width: 88%;
    height: 415px;
    border-radius: 72px 20px 20px 20px;
  }

  .ed-interior-collage__accent {
    bottom: 12px;
    width: 47%;
    height: 155px;
    border-width: 6px;
    border-radius: 16px;
  }

  .ed-about-history__family {
    width: 50%;
    height: 170px;
    border-width: 6px;
  }

  .ed-family-stage-card__image {
    height: 205px;
  }

  .ed-contact-main__image,
  .ed-form-detail__image,
  .ed-education-page__image,
  .ed-form-directory__image {
    height: 285px;
    border-radius: 58px 18px 18px 18px;
  }

  .ed-generations__image,
  .ed-about-reviews__image,
  .ed-reviews-page__image,
  .ed-confirmation__image,
  .ed-search-page__image {
    height: 340px;
    border-radius: 68px 18px 18px 18px;
  }
}

/* 2.1.1 — normalized treatment copy.
 * Legacy Kadence rows from the pre-redesign pages are retained only in the
 * rollback backup. The live treatment body uses a clean editorial flow that
 * fills the available content column and aligns with the Dentor design system.
 */
.ed-detail-editorial {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid rgba(6, 40, 58, 0.11);
}

.ed-detail-editorial__section {
  padding: 32px 0 34px;
  border-bottom: 1px solid rgba(6, 40, 58, 0.11);
}

.ed-detail-editorial__section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ed-detail-editorial__title {
  max-width: 720px;
  margin: 0 0 14px;
  color: var(--ed-ink);
  font-size: clamp(1.35rem, 2.2vw, 1.82rem);
  line-height: 1.17;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.ed-detail-editorial__text {
  max-width: 780px;
  margin: 0;
  color: #455b67;
  font-size: 1rem;
  line-height: 1.76;
}

.ed-detail-editorial__text + .ed-detail-editorial__text {
  margin-top: 15px;
}

.ed-detail-editorial__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin-top: 21px;
  margin-bottom: 0;
}

.ed-detail-editorial__list li {
  margin: 0;
  color: #455b67;
  line-height: 1.55;
}

@media (max-width: 780px) {
  .ed-detail-editorial {
    margin-top: 28px;
  }

  .ed-detail-editorial__section {
    padding: 27px 0 29px;
  }

  .ed-detail-editorial__list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* 2.1.3 — early patient-review proof for service pages. */
.ed-service-proof {
  background:
    radial-gradient(circle at 92% 12%, rgba(7, 135, 196, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4fbfd 100%);
}

.ed-service-proof > .kt-row-column-wrap,
.ed-service-proof > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr) !important;
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.ed-service-proof__media,
.ed-service-proof__content {
  position: relative;
}

.ed-service-proof__image-card {
  position: relative;
  width: min(100%, 500px);
  margin: 0 auto;
}

.ed-service-proof__image-card::before {
  content: "";
  position: absolute;
  inset: 22px -20px -22px 24px;
  z-index: -1;
  border-radius: 28px 92px 28px 28px;
  background: rgba(7, 135, 196, 0.11);
  transform: rotate(2deg);
}

.ed-service-proof__social-image {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 26px 96px 26px 26px;
  background: #fff;
  box-shadow: 0 26px 58px rgba(5, 37, 54, 0.15);
  transform: translateZ(0);
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.ed-service-proof__social-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 34px 70px rgba(5, 37, 54, 0.19);
}

.ed-service-proof__social-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.ed-service-proof__content .ed-section-title {
  max-width: 700px;
}

.ed-service-proof__content .ed-body-large {
  max-width: 760px;
  margin-top: 22px;
}

.ed-service-proof__link {
  margin: 20px 0 0;
}

.ed-service-proof__widget {
  min-height: 300px;
  margin-top: 30px;
  padding: clamp(18px, 2.5vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(6, 40, 58, 0.09);
}

.ed-service-proof__widget .ed-trustindex-placeholder {
  min-height: 230px;
  margin: 0;
}

.ed-service-proof__widget .ti-widget,
.ed-service-proof__widget [class*="trustindex"],
.ed-service-proof__widget script + div {
  width: 100%;
  max-width: 100%;
}

/* Directional and staggered motion used by the homepage design. */
.ed-animations-ready .ed-reveal.ed-reveal--left {
  transform: translateX(-34px);
}

.ed-animations-ready .ed-reveal.ed-reveal--right {
  transform: translateX(34px);
}

.ed-animations-ready .ed-reveal.ed-reveal--delay-1 {
  transition-delay: 120ms;
}

.ed-animations-ready .ed-reveal.ed-reveal--left.is-visible,
.ed-animations-ready .ed-reveal.ed-reveal--right.is-visible {
  transform: none;
}

/* Stagger service cards after their containing section enters the viewport. */
.ed-animations-ready .ed-interior-section.ed-reveal .ed-procedure-card,
.ed-animations-ready .ed-interior-section.ed-reveal .ed-family-stage-card,
.ed-animations-ready .ed-interior-section.ed-reveal .ed-service-group,
.ed-animations-ready .ed-interior-section.ed-reveal .ed-detail-editorial__section,
.ed-animations-ready .ed-interior-section.ed-reveal .ed-detail-sidebar__panel,
.ed-animations-ready .ed-interior-section.ed-reveal .ed-faq-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-procedure-card,
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-family-stage-card,
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-service-group,
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-detail-editorial__section,
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-detail-sidebar__panel,
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-faq-item {
  opacity: 1;
  transform: none;
}

.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-procedure-card:nth-child(2),
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-family-stage-card:nth-child(2),
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-service-group:nth-child(2),
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-detail-editorial__section:nth-child(2),
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-detail-sidebar__panel:nth-child(2),
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-faq-item:nth-child(2) {
  transition-delay: 90ms;
}

.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-procedure-card:nth-child(3),
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-family-stage-card:nth-child(3),
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-service-group:nth-child(3),
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-detail-editorial__section:nth-child(3),
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-faq-item:nth-child(3) {
  transition-delay: 180ms;
}

.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-procedure-card:nth-child(4),
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-family-stage-card:nth-child(4),
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-detail-editorial__section:nth-child(4),
.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-faq-item:nth-child(4) {
  transition-delay: 270ms;
}

@media (max-width: 1000px) {
  .ed-service-proof > .kt-row-column-wrap,
  .ed-service-proof > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr) !important;
    gap: 42px;
  }
}

@media (max-width: 780px) {
  .ed-service-proof > .kt-row-column-wrap,
  .ed-service-proof > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: 1fr !important;
  }

  .ed-service-proof__image-card {
    max-width: 480px;
  }

  .ed-service-proof__widget {
    min-height: 260px;
  }
}

@media (max-width: 520px) {
  .ed-service-proof__image-card::before {
    inset: 14px -10px -14px 15px;
    border-radius: 22px 60px 22px 22px;
  }

  .ed-service-proof__social-image {
    border-radius: 22px 60px 22px 22px;
  }

  .ed-service-proof__widget {
    padding: 15px;
    border-radius: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ed-service-proof__social-image,
  .ed-animations-ready .ed-reveal.ed-reveal--left,
  .ed-animations-ready .ed-reveal.ed-reveal--right,
  .ed-animations-ready .ed-interior-section.ed-reveal .ed-procedure-card,
  .ed-animations-ready .ed-interior-section.ed-reveal .ed-family-stage-card,
  .ed-animations-ready .ed-interior-section.ed-reveal .ed-service-group,
  .ed-animations-ready .ed-interior-section.ed-reveal .ed-detail-editorial__section,
  .ed-animations-ready .ed-interior-section.ed-reveal .ed-detail-sidebar__panel,
  .ed-animations-ready .ed-interior-section.ed-reveal .ed-faq-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Additional staged motion for treatment copy and FAQ items. */
.ed-animations-ready .ed-detail-main.ed-reveal .ed-detail-editorial__section,
.ed-animations-ready .ed-interior-faq.ed-reveal .ed-faq-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease, transform 480ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.ed-animations-ready .ed-detail-main.ed-reveal.is-visible .ed-detail-editorial__section,
.ed-animations-ready .ed-interior-faq.ed-reveal.is-visible .ed-faq-item {
  opacity: 1;
  transform: none;
}

.ed-animations-ready .ed-detail-main.ed-reveal.is-visible .ed-detail-editorial__section:nth-child(2),
.ed-animations-ready .ed-interior-faq.ed-reveal.is-visible .ed-faq-item:nth-child(2) {
  transition-delay: 75ms;
}

.ed-animations-ready .ed-detail-main.ed-reveal.is-visible .ed-detail-editorial__section:nth-child(3),
.ed-animations-ready .ed-interior-faq.ed-reveal.is-visible .ed-faq-item:nth-child(3) {
  transition-delay: 150ms;
}

.ed-animations-ready .ed-detail-main.ed-reveal.is-visible .ed-detail-editorial__section:nth-child(4),
.ed-animations-ready .ed-interior-faq.ed-reveal.is-visible .ed-faq-item:nth-child(4) {
  transition-delay: 225ms;
}

@media (prefers-reduced-motion: reduce) {
  .ed-animations-ready .ed-detail-main.ed-reveal .ed-detail-editorial__section,
  .ed-animations-ready .ed-interior-faq.ed-reveal .ed-faq-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* 2.1.4 — visual balance across service and treatment pages.
 * The review proof is intentionally compact: the Trustindex image and live
 * reviews already communicate the message without another oversized heading.
 */
.ed-service-proof > .kt-row-column-wrap,
.ed-service-proof > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(270px, 360px) minmax(0, 1fr) !important;
  align-items: center;
  gap: clamp(34px, 5vw, 68px);
  padding-top: clamp(46px, 5vw, 66px);
  padding-bottom: clamp(46px, 5vw, 66px);
}

.ed-service-proof__media,
.ed-service-proof__content {
  min-width: 0;
}

.ed-service-proof__image-card {
  width: min(100%, 360px);
}

.ed-service-proof__image-card::before {
  inset: 15px -14px -15px 17px;
  border-radius: 24px 70px 24px 24px;
  transform: rotate(1.4deg);
}

.ed-service-proof__social-image {
  border-radius: 22px 72px 22px 22px;
  box-shadow: 0 20px 46px rgba(5, 37, 54, 0.13);
}

.ed-service-proof__social-image:hover {
  transform: translateY(-3px);
  box-shadow: 0 27px 58px rgba(5, 37, 54, 0.17);
}

.ed-service-proof__content > .kt-inside-inner-col {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
}

/* Also neutralize the superseded 2.1.3 headline before the focused refresh is run. */
.ed-service-proof__content > .kt-inside-inner-col > .ed-kicker,
.ed-service-proof__content > .kt-inside-inner-col > .ed-section-title,
.ed-service-proof__content > .kt-inside-inner-col > .ed-body-large {
  display: none;
}

.ed-service-proof__eyebrow {
  margin: 0 0 10px;
  color: var(--ed-red-text);
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ed-service-proof__widget {
  min-height: 250px;
  margin-top: 0;
  padding: clamp(14px, 2vw, 22px);
  border-radius: 20px;
  box-shadow: 0 15px 36px rgba(6, 40, 58, 0.08);
}

.ed-service-proof__widget .ed-trustindex-placeholder {
  min-height: 205px;
}

.ed-service-proof__link {
  margin: 14px 0 0;
  font-size: 0.82rem;
}

/* Balance procedure grids according to the actual number of cards. */
.ed-procedure-card > .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
}

.ed-procedure-card__text {
  min-height: 0;
}

.ed-procedure-card__link {
  margin-top: auto;
}

.ed-procedure-grid--four > .kt-row-column-wrap,
.ed-procedure-grid--four > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-procedure-grid--count-4 > .kt-row-column-wrap,
.ed-procedure-grid--count-4 > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-procedure-grid > .kt-row-column-wrap:has(> :nth-child(4):last-child),
.ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap:has(> :nth-child(4):last-child) {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.ed-procedure-grid--five > .kt-row-column-wrap,
.ed-procedure-grid--five > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-procedure-grid--count-5 > .kt-row-column-wrap,
.ed-procedure-grid--count-5 > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-procedure-grid > .kt-row-column-wrap:has(> :nth-child(5):last-child),
.ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap:has(> :nth-child(5):last-child) {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.ed-procedure-grid--five > .kt-row-column-wrap > *,
.ed-procedure-grid--five > .kt-row-layout-inner > .kt-row-column-wrap > *,
.ed-procedure-grid--count-5 > .kt-row-column-wrap > *,
.ed-procedure-grid--count-5 > .kt-row-layout-inner > .kt-row-column-wrap > *,
.ed-procedure-grid > .kt-row-column-wrap:has(> :nth-child(5):last-child) > *,
.ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap:has(> :nth-child(5):last-child) > * {
  grid-column: span 2;
}

.ed-procedure-grid--five > .kt-row-column-wrap > :nth-child(4),
.ed-procedure-grid--five > .kt-row-layout-inner > .kt-row-column-wrap > :nth-child(4),
.ed-procedure-grid--count-5 > .kt-row-column-wrap > :nth-child(4),
.ed-procedure-grid--count-5 > .kt-row-layout-inner > .kt-row-column-wrap > :nth-child(4),
.ed-procedure-grid > .kt-row-column-wrap:has(> :nth-child(5):last-child) > :nth-child(4),
.ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap:has(> :nth-child(5):last-child) > :nth-child(4) {
  grid-column: 2 / span 2;
}

.ed-procedure-grid--five > .kt-row-column-wrap > :nth-child(5),
.ed-procedure-grid--five > .kt-row-layout-inner > .kt-row-column-wrap > :nth-child(5),
.ed-procedure-grid--count-5 > .kt-row-column-wrap > :nth-child(5),
.ed-procedure-grid--count-5 > .kt-row-layout-inner > .kt-row-column-wrap > :nth-child(5),
.ed-procedure-grid > .kt-row-column-wrap:has(> :nth-child(5):last-child) > :nth-child(5),
.ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap:has(> :nth-child(5):last-child) > :nth-child(5) {
  grid-column: 4 / span 2;
}

.ed-procedure-grid--two > .kt-row-column-wrap,
.ed-procedure-grid--two > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-procedure-grid--count-2 > .kt-row-column-wrap,
.ed-procedure-grid--count-2 > .kt-row-layout-inner > .kt-row-column-wrap {
  width: min(100%, 830px);
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.ed-procedure-grid--one > .kt-row-column-wrap,
.ed-procedure-grid--one > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-procedure-grid--count-1 > .kt-row-column-wrap,
.ed-procedure-grid--count-1 > .kt-row-layout-inner > .kt-row-column-wrap {
  width: min(100%, 420px);
  grid-template-columns: 1fr !important;
}

.ed-procedure-grid--four .ed-procedure-card__image,
.ed-procedure-grid--count-4 .ed-procedure-card__image {
  height: 195px;
}

/* Use the full treatment-page width instead of a narrow article beside a long sticky sidebar. */
.ed-detail-main > .kt-row-column-wrap,
.ed-detail-main > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 34px;
}

.ed-detail-main__content > .kt-inside-inner-col,
.ed-detail-main__sidebar > .kt-inside-inner-col {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.ed-detail-title {
  max-width: 930px;
}

.ed-detail-editorial {
  counter-reset: ed-treatment-section;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
  border-top: 0;
}

.ed-detail-editorial__section,
.ed-detail-editorial__section:last-child {
  position: relative;
  height: 100%;
  padding: 31px 31px 32px;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #f6fbfd);
  box-shadow: 0 13px 31px rgba(6, 40, 58, 0.07);
}

.ed-detail-editorial__section::before {
  counter-increment: ed-treatment-section;
  content: "0" counter(ed-treatment-section);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  margin: 0 0 18px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--ed-blue-dark);
  background: var(--ed-mint);
  font-size: 0.69rem;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.ed-detail-editorial__title,
.ed-detail-editorial__text {
  max-width: none;
}

.ed-detail-editorial__list {
  grid-template-columns: 1fr;
  gap: 10px;
}

.ed-detail-main__sidebar > .kt-inside-inner-col {
  position: static;
  top: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 4px;
}

.ed-detail-sidebar__panel {
  height: 100%;
}

.ed-detail-sidebar__cta .ed-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .ed-procedure-grid--four > .kt-row-column-wrap,
  .ed-procedure-grid--four > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-procedure-grid--count-4 > .kt-row-column-wrap,
  .ed-procedure-grid--count-4 > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-procedure-grid > .kt-row-column-wrap:has(> :nth-child(4):last-child),
  .ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap:has(> :nth-child(4):last-child),
  .ed-procedure-grid--five > .kt-row-column-wrap,
  .ed-procedure-grid--five > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-procedure-grid--count-5 > .kt-row-column-wrap,
  .ed-procedure-grid--count-5 > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-procedure-grid > .kt-row-column-wrap:has(> :nth-child(5):last-child),
  .ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ed-procedure-grid--five > .kt-row-column-wrap > *,
  .ed-procedure-grid--five > .kt-row-layout-inner > .kt-row-column-wrap > *,
  .ed-procedure-grid--count-5 > .kt-row-column-wrap > *,
  .ed-procedure-grid--count-5 > .kt-row-layout-inner > .kt-row-column-wrap > *,
  .ed-procedure-grid > .kt-row-column-wrap:has(> :nth-child(5):last-child) > *,
  .ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap:has(> :nth-child(5):last-child) > * {
    grid-column: auto;
  }

  .ed-procedure-grid--five > .kt-row-column-wrap > :last-child,
  .ed-procedure-grid--five > .kt-row-layout-inner > .kt-row-column-wrap > :last-child,
  .ed-procedure-grid--count-5 > .kt-row-column-wrap > :last-child,
  .ed-procedure-grid--count-5 > .kt-row-layout-inner > .kt-row-column-wrap > :last-child,
  .ed-procedure-grid > .kt-row-column-wrap:has(> :nth-child(5):last-child) > :last-child,
  .ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap:has(> :nth-child(5):last-child) > :last-child {
    grid-column: 1 / -1;
    width: calc(50% - 11px);
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .ed-service-proof > .kt-row-column-wrap,
  .ed-service-proof > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: minmax(220px, 310px) minmax(0, 1fr) !important;
    gap: 28px;
  }

  .ed-detail-editorial {
    grid-template-columns: 1fr;
  }

  .ed-detail-main__sidebar > .kt-inside-inner-col {
    grid-template-columns: 1fr;
  }

  .ed-detail-sidebar__cta .ed-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .ed-service-proof > .kt-row-column-wrap,
  .ed-service-proof > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: 1fr !important;
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .ed-service-proof__image-card {
    width: min(82vw, 340px);
  }

  .ed-service-proof__widget {
    min-height: 220px;
  }

  .ed-procedure-grid--four > .kt-row-column-wrap,
  .ed-procedure-grid--four > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-procedure-grid--count-4 > .kt-row-column-wrap,
  .ed-procedure-grid--count-4 > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-procedure-grid--five > .kt-row-column-wrap,
  .ed-procedure-grid--five > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-procedure-grid--count-5 > .kt-row-column-wrap,
  .ed-procedure-grid--count-5 > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-procedure-grid--two > .kt-row-column-wrap,
  .ed-procedure-grid--two > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-procedure-grid--count-2 > .kt-row-column-wrap,
  .ed-procedure-grid--count-2 > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-procedure-grid > .kt-row-column-wrap:has(> :nth-child(4):last-child),
  .ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap:has(> :nth-child(4):last-child),
  .ed-procedure-grid > .kt-row-column-wrap:has(> :nth-child(5):last-child),
  .ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap:has(> :nth-child(5):last-child) {
    grid-template-columns: 1fr !important;
  }

  .ed-procedure-grid--five > .kt-row-column-wrap > :last-child,
  .ed-procedure-grid--five > .kt-row-layout-inner > .kt-row-column-wrap > :last-child,
  .ed-procedure-grid--count-5 > .kt-row-column-wrap > :last-child,
  .ed-procedure-grid--count-5 > .kt-row-layout-inner > .kt-row-column-wrap > :last-child,
  .ed-procedure-grid > .kt-row-column-wrap:has(> :nth-child(5):last-child) > :last-child,
  .ed-procedure-grid > .kt-row-layout-inner > .kt-row-column-wrap:has(> :nth-child(5):last-child) > :last-child {
    grid-column: auto;
    width: 100%;
  }

  .ed-detail-editorial__section,
  .ed-detail-editorial__section:last-child {
    padding: 26px 24px 27px;
  }
}

/* 2.1.5 — repair treatment-card height/visibility and rebalance Reviews. */

/* Kadence originally created this row as a content/sidebar layout. After the
 * 2.1.4 visual change it becomes two stacked rows, so explicitly return both
 * tracks and their columns to natural height. This prevents a percentage
 * height on the first treatment card from expanding through the whole row. */
.ed-detail-main > .kt-row-column-wrap,
.ed-detail-main > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  grid-auto-rows: auto !important;
  align-items: start !important;
  align-content: start !important;
}

.ed-detail-main__content,
.ed-detail-main__sidebar,
.ed-detail-main__content > .kt-inside-inner-col,
.ed-detail-main__sidebar > .kt-inside-inner-col {
  min-height: 0 !important;
  height: auto !important;
}

.ed-detail-editorial {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: none !important;
  grid-auto-flow: row !important;
  grid-auto-rows: auto !important;
  align-items: stretch !important;
  align-content: start !important;
  gap: 22px !important;
  min-height: 0 !important;
  height: auto !important;
}

.ed-detail-editorial > .ed-detail-editorial__section,
.ed-detail-editorial > .ed-detail-editorial__section:last-child {
  position: relative;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: stretch !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 30px 30px 31px !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: box-shadow 220ms ease, border-color 220ms ease !important;
}

.ed-detail-editorial > .ed-detail-editorial__section:hover {
  border-color: rgba(7, 135, 196, 0.20);
  box-shadow: 0 18px 40px rgba(6, 40, 58, 0.10);
}

/* Animate the complete information area as a unit. Nested opacity animation
 * caused later cards to remain hidden in some cached Kadence renderings. */
html.ed-animations-ready .ed-detail-main.ed-reveal .ed-detail-editorial__section,
html.ed-animations-ready .ed-detail-main.ed-reveal.is-visible .ed-detail-editorial__section,
html.ed-animations-ready .ed-interior-section.ed-reveal .ed-detail-editorial__section,
html.ed-animations-ready .ed-interior-section.ed-reveal.is-visible .ed-detail-editorial__section {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition-delay: 0ms !important;
}

/* Dedicated Reviews page: the review proof and live feed are the content, so
 * use a compact proof column instead of an oversized generic portrait and a
 * five-line heading. */
.ed-reviews-page--balanced > .kt-row-column-wrap,
.ed-reviews-page--balanced > .kt-row-layout-inner > .kt-row-column-wrap {
  display: grid !important;
  grid-template-columns: minmax(270px, 370px) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: clamp(42px, 6vw, 82px) !important;
  padding-top: clamp(58px, 6vw, 84px) !important;
  padding-bottom: clamp(58px, 6vw, 84px) !important;
}

.ed-reviews-page__proof-card {
  position: relative;
  isolation: isolate;
  width: min(100%, 370px);
  margin-inline: auto;
}

.ed-reviews-page__proof-card::before {
  content: "";
  position: absolute;
  inset: 18px -16px -18px 20px;
  z-index: -1;
  border-radius: 26px 78px 26px 26px;
  background: rgba(7, 135, 196, 0.11);
  transform: rotate(1.4deg);
}

.ed-reviews-page__proof-card .ed-service-proof__social-image {
  border-radius: 24px 80px 24px 24px;
  box-shadow: 0 23px 52px rgba(5, 37, 54, 0.14);
}

.ed-reviews-page--balanced .ed-kicker {
  justify-content: flex-start;
}

.ed-reviews-page--balanced .ed-section-title,
.ed-reviews-page--balanced .ed-body-large {
  max-width: 680px;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.ed-reviews-page--balanced .ed-section-title {
  font-size: clamp(2.45rem, 4.2vw, 4.35rem);
  line-height: 1.01;
}

.ed-reviews-page--balanced .ed-body-large {
  margin-top: 19px;
}

.ed-reviews-page__widget {
  min-width: 0;
  margin-top: 25px;
  padding: clamp(14px, 2vw, 22px);
  overflow: hidden;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(6, 40, 58, 0.08);
}

.ed-reviews-page__widget .ed-trustindex-placeholder {
  min-height: 220px;
  margin: 0;
}

.ed-reviews-page__widget script + div,
.ed-reviews-page__widget .ti-widget,
.ed-reviews-page__widget [class*="trustindex"] {
  width: 100%;
  max-width: 100%;
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  .ed-detail-editorial {
    grid-template-columns: 1fr !important;
  }

  .ed-reviews-page--balanced > .kt-row-column-wrap,
  .ed-reviews-page--balanced > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: minmax(240px, 330px) minmax(0, 1fr) !important;
    gap: 34px !important;
  }
}

@media (max-width: 700px) {
  .ed-reviews-page--balanced > .kt-row-column-wrap,
  .ed-reviews-page--balanced > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: 1fr !important;
  }

  .ed-reviews-page__proof-card {
    width: min(82vw, 350px);
  }

  .ed-reviews-page--balanced .ed-section-title,
  .ed-reviews-page--balanced .ed-body-large {
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
 * 2.1.6 — definitive treatment-information structure.
 *
 * The previous treatment body still lived inside a Kadence content/sidebar
 * row. On the staging host, Kadence's equal-height calculations could make the
 * first short topic inherit the height of the entire row. The rebuilt pages
 * now use one Kadence shell and ordinary WordPress Group blocks whose height is
 * always determined by their own content.
 * -------------------------------------------------------------------------- */

.ed-detail-main--compact > .kt-row-column-wrap,
.ed-detail-main--compact > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  align-items: start !important;
  align-content: start !important;
  min-height: 0 !important;
  height: auto !important;
}

.ed-detail-main__shell,
.ed-detail-main__shell > .kt-inside-inner-col {
  min-height: 0 !important;
  height: auto !important;
  align-self: start !important;
}

.ed-detail-main__shell > .kt-inside-inner-col {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.ed-detail-editorial--compact {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: auto !important;
  grid-auto-rows: auto !important;
  align-items: start !important;
  align-content: start !important;
  gap: 22px !important;
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
  margin-top: 38px;
  padding: 0;
  border: 0;
}

.ed-detail-topic {
  position: relative;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: start !important;
  min-width: 0;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 30px 30px 31px;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #f6fbfd);
  box-shadow: 0 13px 31px rgba(6, 40, 58, 0.07);
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.ed-detail-topic__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  margin: 0 0 18px !important;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--ed-blue-dark);
  background: var(--ed-mint);
  font-size: 0.69rem;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.ed-detail-topic .ed-detail-editorial__title {
  max-width: none;
  margin: 0 0 14px;
}

.ed-detail-topic .ed-detail-editorial__text {
  max-width: none;
}

.ed-detail-topic .ed-detail-editorial__text:last-child,
.ed-detail-topic .ed-detail-editorial__list:last-child {
  margin-bottom: 0;
}

.ed-detail-topic .ed-detail-editorial__list {
  grid-template-columns: 1fr;
  gap: 10px;
}

.ed-detail-support-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
  gap: 22px;
  width: 100%;
  margin-top: 26px;
}

.ed-detail-support-grid > .ed-detail-sidebar__panel {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
}

.ed-detail-support-grid .ed-detail-sidebar__cta .ed-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Immediate fallback for treatment pages that have not yet been rebuilt. */
.ed-detail-main:not(.ed-detail-main--compact) .ed-detail-editorial {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: auto !important;
  grid-auto-rows: auto !important;
  align-items: start !important;
  align-content: start !important;
  min-height: 0 !important;
  height: auto !important;
}

.ed-detail-main:not(.ed-detail-main--compact) .ed-detail-editorial > .ed-detail-editorial__section,
.ed-detail-main:not(.ed-detail-main--compact) .ed-detail-editorial > .ed-detail-editorial__section:last-child {
  align-self: start !important;
  min-height: 0 !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: box-shadow 220ms ease, border-color 220ms ease !important;
}

/* Topic visibility must never depend on a nested reveal animation. */
html.ed-animations-ready .ed-detail-main .ed-detail-topic,
html.ed-animations-ready .ed-detail-main .ed-detail-editorial__section,
html.ed-animations-ready .ed-detail-main.is-visible .ed-detail-topic,
html.ed-animations-ready .ed-detail-main.is-visible .ed-detail-editorial__section {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition-delay: 0ms !important;
}

@media (max-width: 900px) {
  .ed-detail-editorial--compact,
  .ed-detail-main:not(.ed-detail-main--compact) .ed-detail-editorial,
  .ed-detail-support-grid {
    grid-template-columns: 1fr !important;
  }

  .ed-detail-support-grid .ed-detail-sidebar__cta .ed-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .ed-detail-topic {
    padding: 26px 23px 27px;
  }
}

/* --------------------------------------------------------------------------
 * 2.1.7 — desktop treatment-topic tiles.
 *
 * WordPress can render a Group block with an additional inner-container
 * wrapper. The earlier rule applied the grid to the outer Group only, leaving
 * the four topic Groups stacked inside that wrapper. Apply the same two-column
 * grid to either possible container so the current saved pages tile
 * immediately without another page rebuild.
 * -------------------------------------------------------------------------- */

.ed-detail-main--compact .ed-detail-main__shell > .kt-inside-inner-col {
  width: min(100%, 1120px) !important;
  max-width: none !important;
}

.ed-detail-main--compact .ed-detail-main__shell > .kt-inside-inner-col > .ed-detail-title,
.ed-detail-main--compact .ed-detail-main__shell > .kt-inside-inner-col > .ed-detail-editorial--compact,
.ed-detail-main--compact .ed-detail-main__shell > .kt-inside-inner-col > .ed-detail-support-grid {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.ed-detail-main--compact .ed-detail-editorial--compact,
.ed-detail-main--compact .ed-detail-editorial--compact > .wp-block-group__inner-container {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: auto !important;
  grid-auto-flow: row !important;
  grid-auto-rows: auto !important;
  align-items: stretch !important;
  align-content: start !important;
  gap: 22px !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.ed-detail-main--compact .ed-detail-editorial--compact > .wp-block-group__inner-container {
  grid-column: 1 / -1 !important;
  padding: 0 !important;
}

.ed-detail-main--compact .ed-detail-editorial--compact > .ed-detail-topic,
.ed-detail-main--compact .ed-detail-editorial--compact > .wp-block-group__inner-container > .ed-detail-topic {
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.ed-detail-main--compact .ed-detail-support-grid,
.ed-detail-main--compact .ed-detail-support-grid > .wp-block-group__inner-container {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 22px !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.ed-detail-main--compact .ed-detail-support-grid > .wp-block-group__inner-container {
  grid-column: 1 / -1 !important;
  padding: 0 !important;
}

.ed-detail-main--compact .ed-detail-support-grid > .ed-detail-sidebar__panel,
.ed-detail-main--compact .ed-detail-support-grid > .wp-block-group__inner-container > .ed-detail-sidebar__panel {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  .ed-detail-main--compact .ed-detail-editorial--compact,
  .ed-detail-main--compact .ed-detail-editorial--compact > .wp-block-group__inner-container,
  .ed-detail-main--compact .ed-detail-support-grid,
  .ed-detail-main--compact .ed-detail-support-grid > .wp-block-group__inner-container {
    grid-template-columns: 1fr !important;
  }

  .ed-detail-main--compact .ed-detail-editorial--compact > .ed-detail-topic,
  .ed-detail-main--compact .ed-detail-editorial--compact > .wp-block-group__inner-container > .ed-detail-topic,
  .ed-detail-main--compact .ed-detail-support-grid > .ed-detail-sidebar__panel,
  .ed-detail-main--compact .ed-detail-support-grid > .wp-block-group__inner-container > .ed-detail-sidebar__panel {
    height: auto !important;
  }
}

/* 2.1.9 — dedicated Family Dentistry life-stage pages. */
.ed-family-stage-card--linked > .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ed-family-stage-card--linked:hover > .kt-inside-inner-col,
.ed-family-stage-card--linked:focus-within > .kt-inside-inner-col {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(6, 40, 58, 0.12);
}

.ed-family-stage-card--linked .ed-family-stage-card__text {
  flex: 1 1 auto;
}

.ed-family-stage-card__link {
  margin: auto 24px 0;
  padding-top: 18px;
  font-size: 0.82rem;
  font-weight: 800;
}

.ed-family-stage-card__link a {
  color: var(--ed-blue-dark);
  text-decoration: none;
}

.ed-family-stage-card__link a:hover,
.ed-family-stage-card__link a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .ed-family-stage-card--linked > .kt-inside-inner-col {
    transform: none !important;
    transition: none !important;
  }
}

/* 2.2.0 — richer, page-specific FAQ sets and clearer related-care spacing. */
.ed-detail-related__shell > .kt-inside-inner-col {
  padding-top: clamp(18px, 2vw, 30px);
}

.ed-detail-related .ed-related-care__title {
  margin-top: 8px;
}

.ed-interior-faq > .kt-row-column-wrap,
.ed-interior-faq > .kt-row-layout-inner > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr) !important;
  gap: clamp(52px, 7vw, 96px);
}

.ed-interior-faq .ed-faq__items {
  gap: 11px;
}

.ed-interior-faq .ed-faq-item summary {
  padding-top: 18px;
  padding-bottom: 18px;
}

.ed-animations-ready .ed-interior-faq.ed-reveal.is-visible .ed-faq-item:nth-child(5) {
  transition-delay: 300ms;
}

.ed-animations-ready .ed-interior-faq.ed-reveal.is-visible .ed-faq-item:nth-child(6) {
  transition-delay: 360ms;
}

@media (max-width: 900px) {
  .ed-interior-faq > .kt-row-column-wrap,
  .ed-interior-faq > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: 1fr !important;
  }
}

/* 2.2.1 — consistent inner gutters for related-care and article cards. */

/* Related-care cards: give the whole card a real content gutter, then let the
   image extend back to the card edges. This avoids depending on heading and
   paragraph margins that Kadence can override per block. */
.ed-detail-related .ed-procedure-card > .kt-inside-inner-col {
  box-sizing: border-box !important;
  padding: 0 28px 28px !important;
}

.ed-detail-related .ed-procedure-card__image {
  width: calc(100% + 56px) !important;
  max-width: none !important;
  margin: 0 -28px 24px !important;
}

.ed-detail-related .ed-procedure-card__title,
.ed-detail-related .ed-procedure-card__text,
.ed-detail-related .ed-procedure-card__link {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/* Kadence Post Grid outputs the image and the text wrapper as siblings. Its
   generated block CSS can set the text wrapper padding to zero after the theme
   stylesheet loads, so this focused important rule supplies the card gutter. */
.ed-blog-postgrid .kt-blocks-post-grid-item .kt-blocks-post-grid-item-inner,
.wp-block-kadence-postgrid.ed-blog-postgrid .kt-blocks-post-grid-item .kt-blocks-post-grid-item-inner {
  box-sizing: border-box !important;
  padding: 26px 28px 30px !important;
}

/* The earlier theme rule padded entry-content separately. Reset it so the
   wrapper above is the single source of spacing and the excerpt is not doubled. */
.ed-blog-postgrid .kt-blocks-post-grid-item .kt-blocks-post-grid-item-inner > header,
.ed-blog-postgrid .kt-blocks-post-grid-item .kt-blocks-post-grid-item-inner > .entry-content,
.ed-blog-postgrid .kt-blocks-post-grid-item .kt-blocks-post-grid-item-inner > .kt-blocks-post-footer,
.ed-blog-postgrid .kt-blocks-post-grid-item .entry-content {
  box-sizing: border-box !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.ed-blog-postgrid .kt-blocks-post-grid-item .kt-blocks-post-top-meta {
  margin-bottom: 12px !important;
}

.ed-blog-postgrid .kt-blocks-post-grid-item .entry-title {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}

.ed-blog-postgrid .kt-blocks-post-grid-item .kt-blocks-post-footer {
  margin-top: 20px !important;
}

/* Standard Kadence archive/search cards use a different content wrapper. */
.ed-dentor-content-archive .loop-entry > .entry-content-wrap {
  box-sizing: border-box !important;
  padding: 28px !important;
}

@media (max-width: 767px) {
  .ed-detail-related .ed-procedure-card > .kt-inside-inner-col {
    padding-right: 22px !important;
    padding-bottom: 25px !important;
    padding-left: 22px !important;
  }

  .ed-detail-related .ed-procedure-card__image {
    width: calc(100% + 44px) !important;
    margin-right: -22px !important;
    margin-left: -22px !important;
  }

  .ed-blog-postgrid .kt-blocks-post-grid-item .kt-blocks-post-grid-item-inner,
  .wp-block-kadence-postgrid.ed-blog-postgrid .kt-blocks-post-grid-item .kt-blocks-post-grid-item-inner {
    padding: 23px 22px 26px !important;
  }
}

/* 2.4.0 — five-card Family Dentistry life-stage layout and nine-item FAQ rhythm. */
@media (min-width: 1025px) {
  .ed-family-stage-grid--count-5 > .kt-row-column-wrap,
  .ed-family-stage-grid--count-5 > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }

  .ed-family-stage-grid--count-5 .ed-family-stage-card:nth-child(1),
  .ed-family-stage-grid--count-5 .ed-family-stage-card:nth-child(2),
  .ed-family-stage-grid--count-5 .ed-family-stage-card:nth-child(3) {
    grid-column: span 2;
  }

  .ed-family-stage-grid--count-5 .ed-family-stage-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .ed-family-stage-grid--count-5 .ed-family-stage-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.ed-animations-ready .ed-interior-faq.ed-reveal.is-visible .ed-faq-item:nth-child(7) {
  transition-delay: 420ms;
}

.ed-animations-ready .ed-interior-faq.ed-reveal.is-visible .ed-faq-item:nth-child(8) {
  transition-delay: 480ms;
}

.ed-animations-ready .ed-interior-faq.ed-reveal.is-visible .ed-faq-item:nth-child(9) {
  transition-delay: 540ms;
}

/* --------------------------------------------------------------------------
 * 2.5.1 — consistent gutters for the principal service-hub procedure tiles.
 *
 * Newer hub pages wrap the title, summary and link in .ed-procedure-card__body.
 * The older margin-based rules target the children individually and can be
 * neutralized by WordPress/Kadence block layout styles. Make the wrapper the
 * single source of horizontal spacing, matching the related-care and homepage
 * card systems while preserving full-bleed images and the icon medallion.
 * -------------------------------------------------------------------------- */
.ed-services-directory .ed-procedure-card > .kt-inside-inner-col,
.ed-hub-procedures .ed-procedure-card > .kt-inside-inner-col {
  padding: 0 !important;
}

.ed-services-directory .ed-procedure-card__body,
.ed-hub-procedures .ed-procedure-card__body {
  box-sizing: border-box !important;
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100% !important;
  max-width: none !important;
  padding: 0 28px 30px !important;
}

.ed-services-directory .ed-procedure-card__body > .ed-procedure-card__title,
.ed-services-directory .ed-procedure-card__body > .ed-procedure-card__text,
.ed-services-directory .ed-procedure-card__body > .ed-procedure-card__link,
.ed-hub-procedures .ed-procedure-card__body > .ed-procedure-card__title,
.ed-hub-procedures .ed-procedure-card__body > .ed-procedure-card__text,
.ed-hub-procedures .ed-procedure-card__body > .ed-procedure-card__link {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.ed-services-directory .ed-procedure-card__body > .ed-procedure-card__title,
.ed-hub-procedures .ed-procedure-card__body > .ed-procedure-card__title {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

.ed-services-directory .ed-procedure-card__body > .ed-procedure-card__text,
.ed-hub-procedures .ed-procedure-card__body > .ed-procedure-card__text {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}

.ed-services-directory .ed-procedure-card__body > .ed-procedure-card__link,
.ed-hub-procedures .ed-procedure-card__body > .ed-procedure-card__link {
  margin-top: auto !important;
  margin-bottom: 0 !important;
}

@media (max-width: 680px) {
  .ed-services-directory .ed-procedure-card__body,
  .ed-hub-procedures .ed-procedure-card__body {
    padding-right: 22px !important;
    padding-bottom: 26px !important;
    padding-left: 22px !important;
  }
}

/* 2.7.2 — full-width Trustindex slider rows.
 * The static Trustindex social-image card has been removed from service-page
 * proof sections and the main Reviews-page lead section. The live widget now
 * receives the complete inner content width.
 */
.ed-service-proof--slider-only > .kt-row-column-wrap,
.ed-service-proof--slider-only > .kt-row-layout-inner > .kt-row-column-wrap,
.ed-reviews-page--slider-only > .kt-row-column-wrap,
.ed-reviews-page--slider-only > .kt-row-layout-inner > .kt-row-column-wrap {
  display: block !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: min(100%, 1250px);
  margin-inline: auto;
}

.ed-service-proof--slider-only > .kt-row-column-wrap,
.ed-service-proof--slider-only > .kt-row-layout-inner > .kt-row-column-wrap {
  padding-top: clamp(42px, 5vw, 66px);
  padding-bottom: clamp(42px, 5vw, 66px);
}

.ed-service-proof--slider-only .ed-service-proof__content,
.ed-reviews-page--slider-only .ed-reviews-page__shell {
  width: 100%;
  min-width: 0;
  max-width: none;
}

.ed-service-proof--slider-only .ed-service-proof__content > .kt-inside-inner-col,
.ed-reviews-page--slider-only .ed-reviews-page__shell > .kt-inside-inner-col {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.ed-service-proof--slider-only .ed-service-proof__eyebrow {
  margin: 0 0 16px;
}

.ed-service-proof--slider-only .ed-service-proof__widget,
.ed-reviews-page--slider-only .ed-reviews-page__widget {
  width: 100%;
  max-width: none;
  min-height: clamp(270px, 24vw, 360px);
  margin: 0;
  padding: clamp(14px, 1.8vw, 22px);
  overflow: hidden;
  border: 1px solid rgba(6, 40, 58, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(6, 40, 58, 0.09);
}

.ed-service-proof--slider-only .ed-service-proof__widget .ed-trustindex-placeholder,
.ed-reviews-page--slider-only .ed-reviews-page__widget .ed-trustindex-placeholder {
  min-height: 240px;
  margin: 0;
}

.ed-service-proof--slider-only .ed-service-proof__widget > *,
.ed-service-proof--slider-only .ed-service-proof__widget .ti-widget,
.ed-service-proof--slider-only .ed-service-proof__widget .ti-widget-container,
.ed-service-proof--slider-only .ed-service-proof__widget [class*="trustindex"],
.ed-service-proof--slider-only .ed-service-proof__widget iframe,
.ed-reviews-page--slider-only .ed-reviews-page__widget > *,
.ed-reviews-page--slider-only .ed-reviews-page__widget .ti-widget,
.ed-reviews-page--slider-only .ed-reviews-page__widget .ti-widget-container,
.ed-reviews-page--slider-only .ed-reviews-page__widget [class*="trustindex"],
.ed-reviews-page--slider-only .ed-reviews-page__widget iframe {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

.ed-service-proof--slider-only .ed-service-proof__link {
  margin: 18px 0 0;
  text-align: right;
}

.ed-reviews-page--slider-only > .kt-row-column-wrap,
.ed-reviews-page--slider-only > .kt-row-layout-inner > .kt-row-column-wrap {
  padding-top: clamp(58px, 6vw, 88px);
  padding-bottom: clamp(58px, 6vw, 88px);
}

.ed-reviews-page--slider-only .ed-reviews-page__shell .ed-kicker,
.ed-reviews-page--slider-only .ed-reviews-page__shell .ed-section-title,
.ed-reviews-page--slider-only .ed-reviews-page__shell .ed-body-large {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ed-reviews-page--slider-only .ed-reviews-page__shell .ed-section-title {
  max-width: 900px;
}

.ed-reviews-page--slider-only .ed-reviews-page__shell .ed-body-large {
  max-width: 760px;
  margin-top: 18px;
  margin-bottom: 30px;
}

@media (max-width: 780px) {
  .ed-service-proof--slider-only > .kt-row-column-wrap,
  .ed-service-proof--slider-only > .kt-row-layout-inner > .kt-row-column-wrap,
  .ed-reviews-page--slider-only > .kt-row-column-wrap,
  .ed-reviews-page--slider-only > .kt-row-layout-inner > .kt-row-column-wrap {
    width: 100%;
  }

  .ed-service-proof--slider-only .ed-service-proof__widget,
  .ed-reviews-page--slider-only .ed-reviews-page__widget {
    min-height: 250px;
    padding: 12px;
    border-radius: 18px;
  }

  .ed-service-proof--slider-only .ed-service-proof__link {
    text-align: left;
  }
}

/* ===== enhancements.css ===== */
/*
 * Dentor visual enhancement layer — 2.3.1.
 * CSS-only presentation refinements and progressive front-end motion.
 * No page content or block order is changed by this file.
 */

:root {
  --ed-icon-tooth: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M16%202.3c-4.6%200-7.9%201.7-9.8%205.1-2.1%203.7-1.5%207.7.2%2011%201.5%202.8%202.4%205.1%202.8%207.5.4%202.4%201.2%203.8%202.7%203.8%201.9%200%202.3-5.4%204.1-5.4s2.2%205.4%204.1%205.4c1.5%200%202.3-1.4%202.7-3.8.4-2.4%201.3-4.7%202.8-7.5%201.7-3.3%202.3-7.3.2-11C23.9%204%2020.6%202.3%2016%202.3Z%22%2F%3E%3C%2Fsvg%3E");
  --ed-icon-heart: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M16%2028.2%204.8%2017.6C-1.7%2011.4%202.6%202.8%209.6%203.5c2.8.3%204.8%202%206.4%204.1%201.6-2.1%203.6-3.8%206.4-4.1%207-.7%2011.3%207.9%204.8%2014.1L16%2028.2Z%22%2F%3E%3C%2Fsvg%3E");
  --ed-icon-sparkle: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22m16%201.8%202.2%207.1%207.1%202.2-7.1%202.2-2.2%207.1-2.2-7.1-7.1-2.2%207.1-2.2L16%201.8Zm9%2015.4%201.2%203.8%203.8%201.2-3.8%201.2-1.2%203.8-1.2-3.8-3.8-1.2%203.8-1.2%201.2-3.8ZM7.3%2019.3l1.1%203.4%203.4%201.1-3.4%201.1-1.1%203.4-1.1-3.4-3.4-1.1%203.4-1.1%201.1-3.4Z%22%2F%3E%3C%2Fsvg%3E");
  --ed-icon-shield: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M16%202.2%2028%206.4v8.2c0%207.2-4.6%2012.1-12%2015.2C8.6%2026.7%204%2021.8%204%2014.6V6.4L16%202.2Zm-1.7%207.1v4.3H10v4.1h4.3V22h4.1v-4.3h4.3v-4.1h-4.3V9.3h-4.1Z%22%2F%3E%3C%2Fsvg%3E");
  --ed-icon-check: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22m12.8%2024.8-8.2-8.2%203.2-3.2%205%205L24.6%206.6l3.2%203.2-15%2015Z%22%2F%3E%3C%2Fsvg%3E");
  --ed-icon-quote: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M13.7%206.2v8.6H8.8c0%204.2%201.6%206.8%205%208.8l-2.4%203.6C6%2024.1%203.8%2019.8%203.8%2013.7V6.2h9.9Zm14.5%200v8.6h-4.9c0%204.2%201.6%206.8%205%208.8l-2.4%203.6c-5.4-3.1-7.6-7.4-7.6-13.5V6.2h9.9Z%22%2F%3E%3C%2Fsvg%3E");
  --ed-svg-quote-white: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M13.7%206.2v8.6H8.8c0%204.2%201.6%206.8%205%208.8l-2.4%203.6C6%2024.1%203.8%2019.8%203.8%2013.7V6.2h9.9Zm14.5%200v8.6h-4.9c0%204.2%201.6%206.8%205%208.8l-2.4%203.6c-5.4-3.1-7.6-7.4-7.6-13.5V6.2h9.9Z%22%2F%3E%3C%2Fsvg%3E");
  --ed-svg-check-blue: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23006a9f%22%20d%3D%22m12.8%2024.8-8.2-8.2%203.2-3.2%205%205L24.6%206.6l3.2%203.2-15%2015Z%22%2F%3E%3C%2Fsvg%3E");
  --ed-icon-arrow: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M13.2%204.2%2021%2012l-7.8%207.8-2.1-2.1%204.2-4.2H3v-3h12.3l-4.2-4.2%202.1-2.1Z%22%2F%3E%3C%2Fsvg%3E");
  --ed-svg-tooth-blue: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20fill%3D%22%230787c4%22%3E%3Cpath%20d%3D%22M16%203.2c-4.2%200-7.2%201.6-9%204.7-1.9%203.4-1.3%207.1.2%2010.1%201.4%202.6%202.2%204.8%202.6%207%20.3%202.2%201.1%203.5%202.4%203.5%201.8%200%202.2-5%203.8-5s2%205%203.8%205c1.3%200%202.1-1.3%202.4-3.5.4-2.2%201.2-4.4%202.6-7%201.5-3%202.1-6.7.2-10.1-1.8-3.1-4.8-4.7-9-4.7Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --ed-svg-tooth-red: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20fill%3D%22%23d83f50%22%3E%3Cpath%20d%3D%22M16%203.2c-4.2%200-7.2%201.6-9%204.7-1.9%203.4-1.3%207.1.2%2010.1%201.4%202.6%202.2%204.8%202.6%207%20.3%202.2%201.1%203.5%202.4%203.5%201.8%200%202.2-5%203.8-5s2%205%203.8%205c1.3%200%202.1-1.3%202.4-3.5.4-2.2%201.2-4.4%202.6-7%201.5-3%202.1-6.7.2-10.1-1.8-3.1-4.8-4.7-9-4.7Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --ed-svg-tooth-white: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20fill%3D%22%23ffffff%22%3E%3Cpath%20d%3D%22M16%203.2c-4.2%200-7.2%201.6-9%204.7-1.9%203.4-1.3%207.1.2%2010.1%201.4%202.6%202.2%204.8%202.6%207%20.3%202.2%201.1%203.5%202.4%203.5%201.8%200%202.2-5%203.8-5s2%205%203.8%205c1.3%200%202.1-1.3%202.4-3.5.4-2.2%201.2-4.4%202.6-7%201.5-3%202.1-6.7.2-10.1-1.8-3.1-4.8-4.7-9-4.7Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --ed-svg-phone: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20fill%3D%22%23006a9f%22%3E%3Cpath%20d%3D%22M9.1%205.3%206.8%202.7C6.2%202%205.2%201.8%204.4%202.2L2.5%203.3c-.8.5-1.2%201.4-1%202.3%201.8%209.2%209%2016.4%2018.2%2018.2.9.2%201.8-.2%202.3-1l1.1-1.9c.4-.8.2-1.8-.5-2.4l-2.6-2.2c-.7-.6-1.7-.6-2.4-.1l-2%201.5c-3.8-1.7-6.8-4.7-8.5-8.5l1.5-2c.5-.6.5-1.7-.1-2.4Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --ed-svg-pin: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20fill%3D%22%23006a9f%22%3E%3Cpath%20d%3D%22M16%202.5a8.7%208.7%200%200%200-8.7%208.7c0%206.5%208.7%2017.8%208.7%2017.8s8.7-11.3%208.7-17.8A8.7%208.7%200%200%200%2016%202.5Zm0%2012.2a3.5%203.5%200%201%201%200-7%203.5%203.5%200%200%201%200%207Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --ed-svg-calendar: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20fill%3D%22%23006a9f%22%3E%3Cpath%20d%3D%22M7%202h3v3h12V2h3v3h3v24H4V5h3V2Zm18%2010H7v14h18V12ZM9%2015h4v4H9v-4Zm6%200h4v4h-4v-4Zm6%200h3v4h-3v-4Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --ed-svg-mail: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20fill%3D%22%23006a9f%22%3E%3Cpath%20d%3D%22M3%206h26v20H3V6Zm13%2010.1L6.5%209h19L16%2016.1Zm0%203.7%209.8-7.3v10.2H6.2V12.5l9.8%207.3Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --ed-motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ed-card-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ed-glow-blue: rgba(7, 135, 196, 0.18);
  --ed-glow-mint: rgba(112, 213, 167, 0.24);
  --ed-premium-shadow: 0 24px 60px rgba(5, 37, 54, 0.13);
  --ed-premium-shadow-hover: 0 32px 72px rgba(5, 37, 54, 0.19);
}

/* --------------------------------------------------------------------------
 * Header and navigation polish.
 * -------------------------------------------------------------------------- */
.site-header,
.site-header-row-container-inner {
  transition: box-shadow 280ms ease, background-color 280ms ease, backdrop-filter 280ms ease;
}

html.ed-scrolled .site-header {
  box-shadow: 0 12px 32px rgba(5, 37, 54, 0.11);
}

html.ed-scrolled .site-header-row-container-inner {
  backdrop-filter: saturate(1.15) blur(12px);
  -webkit-backdrop-filter: saturate(1.15) blur(12px);
}

.header-navigation .menu > li:not(.ed-menu-cta) > a {
  position: relative;
}

.header-navigation .menu > li:not(.ed-menu-cta) > a::after {
  content: "";
  position: absolute;
  right: 18%;
  bottom: 7px;
  left: 18%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ed-blue), var(--ed-mint-strong));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms var(--ed-card-ease);
}

.header-navigation .menu > li:not(.ed-menu-cta):hover > a::after,
.header-navigation .menu > li.current-menu-item:not(.ed-menu-cta) > a::after,
.header-navigation .menu > li.current-menu-ancestor:not(.ed-menu-cta) > a::after {
  transform: scaleX(1);
}

.header-navigation .menu-item.ed-menu-cta > a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(7, 135, 196, 0.22);
  transition: transform 220ms var(--ed-card-ease), box-shadow 220ms ease;
}

.header-navigation .menu-item.ed-menu-cta > a::before {
  content: "";
  position: absolute;
  inset: -45% -90%;
  z-index: -1;
  background: linear-gradient(110deg, transparent 38%, rgba(255,255,255,.42) 50%, transparent 62%);
  transform: translateX(-46%);
  transition: transform 600ms var(--ed-motion-ease);
}

.header-navigation .menu-item.ed-menu-cta > a:hover,
.header-navigation .menu-item.ed-menu-cta > a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(7, 135, 196, 0.3);
}

.header-navigation .menu-item.ed-menu-cta > a:hover::before,
.header-navigation .menu-item.ed-menu-cta > a:focus-visible::before {
  transform: translateX(46%);
}

/* --------------------------------------------------------------------------
 * Dentor-style eyebrow labels and heading accents.
 * -------------------------------------------------------------------------- */
.ed-kicker,
.ed-page-hero__kicker,
.ed-post-cta__kicker,
.ed-service-proof__eyebrow {
  --ed-kicker-icon: var(--ed-svg-tooth-blue);
  --ed-kicker-bg: rgba(237, 248, 251, 0.86);
  --ed-kicker-border: rgba(7, 135, 196, 0.16);
  position: relative;
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 5px 11px 5px 6px;
  border: 1px solid var(--ed-kicker-border);
  border-radius: 999px;
  background: var(--ed-kicker-bg);
  box-shadow: 0 8px 22px rgba(6, 40, 58, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ed-kicker::before,
.ed-page-hero__kicker::before,
.ed-post-cta__kicker::before,
.ed-service-proof__eyebrow::before {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(7, 135, 196, 0.1);
  background-image: var(--ed-kicker-icon);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 13px 13px;
}

.ed-kicker::after,
.ed-page-hero__kicker::after,
.ed-post-cta__kicker::after,
.ed-service-proof__eyebrow::after {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.34;
}

.ed-kicker--red,
.ed-service-proof__eyebrow {
  --ed-kicker-icon: var(--ed-svg-tooth-red);
  --ed-kicker-bg: rgba(216, 63, 80, 0.06);
  --ed-kicker-border: rgba(216, 63, 80, 0.14);
}

.ed-kicker--light,
.ed-page-hero__kicker,
.ed-post-cta__kicker {
  --ed-kicker-icon: var(--ed-svg-tooth-white);
  --ed-kicker-bg: rgba(255, 255, 255, 0.09);
  --ed-kicker-border: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.ed-kicker--light::before,
.ed-page-hero__kicker::before,
.ed-post-cta__kicker::before {
  background-color: rgba(255, 255, 255, 0.12);
}

.ed-title-accent {
  position: relative;
  text-wrap: balance;
}

.ed-title-accent::after {
  content: "";
  display: block;
  width: 76px;
  height: 5px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ed-blue) 0 62%, var(--ed-mint-strong) 62% 84%, var(--ed-red) 84% 100%);
  box-shadow: 0 6px 14px rgba(7, 135, 196, 0.13);
  transform-origin: left;
}

.ed-smile__heading .ed-title-accent::after,
.ed-reviews-page .ed-title-accent::after,
.ed-search-page .ed-title-accent::after,
.ed-confirmation .ed-title-accent::after {
  margin-right: auto;
  margin-left: auto;
}

.ed-section-title--light.ed-title-accent::after,
.ed-display--light.ed-title-accent::after,
.ed-post-cta .ed-title-accent::after {
  background: linear-gradient(90deg, #8de0fb 0 60%, #70d5a7 60% 84%, #fff 84% 100%);
  box-shadow: none;
}

/* --------------------------------------------------------------------------
 * Page heroes and section atmosphere.
 * -------------------------------------------------------------------------- */
.ed-page-hero {
  position: relative;
  isolation: isolate;
}

.ed-page-hero::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -40px;
  z-index: 1;
  width: 380px;
  height: 380px;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(141, 224, 251, 0.34) 1.2px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.5;
  transform: rotate(9deg);
  -webkit-mask-image: linear-gradient(135deg, #000 5%, transparent 78%);
  mask-image: linear-gradient(135deg, #000 5%, transparent 78%);
}

.ed-page-hero::after {
  z-index: 0;
}

.ed-page-hero > .kt-row-column-wrap,
.ed-page-hero > .kt-row-layout-inner > .kt-row-column-wrap {
  z-index: 2;
}

.ed-page-hero__title {
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

.ed-page-hero__crumbs {
  box-shadow: inset 0 1px rgba(255,255,255,.11), 0 12px 30px rgba(0,0,0,.09);
}

.ed-page-hero__crumbs::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: currentColor;
  -webkit-mask: var(--ed-icon-tooth) center / contain no-repeat;
  mask: var(--ed-icon-tooth) center / contain no-repeat;
  opacity: 0.9;
}

:is(.ed-services, .ed-hub-procedures, .ed-detail-related, .ed-interior-faq, .ed-family-stages, .ed-about-team, .ed-form-directory, .ed-education-page, .ed-faq) {
  position: relative;
  isolation: isolate;
}

:is(.ed-services, .ed-hub-procedures, .ed-detail-related, .ed-interior-faq, .ed-family-stages, .ed-about-team, .ed-form-directory, .ed-education-page, .ed-faq)::before {
  content: "";
  position: absolute;
  top: 34px;
  right: 2.5%;
  z-index: 0;
  width: 220px;
  height: 220px;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(7, 135, 196, 0.16) 1.1px, transparent 1.4px);
  background-size: 16px 16px;
  opacity: 0.43;
  transform: rotate(7deg);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 8%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 8%, transparent 72%);
}

:is(.ed-services, .ed-hub-procedures, .ed-detail-related, .ed-interior-faq, .ed-family-stages, .ed-about-team, .ed-form-directory, .ed-education-page, .ed-faq) > .kt-row-column-wrap,
:is(.ed-services, .ed-hub-procedures, .ed-detail-related, .ed-interior-faq, .ed-family-stages, .ed-about-team, .ed-form-directory, .ed-education-page, .ed-faq) > .kt-row-layout-inner > .kt-row-column-wrap {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
 * Buttons and text links.
 * -------------------------------------------------------------------------- */
.ed-button:not(.ed-button--ghost) .wp-block-button__link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.ed-button:not(.ed-button--ghost) .wp-block-button__link::before {
  content: "";
  position: absolute;
  inset: -45% -75%;
  z-index: -1;
  background: linear-gradient(110deg, transparent 38%, rgba(255,255,255,.4) 50%, transparent 62%);
  transform: translateX(-45%);
  transition: transform 620ms var(--ed-motion-ease);
}

.ed-button:not(.ed-button--ghost) .wp-block-button__link::after {
  content: "";
  width: 15px;
  height: 15px;
  margin-left: 8px;
  background: currentColor;
  -webkit-mask: var(--ed-icon-arrow) center / contain no-repeat;
  mask: var(--ed-icon-arrow) center / contain no-repeat;
  transition: transform 220ms var(--ed-card-ease);
}

.ed-button:not(.ed-button--ghost) .wp-block-button__link:hover::before,
.ed-button:not(.ed-button--ghost) .wp-block-button__link:focus-visible::before {
  transform: translateX(45%);
}

.ed-button:not(.ed-button--ghost) .wp-block-button__link:hover::after,
.ed-button:not(.ed-button--ghost) .wp-block-button__link:focus-visible::after {
  transform: translateX(4px);
}

.ed-text-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.ed-text-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ed-blue), var(--ed-mint-strong));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ed-card-ease);
}

.ed-text-link:hover::after,
.ed-text-link:focus-visible::after {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
 * Dentor service-card icon medallions.
 * -------------------------------------------------------------------------- */
.ed-service-card__image,
.ed-procedure-card__image {
  position: relative;
  overflow: visible !important;
}

.ed-service-card__image img,
.ed-procedure-card__image img {
  border-radius: 18px 18px 0 0;
}

.ed-service-card__image::before,
.ed-procedure-card__image::before {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 24px;
  z-index: 4;
  width: 52px;
  height: 52px;
  border: 6px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8fbf0, #c9f3de);
  box-shadow: 0 12px 25px rgba(5, 37, 54, 0.15);
}

.ed-service-card__image::after,
.ed-procedure-card__image::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 39px;
  z-index: 5;
  width: 22px;
  height: 22px;
  background: var(--ed-blue-dark);
  -webkit-mask: var(--ed-icon-tooth) center / contain no-repeat;
  mask: var(--ed-icon-tooth) center / contain no-repeat;
}

.ed-service-card--family .ed-service-card__image::after {
  -webkit-mask-image: var(--ed-icon-heart);
  mask-image: var(--ed-icon-heart);
  background: var(--ed-red);
}

.ed-service-card--cosmetic .ed-service-card__image::after {
  -webkit-mask-image: var(--ed-icon-sparkle);
  mask-image: var(--ed-icon-sparkle);
  background: #c48b00;
}

.ed-service-card--surgery .ed-service-card__image::after {
  -webkit-mask-image: var(--ed-icon-shield);
  mask-image: var(--ed-icon-shield);
  background: var(--ed-blue-dark);
}

.ed-service-card__image,
.ed-procedure-card__image,
.ed-dentor-home .ed-service-card__image,
.ed-detail-related .ed-procedure-card__image {
  margin-bottom: 40px !important;
}

.ed-service-card > .kt-inside-inner-col,
.ed-procedure-card > .kt-inside-inner-col {
  background: linear-gradient(180deg, #fff 0%, #fff 62%, #f7fcfa 100%);
  transition: transform 320ms var(--ed-card-ease), box-shadow 320ms ease, border-color 320ms ease;
}

.ed-service-card:hover > .kt-inside-inner-col,
.ed-procedure-card:hover > .kt-inside-inner-col {
  border-color: rgba(7, 135, 196, 0.16);
  box-shadow: var(--ed-premium-shadow-hover);
}

/* Pointer-follow glow; activated progressively by enhancements.js. */
.ed-pointer-card {
  --ed-card-x: 50%;
  --ed-card-y: 50%;
  position: relative;
  isolation: isolate;
}

.ed-pointer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 7;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle 170px at var(--ed-card-x) var(--ed-card-y), rgba(141,224,251,.2), transparent 72%);
  opacity: 0;
  transition: opacity 240ms ease;
}

.ed-pointer-card:hover::after,
.ed-pointer-card:focus-within::after {
  opacity: 1;
}

.ed-pointer-card > * {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
 * More expressive image frames and floating elements.
 * -------------------------------------------------------------------------- */
:is(.ed-intro__office, .ed-routine__image, .ed-hub-intro__image, .ed-detail-featured-image, .ed-about-history__office, .ed-contact-hours__image, .ed-family-hero__image, .ed-reviews__image) {
  transition: transform 420ms var(--ed-card-ease), box-shadow 420ms ease;
  box-shadow: 15px 15px 0 rgba(141, 224, 251, 0.13), var(--ed-premium-shadow);
}

:is(.ed-intro__office, .ed-routine__image, .ed-hub-intro__image, .ed-detail-featured-image, .ed-about-history__office, .ed-contact-hours__image, .ed-family-hero__image, .ed-reviews__image):hover {
  transform: translateY(-5px);
  box-shadow: 19px 19px 0 rgba(112, 213, 167, 0.16), var(--ed-premium-shadow-hover);
}

:is(.ed-intro__office, .ed-routine__image, .ed-hub-intro__image, .ed-detail-featured-image, .ed-about-history__office, .ed-contact-hours__image, .ed-family-hero__image, .ed-reviews__image) img {
  transition: transform 700ms var(--ed-motion-ease), filter 420ms ease;
}

:is(.ed-intro__office, .ed-routine__image, .ed-hub-intro__image, .ed-detail-featured-image, .ed-about-history__office, .ed-contact-hours__image, .ed-family-hero__image, .ed-reviews__image):hover img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.02);
}

@keyframes ed-float-soft {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

.ed-floating-card,
.ed-year-badge {
  animation: ed-float-soft 5.6s ease-in-out infinite;
}

.ed-floating-card--phone,
.ed-floating-card--routine,
.ed-floating-card--reviews {
  animation-delay: -2.8s;
}

/* --------------------------------------------------------------------------
 * Real icon treatments for contact and checklist items.
 * -------------------------------------------------------------------------- */
.ed-contact-card > .kt-inside-inner-col::before,
.ed-contact-detail::before {
  content: "" !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  box-shadow: inset 0 0 0 1px rgba(7, 135, 196, 0.06);
}

.ed-contact-card--phone > .kt-inside-inner-col::before,
.ed-contact-detail--phone::before {
  background-image: var(--ed-svg-phone);
}

.ed-contact-card--location > .kt-inside-inner-col::before,
.ed-contact-detail--location::before {
  background-image: var(--ed-svg-pin);
}

.ed-contact-card--calendar > .kt-inside-inner-col::before {
  background-image: var(--ed-svg-calendar);
}

.ed-contact-detail--text::before,
.ed-contact-detail--email::before {
  background-image: var(--ed-svg-mail);
}

.ed-checklist li::before {
  content: "";
  background-color: var(--ed-mint);
  background-image: var(--ed-svg-check-blue);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px 11px;
  -webkit-mask: none;
  mask: none;
}

/* --------------------------------------------------------------------------
 * Dark panels and statistics inspired by Dentor's icon-led blocks.
 * -------------------------------------------------------------------------- */
.ed-service-group > .kt-inside-inner-col,
.ed-step-card > .kt-inside-inner-col,
.ed-detail-sidebar__cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.ed-service-group > .kt-inside-inner-col::before,
.ed-step-card > .kt-inside-inner-col::before,
.ed-detail-sidebar__cta::before {
  content: "";
  position: absolute;
  top: -45px;
  right: -45px;
  z-index: -1;
  width: 150px;
  height: 150px;
  border: 28px solid rgba(141, 224, 251, 0.09);
  border-radius: 50%;
}

.ed-stats {
  position: relative;
  overflow: hidden;
}

.ed-stats::after {
  content: "";
  position: absolute;
  inset: -80% auto -80% -30%;
  width: 28%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.16), transparent);
  transform: skewX(-18deg);
  animation: ed-stat-shine 8s ease-in-out infinite;
}

@keyframes ed-stat-shine {
  0%, 58% { left: -30%; opacity: 0; }
  65% { opacity: 1; }
  86%, 100% { left: 115%; opacity: 0; }
}

.ed-stat__number {
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

/* --------------------------------------------------------------------------
 * FAQ interaction polish.
 * -------------------------------------------------------------------------- */
.ed-faq-item {
  overflow: hidden;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms var(--ed-card-ease), background-color 240ms ease;
}

.ed-faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(7, 135, 196, 0.16);
  box-shadow: 0 14px 28px rgba(6, 40, 58, 0.08);
}

.ed-faq-item[open] {
  border-color: rgba(7, 135, 196, 0.2);
  background: linear-gradient(145deg, #fff, #f8fcfd);
  box-shadow: 0 18px 36px rgba(6, 40, 58, 0.1);
}

.ed-faq-item summary::after {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--ed-blue-dark);
  background: var(--ed-mint);
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(7, 135, 196, 0.12);
  transition: transform 240ms var(--ed-card-ease), color 240ms ease, background-color 240ms ease;
}

.ed-faq-item[open] summary::after {
  color: #fff;
  background: var(--ed-blue);
  transform: translateY(-50%) rotate(180deg);
}

.ed-faq-item[open] > p,
.ed-faq-item[open] > .wp-block-group__inner-container {
  animation: ed-faq-answer-in 360ms var(--ed-motion-ease) both;
}

@keyframes ed-faq-answer-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
 * Progressive heading/image motion. Existing ed-reveal remains the fallback.
 * -------------------------------------------------------------------------- */
html.ed-enhanced-motion .ed-motion-item {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  filter: none;
  transition:
    opacity 520ms var(--ed-motion-ease),
    transform 520ms var(--ed-motion-ease);
  transition-delay: var(--ed-motion-delay, 0ms);
  will-change: opacity, transform;
}

html.ed-enhanced-motion .ed-motion-item.ed-motion-from-left {
  transform: translate3d(-30px, 0, 0);
}

html.ed-enhanced-motion .ed-motion-item.ed-motion-from-right {
  transform: translate3d(30px, 0, 0);
}

html.ed-enhanced-motion .ed-motion-item.ed-motion-scale {
  transform: scale(0.965);
}

html.ed-enhanced-motion .ed-motion-item.ed-motion-visible {
  opacity: 1;
  transform: none;
  filter: none;
  will-change: auto;
}

.ed-animations-ready .ed-reveal {
  filter: none;
  transition-duration: 520ms;
  transition-timing-function: var(--ed-motion-ease);
}

.ed-animations-ready .ed-reveal.is-visible {
  filter: none;
}

/* --------------------------------------------------------------------------
 * Responsive refinements.
 * -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .ed-kicker,
  .ed-page-hero__kicker,
  .ed-post-cta__kicker,
  .ed-service-proof__eyebrow {
    max-width: 100%;
  }

  :is(.ed-services, .ed-hub-procedures, .ed-detail-related, .ed-interior-faq, .ed-family-stages, .ed-about-team, .ed-form-directory, .ed-education-page, .ed-faq)::before {
    width: 160px;
    height: 160px;
    opacity: 0.3;
  }
}

@media (max-width: 767px) {
  .ed-service-card__image::before,
  .ed-procedure-card__image::before {
    left: 20px;
    width: 48px;
    height: 48px;
  }

  .ed-service-card__image::after,
  .ed-procedure-card__image::after {
    left: 33px;
    bottom: -8px;
    width: 21px;
    height: 21px;
  }

  .ed-title-accent::after {
    width: 62px;
    height: 4px;
    margin-top: 15px;
  }

  .ed-page-hero::before {
    width: 250px;
    height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ed-floating-card,
  .ed-year-badge,
  .ed-stats::after {
    animation: none !important;
  }

  html.ed-enhanced-motion .ed-motion-item,
  .ed-animations-ready .ed-reveal,
  .ed-pointer-card,
  :is(.ed-intro__office, .ed-routine__image, .ed-hub-intro__image, .ed-detail-featured-image, .ed-about-history__office, .ed-contact-hours__image, .ed-family-hero__image, .ed-reviews__image),
  :is(.ed-intro__office, .ed-routine__image, .ed-hub-intro__image, .ed-detail-featured-image, .ed-about-history__office, .ed-contact-hours__image, .ed-family-hero__image, .ed-reviews__image) img {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
 * Additional 2.3.0 detail polish.
 * -------------------------------------------------------------------------- */
:is(
  .ed-title-accent,
  .ed-section-title,
  .ed-detail-title,
  .ed-contact-form__title,
  .ed-appointment-form__title,
  .ed-form-detail__title,
  .ed-post-cta h2
) {
  position: relative;
  text-wrap: balance;
}

:is(
  .ed-title-accent,
  .ed-section-title,
  .ed-detail-title,
  .ed-contact-form__title,
  .ed-appointment-form__title,
  .ed-form-detail__title,
  .ed-post-cta h2
)::after {
  content: "";
  display: block;
  width: 76px;
  height: 5px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ed-blue) 0 62%, var(--ed-mint-strong) 62% 84%, var(--ed-red) 84% 100%);
  box-shadow: 0 6px 14px rgba(7, 135, 196, 0.13);
  transform-origin: left;
}

:is(.ed-smile__heading, .ed-reviews-page, .ed-search-page, .ed-confirmation)
:is(.ed-section-title, .ed-detail-title, .ed-contact-form__title, .ed-appointment-form__title, .ed-form-detail__title)::after {
  margin-right: auto;
  margin-left: auto;
}

:is(.ed-section-title--light, .ed-display--light, .ed-post-cta h2)::after {
  background: linear-gradient(90deg, #8de0fb 0 60%, #70d5a7 60% 84%, #fff 84% 100%);
  box-shadow: none;
}

.ed-service-proof__image-card,
.ed-reviews-page__proof-card,
.ed-reviews__visual {
  position: relative;
}

.ed-service-proof__image-card::after,
.ed-reviews-page__proof-card::after,
.ed-reviews__visual::before {
  content: "";
  position: absolute;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 6px solid #fff;
  border-radius: 50%;
  background-color: var(--ed-blue);
  box-shadow: 0 14px 28px rgba(5, 37, 54, 0.18);
  -webkit-mask-image: none;
  mask-image: none;
}

.ed-service-proof__image-card::after,
.ed-reviews-page__proof-card::after {
  top: 22px;
  right: -18px;
  background-image: var(--ed-svg-quote-white);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  filter: none;
}

.ed-reviews__visual::before {
  top: 22px;
  right: -18px;
  background-image: var(--ed-svg-quote-white);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}

.ed-detail-topic__number {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: linear-gradient(145deg, #dcf8e9, #bcebd4);
  box-shadow: 0 10px 22px rgba(5, 37, 54, 0.11);
  font-size: 0.72rem;
}

.ed-detail-topic {
  transition: transform 260ms var(--ed-card-ease), box-shadow 260ms ease, border-color 260ms ease !important;
}

.ed-detail-topic:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(7, 135, 196, 0.17);
  box-shadow: 0 22px 44px rgba(6, 40, 58, 0.12);
}

.ed-service-group__links a,
.ed-detail-sidebar__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ed-service-group__links a::after,
.ed-detail-sidebar__links a::after {
  content: "";
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-left: 12px;
  background: currentColor;
  -webkit-mask: var(--ed-icon-arrow) center / contain no-repeat;
  mask: var(--ed-icon-arrow) center / contain no-repeat;
  opacity: 0.75;
  transition: transform 200ms var(--ed-card-ease);
}

.ed-service-group__links a:hover::after,
.ed-service-group__links a:focus-visible::after,
.ed-detail-sidebar__links a:hover::after,
.ed-detail-sidebar__links a:focus-visible::after {
  transform: translateX(4px);
}

.ed-blog-postgrid .kt-blocks-post-grid-item,
.ed-blog-postgrid article,
.ed-dentor-content-archive .loop-entry {
  position: relative;
  transition: transform 300ms var(--ed-card-ease), box-shadow 300ms ease, border-color 300ms ease;
}

.ed-blog-postgrid .kt-blocks-post-grid-item:hover,
.ed-blog-postgrid article:hover,
.ed-dentor-content-archive .loop-entry:hover {
  transform: translateY(-6px);
  border-color: rgba(7, 135, 196, 0.16);
  box-shadow: var(--ed-premium-shadow-hover);
}

.ed-blog-postgrid .kt-blocks-post-grid-item img,
.ed-blog-postgrid article img,
.ed-dentor-content-archive .loop-entry img {
  transition: transform 650ms var(--ed-motion-ease), filter 350ms ease;
}

.ed-blog-postgrid .kt-blocks-post-grid-item:hover img,
.ed-blog-postgrid article:hover img,
.ed-dentor-content-archive .loop-entry:hover img {
  transform: scale(1.035);
  filter: saturate(1.05);
}

.ed-blog-postgrid .kt-blocks-post-top-meta,
.ed-blog-postgrid .kt-blocks-post-grid-item .entry-taxonomies {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--ed-blue-dark);
  background: var(--ed-mint);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.ed-contact-detail,
.ed-contact-card > .kt-inside-inner-col {
  transition: transform 240ms var(--ed-card-ease), box-shadow 240ms ease, border-color 240ms ease;
}

.ed-contact-detail:hover,
.ed-contact-card:hover > .kt-inside-inner-col {
  transform: translateY(-3px);
  border-color: rgba(7, 135, 196, 0.16);
  box-shadow: 0 16px 34px rgba(6, 40, 58, 0.1);
}

.ed-dentor-interior .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus,
.ed-dentor-interior .gform_wrapper select:focus,
.ed-dentor-interior .gform_wrapper textarea:focus {
  border-color: rgba(7, 135, 196, 0.72);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(7, 135, 196, 0.1);
}

.header-navigation .sub-menu a {
  transition: color 180ms ease, background-color 180ms ease, transform 180ms var(--ed-card-ease);
}

.header-navigation .sub-menu a:hover,
.header-navigation .sub-menu a:focus-visible {
  color: var(--ed-blue-dark);
  background: var(--ed-mint);
  transform: translateX(3px);
}

@media (max-width: 767px) {
  :is(
    .ed-title-accent,
    .ed-section-title,
    .ed-detail-title,
    .ed-contact-form__title,
    .ed-appointment-form__title,
    .ed-form-detail__title,
    .ed-post-cta h2
  )::after {
    width: 62px;
    height: 4px;
    margin-top: 15px;
  }

  .ed-service-proof__image-card::after,
  .ed-reviews-page__proof-card::after,
  .ed-reviews__visual::before {
    right: 8px;
    width: 43px;
    height: 43px;
  }
}

/* --------------------------------------------------------------------------
 * 2.3.1 — Homepage hero label correction and H1/H2 letter motion.
 * The letter treatment is applied progressively by enhancements.js, so plain
 * headings remain fully readable when JavaScript is unavailable.
 * -------------------------------------------------------------------------- */

/* The homepage hero label needs the dark-section palette rather than the pale
 * default label treatment used on white sections. */
.ed-hero .ed-kicker {
  --ed-kicker-icon: var(--ed-svg-tooth-white);
  --ed-kicker-bg: linear-gradient(100deg, rgba(7, 135, 196, 0.2), rgba(112, 213, 167, 0.11));
  --ed-kicker-border: rgba(141, 224, 251, 0.3);
  color: #b8ecff;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 12px 30px rgba(0, 0, 0, 0.12);
}

.ed-hero .ed-kicker::before {
  background-color: rgba(112, 213, 167, 0.18);
}

.ed-hero .ed-kicker::after {
  background: linear-gradient(90deg, #8de0fb, #70d5a7);
  opacity: 0.78;
}

.ed-letter-heading {
  position: relative;
  overflow: visible;
  text-rendering: geometricPrecision;
}


.ed-heading-visual {
  display: inline;
  color: inherit;
}

.ed-word {
  display: inline-block;
  white-space: nowrap;
}

.ed-letter {
  position: relative;
  display: inline-block;
  color: var(--ed-heading-base, currentColor);
  transform: translateZ(0);
  transform-origin: 50% 76%;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  transition:
    transform 220ms var(--ed-card-ease),
    color 220ms ease,
    text-shadow 220ms ease;
}

html.ed-heading-motion-armed .ed-letter-heading.ed-letter-ready:not(.ed-letters-visible) .ed-letter {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(0, 0.3em, 0) scale(0.62);
}

.ed-letter-heading.ed-letters-visible:not(.ed-letters-settled) .ed-letter {
  animation: ed-letter-zoom-in 780ms var(--ed-motion-ease) both;
  animation-delay: var(--ed-letter-delay, 0ms);
  will-change: opacity, transform, filter, color;
}

/* The first H2 below an interior hero starts immediately and completes in
 * well under a second, while retaining the same per-letter zoom treatment. */
.ed-letter-heading.ed-letter-priority.ed-letters-visible:not(.ed-letters-settled) .ed-letter {
  animation-name: ed-letter-zoom-in-priority;
  animation-duration: 520ms;
}

@keyframes ed-letter-zoom-in-priority {
  0% {
    opacity: 0.08;
    filter: blur(2px);
    color: var(--ed-letter-accent, var(--ed-heading-blue));
    transform: translate3d(0, 0.16em, 0) scale(0.78);
  }
  68% {
    opacity: 1;
    filter: blur(0);
    color: var(--ed-letter-accent, var(--ed-heading-blue));
    transform: translate3d(0, -0.02em, 0) scale(1.045);
  }
  100% {
    opacity: 1;
    filter: none;
    color: var(--ed-heading-base, currentColor);
    transform: none;
  }
}

.ed-letter-heading.ed-letters-settled .ed-letter {
  opacity: 1;
  filter: none;
  color: var(--ed-heading-base, currentColor);
  transform: none;
  animation: none;
}

.ed-letter-heading.ed-letters-settled.ed-palette-active .ed-letter {
  animation: ed-letter-palette-wave 980ms var(--ed-motion-ease) both;
  animation-delay: var(--ed-letter-wave-delay, 0ms);
}

@keyframes ed-letter-zoom-in {
  0% {
    opacity: 0;
    filter: blur(5px);
    color: var(--ed-letter-accent, var(--ed-heading-blue));
    transform: translate3d(0, 0.3em, 0) scale(0.62);
  }
  62% {
    opacity: 1;
    filter: blur(0);
    color: var(--ed-letter-accent, var(--ed-heading-blue));
    transform: translate3d(0, -0.035em, 0) scale(1.085);
  }
  100% {
    opacity: 1;
    filter: none;
    color: var(--ed-heading-base, currentColor);
    transform: none;
  }
}

@keyframes ed-letter-palette-wave {
  0%, 100% {
    color: var(--ed-heading-base, currentColor);
    text-shadow: none;
  }
  20% {
    color: var(--ed-heading-blue, #0787c4);
    text-shadow: 0 0 0.34em color-mix(in srgb, var(--ed-heading-blue, #0787c4) 24%, transparent);
  }
  44% {
    color: var(--ed-heading-mint, #2fa979);
    text-shadow: 0 0 0.34em color-mix(in srgb, var(--ed-heading-mint, #2fa979) 22%, transparent);
  }
  68% {
    color: var(--ed-heading-red, #d83f50);
    text-shadow: 0 0 0.34em color-mix(in srgb, var(--ed-heading-red, #d83f50) 20%, transparent);
  }
  86% {
    color: var(--ed-heading-rest, var(--ed-heading-base, currentColor));
    text-shadow: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .ed-letter-heading.ed-letters-settled .ed-letter:hover {
    z-index: 3;
    color: var(--ed-letter-accent, var(--ed-heading-blue)) !important;
    text-shadow: 0 10px 24px color-mix(in srgb, var(--ed-letter-accent, #0787c4) 28%, transparent);
    transform: translate3d(0, -0.075em, 0) scale(1.18);
  }

  .ed-letter-heading.ed-letters-settled .ed-letter.ed-letter-near {
    z-index: 2;
    transform: translate3d(0, -0.025em, 0) scale(1.055);
  }
}

@supports not (color: color-mix(in srgb, red, blue)) {
  .ed-letter-heading.ed-letters-settled .ed-letter:hover {
    text-shadow: 0 10px 24px rgba(7, 135, 196, 0.22);
  }

  @keyframes ed-letter-palette-wave {
    0%, 100% { color: var(--ed-heading-base, currentColor); text-shadow: none; }
    20% { color: var(--ed-heading-blue, #0787c4); }
    44% { color: var(--ed-heading-mint, #2fa979); }
    68% { color: var(--ed-heading-red, #d83f50); }
    86% { color: var(--ed-heading-rest, var(--ed-heading-base, currentColor)); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .ed-letter-heading .ed-letter,
  .ed-letter-heading.ed-letter-ready .ed-letter,
  .ed-letter-heading.ed-letters-visible .ed-letter,
  .ed-letter-heading.ed-letters-settled .ed-letter {
    opacity: 1 !important;
    filter: none !important;
    color: var(--ed-heading-base, currentColor) !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
 * 2.5.1 — consistent content gutters for pillar-page procedure tiles.
 *
 * The hub cards use a separate core Group block for their text. Earlier rules
 * placed margins on individual headings and paragraphs, but Kadence/WordPress
 * can normalize those margins to zero. The body wrapper is now the single
 * source of spacing, matching the related-care and homepage card systems.
 * -------------------------------------------------------------------------- */
:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card > .kt-inside-inner-col {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
}

:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card__body {
  box-sizing: border-box !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 28px 28px !important;
}

:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card__title,
:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card__text,
:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card__link {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card__link {
  margin-top: auto !important;
}

@media (max-width: 780px) {
  :is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card__body {
    padding: 0 22px 24px !important;
  }
}

/* --------------------------------------------------------------------------
 * 2.5.2 — service-hub card gutters across legacy and current saved markup.
 *
 * Some hub pages were saved before the text wrapper
 * `.ed-procedure-card__body` was introduced. The 2.5.1 rules correctly padded
 * current cards, but their broad margin reset exposed the edges of legacy
 * cards. These final loaded rules support all three structures found in the
 * site: current Group blocks, older Groups with an inner-container wrapper,
 * and legacy cards whose title, summary and link are direct column children.
 * -------------------------------------------------------------------------- */
:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card > .kt-inside-inner-col {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
}

/* Current Group-block structure. */
:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card__body {
  box-sizing: border-box !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 28px 28px !important;
}

/* WordPress 5.x/early 6.x Group-block structure. */
:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card__body > .wp-block-group__inner-container {
  box-sizing: border-box !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card__body .ed-procedure-card__title,
:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card__body .ed-procedure-card__text,
:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card__body .ed-procedure-card__link {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card__body .ed-procedure-card__link {
  margin-top: auto !important;
  margin-bottom: 0 !important;
}

/* Legacy saved cards with title, summary and link directly under the column. */
:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card > .kt-inside-inner-col > .ed-procedure-card__title,
:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card > .kt-inside-inner-col > .ed-procedure-card__text,
:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card > .kt-inside-inner-col > .ed-procedure-card__link {
  box-sizing: border-box !important;
  width: calc(100% - 56px) !important;
  max-width: calc(100% - 56px) !important;
  margin-right: 28px !important;
  margin-left: 28px !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card > .kt-inside-inner-col > .ed-procedure-card__title {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card > .kt-inside-inner-col > .ed-procedure-card__text {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}

:is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card > .kt-inside-inner-col > .ed-procedure-card__link {
  margin-top: auto !important;
  margin-bottom: 28px !important;
}

@media (max-width: 780px) {
  :is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card__body {
    padding-right: 22px !important;
    padding-bottom: 24px !important;
    padding-left: 22px !important;
  }

  :is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card > .kt-inside-inner-col > .ed-procedure-card__title,
  :is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card > .kt-inside-inner-col > .ed-procedure-card__text,
  :is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card > .kt-inside-inner-col > .ed-procedure-card__link {
    width: calc(100% - 44px) !important;
    max-width: calc(100% - 44px) !important;
    margin-right: 22px !important;
    margin-left: 22px !important;
  }

  :is(.ed-hub-procedures, .ed-services-directory) .ed-procedure-card > .kt-inside-inner-col > .ed-procedure-card__link {
    margin-bottom: 24px !important;
  }
}

/* --------------------------------------------------------------------------
 * 2.5.3 responsive desktop bridge.
 *
 * Kadence changes from its desktop header to the mobile/tablet header at
 * 1024px. The full desktop navigation is comfortable on large screens, but
 * a browser window just above that breakpoint can leave too little room for
 * the complete menu. This bridge keeps the desktop navigation on one line
 * without changing the large-screen design.
 * -------------------------------------------------------------------------- */
@media screen and (min-width: 1025px) and (max-width: 1220px) {
  #masthead .site-main-header-wrap .site-header-row-container-inner > .site-container,
  #masthead .site-top-header-wrap .site-header-row-container-inner > .site-container {
    max-width: none !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  #masthead .site-main-header-inner-wrap {
    column-gap: 8px !important;
  }

  #masthead .site-header-main-section-left,
  #masthead .site-header-main-section-center,
  #masthead .site-header-main-section-right,
  #masthead .site-header-section,
  #masthead .site-header-item {
    min-width: 0 !important;
  }

  #masthead .site-header-main-section-right,
  #masthead .site-header-section {
    flex-wrap: nowrap !important;
  }

  #masthead .site-branding,
  #masthead .site-branding a {
    min-width: 0 !important;
  }

  #masthead .site-branding img,
  #masthead .custom-logo {
    width: auto !important;
    max-width: 148px !important;
  }

  #masthead .header-navigation,
  #masthead .header-navigation .primary-menu-container {
    width: 100% !important;
    min-width: 0 !important;
  }

  #masthead .header-navigation .menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    width: 100% !important;
  }

  #masthead .header-navigation .menu > li {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  #masthead .header-navigation .menu > li > a {
    padding-right: 5px !important;
    padding-left: 5px !important;
    font-size: clamp(10.6px, 0.95vw, 11.6px) !important;
    letter-spacing: 0.035em !important;
    white-space: nowrap !important;
  }

  #masthead .header-navigation .menu-item.ed-menu-cta > a {
    margin-left: 4px !important;
    padding: 9px 13px !important;
    font-size: clamp(10.2px, 0.9vw, 11px) !important;
  }

  #masthead .site-header-section > .site-header-item {
    margin-right: 5px !important;
  }

  #masthead .site-top-header-wrap .site-header-item,
  #masthead .site-top-header-wrap .header-html-inner,
  #masthead .site-top-header-wrap a {
    font-size: 11px !important;
    white-space: nowrap;
  }

  .ed-hero {
    min-height: 650px;
  }

  .ed-hero > .kt-row-column-wrap,
  .ed-hero > .kt-row-layout-inner > .kt-row-column-wrap {
    min-height: 650px;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.88fr) !important;
    gap: 28px;
    padding-top: 74px;
    padding-bottom: 92px;
  }

  .ed-hero .ed-display {
    font-size: clamp(3.35rem, 5.2vw, 4.1rem);
  }

  .ed-tooth-stage {
    min-height: 520px;
  }

  .ed-tooth-photo__image,
  .ed-tooth-stage::before {
    width: min(100%, 500px);
  }
}

@media screen and (min-width: 1025px) and (max-width: 1080px) {
  #masthead .site-branding img,
  #masthead .custom-logo {
    max-width: 136px !important;
  }

  #masthead .header-navigation .menu > li > a {
    padding-right: 3px !important;
    padding-left: 3px !important;
    font-size: 10.4px !important;
  }

  #masthead .header-navigation .menu-item.ed-menu-cta > a {
    margin-left: 2px !important;
    padding: 8px 10px !important;
    font-size: 10px !important;
  }
}

/* Stack the homepage hero before the narrow portrait-tablet range becomes
 * cramped. Kadence's mobile header already takes over at 1024px. */
@media screen and (max-width: 900px) {
  .ed-hero {
    min-height: 0;
  }

  .ed-hero > .kt-row-column-wrap,
  .ed-hero > .kt-row-layout-inner > .kt-row-column-wrap {
    min-height: 0;
    grid-template-columns: 1fr !important;
    gap: 42px;
    padding-top: 72px;
    padding-bottom: 92px;
  }

  .ed-hero__copy {
    width: min(100%, 680px);
  }

  .ed-tooth-stage {
    width: min(100%, 600px);
    min-height: 510px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 600px) {
  .ed-hero > .kt-row-column-wrap,
  .ed-hero > .kt-row-layout-inner > .kt-row-column-wrap {
    gap: 30px;
    padding-top: 58px;
    padding-bottom: 78px;
  }

  .ed-tooth-stage {
    min-height: 430px;
  }
}


/* ===== near-fold critical fallback (2.6.3) ===== */
/* Excel Dental 2.6.3 near-fold critical rendering.
 * The first content panel after an interior hero must never wait for the
 * decorative reveal system. It is commonly the next thing a visitor sees. */
body.ed-dentor-interior .entry-content > .ed-page-hero + .ed-interior-section,
body.ed-dentor-interior .entry-content > .ed-page-hero + .ed-section,
body.ed-dentor-family .entry-content > .ed-family-hero + .ed-interior-section,
body.ed-dentor-family .entry-content > .ed-family-hero + .ed-section {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

html.ed-enhanced-motion body.ed-dentor-interior .entry-content > .ed-page-hero + .ed-interior-section .ed-motion-item,
html.ed-enhanced-motion body.ed-dentor-interior .entry-content > .ed-page-hero + .ed-section .ed-motion-item,
html.ed-enhanced-motion body.ed-dentor-family .entry-content > .ed-family-hero + .ed-interior-section .ed-motion-item,
html.ed-enhanced-motion body.ed-dentor-family .entry-content > .ed-family-hero + .ed-section .ed-motion-item {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
  transition-delay: 0ms !important;
  will-change: auto !important;
}

/* --------------------------------------------------------------------------
 * 2.6.7 accessible body-text contrast and readable weight.
 *
 * The previous muted slate (#607482) measured about 4.50:1 on the pale-blue
 * section background and could fall just below Lighthouse's threshold. The
 * darker slate below preserves the design while providing a wider contrast
 * margin on both white and #edf8fb surfaces. Brand red remains unchanged for
 * decorative accents; --ed-red-text is reserved for small red copy.
 * -------------------------------------------------------------------------- */

/* Larger secondary copy stays open and calm, with a modest weight increase. */
.ed-lead,
.ed-body-large,
.ed-detail-lead,
.ed-contact-form__intro {
  font-weight: 450;
}

/* Smaller explanatory copy benefits from a true medium weight. */
.ed-floating-card__copy span,
.ed-contact-card__text,
.ed-service-card__text,
.ed-dentist-card__text,
.ed-articles-grid .wp-block-latest-posts__post-excerpt,
.ed-faq-item > p,
.ed-family-card__text,
.ed-interior-card__text,
.ed-procedure-card__text,
.ed-detail-sidebar__text,
.ed-about-profile__text,
.ed-team-card__text,
.ed-contact-detail__text,
.ed-appointment-note__text,
.ed-download-panel__text,
.ed-family-stage-card__text {
  font-weight: 500;
}

/* Long-form treatment and preserved legacy copy already uses a darker colour;
 * strengthen it slightly without making it look like a heading. */
.ed-preserved-content p,
.ed-preserved-content li,
.ed-detail-editorial__text,
.ed-detail-editorial__list li,
.ed-dentor-single-post .entry-content p,
.ed-dentor-single-post .entry-content li {
  font-weight: 450;
}

/* Accessible text red for small labels, dates, roles and hover states. */
.ed-kicker--red,
.ed-dentist-card__role,
.ed-articles-grid .wp-block-latest-posts__post-date,
.ed-about-profile__role,
.ed-team-card__role,
.ed-service-proof__eyebrow,
.ed-text-link:hover,
.ed-text-link:focus-visible {
  color: var(--ed-red-text);
}

/* Honour the operating-system request for stronger contrast even without a
 * third-party accessibility overlay. */
@media (prefers-contrast: more) {
  :root {
    --ed-muted: #3f5562;
    --ed-red-text: #a82439;
  }

  .ed-section,
  .ed-interior-section,
  .ed-dentor-single-post .entry-content {
    text-rendering: optimizeLegibility;
  }
}

/* ===== critical.css ===== */
/* Excel Dental 2.6.3 near-fold critical rendering.
 * The first content panel after an interior hero must never wait for the
 * decorative reveal system. It is commonly the next thing a visitor sees. */
body.ed-dentor-interior .entry-content > .ed-page-hero + .ed-interior-section,
body.ed-dentor-interior .entry-content > .ed-page-hero + .ed-section,
body.ed-dentor-family .entry-content > .ed-family-hero + .ed-interior-section,
body.ed-dentor-family .entry-content > .ed-family-hero + .ed-section {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

html.ed-enhanced-motion body.ed-dentor-interior .entry-content > .ed-page-hero + .ed-interior-section .ed-motion-item,
html.ed-enhanced-motion body.ed-dentor-interior .entry-content > .ed-page-hero + .ed-section .ed-motion-item,
html.ed-enhanced-motion body.ed-dentor-family .entry-content > .ed-family-hero + .ed-interior-section .ed-motion-item,
html.ed-enhanced-motion body.ed-dentor-family .entry-content > .ed-family-hero + .ed-section .ed-motion-item {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
  transition-delay: 0ms !important;
  will-change: auto !important;
}

/* 2.6.5: Heading letters are prepared before use, while the hidden start
 * state is armed only after viewport observers are attached. */

/* ===== footer.css ===== */
/* Excel Dental Dentor footer — version 2.6.1 */

/* Native Kadence footer output is removed server-side; this remains a defensive fallback. */
.ed-dentor-footer-active .site-footer {
  display: none !important;
}

.ed-dentor-footer {
  --ed-footer-ink: #f7fbfd;
  --ed-footer-muted: rgba(238, 247, 250, 0.76);
  --ed-footer-line: rgba(226, 242, 247, 0.17);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  color: var(--ed-footer-ink);
  background-color: #041b29;
  background-image: var(--ed-footer-background, none);
  background-position: center 42%;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: var(--ed-font, "Montserrat", system-ui, sans-serif);
}

.ed-dentor-footer::before,
.ed-dentor-footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.ed-dentor-footer::before {
  inset: 0;
  background:
    linear-gradient(108deg, rgba(2, 20, 30, 0.97) 0%, rgba(3, 29, 43, 0.95) 46%, rgba(6, 40, 57, 0.89) 100%),
    radial-gradient(circle at 13% 18%, rgba(7, 135, 196, 0.22), transparent 34%);
}

.ed-dentor-footer::after {
  width: 430px;
  height: 430px;
  right: -182px;
  bottom: 52px;
  border: 50px solid rgba(112, 213, 167, 0.08);
  border-radius: 50%;
}

.ed-footer__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.82) 0.8px, transparent 0.8px);
  background-size: 25px 25px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 48%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 48%, #000 100%);
}

.ed-footer__main {
  width: min(100%, 1250px);
  margin-inline: auto;
  padding: clamp(70px, 7vw, 102px) clamp(22px, 4vw, 44px) 40px;
  display: grid;
  grid-template-columns: minmax(250px, 0.84fr) minmax(0, 2.16fr);
  gap: clamp(46px, 6vw, 84px);
  align-items: start;
}

.ed-footer__brand,
.ed-footer__content,
.ed-footer__column {
  min-width: 0;
}

.ed-footer__logo {
  display: inline-flex;
  align-items: center;
  width: min(100%, 230px);
  padding: 10px 15px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ed-footer__logo:hover,
.ed-footer__logo:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 23px 50px rgba(0, 0, 0, 0.26);
}

.ed-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 55px;
  object-fit: contain;
}

.ed-footer__brand > p {
  max-width: 340px;
  margin: 24px 0 18px;
  color: var(--ed-footer-muted);
  font-size: 0.91rem;
  line-height: 1.72;
}

.ed-footer__appointment {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  margin-bottom: 20px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--ed-blue, #0787c4);
  box-shadow: 0 13px 28px rgba(7, 135, 196, 0.24);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.ed-footer__appointment:hover,
.ed-footer__appointment:focus-visible {
  color: #052231;
  background: var(--ed-mint-strong, #70d5a7);
  transform: translateY(-3px);
  box-shadow: 0 17px 34px rgba(0, 0, 0, 0.22);
}

.ed-footer__appointment svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 180ms ease;
}

.ed-footer__appointment:hover svg,
.ed-footer__appointment:focus-visible svg {
  transform: translateX(3px);
}

.ed-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.ed-footer__socials a {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
  background: rgba(7, 135, 196, 0.42);
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.ed-footer__socials a:hover,
.ed-footer__socials a:focus-visible {
  color: #072637;
  background: var(--ed-mint-strong, #70d5a7);
  border-color: var(--ed-mint-strong, #70d5a7);
  transform: translateY(-3px) rotate(-3deg);
}

.ed-footer__socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ed-footer__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  max-width: 350px;
}

.ed-footer__gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.32 / 1;
  border: 2px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.ed-footer__gallery a::after {
  content: "↗";
  position: absolute;
  right: 7px;
  bottom: 7px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: #052231;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.ed-footer__gallery a:hover::after,
.ed-footer__gallery a:focus-visible::after {
  opacity: 1;
  transform: none;
}

.ed-footer__gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.ed-footer__gallery a:hover img,
.ed-footer__gallery a:focus-visible img {
  transform: scale(1.08);
  filter: saturate(1.08) brightness(1.05);
}

.ed-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 34px;
}

.ed-footer__column h2 {
  position: relative;
  margin: 2px 0 20px;
  padding-bottom: 13px;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ed-footer__column h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ed-blue, #0787c4), var(--ed-mint-strong, #70d5a7));
}

.ed-footer__column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ed-footer__column:not(.ed-footer__hours) li + li {
  margin-top: 9px;
}

.ed-footer__column:not(.ed-footer__hours) a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ed-footer-muted);
  font-size: 0.84rem;
  line-height: 1.42;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.ed-footer__column:not(.ed-footer__hours) a svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  fill: var(--ed-mint-strong, #70d5a7);
  transition: transform 160ms ease;
}

.ed-footer__column:not(.ed-footer__hours) a:hover,
.ed-footer__column:not(.ed-footer__hours) a:focus-visible {
  color: #fff;
  transform: translateX(3px);
}

.ed-footer__column:not(.ed-footer__hours) a:hover svg,
.ed-footer__column:not(.ed-footer__hours) a:focus-visible svg {
  transform: translateX(2px);
}

.ed-footer__hours li {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--ed-footer-line);
  color: var(--ed-footer-muted);
  font-size: 0.75rem;
}

.ed-footer__hours li:first-child {
  padding-top: 0;
}

.ed-footer__hours li span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ed-footer__hours li svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  fill: var(--ed-mint-strong, #70d5a7);
}

.ed-footer__hours li strong {
  color: #fff;
  font-size: 0.73rem;
  line-height: 1.35;
  text-align: right;
  font-weight: 650;
}

.ed-footer__contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.04fr) minmax(0, 1.2fr);
  border-top: 1px solid var(--ed-footer-line);
  border-bottom: 1px solid var(--ed-footer-line);
}

.ed-footer__contact {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-width: 0;
  padding: 20px clamp(10px, 1.35vw, 18px);
  color: inherit;
  text-decoration: none;
}

.ed-footer__contact + .ed-footer__contact {
  border-left: 1px solid var(--ed-footer-line);
}

.ed-footer__contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ed-blue-dark, #006a9f);
  background: rgba(228, 248, 236, 0.98);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  transition: transform 180ms ease, background 180ms ease;
}

.ed-footer__contact:hover .ed-footer__contact-icon,
.ed-footer__contact:focus-visible .ed-footer__contact-icon {
  transform: translateY(-3px) scale(1.04);
  background: #fff;
}

.ed-footer__contact-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.ed-footer__contact > span:last-child {
  min-width: 0;
}

.ed-footer__contact small,
.ed-footer__contact strong {
  display: block;
}

.ed-footer__contact small {
  margin-bottom: 3px;
  color: var(--ed-footer-muted);
  font-size: 0.7rem;
  line-height: 1.25;
}

.ed-footer__contact strong,
.ed-footer__contact strong a {
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ed-footer__contact strong a:hover,
.ed-footer__contact strong a:focus-visible {
  color: var(--ed-mint-strong, #70d5a7);
}

.ed-footer__contact-value--email {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  letter-spacing: -0.01em;
}

.ed-footer__phone-lines {
  display: grid !important;
  gap: 3px;
}

.ed-footer__phone-lines a {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  gap: 6px;
  align-items: baseline;
  width: max-content;
  max-width: 100%;
  line-height: 1.35;
}

.ed-footer__phone-label {
  color: var(--ed-mint-strong, #70d5a7);
  font-size: 0.7rem;
  font-weight: 750;
}

.ed-footer__phone-number {
  color: #fff;
  white-space: nowrap;
}

.ed-footer__location-copy {
  display: grid !important;
  gap: 2px;
}

.ed-footer__location-name {
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.25;
}

.ed-footer__location-address {
  color: var(--ed-footer-muted);
  font-size: 0.7rem;
  line-height: 1.35;
  font-weight: 600;
}

.ed-footer__contact em {
  color: rgba(255,255,255,0.42);
  font-style: normal;
}

.ed-footer__bottom {
  position: relative;
  background: rgba(0, 11, 18, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.ed-footer__bottom-inner {
  width: min(100%, 1250px);
  margin-inline: auto;
  padding: 17px clamp(22px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
}

.ed-footer__bottom p {
  margin: 0;
}

.ed-footer__design-credit {
  display: inline-block;
  margin-left: 0.42em;
  white-space: nowrap;
}

.ed-footer__credit-separator {
  margin-left: 0.42em;
  color: rgba(255, 255, 255, 0.38);
}

.ed-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.ed-footer__bottom a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.ed-footer__bottom a:hover,
.ed-footer__bottom a:focus-visible {
  color: var(--ed-mint-strong, #70d5a7);
}

/* Homepage hero headline: about 10% smaller so the first CTA appears sooner. */
.ed-dentor-home .ed-hero__title {
  font-size: clamp(2.43rem, 5.04vw, 4.64rem);
  line-height: 1;
}

@media (max-width: 1024px) {
  .ed-footer__main {
    grid-template-columns: 1fr;
  }

  .ed-footer__brand {
    display: grid;
    grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
    column-gap: 40px;
    align-items: start;
  }

  .ed-footer__brand > p,
  .ed-footer__appointment,
  .ed-footer__socials {
    grid-column: 1;
  }

  .ed-footer__gallery {
    grid-column: 2;
    grid-row: 1 / span 4;
    max-width: none;
  }
}

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

  .ed-footer__hours {
    grid-column: 1 / -1;
  }

  .ed-footer__hours ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .ed-footer__contact-strip {
    grid-template-columns: 1fr;
  }

  .ed-footer__contact + .ed-footer__contact {
    border-left: 0;
    border-top: 1px solid var(--ed-footer-line);
  }
}

@media (max-width: 620px) {
  .ed-footer__main {
    padding-top: 58px;
    padding-bottom: 30px;
  }

  .ed-footer__brand {
    display: block;
  }

  .ed-footer__logo {
    max-width: 215px;
  }

  .ed-footer__gallery {
    margin-top: 25px;
  }

  .ed-footer__columns {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ed-footer__hours {
    grid-column: auto;
  }

  .ed-footer__hours ul {
    display: block;
  }

  .ed-footer__contact {
    padding: 18px 4px;
  }

  .ed-footer__contact-value--email {
    white-space: normal;
  }

  .ed-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ed-footer__bottom nav {
    justify-content: flex-start;
  }

  .ed-dentor-home .ed-hero__title {
    font-size: clamp(2.28rem, 11.7vw, 3.38rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ed-footer__logo,
  .ed-footer__appointment,
  .ed-footer__socials a,
  .ed-footer__gallery img,
  .ed-footer__contact-icon,
  .ed-footer__column a {
    transition: none !important;
    transform: none !important;
  }
}

/* ===== responsive.css ===== */
/*
 * Excel Dental responsive refinement — 2.5.3.
 *
 * Handles the awkward range between a full desktop monitor and a conventional
 * tablet/mobile viewport. No stored blocks, menus or Customizer values change.
 */

/* Compact desktop navigation for 1280–1400 class screens. */
@media screen and (min-width: 1201px) and (max-width: 1400px) {
  #main-header .site-main-header-inner-wrap {
    column-gap: 10px;
  }

  #main-header .site-branding img,
  #main-header .custom-logo {
    width: auto;
    max-width: 168px;
  }

  #main-header .header-navigation .menu > li > a {
    padding-right: 0.55em;
    padding-left: 0.55em;
    font-size: 12.5px;
    letter-spacing: 0.55px;
    white-space: nowrap;
  }

  #main-header .header-navigation .menu-item.ed-menu-cta > a {
    margin-left: 3px;
    padding: 10px 14px !important;
    font-size: 12px;
    white-space: nowrap;
  }

  #main-header .site-main-header-wrap .site-container {
    padding-right: 18px;
    padding-left: 18px;
  }
}

/*
 * Hybrid tablet / windowed-desktop header.
 *
 * Kadence normally switches at 1024px. The complete Excel Dental navigation
 * needs more room. Between 768px and 1100px, retain the useful desktop utility
 * bar, hide only the desktop navigation row, and show Kadence's mobile
 * logo/menu row underneath it.
 */
@media screen and (min-width: 768px) and (max-width: 1200px) {
  #main-header {
    display: block !important;
  }

  #main-header .site-main-header-wrap,
  #main-header .site-bottom-header-wrap {
    display: none !important;
  }

  #mobile-header,
  .site-mobile-header-wrap {
    display: block !important;
  }

  #mobile-header .site-top-header-wrap,
  #mobile-header .site-bottom-header-wrap {
    display: none !important;
  }

  #mobile-header .site-main-header-wrap {
    display: block !important;
    background: #fff;
    border-bottom: 1px solid rgba(6, 40, 58, 0.08);
  }

  #mobile-header .site-main-header-inner-wrap {
    min-height: 72px;
    align-items: center;
  }

  #mobile-header .site-main-header-wrap .site-container {
    padding-right: 24px;
    padding-left: 24px;
  }

  #mobile-header .site-branding img,
  #mobile-header .custom-logo {
    width: auto;
    max-width: 185px;
  }

  #mobile-header .menu-toggle-open,
  #mobile-header .mobile-toggle-open-container .menu-toggle-open,
  #mobile-toggle {
    display: inline-flex !important;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(7, 135, 196, 0.18);
    border-radius: 50%;
    color: #006a9f;
    background: #edf8fb;
    box-shadow: 0 10px 24px rgba(5, 37, 54, 0.08);
  }
}

/* Hide lower-priority utility items before the status and phone become cramped. */
@media screen and (min-width: 768px) and (max-width: 900px) {
  #main-header .site-header-top-section-left,
  #main-header [data-section="kadence_customizer_header_html2"] {
    display: none !important;
  }

  #main-header .site-header-top-section-right {
    width: 100%;
    justify-content: center;
  }

  #main-header .site-top-header-wrap .site-container {
    padding-right: 18px;
    padding-left: 18px;
  }
}

/* Homepage hero at laptop / windowed-desktop widths. */
@media screen and (min-width: 901px) and (max-width: 1200px) {
  .ed-dentor-home .ed-hero > .kt-row-column-wrap,
  .ed-dentor-home .ed-hero > .kt-row-layout-inner > .kt-row-column-wrap {
    min-height: 650px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr) !important;
    gap: 30px;
    padding-top: 74px;
    padding-bottom: 96px;
  }

  .ed-dentor-home .ed-hero__title {
    font-size: clamp(3rem, 5vw, 3.8rem);
    line-height: 1.01;
  }

  .ed-dentor-home .ed-hero__lead {
    max-width: 560px;
    font-size: 1rem;
  }

  .ed-dentor-home .ed-tooth-stage {
    min-height: 490px;
  }

  .ed-dentor-home .ed-tooth-photo__image {
    width: min(100%, 455px);
  }
}

/* Stack the homepage hero before the two-column composition becomes cramped. */
@media screen and (max-width: 900px) {
  .ed-dentor-home .ed-hero > .kt-row-column-wrap,
  .ed-dentor-home .ed-hero > .kt-row-layout-inner > .kt-row-column-wrap {
    grid-template-columns: 1fr !important;
  }

  .ed-dentor-home .ed-hero__copy {
    max-width: 680px;
  }

  .ed-dentor-home .ed-tooth-stage {
    width: min(100%, 620px);
    margin-right: auto;
    margin-left: auto;
  }
}

/* Short browser windows get a more compact hero without altering 4K layouts. */
@media screen and (min-width: 901px) and (max-height: 760px) {
  .ed-dentor-home .ed-hero,
  .ed-dentor-home .ed-hero > .kt-row-column-wrap,
  .ed-dentor-home .ed-hero > .kt-row-layout-inner > .kt-row-column-wrap {
    min-height: 590px;
  }

  .ed-dentor-home .ed-hero > .kt-row-column-wrap,
  .ed-dentor-home .ed-hero > .kt-row-layout-inner > .kt-row-column-wrap {
    padding-top: 58px;
    padding-bottom: 76px;
  }

  .ed-dentor-home .ed-hero__title {
    font-size: clamp(2.85rem, 4.5vw, 3.55rem);
  }

  .ed-dentor-home .ed-tooth-stage {
    min-height: 430px;
  }

  .ed-dentor-home .ed-tooth-photo__image {
    width: min(100%, 430px);
  }
}

/* Interior-page refinements at intermediate widths. */
@media screen and (min-width: 901px) and (max-width: 1180px) {
  .ed-page-hero > .kt-row-column-wrap,
  .ed-page-hero > .kt-row-layout-inner > .kt-row-column-wrap {
    min-height: 430px;
    padding-right: 54px !important;
    padding-left: 54px !important;
  }

  .ed-page-hero__title {
    max-width: 760px;
    font-size: clamp(3rem, 5vw, 4.4rem);
  }

  .ed-interior-section > .kt-row-column-wrap,
  .ed-interior-section > .kt-row-layout-inner > .kt-row-column-wrap {
    padding-right: 32px;
    padding-left: 32px;
  }
}

/* Small phones: preserve navigation and hero clarity. */
@media screen and (max-width: 480px) {
  #mobile-header .site-main-header-wrap .site-container {
    padding-right: 16px;
    padding-left: 16px;
  }

  #mobile-header .site-branding img,
  #mobile-header .custom-logo {
    max-width: 165px;
  }

  .ed-dentor-home .ed-hero__title {
    font-size: clamp(2.18rem, 10.6vw, 3rem);
  }
}

/* The redesigned footer also benefits from changing composition before 1024px.
   At windowed-desktop widths the brand/gallery row sits above the link columns. */
@media screen and (min-width: 821px) and (max-width: 1200px) {
  .ed-footer__main {
    grid-template-columns: 1fr;
  }

  .ed-footer__brand {
    display: grid;
    grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
    column-gap: 40px;
    align-items: start;
  }

  .ed-footer__brand > p,
  .ed-footer__appointment,
  .ed-footer__socials {
    grid-column: 1;
  }

  .ed-footer__gallery {
    grid-column: 2;
    grid-row: 1 / span 4;
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
 * 2.5.4 mobile/tablet utility-row palette parity.
 *
 * Kadence stores desktop and mobile header colours separately. Force the
 * useful live-status row to retain the approved Excel Dental navy and
 * light-blue palette whenever the mobile/tablet header is active.
 * -------------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
  #main-header .site-top-header-wrap,
  #main-header .site-top-header-wrap .site-header-row-container-inner,
  #main-header .site-top-header-wrap .site-header-row-container-inner > .site-container,
  #mobile-header .site-top-header-wrap,
  #mobile-header .site-top-header-wrap .site-header-row-container-inner,
  #mobile-header .site-top-header-wrap .site-header-row-container-inner > .site-container,
  .site-mobile-header-wrap .site-top-header-wrap,
  .site-mobile-header-wrap .site-top-header-wrap .site-header-row-container-inner,
  .site-mobile-header-wrap .site-top-header-wrap .site-header-row-container-inner > .site-container {
    color: #87d8f5 !important;
    background: #06283a !important;
  }

  #main-header .site-top-header-wrap .site-header-item,
  #main-header .site-top-header-wrap .header-html-inner,
  #main-header .site-top-header-wrap .header-html-inner p,
  #main-header .site-top-header-wrap .header-html-inner span,
  #main-header .site-top-header-wrap .header-html-inner strong,
  #main-header .site-top-header-wrap a,
  #main-header .site-top-header-wrap a:visited,
  #mobile-header .site-top-header-wrap .site-header-item,
  #mobile-header .site-top-header-wrap .header-html-inner,
  #mobile-header .site-top-header-wrap .header-html-inner p,
  #mobile-header .site-top-header-wrap .header-html-inner span,
  #mobile-header .site-top-header-wrap .header-html-inner strong,
  #mobile-header .site-top-header-wrap a,
  #mobile-header .site-top-header-wrap a:visited,
  .site-mobile-header-wrap .site-top-header-wrap .site-header-item,
  .site-mobile-header-wrap .site-top-header-wrap .header-html-inner,
  .site-mobile-header-wrap .site-top-header-wrap .header-html-inner p,
  .site-mobile-header-wrap .site-top-header-wrap .header-html-inner span,
  .site-mobile-header-wrap .site-top-header-wrap .header-html-inner strong,
  .site-mobile-header-wrap .site-top-header-wrap a,
  .site-mobile-header-wrap .site-top-header-wrap a:visited {
    color: #87d8f5 !important;
    text-decoration-color: rgba(135, 216, 245, 0.5) !important;
  }

  #main-header .site-top-header-wrap a:hover,
  #main-header .site-top-header-wrap a:focus-visible,
  #mobile-header .site-top-header-wrap a:hover,
  #mobile-header .site-top-header-wrap a:focus-visible,
  .site-mobile-header-wrap .site-top-header-wrap a:hover,
  .site-mobile-header-wrap .site-top-header-wrap a:focus-visible {
    color: #ffffff !important;
    text-decoration-color: rgba(255, 255, 255, 0.75) !important;
  }

  #main-header .site-top-header-wrap .social-button,
  #main-header .site-top-header-wrap .kadence-svg-iconset,
  #mobile-header .site-top-header-wrap .social-button,
  #mobile-header .site-top-header-wrap .kadence-svg-iconset,
  .site-mobile-header-wrap .site-top-header-wrap .social-button,
  .site-mobile-header-wrap .site-top-header-wrap .kadence-svg-iconset {
    color: #87d8f5 !important;
  }

  #main-header .site-top-header-wrap svg,
  #mobile-header .site-top-header-wrap svg,
  .site-mobile-header-wrap .site-top-header-wrap svg {
    color: inherit !important;
    fill: currentColor;
  }
}
