/* cta-banner-cae.css — the CTA BANNER as one shared component (Kate Shawver, ClickUp 1amzwvgbvc2 "Story Layout & Balance:
 * Global Conventions" part 4: "Reuse the site's standard CTA banner, the same block as 'Annual Reports' on About CAE ›
 * Mission, Vision & Values. Don't copy its CSS into a new class ... promote it to a shared component first").
 *
 * SOURCE. The Annual Reports band exists today as four page-keyed copies: Mission (compiled -cta-pdfdownload- classes +
 * fix-mvv-cae.css), Team, Board and History (native emitter `.cae-website-redesign-cta--backdrop-panel` + a per-page
 * modifier, ~25 rules each in style.css, finished by annual-reports-standard-cae.css which is keyed on the family).
 * §1 below is History's per-page block (style.css, modifier --cae-flow-about-history-v5-section-cta) MOVED (Team, Board, History consume it since ab3bad48b, their copies deleted, page seams kept; Mission still has
 * its own copy until the phase-2 lane) onto the
 * page-neutral key `.cae-cta-banner` byte-for-byte except the selector, plus its unbound-literals button padding,
 * kate-global uppercase title and about-history mobile inner padding. Any section carrying
 * `cae-website-redesign-cta cae-website-redesign-cta--backdrop-panel cae-cta-banner` draws the standard band; the family
 * standard (annual-reports-standard-cae.css, every route) still applies on top. Measured 2026-11-15 at 1440/1024: Mission's
 * band markup re-emitted in this family draws within 620 px (button/download-icon row) of the served Mission band; 390
 * differs (Mission stacks copy-then-card, the native family card-then-copy) — see bvc2-L3/PROVE.md.
 *
 * §2 is the story variant (`.cae-cta-banner--photo`): the card holds one photo postcard (figure.cae-postcard, drawn by
 * photo-postcard-cae.js: white holder, standard postcard shadow, credit pill, caption, magnifier, modal) instead of the
 * report cover; title / text / yellow button are the band's own. Inserted from the editor pattern in inc/cae-cta-banner.php. */

/* §1 ── the standard band (History's rules; consumed by Team, Board and History; Mission still on its own copy) ─────────────────────────────────────────────── */
.cae-website-redesign-cta.cae-cta-banner {
  position: relative;
  padding: 0;
  overflow: visible;
  min-height: 466px;
  background: #004f39;
}

.cae-cta-banner .cae-website-redesign-cta__inner {
  position: static;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  min-height: 466px;
}

.cae-cta-banner .cae-website-redesign-cta__panel {
  position: absolute;
  left: 1041px;
  top: 0px;
  width: 399px;
  height: 466px;
  background: #c5e3bf;
  margin: 0;
  z-index: 0;
}

.cae-cta-banner .cae-website-redesign-cta__card {
  position: absolute;
  left: 925px;
  top: -90px;
  width: 384px;
  height: 556px;
  background: #ffffff;
  box-shadow: 4px -4px 100px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0;
  padding: 0;
  overflow: visible;
  z-index: 1;
}

.cae-cta-banner .cae-website-redesign-cta__image {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 352px;
  height: 414px;
  margin: 0;
  z-index: 1;
}

.cae-cta-banner .cae-website-redesign-cta__image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.cae-cta-banner .cae-website-redesign-cta__caption {
  position: absolute;
  left: 16px;
  top: 446px;
  width: 175px;
  margin: 0;
  padding: 0;
  z-index: 2;
}

.cae-cta-banner .cae-website-redesign-cta__caption {
  font-size: var(--wp--preset--font-size--p-2-regular);
  line-height: var(--wp--custom--line-heights--p-2-regular);
  font-weight: var(--wp--custom--font-weights--p-2-regular);
  font-family: var(--wp--preset--font-family--acumin-pro);
  color: var(--wp--preset--color--primary-evergreen);
  text-align: left;
}

.cae-cta-banner .cae-website-redesign-cta__download {
  position: absolute;
  left: 16px;
  top: 498px;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  z-index: 2;
}

.cae-cta-banner .cae-website-redesign-cta__download img {
  width: 100%;
  height: 100%;
  display: block;
}

.cae-cta-banner .cae-website-redesign-cta__download a {
  display: block;
  width: 100%;
  height: 100%;
}

.cae-cta-banner .cae-website-redesign-cta__content {
  position: absolute;
  left: 120px;
  top: 73px;
  width: 755px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  overflow: visible;
  margin: 0;
  z-index: 2;
  row-gap: 40px;
}

