/* === Hero video controls (mute toggle + volume) === */
.mr-sid-cover-with-controls {
  position: relative;
}

.mr-sid-video-controls {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #fff;
  transition: background-color 0.2s ease;
}

.mr-sid-video-controls:hover {
  background: rgba(0, 0, 0, 0.75);
}

.mr-sid-mute-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.mr-sid-mute-btn:focus {
  outline: none;
}

.mr-sid-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
}

.mr-sid-volume-slider:focus {
  outline: none;
}

.mr-sid-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.mr-sid-volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

@media (max-width: 640px) {
  .mr-sid-video-controls {
    bottom: 1rem;
    left: 1rem;
  }

  .mr-sid-volume-slider {
    width: 60px;
  }
}
