@charset "UTF-8";
/**
 * Redbones Element: Gallery
 * Figma: BLOCK LIBRARY → GALLERY `1866:1814`
 *   Social     `1866:1815` / `1866:1827`   Carousel `1866:1842` / `1866:1858`
 *   Masonry    `1803:117` / `1828:252`    Break    `1866:1901` / `1866:1914`
 *
 * Rev.1's Editorial variant is gone — rev.3 split that job between Carousel and
 * Masonry.
 *
 * Social is a row of seven square crops that overflows its container equally
 * on both sides — the comp centres a 2104px strip in a 1320px window with a
 * -392px offset, i.e. exactly half the overhang each way — and does not clip.
 */
/**
 * Redbones — Design Tokens
 * SCSS variables, imported by variables.scss and component SCSS files.
 * Values are pulled from the Figma variable collection on the
 * "01 — DEV HANDOFF — current" page (file NEbrDOdP5b8QM6xbeXIWsQ).
 *
 * This is a one-off site: these values are the source of truth. There is no
 * options-driven theming layer — edit here, run `npm run build`.
 */
.rb-gallery__inner {
  display: flex;
  flex-direction: column;
  gap: var(--rb-space-lg);
}

.rb-gallery__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: var(--rb-space-sm);
}

.rb-gallery__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--rb-space-xs);
}

.rb-gallery__intro__overline {
  margin: 0;
  color: var(--rb-accent);
}

.rb-gallery__intro__text {
  margin: 0;
  color: var(--rb-fg-muted);
}

.rb-gallery__intro__headline {
  font-size: clamp(50px, 45.07px + 1.3146vw, 64px);
  color: var(--rb-accent);
}

.rb-gallery__intro__accent {
  display: inline;
  color: var(--rb-accent-alt);
  text-transform: none;
}

.rb-gallery__handle {
  color: var(--rb-accent);
  text-decoration: none;
}

.rb-gallery__grid {
  display: grid;
  gap: var(--rb-space-xs);
  margin: 0;
  padding: 0;
  list-style: none;
}

.rb-gallery__item {
  overflow: hidden;
  border-radius: var(--rb-radius);
}

