.act-documentary {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 15px 50px;
}

.act-documentary__title {
  margin-bottom: 20px;
}

.act-documentary__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.act-documentary__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

.act-documentary__meta {
  margin-top: 12px;
  color: #666;
}

.act-documentary__error {
  margin-top: 12px;
  color: #b00020;
}

.act-documentary__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 25px;
  margin-top: 20px;
}

@media (max-width: 767px) {
  .act-documentary {
    padding: 15px 0 30px;
  }

  .act-documentary__title {
    font-size: 24px;
    padding: 0 15px;
  }

  .act-documentary__meta,
  .act-documentary__error,
  .act-documentary--denied p {
    padding: 0 15px;
  }
}

/* "Email me a new watch link" form */
.act-documentary-link-form {
  max-width: 560px;
  margin: 10px auto 30px;
  padding: 30px;
  background: #fff;
  border-radius: 6px;
}

.act-documentary-link-form .act-documentary__title {
  margin: 0 0 12px;
  font-size: 28px;
  color: #262262;
}

.act-documentary-link-form__intro {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.act-documentary-link-form .form-item {
  display: block !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
}

.act-documentary-link-form .form-item label {
  display: block;
  margin: 0 0 6px;
  font-weight: 700;
}

.act-documentary-link-form input.form-email {
  width: 100% !important;
  height: 46px;
  padding: 10px 14px;
  font-size: 16px;
}

.act-documentary-link-form .form-actions {
  margin: 0;
}

.act-documentary-link-form .form-submit {
  width: 100%;
  margin: 0;
  padding: 12px 20px;
  font-size: 16px;
  text-transform: none !important;
}

@media (max-width: 767px) {
  .act-documentary-link-form {
    margin: 0 auto 20px;
    padding: 20px;
  }

  .act-documentary-link-form .act-documentary__title {
    font-size: 24px;
  }
}

/* Trailer + testimonials hero (CSS grid)
   Desktop: player ~62% left, quotes right (row-span); button under player.
   Mobile: player → Access to Play button → quotes. */
.act-documentary__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  grid-template-areas:
    "trailer quotes"
    "buy quotes";
  gap: 16px 24px;
  align-items: start;
}

.act-documentary__trailer {
  grid-area: trailer;
  margin: 0;
}

.act-documentary__frame--trailer {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.act-documentary__trailer-error {
  margin-top: 12px;
  color: #b00020;
}

.act-documentary__buy {
  grid-area: buy;
  margin: 0;
}

/* Big red Access to Play — no theme plus icon */
.act-documentary__access-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 24px;
  background: #ea1c2e;
  color: #fff !important;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none !important;
  text-transform: none;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(234, 28, 46, 0.35);
  transition: background 0.2s ease;
}

.act-documentary__access-btn:hover,
.act-documentary__access-btn:focus {
  background: #c41626;
  color: #fff !important;
  text-decoration: none !important;
}

.act-documentary__access-btn:after {
  content: none !important;
  display: none !important;
}

.act-documentary__quotes {
  grid-area: quotes;
  max-height: 100%;
  padding: 18px 18px 12px;
  background: #f7f7fb;
  border: 1px solid #e5e5ef;
  border-radius: 6px;
  overflow-y: auto;
  align-self: stretch;
}

.act-documentary__quotes-heading {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: #262262;
  line-height: 1.3;
}

.act-documentary__quotes-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.act-documentary__quote {
  margin: 0 0 14px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e0e0ea;
  font-size: 14px;
  line-height: 1.45;
  color: #333;
}

.act-documentary__quote:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.act-documentary__quote-name {
  display: inline;
  margin-right: 4px;
  color: #262262;
  font-weight: 700;
}

.act-documentary__quote-text {
  display: inline;
}

@media (max-width: 899px) {
  .act-documentary__hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "trailer"
      "buy"
      "quotes";
    gap: 16px;
  }

  .act-documentary__quotes {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 767px) {
  .act-documentary__buy {
    padding: 0 15px;
  }

  .act-documentary__access-btn {
    font-size: 18px;
    padding: 14px 18px;
  }

  .act-documentary__trailer-error {
    padding: 0 15px;
  }

  .act-documentary__quotes {
    margin: 0 15px;
    box-sizing: border-box;
  }
}