.cae-cta-banner .cae-website-redesign-cta__title {
  max-width: none;
  text-align: left;
}

.cae-cta-banner .cae-website-redesign-cta__actions {
  justify-items: start;
  text-align: left;
}

.cae-cta-banner .cae-website-redesign-cta__title {
  font-size: var(--wp--preset--font-size--font-bookman-cta);
  line-height: var(--wp--custom--line-heights--font-bookman-cta);
  font-weight: var(--wp--custom--font-weights--font-bookman-cta);
  font-family: var(--wp--preset--font-family--bookman-press-sans) !important;
  color: var(--wp--preset--color--white);
  text-align: left;
}

.cae-cta-banner .cae-website-redesign-cta__body {
  font-size: var(--wp--preset--font-size--p-1-pro-regular);
  line-height: var(--wp--custom--line-heights--p-1-pro-regular);
  font-weight: var(--wp--custom--font-weights--p-1-pro-regular);
  font-family: var(--wp--preset--font-family--acumin-pro);
  color: var(--wp--preset--color--white);
  text-align: left;
}

.cae-cta-banner .cae-website-redesign-cta__button--primary .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--wp--preset--color--primary-butter-yellow);
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--p-2-regular-acumin-pro-cond);
  line-height: var(--wp--custom--line-heights--p-2-regular-acumin-pro-cond);
  font-weight: var(--wp--custom--font-weights--p-2-regular-acumin-pro-cond);
  font-family: var(--wp--preset--font-family--acumin-pro-condensed);
  border-radius: 40px;
  gap: 10px;
}

.cae-cta-banner .cae-website-redesign-cta__button--primary .wp-block-button__link {
  min-width: 0;
  min-height: 51px;
}

@media (max-width: 1151.98px) {
.cae-cta-banner .cae-website-redesign-cta__card {
    position: static;
    inset: auto;
    width: 384px;
    max-width: 100%;
    height: auto;
  }

.cae-cta-banner .cae-website-redesign-cta__image {
    position: static;
    inset: auto;
    width: 352px;
    max-width: 100%;
    height: auto;
  }

.cae-cta-banner .cae-website-redesign-cta__caption {
    position: static;
    inset: auto;
    width: auto;
  }

.cae-cta-banner .cae-website-redesign-cta__download {
    position: static;
    inset: auto;
    width: 42px;
    max-width: 100%;
    height: auto;
  }

.cae-cta-banner .cae-website-redesign-cta__content {
    position: static;
    inset: auto;
    width: auto;
  }

.cae-cta-banner .cae-website-redesign-cta__panel {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
  }
}

/* inter-band seam (compiler-derived, root-frame adjacent stacking): design node 7566:305983 -> 7566:306044, gap 146px */
/* :where() = zero specificity: 146 is History's design seam, a DEFAULT for a band with no page seam of its own (the story
   closing banner). A page's own seam wins: Team keeps 170 (style.css --flow-cae-whoweare-staff-section-cta); at equal
   0,1,0 this sheet loaded later and moved Team's band up 24px at 390 (measured 16:08Z, 170 -> 146). */
:where(.cae-cta-banner) {
  margin-top: 146px;
}

.cae-cta-banner .cae-website-redesign-cta__button--primary .wp-block-button__link{padding-top:12px;padding-right:24px;padding-bottom:11px;padding-left:24px;height:51px;border-radius:40px}
.cae-cta-banner .cae-website-redesign-cta__title { text-transform: uppercase; }
@media (max-width: 1151.98px) {
  .cae-cta-banner .cae-website-redesign-cta__inner { box-sizing: border-box; padding-inline: 40px; }
}