.rb-gallery--social .rb-gallery__strip {
  margin-top: var(--rb-space-lg);
  position: relative;
  left: 50%;
  width: 100svw;
  max-width: 100svw;
  transform: translateX(-50%);
}
.rb-gallery--social .rb-gallery__grid {
  display: flex;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rb-gallery--social .splide__track {
  overflow: hidden;
}
.rb-gallery--social .splide__list {
  width: max-content;
}
.rb-gallery--social .splide.is-initialised .rb-gallery__grid {
  width: auto;
  gap: 0;
}
.rb-gallery--social .rb-gallery__item {
  flex: none;
  width: 171px;
  height: 171px;
  aspect-ratio: auto;
  border: 2px solid var(--rb-color-sauce);
  border-radius: 8px;
}

@media (min-width: 768px) {
  .rb-gallery--social .rb-gallery__strip {
    margin-top: var(--rb-space-xl);
  }
  .rb-gallery--social .rb-gallery__grid {
    gap: 18px;
  }
  .rb-gallery--social .rb-gallery__item {
    width: 286px;
    height: 286px;
    border-width: 3px;
    border-radius: 18px;
  }
}
.rb-gallery--carousel .rb-gallery__inner {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.rb-gallery--carousel .rb-gallery__overline {
  margin: 0;
  color: var(--rb-color-sauce);
}
.rb-gallery--carousel .rb-gallery__slides {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rb-gallery--carousel .rb-gallery__slides--canvas .rb-gallery__slide:not(:first-child) {
  display: none;
}
.rb-gallery--carousel .rb-gallery__slide {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.rb-gallery--carousel .rb-gallery__slide-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 335/378;
  border: 3px solid var(--rb-color-ribbon);
  border-radius: 15px;
}
.rb-gallery--carousel .rb-gallery__slide-media .rb-media {
  border-radius: 12px;
}
.rb-gallery--carousel .rb-smoke--edge-bottom.rb-smoke--large {
  margin-bottom: 0;
}
.rb-gallery--carousel .rb-smoke--large .rb-smoke__art {
  width: 117%;
  margin-left: 8%;
  margin-right: 0;
}
.rb-gallery--carousel .rb-gallery__slide-copy {
  display: grid;
  gap: 25px;
}
.rb-gallery--carousel .rb-gallery__slide-headline {
  margin: 0;
  font-size: clamp(50px, 45.07px + 1.3146vw, 64px);
  color: var(--rb-color-sauce);
}
.rb-gallery--carousel .rb-gallery__slide-accent {
  display: inline;
  margin-right: 0.255em;
  color: var(--rb-color-ribbon);
  text-transform: none;
}
.rb-gallery--carousel .rb-gallery__slide-text {
  margin: 0;
  max-width: 644px;
  color: var(--rb-color-smoke-house);
}
.rb-gallery--carousel .rb-gallery__carousel {
  position: relative;
}
.rb-gallery--carousel .rb-gallery__arrows-anchor {
  inset-inline: 0;
  top: 0;
  pointer-events: none;
}
.rb-gallery--carousel .rb-gallery__arrows {
  display: flex;
  gap: 17px;
  pointer-events: auto;
  margin-top: var(--rb-space-lg);
}
.rb-gallery--carousel .rb-gallery__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--rb-color-corn-bread);
  color: var(--rb-color-sauce);
  cursor: pointer;
  transition: background-color var(--rb-transition-fast);
}
.rb-gallery--carousel .rb-gallery__arrow svg {
  display: block;
  width: 110%;
  height: 110%;
}
.rb-gallery--carousel .rb-gallery__arrow:hover, .rb-gallery--carousel .rb-gallery__arrow:focus-visible {
  background-color: var(--rb-hover-tint);
}
.rb-gallery--carousel .rb-gallery__arrow--prev svg {
  transform: scaleX(-1);
}

@media (min-width: 768px) {
  .rb-gallery--carousel .rb-gallery__slide {
    gap: 48px;
  }
  .rb-gallery--carousel .rb-gallery__slide-media {
    aspect-ratio: 13/6;
  }
  .rb-gallery--carousel .rb-smoke--large .rb-smoke__art {
    width: 51.2%;
    margin-left: auto;
  }
  .rb-gallery--carousel .rb-gallery__slide-copy {
    grid-template-columns: 1fr;
    padding-right: calc(121px + var(--rb-space-2xl));
    row-gap: 27px;
  }
  .rb-gallery--carousel .rb-gallery__slide-headline {
    grid-column: 1;
    grid-row: 1;
  }
  .rb-gallery--carousel .rb-gallery__slide-text {
    grid-column: 1;
    grid-row: 2;
  }
  .rb-gallery--carousel .rb-gallery__arrows-anchor {
    position: absolute;
    padding-top: 46.1538461538%;
  }
  .rb-gallery--carousel .rb-gallery__arrows {
    justify-content: flex-end;
    gap: 25px;
    margin-top: 74px;
  }
  .rb-gallery--carousel .rb-gallery__arrow {
    width: 48px;
    height: 48px;
  }
}
.rb-gallery--masonry {
  background-color: var(--rb-color-ribbon);
  background-image: url("../../assets/img/texture.png");
  background-repeat: repeat;
  background-size: var(--rb-grain-size);
  background-attachment: fixed;
  overflow-x: clip;
}
.rb-gallery--masonry .rb-gallery__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.rb-gallery--masonry .rb-gallery__masonry-headline {
  margin: 0;
  color: var(--rb-color-salt);
}
.rb-gallery--masonry .rb-gallery__masonry-accent {
  display: inline;
  color: var(--rb-color-corn-bread);
  text-transform: none;
}
.rb-gallery--masonry .rb-gallery__masonry {
  margin-top: 28px;
}
.rb-gallery--masonry .rb-gallery__band {
  padding-left: calc(max(0px, 100% - var(--rb-width-content) - 2 * var(--rb-margin-inline)) / 2 + var(--rb-margin-inline));
}
.rb-gallery--masonry .rb-gallery__masonry-list {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rb-gallery--masonry .splide.is-initialised .rb-gallery__masonry-list {
  width: auto;
}
.rb-gallery--masonry .rb-gallery__masonry-col {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 15.15px;
  width: 304.81px;
  margin-right: 13.25px;
}
.rb-gallery--masonry .rb-gallery__tile {
  margin: 0;
  overflow: hidden;
  border: 1.5px solid var(--rb-color-smoke-house);
  border-radius: 5px;
}
.rb-gallery--masonry .rb-gallery__masonry-col--short-first .rb-gallery__tile:nth-child(1),
.rb-gallery--masonry .rb-gallery__masonry-col--tall-first .rb-gallery__tile:nth-child(2) {
  aspect-ratio: 538.5428/347.0423;
}
.rb-gallery--masonry .rb-gallery__masonry-col--short-first .rb-gallery__tile:nth-child(2),
.rb-gallery--masonry .rb-gallery__masonry-col--tall-first .rb-gallery__tile:nth-child(1) {
  aspect-ratio: 538.5428/535.1978;
}
.rb-gallery--masonry .rb-gallery__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
}
.rb-gallery--masonry .rb-gallery__arrows {
  display: flex;
  gap: 16px;
}
.rb-gallery--masonry .rb-gallery__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--rb-color-corn-bread);
  color: var(--rb-color-sauce);
  cursor: pointer;
  transition: background-color var(--rb-transition-fast);
}
.rb-gallery--masonry .rb-gallery__arrow svg {
  display: block;
  width: 110%;
  height: 110%;
}
.rb-gallery--masonry .rb-gallery__arrow:hover, .rb-gallery--masonry .rb-gallery__arrow:focus-visible {
  background-color: var(--rb-hover-tint);
}
.rb-gallery--masonry .rb-gallery__arrow--prev svg {
  transform: scaleX(-1);
}
.rb-gallery--masonry .rb-gallery__dots {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rb-gallery--masonry .rb-gallery__dot {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--rb-color-salt);
  opacity: 0.2;
  cursor: pointer;
  transition: opacity var(--rb-transition-fast);
}
.rb-gallery--masonry .rb-gallery__dot.is-active {
  opacity: 1;
}
.rb-gallery--masonry .rb-gallery__masonry--canvas .rb-gallery__masonry-list {
  width: max-content;
}