/* Movie-themed page backgrounds
   Preview/watch: brighter, no title (bg-preview).
   Donation (page 46): title + Capitol on right, flag under form (bg-donation).
   Mobile: portrait crop focused on Capitol + flag.
   Cache-bust with ?v= on URLs; keep aggregation OFF. */
:root {
  --act-doc-bg-v: 20261029c;
}

/* Preview / watch / link pages */
body.path-documentary .main.main-page {
  background-color: #0a0f28;
  background-image:
    linear-gradient(180deg, rgba(12, 18, 48, 0.35) 0%, rgba(12, 18, 48, 0.55) 55%, rgba(8, 12, 32, 0.72) 100%),
    image-set(
      url(/modules/custom/act_documentary/images/bg-preview.webp?v=20261029c) type("image/webp"),
      url(/modules/custom/act_documentary/images/bg-preview.jpg?v=20261029c) type("image/jpeg")
    );
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
}

/* Donation contribution page (body also gets .act-documentary-donate from module)
   Tall art: Capitol+title at top-right, flag continues down under the form.
   Use width-fit + auto height + scroll so the flag fills the content area (not a short fixed cover). */
body.path-civicrm.act-documentary-donate .main.main-page,
body.act-documentary-donate .main.main-page {
  background-color: #0a0f28;
  background-image:
    linear-gradient(180deg, rgba(10, 15, 40, 0.18) 0%, rgba(10, 15, 40, 0.28) 35%, rgba(8, 12, 32, 0.42) 100%),
    image-set(
      url(/modules/custom/act_documentary/images/bg-donation.webp?v=20261029c) type("image/webp"),
      url(/modules/custom/act_documentary/images/bg-donation.jpg?v=20261029c) type("image/jpeg")
    );
  background-repeat: no-repeat;
  /* gradient fills; photo keeps aspect (width 100%, height auto) — do not stretch stars */
  background-size: 100% 100%, 100% auto;
  background-position: top center, top center;
  background-attachment: scroll;
}

body.path-documentary #page-main-content,
body.path-documentary .content-main,
body.path-documentary .content-main-inner,
body.act-documentary-donate #page-main-content,
body.act-documentary-donate .content-main,
body.act-documentary-donate .content-main-inner {
  background: transparent !important;
}

/* Theme wraps content in a pale card (.content.block-content). Strip it so
   only .act-documentary / the form panel is the white card on the movie background. */
body.path-documentary #block-gavias-batiz-content .content.block-content {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

body.act-documentary-donate #block-gavias-batiz-content .content.block-content {
  background-color: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35) !important;
  border-radius: 8px !important;
  padding: 18px 20px !important;
}

.act-documentary {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
  padding: 28px 22px 40px;
  margin: 16px auto 40px;
}

@media (max-width: 899px) {
  body.path-documentary .main.main-page {
    background-image:
      linear-gradient(180deg, rgba(12, 18, 48, 0.30) 0%, rgba(12, 18, 48, 0.55) 100%),
      image-set(
        url(/modules/custom/act_documentary/images/bg-preview-mobile.webp?v=20261029c) type("image/webp"),
        url(/modules/custom/act_documentary/images/bg-preview-mobile.jpg?v=20261029c) type("image/jpeg")
      );
    background-position: center top;
    background-attachment: scroll;
  }

  body.path-civicrm.act-documentary-donate .main.main-page,
  body.act-documentary-donate .main.main-page {
    background-image:
      linear-gradient(180deg, rgba(10, 15, 40, 0.2) 0%, rgba(10, 15, 40, 0.4) 100%),
      image-set(
        url(/modules/custom/act_documentary/images/bg-donation-mobile.webp?v=20261029c) type("image/webp"),
        url(/modules/custom/act_documentary/images/bg-donation-mobile.jpg?v=20261029c) type("image/jpeg")
      );
    background-size: 100% 100%, 100% auto;
    background-position: top center, top center;
    background-attachment: scroll;
  }
}

