/* 20261110c: controls above the horizontal project track and the Videolar/Videos strips; no overlay on cards/Melis. */
.ar-ref-car {
  min-width: 0;
}
.ar-ref-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.ar-ref-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overflow-anchor: none;
  overscroll-behavior-x: contain;
}
.ar-ref-track::-webkit-scrollbar {
  display: none;
}
.ar-ref-track > li {
  flex: 0 0 min(20.5rem, 78%);
  max-width: min(20.5rem, 78%);
  scroll-snap-align: start;
  min-width: 0;
}
.ar-ref-arr {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  color: #32373c;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.ar-ref-arr:hover {
  background: #fff;
}
.ar-ref-arr:focus-visible {
  outline: 2px solid #1e5bb8;
  outline-offset: 2px;
}
.ar-ref-arr:disabled {
  opacity: 0.35;
  cursor: default;
}
.ar-ref-car--none .ar-ref-controls {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .ar-ref-track {
    scroll-behavior: auto;
  }
}
/* Videolar / Videos tile list (ul.ar-pv-grid from proj-videos.js) -> one horizontal row. */
.ar-vid-car {
  max-width: 1240px;
  margin: 0 auto;
}
.ar-vid-car .ar-ref-controls {
  padding: 0 16px;
}
.ar-vid-ssr .ar-ref-controls {
  padding: 0;
}
.ar-pv-grid.ar-vid-track {
  max-width: none;
  gap: 14px;
  margin: 0;
  padding: 4px 16px 0;
  scroll-padding: 0 16px;
}
.ar-pv-grid.ar-vid-track > li {
  flex: 0 0 min(16.5rem, 72%);
  max-width: min(16.5rem, 72%);
}
/* SSR strip: the old absolute side arrows give way to the controls above. */
#videolar .ar-vid-car .ar-arr,
#videolar .ar-car:has(.ar-vid-car) > .ar-arr {
  display: none !important;
}
