/* Autism Sanctuary — Divi brand layer (aligned to EmDash theme.css) */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --sanctuary-green: #2f5d43;
  --forest-deep: #1e3d2c;
  --meadow-light: #a7c4a0;
  --stone-cream: #f7f4ec;
  --edgefield-gold: #c9a646;
  --charcoal-ink: #1b1b1b;
  --muted-ink: #4a534c;
  --soft-rule: #d9d2c4;
  --surface: #ffffff;
  --max-w: 72rem;
  --wide-w: 80rem;
  --radius: 0.35rem;
  --shadow-soft: 0 10px 40px rgba(30, 61, 44, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Source Sans 3", system-ui, sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body,
.et-db #et-boc .et_pb_module,
.et_pb_text,
.et_pb_text_inner,
#main-content,
#page-container {
  font-family: var(--font-sans) !important;
  color: var(--charcoal-ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 120% 80% at 10% -10%, rgba(167, 196, 160, 0.28), transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(201, 166, 70, 0.12), transparent 50%),
    linear-gradient(180deg, #fbfaf6 0%, var(--stone-cream) 40%, #f3efe4 100%) !important;
}

#main-content,
#et-main-area,
.et_pb_section {
  background: transparent !important;
}

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

a {
  color: var(--sanctuary-green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--forest-deep);
}

h1, h2, h3, h4, h5, h6,
.et_pb_module_header,
.as-brand {
  font-family: var(--font-serif) !important;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--forest-deep);
}

/* Forest banner headings must stay white (global h1 color would hide them) */
.et_pb_section_0.et_flex_section .et_pb_heading .et_pb_module_header,
.et_pb_section_0.et_flex_section .et_pb_heading h1,
body.page-id-27 .et_pb_section_0 .et_pb_heading .et_pb_module_header,
body.page-id-27 .et_pb_section_0 .et_pb_heading h1,
body.page-id-39 .et_pb_section_0 .et_pb_heading .et_pb_module_header,
body.page-id-39 .et_pb_section_0 .et_pb_heading h1,
body.page-id-416 .et_pb_section_0 .et_pb_heading .et_pb_module_header,
body.page-id-416 .et_pb_section_0 .et_pb_heading h1,
body.page-id-28 .et_pb_section_1 .et_pb_heading .et_pb_module_header,
body.page-id-28 .et_pb_section_1 .et_pb_heading h1 {
  color: #ffffff !important;
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--edgefield-gold);
  outline-offset: 2px;
}

/* Divi header → EmDash sticky glass */
#main-header,
.et-l--header,
#main-header.et-fixed-header {
  background: rgba(251, 250, 246, 0.86) !important;
  box-shadow: none !important;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
}

#main-header.et-fixed-header {
  border-bottom-color: var(--soft-rule);
  box-shadow: 0 8px 24px rgba(30, 61, 44, 0.06) !important;
}

#main-header .logo_container img,
#logo {
  max-height: 2.75rem !important;
  width: auto !important;
}

#et-top-navigation nav > ul > li > a,
#top-menu a {
  font-family: var(--font-sans) !important;
  color: var(--muted-ink) !important;
  font-weight: 550;
  font-size: 0.95rem;
  text-decoration: none !important;
  padding: 0.35rem 0 !important;
}

#top-menu a:hover,
#top-menu .current-menu-item > a {
  color: var(--forest-deep) !important;
}

#top-menu > li.as-donate-nav > a,
#top-menu > li.cta-donate > a {
  background: var(--sanctuary-green) !important;
  color: #fff !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius);
  margin-left: 0.35rem;
  margin-right: 0.25rem;
  line-height: 1.2 !important;
}

#top-menu > li.as-donate-nav > a:hover,
#top-menu > li.cta-donate > a:hover {
  background: var(--forest-deep) !important;
}

/* Keep header nav / Donate button off the right edge */
#main-header .container,
#main-header .et_menu_container {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  box-sizing: border-box;
}

#et-top-navigation {
  padding-right: 0.5rem !important;
}

#top-menu > li.as-donate-nav,
#top-menu > li.cta-donate {
  margin-right: 0.75rem !important;
}

/* Compact Divi left-header — same metrics scrolled or not (no shrink jump) */
@media (min-width: 981px) {
  .et_header_style_left #et-top-navigation,
  .et_header_style_left #main-header.et-fixed-header #et-top-navigation {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    padding-right: 1rem !important;
  }

  .et_header_style_left #et-top-navigation nav > ul > li > a,
  .et_header_style_left #top-menu > li > a,
  .et_header_style_left #main-header.et-fixed-header #et-top-navigation nav > ul > li > a,
  .et_header_style_left #main-header.et-fixed-header #top-menu > li > a {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 2.5rem !important;
  }

  .et_header_style_left #top-menu > li.as-donate-nav > a,
  .et_header_style_left #top-menu > li.cta-donate > a,
  .et_header_style_left #main-header.et-fixed-header #top-menu > li.as-donate-nav > a,
  .et_header_style_left #main-header.et-fixed-header #top-menu > li.cta-donate > a {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.2 !important;
    padding: 0.55rem 1.1rem !important;
    margin-top: 0 !important;
    position: relative;
    top: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .et_header_style_left #top-menu > li.as-donate-nav,
  .et_header_style_left #top-menu > li.cta-donate {
    margin-right: 1rem !important;
  }

  .et_header_style_left .logo_container #logo,
  .et_header_style_left .logo_container img,
  .et_header_style_left #main-header.et-fixed-header .logo_container #logo,
  .et_header_style_left #main-header.et-fixed-header .logo_container img {
    max-height: 2.5rem !important;
  }
}

/* Animate glass/shadow only — not height/padding (avoids Donate/menu jump) */
#main-header,
#main-header.et-fixed-header,
.et_fixed_nav #et-top-navigation,
#main-header #logo,
#main-header .logo_container,
#main-header .logo_container img {
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease !important;
}

/* Gravity Forms: don't stay invisible if theme JS is delayed inside Divi */
.gform_wrapper,
.gform_wrapper_2,
#gform_wrapper_1,
#gform_wrapper_2 {
  display: block !important;
}

/* Gravity Forms — brand card layout */
.gform_wrapper,
.gform-theme--framework,
body .gform_wrapper.gform_legacy_markup_wrapper {
  max-width: 44rem;
  margin: 0 auto 3.5rem !important;
  padding: 1.75rem 1.5rem 2rem !important;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid var(--soft-rule) !important;
  border-radius: calc(var(--radius) + 6px) !important;
  box-shadow: 0 12px 40px rgba(30, 61, 44, 0.06);
}

@media (min-width: 700px) {
  .gform_wrapper,
  .gform-theme--framework,
  body .gform_wrapper.gform_legacy_markup_wrapper {
    padding: 2rem 2.25rem 2.25rem !important;
  }
}

.gform_wrapper .gform_heading,
.gform_wrapper .gform_title {
  font-family: var(--font-serif) !important;
  color: var(--forest-deep) !important;
  margin: 0 0 1rem !important;
}

.gform_wrapper .gform_fields,
.gform_wrapper ul.gform_fields {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 1.15rem !important;
}

