/* Image carousel (assets/carousel.js). Matches the Smart Slider 3 look it replaced on /monitor/:
   1920x800 frame, images cropped from the left, arrows 15px in from the edges, shown on hover. */
.mq-carousel { position: relative; overflow: hidden; aspect-ratio: 1920 / 800; width: 100%; }
.mq-carousel-track {
  display: flex; height: 100%; touch-action: pan-y; user-select: none;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* easeOutQuad */
}
.mq-carousel-slide { position: relative; flex: 0 0 100%; height: 100%; }
.mq-carousel-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
.mq-carousel-label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.mq-carousel-arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  display: block; width: 30px; height: 30px; margin: 0; padding: 2px; border: 0; border-radius: 3px;
  background: #12499f; cursor: pointer; opacity: 0; transition: background 0.3s, opacity 0.4s;
}
.mq-carousel-arrow img { display: block; width: 26px; height: 26px; }
.mq-carousel-prev { left: 15px; }
.mq-carousel-next { right: 15px; }
.mq-carousel:hover .mq-carousel-arrow, .mq-carousel:focus-within .mq-carousel-arrow { opacity: 1; }
.mq-carousel-arrow:hover, .mq-carousel-arrow:active, .mq-carousel-arrow:focus { background: #ff0000; }
@media (orientation: portrait) and (max-width: 700px), (orientation: landscape) and (max-width: 900px) {
  .mq-carousel-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-carousel-track, .mq-carousel-arrow { transition: none; }
}
