/* ── cinematic_cta_fullbleed ────────────────────────────────────────
   Full-viewport closing CTA. Image covers the whole section, dimmed
   with a bottom-anchored scrim; copy sits over it bottom-left.
   Tokens only. */

.block-cinematic_cta_fullbleed {
  position: relative;
  height: auto;
  min-height: 420px;
  overflow: hidden;
  background: var(--color-dark-bg);
  padding: 0;
}

.block-cinematic_cta_fullbleed .ccf-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.62);
}
.block-cinematic_cta_fullbleed .ccf-image-empty {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-eyebrow); font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-on-dark) 50%, transparent);
  background: var(--color-dark-bg);
}

.block-cinematic_cta_fullbleed::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--color-dark-bg) 30%, transparent) 0%,
    color-mix(in srgb, var(--color-dark-bg) 12%, transparent) 40%,
    color-mix(in srgb, var(--color-dark-bg) 70%, transparent) 100%);
  pointer-events: none;
}

.block-cinematic_cta_fullbleed .ccf-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  padding: var(--space-section-y) var(--space-section-x);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--color-on-dark);
}

.block-cinematic_cta_fullbleed .ccf-label {
  font-family: var(--font-eyebrow); font-weight: 500;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-on-dark) 78%, transparent);
  display: block; margin-bottom: 22px;
}
.block-cinematic_cta_fullbleed .ccf-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 46px); line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--color-on-dark); margin: 0 0 40px;
  max-width: 18ch; text-wrap: balance;
}
.block-cinematic_cta_fullbleed .ccf-title em {
  font-style: italic; color: var(--color-accent);
}

.block-cinematic_cta_fullbleed .ccf-actions {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.block-cinematic_cta_fullbleed .ccf-btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-eyebrow); font-weight: 500;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  background: var(--color-on-dark); color: var(--color-fg);
  padding: 18px 28px; border: 1px solid var(--color-on-dark);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.block-cinematic_cta_fullbleed .ccf-btn:hover {
  background: var(--color-accent); color: var(--color-on-dark); border-color: var(--color-accent);
}
.block-cinematic_cta_fullbleed .ccf-deadline {
  font-family: var(--font-eyebrow); font-weight: 500;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-on-dark) 78%, transparent);
}

@media (max-width: 900px) {
  .block-cinematic_cta_fullbleed { height: auto; min-height: 360px; }
  .block-cinematic_cta_fullbleed .ccf-inner { padding: 72px 32px; }
}
@media (max-width: 480px) {
  .block-cinematic_cta_fullbleed .ccf-inner { padding: 56px 20px; }
}

/* Editor affordance, not visitor copy: the "click to add" prompt stays
   clickable in edit.php but is never shown on the public site. */
.block-cinematic_cta_fullbleed .ccf-image-empty { display: none; }
body.cms-edit .block-cinematic_cta_fullbleed .ccf-image-empty { display: grid; place-items: center; }
.block-cinematic_cta_fullbleed .ccf-label,
.block-cinematic_cta_fullbleed .ccf-deadline { font-size: 12px; }

/* ── Editor: let a click reach the background image ──────────────────
   .ccf-inner carries the section's padding, so it covers the whole
   block and sits above .ccf-image at z-index 2. The ::after gradient
   already sets pointer-events: none for this reason; .ccf-inner was
   missed. Measured before the fix: 0 of 25 sample points over the
   image reached it.

   Same treatment as vc_hero_split, and scoped the same way — the
   published page is unaffected. */
body.cms-edit .block-cinematic_cta_fullbleed .ccf-inner { pointer-events: none; }
body.cms-edit .block-cinematic_cta_fullbleed .ccf-inner [data-field],
body.cms-edit .block-cinematic_cta_fullbleed .ccf-inner [data-field-image],
body.cms-edit .block-cinematic_cta_fullbleed .ccf-inner a,
body.cms-edit .block-cinematic_cta_fullbleed .ccf-inner button,
body.cms-edit .block-cinematic_cta_fullbleed .ccf-inner [class*="cms-"] { pointer-events: auto; }