.gform_wrapper .gfield {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.gform_wrapper .gfield_label,
.gform_wrapper .gform-field-label {
  font-family: var(--font-sans) !important;
  font-size: 0.92rem !important;
  font-weight: 650 !important;
  color: var(--forest-deep) !important;
  letter-spacing: 0.01em;
  margin: 0 0 0.45rem !important;
  padding: 0 !important;
}

.gform_wrapper .gfield_required,
.gform_wrapper .gfield_required_asterisk {
  color: var(--sanctuary-green) !important;
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="url"],
.gform_wrapper textarea,
.gform_wrapper select,
.gform_wrapper .ginput_container input,
.gform_wrapper .ginput_container textarea,
.gform_wrapper .ginput_container select {
  width: 100% !important;
  max-width: 100% !important;
  font-family: var(--font-sans) !important;
  font-size: 1rem !important;
  color: var(--charcoal-ink) !important;
  background: #fff !important;
  border: 1px solid var(--soft-rule) !important;
  border-radius: var(--radius) !important;
  padding: 0.7rem 0.85rem !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.gform_wrapper textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.gform_wrapper input:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
  outline: none !important;
  border-color: var(--sanctuary-green) !important;
  box-shadow: 0 0 0 3px rgba(47, 93, 67, 0.18) !important;
}

/* Choice fields: chip buttons only (hide native radio/checkbox UI) */
.gform_wrapper .gfield_radio,
.gform_wrapper .gfield_checkbox,
.gform_wrapper ul.gfield_radio,
.gform_wrapper ul.gfield_checkbox,
.gform_wrapper .ginput_container_radio,
.gform_wrapper .ginput_container_checkbox {
  list-style: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.55rem !important;
  margin: 0.15rem 0 0 !important;
  padding: 0 !important;
  position: relative;
}

.gform_wrapper .gfield_radio li,
.gform_wrapper .gfield_checkbox li,
.gform_wrapper ul.gfield_radio li,
.gform_wrapper ul.gfield_checkbox li,
.gform_wrapper .gchoice {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  display: inline-flex !important;
}

/* Hide native controls — labels act as the buttons via for= */
.gform_wrapper .gfield_radio input[type="radio"],
.gform_wrapper .gfield_checkbox input[type="checkbox"],
.gform_wrapper .gchoice input[type="radio"],
.gform_wrapper .gchoice input[type="checkbox"],
.gform_wrapper .gfield-choice-input,
.gform_wrapper input.gfield-choice-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  pointer-events: none !important;
}

/* Kill Gravity Forms / theme faux checkbox/radio glyphs */
.gform_wrapper .gchoice label::before,
.gform_wrapper .gchoice label::after,
.gform_wrapper .gfield_radio label::before,
.gform_wrapper .gfield_radio label::after,
.gform_wrapper .gfield_checkbox label::before,
.gform_wrapper .gfield_checkbox label::after,
.gform_wrapper .gform-field-label--type-inline::before,
.gform_wrapper .gform-field-label--type-inline::after {
  content: none !important;
  display: none !important;
}

.gform_wrapper .gfield_radio label,
.gform_wrapper .gfield_checkbox label,
.gform_wrapper .gchoice label,
.gform_wrapper .gform-field-label--type-inline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--forest-deep) !important;
  background: var(--stone-cream) !important;
  border: 1px solid var(--soft-rule) !important;
  border-radius: 999px !important;
  padding: 0.55rem 1.05rem !important;
  margin: 0 !important;
  cursor: pointer;
  line-height: 1.25 !important;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease),
    color 0.15s var(--ease), box-shadow 0.15s var(--ease);
  box-shadow: none !important;
}

.gform_wrapper .gfield_radio label:hover,
.gform_wrapper .gfield_checkbox label:hover,
.gform_wrapper .gchoice label:hover {
  border-color: rgba(47, 93, 67, 0.45) !important;
}

.gform_wrapper .gfield_radio input:checked + label,
.gform_wrapper .gfield_checkbox input:checked + label,
.gform_wrapper .gchoice input:checked + label,
.gform_wrapper .gchoice:has(input:checked) label {
  background: rgba(47, 93, 67, 0.14) !important;
  border-color: var(--sanctuary-green) !important;
  color: var(--forest-deep) !important;
  box-shadow: inset 0 0 0 1px rgba(47, 93, 67, 0.2);
}

.gform_wrapper .gfield_radio input:focus-visible + label,
.gform_wrapper .gfield_checkbox input:focus-visible + label,
.gform_wrapper .gchoice input:focus-visible + label {
  box-shadow: 0 0 0 3px rgba(47, 93, 67, 0.22) !important;
}

/* Single-option toggles: chip text is enough — hide redundant group titles */
.gform_wrapper .gfield--type-checkbox .gfield_label_before_complex {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Select fields (Inquiry “I am contacting about”, etc.) */
.gform_wrapper select,
.gform_wrapper .ginput_container_select select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231E3D2C' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.9rem center !important;
  background-size: 12px 8px !important;
  padding-right: 2.4rem !important;
  cursor: pointer;
}

.gform_wrapper .gfield_description,
.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
  font-size: 0.88rem !important;
  margin-top: 0.35rem !important;
  color: var(--muted-ink) !important;
}

.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error textarea,
.gform_wrapper .gfield_error select {
  border-color: #b42318 !important;
}

.gform_wrapper .ginput_product_price,
.gform_wrapper .ginput_total,
.gform_wrapper .gfield_price {
  font-family: var(--font-serif) !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  color: var(--forest-deep) !important;
}

.gform_wrapper .gform_footer,
.gform_wrapper .gform_page_footer {
  margin: 1.25rem 0 0 !important;
  padding: 1.25rem 0 0 !important;
  border-top: 1px solid var(--soft-rule);
}

.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"],
.gform_wrapper .gform_next_button,
.gform_wrapper .gform_previous_button {
  background: var(--sanctuary-green) !important;
  border: none !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-weight: 650 !important;
  font-size: 1rem !important;
  padding: 0.85rem 1.5rem !important;
  border-radius: var(--radius) !important;
  cursor: pointer;
  box-shadow: none !important;
  width: auto !important;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover {
  background: var(--forest-deep) !important;
}

/* Stripe card field */
.gform_wrapper .ginput_container_creditcard,
.gform_wrapper .gform_card_icon_container,
.gform_wrapper iframe {
  max-width: 100%;
}

.gform_wrapper .StripeElement,
.gform_wrapper .gform_stripe_creditcard_element,
.gform_wrapper .ginput_container_stripe_creditcard {
  background: #fff;
  border: 1px solid var(--soft-rule);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
}

.gform_validation_container,
.gform_wrapper .gform_validation_container {
  display: none !important;
  position: absolute !important;
  left: -9999px !important;
}

#et_top_search,
.et_search_outer {
  display: none !important;
}

/* -------------------------------------------------------------------------
   Site footer — classic multi-column layout (custom markup in as-brand-css.php)
   ------------------------------------------------------------------------- */
body.as-custom-footer #main-footer {
  display: none !important;
}

.as-site-footer {
  background: var(--forest-deep);
  color: rgba(247, 244, 236, 0.88);
  margin-top: 0;
}

.as-site-footer a {
  color: rgba(247, 244, 236, 0.92);
  text-decoration: none;
}

.as-site-footer a:hover {
  color: var(--edgefield-gold);
}

.as-site-footer__inner {
  max-width: var(--wide-w);
  margin: 0 auto;
  padding: 3.25rem 1.5rem 2.75rem;
  display: grid;
  gap: 2.25rem 2rem;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  align-items: start;
}

.as-site-footer__name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.65rem;
  letter-spacing: 0.01em;
}

.as-site-footer__tagline {
  margin: 0 0 0.85rem;
  max-width: 22rem;
  line-height: 1.55;
  color: rgba(247, 244, 236, 0.78);
  font-size: 0.98rem;
}

.as-site-footer__meta {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(247, 244, 236, 0.62);
}

.as-site-footer__heading {
  margin: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--edgefield-gold);
}

.as-site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.as-site-footer__col li {
  margin: 0 0 0.55rem;
}

.as-site-footer__col li a {
  font-size: 0.98rem;
}

.as-site-footer__col--contact p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(247, 244, 236, 0.82);
}

.as-site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: center;
  margin-top: 0.25rem !important;
}

.as-site-footer__social a {
  font-weight: 600;
  font-size: 0.92rem;
}

.as-site-footer__newsletter-copy {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(247, 244, 236, 0.78);
}

.as-site-footer__newsletter-form .hustle-ui,
.as-site-footer__newsletter-form .hustle-layout,
.as-site-footer__newsletter-form .hustle-content,
.as-site-footer__newsletter-form .hustle-layout-content {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

.as-site-footer__newsletter-form .hustle-layout-body,
.as-site-footer__newsletter-form .hustle-group-content {
  padding: 0 !important;
}

.as-site-footer__newsletter-form .hustle-layout-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}

.as-site-footer__newsletter-form .hustle-field {
  flex: 1 1 10rem;
  margin: 0 !important;
}

.as-site-footer__newsletter-form input[type="email"],
.as-site-footer__newsletter-form .hustle-input {
  width: 100%;
  min-height: 2.6rem;
  border: 1px solid rgba(217, 210, 196, 0.55) !important;
  border-radius: 0.3rem !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #1b1b1b !important;
  padding: 0.55rem 0.75rem !important;
  font-family: var(--font-sans) !important;
  font-size: 0.92rem !important;
}