@media (max-width: 767px) {
  .act-documentary {
    margin: 8px 10px 28px;
    padding: 18px 0 28px;
    border-radius: 6px;
  }

  body.path-documentary .main.main-page,
  body.act-documentary-donate .main.main-page {
    background-attachment: scroll;
  }

  body.act-documentary-donate #block-gavias-batiz-content .content.block-content {
    margin: 8px 10px 28px !important;
    padding: 14px 12px !important;
    border-radius: 6px !important;
  }
}

/* ===== Free-watch landing + watch (mockup-aligned, 2026-10-30) ===== */
:root {
  --act-doc-red: #ea1c2e;
  --act-doc-red-hover: #c41626;
  --act-doc-navy: #262262;
  --act-doc-navy-deep: #0a0f28;
  --act-doc-ink: #1a1a2e;
  --act-doc-muted: #4a4a5a;
  --act-doc-card: rgba(255, 255, 255, 0.96);
  --act-doc-radius: 8px;
  --act-doc-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

body.path-documentary,
body.act-documentary-free {
  background-color: var(--act-doc-navy-deep);
  background-image:
    linear-gradient(180deg, rgba(12, 18, 48, 0.28) 0%, rgba(12, 18, 48, 0.42) 50%, rgba(8, 12, 32, 0.58) 100%),
    url("../images/bg-preview-1920.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

body.path-documentary #page-main-content,
body.path-documentary .content-main,
body.path-documentary .content-main-inner,
body.act-documentary-free #page-main-content,
body.act-documentary-free .content-main,
body.act-documentary-free .content-main-inner {
  background: transparent !important;
}

body.path-documentary #block-gavias-batiz-content .content.block-content,
body.act-documentary-free #block-gavias-batiz-content .content.block-content {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.act-doc-free {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 60px;
  color: var(--act-doc-ink);
  font-family: "Albert Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}

.act-doc-free__hero {
  position: relative;
  border-radius: var(--act-doc-radius);
  overflow: hidden;
  box-shadow: var(--act-doc-shadow);
  margin: 0 0 22px 0; /* no negative margin / overlap with next card */
  padding: 0;
}
/* Image fills the hero as a background layer; overlay (in-flow) sets the height. */
.act-doc-free__hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
  pointer-events: none;
}
.act-doc-free__hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 18px 24px 28px; /* modest top pad + room below headline */
  /* Stronger left/bottom scrim so light text stays readable on the dark hero. */
  background:
    linear-gradient(90deg, rgba(6,10,36,0.78) 0%, rgba(6,10,36,0.42) 45%, rgba(6,10,36,0.12) 75%, rgba(6,10,36,0) 100%),
    linear-gradient(180deg, rgba(6,10,36,0.72) 0%, rgba(6,10,36,0.45) 40%, rgba(6,10,36,0.25) 100%);
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
  z-index: 2;
  pointer-events: none;
}
.act-doc-free__hero-overlay > * {
  pointer-events: auto;
  max-width: 36rem;
}
.act-doc-free__eyebrow,
.act-doc-free__hero-overlay .act-doc-free__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd6a0 !important;
  margin: 0 0 8px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.65);
}
.act-doc-free__film-title,
.act-doc-free__hero-overlay .act-doc-free__film-title,
.act-doc-free__hero-overlay p {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0,0,0,0.65);
}
.act-doc-free__headline,
.act-doc-free__hero-overlay .act-doc-free__headline,
.act-doc-free__hero-overlay h1 {
  margin: 0 0 4px 0;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  max-width: 22ch;
  color: #ffffff !important;
  text-shadow: 0 2px 18px rgba(0,0,0,0.7);
}

