.offer-slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.offer-slides {
  display: flex;
  transition: transform 350ms ease;
  will-change: transform;
}

.offer-slide {
  flex: 0 0 100%;
}

.offer-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- NAV BUTTONS (text arrows) --- */
.offer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 40px;
  height: 40px;
  border-radius: 999px;

  border: 2px solid #ff9800;
  background: transparent;
  color: #ff9800;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  /* the important centring bits for glyphs like ‹ › */
  font-size: 28px;
  font-weight: 700;
  line-height: 1;

  padding: 0;
  text-align: center;

  /* tiny optical nudge (optional but helps these glyphs) */
  padding-bottom: 2px;
}

.offer-prev { left: 10px; }
.offer-next { right: 10px; }

.offer-nav:hover {
  background: rgba(255, 152, 0, 0.12);
}

.offer-nav:focus-visible {
  outline: 2px solid rgba(255, 152, 0, 0.35);
  outline-offset: 3px;
}

/* Dots */
.offer-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.offer-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255,255,255,0.55);
}

.offer-dot.is-active {
  background: rgba(255,255,255,0.95);
}

/* Optional: slightly smaller controls on mobile */
@media (max-width: 768px) {
  .offer-nav {
    width: 34px;
    height: 34px;
    font-size: 24px;
    padding-bottom: 2px;
  }
}
/* Front page benefits slider: lock the same aspect ratio as the old image (828x785) */
.benefits .benefits_row .media_col .offer-slider {
  width: 100%;
}

.benefits .benefits_row .media_col .offer-slide {
  aspect-ratio: 828 / 785;   /* matches benefits_media.png */
}

.benefits .benefits_row .media_col .offer-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* crops nicely to match the frame */
  display: block;
}
/* Front page "Benefits" gallery — match the old benefits_media.png ratio (828/785) */
.benefits_section .benefits_row .media_col .offer-slider{
  width: 100%;
  aspect-ratio: 828 / 785;
}

/* Make slides fill the locked-height area */
.benefits_section .benefits_row .media_col .offer-slides,
.benefits_section .benefits_row .media_col .offer-slide{
  height: 100%;
}

/* Fill the area consistently (cropped like a hero image) */
.benefits_section .benefits_row .media_col .offer-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}