/* Casa Teva reference: natural-ratio photographs with centered vertical alignment. */
.about-carousel {
  width: 100%;
  max-width: 1260px;
  min-width: 0;
  margin: 30px auto 0;
  flex: 0 0 auto;
}

.about-carousel-track {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 330px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.about-carousel-track::-webkit-scrollbar { display: none; }
.about-carousel-track:focus-visible { outline: 1px solid #6b756c; outline-offset: 4px; }

.about-carousel-photo {
  --about-photo-height: var(--about-photo-height-desktop);
  flex: 0 0 auto;
  width: calc(var(--about-photo-height) * var(--about-photo-ratio));
  height: var(--about-photo-height);
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  scroll-snap-align: start;
}

.about-carousel-photo > .about-carousel-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  border: 0;
  border-radius: 0;
}

.about-carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.about-carousel .about-carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #6b756c;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  line-height: 1;
  transform: none;
}

.about-carousel .about-carousel-arrow::before,
.about-carousel .about-carousel-arrow::after { display: none; }
.about-carousel-arrow svg { display: block; width: 20px; height: 20px; }
.about-carousel-arrow:disabled { opacity: .3; cursor: default; }
.about-carousel-arrow:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }

@media (max-width: 600px) {
  .about-carousel { margin-top: 26px; }
  .about-carousel-track { gap: 18px; height: 280px; }
  .about-carousel-photo { --about-photo-height: var(--about-photo-height-mobile); }
}
