/* =============================================================
   Digital Elements — Serenity Grove
   Standalone theme styles + ACF block styles
   ============================================================= */

/* ── Base reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--de-font-body);
  color: #333;
  background-image: url('/wp-content/uploads/2021/11/Serenity-Grove-Leaf-Background-1.png');
  background-repeat: repeat;
  background-size: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── Layout helpers ───────────────────────────────────────────── */
#de-page { display: flex; flex-direction: column; min-height: 100vh; }
.de-main  { flex: 1; }

.de-container {
  max-width: var(--de-max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.de-container--narrow { max-width: 780px; }
.de-main--full { padding: 48px 0; }

/* ── Generic page.php content wrapper ───────────────────────── */
.de-page-content {
  max-width: 860px;
  margin: 48px auto;
  padding: 48px 56px;
  background: var(--de-white);
  border-radius: var(--de-radius);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.de-page-content__title {
  font-family: var(--de-font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--de-green-dark);
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--de-gray-light);
}
.de-page-content__body { font-size: 15px; line-height: 1.8; color: var(--de-gray); }
.de-page-content__body h2,
.de-page-content__body h3 {
  font-family: var(--de-font-head);
  color: var(--de-green-dark);
  margin: 1.5em 0 0.5em;
}
.de-page-content__body h2 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.de-page-content__body h3 { font-size: clamp(1rem, 1.5vw, 1.25rem); }
.de-page-content__body h2 span,
.de-page-content__body h3 span { font: inherit; color: inherit; }
.de-page-content__body p { margin: 0 0 1em; }
.de-page-content__body ul,
.de-page-content__body ol { padding-left: 1.5em; margin: 0 0 1em; }
.de-page-content__body a { color: var(--de-green); text-decoration: underline; }
.de-page-content__body a:hover { color: var(--de-green-dark); }

@media (max-width: 768px) {
  .de-page-content { margin: 24px 16px; padding: 32px 24px; }
}

/* ── Blog grid ────────────────────────────────────────────────── */
.de-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}
.de-post-card { border: 1px solid #e8e8e8; border-radius: 8px; overflow: hidden; background: white }
.de-post-card__thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.de-post-card__body { padding: 20px; }
.de-post-card__title { font: 600 18px/1.3 var(--de-font-head); margin: 0 0 8px; }
.de-post-card__title a { text-decoration: none; color: var(--de-dark); }
.de-post-card__title a:hover { color: var(--de-green); }
.de-post-card__date { font-size: 12px; color: #999; margin: 0 0 12px; }
.de-post-card__excerpt { font-size: 14px; margin: 0 0 16px; }

/* ── Blog pagination ──────────────────────────────────────────── */
.navigation.pagination { margin-top: 16px; }
.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 20px;
  font-family: var(--de-font-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--de-gray);
  background: var(--de-white);
  border: 2px solid #e8e8e8;
  transition: background var(--de-transition), color var(--de-transition), border-color var(--de-transition);
}
.navigation.pagination .page-numbers:hover {
  background: var(--de-green);
  border-color: var(--de-green);
  color: var(--de-white);
}
.navigation.pagination .page-numbers.current {
  background: var(--de-green);
  border-color: var(--de-green);
  color: var(--de-white);
}
.navigation.pagination .page-numbers.dots {
  background: none;
  border-color: transparent;
  pointer-events: none;
}

/* ── Single post ──────────────────────────────────────────────── */
.de-single__title {
  font-family: var(--de-font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--de-green-dark);
  line-height: 1.2;
  margin: 0 0 14px;
  margin-top: 0;
}

.de-single__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 24px;
}
.de-single__sep { color: #ccc; }
.de-single__author { font-weight: 600; color: #555; }
.de-single__cat { color: var(--de-green); text-decoration: none; }
.de-single__cat:hover { text-decoration: underline; }

.de-single__thumb { margin-bottom: 28px; }
.de-single__thumb img { width: 100%; border-radius: 8px; }

.de-single__content { font-size: 16px; line-height: 1.75; }

.de-single__tags {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #e8e8e8;
  font-size: 13px;
  color: #666;
}
.de-single__tags-label { font-weight: 600; margin-right: 4px; }
.de-single__tags a {
  color: var(--de-green);
  text-decoration: none;
}
.de-single__tags a:hover { text-decoration: underline; }

/* ── Post prev/next navigation ────────────────────────────────── */
.de-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
}
.de-post-nav__prev,
.de-post-nav__next { min-width: 0; }
.de-post-nav__next { text-align: right; }
.de-post-nav__prev a,
.de-post-nav__next a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.de-post-nav__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--de-green);
  margin-bottom: 4px;
}
.de-post-nav__title {
  display: block;
  font-family: var(--de-font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--de-green-dark);
  line-height: 1.3;
}
.de-post-nav__prev a:hover .de-post-nav__title,
.de-post-nav__next a:hover .de-post-nav__title {
  text-decoration: underline;
}

/* ── Scroll-to-top ────────────────────────────────────────────── */
.de-scrolltop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--de-green);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, background .2s;
  z-index: 998;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.de-scrolltop.is-visible { opacity: 1; pointer-events: auto; }
