/* ==========================================================================
   Hero reel controls — play/pause (and mute, when a reel has sound) in the
   reel's bottom-right corner. See inc/reel-controls.php.
   Kept deliberately quiet: small, translucent until hovered or focused, the
   same dark disc as the gallery tiles' sound toggle (.keyart-sound).
   ========================================================================== */

/* The Brands reel is already positioned; Entertainment's is not. */
.ent-reel,
.brand-reel {
  position: relative;
}

.reel-controls {
  position: absolute;
  right: 1rem;
  /* Clear the reel's 5px chartreuse closing rule (border-bottom on the video). */
  bottom: calc(5px + 1rem);
  z-index: 2;
  display: flex;
  gap: 0.4rem;
  line-height: 0;
}

.reel-control {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  color: var(--white, #fff);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.reel-control[hidden] {
  display: none;
}

.ent-reel:hover .reel-control,
.brand-reel:hover .reel-control,
.reel-control:focus-visible {
  opacity: 1;
}

.reel-control:hover {
  background: rgba(0, 0, 0, 0.78);
}

.reel-control:focus-visible {
  outline: 2px solid var(--chartreuse);
  outline-offset: 2px;
}

/* Sound on is the non-default state, so it is the one that is marked. */
.reel-control--mute[aria-pressed="true"] {
  background: var(--chartreuse);
  color: var(--dark);
  opacity: 1;
}

.reel-control svg {
  width: 0.8rem;
  height: 0.8rem;
  fill: currentColor;
}

@media (max-width: 600px) {
  .reel-controls {
    right: 0.75rem;
    bottom: calc(5px + 0.75rem);
  }
}