/* §2 ── story variant: photo postcard in the card (Impact Story / News closing block) ─────────────────────── */
/* Story bodies style h2 / p / empty groups for reading; the band keeps the Mission band's own type and decor panel. */
:root body .wp-site-blocks .cae-cta-banner.cae-cta-banner--photo.cae-cta-banner--photo.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__panel.cae-website-redesign-cta__panel { display: block !important; }
:root body .wp-site-blocks .cae-cta-banner.cae-cta-banner--photo.cae-cta-banner--photo.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__title.cae-website-redesign-cta__title {
  font-family: var(--wp--preset--font-family--bookman-press-sans) !important;
  font-size: var(--wp--preset--font-size--h-2-bookman) !important;
  line-height: var(--wp--custom--line-heights--h-2-bookman) !important;
  font-weight: var(--wp--custom--font-weights--font-bookman-cta);
  text-transform: uppercase; letter-spacing: 0; color: var(--wp--preset--color--white);
}
:root body .wp-site-blocks .cae-cta-banner.cae-cta-banner--photo.cae-cta-banner--photo.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__body.cae-website-redesign-cta__body { max-width: none; width: 100%; }
/* The postcard is the white holder (its own padding + the standard postcard shadow); the card is only its place. */
:root body .wp-site-blocks .cae-cta-banner.cae-cta-banner--photo.cae-cta-banner--photo.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__card.cae-website-redesign-cta__card {
  background: transparent; box-shadow: none; padding: 0; height: auto; min-height: 0;
}
:root body .wp-site-blocks .cae-cta-banner.cae-cta-banner--photo.cae-cta-banner--photo.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__card.cae-website-redesign-cta__card:is(:hover, :focus-within) { box-shadow: none; }
:root body .wp-site-blocks .cae-cta-banner.cae-cta-banner--photo.cae-cta-banner--photo.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__card > figure.cae-postcard { width: 100%; margin: 0; box-sizing: border-box; }
@media (min-width: 1000px) {
  :root body .wp-site-blocks .cae-cta-banner.cae-cta-banner--photo.cae-cta-banner--photo.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__card.cae-website-redesign-cta__card { top: 50%; transform: translateY(-50%); }
  :root body .wp-site-blocks .cae-cta-banner.cae-cta-banner--photo.cae-cta-banner--photo.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__card.cae-website-redesign-cta__card:is(:hover, :focus-within) { transform: translateY(-50%); }
}

/* §3 ── per-page modifier `.cae-cta-banner--copy-first`: PHONE ORDER. PER-PAGE UNTIL Kate answers ClickUp comment
 * 1500830000091894 on which phone order is the standard. Mission, Vision & Values keeps its own band order below 1000 px
 * (title + text + button first, then the report card, Mission's 73/25 px section padding, 56 px gap, 384 px card);
 * every other band is card-first. Delete this section (and the class on Mission's pattern) if card-first is ruled the
 * standard; promote it into §1 if copy-first is. No effect at >= 1000 px (the family's desktop layout owns 1000-1151 and up). */
