/* cae-video-band.css -- the shared VIDEO BAND (.cae-mediaband), printed by inc/cae-video-band.php from
 * assets/fix-media-cae.json placements[] and enqueued only on the routes that have one (ClickUp 1amzwvgd1qx).
 * The look is the Place-Based Education band's (page 101, Figma frame 1261152264 column 17826:16726), its current served
 * rules generalised from the frame classes to .cae-mediaband (sources: bundle-global frame rules, placebased-voices-cae.css,
 * fix-pbeabout-cae.css; those page copies are unchanged):
 *   column  17826:16726  flex column, mint ground, 1200 wide (max 100%), padding 32, centred in a 56 / 25 gutter
 *   heading 17826:16727  h-2-acumin-black (Acumin Pro Condensed 900, clamp 27.9..48, 1.05em), white, centred, max 1136
 *   poster  17826:16728  1136 x 506 (max 100%), 24 below the heading; the video plays in this same box
 *   play    17826:16729  the drawn 100 x 100 button, round, shadow 0 2 8 rgba(0,0,0,.25), centred on the poster
 * The poster is the click-to-play cover of assets/js/cae-video-facade.js (button.fm-post__cover > img.fm-post__thumb +
 * img.fm-post__icon; after the click iframe.fm-post__video takes its place). */
.cae-mediaband.cae-mediaband {
  box-sizing: border-box;
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 56px 25px;
  background: transparent;
}
.cae-mediaband.cae-mediaband[hidden] { display: none !important; } /* For Farmers tab panels (fix-jcfarmers-cae.js) */
/* A band placed INSIDE a layout group (anchor in a group's column list, e.g. the Just Cut landing main-content band, above
 * STORIES & NEWS, PM 2026-11-29) takes the group's own gutter and row gap instead of adding its 56 / 25 padding on top:
 * the column then lines up with the group's other columns at every width (375: 335 wide at x 20, as on For Buyers). A band
 * that is a direct child of the post content (every other placement) is unchanged. */
.wp-block-group > .cae-mediaband.cae-mediaband { padding: 0; }
.cae-mediaband .cae-mediaband__column {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 32px;
  background-color: var(--wp--preset--color--primary-mint-green, #83B390);
  overflow-x: clip;
}
.cae-mediaband .cae-mediaband__column > .cae-mediaband__heading {
  box-sizing: border-box;
  width: 100%;
  max-width: 1136px;
  margin: 0 auto;
  padding: 0;
  font-family: var(--wp--preset--font-family--acumin-pro-condensed);
  font-size: var(--wp--preset--font-size--h-2-acumin-black);
  font-weight: var(--wp--custom--font-weights--h-2-acumin-black);
  line-height: var(--wp--custom--line-heights--h-2-acumin-black);
  letter-spacing: normal;
  text-transform: uppercase; /* the drawn heading is set in capitals (17826:16727) */
  text-align: center;
  color: var(--wp--preset--color--white, #fff);
}
.cae-mediaband .cae-mediaband__column > .cae-mediaband__player {
  position: relative;
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 1136px;
  height: auto;
  /* Kate 2026-11-29 18:20Z (ClickUp 1amzwvgdu1v): the frame follows the video's 16:9 shape, never the 1136 x 506 Figma frame,
   * so a YouTube poster (1280 x 720) and the embedded player show whole: "video thumbnails with text are never cut off". */
  aspect-ratio: 16 / 9;
  margin: 24px auto 0;
  padding: 0;
  border: 0;
  background: #000;
  overflow: hidden;
}
.cae-mediaband .cae-mediaband__player > .cae-mediaband__cover.fm-post__cover,
.cae-mediaband .cae-mediaband__player > .fm-post__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
}
.cae-mediaband .cae-mediaband__player > .cae-mediaband__cover.fm-post__cover {
  cursor: pointer;
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
}
.cae-mediaband .cae-mediaband__cover > .cae-mediaband__poster.fm-post__thumb {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
}
.cae-mediaband .cae-mediaband__cover > .cae-mediaband__play.fm-post__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  max-width: none;
  margin: -50px 0 0 -50px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.cae-mediaband .cae-mediaband__cover.fm-post__cover:focus { outline: none; }
.cae-mediaband .cae-mediaband__cover.fm-post__cover:focus-visible {
  outline: 3px solid var(--wp--preset--color--primary-butter-yellow, #F2A518);
  outline-offset: -3px;
}
