/* post-strip-cae.css — the POST PAGE HEADER: full-width brick title strip + tan title bar. One component, first built for the
 * Facilities Manager job post (Kate Shawver, "Dev Notes: Careers › Facilities Manager", ClickUp 869ffd893, 2026-11-04, commit
 * 49dd8766b: .cae-careers-job-strip) and reused on every Impact Story single (Kate, "Dev Notes: Impact Story Pages", ClickUp
 * 869ew340f, 2026-11-04 section 1: "Use the same component and spec as EMPLOYMENT OPPORTUNITIES on the Facilities Manager
 * page"). The strip rules moved here from fix-careers-job-cae.css unchanged (same selectors, so that page draws as before);
 * the story template prints the same anatomy under the generic class .cae-post-strip / .cae-post-strip__text.
 * Enqueued on /about-cae/careers/facilities-manager/ (functions.php), on case_study singles (inc/cae-post-page.php) and on the
 * Media video page /media/video/ (inc/cae-media-video.php; Kate, "Dev Notes: Media Video Pages", ClickUp 869ew3fbd, 2026-11-04
 * section 1: "Same component and spec as EMPLOYMENT OPPORTUNITIES and IMPACT STORIES"), where the strip and the bar open the
 * page's post content.
 * Every length is a design px: the site presents at zoom 0.8 (presented = design x 0.8). Media queries read the real viewport. */

/* 1. THE STRIP — 20 under the breadcrumb, 31/16/21 padding (caps sit high, so more padding above than below), brick #B15533;
 *    text Acumin Pro Condensed 900 44/1 white uppercase centred (34 below 768). */
body.cae-page--cae-aboutus-careers-facilities-manager .wp-block-post-content > .cae-careers-job-strip.alignfull,
main.cae-website-redesign-record-detail > .cae-post-strip.alignfull,
body.cae-page--cae-flow-media-post .wp-block-post-content > .cae-post-strip.alignfull {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 20px 0 0 !important;
  padding: 31px 16px 21px;
  background: #B15533;
}
body.cae-page--cae-aboutus-careers-facilities-manager .cae-careers-job-strip__text.cae-careers-job-strip__text,
main.cae-website-redesign-record-detail > .cae-post-strip > .cae-post-strip__text.cae-post-strip__text,
body.cae-page--cae-flow-media-post .wp-block-post-content > .cae-post-strip > .cae-post-strip__text.cae-post-strip__text {
  margin: 0 !important;
  max-width: none;
  font-family: var(--wp--preset--font-family--acumin-pro-condensed);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}
@media (max-width: 767.98px) {
  body.cae-page--cae-aboutus-careers-facilities-manager .cae-careers-job-strip__text.cae-careers-job-strip__text,
  main.cae-website-redesign-record-detail > .cae-post-strip > .cae-post-strip__text.cae-post-strip__text,
  body.cae-page--cae-flow-media-post .wp-block-post-content > .cae-post-strip > .cae-post-strip__text.cae-post-strip__text { font-size: 34px; }
}
/* On a record single the strip sits inside <main>, which is narrower than the site canvas from 1024 up (main 1280, canvas
 * min(viewport, 1440) design px): the strip breaks out to the canvas edges, as the Facilities Manager strip spans its
 * full-width page. 100vw inside the 0.8 zoom reads in design units, hence / 0.8 (post-page-cae.css edge tabs use the same). */
main.cae-website-redesign-record-detail > .cae-post-strip.alignfull {
  width: min(100vw / 0.8, 1440px);
  margin-left: calc((100% - min(100vw / 0.8, 1440px)) / 2) !important;
  margin-right: calc((100% - min(100vw / 0.8, 1440px)) / 2) !important;
}
/* BORROWER PROFILES (Kate Shawver, "Dev Notes: Borrower Profile Pages (VFF)", ClickUp 869ew7jnj, 2026-11-04 section 2: the
 * "BORROWER PROFILES & STORIES" strip sits directly under the VFF program band, "No gap between the program band and the strip:
 * margin-top 0, and no top margin or padding on main"). Same strip, same selectors; only its 20 above is dropped on that page
 * (main token record-detail--borrower-profile, templates/single-borrowers.html; enqueued by inc/cae-borrower-profile.php). */