.act-doc-free__card {
  /* no pull-up over hero */
  margin-top: 0;
  position: relative;
  z-index: 1;
  background: var(--act-doc-card);
  border-radius: var(--act-doc-radius);
  box-shadow: var(--act-doc-shadow);
  overflow: hidden;
}
.act-doc-free__section-pad { padding: 28px 32px; }
.act-doc-free__section-title {
  margin: 0 0 12px;
  color: var(--act-doc-navy);
  font-size: 22px;
  font-weight: 800;
}
.act-doc-free__lead {
  margin: 0;
  font-size: 17px;
  color: var(--act-doc-muted);
  max-width: 68ch;
}
.act-doc-free__lead--strong {
  margin-top: 12px;
  font-weight: 700;
  color: var(--act-doc-navy);
}
.act-doc-free__trailer-heading {
  margin: 0;
  padding: 0 32px 14px;
  color: var(--act-doc-navy);
  font-size: 18px;
  font-weight: 800;
}

.act-doc-free__player {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.act-doc-free__player-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 3;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.55);
  padding: 6px 10px;
  border-radius: 4px;
  pointer-events: none;
}

.act-doc-free__player .act-documentary__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

.act-doc-free__appeal {
  margin-top: 22px;
  background: var(--act-doc-card);
  border-radius: var(--act-doc-radius);
  box-shadow: var(--act-doc-shadow);
  padding: 28px 32px;
  display: grid;
  gap: 18px;
}
.act-doc-free__appeal-headline {
  margin: 0;
  color: var(--act-doc-navy);
  font-size: 26px;
  font-weight: 800;
}
.act-doc-free__appeal-body {
  margin: 0;
  font-size: 17px;
  color: var(--act-doc-muted);
  max-width: 62ch;
}
.act-doc-free__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.act-doc-free__community {
  margin-top: 18px;
  padding: 16px 20px;
  border-left: 4px solid var(--act-doc-red);
  background: rgba(255,255,255,0.88);
  border-radius: 0 var(--act-doc-radius) var(--act-doc-radius) 0;
  color: var(--act-doc-navy);
  font-size: 15px;
  font-weight: 600;
}
.act-doc-free__community strong { font-weight: 800; }

.act-doc-free__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none !important;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.act-doc-free__btn--primary {
  background: var(--act-doc-red);
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(234, 28, 46, 0.35);
}
.act-doc-free__btn--primary:hover { background: var(--act-doc-red-hover); color: #fff !important; }
.act-doc-free__btn--secondary {
  background: transparent;
  color: var(--act-doc-navy) !important;
  border-color: var(--act-doc-navy);
}
.act-doc-free__btn--secondary:hover { background: rgba(38, 34, 98, 0.06); }
.act-doc-free__btn--lg { padding: 16px 28px; font-size: 18px; }
.act-doc-free__btn--sm { padding: 10px 18px; font-size: 14px; }

.act-doc-free__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  color: #fff !important;
}
.act-doc-free__watch-title,
.act-doc-free--watch h1.act-doc-free__watch-title {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}
.act-doc-free__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  border: 1px solid rgba(255,255,255,0.55);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
  text-shadow: none;
}
.act-doc-free__back,
a.act-doc-free__back {
  color: #f2f4ff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.act-doc-free__back:hover,
a.act-doc-free__back:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.act-doc-free__watch-card { overflow: visible; }
.act-doc-free__support-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 14px 20px;
  background: rgba(10, 15, 40, 0.98);
  color: #fff !important;
  border-top: 1px solid rgba(255,255,255,0.14);
  position: sticky;
  bottom: 0;
  z-index: 40;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
}
.act-doc-free__support-text {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff !important;
}
.act-doc-free__support-text span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  /* ~#d7dceb on ~#0a0f28 ≈ 11:1 — above WCAG AA */
  color: #d7dceb !important;
  opacity: 1;
  margin-top: 2px;
}

.act-doc-free__end-panel {
  margin-top: 22px;
  background: var(--act-doc-card);
  border-radius: var(--act-doc-radius);
  box-shadow: var(--act-doc-shadow);
  padding: 28px 32px;
}
.act-doc-free__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--act-doc-red);
}
.act-doc-free__end-headline {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
  color: var(--act-doc-navy);
}
.act-doc-free__end-body {
  margin: 0 0 18px;
  font-size: 17px;
  color: var(--act-doc-muted);
  max-width: 60ch;
}

