/* ============================================================
   Avrile — cs-img-triple
   3 images en colonnes égales avec coins arrondis.
   ============================================================ */

.avr-cs-img-triple {
  width: 100%;
  padding: calc(var(--avr-space-xs) / 2) var(--avr-space-gutter);
}

.avr-cs-img-triple__inner {
  width: 100%;
  max-width: var(--avr-max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--avr-space-xs);
}

.avr-cs-img-triple__img {
  width: 100%;
  border-radius: var(--avr-radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.avr-cs-img-triple__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avr-cs-img-triple__img video,
.avr-cs-img-triple__img .brxe-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.avr-cs-img-triple__img video {
  object-fit: cover;
  display: block;
}

.avr-cs-img-triple__img .bricks-video-container {
  padding-bottom: 0 !important;
  height: 100% !important;
}

.avr-cs-img-triple__img .brxe-video video,
.avr-cs-img-triple__img iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .avr-cs-img-triple__inner {
    grid-template-columns: 1fr;
  }
}