main.cae-website-redesign-record-detail--borrower-profile > .cae-post-strip.alignfull { margin-top: 0 !important; }
main.cae-website-redesign-record-detail--borrower-profile { margin-top: 0; padding-top: 0; }

/* the breadcrumb's own 24 below would collapse with the strip's 20 to 24: the strip's 20 is the gap */
main.cae-website-redesign-record-detail > .cae-website-redesign-breadcrumb:has(+ .cae-post-strip),
body.cae-page--cae-flow-media-post .wp-block-post-content > .cae-website-redesign-breadcrumb:has(+ .cae-post-strip) { margin-bottom: 0 !important; }

/* 2. THE TITLE BAR — the post H1 in the tan #F7F4E2 bar, centred, the full content width; Acumin Pro Condensed 900 brick
 *    uppercase. Impact Story values (Kate 869ew340f section 1): about 45, padding about 18 24 14, 48 above, 32 below.
 *    (The Facilities Manager bar keeps its own values in fix-careers-job-cae.css: 24 10 16 on the h-2 48 ramp.) */
main.cae-website-redesign-record-detail > .cae-post-titlebar.cae-post-titlebar,
body.cae-page--cae-flow-media-post .wp-block-post-content > .cae-post-titlebar.cae-post-titlebar {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 48px 0 32px !important;
  padding: 18px 24px 14px;
  background: #F7F4E2;
  font-family: var(--wp--preset--font-family--acumin-pro-condensed);
  font-weight: 900;
  font-size: 45px;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  text-wrap: balance;
  color: #B15533;
}
@media (max-width: 767.98px) {
  main.cae-website-redesign-record-detail > .cae-post-titlebar.cae-post-titlebar,
  body.cae-page--cae-flow-media-post .wp-block-post-content > .cae-post-titlebar.cae-post-titlebar { font-size: 36px; padding: 16px 16px 12px; }
}

/* The Media video page (Kate 869ew3fbd section 1: "It spans the content width, the same width as the player"): there the bar
 * sits in the full-canvas post content, so it takes the page's content gutter (--fmv-gut, fix-media-cae.css: the player's and
 * the More Videos column's inset) on both sides. */
body.cae-page--cae-flow-media-post .wp-block-post-content > .cae-post-titlebar.cae-post-titlebar {
  width: auto;
  margin: 48px var(--fmv-gut, 120px) 32px !important;
}

/* 3. BROWSER-EDGE BLEED (Kate 869ffd893: "a full-browser-width strip, the same full-width treatment as CTA blocks"; the first
 *    Betty read at 1440 found the strip stopping at the content column). Both strips use the theme's paint-only bleed
 *    (full-bleed-cae.css Mechanism A): the box keeps its geometry, box-shadow paints the fill into the gutters, clip-path keeps
 *    that ink to the strip's own rows; html { overflow-x: clip } (full-bleed-cae.css) keeps it out of the scroll box. Below
 *    1024 the column already fills the viewport. Seat-measured on the Facilities Manager page at 1440: brick at x=4 and x=1436. */
@media (min-width: 1024px) {
  body.cae-page--cae-aboutus-careers-facilities-manager .wp-block-post-content > .cae-careers-job-strip.alignfull,
  main.cae-website-redesign-record-detail > .cae-post-strip.alignfull,
  body.cae-page--cae-flow-media-post .wp-block-post-content > .cae-post-strip.alignfull {
    box-shadow: 0 0 0 100vmax #B15533;
    clip-path: inset(0 -100vmax);
  }
}

/* 4. MEET THE MAKER PAGES (Kate Shawver, "Dev Notes: Meet the Maker Video Pages", ClickUp 869fdua9g, 2026-11-04 section 1): the
 *    same strip ("MEET THE MAKERS") and title bar, printed by inc/cae-mtm-film.php as the first children of the record <main>
 *    (the record-detail selectors above). The strip "sits flush under the FFBR program band, with no margin or padding between
 *    them and no top padding on main": 0 above instead of the other strips' 20 under the breadcrumb, this template only. */
main.cae-website-redesign-record-detail--meet-the-maker > .cae-post-strip.alignfull { margin-top: 0 !important; }
