/* About — Flamingo Uncovered
 * Full-bleed dark video band: thin caps ticker over a centered 16:9 poster.
 * The whole poster is a link to the EP.3 YouTube watch URL (no iframe — perf).
 * Comp: d-band-2.png (upper band, 1280 native) + desktop-overview.png. Title
 * centered ~mid, speaker name below, glass play button centered, "Watch on
 * YouTube" badge bottom-right. Built fluid (poster min(92vw, 1840px)).
 */
.flm-uncovered {
  padding-block: clamp(2rem, 5vw, 4rem);
  /* zero core's :where(.has-background) inline padding; poster owns its own
   * horizontal containment via min(92vw, 1840px) + auto margins. Without this
   * the 2.375em inline padding pushes the full-bleed section past 100vw at
   * 390px and causes horizontal overflow. */
  padding-inline: 0;
  text-align: center;
}

.flm-uncovered__ticker {
  color: var(--wp--preset--color--text-dim);
  letter-spacing: .12em;
  font-size: .8125rem;
  text-transform: uppercase;
  margin: 0 auto 1.25rem;
  width: min(92vw, 1840px);
}

.flm-uncovered__poster {
  position: relative;
  display: block;
  width: min(92vw, 1840px);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--wp--preset--color--surface-base) center/cover no-repeat;
  text-decoration: none;
}

.flm-uncovered__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Light bottom-only gradient so the baked-in thumbnail art reads clearly;
   * just enough to seat the bottom-right "Watch on YouTube" pill. */
  background: linear-gradient(180deg, rgba(3, 9, 16, 0) 55%, rgba(3, 9, 16, .35) 100%);
}

.flm-uncovered__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #FF0000; /* YouTube brand red — intentional literal */
}

.flm-uncovered__yt {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-block;
  padding: .25rem .625rem;
  border-radius: 999px;
  color: #fff;
  background: #FF0000; /* YouTube brand red — intentional literal */
  font-size: var(--wp--preset--font-size--caption);
  line-height: 1.4;
}

/* Inline-embed variant (BugHerd g30638496): the iframe fills the poster box. */
.flm-uncovered__poster--embed::after { content: none; }
.flm-uncovered__poster--embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