@media (max-width: 999.98px) {
  :root body .wp-site-blocks:not(#cae-m) .cae-cta-banner.cae-cta-banner--copy-first.cae-cta-banner--copy-first.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel { padding:73px 25px !important;box-sizing:border-box !important; }
  :root body .wp-site-blocks:not(#cae-m) .cae-cta-banner.cae-cta-banner--copy-first.cae-cta-banner--copy-first.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__inner { display:flex !important;flex-direction:column !important;gap:56px !important;padding:0 !important; }
  :root body .wp-site-blocks:not(#cae-m) .cae-cta-banner.cae-cta-banner--copy-first.cae-cta-banner--copy-first.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__panel { display:none !important; }
  :root body .wp-site-blocks:not(#cae-m) .cae-cta-banner.cae-cta-banner--copy-first.cae-cta-banner--copy-first.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__content { order:1 !important;row-gap:0 !important; }
  :root body .wp-site-blocks:not(#cae-m) .cae-cta-banner.cae-cta-banner--copy-first.cae-cta-banner--copy-first.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__actions { margin-top:40px !important; }
  :root body .wp-site-blocks:not(#cae-m) .cae-cta-banner.cae-cta-banner--copy-first.cae-cta-banner--copy-first.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__card { order:2 !important;width:384px !important;max-width:100% !important;margin:0 !important;padding:16px !important;box-sizing:border-box !important;height:auto !important; }
  :root body .wp-site-blocks:not(#cae-m) .cae-cta-banner.cae-cta-banner--copy-first.cae-cta-banner--copy-first.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__image { width:352px !important;max-width:100% !important;height:auto !important;aspect-ratio:352 / 414 !important; }
  :root body .wp-site-blocks:not(#cae-m) .cae-cta-banner.cae-cta-banner--copy-first.cae-cta-banner--copy-first.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__caption { width:auto !important;margin-top:16px !important;font-size:20px !important; }
  :root body .wp-site-blocks:not(#cae-m) .cae-cta-banner.cae-cta-banner--copy-first.cae-cta-banner--copy-first.cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__download { margin-top:24px !important; }
}

/* §4 ── linked report cover (Mission, Board): the cover img sits inside its own anchor `a.cae-report-card-link`. An inline
 * anchor makes the img's `height:100%` resolve against an auto-height box, so the cover collapsed/shifted inside the card;
 * the anchor is made a transparent block that fills the figure, so the linked cover renders exactly like the unlinked one. */
.cae-cta-banner .cae-website-redesign-cta__image > a.cae-report-card-link {
  display: block;
  width: 100%;
  height: 100%;
}
/* (Board excluded: its own stretched-link card keeps the static figure) annual-reports-standard-cae.css makes the figure `position: static` for any card holding a .cae-report-card-link (Board's
 * stretched-link card); a `.cae-cta-banner` band keeps its figure placed exactly as without the link (>= 1000 px). */
@media (min-width: 1000px) {
  :root body .wp-site-blocks .cae-cta-banner:not(.cae-website-redesign-cta--flow-cae-whoweare-staff-board-section-cta).cae-website-redesign-cta--backdrop-panel.cae-website-redesign-cta--backdrop-panel .cae-website-redesign-cta__card.cae-website-redesign-cta__card:has(.cae-report-card-link) .cae-website-redesign-cta__image.cae-website-redesign-cta__image { position: absolute; }
}

/* §5 ── CONTACT US CTA BANNER, every instance (Kate Shawver, ClickUp 1amzwvgdu1t, 2026-11-29). The band is the Figma
 * "CTA: Contact Us / Information Detail" family (`…-cta-contact-us-information-detail-generic`); inc/cae-cta-contact-banner.php
 * marks it [data-cae-cta-contact] at render time, takes the link and bold off a linked title (fix 1, markup only: the title
 * paragraph keeps its own font, size, colour and uppercase) and gives a band that has no button the yellow "Send Us a
 * Message" button carrying the title's old link (fix 3). Bands that already had a button keep theirs, untouched. */
/* fix 3: the button sits under the contact info, on the text's left edge, about 28 px (presented) below it. The text column
 * is a flex column with the drawn 24 gap; 24 + 11 = 35 design px = 28 presented at the site's 0.8 zoom. The button box is
 * the site's standard yellow button (the banners' own "Send Us A Message" and the footer "Contact Us": CAE Button Cond,
 * 12 / 24 / 11 padding, 51 tall, radius 40, label then the 20 px › with a 10 gap); the paint and the 5 px › slide on hover
 * come from kate-global-rules-cae.css C13 (fg-ground-primary-butter-yellow). */
:root body [data-cae-cta-contact] .wp-block-buttons.cae-cta-contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-self: flex-start;
  width: auto;
  margin: 11px 0 0;
  padding: 0;
  gap: 0;
}
:root body [data-cae-cta-contact] .cae-cta-contact__button > .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  height: 51px;
  padding: 12px 24px 11px;
  border-radius: 40px;
  font-family: var(--wp--preset--font-family--acumin-pro-condensed);
  font-size: var(--wp--preset--font-size--p-2-regular-acumin-pro-cond);
  line-height: var(--wp--custom--line-heights--p-2-regular-acumin-pro-cond);
  font-weight: var(--wp--custom--font-weights--p-2-regular-acumin-pro-cond);
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}
:root body [data-cae-cta-contact] .cae-cta-contact__button > .wp-block-button__link > img.button-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  max-width: none;
  margin: 0;
}
/* fix 4: the text column (title, contact info, button) is centred on the band's height beside the photo instead of pinned
 * at the drawn top 95. Only the component whose copy column is absolutely placed (CTA 17826:16781, column 17826:16784, used
 * by Place-Based Education About and Program Stories): style.css places it from 1152 up, fix-pbeabout-cae.css (section C) and
 * fix-ccfamily-cae.css (sections 10 / 13) restate it for 1024..1159.98 on those pages, so the 1024..1151.98 arm keeps the
 * same scope. Below 1024 the column is in the stacked flow and is not touched. */
@media (min-width: 1152px) {
  :root body section[class*="-cta-contact-us-information-detail-generic"] > [class*="-cta-contact-us-information-detail-generic__column-figma-generic-column-17826-16784"] {
    top: 50%;
    transform: translateY(-50%);
  }
}
@media (min-width: 1024px) and (max-width: 1151.98px) {
  :root body section.cae-pbe-contact[class*="-cta-contact-us-information-detail-generic"] > [class*="-cta-contact-us-information-detail-generic__column-figma-generic-column-17826-16784"],
  :root body:is(.cae-page--cae-programs-services-communityconnection-placebasededucation-blog, .cae-page--cae-programs-services-communityconnection-stories) section[class*="-cta-contact-us-information-detail-generic"] > [class*="-cta-contact-us-information-detail-generic__column-figma-generic-column-17826-16784"] {
    top: 50%;
    transform: translateY(-50%);
  }
}