.as-site-footer__newsletter-form .hustle-button-submit,
.as-site-footer__newsletter-form button[type="submit"] {
  min-height: 2.6rem;
  border: 0 !important;
  border-radius: 0.3rem !important;
  background: var(--edgefield-gold) !important;
  color: var(--forest-deep) !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.02em;
  padding: 0.55rem 1rem !important;
  cursor: pointer;
}

.as-site-footer__newsletter-form .hustle-button-submit:hover,
.as-site-footer__newsletter-form button[type="submit"]:hover {
  background: #dbb85a !important;
}

.as-site-footer__newsletter-form .hustle-success,
.as-site-footer__newsletter-form .hustle-error-message {
  color: rgba(247, 244, 236, 0.92) !important;
  font-size: 0.9rem;
}

.as-site-footer__newsletter-fallback a {
  color: var(--edgefield-gold);
  font-weight: 600;
}

.as-site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.as-site-footer__bottom-inner {
  max-width: var(--wide-w);
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.as-site-footer__bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(247, 244, 236, 0.58);
}

@media (max-width: 960px) {
  .as-site-footer__inner {
    grid-template-columns: 1fr 1fr;
    padding: 2.75rem 1.25rem 2.25rem;
  }

  .as-site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .as-site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Legacy Divi footer rules kept as fallback when custom footer is off */
#main-footer,
#footer-bottom {
  background: var(--forest-deep) !important;
  color: rgba(247, 244, 236, 0.85) !important;
}

#main-footer a,
#footer-bottom a {
  color: rgba(247, 244, 236, 0.9) !important;
  text-decoration: none !important;
}

#main-footer a:hover,
#footer-bottom a:hover {
  color: var(--edgefield-gold) !important;
}

#footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#main-footer .container,
#et-footer-nav .container,
#footer-bottom .container {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  box-sizing: border-box;
  max-width: var(--wide-w);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

#et-footer-nav .bottom-nav,
#menu-footer {
  padding-left: 0.25rem !important;
  padding-right: 0.25rem !important;
}

#footer-info,
#footer-bottom .container {
  padding-left: 1.25rem !important;
}

/* Hide default Divi page titles — banners carry the H1 (not single posts) */
body.page article > .entry-title,
body.home article > .entry-title,
body.page .et_pb_title_container,
body.home .et_pb_title_container {
  display: none !important;
}

#main-content .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

/* ---------- Page primitives (match EmDash) ---------- */

.as-page,
.as-section__inner {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}

.as-section__inner {
  max-width: var(--wide-w);
}

.as-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sanctuary-green);
  margin: 0 0 0.75rem;
}

.as-lede {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--muted-ink);
  max-width: 42rem;
  margin: 0;
}

.as-banner {
  padding: 4rem 0 2.5rem;
  background: transparent;
}

.as-banner .as-page {
  padding-top: 0;
  padding-bottom: 0;
}

.as-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
  margin: 0 0 1rem;
  line-height: 1.15;
}

/* Hero */
.as-hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: var(--forest-deep);
}

.as-hero__media,
.as-hero video,
.as-hero img.as-hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.as-hero video {
  animation: as-hero-ken 18s var(--ease) both;
}

.as-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 61, 44, 0.25) 0%, rgba(30, 61, 44, 0.55) 45%, rgba(20, 40, 28, 0.88) 100%),
    linear-gradient(90deg, rgba(20, 40, 28, 0.55), transparent 55%);
}

.as-hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--wide-w), 100%);
  margin: 0 auto;
  padding: 7rem 1.25rem 3.5rem;
}

.as-hero .as-eyebrow {
  color: var(--edgefield-gold);
}

.as-hero .as-brand {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.as-hero h1 {
  color: #fff;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 500;
  max-width: 28ch;
  margin: 0 0 1rem;
}

.as-hero .as-lede {
  color: rgba(247, 244, 236, 0.92);
  max-width: 36rem;
}

@media (prefers-reduced-motion: reduce) {
  .as-hero video {
    display: none;
  }
}

/* Sections */
.as-section {
  padding: 4.5rem 0;
}

.as-section--cream {
  background: rgba(255, 255, 255, 0.45);
}

.as-section--meadow {
  background: linear-gradient(135deg, rgba(167, 196, 160, 0.35), rgba(245, 241, 232, 0.9));
}

.as-section--forest {
  background: linear-gradient(145deg, var(--forest-deep), var(--sanctuary-green));
  color: rgba(247, 244, 236, 0.94);
  text-align: center;
}

.as-section--forest h2,
.as-section--forest .as-brand {
  color: #fff;
}

.as-section--forest .as-lede,
.as-section--forest p {
  color: rgba(247, 244, 236, 0.92);
  margin-left: auto;
  margin-right: auto;
}

.as-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 0.75rem;
  max-width: 20ch;
}

.as-section--forest h2 {
  max-width: none;
}

.as-section--forest .as-actions {
  justify-content: center;
}

.as-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .as-split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .as-split--reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .as-split--reverse .as-split__media {
    order: -1;
  }
}

.as-split__media {
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-soft);
  background: var(--forest-deep);
}

.as-split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* Checklist — EmDash uses native disc bullets, not custom markers */
.as-checklist {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  list-style: disc;
  list-style-position: outside;
  color: var(--muted-ink);
}

.as-checklist li {
  margin: 0 0 0.45rem;
  padding: 0;
  border: none;
  position: static;
  line-height: 1.55;
}

.as-checklist li::before {
  content: none !important;
  display: none !important;
}

.as-checklist strong {
  color: var(--forest-deep);
  font-weight: 600;
}

/* Feature grid — EmDash feature-block hairline rules */
.as-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .as-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.as-feature {
  padding: 1.25rem 0;
  border-top: 1px solid var(--soft-rule);
  background: none;
  box-shadow: none;
}

.as-feature h3 {
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
}

.as-feature p {
  margin: 0;
  color: var(--muted-ink);
  line-height: 1.55;
}

/* Buttons */
.as-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.as-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  cursor: pointer;
}

.as-btn:hover {
  transform: translateY(-1px);
}

.as-btn--primary {
  background: var(--sanctuary-green);
  color: #fff !important;
}

.as-btn--primary:hover {
  background: var(--forest-deep);
  color: #fff !important;
}

.as-btn--ghost {
  background: transparent;
  color: var(--sanctuary-green) !important;
  border-color: var(--sanctuary-green);
}

.as-btn--ghost:hover {
  background: rgba(47, 93, 67, 0.08);
  color: var(--forest-deep) !important;
}

.as-hero .as-btn--primary {
  background: var(--edgefield-gold);
  color: var(--forest-deep) !important;
  border-color: transparent;
}

.as-hero .as-btn--ghost {
  background: var(--stone-cream);
  color: var(--forest-deep) !important;
  border-color: transparent;
}

.as-section--forest .as-btn--primary {
  background: var(--edgefield-gold);
  color: var(--forest-deep) !important;
}

.as-section--forest .as-btn--ghost {
  background: var(--stone-cream);
  color: var(--forest-deep) !important;
  border-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .as-btn:hover {
    transform: none;
  }
}

/* Interior prose — match EmDash .cms-prose (centered readable column) */
.as-prose {
  width: 100%;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 4rem;
  box-sizing: border-box;
}

.as-prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.as-prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.25rem;
}

.as-prose p {
  margin: 0 0 1rem;
  color: var(--muted-ink);
  line-height: 1.65;
}

.as-prose ul,
.as-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--muted-ink);
  list-style-position: outside;
}

.as-prose ul {
  list-style-type: disc;
}

.as-prose ol {
  list-style-type: decimal;
}

.as-prose li {
  margin: 0 0 0.4rem;
  padding: 0;
  line-height: 1.55;
}

.as-prose li::before,
.as-prose li::marker {
  color: var(--sanctuary-green);
}

.as-prose a {
  color: var(--sanctuary-green);
  font-weight: 600;
}

.as-prose figure {
  margin: 1.5rem 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-soft);
}

.as-prose img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) + 2px);
  margin: 1.25rem 0;
}

.as-prose figure img {
  margin: 0;
  border-radius: 0;
}