@media (max-width: 700px) {
  body.path-documentary,
  body.act-documentary-free {
    background-image:
      linear-gradient(180deg, rgba(12, 18, 48, 0.28) 0%, rgba(12, 18, 48, 0.45) 55%, rgba(8, 12, 32, 0.6) 100%),
      url("../images/bg-preview-mobile.jpg");
    background-attachment: scroll;
  }
  .act-doc-free { padding: 16px 14px 48px; }
  .act-doc-free__section-pad,
  .act-doc-free__appeal,
  .act-doc-free__end-panel { padding: 22px 18px; }
  .act-doc-free__hero-overlay { padding: 14px 16px 22px; }
  .act-doc-free__hero img { max-height: none; }
  .act-doc-free__headline { max-width: none; }
  .act-doc-free__btn { width: 100%; }
  .act-doc-free__actions { flex-direction: column; align-items: stretch; }
  .act-doc-free__support-bar { padding: 14px 16px 18px; }
  .act-doc-free__support-bar .act-doc-free__btn { width: auto; min-width: 120px; }
  .act-doc-free__trailer-heading { padding: 0 18px 12px; }
}


/* Beat theme .content.block-content p { color:#000 !important } (speed20261028a).
   Do not edit the theme; raise specificity here instead. */
.path-documentary .content.block-content .act-doc-free__hero-overlay,
.path-documentary .content.block-content .act-doc-free__hero-overlay p,
.path-documentary .content.block-content p.act-doc-free__eyebrow,
.path-documentary .content.block-content p.act-doc-free__film-title,
.path-documentary .content.block-content h1.act-doc-free__headline {
  color: #ffffff !important;
}
.path-documentary .content.block-content p.act-doc-free__eyebrow {
  color: #ffd6a0 !important;
}
.path-documentary .content.block-content h1.act-doc-free__watch-title,
.path-documentary .content.block-content .act-doc-free__title-row,
.path-documentary .content.block-content .act-doc-free__badge,
.path-documentary .content.block-content a.act-doc-free__back,
.path-documentary .content.block-content .act-doc-free__support-bar,
.path-documentary .content.block-content p.act-doc-free__support-text {
  color: #ffffff !important;
}
.path-documentary .content.block-content a.act-doc-free__back {
  color: #f2f4ff !important;
}
.path-documentary .content.block-content .act-doc-free__support-text span {
  color: #d7dceb !important;
  opacity: 1 !important;
}

/* Documentary type scale: min 18pt (24px) for older readers */
.act-doc-free,
.act-doc-free p,
.act-doc-free li,
.act-doc-free .act-doc-free__lead,
.act-doc-free .act-doc-free__appeal-body,
.act-doc-free .act-doc-free__end-body,
.act-doc-free .act-doc-free__community,
.act-doc-free .act-doc-free__support-text,
.act-doc-free .act-doc-free__support-text span,
.act-doc-free .act-doc-free__player-label,
.act-doc-free .act-documentary__error,
.act-doc-free .act-documentary__trailer-error {
  font-size: 24px !important;
  line-height: 1.45;
}
.act-doc-free .act-doc-free__eyebrow,
.path-documentary .content.block-content p.act-doc-free__eyebrow {
  font-size: 24px !important;
  letter-spacing: 0.08em;
}
.act-doc-free .act-doc-free__film-title,
.path-documentary .content.block-content p.act-doc-free__film-title {
  font-size: 26px !important;
  font-weight: 700;
}
.act-doc-free .act-doc-free__headline,
.path-documentary .content.block-content h1.act-doc-free__headline {
  font-size: clamp(32px, 4.2vw, 44px) !important;
  max-width: 22ch;
  line-height: 1.2;
}
.act-doc-free .act-doc-free__section-title {
  font-size: 30px !important;
}
.act-doc-free .act-doc-free__trailer-heading {
  font-size: 26px !important;
}
.act-doc-free .act-doc-free__appeal-headline,
.act-doc-free .act-doc-free__end-headline {
  font-size: clamp(30px, 3.5vw, 36px) !important;
}
.act-doc-free .act-doc-free__kicker {
  font-size: 24px !important;
  letter-spacing: 0.1em;
}
.act-doc-free .act-doc-free__watch-title,
.path-documentary .content.block-content h1.act-doc-free__watch-title {
  font-size: clamp(28px, 3.2vw, 36px) !important;
}
.act-doc-free .act-doc-free__badge {
  font-size: 24px !important;
  padding: 4px 12px;
}
.act-doc-free .act-doc-free__back,
.path-documentary .content.block-content a.act-doc-free__back {
  font-size: 24px !important;
}
.act-doc-free .act-doc-free__btn {
  font-size: 24px !important;
  padding: 16px 28px;
  min-height: 52px;
}
.act-doc-free .act-doc-free__btn--lg {
  font-size: 26px !important;
  padding: 18px 32px;
  min-height: 56px;
}
.act-doc-free .act-doc-free__btn--sm {
  font-size: 24px !important;
  padding: 14px 22px;
  min-height: 52px;
}

