.rv24-authentic-gallery {
  --rv24-gallery-navy: #07084b;
  --rv24-gallery-orange: #f58220;
  padding: clamp(64px, 8vw, 112px) 24px;
  background: #fff;
  color: var(--rv24-gallery-navy);
}

.rv24-authentic-gallery__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.rv24-authentic-gallery__head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.rv24-authentic-gallery__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--rv24-gallery-orange);
  font: 800 13px/1.2 Inter, Arial, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.rv24-authentic-gallery h2 {
  margin: 0 0 14px;
  color: var(--rv24-gallery-navy);
  font: 800 clamp(34px, 4.4vw, 58px)/1.05 Poppins, Inter, Arial, sans-serif;
  letter-spacing: -.035em;
}

.rv24-authentic-gallery__head p {
  margin: 0;
  color: #667085;
  font: 400 clamp(17px, 1.65vw, 21px)/1.65 Inter, Arial, sans-serif;
}

.rv24-authentic-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rv24-authentic-gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #eef1f5;
  box-shadow: 0 16px 44px rgba(7, 8, 75, .10);
}

.rv24-authentic-gallery img {
  display: block;
  width: 100%;
  height: clamp(330px, 36vw, 480px);
  object-fit: cover;
  transition: transform .45s ease;
}

.rv24-authentic-gallery figure:hover img {
  transform: scale(1.025);
}

.rv24-authentic-gallery figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 14px;
  background: rgba(7, 8, 75, .80);
  color: #fff;
  font: 700 14px/1.35 Inter, Arial, sans-serif;
  backdrop-filter: blur(8px);
}

@media (max-width: 767px) {
  .rv24-authentic-gallery {
    padding: 56px 16px;
  }

  .rv24-authentic-gallery__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rv24-authentic-gallery img {
    height: min(118vw, 520px);
  }

  .rv24-authentic-gallery figure:nth-child(2) img,
  .rv24-authentic-gallery figure:nth-child(3) img {
    height: min(100vw, 440px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rv24-authentic-gallery img {
    transition: none;
  }
}