.de-scrolltop:hover { background: var(--de-green-dark); }

/* =============================================================
   Serenity Grove — ACF Block Styles
   ============================================================= */

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --de-green:        #7EA82B;
  --de-green-dark:   #415C0D;
  --de-green-hover:  #354D05;
  --de-green-pale:   #D6EAAE;
  --de-green-ppc:    #B0CA5F;
  --de-gray:         #565656;
  --de-gray-light:   #F5F5F5;
  --de-dark:         #1a1a1a;
  --de-gold:         #BA943D;
  --de-white:        #FFFFFF;

  --de-font-head:    'Playfair Display', Georgia, serif;
  --de-font-body:    'Montserrat', sans-serif;

  --de-max-w:        1100px;
  --de-radius:       25px;
  --de-transition:   0.2s ease;
}

/* ── Shared utilities ────────────────────────────────────────── */
.de-eyebrow {
  font-family: var(--de-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--de-green);
  margin: 0 0 10px;
}
.de-eyebrow--light { color: var(--de-green-pale); }

.de-btn {
  display: inline-block;
  font-family: var(--de-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 20px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--de-transition), color var(--de-transition), border-color var(--de-transition);
  text-align: center
}
.de-btn--primary {
  background: var(--de-green);
  color: var(--de-white);
  border-color: var(--de-green);
}
.de-btn--primary:hover {
  background: var(--de-green-hover);
  border-color: var(--de-green-hover);
  color: var(--de-white);
}
.de-btn--outline-white {
  background: transparent;
  color: var(--de-white);
  border-color: var(--de-white);
}
.de-btn--outline-white:hover {
  background: var(--de-white);
  color: var(--de-green-dark);
}
.de-btn--sm { padding: 10px 20px; font-size: 12px; }

/* ── Hero ────────────────────────────────────────────────────── */
.de-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--de-dark);
  min-height: 520px;
  display: flex;
  align-items: center;
}
.de-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.de-hero__inner {
  position: relative;
  max-width: var(--de-max-w);
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.de-hero__headline {
  font-family: var(--de-font-head);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  color: var(--de-white);
  line-height: 1.2;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.de-hero__sub {
  font-family: var(--de-font-body);
  font-size: 16px;
  color: rgba(255,255,255,0.88);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.de-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}
.de-hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}
.de-hero__badge-img {
  width: auto;
  object-fit: contain;
}

/* ── Callback Form ───────────────────────────────────────────── */
.de-callback-form {
  background: linear-gradient(135deg, #1e2d10 0%, #2f4018 50%, var(--de-gray) 100%);
  padding: 72px 24px;
}
.de-callback-form__inner {
  max-width: var(--de-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
.de-callback-form__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.de-callback-form__heading {
  font-family: var(--de-font-head);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  color: var(--de-white);
  margin: 0;
  line-height: 1.2;
}
.de-callback-form__sub {
  font-family: var(--de-font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0;
}
.de-callback-form__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--de-green);
  color: var(--de-white);
  font-family: var(--de-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 20px;
  transition: background var(--de-transition);
}
.de-callback-form__phone:hover { background: var(--de-green-dark); }
.de-callback-form__right {
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  padding: 36px 32px 28px;
}
.de-callback-form__privacy {
  font-family: var(--de-font-body);
  font-size: 11px;
  color: rgba(0,0,0,0.45);
  margin-top: 12px;
  line-height: 1.5;
  text-align: center;
}
.de-callback-form__right .gform_button,
.de-callback-form__right input[type="submit"] {
  background: var(--de-green) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 14px 28px !important;
  font-family: var(--de-font-body) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  width: auto !important;
  cursor: pointer !important;
  transition: background var(--de-transition) !important;
}
.de-callback-form__right .gform_button:hover,
.de-callback-form__right input[type="submit"]:hover {
  background: var(--de-green-dark) !important;
}
.de-callback-form__right .gform_footer { padding-bottom: 0 !important; }

/* ── Split Section ───────────────────────────────────────────── */
.de-split { padding: 0 24px; margin-block: 72px;}
.de-split--bg-dark  { background-color: var(--de-gray); }

/* White/light bg: transparent section so body leaf bg shows on sides; inner box carries the color */
.de-split--bg-light .de-split__inner { background-color: var(--de-gray-light); }
.de-split--bg-white .de-split__inner { background-color: var(--de-white); }
.de-split--bg-white .de-split__inner,
.de-split--bg-light .de-split__inner {
  padding: 0;
  border-radius: var(--de-radius);
}

.de-split__inner {
  max-width: var(--de-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  border: 1px solid rgba(0,0,0,.25)
}

/* Stagger: default = text left, image right; --img-left = image left, text right */
.de-split__media  { order: 2; }
.de-split__content { order: 1;     padding-block: 60px;}
.de-split--img-left .de-split__media  { order: -1; }
.de-split--img-left .de-split__content { order: 0; }

.de-split__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--de-radius);
  display: block;
}
.de-split__video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--de-radius);
  overflow: hidden;
}
.de-split__video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.de-split__media:has(.de-split__video-wrap) {
  padding-right: 56px;
}
/* Full-bleed variant — image goes edge-to-edge */
.de-split--full-bleed { padding: 0; }
.de-split--full-bleed .de-split__inner {
  max-width: none;
  margin: 0;
  gap: 0;
  min-height: 500px;
  background: none;
  border-radius: 0;
  padding: 0;
}
.de-split--full-bleed .de-split__media { overflow: hidden; }
.de-split--full-bleed .de-split__img {
  height: 100%;
  min-height: 500px;
  border-radius: 0;
}
.de-split--full-bleed .de-split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 72px 72px 72px 64px;
}
.de-split--full-bleed .de-split__content {
  padding: 72px 64px 72px 72px;
}
.de-split .de-split__content {
  padding-left: 56px;
}
.de-split.de-split--img-left .de-split__content {
  padding-left: 0;
  padding-right: 56px;
}

