/* Page-local controls, overlaid so the existing 4:3 figure never changes size. */
.av-carousel .av-controls[hidden] { display: none; }
.av-carousel .av-controls {
  position: absolute;
  top: 50%;
  right: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.av-carousel .av-controls button {
  min-height: 44px;
  min-width: 36px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bone);
  color: var(--green-deep);
  font-family: var(--mono);
  font-size: 1.8rem;
  line-height: 1.2;
  cursor: pointer;
  pointer-events: auto;
}
.av-carousel .av-controls button:hover {
  background: var(--green-deep);
  color: var(--bone);
}
.av-carousel .av-controls button:focus-visible {
  outline: 3px solid var(--green-deep);
  outline-offset: 2px;
}
.av-carousel .av-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 420px) {
  .av-carousel .av-controls { left: 13px; right: 13px; }
  .av-carousel .av-controls button { padding-inline: 5px; }
}