@media (max-width: 700px) {
  .act-doc-free,
  .act-doc-free p,
  .act-doc-free li,
  .act-doc-free .act-doc-free__lead,
  .act-doc-free .act-doc-free__appeal-body,
  .act-doc-free .act-doc-free__end-body,
  .act-doc-free .act-doc-free__community,
  .act-doc-free .act-doc-free__support-text,
  .act-doc-free .act-doc-free__support-text span,
  .act-doc-free .act-doc-free__player-label,
  .act-doc-free .act-doc-free__eyebrow,
  .act-doc-free .act-doc-free__film-title,
  .act-doc-free .act-doc-free__badge,
  .act-doc-free .act-doc-free__back,
  .act-doc-free .act-doc-free__btn,
  .act-doc-free .act-doc-free__btn--sm,
  .act-doc-free .act-doc-free__kicker,
  .path-documentary .content.block-content p.act-doc-free__eyebrow,
  .path-documentary .content.block-content p.act-doc-free__film-title,
  .path-documentary .content.block-content a.act-doc-free__back {
    font-size: 24px !important;
  }
  .act-doc-free .act-doc-free__headline,
  .path-documentary .content.block-content h1.act-doc-free__headline {
    font-size: 30px !important;
    max-width: none;
  }
  .act-doc-free .act-doc-free__section-title,
  .act-doc-free .act-doc-free__trailer-heading,
  .act-doc-free .act-doc-free__watch-title,
  .act-doc-free .act-doc-free__appeal-headline,
  .act-doc-free .act-doc-free__end-headline,
  .act-doc-free .act-doc-free__btn--lg {
    font-size: 28px !important;
  }
  .act-doc-free .act-doc-free__btn,
  .act-doc-free .act-doc-free__btn--lg,
  .act-doc-free .act-doc-free__btn--sm {
    width: 100%;
    min-height: 56px;
  }
}

/* Mini-player dock + PiP control */
.act-doc-free__player { position: relative; }
.act-doc-free__pip-btn {
  position: absolute;
  /* Desktop: tucked top-right. Mobile overrides below clear iOS volume. */
  top: 8px;
  right: 8px;
  z-index: 4;
  box-sizing: border-box;
  height: 32px;
  min-height: 32px;
  max-height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 40, 0.65);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: none;
}
.act-doc-free__pip-btn:hover { background: rgba(10, 15, 40, 0.88); }
.act-doc-free__player-sentinel {
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.act-doc-free__player-spacer {
  width: 100%;
  background: #000;
  border-radius: var(--act-doc-radius, 8px);
}
.act-doc-free__dock {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10050;
  width: 360px;
  max-width: calc(100vw - 24px);
  background: rgba(10,15,40,0.98);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.45);
  padding: 12px;
}
.act-doc-free__dock[hidden] { display: none !important; }
.act-doc-free__dock-inner .act-doc-free__player {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}
.act-doc-free__dock-inner .act-doc-free__player-label,
.act-doc-free__dock-inner .act-doc-free__pip-btn {
  display: none;
}
.act-doc-free__dock-donate {
  display: flex !important;
  width: 100%;
  margin-top: 12px;
  min-height: 56px;
  font-size: 24px !important;
}
.act-doc-free__dock-close {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  color: #fff !important;
  font-size: 28px !important;
  line-height: 1;
  cursor: pointer;
}
.act-doc-free--docked .act-doc-free__support-bar[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .act-doc-free__dock {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
  }
}