.de-split__heading {
  font-family: var(--de-font-head);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 600;
  color: var(--de-dark);
  margin: 0 0 16px;
  line-height: 1.25;
}
.de-split--bg-dark .de-split__heading { color: var(--de-white); }
.de-split__body {
  font-family: var(--de-font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--de-gray);
  margin-bottom: 28px;
}
.de-split--bg-dark .de-split__body { color: rgba(255,255,255,0.8); }

/* ── Insurance ───────────────────────────────────────────────── */
.de-insurance {
  background: var(--de-gray);
  padding: 72px 24px;
  text-align: center;
}
.de-insurance__inner { max-width: 960px; margin: 0 auto; }
.de-insurance__heading {
  font-family: var(--de-font-head);
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 600;
  color: var(--de-white);
  margin: 0 0 12px;
}
.de-insurance__body {
  font-family: var(--de-font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 40px;
}
.de-insurance__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 48px;
  margin-bottom: 40px;
}
.de-insurance__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity var(--de-transition);
}
.de-insurance__logo:hover { opacity: 1; }
/* Override interior-main typography resets inside dark blocks */
.de-interior-main .de-insurance__heading { color: var(--de-white); margin-top: 0; }
.de-interior-main .de-insurance__body    { color: rgba(255,255,255,0.7); }
.de-interior-main .de-insurance .de-eyebrow { color: var(--de-green-pale); }

/* ── Program Cards ───────────────────────────────────────────── */
.de-program-cards { background: var(--de-gray-light); padding: 80px 24px; }
.de-program-cards__inner { max-width: var(--de-max-w); margin: 0 auto; }
.de-program-cards__header { text-align: center; margin-bottom: 80px; }
.de-program-cards__heading {
  font-family: var(--de-font-head);
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 600;
  color: var(--de-dark);
  margin: 0 0 12px;
}
.de-program-cards__body {
  font-family: var(--de-font-body);
  font-size: 15px;
  color: var(--de-gray);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}
.de-program-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 30px; /* room for images that hang above each card */
}

/* Hanging-image card */
.de-program-card {
  background: var(--de-white);
  border-radius: 16px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.10);
  position: relative;
  padding-top: 190px; /* clears the overhanging image */
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.de-program-card:hover {
  box-shadow: 0 14px 44px rgba(0,0,0,0.16);
  transform: translateY(-4px);
}
.de-program-card__img-wrap {
  position: absolute;
  top: -45px;        /* hangs 60px above the card top */
  left: 20px;
  right: 20px;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
}
.de-program-card__img {
  width: 80%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  margin-inline: auto;
}
.de-program-card:hover .de-program-card__img { transform: scale(1.05); }
.de-program-card__body {
  padding: 16px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.de-program-card__title {
  font-family: var(--de-font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--de-dark);
  margin: 0;
  line-height: 1.3;
}
.de-program-card__desc {
  font-family: var(--de-font-body);
  font-size: 13px;
  color: var(--de-gray);
  line-height: 1.6;
  margin: 0;
}
.de-program-card__cta {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--de-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--de-green);
}

/* ── Reviews ─────────────────────────────────────────────────── */
.de-reviews {
  background: var(--de-gray) url('/wp-content/uploads/2023/11/iStock-1307265337-min.jpg') center center / cover no-repeat;
  padding: 72px 24px;
  position: relative;
}
.de-reviews::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(65, 92, 13, 0.80);
}
.de-reviews__inner { max-width: var(--de-max-w); margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.de-reviews__heading {
  font-family: var(--de-font-head);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 600;
  color: var(--de-white);
  margin: 0 0 40px;
}
.de-reviews__embed { text-align: left; }
.de-reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.de-review-card {
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px;
  text-align: left;
}
.de-review-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}
.de-review-card__stars { color: #FFD700; font-size: 18px; margin-bottom: 8px; }
.de-review-card__text {
  font-family: var(--de-font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin: 0 0 10px;
}
.de-review-card__name {
  font-family: var(--de-font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--de-green-pale);
}

/* ── Video Testimonial ───────────────────────────────────────── */
.de-video-testimonial {
  padding: 64px 24px;
}
.de-video-testimonial__inner {
  max-width: 860px;
  margin: 0 auto;
}
.de-video-testimonial__embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--de-radius);
  overflow: hidden;
}
.de-video-testimonial__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.de-cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--de-dark);
  padding: 80px 24px;
  text-align: center;
}
.de-cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(65, 92, 13, 0.80);
}
.de-cta-banner__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.de-cta-banner__heading {
  font-family: var(--de-font-head);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 700;
  color: var(--de-white);
  margin: 0 0 32px;
  line-height: 1.2;
}
.de-cta-banner__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── Team ────────────────────────────────────────────────────── */
.de-team { background: var(--de-white); padding: 72px 24px; }
.de-team__inner { max-width: var(--de-max-w); margin: 0 auto; }
.de-team__header { text-align: center; margin-bottom: 48px; }
.de-team__heading {
  font-family: var(--de-font-head);
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 600;
  color: var(--de-dark);
  margin: 0;
}
.de-team__grid {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
  grid-template-columns: repeat(auto-fit, 200px);
  justify-content: center;
}
.de-team-card {
  text-align: center;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px 14px 18px;
  transition: box-shadow .2s;
}
.de-team-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.de-team-card a { text-decoration: none; color: inherit; display: block; }
.de-team-card__photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: block;
}
.de-team-card__name {
  font-family: var(--de-font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--de-dark);
  margin: 0 0 4px;
  line-height: 1.3;
}
.de-team-card__title {
  font-family: var(--de-font-body);
  font-size: 12px;
  color: var(--de-gray);
  line-height: 1.4;
}
.de-team__cta { text-align: center; }

