/* The explainer video player (home page and campaign landing pages).
   The picture keeps a 16:9 shape at every screen width, with a large play
   button over the cover image until someone presses play. */
.fcv { width: 100%; margin: 0 auto 36px; scroll-margin-top: 80px; }
.fcv-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #EBF6F2; box-shadow: 0 12px 48px rgba(0,0,0,0.14); }
.fcv-video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #000; }
.fcv-video[hidden], .fcv-cover[hidden] { display: none !important; }
.fcv-cover { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; cursor: pointer; background: transparent; display: block; }
.fcv-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcv-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.42), rgba(0,0,0,0) 40%); }
.fcv-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: #2A7454; box-shadow: 0 8px 28px rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; transition: transform .18s, background .18s; z-index: 1; }
.fcv-play svg { margin-left: 6px; }
.fcv-cover:hover .fcv-play, .fcv-cover:focus-visible .fcv-play { transform: translate(-50%, -50%) scale(1.08); background: #000; }
.fcv-cover:focus-visible { outline: 3px solid #3CA578; outline-offset: -3px; }
.fcv-label { position: absolute; left: 16px; top: 14px; z-index: 1; color: #fff; font-size: 15px; font-weight: 700; text-align: left; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.fcv-label span { font-weight: 500; opacity: .9; }
.fcv-end { position: absolute; inset: 0; z-index: 2; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #F4FAF7; text-align: center; padding: 16px; }
.fcv.is-ended .fcv-end { display: flex; }
.fcv-end p { margin: 0; font-size: 18px; font-weight: 700; color: #1A1A1A; }
.fcv-end a.fcv-cta { display: inline-block; background: #2A7454; color: #fff !important; text-decoration: none; font-weight: 700; font-size: 16px; padding: 14px 26px; border-radius: 10px; }
.fcv-end a.fcv-cta:hover { background: #000; }
.fcv-end button { background: none; border: 0; color: #2A7454; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: underline; padding: 4px; }
.fcv-trans { margin-top: 12px; font-size: 14px; color: #555; }
.fcv-trans summary { cursor: pointer; font-weight: 600; color: #2A7454; }
.fcv-trans p { line-height: 1.6; margin: 8px 0 0; }
.fcv-watch-link { background: none; border: 0; padding: 4px 6px; margin-top: 12px; font: inherit; font-size: 15px; font-weight: 600; color: #2A7454; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.fcv-watch-link:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .fcv { margin-bottom: 28px; }
  .fcv-frame { border-radius: 10px; }
  .fcv-play { width: 64px; height: 64px; }
  .fcv-label, .fcv-cover::after { display: none; }
  .fcv-end { gap: 8px; padding: 10px; }
  .fcv-end p { font-size: 15px; }
  .fcv-end a.fcv-cta { font-size: 14px; padding: 10px 16px; }
  .fcv-end button { font-size: 14px; }
}
@media (max-width: 380px) {
  .fcv-end p { display: none; }
}
/* Captions, drawn by the player in the same style as the burned-in subtitles. */
.fcv-cap { display: none; position: absolute; left: 50%; transform: translateX(-50%); z-index: 1; max-width: 46%; width: max-content; pointer-events: none; text-align: center; background: rgba(0,0,0,0.58); color: #fff; font-family: 'DM Sans', system-ui, sans-serif; font-weight: 600; line-height: 1.3; letter-spacing: -0.2px; padding: 0.28em 0.62em; border-radius: 0.36em; text-wrap: balance; }
.fcv-frame.is-paused .fcv-cap:not(.from-top) { margin-bottom: 40px; }
.fcv-cc { position: absolute; top: 10px; right: 10px; z-index: 1; border: 0; border-radius: 6px; padding: 4px 8px; font: 700 12px/1 'DM Sans', system-ui, sans-serif; color: #fff; background: rgba(0,0,0,0.45); cursor: pointer; opacity: .55; }
.fcv-cc.is-on { opacity: 1; background: rgba(0,0,0,0.6); }
.fcv-cc:hover, .fcv-cc:focus-visible { opacity: 1; }
.fcv-video[hidden] ~ .fcv-cap, .fcv-video[hidden] ~ .fcv-cc { display: none !important; }
@media (max-width: 600px) { .fcv-cap { max-width: 86%; } }
