.fsm-video-consent {
  position: relative;
  display: block;
  width: 100%;
  min-height: 13rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--black);
  color: #fff;
}
.fsm-video-poster,
.fsm-video-player { position: absolute; inset: 0; }
.fsm-video-poster {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #171717, #050505);
}
.fsm-video-poster::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.04) 55%, rgba(0,0,0,.62));
  content: '';
  pointer-events: none;
}
.fsm-video-poster > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fsm-video-provider,
.fsm-video-external { position: absolute; z-index: 2; }
.fsm-video-provider {
  top: 1rem;
  left: 1rem;
  padding: .42rem .6rem;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.fsm-video-external {
  right: 1rem;
  bottom: 1rem;
  padding: .5rem .65rem;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: .7rem;
  text-decoration: none;
}
.fsm-video-external:hover,
.fsm-video-external:focus-visible { background: #fff; color: var(--black); }
.fsm-video-consent-button {
  position: relative;
  z-index: 3;
  appearance: none;
  width: clamp(3.8rem, 8vw, 5.2rem);
  height: clamp(3.8rem, 8vw, 5.2rem);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 .45rem 1.1rem rgba(0,0,0,.5));
  transition: transform .18s ease;
}
.fsm-video-consent-button svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fsm-video-consent-button circle { fill: var(--red); transition: fill .18s ease; }
.fsm-video-consent-button path { fill: #fff; transition: fill .18s ease; }
.fsm-video-consent-button:hover,
.fsm-video-consent-button:focus-visible { transform: scale(1.08); outline: 3px solid #fff; outline-offset: 4px; }
.fsm-video-consent-button:hover circle,
.fsm-video-consent-button:focus-visible circle { fill: #fff; }
.fsm-video-consent-button:hover path,
.fsm-video-consent-button:focus-visible path { fill: var(--red); }
.fsm-video-consent-notice {
  position: absolute;
  z-index: 4;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem 1rem;
  padding: .8rem 1rem;
  background: rgba(8,8,8,.92);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  text-align: center;
}
.fsm-video-consent-notice[hidden] { display: none !important; }
.fsm-video-consent-notice p { margin: 0; font-size: .75rem; line-height: 1.4; }
.fsm-video-preferences-button {
  flex: 0 0 auto;
  appearance: none;
  padding: .55rem .7rem;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: .7rem;
  font-weight: 750;
  cursor: pointer;
}
.fsm-video-preferences-button:hover,
.fsm-video-preferences-button:focus-visible { background: #fff; color: var(--black); }
.fsm-video-player { z-index: 5; opacity: 0; pointer-events: none; }
.fsm-video-consent.is-loaded { min-height: 0; }
.fsm-video-consent.is-loaded .fsm-video-poster { visibility: hidden; }
.fsm-video-consent.is-loaded .fsm-video-player { opacity: 1; pointer-events: auto; }
.fsm-video-consent iframe { display: block; width: 100% !important; height: 100% !important; aspect-ratio: 16 / 9; border: 0; }
.project-highlight-embed .fsm-video-consent { min-height: 0; }
.project-highlight-embed .fsm-video-provider { top: .55rem; left: .55rem; font-size: .52rem; }
.project-highlight-embed .fsm-video-external { right: .55rem; bottom: .55rem; font-size: .58rem; }
.project-highlight-embed .fsm-video-consent-button { width: 3.1rem; height: 3.1rem; }
.project-highlight-embed .fsm-video-consent-notice { right: .55rem; bottom: .55rem; left: .55rem; padding: .55rem; }
.project-highlight-embed .fsm-video-consent-notice p { display: none; }
.project-highlight-stack a { align-self: end; color: inherit; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: .18em; }
