/**
 * Build 48: unconditional removal of decorative imagery from the deadline end.
 */

/* Decorative imagery only. The background COLOUR is deliberately not set here:
   it belongs with the type colour, in one rule, so the two can never drift
   apart again. */
body .site-main .wp-block-group:has(.deadline-row) {
  background-image: none !important;
}

/* Children lose decorative imagery only. Forcing their background colour too
   was overriding the closing CTA back to cream. */
body .site-main .wp-block-group:has(.deadline-row) > .wp-block-group {
  background-image: none !important;
}

/* Removed: this targeted "whatever follows the deadlines section", which on the
   Vietnamese homepage is the services gateway, not the closing ask. The closing
   ask is addressed by its own class in homepage.css. */

body .site-main .wp-block-group.trinity-deadlines-v18::before,
body .site-main .wp-block-group.trinity-deadlines-v18::after,
body .site-main .wp-block-group.section.trinity-deadlines-v18 + .wp-block-group::before,
body .site-main .wp-block-group.section.trinity-deadlines-v18 + .wp-block-group::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
}

body .site-main .wp-block-group.trinity-deadlines-v18 .cta-band__bg,
body .site-main .wp-block-group.trinity-deadlines-v18 .problem-section__bg,
body .site-main .wp-block-group.trinity-deadlines-v18 .results-section__pattern,
body .site-main .wp-block-group.trinity-deadlines-v18 .process-section__pattern,
body .site-main .wp-block-group.section.trinity-deadlines-v18 + .wp-block-group .cta-band__bg,
body .site-main .wp-block-group.section.trinity-deadlines-v18 + .wp-block-group .problem-section__bg,
body .site-main .wp-block-group.section.trinity-deadlines-v18 + .wp-block-group .results-section__pattern,
body .site-main .wp-block-group.section.trinity-deadlines-v18 + .wp-block-group .process-section__pattern {
  display: none !important;
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
}

/* --------------------------------------------------------------------------
   The closing invitation, addressed by the class the live page actually uses.
   It is the last and highest-intent ask on the homepage and needs a surface
   of its own, not the same cream as the deadlines above it.
   -------------------------------------------------------------------------- */
/* Surface and spacing for the closing ask now live in homepage.css, where the
   whole band is the anchor. */

body .site-main .trinity-deadlines-v18__cta h2,
body .site-main .trinity-deadlines-v18__cta h3 {
  color: var(--espresso, #32221a) !important;
}

body .site-main .trinity-deadlines-v18__cta p {
  color: rgba(50, 34, 26, 0.9) !important;
}

body .site-main .trinity-deadlines-v18__cta .wp-block-button__link {
  /* Forest fill on the cream ask. A cream fill here was a cream button on a
     cream ground -- an outline only. */
  background: var(--forest) !important;
  color: var(--cream) !important;
  border-color: var(--forest) !important;
}

body .site-main .trinity-deadlines-v18__cta .wp-block-button__link:hover {
  background: #1B2D21 !important;
  border-color: #1B2D21 !important;
  color: var(--cream) !important;
}