/* ── Blog List ───────────────────────────────────────────────── */
.de-blog-list { background: var(--de-gray-light); padding: 72px 24px; }
.de-blog-list__inner { max-width: var(--de-max-w); margin: 0 auto; }
.de-blog-list__header { text-align: center; margin-bottom: 48px; }
.de-blog-list__heading {
  font-family: var(--de-font-head);
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 600;
  color: var(--de-dark);
  margin: 0;
}
.de-blog-list__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.de-blog-card {
  background: var(--de-white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.de-blog-card__img-link { display: block; }
.de-blog-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.de-blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.de-blog-card__cat {
  font-family: var(--de-font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--de-green);
}
.de-blog-card__title {
  font-family: var(--de-font-head);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  flex: 1;
}
.de-blog-card__title a { color: var(--de-dark); text-decoration: none; }
.de-blog-card__title a:hover { color: var(--de-green); }
.de-blog-card__excerpt {
  font-family: var(--de-font-body);
  font-size: 14px;
  color: var(--de-gray);
  line-height: 1.6;
}
.de-blog-card__link {
  font-family: var(--de-font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--de-green);
  text-decoration: none;
  margin-top: auto;
}
.de-blog-card__link:hover { color: var(--de-green-dark); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .de-split__inner { grid-template-columns: 1fr; gap: 32px; }
  /* On mobile, restore natural HTML order (image on top) */
  .de-split__media  { order: 0; }
	.de-split__media:has(.de-split__video-wrap) {padding-inline: 0}
  .de-split__content { order: 0; }
  .de-split--bg-white .de-split__inner,
  .de-split--bg-light .de-split__inner { padding: 32px 24px; }
  .de-split__img { height: 280px; }
  .de-split--full-bleed .de-split__inner { grid-template-columns: 1fr; }
  .de-split--full-bleed .de-split__img { min-height: 280px; height: 280px; }
  .de-split--full-bleed .de-split__content,
  .de-split--full-bleed.de-split--img-left .de-split__content { padding: 48px 24px; }

  .de-callback-form { padding: 48px 20px; }
  .de-callback-form__inner { grid-template-columns: 1fr; gap: 36px; }
  .de-callback-form__left { align-items: center; text-align: center; }
  .de-callback-form__heading { font-size: 26px; }
  .de-callback-form__right { padding: 28px 20px 24px; }

  .de-program-cards__grid { grid-template-columns: 1fr; gap: 64px; padding-top: 50px; }
  .de-program-card { padding-top: 100px; }
  .de-program-card__img-wrap { top: -40px; left: 50%; right: auto; width: 160px; height: 160px; transform: translateX(-50%); }

  .de-hero__headline { font-size: 28px; }

  .de-cta-banner { padding: 60px 20px; }
    .de-split .de-split__content {
    padding-left: 0;
  }
  .de-split.de-split--img-left .de-split__content {
    padding-right: 0;
  }
  .de-split .de-split__content {padding-block: 0;}
}

/* =============================================================
   Interior Page Layout
   ============================================================= */

.de-interior-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
  max-width: var(--de-max-w);
  margin: 0 auto;
  padding: 50px 20px 70px;
  align-items: start;
  background-color: white;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  border: 1px solid #e5e5e5;
  margin-block: 25px;
  border-radius: 12px;
}

.de-interior-main {
  min-width: 0;
}

.de-interior-main h1,
.de-interior-main h2,
.de-interior-main h3 {
  font-family: var(--de-font-head);
  color: var(--de-green-dark);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.de-interior-main h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.de-interior-main h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
.de-interior-main h1 span,
.de-interior-main h2 span,
.de-interior-main h3 span { font: inherit; color: inherit; }
/* Kill top margin on whatever the first element is (direct child or first heading/para inside a block wrapper) */
.de-interior-main > :first-child,
.de-interior-main > :first-child > h1:first-child,
.de-interior-main > :first-child > h2:first-child,
.de-interior-main > :first-child > h3:first-child,
.de-interior-main > :first-child > p:first-child { margin-top: 0; }

.de-interior-main p  {
  font-family: var(--de-font-body);
  color: var(--de-gray);
  line-height: 1.75;
  margin-bottom: 1em;
}

.de-interior-main ul {
  font-family: var(--de-font-body);
  color: var(--de-gray);
  padding-left: 1.5em;
  margin-bottom: 1em;
  line-height: 1.75;
}

.de-interior-main a:not(.de-btn) {
  color: var(--de-green);
  text-decoration: underline;
}

/* reset interior-main overrides inside green card */
.de-interior-main .de-green-card h2,
.de-interior-main .de-green-card h3 {
  color: #fff;
  margin-top: 0;
}
.de-interior-main .de-green-card p,
.de-interior-main .de-green-card ul {
  color: rgba(255,255,255,.88);
}
.de-interior-main .de-green-card a:not(.de-btn) {
  color: #fff;
  text-decoration: underline;
}
.de-interior-main .de-green-card .de-btn {
  text-decoration: none;
}
.de-interior-main .de-green-card .de-btn--outline-white:hover {
  color: var(--de-green-dark);
}

/* ── Page Hero ────────────────────────────────────────────────── */
.de-page-hero {
  position: relative;
  background: var(--de-green-dark) center 30%/cover no-repeat;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}

.de-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}

.de-page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--de-max-w);
  width: 100%;
  margin: 0 auto;
  padding: 56px 24px 44px;
}