/* ===== Round 2: chooser overlay, trailer ended, watch chrome ===== */

.act-doc-free--landing {
  padding-top: 12px;
}

.act-doc-free__trailer-card {
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* Exact client graphic (image2). Buttons only — no HTML text over baked copy. */
.act-doc-free__chooser {
  position: relative;
  width: 100%;
  background: #0a1028;
}

.act-doc-free__chooser[hidden] {
  display: none !important;
}

.act-doc-free__chooser-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1280 / 859;
  overflow: hidden;
  background: #0a1028;
}

.act-doc-free__chooser-bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

/* Desktop: place real buttons over the baked VIEW TRAILER button area */
.act-doc-free__chooser-actions {
  position: absolute;
  left: 50%;
  bottom: 5.5%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  width: min(94%, 580px);
  z-index: 2;
  /* Opaque pad fully covers the baked VIEW TRAILER button */
  padding: 14px 14px 16px;
  border-radius: 10px;
  background: rgb(8, 14, 36);
  box-shadow: 0 0 0 8px rgb(8, 14, 36), 0 -18px 28px 12px rgba(8, 14, 36, 0.95);
}

.act-doc-free__chooser-actions .act-doc-free__btn {
  min-width: min(200px, 46%);
  flex: 1 1 180px;
  font-size: 18px;
}

.act-doc-free__btn--on-dark {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
}
.act-doc-free__btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
}

.act-doc-free__player[hidden] {
  display: none !important;
}

/* Trailer ended: Watch Film in lower third, clear of end-card title */
.act-doc-free__ended {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(
    to bottom,
    rgba(6, 12, 32, 0.25) 0%,
    rgba(6, 12, 32, 0.35) 35%,
    rgba(6, 12, 32, 0.55) 55%,
    rgba(6, 12, 32, 0.88) 78%,
    rgba(6, 12, 32, 0.92) 100%
  );
  padding: 16px 20px 88px;
}

.act-doc-free__ended[hidden] {
  display: none !important;
}

/* Under-player Watch Film CTA — visible only after trailer starts */
.act-doc-free__after-play {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 16px 24px;
  background: #070d22;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.act-doc-free__after-play[hidden] {
  display: none !important;
}
.act-doc-free__watch-film-under {
  min-width: min(320px, 100%);
  font-size: 20px !important;
  padding: 16px 32px !important;
  text-align: center;
}

/* Watch page: clear site logo */
.act-doc-free--watch {
  padding-top: 8px;
  margin-top: 84px;
}

.act-doc-free--watch .act-doc-free__watch-card {
  padding-top: 0;
  margin-top: 0;
}

.act-doc-free__support-bar {
  position: relative;
  z-index: 2;
}

.act-doc-free__support-text {
  flex: 1 1 280px;
  max-width: 62ch;
  font-size: 18px !important;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 767px) {
  /* Mobile: full graphic scaled (not cropped); buttons BELOW art */
  .act-doc-free__chooser-art {
    aspect-ratio: auto;
    height: auto;
    overflow: visible;
  }
  .act-doc-free__chooser-bg {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }
  .act-doc-free__chooser-actions {
    position: static;
    transform: none;
    left: auto;
    bottom: auto;
    width: 100%;
    margin: 0;
    padding: 14px 14px 18px;
    border-radius: 0;
    background: #070d22;
    gap: 10px;
  }
  .act-doc-free__chooser-actions .act-doc-free__btn {
    min-width: 100%;
    flex: 1 1 100%;
    font-size: 18px;
  }
  .act-doc-free--watch {
    padding-top: 8px;
    margin-top: 78px;
  }
  .act-doc-free__support-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .act-doc-free__support-bar .act-doc-free__btn {
    width: 100%;
    min-width: 0;
  }
  .act-doc-free__ended {
    padding-bottom: 64px;
  }
  .act-doc-free__after-play {
    padding: 16px 14px 20px;
  }
  .act-doc-free__watch-film-under {
    width: 100%;
    min-width: 0;
    font-size: 18px !important;
  }
}


