/* Video behind an e-mail address (template-video-gate.php). Loaded only on that template. */
.kp-gate-page .kp-gate__video,
.kp-gate-page .kp-gate__locked { margin-top: 32px; }
/* While locked, the page is at least a screen tall, so the footer never ends above the fold. */
.kp-gate-page:has(.kp-gate__locked) { min-height: calc(100vh - var(--kp-nav-height, 72px)); min-height: calc(100svh - var(--kp-nav-height, 72px)); }
.kp-gate__locked { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--kp-radius-video, 12px); background: var(--kp-deep); color: var(--kp-cream); }
.kp-gate__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; filter: blur(3px); transform: scale(1.04); }
.kp-gate__lock { position: relative; display: grid; justify-items: center; gap: 12px; padding: 16px; text-align: center; }
.kp-gate__lock p { max-width: 28ch; margin: 0; font-weight: 600; font-size: clamp(15px, 2vw, 18px); line-height: 1.35; text-shadow: 0 1px 8px rgb(0 0 0 / .5); }
.kp-gate__lock-icon { box-sizing: content-box; padding: 14px; border-radius: 50%; background: var(--kp-orange, #d36135); color: var(--kp-white, #fff); }
.kp-gate-page .kp-gate__thanks { margin: 0 0 16px; padding: 12px 16px; border-left: 3px solid var(--kp-orange, #d36135); background: var(--kp-band); font-size: 15px; }
/* Inline fallback: without JavaScript or <dialog> support the form stays in the page. */
.kp-gate-page .kp-gate { margin-top: 32px; }
/* The pop-up that can't be closed: no close button, a darker backdrop. */
.kp-gate-dialog::backdrop { background: rgb(35 37 58 / .72); }
.kp-newsletter-dialog.kp-gate-dialog .kp-newsletter__intro { padding-right: 0; }
.kp-newsletter-dialog.kp-gate-dialog .kp-newsletter__tagline { max-width: none; }