.de-page-hero__title {
  font-family: var(--de-font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
}

.de-page-hero__breadcrumb {
  font-family: var(--de-font-body);
  font-size: 13px;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.de-page-hero__breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.de-page-hero__breadcrumb a:hover { text-decoration: underline; }

/* ── Sidebar ──────────────────────────────────────────────────── */
.de-interior-sidebar {
  position: sticky;
  top: 200px;
}

.de-sidebar-badge {
  text-align: center;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 24px 20px;
  margin-bottom: 24px;
  background-color: white;
}

.de-sidebar-badge__logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 50%;
  margin: 0 auto 8px;
  display: block;
}

.de-sidebar-badge__label {
  font-family: var(--de-font-body);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--de-gray);
  margin: 6px 0;
  text-transform: uppercase;
}

.de-sidebar-badge__tagline {
  font-family: var(--de-font-head);
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--de-gray);
  margin: 10px 0 16px;
}

.de-sidebar-badge .de-btn {
  display: block;
  margin: 0 0 10px;
}

.de-sidebar-badge__phone {
  display: block;
  font-family: var(--de-font-body);
  font-size: 14px;
  color: var(--de-green-dark);
  font-weight: 500;
  text-decoration: none;
  border: 2px solid var(--de-green-dark);
  border-radius: 30px;
  padding: 8px 16px;
  text-align: center;
}

.de-sidebar-badge__phone:hover { background: var(--de-green-dark); color: #fff; }

.de-sidebar-areas {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
  background-color: white;
}

.de-sidebar-areas__heading {
  font-family: var(--de-font-body);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--de-gray);
  margin: 0 0 12px;
}

.de-sidebar-areas__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.de-sidebar-areas__list li {
  font-family: var(--de-font-body);
  font-size: 14px;
  padding: 4px 0;
}

.de-sidebar-areas__list a {
  color: var(--de-green);
  text-decoration: none;
}

.de-sidebar-areas__list a:hover { color: var(--de-green-dark); }

.de-sidebar-nav {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
  background-color: white;
}

.de-sidebar-nav__heading {
  font-family: var(--de-font-body);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--de-gray);
  margin: 0 0 12px;
}

.de-sidebar-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.de-sidebar-nav__list li {
  border-bottom: 1px solid #f0f0f0;
}

.de-sidebar-nav__list li:last-child { border-bottom: none; }

.de-sidebar-nav__list a {
  display: block;
  font-family: var(--de-font-body);
  font-size: 13px;
  color: var(--de-gray);
  text-decoration: none;
  padding: 8px 0;
}

.de-sidebar-nav__list a:hover { color: var(--de-green); }

/* ── Green Card ───────────────────────────────────────────────── */
.de-green-card {
  background: linear-gradient(135deg, #4a6d0e 0%, var(--de-green-dark) 100%);
  border-radius: 12px;
  padding: 40px 44px;
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}

.de-green-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}

.de-green-card__heading {
  font-family: var(--de-font-head);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  color: #fff;
  margin: 0 0 14px;
}

.de-green-card__body {
  font-family: var(--de-font-body);
  font-size: 15px;
  color: rgba(255,255,255,.88);
  line-height: 1.7;
  margin-bottom: 22px;
}

.de-green-card__body p { margin-bottom: .75em; }

.de-green-card .de-btn { margin-top: 0; }