/* Watch page: muted autoplay unmute prompt */
.act-doc-free__unmute {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  appearance: none;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  background: rgba(234, 28, 46, 0.95);
  color: #fff !important;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  padding: 16px 28px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  max-width: calc(100% - 32px);
}
.act-doc-free__unmute[hidden] {
  display: none !important;
}
.act-doc-free__unmute:hover {
  background: #c41628;
}
@media (max-width: 767px) {
  .act-doc-free__unmute {
    font-size: 18px;
    padding: 14px 20px;
  }
}

/* ROUND3: smaller PiP + compact mobile support text */
@media (max-width: 768px) {
  /* Sit below iOS native volume / top chrome so both stay tappable */
  .act-doc-free__pip-btn {
    top: 40px;
    right: 8px;
    font-size: 13px !important;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    padding: 0 10px;
  }

  /* Support copy under the film player */
  .act-doc-free .act-doc-free__support-text,
  .act-doc-free .act-doc-free__support-text span,
  .path-documentary .content.block-content p.act-doc-free__support-text,
  .path-documentary .content.block-content .act-doc-free__support-text span {
    font-size: 20px !important;
    line-height: 1.35 !important;
  }
  .act-doc-free__support-bar {
    padding: 10px 12px 12px !important;
    gap: 10px;
  }
  .act-doc-free .act-doc-free__support-bar .act-doc-free__btn,
  .act-doc-free .act-doc-free__support-bar .act-doc-free__btn--sm {
    font-size: 18px !important;
    padding: 12px 18px !important;
    min-height: 44px !important;
  }

  /* Landing chooser CTAs — proportionally smaller than 24/56 */
  .act-doc-free__chooser-actions {
    padding: 10px 12px 14px !important;
    gap: 8px !important;
  }
  .act-doc-free__chooser-actions .act-doc-free__btn,
  .act-doc-free__chooser-actions .act-doc-free__btn--lg,
  .act-doc-free__chooser-actions .act-doc-free__btn--primary,
  .act-doc-free__chooser-actions .act-doc-free__btn--secondary {
    font-size: 18px !important;
    padding: 12px 18px !important;
    min-height: 44px !important;
  }

  /* Under-player Watch Film after trailer starts */
  .act-doc-free__after-play {
    padding: 12px 12px 14px !important;
  }
  .act-doc-free__watch-film-under,
  .act-doc-free .act-doc-free__watch-film-under {
    font-size: 18px !important;
    padding: 12px 20px !important;
    min-height: 44px !important;
  }
}

/* ROUND3b: no empty gap between support text and Donate on mobile */
@media (max-width: 768px) {
  .act-doc-free__support-bar,
  .act-doc-free .act-doc-free__support-bar,
  .path-documentary .content.block-content .act-doc-free__support-bar {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start; /* was space-between — created the tall empty gap */
    gap: 14px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 10px 12px 12px !important;
  }
  .act-doc-free__support-text,
  .act-doc-free .act-doc-free__support-text,
  .path-documentary .content.block-content p.act-doc-free__support-text {
    flex: 0 0 auto !important; /* was flex: 1 1 280px — grew and pushed Donate down */
    max-width: none !important;
    width: 100%;
    margin: 0 !important;
  }
  .act-doc-free__support-bar .act-doc-free__btn,
  .act-doc-free__support-bar .act-doc-free__btn--sm,
  .act-doc-free .act-doc-free__support-bar .act-doc-free__btn,
  .act-doc-free .act-doc-free__support-bar .act-doc-free__btn--sm {
    flex: 0 0 auto !important;
    margin-top: 0 !important;
    align-self: stretch;
  }
}