/* People */
.as-people {
  display: grid;
  gap: 0;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.as-person {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  border-top: 1px solid var(--soft-rule);
}

.as-person:last-child {
  border-bottom: 1px solid var(--soft-rule);
}

.as-person__photo {
  aspect-ratio: 1;
  width: 100%;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(145deg, rgba(47, 93, 67, 0.18), rgba(196, 162, 88, 0.22));
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--forest-deep);
  letter-spacing: 0.04em;
}

/* Image placeholders (pending photography) */
.as-img-placeholder {
  display: grid;
  place-items: center;
  min-height: 14rem;
  width: 100%;
  padding: 1.5rem;
  border: 1px dashed var(--soft-rule);
  border-radius: calc(var(--radius) + 2px);
  background:
    linear-gradient(145deg, rgba(47, 93, 67, 0.08), rgba(201, 166, 70, 0.1)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(47, 93, 67, 0.04) 10px,
      rgba(47, 93, 67, 0.04) 20px
    );
  color: var(--muted-ink);
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.as-img-placeholder span {
  max-width: 18rem;
  line-height: 1.45;
}

.as-split__media .as-img-placeholder,
.as-prose .as-img-placeholder {
  margin: 0;
}

.as-lede--follow {
  margin-top: 1.25rem;
}

.as-mvv-split {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .as-mvv-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }
}

.as-mvv-split__media .as-img-placeholder {
  min-height: 18rem;
}

.as-service-block {
  margin: 2.5rem 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--soft-rule);
}

.as-service-block:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.as-service-block h3 {
  margin: 0 0 1rem;
}

.as-service-photo {
  margin: 0 0 1.25rem;
}

.as-service-photo .as-img-placeholder {
  min-height: 12rem;
}

.as-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.as-person h3 {
  margin: 0 0 0.25rem;
  font-size: 1.45rem;
}

.as-person__role {
  color: var(--sanctuary-green);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
}

.as-person p {
  margin: 0;
  color: var(--muted-ink);
  max-width: 36rem;
}

@media (max-width: 900px) {
  .as-person {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }

  .as-grid--3 {
    grid-template-columns: 1fr;
  }

  .as-hero {
    min-height: min(88vh, 40rem);
  }
}

.as-contact-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1rem;
}

@media (min-width: 800px) {
  .as-contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.as-aside p {
  margin: 0.35rem 0;
  color: var(--muted-ink);
}

/* Gravity Forms — shared submit styling (card styles above) */
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"] {
  background: var(--sanctuary-green) !important;
  border: none !important;
  color: #fff !important;
}

@keyframes as-hero-ken {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

/* Beat Divi’s global `ul { list-style: none }` reset */
#left-area ul.as-checklist,
.entry-content ul.as-checklist,
#main-content ul.as-checklist,
ul.as-checklist {
  list-style-type: disc !important;
  list-style: disc outside !important;
  padding: 0 0 0 1.15rem !important;
  margin: 1rem 0 0 !important;
  line-height: 1.55 !important;
}

#left-area ul.as-checklist li,
.entry-content ul.as-checklist li,
ul.as-checklist li {
  list-style: inherit !important;
  margin: 0 0 0.45rem !important;
  padding: 0 !important;
  line-height: 1.55 !important;
}

#left-area ul.as-checklist li::before,
.entry-content ul.as-checklist li::before,
ul.as-checklist li::before {
  content: none !important;
  display: none !important;
}

#left-area .as-prose ul,
.entry-content .as-prose ul,
.as-prose ul {
  list-style-type: disc !important;
  list-style: disc outside !important;
  padding: 0 0 1.25rem 1.2rem !important;
  margin: 0 0 1.25rem !important;
  line-height: 1.55 !important;
  color: var(--muted-ink);
}

#left-area .as-prose ol,
.entry-content .as-prose ol,
.as-prose ol {
  list-style-type: decimal !important;
  list-style: decimal outside !important;
  padding: 0 0 1.25rem 1.2rem !important;
  margin: 0 0 1.25rem !important;
}

#left-area .as-prose li,
.entry-content .as-prose li,
.as-prose li {
  margin: 0 0 0.4rem !important;
  padding: 0 !important;
  line-height: 1.55 !important;
}

#main-content {
  background-color: transparent !important;
}

/* Classic Divi page template shows a duplicate page title when builder is off */
body.page .entry-title.main_title,
body.page h1.main_title,
body.home .entry-title.main_title {
  display: none !important;
}

body.page #left-area,
body.home #left-area {
  padding-top: 0 !important;
  width: 100% !important;
}

body.page .container,
body.home .container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

body.page #main-content .container:before,
body.home #main-content .container:before {
  display: none !important;
}

#left-area .as-prose p,
.entry-content p {
  padding-bottom: 0;
}

.as-prose p,
.as-lede,
.as-section p {
  padding-bottom: 0 !important;
}

/* ---------- News index (Divi Blog module) ---------- */

/* About-style forest banner — beat Divi's transparent section_0 override */
body.page-id-39 .et-l--post > .et_builder_inner_content .et_pb_section.et_pb_section_0,
body.page-id-39 .et-l--post > .et_builder_inner_content .et_pb_section.as-news-banner-section,
body.page-id-39 #main-content .et_pb_section.as-news-banner-section,
body.page-id-39 #main-content .et_pb_section_0 {
  background-color: #1e3d2c !important;
  background-image: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.page-id-39 .et-l--post > .et_builder_inner_content .et_pb_section.et_pb_section_0 > .et_pb_row,
body.page-id-39 .et_pb_section.as-news-banner-section > .et_pb_row,
body.page-id-39 .et_pb_section_0 > .et_pb_row {
  max-width: var(--wide-w) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 4rem 1.25rem 2.5rem !important;
  box-sizing: border-box !important;
}