/* ── Image Carousel ───────────────────────────────────────────── */
.de-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--de-radius);
  background: #000;
  margin: 24px 0;
  user-select: none;
}
.de-carousel__track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}
.de-carousel__slide {
  min-width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.de-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.de-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.de-carousel__btn:hover { background: rgba(0,0,0,0.75); }
.de-carousel__btn--prev { left: 12px; }
.de-carousel__btn--next { right: 12px; }
.de-carousel__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.de-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.de-carousel__dot.is-active {
  background: #fff;
  transform: scale(1.3);
}

/* ── Interior Form ────────────────────────────────────────────── */
.de-interior-form {
  background: #56565615;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 36px 40px;
  margin: 30px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.de-interior-form__heading {
  font-family: var(--de-font-head);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--de-green);
  text-align: center;
  margin: 0 0 24px;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .de-interior-layout {
    grid-template-columns: 1fr;
  }

  .de-interior-sidebar {
    position: static;
    order: 1;
  }
}

/* ═══════════════════════════════════════════════════════════
   SITE HEADER
═══════════════════════════════════════════════════════════ */
.de-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}

/* ── Top utility bar ────────────────────────────────────── */
.de-header__topbar { background: #f0f0f0; }
.de-header__topbar-inner {
  max-width: var(--de-max-w);
  margin: 0 auto;
  padding: 7px 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.de-header__phone {
  background: var(--de-green);
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  font: 600 13px/1 var(--de-font-body);
  text-decoration: none;
  letter-spacing: .02em;
  transition: background .2s;
}
.de-header__phone:hover { background: var(--de-green-dark); color: #fff; }
.de-header__cta {
  background: #1a2e5a;
  color: #fff;
  padding: 6px 16px;
  font: 700 11px/1 var(--de-font-body);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .09em;
  transition: background .2s;
}
.de-header__cta:hover { background: #0f1e3d; color: #fff; }

/* ── Logo row ───────────────────────────────────────────── */
.de-header__logo-row {
  padding: 14px 24px;
  border-bottom: 1px solid #e8e8e8;
}
.de-header__logo-inner {
  max-width: var(--de-max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.de-header__logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.de-header__logo-img  { height: 72px; width: auto; display: block; }
.de-header__site-name {
  font-family: var(--de-font-head);
  font-size: 24px;
  color: var(--de-green-dark);
}

/* ── Nav row ────────────────────────────────────────────── */
.de-header__nav { background: #fff; border-bottom: 1px solid #e8e8e8; }

.de-nav {
  max-width: var(--de-max-w);
  margin: 0 auto;
  padding: 0 8px;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
}
.de-nav > li > a {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 13px 8px;
  font: 500 11.5px/1 var(--de-font-body);
  color: #2a2a2a;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
  transition: color .15s;
}
.de-nav > li > a:hover,
.de-nav > li.current-menu-item > a,
.de-nav > li.current-menu-ancestor > a { color: var(--de-green); }

/* dropdown chevron */
.de-nav > li.menu-item-has-children > a::after {
  content: '▾';
  font-size: 9px;
  opacity: .55;
}

/* ── Dropdown menus ─────────────────────────────────────── */
.de-nav li { position: relative; }

.de-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 500;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: 3px solid var(--de-green);
  min-width: 225px;
  list-style: none;
  padding: 6px 0;
  margin: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  pointer-events: none;
}
.de-nav li:hover > .sub-menu,
.de-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.de-nav .sub-menu a {
  display: block;
  padding: 9px 16px;
  font: 400 13px/1.4 var(--de-font-body);
  color: #444;
  text-decoration: none;
  transition: color .12s, background .12s;
}
.de-nav .sub-menu a:hover { color: var(--de-green); background: #f6f9f0; }

/* 2nd-level flyout */
.de-nav .sub-menu .sub-menu {
  top: -3px;
  left: 100%;
  border-top: 3px solid var(--de-green);
}

/* ── Hamburger ──────────────────────────────────────────── */
.de-header__burger {
  display: none !important;   /* hidden desktop; override theme button resets */
  position: absolute;
  right: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  border-radius: 0 !important;
}
.de-header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.de-header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.de-header__burger.is-open span:nth-child(2) { opacity: 0; }
.de-header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .de-header__burger { display: flex !important; }

  .de-header__nav {
    overflow: hidden;
    max-height: 0;
    border-bottom: none;
    transition: max-height .32s ease;
  }
  .de-header__nav.is-open {
    max-height: 80vh;
    overflow-y: auto;
    border-bottom: 1px solid #e8e8e8;
  }

  .de-nav {
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 0;
    justify-content: flex-start;
  }
  .de-nav > li > a {
    padding: 13px 20px;
    border-bottom: 1px solid #f0f0f0;
    justify-content: space-between;
    letter-spacing: .05em;
  }
  .de-nav > li.menu-item-has-children > a::after {
    content: '›';
    font-size: 18px;
    font-weight: 300;
    transition: transform .2s;
  }
  .de-nav > li.menu-item-has-children.is-open > a::after { transform: rotate(90deg); }

  /* Dropdowns become accordion panels */
  .de-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--de-green);
    min-width: 0;
    padding: 4px 0;
    display: none;
    pointer-events: auto;
  }
  .de-nav li.is-open > .sub-menu { display: block; }

  .de-nav .sub-menu a { padding: 9px 20px 9px 24px; }

  .de-nav .sub-menu .sub-menu {
    left: 0;
    top: 0;
    border-top: none;
    border-left: 3px solid var(--de-green-dark);
    margin-left: 12px;
  }
}

/* ===== FOOTER ===== */
.de-footer {
  font-family: var(--de-font-body);
}

.de-footer__main {
  background: #f7f7f7;
  padding: 56px 24px;
  border-top: 1px solid #e4e4e4;
}

.de-footer__inner {
  max-width: var(--de-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Brand col */
.de-footer__col--brand { display: flex; flex-direction: column; }

.de-footer__logo-link { display: block; margin-bottom: 18px; }
.de-footer__logo-img  { height: 66px; width: auto; display: block; }
.de-footer__site-name { font: 700 18px/1 var(--de-font-head); color: var(--de-green-dark); }

.de-footer__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}
.de-footer__phone-btn,
.de-footer__cta-btn {
  display: block;
  text-align: center;
  padding: 10px 16px;
  border-radius: 4px;
  font: 600 13px/1 var(--de-font-body);
  text-decoration: none;
}
.de-footer__phone-btn {
  background: var(--de-green);
  color: #fff;
}
.de-footer__phone-btn:hover { background: var(--de-green-hover); color: #fff; }
.de-footer__cta-btn {
  background: transparent;
  color: var(--de-green-dark);
  border: 2px solid var(--de-green);
}
.de-footer__cta-btn:hover { background: var(--de-green); color: #fff; }

.de-footer__map { margin: 18px 0 14px; }
.de-footer__map iframe { width: 100%; height: 170px; border: 0; display: block; }

.de-footer__address {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  font-style: normal;
}

/* Nav cols */
.de-footer__col-head {
  font: 600 11px/1 var(--de-font-body);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--de-green-dark);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--de-green);
}

.de-footer__col h4.de-footer__col-head + h4.de-footer__col-head,
.de-footer__col ul + h4.de-footer__col-head {
  margin-top: 28px;
}

.de-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.de-footer__col ul li {
  border-bottom: 1px solid #e0e0e0;
}
.de-footer__col ul li a {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  color: #444;
  text-decoration: none;
  transition: color var(--de-transition), padding-left var(--de-transition);
}
.de-footer__col ul li a:hover {
  color: var(--de-green);
  padding-left: 4px;
}

/* Bottom bar */
.de-footer__bottom {
  background: var(--de-green-dark);
  padding: 14px 24px;
}
.de-footer__bottom-inner {
  max-width: var(--de-max-w);
  margin: 0 auto;
  text-align: center;
}
.de-footer__bottom p {
  font-size: 12px;
  color: rgba(255,255,255,.75);
  margin: 0;
  line-height: 1.8;
}
.de-footer__bottom a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
}
.de-footer__bottom a:hover { color: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .de-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .de-footer__col--brand { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
  .de-footer__col--brand .de-footer__logo-link { flex: 0 0 auto; }
  .de-footer__col--brand .de-footer__btns { flex-direction: row; flex-wrap: wrap; }
  .de-footer__col--brand .de-footer__phone-btn,
  .de-footer__col--brand .de-footer__cta-btn { flex: 1 1 140px; }
  .de-footer__col--brand .de-footer__map { flex: 1 1 100%; margin-top: 0; }
  .de-footer__col--brand .de-footer__address { flex: 1 1 100%; }
}

@media (max-width: 560px) {
  .de-footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .de-footer__col--brand { flex-direction: column; }
  .de-footer__col--brand .de-footer__btns { flex-direction: row; gap: 10px; }
  .de-footer__col--brand .de-footer__phone-btn,
  .de-footer__col--brand .de-footer__cta-btn { flex: 0 0 auto; width: auto; }
  .de-footer__bottom p { font-size: 11px; }

  .de-post-nav {
    grid-template-columns: 1fr;
  }
  .de-post-nav__next { text-align: left; }
}

/* ── Bottom CTA section (page-interior.php) ──────────────────────── */
.de-bottom-cta {
  position: relative;
  background: var(--de-green-dark) center center / cover no-repeat;
  padding: 72px 24px;
}
.de-bottom-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(90, 90, 90, .72);
}
.de-bottom-cta__inner {
  position: relative;
  max-width: var(--de-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Left column */
.de-bottom-cta__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.de-bottom-cta__logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
.de-bottom-cta__heading {
  font-family: var(--de-font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.de-bottom-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.de-bottom-cta__btns .de-btn {
  min-width: 148px;
  text-align: center;
}

/* Form column */
.de-bottom-cta__form {
  width: 100%;
  background: rgba(255, 255, 255, .92);
  border-radius: 6px;
  padding: 32px 28px;
}
.de-bottom-cta__form .gform_title { display: none; }
.de-bottom-cta__form .gform_description {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  margin-bottom: 12px;
}
.de-bottom-cta__form .gfield_label,
.de-bottom-cta__form label {
  color: #333 !important;
  font-size: .875rem;
  font-weight: 500;
}
.gform_wrapper .gform_button,
.gform_wrapper input[type=submit] {
  background: var(--de-green) !important;
  color: #fff !important;
  border: 2px solid var(--de-green) !important;
  padding: 14px 28px !important;
  font-family: var(--de-font-body) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  border-radius: 20px !important;
  cursor: pointer;
  transition: background var(--de-transition), color var(--de-transition), border-color var(--de-transition);
  width: auto !important;
}
.gform_wrapper .gform_button:hover,
.gform_wrapper input[type=submit]:hover { background: var(--de-green-dark) !important; }
.de-bottom-cta__form .validation_error,
.de-bottom-cta__form .gfield_validation_message { color: #ffb3b3; }
.de-bottom-cta__form .gfield_required { color: rgba(255,255,255,.6); }
.de-bottom-cta__form .gfield--type-honeypot { display: none; }
.de-bottom-cta__form .gform_footer { padding-bottom: 0 !important; }

@media (max-width: 760px) {
  .de-bottom-cta__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ── Team Member Profile ──────────────────────────────────────── */
.de-interior-layout--profile {
  display: block;
  max-width: var(--de-max-w);
}
.de-team-profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
.de-team-profile__photo-wrap {
  border-radius: var(--de-radius);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.de-team-profile__photo {
  width: 100%;
  height: auto;
  display: block;
}
.de-team-profile__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.de-team-profile__name {
  font-size: 1.25rem;
  font-family: var(--de-font-heading);
  color: var(--de-green);
  margin: 0;
  line-height: 1.3;
}
.de-team-profile__creds {
  display: block;
  font-size: .875rem;
  font-family: var(--de-font-body);
  font-weight: 600;
  color: #555;
  margin-top: 4px;
}
.de-team-profile__title {
  font-size: .9375rem;
  font-weight: 600;
  color: #555;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.de-team-profile__phone {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--de-green);
  text-decoration: none;
}
.de-team-profile__phone:hover { text-decoration: underline; }
.de-team-profile__meta .de-btn { margin-top: 8px; align-self: flex-start; }
.de-team-profile__content h2:first-child { margin-top: 0; }
.de-team-profile__content > :first-child { margin-top: 0; }
.de-team-profile__content h2,
.de-team-profile__content h3 { font-family: var(--de-font-head); color: var(--de-green-dark); margin: 1.5em 0 .5em; }
.de-team-profile__content h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.de-team-profile__content h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
.de-team-profile__content p { font-family: var(--de-font-body); color: var(--de-gray); line-height: 1.75; margin-bottom: 1em; }
.de-team-profile__content ul { font-family: var(--de-font-body); color: var(--de-gray); padding-left: 1.5em; margin-bottom: 1em; line-height: 1.75; }
.de-team-profile__content a:not(.de-btn) { color: var(--de-green); text-decoration: underline; }
.de-btn--outline { background: transparent; color: var(--de-green); border-color: var(--de-green); }
.de-btn--outline:hover { background: var(--de-green); color: var(--de-white); }

@media (max-width: 820px) {
  .de-team-profile {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .de-team-profile__photo-wrap {
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }
  .de-team-profile__meta { align-items: center; text-align: center; }
  .de-team-profile__meta .de-btn { align-self: center; }
}

/* ── Page CTA ────────────────────────────────────────────────── */
.de-page-cta {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  margin-block: 50px;
  padding: 80px 24px;
  text-align: center;
  background-color: var(--de-dark);
}
.de-page-cta__img {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.de-page-cta__dark {
  position: absolute;
  inset: 0;
  border-radius: 25px;
  background: #000;
  opacity: 0.5;
}
.de-page-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.de-page-cta__eyebrow,
.de-interior-main .de-page-cta__eyebrow {
  color: var(--de-green);
  margin: 0 0 6px;
}
.de-page-cta__heading,
.de-interior-main .de-page-cta__heading {
  font-family: var(--de-font-head);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
  line-height: 1.2;
}
.de-page-cta__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.de-insurance__break { flex-basis: 100%; height: 0; margin: 0; }

/* ── Reviewed By ─────────────────────────────────────────────── */
.de-reviewed-by { padding: 8px 24px 40px; }
.de-reviewed-by__inner { max-width: var(--de-max-w); margin: 0 auto; }
.de-reviewed-by__heading {
  font-family: var(--de-font-head);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  color: var(--de-dark);
  text-align: center;
  margin: 1em 0 32px;
}
.de-reviewed-by__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
.de-reviewed-by__card {
  text-align: center;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 24px 20px;
}
.de-reviewed-by__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--de-green-pale);
  color: var(--de-green-dark);
  font-family: var(--de-font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 auto 16px;
}
.de-reviewed-by__badge svg { width: 13px; height: 13px; fill: var(--de-green-dark); flex-shrink: 0; }
.de-reviewed-by__photo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: block;
}
.de-reviewed-by__name {
  font-family: var(--de-font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--de-dark);
  margin: 0 0 4px;
}
.de-reviewed-by__name a { color: var(--de-green-dark); text-decoration: none; }
.de-reviewed-by__name a:hover { text-decoration: underline; }
.de-reviewed-by__title {
  font-family: var(--de-font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--de-gray);
  margin: 0 0 10px;
}
.de-reviewed-by__date {
  font-family: var(--de-font-body);
  font-size: 12px;
  font-style: italic;
  color: var(--de-gray);
  margin: 0;
}