@media (min-width: 768px) {
  .rb-gallery--masonry .rb-gallery__masonry {
    margin-top: 48px;
  }
  .rb-gallery--masonry .rb-gallery__masonry-col {
    gap: 26.76px;
    width: 538.54px;
    margin-right: 23.41px;
  }
  .rb-gallery--masonry .rb-gallery__tile {
    border-width: var(--rb-stroke-keyline);
    border-radius: 8px;
  }
  .rb-gallery--masonry .rb-gallery__controls {
    margin-top: 72px;
  }
}
.rb-gallery--menu-break {
  padding-block: 0;
}
.rb-gallery--menu-break .rb-gallery__strip {
  position: relative;
  left: 50%;
  width: 100svw;
  max-width: 100svw;
  transform: translateX(-50%);
  padding-block: 40px;
  overflow-x: clip;
}
.rb-gallery--menu-break .rb-gallery__grid {
  display: flex;
  gap: 18.39px;
  justify-content: center;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rb-gallery--menu-break .rb-gallery__item {
  flex: none;
  width: 125.15px;
  aspect-ratio: 125.15/178.77;
  overflow: hidden;
  border: var(--rb-keyline);
  border-radius: 13px;
  transform: rotate(5deg);
}
.rb-gallery--menu-break .rb-gallery__item:nth-child(even) {
  transform: rotate(-5deg);
}

@media (min-width: 768px) {
  .rb-gallery--menu-break .rb-gallery__grid {
    gap: 51.32px;
  }
  .rb-gallery--menu-break .rb-gallery__item {
    width: 286px;
    aspect-ratio: 286/412;
  }
}

/*# sourceMappingURL=rb-gallery.css.map */
