/* Static poster placeholder for the future featured-video player. */
.video-playback-slot {
  position: relative;
  display: block;
  width: min(350px, calc(100% - 32px));
  aspect-ratio: 350 / 438;
  margin: 24px auto 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: #12060b;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .2);
}

.video-playback-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-playback-slot::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(180deg, rgba(0, 0, 0, .04) 36%, rgba(0, 0, 0, .54) 100%);
  pointer-events: none;
}

.video-play-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
  background: rgba(255, 51, 85, .92);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .32), 0 0 0 7px rgba(255, 255, 255, .17);
  transform: translate(-50%, -50%);
}

.video-play-icon::before {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid #fff;
  content: '';
}

.video-play-label {
  position: absolute;
  z-index: 1;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(0, 0, 0, .56);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 18px;
}

@media (max-width: 767px) {
  .video-playback-slot {
    margin: 16px auto 12px;
    border-radius: 14px;
  }
}


/* Autoplaying featured video: keeps the existing slot dimensions and adds a physical top-right sound control. */
.video-playback-slot.hero-video-player {
  display: block;
  cursor: default;
}

.video-playback-slot .hero-featured-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #12060b;
}

.hero-sound-toggle {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 50%;
  color: #fff;
  background: rgba(12, 10, 14, .74);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .3);
  cursor: pointer;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.hero-sound-toggle:hover,
.hero-sound-toggle:focus-visible {
  border-color: #fff;
  background: rgba(0, 122, 77, .94);
  outline: none;
}

.hero-sound-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 184, 28, .72);
}

.hero-sound-toggle__icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-sound-toggle__icon > path:first-child {
  fill: currentColor;
  stroke: none;
}

.hero-sound-toggle__wave {
  display: none;
}

.hero-sound-toggle.is-unmuted .hero-sound-toggle__wave {
  display: inline;
}

.hero-sound-toggle.is-unmuted .hero-sound-toggle__slash {
  display: none;
}

.hero-sound-toggle__text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .hero-sound-toggle {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }
}
