@charset "UTF-8";
.in-use-gallery-heading {
  text-align: center;
  margin-bottom: 30px;
}

.in-use-gallery .row {
  margin-left: 0;
  margin-right: 0;
}
.in-use-gallery .gallery-row {
  margin-bottom: 30px;
}
.in-use-gallery .gallery-item .gallery-inner {
  width: 100%;
  background-size: cover;
  background-position: center center;
  position: relative;
}
.in-use-gallery[class~="3-col"] .gallery-item .gallery-inner, .in-use-gallery[class~="4-col"] .gallery-item .gallery-inner, .in-use-gallery.grid .gallery-item .gallery-inner {
  height: 350px;
}
.in-use-gallery.slider .gallery-item, .in-use-gallery.slider-3 .gallery-item, .in-use-gallery.slider-4 .gallery-item {
  padding-right: 0;
  padding-left: 0;
}
.in-use-gallery.slider .gallery-item .gallery-inner, .in-use-gallery.slider-3 .gallery-item .gallery-inner, .in-use-gallery.slider-4 .gallery-item .gallery-inner {
  height: 460px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.in-use-gallery.slider .gallery-item:hover .gallery-inner, .in-use-gallery.slider-3 .gallery-item:hover .gallery-inner, .in-use-gallery.slider-4 .gallery-item:hover .gallery-inner {
  transform: scale(1.08);
}
.in-use-gallery .caption {
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  padding: 10px;
  text-align: center;
}
.in-use-gallery .carousel-inner {
  padding: 0;
}
.in-use-gallery .carousel-inner .carousel-item {
  display: none;
  width: 100%;
}
.in-use-gallery .carousel-inner .carousel-item.active,
.in-use-gallery .carousel-inner .carousel-item-next,
.in-use-gallery .carousel-inner .carousel-item-prev {
  display: flex;
}
.in-use-gallery .carousel-items-3 .carousel-item > .gallery-item {
  flex: 0 0 33.333%;
  max-width: 33.333%;
}
.in-use-gallery .carousel-items-4 .carousel-item > .gallery-item {
  flex: 0 0 25%;
  max-width: 25%;
}
.in-use-gallery .carousel-items-3 .carousel-item-end.active,
.in-use-gallery .carousel-items-3 .carousel-item-next {
  transform: translateX(33.333%);
}
.in-use-gallery .carousel-items-3 .carousel-item-start.active,
.in-use-gallery .carousel-items-3 .carousel-item-prev {
  transform: translateX(-33.333%);
}
.in-use-gallery .carousel-items-3 .carousel-item-end,
.in-use-gallery .carousel-items-3 .carousel-item-start {
  transform: translateX(0);
}
.in-use-gallery .carousel-items-4 .carousel-item-end.active,
.in-use-gallery .carousel-items-4 .carousel-item-next {
  transform: translateX(25%);
}
.in-use-gallery .carousel-items-4 .carousel-item-start.active,
.in-use-gallery .carousel-items-4 .carousel-item-prev {
  transform: translateX(-25%);
}
.in-use-gallery .carousel-items-4 .carousel-item-end,
.in-use-gallery .carousel-items-4 .carousel-item-start {
  transform: translateX(0);
}
@media (max-width: 991px) {
  .in-use-gallery .carousel-inner .carousel-item > .gallery-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .in-use-gallery .carousel-inner .carousel-item > .gallery-item:nth-child(n+3) {
    display: none;
  }
  .in-use-gallery .carousel-items-3 .carousel-item-end.active,
  .in-use-gallery .carousel-items-3 .carousel-item-next,
  .in-use-gallery .carousel-items-4 .carousel-item-end.active,
  .in-use-gallery .carousel-items-4 .carousel-item-next {
    transform: translateX(50%);
  }
  .in-use-gallery .carousel-items-3 .carousel-item-start.active,
  .in-use-gallery .carousel-items-3 .carousel-item-prev,
  .in-use-gallery .carousel-items-4 .carousel-item-start.active,
  .in-use-gallery .carousel-items-4 .carousel-item-prev {
    transform: translateX(-50%);
  }
}
@media (max-width: 767px) {
  .in-use-gallery .carousel-inner .carousel-item > .gallery-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .in-use-gallery .carousel-inner .carousel-item > .gallery-item:nth-child(n+2) {
    display: none;
  }
  .in-use-gallery .carousel-items-3 .carousel-item-end.active,
  .in-use-gallery .carousel-items-3 .carousel-item-next,
  .in-use-gallery .carousel-items-4 .carousel-item-end.active,
  .in-use-gallery .carousel-items-4 .carousel-item-next {
    transform: translateX(100%);
  }
  .in-use-gallery .carousel-items-3 .carousel-item-start.active,
  .in-use-gallery .carousel-items-3 .carousel-item-prev,
  .in-use-gallery .carousel-items-4 .carousel-item-start.active,
  .in-use-gallery .carousel-items-4 .carousel-item-prev {
    transform: translateX(-100%);
  }
  .in-use-gallery .carousel-control-next,
  .in-use-gallery .carousel-control-prev {
    width: 38px;
    height: 38px;
    margin-top: -19px;
  }
  .in-use-gallery .carousel-control-prev {
    left: 20px;
  }
  .in-use-gallery .carousel-control-next {
    right: 20px;
  }
  .in-use-gallery .carousel-control-next i,
  .in-use-gallery .carousel-control-prev i {
    font-size: 22px;
  }
}
.in-use-gallery .carousel-control-next,
.in-use-gallery .carousel-control-prev {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  opacity: 1;
  color: #000;
  font-size: 30px;
  text-align: center;
  border-radius: 2px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.in-use-gallery .carousel-control-prev {
  left: 50px;
}
.in-use-gallery .carousel-control-next {
  right: 50px;
}
.in-use-gallery .carousel-control-next:hover,
.in-use-gallery .carousel-control-prev:hover {
  color: #000;
  font-size: 30px;
  opacity: 1;
}

/* ===========================================================================
   ADDED — low-photo-count layouts + lightbox on every format
   ===========================================================================
   The block now renders every tile as an <a class="rr-lightbox-item">, so the
   old <div> styling needs the anchor reset below. The two angle layouts reuse
   the SHARED brand diagonal from blocks/shared/angle-tokens.css (--rt-angle,
   --rt-tan, --rt-divider-*), which is enqueued site-wide and in the editor —
   the angle is never redefined here, so it stays locked to the angle-* blocks
   and flattens on mobile with them.
   ======================================================================== */
.in-use-gallery {
  /* ---- Clickable tiles ---------------------------------------------- */
  /* ---- SINGLE — one full-bleed photo, fixed-height crop -------------- */
  /* ---- ANGLE 2 / ANGLE 3 -------------------------------------------- */
  /* Every slot is stacked in ONE full-width grid cell and clipped to its own
     share, so the seams are continuous straight lines. Half the seam's
     horizontal travel in px = (height / 2) * tan(angle), which keeps the
     on-screen degree exactly --rt-angle at any viewport width. Same maths as
     blocks/angle-split/style.css. */
  /* The photo is framed inside its OWN share of the row (not the full width)
     so cover-cropping centres on that share, then the slot clips it. */
  /* 2 across — seam on the centre line. */
  /* 3 across — seams on the 1/3 and 2/3 lines. */
  /* White divider bars laid over each seam, rotated to the exact angle.
     Decorative and pointer-inert. */
  /* Captions sit above the clipped photo. */
  /* ---- MOBILE ------------------------------------------------------- */
  /* Per brand there is NO horizontal angle: the stacked photos get a flat
     white divider instead. Matches blocks/angle-split/style.css. */
}
.in-use-gallery a.gallery-item,
.in-use-gallery a.angle-slot {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.in-use-gallery a.gallery-item:hover,
.in-use-gallery a.gallery-item:focus,
.in-use-gallery a.angle-slot:hover,
.in-use-gallery a.angle-slot:focus {
  color: inherit;
  text-decoration: none;
}
.in-use-gallery a.gallery-item:focus-visible,
.in-use-gallery a.angle-slot:focus-visible {
  outline: 3px solid #EC2227;
  outline-offset: 2px;
}
.in-use-gallery.single .gallery-item.single-item .gallery-inner {
  height: var(--rr-gallery-single-height, 520px);
  transition: transform 0.3s ease;
}
.in-use-gallery.single .gallery-item.single-item:hover .gallery-inner {
  transform: scale(1.03);
}
.in-use-gallery .angle-row {
  position: relative;
  display: grid;
  grid-template-columns: 100%;
  overflow: hidden;
  height: var(--rr-gallery-angle-height, 460px);
  --rr-seam-half: calc(var(--rr-gallery-angle-height, 460px) * var(--rt-tan) / 2);
}
.in-use-gallery .angle-slot {
  grid-area: 1/1;
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.in-use-gallery .angle-slot .gallery-inner {
  position: absolute;
  top: 0;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transition: transform 0.3s ease;
}
.in-use-gallery .angle-slot:hover .gallery-inner {
  transform: scale(1.06);
}
.in-use-gallery .angle-cols-2 .angle-slot--left {
  clip-path: polygon(0 0, calc(50% + var(--rr-seam-half)) 0, calc(50% - var(--rr-seam-half)) 100%, 0 100%);
}
.in-use-gallery .angle-cols-2 .angle-slot--right {
  clip-path: polygon(calc(50% + var(--rr-seam-half)) 0, 100% 0, 100% 100%, calc(50% - var(--rr-seam-half)) 100%);
}
.in-use-gallery .angle-cols-2 .angle-slot--left .gallery-inner {
  left: 0;
  width: calc(50% + var(--rr-seam-half));
}
.in-use-gallery .angle-cols-2 .angle-slot--right .gallery-inner {
  right: 0;
  width: calc(50% + var(--rr-seam-half));
}
.in-use-gallery .angle-cols-3 .angle-slot--left {
  clip-path: polygon(0 0, calc(33.333% + var(--rr-seam-half)) 0, calc(33.333% - var(--rr-seam-half)) 100%, 0 100%);
}
.in-use-gallery .angle-cols-3 .angle-slot--middle {
  clip-path: polygon(calc(33.333% + var(--rr-seam-half)) 0, calc(66.667% + var(--rr-seam-half)) 0, calc(66.667% - var(--rr-seam-half)) 100%, calc(33.333% - var(--rr-seam-half)) 100%);
}
.in-use-gallery .angle-cols-3 .angle-slot--right {
  clip-path: polygon(calc(66.667% + var(--rr-seam-half)) 0, 100% 0, 100% 100%, calc(66.667% - var(--rr-seam-half)) 100%);
}
.in-use-gallery .angle-cols-3 .angle-slot--left .gallery-inner {
  left: 0;
  right: auto;
  width: calc(33.333% + var(--rr-seam-half));
}
.in-use-gallery .angle-cols-3 .angle-slot--middle .gallery-inner {
  left: calc(33.333% - var(--rr-seam-half));
  right: auto;
  width: calc(33.333% + var(--rr-seam-half) * 2);
}
.in-use-gallery .angle-cols-3 .angle-slot--right .gallery-inner {
  left: auto;
  right: 0;
  width: calc(33.333% + var(--rr-seam-half));
}
.in-use-gallery .angle-row::after {
  content: "";
  position: absolute;
  top: -6%;
  bottom: -6%;
  left: 50%;
  width: var(--rt-divider-width);
  background: var(--rt-divider-color);
  transform: translateX(-50%) rotate(var(--rt-angle));
  pointer-events: none;
  z-index: 2;
}
.in-use-gallery .angle-cols-3::after {
  left: 33.333%;
}
.in-use-gallery .angle-cols-3::before {
  content: "";
  position: absolute;
  top: -6%;
  bottom: -6%;
  left: 66.667%;
  width: var(--rt-divider-width);
  background: var(--rt-divider-color);
  transform: translateX(-50%) rotate(var(--rt-angle));
  pointer-events: none;
  z-index: 2;
}
.in-use-gallery .angle-slot .caption {
  z-index: 1;
}
@media (max-width: 767px) {
  .in-use-gallery {
    /* Selectors carry .angle-row AND .angle-cols-* so they out-specify the
       per-column clip-path and framing rules above. Without the extra class
       the clip-paths keep painting the diagonal thirds even though the boxes
       have gone full width. */
  }
  .in-use-gallery .angle-row {
    display: block;
    height: auto;
  }
  .in-use-gallery .angle-row.angle-cols-2 .angle-slot,
  .in-use-gallery .angle-row.angle-cols-3 .angle-slot {
    clip-path: none;
  }
  .in-use-gallery .angle-row.angle-cols-2 .angle-slot .gallery-inner,
  .in-use-gallery .angle-row.angle-cols-3 .angle-slot .gallery-inner {
    position: relative;
    left: auto;
    right: auto;
    width: 100%;
    height: var(--rr-gallery-angle-height-mobile, 260px);
  }
  .in-use-gallery .angle-slot + .angle-slot {
    border-top: var(--rt-divider-width) solid var(--rt-divider-color);
  }
  .in-use-gallery .angle-row::after,
  .in-use-gallery .angle-row::before {
    display: none;
  }
  .in-use-gallery.single .gallery-item.single-item .gallery-inner {
    height: var(--rr-gallery-single-height-mobile, 300px);
  }
}

/*# sourceMappingURL=in-use-product-gallery.css.map */