body.page-id-39 .et-l--post > .et_builder_inner_content .et_pb_section_0 .et_pb_text .et_pb_text_inner,
body.page-id-39 .et-l--post > .et_builder_inner_content .et_pb_section_0 .et_pb_text .et_pb_text_inner p,
body.page-id-39 .et-l--post > .et_builder_inner_content .et_pb_section_0 .et_pb_text .et_pb_text_inner h1,
body.page-id-39 .as-news-banner,
body.page-id-39 .as-news-banner .et_pb_text_inner,
body.page-id-39 .as-news-banner .et_pb_text_inner p,
body.page-id-39 .as-news-banner .et_pb_text_inner h1,
body.page-id-39 .et_pb_section.as-news-banner-section .et_pb_text .et_pb_text_inner,
body.page-id-39 .et_pb_section.as-news-banner-section .et_pb_text .et_pb_text_inner p,
body.page-id-39 .et_pb_section.as-news-banner-section .et_pb_text .et_pb_text_inner h1 {
  color: #ffffff !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-39 .et_pb_section.as-news-banner-section .as-eyebrow,
body.page-id-39 .as-news-banner .as-eyebrow,
body.page-id-39 .et_pb_section_0 .as-eyebrow {
  display: inline-block !important;
  font-family: var(--font-sans) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #c9a646 !important; /* edgefield-gold — stronger on forest */
  margin: 0 0 0.85rem !important;
}

body.page-id-39 .et-l--post > .et_builder_inner_content .et_pb_section_0 .as-news-banner h1,
body.page-id-39 .et-l--post > .et_builder_inner_content .et_pb_section_0 h1,
body.page-id-39 .et_pb_section.as-news-banner-section h1,
body.page-id-39 .as-news-banner h1,
body.page-id-39 .et_pb_section_0 .et_pb_heading .et_pb_module_header,
body.page-id-39 .et_pb_section_0 .et_pb_heading h1 {
  font-family: var(--font-serif) !important;
  font-size: clamp(2rem, 4vw, 2.75rem) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  max-width: 18ch;
  margin: 0 0 1rem !important;
  line-height: 1.15 !important;
  padding-bottom: 0 !important;
}

body.page-id-39 .et_pb_section.as-news-banner-section .as-lede,
body.page-id-39 .as-news-banner .as-lede,
body.page-id-39 .et_pb_section_0 .as-lede {
  font-size: 1.15rem !important;
  line-height: 1.55 !important;
  color: #f7f4ec !important; /* stone-cream — full contrast, not washed white */
  max-width: 42rem;
  margin: 0 !important;
}

body.page-id-39 .et_pb_heading,
body.page-id-39 .as-news-banner {
  width: 100% !important;
  max-width: 100% !important;
}

.as-news-list-section .et_pb_row,
body.page-id-39 .et_pb_section.as-news-list-section > .et_pb_row,
body.page-id-39 .et_pb_section_1 > .et_pb_row {
  width: 100% !important;
  max-width: 56rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  box-sizing: border-box !important;
}

.et_pb_blog.as-news-blog .et_pb_ajax_pagination_container,
.et_pb_blog.as-news-blog {
  max-width: 56rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/*
 * Divi 5 Blog defaults to .et_grid_module (multi-column). Our list layout
 * needs one post per row — otherwise thumbs + titles crush into ~1-char columns
 * on mobile.
 */
.et_pb_blog.as-news-blog .et_pb_blog_posts,
.et_pb_blog.as-news-blog .et_grid_module,
.et_pb_blog.as-news-blog .et_pb_ajax_pagination_container > .et_pb_blog_posts {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  column-count: 1 !important;
  grid-template-columns: none !important;
}

.et_pb_blog.as-news-blog article.et_pb_post,
.et_pb_blog_grid_wrapper .as-news-blog article.et_pb_post {
  list-style: none;
  display: grid !important;
  grid-template-columns: 10rem minmax(0, 1fr);
  grid-template-areas:
    "thumb meta"
    "thumb title"
    "thumb excerpt";
  column-gap: 1.35rem;
  row-gap: 0.35rem;
  align-items: start;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
  padding: 1.75rem 0 !important;
  border-top: 1px solid var(--soft-rule);
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}

.et_pb_blog.as-news-blog article.et_pb_post .entry-featured-image-url,
.et_pb_blog.as-news-blog article.et_pb_post .et_pb_image_container,
.et_pb_blog.as-news-blog article.et_pb_post > a.entry-featured-image-url {
  grid-area: thumb;
  display: block !important;
  margin: 0 !important;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 10rem !important;
  max-width: 10rem !important;
  background: rgba(30, 61, 44, 0.06);
  position: relative;
}

.et_pb_blog.as-news-blog article.et_pb_post .entry-featured-image-url img,
.et_pb_blog.as-news-blog article.et_pb_post .et_pb_image_container img,
.et_pb_blog.as-news-blog article.et_pb_post .et_pb_post_main_image {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block !important;
  vertical-align: bottom;
}

.et_pb_blog.as-news-blog article.et_pb_post .et_overlay {
  display: none !important;
}

.et_pb_blog.as-news-blog article.et_pb_post.et_pb_no_thumb {
  grid-template-columns: 1fr;
  grid-template-areas:
    "meta"
    "title"
    "excerpt";
}

.et_pb_blog.as-news-blog article.et_pb_post .post-meta {
  grid-area: meta;
  order: unset !important;
  min-width: 0 !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

.et_pb_blog.as-news-blog article.et_pb_post .entry-title,
.et_pb_blog.as-news-blog article.et_pb_post h2.entry-title,
.et_pb_blog.as-news-blog article.et_pb_post h3.entry-title {
  grid-area: title;
  order: unset !important;
  display: block !important;
  min-width: 0 !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

.et_pb_blog.as-news-blog article.et_pb_post .post-content {
  grid-area: excerpt;
  order: unset !important;
  min-width: 0 !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

.et_pb_blog.as-news-blog article.et_pb_post:last-of-type {
  border-bottom: 1px solid var(--soft-rule);
}

@media (max-width: 640px) {
  .et_pb_blog.as-news-blog article.et_pb_post {
    grid-template-columns: 6.75rem minmax(0, 1fr);
    column-gap: 0.9rem;
  }

  .et_pb_blog.as-news-blog article.et_pb_post .entry-featured-image-url,
  .et_pb_blog.as-news-blog article.et_pb_post .et_pb_image_container,
  .et_pb_blog.as-news-blog article.et_pb_post > a.entry-featured-image-url {
    width: 6.75rem !important;
    max-width: 6.75rem !important;
  }
}

/* ---------- About (native Divi 5 Text/Image modules) ---------- */

.et_pb_section.as-banner,
.et_pb_section.as-about-story,
.et_pb_section.as-about-edgefield,
.et_pb_section.as-about-mvv {
  padding: 0 !important;
  background: transparent !important;
}

.et_pb_section.as-banner > .et_pb_row {
  max-width: var(--max-w) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 4rem 1.25rem 2.5rem !important;
  box-sizing: border-box !important;
}

.et_pb_text.as-about-banner,
.et_pb_text.as-about-banner .et_pb_text_inner {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.et_pb_text.as-about-banner h1,
.as-about-banner h1 {
  font-family: var(--font-serif) !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  color: var(--forest-deep) !important;
  max-width: 18ch;
  margin: 0 0 1rem !important;
  line-height: 1.15 !important;
  padding-bottom: 0 !important;
}

.et_pb_text.as-about-banner .as-lede,
.as-about-banner .as-lede {
  margin-bottom: 0;
}

.et_pb_section.as-about-mvv > .et_pb_row {
  max-width: var(--wide-w) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  box-sizing: border-box !important;
}

.et_pb_section.as-about-mvv .et_pb_text.as-prose,
.et_pb_section.as-about-mvv .et_pb_text.as-about-mvv-text {
  max-width: none !important;
  margin: 0 !important;
  padding-bottom: 0 !important;
}

.et_pb_section.as-about-mvv .et_pb_text.as-prose h2:first-child,
.et_pb_section.as-about-mvv .et_pb_text.as-about-mvv-text h2:first-child {
  margin-top: 0;
}

.et_pb_section.as-about-mvv .as-img-placeholder {
  min-height: 18rem;
}

.et_pb_section.as-about-story > .et_pb_row,
.et_pb_section.as-about-edgefield > .et_pb_row {
  max-width: 44rem !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  box-sizing: border-box !important;
}

.et_pb_section.as-about-story .et_pb_text.as-prose,
.et_pb_section.as-about-edgefield .et_pb_text.as-prose {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-bottom: 0 !important;
}

.et_pb_section.as-about-story .et_pb_text.as-prose h2:first-child {
  margin-top: 0;
}

.et_pb_section.as-about-edgefield .et_pb_text.as-prose:first-of-type h2 {
  margin-top: 0 !important;
}

.et_pb_section.as-about-edgefield {
  padding-bottom: 4rem !important;
}

.et_pb_section.as-about-story {
  padding-bottom: 1rem !important;
}

.et_pb_image.as-about-edgefield-photo {
  margin: 0 0 1.25rem !important;
  width: 100% !important;
  max-width: 100% !important;
}

.et_pb_image.as-about-edgefield-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  width: 100%;
  height: auto;
  display: block;
}

/* Reset Divi text-module chrome on About */
.et_pb_section.as-banner .et_pb_text,
.et_pb_section.as-about-mvv .et_pb_text,
.et_pb_section.as-about-story .et_pb_text,
.et_pb_section.as-about-edgefield .et_pb_text {
  margin-bottom: 0 !important;
}

.et_pb_section.as-banner .et_pb_text_inner,
.et_pb_section.as-about-mvv .et_pb_text_inner,
.et_pb_section.as-about-story .et_pb_text_inner,
.et_pb_section.as-about-edgefield .et_pb_text_inner {
  padding: 0 !important;
}

/* Typography inside About text modules */
.et_pb_section.as-banner .et_pb_text_inner h1,
.et_pb_section.as-about-mvv .et_pb_text_inner h2,
.et_pb_section.as-about-story .et_pb_text_inner h2,
.et_pb_section.as-about-edgefield .et_pb_text_inner h2 {
  font-family: var(--font-serif) !important;
  color: var(--forest-deep) !important;
}

.et_pb_section.as-about-mvv .et_pb_text_inner p,
.et_pb_section.as-about-story .et_pb_text_inner p,
.et_pb_section.as-about-edgefield .et_pb_text_inner p {
  color: var(--muted-ink);
  line-height: 1.65;
  margin: 0 0 1rem;
}

.et_pb_section.as-about-mvv .et_pb_text_inner h2,
.et_pb_section.as-about-story .et_pb_text_inner h2,
.et_pb_section.as-about-edgefield .et_pb_text_inner h2 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.et_pb_section.as-about-mvv .et_pb_text_inner ul.as-checklist {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  list-style: disc;
  color: var(--muted-ink);
}

.et_pb_section.as-about-mvv .et_pb_text_inner ul.as-checklist li {
  margin: 0 0 0.45rem;
  line-height: 1.55;
}

.et_pb_section.as-about-mvv .et_pb_text_inner ul.as-checklist li::before {
  content: none !important;
  display: none !important;
}

/* ---------- Native Divi pages (shared) ---------- */

.et_pb_section.as-banner > .et_pb_row,
.et_pb_section.as-native-prose > .et_pb_row {
  max-width: var(--max-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

.et_pb_section.as-banner > .et_pb_row {
  padding-top: 4rem !important;
  padding-bottom: 2.5rem !important;
}

.et_pb_section.as-native-prose > .et_pb_row,
.et_pb_section.as-about-story > .et_pb_row,
.et_pb_section.as-about-edgefield > .et_pb_row,
.et_pb_section.as-native-form > .et_pb_row {
  max-width: 44rem !important;
}

.et_pb_text.as-native-banner h1,
.et_pb_text.as-native-banner .as-lede {
  margin-bottom: 0;
}

.et_pb_text.as-native-banner h1 {
  font-family: var(--font-serif) !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  color: var(--forest-deep) !important;
  max-width: 18ch;
  line-height: 1.15 !important;
}

.et_pb_section[class*="as-section"] > .et_pb_row {
  max-width: var(--wide-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.et_pb_section.as-hero > .et_pb_row {
  max-width: 100% !important;
  padding: 0 !important;
}

.et_pb_text.as-native-hero,
.et_pb_text.as-native-hero .et_pb_text_inner {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

.et_pb_section.as-banner .et_pb_text_inner,
.et_pb_section.as-native-prose .et_pb_text_inner,
.et_pb_section[class*="as-section"] .et_pb_text.as-prose .et_pb_text_inner {
  padding: 0 !important;
}

.et_pb_text.as-prose .et_pb_text_inner h2:first-child {
  margin-top: 0;
}

.et_pb_image.as-native-image,
.et_pb_image.as-native-image .et_pb_image_wrap {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.et_pb_image.as-native-image img {
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-soft);
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
}

/* Home split rows — keep media from squashing in Divi flex columns */
body.page-id-409 .et_pb_image.as-native-image,
body.page-id-409 .et_pb_image.as-native-image .et_pb_image_wrap,
body.page-id-409 .et_pb_image.as-native-image img {
  width: 100% !important;
  max-width: 100% !important;
}

body.page-id-409 .et_pb_image.as-native-image img {
  height: auto !important;
  object-fit: cover;
}

.et_pb_blog.as-news-blog .entry-title,
.et_pb_blog.as-news-blog h2.entry-title {
  font-family: var(--font-serif) !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  margin: 0.25rem 0 0.5rem !important;
  padding: 0 !important;
  color: var(--forest-deep) !important;
}

.et_pb_blog.as-news-blog .entry-title a {
  color: inherit !important;
  text-decoration: none !important;
}

.et_pb_blog.as-news-blog article.et_pb_post:hover .entry-title a {
  color: var(--sanctuary-green) !important;
}

.et_pb_blog.as-news-blog .post-meta {
  font-size: 0.9rem !important;
  color: var(--muted-ink) !important;
  padding: 0 !important;
  margin: 0 !important;
}

.et_pb_blog.as-news-blog .post-meta a {
  color: var(--muted-ink) !important;
  text-decoration: none !important;
}

.et_pb_blog.as-news-blog .post-content,
.et_pb_blog.as-news-blog .post-content-inner,
.et_pb_blog.as-news-blog .content {
  color: var(--muted-ink) !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
  max-width: 40rem;
  padding: 0 !important;
  margin: 0.5rem 0 0 !important;
}

.et_pb_blog.as-news-blog .pagination {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--soft-rule);
}

.et_pb_blog.as-news-blog .pagination a,
.et_pb_blog.as-news-blog .pagination .current {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--sanctuary-green) !important;
}

/* ---------- Single post (Theme Builder body) ---------- */

/* Narrow forest header on articles */
body.single-post .et-l--post > .et_builder_inner_content .et_pb_section.as-single-banner,
body.single-post .et-l--body > .et_builder_inner_content .et_pb_section.as-single-banner,
body.single-post #main-content .et_pb_section.as-single-banner {
  background-color: #1e3d2c !important;
  background-image: none !important;
  padding: 0 !important;
}

body.single-post .et_pb_section.as-single-banner > .et_pb_row {
  max-width: var(--wide-w) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 2rem 1.25rem 1.75rem !important;
  box-sizing: border-box !important;
}

body.single-post .et_pb_section.as-single-banner .as-single-eyebrow,
body.single-post .et_pb_section.as-single-banner .as-single-eyebrow .et_pb_text_inner,
body.single-post .et_pb_section.as-single-banner .as-single-eyebrow .et_pb_text_inner p {
  margin: 0 !important;
  padding: 0 !important;
  color: #c9a646 !important;
}

body.single-post .et_pb_section.as-single-banner .as-eyebrow {
  display: inline-block !important;
  font-family: var(--font-sans) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #c9a646 !important;
  margin: 0 0 0.65rem !important;
}

body.single-post .et_pb_section.as-single-banner .as-single-title .et_pb_title_container {
  display: block !important;
}

body.single-post .et_pb_section.as-single-banner .as-single-title .entry-title,
body.single-post .et_pb_section.as-single-banner .as-single-title h1 {
  font-family: var(--font-serif) !important;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  margin: 0 0 0.5rem !important;
  padding: 0 !important;
  max-width: 28ch;
}

body.single-post .et_pb_section.as-single-banner .as-single-title .post-meta,
body.single-post .et_pb_section.as-single-banner .as-single-title .et_pb_title_meta_container,
body.single-post .et_pb_section.as-single-banner .as-single-title .et_pb_title_meta_container a,
body.single-post .et_pb_section.as-single-banner .as-single-title .published,
body.single-post .et_pb_section.as-single-banner .as-single-title .author,
body.single-post .et_pb_section.as-single-banner .as-single-title .author a {
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
  color: #f7f4ec !important;
  padding: 0 !important;
  margin: 0 !important;
}

.as-single-post .et_pb_row {
  width: 100% !important;
}

.as-single-featured {
  margin: 0 0 1.75rem !important;
}

.as-single-featured .et_pb_title_container,
.as-single-featured .et_pb_title_meta_container,
.as-single-featured .entry-title {
  display: none !important;
}

.as-single-featured .et_pb_title_featured_container,
.as-single-featured .et_pb_title_featured_image {
  margin: 0 !important;
}

.as-single-featured .et_pb_title_featured_container img,
.as-single-featured .et_pb_title_featured_image img {
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: cover;
  border-radius: calc(var(--radius) + 2px);
  display: block;
}

.as-single-title .entry-title,
.as-single-title h1 {
  font-family: var(--font-serif) !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  color: var(--forest-deep) !important;
  line-height: 1.15 !important;
  margin: 0 0 0.75rem !important;
  padding: 0 !important;
}

.as-single-title .post-meta {
  font-size: 0.9rem !important;
  color: var(--muted-ink) !important;
  padding: 0 !important;
}

.as-single-title .et_pb_title_featured_container,
.as-single-title .et_pb_title_featured_image {
  margin: 0 0 1.5rem !important;
}

.as-single-title .et_pb_title_featured_container img,
.as-single-title .et_pb_title_featured_image img {
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: cover;
  border-radius: calc(var(--radius) + 2px);
  display: block;
}

.as-single-content,
.as-single-content .et_pb_module_inner {
  max-width: 44rem;
  color: var(--muted-ink);
  font-size: 1.05rem;
  line-height: 1.65;
}

.as-single-content h2,
.as-single-content h3 {
  font-family: var(--font-serif) !important;
  color: var(--forest-deep) !important;
}

.as-single-content p {
  margin: 0 0 1rem;
  color: var(--muted-ink);
}

.as-single-content img {
  border-radius: calc(var(--radius) + 2px);
  margin: 1.25rem 0;
}

.as-single-content figure.as-article-gallery {
  margin: 1.5rem 0;
}

.as-single-content figure.as-article-gallery img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

.as-single-content figure.as-article-logo {
  margin: 1.5rem 0;
  padding: 2rem 1.5rem;
  background: #1e3d2c;
  border-radius: calc(var(--radius) + 2px);
  text-align: center;
}

.as-single-content figure.as-article-logo img {
  margin: 0 auto;
  max-width: 16rem;
  width: 70%;
  height: auto;
  display: block;
  border-radius: 0;
}

.as-single-content figure.as-article-logo--light {
  background: #f7f4ec;
  border: 1px solid rgba(30, 61, 44, 0.12);
}

.as-single-content figure.as-article-logo--light img {
  max-width: 14rem;
  width: 55%;
}

.as-single-back p {
  margin: 0;
  padding: 0 !important;
}

/* Hide default sidebar on posts/news when Theme Builder is inactive */
body.single-post #sidebar,
body.blog #sidebar,
body.page-id-39 #sidebar {
  display: none !important;
}

body.single-post #left-area,
body.blog #left-area {
  width: 100% !important;
}

/* Divi 5 wrappers around preserved brand HTML
   Only collapse chrome for thin Code/HTML wrappers — not native Divi sections. */
.et_builder_inner_content > .et_pb_section.as-divi-chunk,
.et_builder_inner_content > .et_pb_section.as-hero {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  width: 100% !important;
  max-width: none !important;
}

.et_pb_section.as-divi-chunk > .et_pb_row,
.et_pb_section.as-hero > .et_pb_row,
.et_pb_section.as-divi-chunk .et_pb_row,
.et_pb_section.as-hero .et_pb_row {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

.et_pb_section.as-divi-chunk .et_pb_column,
.et_pb_section.as-hero .et_pb_column {
  padding: 0 !important;
  width: 100% !important;
}

/* Text + Code modules that wrap brand HTML */
.et_pb_text.as-preserve,
.et_pb_text.as-preserve .et_pb_text_inner,
.et_pb_code.as-preserve,
.et_pb_code.as-preserve .et_pb_code_inner,
.et_pb_code_inner {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  text-align: left;
}

/* Keep staggered split / grids working inside Divi Code modules */
.et_pb_code_inner .as-split,
.et_pb_text_inner .as-split {
  display: grid !important;
  gap: 2.5rem !important;
  align-items: center !important;
}

@media (min-width: 900px) {
  .et_pb_code_inner .as-split,
  .et_pb_text_inner .as-split {
    grid-template-columns: 1.05fr 0.95fr !important;
  }

  .et_pb_code_inner .as-split--reverse,
  .et_pb_text_inner .as-split--reverse {
    grid-template-columns: 0.95fr 1.05fr !important;
  }

  .et_pb_code_inner .as-split--reverse .as-split__media,
  .et_pb_text_inner .as-split--reverse .as-split__media {
    order: -1 !important;
  }
}

.et_pb_code_inner .as-page,
.et_pb_code_inner .as-section__inner,
.et_pb_text_inner .as-page,
.et_pb_text_inner .as-section__inner {
  width: 100% !important;
  max-width: var(--max-w) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  box-sizing: border-box !important;
}

.et_pb_code_inner .as-section__inner,
.et_pb_text_inner .as-section__inner {
  max-width: var(--wide-w) !important;
}

.et_pb_code_inner .as-prose,
.et_pb_code_inner .as-page.as-prose,
.et_pb_text_inner .as-prose,
.et_pb_text_inner .as-page.as-prose {
  width: 100% !important;
  max-width: 44rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.et_pb_code_inner .as-banner .as-page,
.et_pb_text_inner .as-banner .as-page {
  max-width: var(--max-w) !important;
}

/* Divi flex rows can shrink columns — force full canvas for brand HTML */
.et_pb_pagebuilder_layout .et_builder_inner_content,
.et_pb_pagebuilder_layout .et_pb_section.as-divi-chunk,
.et_pb_pagebuilder_layout .et_pb_section[class*="as-"] {
  width: 100% !important;
  max-width: none !important;
}

.et_pb_pagebuilder_layout .et_pb_section.as-divi-chunk > .et_pb_row,
.et_pb_pagebuilder_layout .et_pb_section[class*="as-"] > .et_pb_row {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

.et_pb_pagebuilder_layout .et_pb_section.as-divi-chunk .et_pb_column,
.et_pb_pagebuilder_layout .et_pb_section[class*="as-"] .et_pb_column {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.et_pb_code_inner .as-grid,
.et_pb_text_inner .as-grid {
  display: grid !important;
  gap: 1.25rem !important;
}

@media (min-width: 900px) {
  .et_pb_code_inner .as-grid--3,
  .et_pb_text_inner .as-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

.et_pb_code_inner .as-hero,
.et_pb_text_inner .as-hero,
.et_pb_code_inner > .as-section,
.et_pb_text_inner > .as-section,
.et_pb_code_inner > .as-banner,
.et_pb_text_inner > .as-banner,
.et_pb_code_inner > .as-page,
.et_pb_text_inner > .as-page {
  /* brand blocks keep their own spacing */
}

/* Full-bleed page canvas when builder is on */
body.et_pb_pagebuilder_layout #main-content .container,
body.et_pb_pagebuilder_layout #left-area,
body.et_pb_pagebuilder_layout .et_builder_inner_content {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
}

/* ---------- Home / About / People (page IDs 409 / 416 / 419) ---------- */

body.page-id-409 .et_pb_row,
body.page-id-416 .et_pb_row,
body.page-id-419 .et_pb_row {
  max-width: var(--wide-w) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Home latest news — match /news/ list width + blog card layout */
body.page-id-409 .et_pb_section.as-home-news > .et_pb_row {
  max-width: 56rem !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

body.page-id-409 .as-home-news-intro .as-eyebrow {
  margin-bottom: 0.5rem !important;
}

body.page-id-409 .as-home-news-intro h2 {
  font-family: var(--font-serif) !important;
  color: var(--forest-deep) !important;
  font-size: clamp(1.75rem, 3vw, 2.35rem) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  margin: 0 0 0.65rem !important;
}

body.page-id-409 .as-home-news-intro .as-lede {
  margin: 0 0 0.25rem !important;
  max-width: 36rem;
}

body.page-id-409 .as-home-news-more {
  margin-top: 0.5rem !important;
}

body.page-id-409 .as-home-news-more .as-btn {
  display: inline-flex !important;
}

/* Home news — stack posts; hide Divi pagination (module already limited to 3) */
body.page-id-409 .as-home-news-blog .pagination {
  display: none !important;
}

body.page-id-409 .et_pb_section_0 > .et_pb_row {
  max-width: var(--wide-w) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  box-sizing: border-box !important;
}

/* Hero copy inset — match archived as-hero__inner side padding */
body.page-id-409 .et_pb_section_0 .et_pb_column_0,
body.page-id-409 .et_pb_section_0 .et_pb_group {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Hero CTAs — keep Divi buttons on one row */
body.page-id-409 .et_pb_section_0 .et_pb_row_nested > .et_pb_column,
body.page-id-409 .et_pb_section_0 .et_pb_column_1 {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.75rem !important;
  width: auto !important;
  max-width: 100% !important;
}

body.page-id-409 .et_pb_section_0 .et_pb_button_module_wrapper {
  display: inline-flex !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

body.page-id-409 .et_pb_section_0 .et_pb_button_module_wrapper .et_pb_button {
  width: auto !important;
}

body.page-id-416 .et_pb_heading,
body.page-id-419 .et_pb_heading,
body.page-id-409 .et_pb_heading,
body.page-id-27 .et_pb_heading,
body.page-id-28 .et_pb_heading,
body.page-id-409 .et_pb_text {
  width: 100% !important;
  max-width: 100% !important;
}

/* About body copy — Mission/Vision/Values, Our Story, Edgefield */
body.page-id-416 .et_pb_text.as-about-mvv-copy,
body.page-id-416 .et_pb_text.as-about-mvv-text,
body.page-id-416 .et_pb_text.as-about-story-copy,
body.page-id-416 .et_pb_text.as-about-edgefield-body,
body.page-id-416 .et_pb_text.as-about-mvv-copy .et_pb_text_inner,
body.page-id-416 .et_pb_text.as-about-mvv-text .et_pb_text_inner,
body.page-id-416 .et_pb_text.as-about-story-copy .et_pb_text_inner,
body.page-id-416 .et_pb_text.as-about-edgefield-body .et_pb_text_inner {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-416 .et_pb_text.as-about-mvv-copy .et_pb_text_inner h2,
body.page-id-416 .et_pb_text.as-about-mvv-text .et_pb_text_inner h2,
body.page-id-416 .et_pb_text.as-about-story-copy .et_pb_text_inner h2,
body.page-id-416 .et_pb_text.as-about-edgefield-body .et_pb_text_inner h2 {
  font-family: var(--font-serif) !important;
  color: var(--forest-deep) !important;
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  margin: 2rem 0 0.65rem !important;
  padding: 0 !important;
}

body.page-id-416 .et_pb_text.as-about-mvv-copy .et_pb_text_inner h2:first-child,
body.page-id-416 .et_pb_text.as-about-mvv-text .et_pb_text_inner h2:first-child,
body.page-id-416 .et_pb_text.as-about-story-copy .et_pb_text_inner h2:first-child,
body.page-id-416 .et_pb_text.as-about-edgefield-body .et_pb_text_inner h2:first-child {
  margin-top: 0 !important;
}

body.page-id-416 .et_pb_text.as-about-mvv-copy .et_pb_text_inner p,
body.page-id-416 .et_pb_text.as-about-mvv-text .et_pb_text_inner p,
body.page-id-416 .et_pb_text.as-about-story-copy .et_pb_text_inner p,
body.page-id-416 .et_pb_text.as-about-edgefield-body .et_pb_text_inner p {
  color: var(--muted-ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  margin: 0 0 1.15rem !important;
  padding: 0 !important;
}

body.page-id-416 .et_pb_text.as-about-mvv-copy .et_pb_text_inner p:last-child,
body.page-id-416 .et_pb_text.as-about-mvv-text .et_pb_text_inner p:last-child,
body.page-id-416 .et_pb_text.as-about-story-copy .et_pb_text_inner p:last-child,
body.page-id-416 .et_pb_text.as-about-edgefield-body .et_pb_text_inner p:last-child {
  margin-bottom: 0 !important;
}

body.page-id-416 .et_pb_text.as-about-mvv-copy .et_pb_text_inner ul.as-checklist,
body.page-id-416 .et_pb_text.as-about-mvv-text .et_pb_text_inner ul.as-checklist {
  margin: 0.35rem 0 0 !important;
  padding-left: 1.15rem !important;
  list-style: disc outside !important;
  color: var(--muted-ink);
}

body.page-id-416 .et_pb_text.as-about-mvv-copy .et_pb_text_inner ul.as-checklist li,
body.page-id-416 .et_pb_text.as-about-mvv-text .et_pb_text_inner ul.as-checklist li {
  margin: 0 0 0.65rem !important;
  padding: 0 !important;
  line-height: 1.55 !important;
}

body.page-id-416 .et_pb_text.as-about-mvv-copy .et_pb_text_inner ul.as-checklist li:last-child,
body.page-id-416 .et_pb_text.as-about-mvv-text .et_pb_text_inner ul.as-checklist li:last-child {
  margin-bottom: 0 !important;
}

body.page-id-419 .as-people {
  margin-top: 0.5rem;
}

body.page-id-419 .as-page.as-prose > h2:first-child {
  margin-top: 0;
}

/* Home service cards (Divi Text module content) */
.as-service-grid {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 0;
}

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

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

.as-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--soft-rule);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 255, 255, 0.72);
}

.as-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--forest-deep);
  margin: 0 0 0.5rem;
}

.as-card p {
  margin: 0;
  color: var(--muted-ink);
  line-height: 1.55;
}

/* Forest CTA when class is on the Divi section (not nested HTML section) */
.et_pb_section.as-section--forest,
.et_builder_inner_content > .et_pb_section.as-section--forest {
  background-color: var(--forest-deep) !important;
  background-image: linear-gradient(145deg, var(--forest-deep), var(--sanctuary-green)) !important;
  color: rgba(247, 244, 236, 0.94) !important;
  text-align: center !important;
  padding: 4.5rem 1.25rem !important;
}

.et_pb_section.as-section--forest .et_pb_row {
  max-width: var(--max-w) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
}

.et_pb_section.as-section--forest h2,
.et_pb_section.as-section--forest .as-lede,
.et_pb_section.as-section--forest p {
  color: rgba(247, 244, 236, 0.94) !important;
}

.et_pb_section.as-section--forest .as-actions {
  justify-content: center;
}

.et_pb_section.as-section--forest .as-btn--primary {
  background: var(--edgefield-gold) !important;
  color: var(--forest-deep) !important;
  border-color: transparent !important;
}

.et_pb_section.as-section--forest .as-btn--ghost {
  background: var(--stone-cream) !important;
  color: var(--forest-deep) !important;
  border-color: transparent !important;
}

.et_pb_section.as-section--forest .as-btn--ghost:hover {
  background: #fff !important;
  color: var(--forest-deep) !important;
}

/* Native Divi section padding restored after removing broad as-* collapse */
.et_pb_section.as-section:not(.as-divi-chunk) {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

.et_pb_section.as-banner:not(.as-divi-chunk) > .et_pb_row {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

.et_pb_section.as-native-prose > .et_pb_row,
.et_pb_section[class*="as-section"] > .et_pb_row {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  box-sizing: border-box !important;
}

/* Programs page — About-like banner + split service rows */
body.page-id-27 .et_pb_section_0.et_flex_section {
  background-color: var(--forest-deep, #1e3d2c) !important;
}

body.page-id-27 .et_pb_section_0.et_flex_section > .et_pb_row {
  max-width: var(--wide-w) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  box-sizing: border-box !important;
}

body.page-id-27 .et_pb_section_0 .et_pb_text .et_pb_text_inner,
body.page-id-27 .et_pb_section_0 .et_pb_text .et_pb_text_inner p {
  color: #ffffff !important;
}

body.page-id-27 .et_pb_section.as-programs-auth-callout > .et_pb_row,
body.page-id-27 .et_pb_section.as-programs-intro > .et_pb_row,
body.page-id-27 .et_pb_section.as-programs-interest > .et_pb_row {
  max-width: 44rem !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  box-sizing: border-box !important;
}

/* Force 2-column service layout (Divi block rows often stack without this) */
body.page-id-27 .et_pb_section.as-programs-service > .et_pb_row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 2.5rem !important;
  align-items: center !important;
  max-width: var(--wide-w) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 2rem 1.25rem !important;
  box-sizing: border-box !important;
}

body.page-id-27 .et_pb_section.as-programs-service > .et_pb_row > .et_pb_column {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-27 .et_pb_section.as-programs-service {
  border-bottom: 1px solid var(--soft-rule);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

body.page-id-27 .et_pb_section.as-programs-interest,
body.page-id-27 .et_pb_section.as-programs-auth-callout {
  border-bottom: 0;
}

body.page-id-27 .et_pb_image.as-programs-service-photo {
  display: block !important;
  margin: 0 !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.page-id-27 .et_pb_image.as-programs-service-photo .et_pb_image_wrap {
  display: block !important;
  width: 100% !important;
}

body.page-id-27 .et_pb_image.as-programs-service-photo img {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
}

body.page-id-27 .et_pb_section.as-programs-service .as-programs-service-copy h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif) !important;
  color: var(--forest-deep) !important;
  font-size: 1.75rem;
  line-height: 1.2;
}

body.page-id-27 .et_pb_section.as-programs-service .as-programs-service-copy,
body.page-id-27 .et_pb_section.as-programs-service .as-programs-service-copy .et_pb_text_inner {
  max-width: none !important;
}

body.page-id-27 .et_pb_section.as-programs-intro .as-programs-intro-copy h2:first-child,
body.page-id-27 .et_pb_section.as-programs-interest .as-programs-interest-copy h2:first-child {
  margin-top: 0;
}

body.page-id-27 .as-callout--auth,
body.page-id-27 .et_pb_text.as-programs-auth-copy .as-callout--auth {
  margin: 0;
  padding: 1.15rem 1.35rem;
  background: rgba(167, 196, 160, 0.22);
  border: 1px solid var(--soft-rule);
  border-left: 4px solid var(--sanctuary-green);
  border-radius: var(--radius);
}

body.page-id-27 .as-callout--auth p,
body.page-id-27 .et_pb_text.as-programs-auth-copy .as-callout--auth p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  body.page-id-27 .et_pb_section.as-programs-service > .et_pb_row {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
}
