.gallery-page {
  min-height: 100vh;
  color: var(--on-surface);
  background:
    linear-gradient(112deg, rgba(141, 20, 30, 0.08), transparent 24rem),
    linear-gradient(248deg, rgba(41, 38, 102, 0.12), transparent 31rem),
    #fbf7ef;
}

.gallery-main {
  overflow: hidden;
}

.gallery-hero {
  position: relative;
  display: flex;
  align-items: end;
  min-height: min(72vh, 720px);
  padding: clamp(2rem, 5vw, 5.2rem) clamp(1.2rem, 5vw, 5rem) clamp(2.5rem, 6vw, 5.6rem);
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(14, 13, 55, 0.92), rgba(20, 17, 67, 0.76) 34%, rgba(20, 17, 67, 0.48) 78%),
    linear-gradient(180deg, rgba(20, 17, 67, 0.1), rgba(20, 17, 67, 0.82)),
    url("../image/optimized/gallery/display/00 2024 CORRIENTES Congreso NEA mesa libro sin marco ni texto.webp");
  background-position: 0 0, 0 0, center 1rem;
  background-size: auto, auto, 90% auto;
  background-repeat: repeat, repeat, no-repeat;
  border-bottom: 3px solid var(--wine-red);
}

.gallery-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 5.2rem 5.2rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 86%);
  opacity: 0.46;
}

.gallery-hero::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 7vw, 6rem);
  bottom: clamp(1rem, 5vw, 4rem);
  z-index: -1;
  width: min(34vw, 26rem);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.26);
  transform: rotate(4deg);
  opacity: 0.5;
}

.gallery-hero__inner {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.gallery-sr-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gallery-kicker {
  width: fit-content;
  margin-bottom: 1.1rem;
  padding: 0.48rem 0.76rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.gallery-hero h1 {
  max-width: 900px;
  color: #ffffff;
  font-size: clamp(3rem, 7vw, 5.85rem);
  line-height: 0.92;
  font-weight: 900;
  text-wrap: balance;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.gallery-lead {
  max-width: 780px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.1rem, 1.75vw, 1.55rem);
  line-height: 1.58;
  font-weight: 700;
}

.gallery-studio {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.6rem) clamp(1rem, 3vw, 2.4rem) 5rem;
}

.gallery-studio::before {
  content: "";
  position: absolute;
  inset: 1rem 0 auto;
  height: 31rem;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 29%, rgba(20, 17, 67, 0.16) 29% 29.14%, transparent 29.14%),
    linear-gradient(148deg, transparent 0 66%, rgba(141, 20, 30, 0.2) 66% 66.14%, transparent 66.14%);
  opacity: 0.45;
}

.gallery-studio__shell {
  position: relative;
  width: min(1540px, 100%);
  margin: 0 auto;
}

.gallery-collections {
  position: relative;
  z-index: 4;
  margin-bottom: 1rem;
}

.gallery-collections__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.68rem;
  color: rgba(20, 17, 67, 0.68);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.gallery-collections__header small {
  color: rgba(20, 17, 67, 0.42);
  font-size: inherit;
  font-weight: 800;
}

.gallery-collection-strip {
  --active-solid: #8d141e;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(17rem, 1fr);
  gap: 0.65rem;
  padding: 0.25rem 0.1rem 0.58rem;
  background: transparent;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(41, 38, 102, 0.78) rgba(41, 38, 102, 0.1);
}

.gallery-collection-strip::-webkit-scrollbar {
  height: 0.42rem;
}

.gallery-collection-strip::-webkit-scrollbar-track {
  background: rgba(41, 38, 102, 0.1);
  border-radius: 999px;
}

.gallery-collection-strip::-webkit-scrollbar-thumb {
  background: var(--nav-bg);
  border-radius: 999px;
}

.gallery-collection {
  --collection-color: #8d141e;
  position: relative;
  min-height: 8.4rem;
  padding: 0.72rem 0.78rem;
  display: grid;
  grid-template-columns: 5.8rem minmax(0, 1fr);
  align-items: stretch;
  gap: 0.82rem;
  border: 1px solid rgba(20, 17, 67, 0.1);
  color: rgba(20, 17, 67, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
    color-mix(in srgb, var(--collection-color), #ffffff 91%);
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  box-shadow: 0 14px 34px rgba(20, 17, 67, 0.08);
  overflow: hidden;
  transition: color 180ms ease, background 220ms ease, transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.gallery-collection__cover {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--collection-color), #ffffff 82%);
  border: 1px solid color-mix(in srgb, var(--collection-color), transparent 54%);
  isolation: isolate;
}

.gallery-collection__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(20, 17, 67, 0.28)),
    linear-gradient(90deg, color-mix(in srgb, var(--collection-color), transparent 78%), transparent 46%);
  mix-blend-mode: multiply;
  opacity: 0.58;
  pointer-events: none;
}

.gallery-collection__cover img {
  width: 100%;
  height: 100%;
  min-height: 6.9rem;
  display: block;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
  transform: scale(1.02);
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-collection__content {
  position: relative;
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 0.36rem;
  z-index: 1;
}

.gallery-collection::before,
.gallery-collection::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.gallery-collection::before {
  left: 0;
  top: 0;
  width: 100%;
  height: 0.28rem;
  background: var(--collection-color);
  transform: scaleX(0.24);
  transform-origin: left;
  opacity: 0.64;
  transition: transform 220ms ease, opacity 220ms ease;
}

.gallery-collection::after {
  right: 0.7rem;
  bottom: 0.62rem;
  width: 2.2rem;
  height: 2.2rem;
  border-right: 1px solid color-mix(in srgb, var(--collection-color), transparent 24%);
  border-bottom: 1px solid color-mix(in srgb, var(--collection-color), transparent 24%);
  opacity: 0.22;
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery-collection:hover,
.gallery-collection:focus-visible {
  color: var(--primary);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.62)),
    color-mix(in srgb, var(--collection-color), #ffffff 84%);
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(20, 17, 67, 0.12);
}

.gallery-collection:hover::before,
.gallery-collection:focus-visible::before,
.gallery-collection.is-active::before {
  transform: scaleX(1);
  opacity: 1;
}

.gallery-collection:hover .gallery-collection__cover img,
.gallery-collection:focus-visible .gallery-collection__cover img,
.gallery-collection.is-active .gallery-collection__cover img {
  filter: saturate(1.06) contrast(1.05);
  transform: scale(1.08);
}

.gallery-collection:hover::after,
.gallery-collection:focus-visible::after {
  opacity: 0.52;
  transform: translate(-0.16rem, -0.16rem);
}

.gallery-collection.is-active {
  color: var(--primary);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--collection-color), #ffffff 86%), rgba(255, 255, 255, 0.9)),
    #ffffff;
  border-color: color-mix(in srgb, var(--collection-color), transparent 42%);
  box-shadow: 0 20px 52px color-mix(in srgb, var(--collection-color), transparent 82%);
}

.gallery-collection.is-active::after {
  opacity: 0.82;
}

.gallery-collection__index {
  display: block;
  color: color-mix(in srgb, var(--collection-color), var(--primary) 20%);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.gallery-collection__title {
  display: block;
  max-width: 12rem;
  margin-top: 0;
  font-size: clamp(0.9rem, 1vw, 1.04rem);
  font-weight: 900;
  line-height: 1.08;
  overflow-wrap: break-word;
}

.gallery-collection__meta {
  display: block;
  margin-top: 0;
  color: rgba(20, 17, 67, 0.48);
  font-size: 0.68rem;
  font-weight: 800;
}

.gallery-carousel {
  --active-solid: #8d141e;
  --active-hue: #8d141e;
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-height: min(900px, calc(100svh - var(--nav-h, 5.35rem) - 1.2rem));
  padding: clamp(0.9rem, 1.8vw, 1.35rem);
  border: 1px solid rgba(20, 17, 67, 0.14);
  background:
    linear-gradient(135deg, rgba(41, 38, 102, 0.98), rgba(12, 11, 31, 0.98) 58%, rgba(34, 12, 18, 0.96)),
    #141143;
  box-shadow: 0 28px 88px rgba(20, 17, 67, 0.24), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  isolation: isolate;
}

.gallery-carousel::before,
.gallery-carousel::after,
.gallery-carousel__grid {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.gallery-carousel::before {
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--active-hue), transparent 54%), transparent 24rem),
    radial-gradient(circle at 86% 24%, rgba(255, 255, 255, 0.16), transparent 18rem),
    linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.14) 36% 36.12%, transparent 36.12%),
    linear-gradient(154deg, transparent 0 74%, color-mix(in srgb, var(--active-hue), transparent 24%) 74% 74.12%, transparent 74.12%);
  opacity: 0.78;
}

.gallery-carousel::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 4.4rem 4.4rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.84), transparent 82%);
  opacity: 0.46;
}

.gallery-carousel__grid {
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.85;
}

.gallery-carousel__topline {
  position: absolute;
  top: clamp(1rem, 2vw, 1.8rem);
  left: clamp(1rem, 2vw, 1.8rem);
  right: clamp(1rem, 2vw, 1.8rem);
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1.4rem;
  pointer-events: none;
}

.gallery-carousel__meta {
  width: fit-content;
  max-width: min(46rem, calc(100% - 7rem));
  display: grid;
  justify-items: start;
  gap: 0.48rem;
  padding: 0;
}

.gallery-carousel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.6rem;
  color: color-mix(in srgb, var(--active-solid), white 42%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(41, 38, 102, 0.34));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.gallery-carousel__eyebrow::before {
  content: "";
  width: 2.3rem;
  height: 1px;
  background: currentColor;
}

.gallery-carousel h2 {
  max-width: 62rem;
  margin-top: 0.38rem;
  color: #ffffff;
  font-size: clamp(1.65rem, 3vw, 3.25rem);
  line-height: 0.98;
  font-weight: 900;
  text-wrap: balance;
}

.gallery-carousel p {
  max-width: 46rem;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.82rem, 1.1vw, 1rem);
  line-height: 1.48;
}

.gallery-carousel__meta > p:not(.gallery-carousel__eyebrow) {
  display: inline-block;
  padding: 0.34rem 0.58rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.13), rgba(41, 38, 102, 0.4));
  text-shadow: 0 1px 10px rgba(5, 4, 16, 0.32);
  backdrop-filter: blur(8px);
}

.gallery-carousel__counter {
  min-width: 5.4rem;
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255,255,255,0.06);
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
  font-weight: 900;
  line-height: 1;
  text-align: right;
  backdrop-filter: blur(16px);
}

.gallery-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(570px, 72svh, 780px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 4, 16, 0.38);
  overflow: hidden;
}

.gallery-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 4, 16, 0.72), transparent 18%, transparent 82%, rgba(5, 4, 16, 0.72)),
    linear-gradient(180deg, rgba(5, 4, 16, 0.6), transparent 24%, transparent 78%, rgba(5, 4, 16, 0.72));
}

.gallery-backdrop {
  position: absolute;
  inset: -2.5rem;
  width: calc(100% + 5rem);
  height: calc(100% + 5rem);
  object-fit: cover;
  opacity: 0.32;
  filter: blur(26px) saturate(0.9) contrast(1.1);
  transform: scale(1.08);
}

.gallery-frame {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(100%, calc(72svh * var(--gallery-image-ratio, 1.333)));
  max-width: calc(100% - clamp(4rem, 10vw, 10rem));
  height: min(100%, 72svh);
  min-height: 0;
  margin: 0;
  isolation: isolate;
}

.gallery-frame__wash {
  position: absolute;
  inset: -1rem;
  z-index: -1;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--active-solid), transparent 36%), transparent 42%),
    rgba(255, 255, 255, 0.05);
  opacity: 0.2;
}

.gallery-frame img[data-gallery-main-image] {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38), 0 0 0 0.7rem rgba(255, 255, 255, 0.035);
  opacity: 1;
  transform: translate(var(--gallery-crop-x, 0), var(--gallery-crop-y, 0)) scale(var(--gallery-crop-scale, 1));
  transition: opacity 180ms ease, transform 560ms cubic-bezier(0.2, 0.78, 0.24, 1), filter 420ms ease;
}

.gallery-carousel.is-switching .gallery-frame img[data-gallery-main-image] {
  opacity: 0;
  transform: translate(var(--gallery-crop-x, 0), calc(var(--gallery-crop-y, 0) + 1rem)) scale(var(--gallery-crop-switch-scale, 0.985));
  filter: blur(8px) saturate(0.84);
}

.gallery-frame figcaption {
  display: none;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: clamp(3rem, 4.4vw, 4.65rem);
  height: clamp(3rem, 4.4vw, 4.65rem);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(41, 38, 102, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.24);
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  border-color: rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--active-solid), transparent 42%), rgba(255, 255, 255, 0.08)),
    rgba(5, 4, 16, 0.4);
  outline: none;
}

.gallery-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.gallery-nav svg {
  width: 1.42rem;
  height: 1.42rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-nav--prev { left: clamp(0.7rem, 2.2vw, 2rem); }
.gallery-nav--next { right: clamp(0.7rem, 2.2vw, 2rem); }

.gallery-bottomline {
  position: absolute;
  left: clamp(1rem, 2vw, 1.8rem);
  right: clamp(1rem, 2vw, 1.8rem);
  bottom: clamp(1rem, 2vw, 1.7rem);
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(7rem, 12rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.4rem);
  padding: 0.72rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(5, 4, 16, 0.42);
  backdrop-filter: blur(18px);
}

.gallery-progress {
  position: relative;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.gallery-progress::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.34rem;
  width: 0.44rem;
  height: 0.44rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transform: rotate(45deg);
}

.gallery-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ffffff, color-mix(in srgb, var(--active-solid), white 28%));
  transition: width 320ms ease;
}

.gallery-thumb-viewport {
  position: relative;
  min-width: 0;
}

.gallery-thumb-viewport::before,
.gallery-thumb-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 2.1rem;
  pointer-events: none;
}

.gallery-thumb-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(12, 11, 31, 0.92), transparent);
}

.gallery-thumb-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(12, 11, 31, 0.92), transparent);
}

.gallery-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(4.2rem, 7vw, 6.5rem);
  gap: 0.42rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  position: relative;
  height: clamp(3rem, 5vw, 4.35rem);
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.48;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.gallery-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 180ms ease, inset 180ms ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.34) contrast(1.04);
  transform: scale(1.02);
  transition: filter 220ms ease, transform 260ms ease;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  opacity: 0.86;
  transform: translateY(-2px);
  outline: none;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img {
  filter: grayscale(0) contrast(1.08);
  transform: scale(1.08);
}

.gallery-thumb.is-active {
  opacity: 1;
}

.gallery-thumb.is-active::before {
  inset: 0.24rem;
  border-color: rgba(255, 255, 255, 0.86);
}

.gallery-thumb.is-active img {
  filter: grayscale(0) contrast(1.08);
}

@media (max-width: 1020px) {
  .gallery-carousel {
    min-height: calc(100svh - var(--nav-h, 5.35rem) - 1.5rem);
  }

  .gallery-collection-strip {
    grid-auto-columns: minmax(16rem, 18rem);
  }

  .gallery-stage {
    min-height: clamp(520px, 68svh, 700px);
  }

  .gallery-frame {
    width: min(100%, calc(62svh * var(--gallery-image-ratio, 1.333)));
    height: min(100%, 62svh);
    max-width: calc(100% - 5rem);
  }
}

@media (max-width: 720px) {
  .gallery-hero {
    min-height: auto;
    padding: 2.2rem 1rem 2.4rem;
    background-position: 58% center;
  }

  .gallery-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .gallery-lead {
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .gallery-studio {
    padding: 1rem 0.72rem 3.5rem;
  }

  .gallery-collections__header {
    padding-inline: 0.1rem;
  }

  .gallery-collection-strip {
    grid-auto-columns: minmax(14rem, 15.6rem);
    gap: 0.52rem;
  }

  .gallery-collection {
    min-height: 7.2rem;
    padding: 0.62rem;
    grid-template-columns: 4.8rem minmax(0, 1fr);
    gap: 0.62rem;
  }

  .gallery-collection__cover img {
    min-height: 5.9rem;
  }

  .gallery-collection__title {
    font-size: 0.86rem;
  }

  .gallery-collection__meta {
    font-size: 0.62rem;
  }

  .gallery-carousel {
    min-height: auto;
    padding: 0.62rem;
  }

  .gallery-carousel__topline {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin: 0.35rem 0.35rem 0.65rem;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
  }

  .gallery-carousel__meta {
    max-width: 100%;
    padding: 0;
  }

  .gallery-carousel h2 {
    font-size: clamp(1.35rem, 8vw, 2.1rem);
  }

  .gallery-carousel p {
    max-width: 18.5rem;
    font-size: 0.76rem;
    display: none;
  }

  .gallery-carousel__meta .gallery-carousel__eyebrow {
    display: inline-flex;
    margin-top: 0;
  }

  .gallery-carousel__meta > p:not(.gallery-carousel__eyebrow) {
    display: inline-block;
    max-width: 15.5rem;
    line-height: 1.7;
  }

  .gallery-carousel__counter {
    min-width: 0;
    text-align: left;
    padding: 0.48rem 0.55rem;
    font-size: 0.95rem;
  }

  .gallery-stage {
    min-height: clamp(330px, 54svh, 470px);
  }

  .gallery-frame {
    width: min(100%, calc(42svh * var(--gallery-image-ratio, 1.333)));
    height: min(100%, 42svh);
    max-width: calc(100% - 1.2rem);
  }

  .gallery-frame__wash {
    inset: -0.55rem;
  }

  .gallery-frame figcaption {
    bottom: -1.55rem;
    font-size: 0.64rem;
  }

  .gallery-nav {
    top: auto;
    bottom: 0.72rem;
    width: 2.74rem;
    height: 2.74rem;
    transform: none;
  }

  .gallery-nav:active {
    transform: scale(0.96);
  }

  .gallery-nav--prev { left: 0.72rem; }
  .gallery-nav--next { right: 0.72rem; }

  .gallery-bottomline {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    grid-template-columns: 1fr;
    gap: 0.68rem;
    padding: 0.62rem;
  }

  .gallery-thumbs {
    grid-auto-columns: 3.7rem;
  }

  .gallery-thumb {
    height: 2.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-collection,
  .gallery-collection::before,
  .gallery-collection::after,
  .gallery-frame img[data-gallery-main-image],
  .gallery-thumb,
  .gallery-thumb::before,
  .gallery-thumb img,
  .gallery-progress span {
    transition: none;
  }
}

/* ============================================================
   Gallery restyle: editorial collections layout
   ============================================================ */
.gallery-page {
  --gallery-ink: #202024;
  --gallery-soft-ink: #6f6b66;
  --gallery-paper: #faf7f1;
  --gallery-panel: #fffdf8;
  --gallery-line: rgba(34, 31, 28, 0.14);
  --gallery-line-soft: rgba(34, 31, 28, 0.08);
  --gallery-gold: #bd8b26;
  --gallery-wine: #8d141e;
  --gallery-blue: #292666;
  color: var(--gallery-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 14rem),
    linear-gradient(118deg, rgba(189, 139, 38, 0.1), transparent 32rem),
    linear-gradient(252deg, rgba(41, 38, 102, 0.09), transparent 34rem),
    var(--gallery-paper);
}

.gallery-main {
  overflow: visible;
}

.gallery-page .wa-float {
  display: none;
}

.gallery-hero {
  min-height: auto;
  padding: clamp(1.05rem, 2.4vw, 1.7rem) 1rem 0;
  display: grid;
  place-items: center;
  background: transparent;
  border-bottom: 0;
  overflow: visible;
}

.gallery-hero::before,
.gallery-hero::after {
  display: none;
}

.gallery-hero__inner {
  width: min(1200px, 100%);
  display: grid;
  justify-items: center;
}

.gallery-kicker {
  margin: 0;
  padding: 0.54rem 1.25rem;
  border: 1px solid var(--gallery-line);
  border-radius: 0.5rem;
  color: var(--gallery-ink);
  background: rgba(255, 253, 248, 0.74);
  box-shadow: 0 10px 34px rgba(32, 28, 24, 0.05);
  backdrop-filter: blur(10px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}

.gallery-hero .gallery-lead {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gallery-studio {
  padding: clamp(0.75rem, 1.6vw, 1.15rem) clamp(1rem, 3.2vw, 2.5rem) clamp(3rem, 6vw, 5rem);
}

.gallery-studio::before {
  display: none;
}

.gallery-studio__shell {
  width: min(1580px, 100%);
  display: grid;
  grid-template-columns: minmax(21.5rem, 28.5rem) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  height: auto;
  min-height: 620px;
  border: 1px solid var(--gallery-line);
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--gallery-panel), #ffffff 46%);
  box-shadow: 0 24px 66px rgba(34, 31, 28, 0.13);
  overflow: hidden;
}

.gallery-collections {
  grid-column: 1;
  grid-row: 1 / 3;
  min-height: 0;
  margin: 0;
  padding: clamp(1.35rem, 2.2vw, 2.15rem);
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.45rem);
  border-right: 1px solid var(--gallery-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.2)),
    #fbf7ef;
}

.gallery-album-heading {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: clamp(0.9rem, 1.8vw, 1.25rem) clamp(1.25rem, 3.5vw, 3rem) 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.16)), #fbf8f2;
}

.gallery-album-copy {
  position: relative;
  margin: 0;
  display: grid;
  gap: 0.42rem;
  padding-left: 1.25rem;
}

.gallery-album-copy__title,
.gallery-album-copy__body {
  margin: 0;
}

.gallery-album-copy__title {
  color: color-mix(in srgb, var(--gallery-ink), var(--gallery-soft-ink) 34%);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(0.88rem, 1.05vw, 1.02rem);
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0.025em;
}

.gallery-album-copy__body {
  max-width: 112ch;
  color: color-mix(in srgb, var(--gallery-soft-ink), var(--gallery-ink) 18%);
  font-size: clamp(0.76rem, 0.78vw, 0.86rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.gallery-album-copy::before {
  content: "";
  position: absolute;
  top: 0.12rem;
  bottom: 0.12rem;
  left: 0;
  width: 0.22rem;
  border-radius: 999px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--album-color, var(--gallery-gold)), white 18%), color-mix(in srgb, var(--album-color, var(--gallery-gold)), transparent 76%));
}

.gallery-album-heading::after {
  content: "";
  display: block;
  width: 100%;
  height: 0.1rem;
  margin-top: clamp(0.55rem, 1vw, 0.72rem);
  border-radius: 999px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--album-color, var(--gallery-gold)), transparent 48%), color-mix(in srgb, var(--gallery-line), transparent 36%) 38%, transparent 88%);
  opacity: 0.72;
}

.gallery-collections__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--gallery-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gallery-collections__brand img {
  width: 2.15rem;
  height: 2.15rem;
  object-fit: contain;
}

.gallery-collections__header {
  display: grid;
  justify-content: start;
  gap: 0.5rem;
  margin: 0;
  color: var(--gallery-soft-ink);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.62;
  letter-spacing: 0;
  text-transform: none;
}

.gallery-collections__header span {
  color: var(--gallery-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 1.7vw, 1.65rem);
  font-weight: 400;
  line-height: 1.1;
}

.gallery-collections__header p {
  max-width: 17.5rem;
  margin: 0;
}

.gallery-collection-strip {
  --active-solid: var(--gallery-gold);
  min-height: 0;
  display: grid;
  grid-auto-flow: row;
  grid-auto-columns: auto;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 0.68rem;
  padding: 0.1rem 0.45rem 0.1rem 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-block: contain;
  scrollbar-width: none;
}

.gallery-collection-strip::-webkit-scrollbar {
  display: none;
}

.gallery-collection {
  --collection-color: var(--gallery-gold);
  min-height: 6rem;
  padding: 0.66rem 2.45rem 0.66rem 0.72rem;
  display: grid;
  grid-template-columns: 5.6rem minmax(0, 1fr);
  align-items: center;
  gap: 0.95rem;
  border: 1px solid var(--gallery-line-soft);
  border-radius: 0.5rem;
  color: var(--gallery-ink);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: none;
  overflow: hidden;
  transform: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.gallery-collection::before,
.gallery-collection::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.gallery-collection::before {
  left: 0;
  top: 0;
  width: 0.22rem;
  height: 100%;
  background: var(--gallery-gold);
  opacity: 1;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 180ms ease;
}

.gallery-collection::after {
  content: "›";
  right: 1rem;
  top: 50%;
  bottom: auto;
  width: auto;
  height: auto;
  border: 0;
  color: rgba(32, 32, 36, 0.48);
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1;
  opacity: 1;
  transform: translateY(-50%);
  transition: color 180ms ease, transform 180ms ease;
}

.gallery-collection:hover,
.gallery-collection:focus-visible {
  color: var(--gallery-ink);
  border-color: rgba(189, 139, 38, 0.34);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 14px 30px rgba(34, 31, 28, 0.08);
  outline: none;
  transform: translateX(0.12rem);
}

.gallery-collection:hover::before,
.gallery-collection:focus-visible::before,
.gallery-collection.is-active::before {
  transform: scaleY(1);
}

.gallery-collection:hover::after,
.gallery-collection:focus-visible::after {
  color: var(--gallery-gold);
  transform: translate(0.12rem, -50%);
}

.gallery-collection.is-active {
  color: var(--gallery-ink);
  border-color: rgba(189, 139, 38, 0.46);
  background: #fffefa;
  box-shadow: 0 12px 28px rgba(34, 31, 28, 0.08);
}

.gallery-collection.is-active::after {
  content: "";
  right: 1.13rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--gallery-gold);
  transform: translateY(-50%);
}

.gallery-collection__cover {
  height: 4.55rem;
  border: 0;
  border-radius: 0.4rem;
  background: #ece5da;
}

.gallery-collection__cover::after {
  background: linear-gradient(180deg, transparent 48%, rgba(16, 14, 12, 0.18));
  mix-blend-mode: multiply;
  opacity: 0.34;
}

.gallery-collection__cover img {
  min-height: 0;
  height: 100%;
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1);
}

.gallery-collection:hover .gallery-collection__cover img,
.gallery-collection:focus-visible .gallery-collection__cover img,
.gallery-collection.is-active .gallery-collection__cover img {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.04);
}

.gallery-collection__content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  column-gap: 0.64rem;
  row-gap: 0.36rem;
}

.gallery-collection__index {
  grid-column: 1;
  color: rgba(32, 32, 36, 0.66);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
}

.gallery-collection__title {
  grid-column: 2;
  max-width: none;
  color: var(--gallery-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.92rem, 1vw, 1.05rem);
  font-weight: 400;
  line-height: 1.18;
}

.gallery-collection__meta {
  grid-column: 2;
  margin: 0;
  color: var(--gallery-soft-ink);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.35;
}

.gallery-collections__footer {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-height: 2rem;
  color: rgba(32, 32, 36, 0.68);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.gallery-collections__stack {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--gallery-blue);
}

.gallery-collections__stack svg {
  width: 1.08rem;
  height: 1.08rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-carousel {
  --active-solid: var(--gallery-gold);
  --active-hue: var(--gallery-gold);
  grid-column: 2;
  grid-row: 2;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: clamp(0.85rem, 1.8vw, 1.25rem);
  padding: clamp(0.9rem, 1.8vw, 1.25rem) clamp(1.25rem, 3.5vw, 3rem) clamp(1.8rem, 3.8vw, 3.15rem);
  border: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.16)), #fbf8f2;
  box-shadow: none;
  overflow: hidden;
}

.gallery-carousel::before,
.gallery-carousel::after,
.gallery-carousel__grid {
  display: none;
}

.gallery-stage {
  order: 1;
  min-height: 0;
  height: clamp(22.5rem, 41svh, 29rem);
  display: grid;
  place-items: stretch;
  border: 0;
  border-radius: 0.85rem;
  background: #e9e1d7;
  box-shadow: 0 16px 38px rgba(34, 31, 28, 0.1);
  overflow: hidden;
}

.gallery-stage::before {
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(15, 14, 13, 0.22), transparent 14%, transparent 86%, rgba(15, 14, 13, 0.2)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%);
}

.gallery-frame__wash {
  display: none;
}

.gallery-backdrop {
  display: block;
  inset: -2rem;
  width: calc(100% + 4rem);
  height: calc(100% + 4rem);
  opacity: 0.3;
  filter: blur(24px) saturate(0.82);
  transform: scale(1.06);
}

.gallery-frame {
  z-index: 2;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  display: block;
  border-radius: inherit;
}

.gallery-frame img[data-gallery-main-image] {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: inherit;
  object-fit: contain;
  background: rgba(26, 24, 22, 0.2);
  box-shadow: none;
  transform: none;
}

.gallery-carousel.is-switching .gallery-frame img[data-gallery-main-image] {
  transform: translateY(0.35rem) scale(0.985);
  filter: blur(4px) saturate(0.9);
}

.gallery-nav {
  top: 50%;
  width: clamp(2.85rem, 4.2vw, 3.75rem);
  height: clamp(2.85rem, 4.2vw, 3.75rem);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 15, 16, 0.62);
  box-shadow: 0 10px 24px rgba(14, 12, 10, 0.22);
  backdrop-filter: blur(12px);
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(15, 15, 16, 0.76);
}

.gallery-nav svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke-width: 2.35;
}

.gallery-nav--prev {
  left: clamp(1rem, 2vw, 2.05rem);
}

.gallery-nav--next {
  right: clamp(1rem, 2vw, 2.05rem);
}

.gallery-bottomline {
  order: 2;
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.gallery-progress {
  display: none;
}

.gallery-thumb-viewport {
  max-width: min(100%, 34rem);
}

.gallery-thumb-viewport::before,
.gallery-thumb-viewport::after {
  display: none;
}

.gallery-thumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.62rem;
  padding: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 0.62rem;
  height: 0.62rem;
  border: 0;
  border-radius: 999px;
  background: rgba(32, 32, 36, 0.14);
  opacity: 1;
  transform: none;
}

.gallery-thumb::before,
.gallery-thumb img {
  display: none;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  background: rgba(189, 139, 38, 0.48);
  opacity: 1;
  outline: none;
  transform: none;
}

.gallery-thumb.is-active {
  width: 0.72rem;
  height: 0.72rem;
  background: var(--gallery-gold);
}

.gallery-carousel__topline {
  order: 3;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: start;
  gap: 0.85rem;
  width: min(880px, 100%);
  margin: 0 auto;
  text-align: center;
  pointer-events: auto;
}

.gallery-carousel__meta {
  width: min(760px, 100%);
  max-width: none;
  display: grid;
  justify-items: center;
  gap: 0.68rem;
}

.gallery-carousel__eyebrow {
  padding: 0;
  border: 0;
  color: var(--gallery-gold);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.gallery-carousel__eyebrow::before {
  display: none;
}

.gallery-carousel h2.gallery-sr-title {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
}

.gallery-carousel h2 {
  max-width: 780px;
  color: var(--gallery-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.35vw, 3.2rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.gallery-carousel p {
  max-width: 680px;
  color: var(--gallery-soft-ink);
  font-size: clamp(0.98rem, 1.28vw, 1.14rem);
  font-weight: 550;
  line-height: 1.62;
}

.gallery-carousel__meta > p:not(.gallery-carousel__eyebrow) {
  display: block;
  width: fit-content;
  max-width: min(680px, 100%);
  padding: 0.58rem 1.1rem 0.64rem;
  color: color-mix(in srgb, var(--gallery-ink), var(--gallery-soft-ink) 34%);
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--gallery-gold), transparent 91%) 18%,
    color-mix(in srgb, var(--gallery-gold), transparent 91%) 82%,
    transparent
  );
  border-radius: 0.65rem;
  text-shadow: none;
  backdrop-filter: none;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.gallery-carousel__year {
  display: inline-block;
  margin-right: 0.12em;
  color: var(--wine-red);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.025em;
}

.gallery-carousel__counter {
  display: none;
}

@media (max-width: 1180px) {
  .gallery-studio__shell {
    grid-template-columns: minmax(19.5rem, 23rem) minmax(0, 1fr);
  }

  .gallery-stage {
    height: clamp(22.5rem, 44svh, 29rem);
  }

  .gallery-carousel {
    padding: clamp(0.9rem, 1.8vw, 1.15rem) clamp(1.15rem, 2.5vw, 2rem) clamp(1.15rem, 2.5vw, 2rem);
  }
}

@media (max-width: 940px) {
  .gallery-studio__shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
    min-height: 0;
  }

  .gallery-collections {
    grid-column: 1;
    grid-row: 1;
    grid-template-rows: auto;
    border-right: 0;
    border-bottom: 1px solid var(--gallery-line);
  }

  .gallery-album-heading {
    grid-column: 1;
    grid-row: 2;
  }

  .gallery-carousel {
    grid-column: 1;
    grid-row: 3;
  }

  .gallery-collections__header p {
    max-width: 34rem;
  }

  .gallery-collection-strip {
    grid-auto-flow: column;
    grid-auto-columns: minmax(17rem, 19rem);
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.15rem 0 0.55rem;
    scrollbar-width: none;
  }

  .gallery-collection-strip::-webkit-scrollbar {
    display: none;
  }

  .gallery-stage {
    height: clamp(21.5rem, 48svh, 31rem);
  }
}

@media (max-width: 720px) {
  .gallery-hero {
    padding: 1rem 0.85rem 0;
  }

  .gallery-kicker {
    font-size: clamp(1.05rem, 7vw, 1.45rem);
  }

  .gallery-studio {
    padding: 1rem 0.72rem 3.25rem;
  }

  .gallery-studio__shell {
    border-radius: 0.5rem;
  }

  .gallery-collections {
    padding: 1.05rem;
    gap: 0.9rem;
  }

  .gallery-album-heading {
    padding: 0.9rem 0.86rem 0;
  }

  .gallery-album-copy {
    gap: 0.38rem;
    padding-left: 1rem;
  }

  .gallery-album-copy__title {
    font-size: clamp(0.84rem, 3.7vw, 0.96rem);
    line-height: 1.4;
    letter-spacing: 0.018em;
  }

  .gallery-album-copy__body {
    max-width: none;
    font-size: clamp(0.75rem, 3.2vw, 0.84rem);
    line-height: 1.52;
  }

  .gallery-collections__brand {
    font-size: 0.95rem;
  }

  .gallery-collections__brand img {
    width: 1.9rem;
    height: 1.9rem;
  }

  .gallery-collections__header {
    padding: 0;
  }

  .gallery-collection-strip {
    grid-auto-columns: minmax(15.5rem, 16.8rem);
    gap: 0.55rem;
  }

  .gallery-collection {
    min-height: 6.35rem;
    padding: 0.58rem 2.2rem 0.58rem 0.6rem;
    grid-template-columns: 4.75rem minmax(0, 1fr);
    gap: 0.68rem;
  }

  .gallery-collection__cover {
    height: 4.75rem;
  }

  .gallery-collection__title {
    font-size: 0.88rem;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .gallery-collection__meta {
    font-size: 0.68rem;
  }

  .gallery-collections__footer {
    font-size: 0.74rem;
    gap: 0.54rem;
  }

  .gallery-carousel {
    gap: 0.72rem;
    padding: 0.86rem 0.86rem 1.35rem;
  }

  .gallery-stage {
    height: clamp(17.5rem, 48svh, 27rem);
    border-radius: 0.7rem;
  }

  .gallery-nav {
    top: 50%;
    bottom: auto;
    width: 2.65rem;
    height: 2.65rem;
    transform: translateY(-50%);
  }

  .gallery-nav:active {
    transform: translateY(-50%) scale(0.96);
  }

  .gallery-nav--prev {
    left: 0.72rem;
  }

  .gallery-nav--next {
    right: 0.72rem;
  }

  .gallery-thumbs {
    justify-content: flex-start;
    max-width: calc(100vw - 4rem);
  }

  .gallery-carousel__topline {
    gap: 0.62rem;
  }

  .gallery-carousel h2 {
    font-size: clamp(1.55rem, 8vw, 2.25rem);
  }

  .gallery-carousel p {
    max-width: 100%;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .gallery-carousel__meta > p:not(.gallery-carousel__eyebrow) {
    padding: 0.5rem 0.72rem 0.56rem;
  }
}

@media (max-width: 460px) {
  .gallery-collection-strip {
    grid-auto-columns: minmax(14rem, 15.2rem);
  }

  .gallery-stage {
    height: clamp(16rem, 44svh, 23rem);
  }

  .gallery-nav {
    width: 2.38rem;
    height: 2.38rem;
  }

  .gallery-nav svg {
    width: 1.08rem;
    height: 1.08rem;
  }
}

/* Published hero restored */
.gallery-page .gallery-hero {
  position: relative;
  display: flex;
  align-items: end;
  min-height: min(76svh, 760px);
  padding: clamp(2rem, 5vw, 5.2rem) clamp(1.2rem, 5vw, 5rem) clamp(1.1rem, 2.4vw, 2rem);
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(14, 13, 55, 0.92), rgba(20, 17, 67, 0.76) 34%, rgba(20, 17, 67, 0.48) 78%),
    linear-gradient(180deg, rgba(20, 17, 67, 0.1), rgba(20, 17, 67, 0.82)),
    url("../image/optimized/gallery/display/00 2024 CORRIENTES Congreso NEA mesa libro sin marco ni texto.webp");
  background-position: 0 0, 0 0, center 1rem;
  background-size: auto, auto, max(90%, 68rem) auto;
  background-repeat: repeat, repeat, no-repeat;
  border-bottom: 3px solid var(--wine-red);
}

.gallery-page .gallery-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 5.2rem 5.2rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 86%);
  opacity: 0.46;
}

.gallery-page .gallery-hero::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 7vw, 6rem);
  bottom: clamp(1rem, 5vw, 4rem);
  z-index: -1;
  display: block;
  width: min(34vw, 26rem);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.26);
  transform: rotate(4deg);
  opacity: 0.5;
}

.gallery-page .gallery-hero__inner {
  width: min(1220px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
}

.gallery-page .gallery-kicker {
  width: fit-content;
  margin: 0 auto 1.1rem 0;
  justify-self: start;
  padding: 0.48rem 0.76rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: blur(14px);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.gallery-page .gallery-hero .gallery-lead {
  position: relative;
  isolation: isolate;
  width: fit-content;
  height: auto;
  max-width: 100%;
  padding: 0.18rem 0;
  margin: 0 auto 0 0;
  justify-self: start;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.9);
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  font-size: clamp(1.18rem, 1.7vw, 1.78rem);
  line-height: 1.38;
  font-weight: 450;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 16px rgba(6, 5, 26, 0.54);
  text-wrap: balance;
}

.gallery-page .gallery-hero .gallery-lead::after {
  content: "";
  position: absolute;
  inset: -0.72rem -2.8rem -0.76rem -1rem;
  z-index: -1;
  border-radius: 1rem;
  background:
    linear-gradient(90deg, rgba(215, 217, 196, 0.5), rgba(215, 217, 196, 0.08) 72%, transparent) top / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(189, 139, 38, 0.38), rgba(189, 139, 38, 0.06) 66%, transparent) bottom / 92% 1px no-repeat,
    linear-gradient(100deg, rgba(20, 17, 67, 0.7), rgba(41, 39, 89, 0.36) 58%, transparent 100%);
  box-shadow: 0 14px 42px rgba(6, 5, 26, 0.2);
  backdrop-filter: blur(14px) saturate(0.92);
  -webkit-backdrop-filter: blur(14px) saturate(0.92);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
  pointer-events: none;
}

.gallery-page .gallery-hero .gallery-lead__accent {
  color: color-mix(in srgb, var(--gallery-gold), white 44%);
  font-weight: 750;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .gallery-page .gallery-hero {
    min-height: clamp(13rem, 56vw, 25rem);
    padding: 0.75rem 0.85rem 0.6rem;
    background-position: 0 0, 0 0, center center;
    background-size: auto, auto, 100% auto;
  }

  .gallery-page .gallery-hero .gallery-lead {
    width: auto;
    max-width: 100%;
    padding: 0.12rem 0;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.92);
    background: none;
    box-shadow: none;
    font-size: clamp(1rem, 4.25vw, 1.2rem);
    line-height: 1.36;
    font-weight: 450;
    letter-spacing: -0.025em;
    white-space: normal;
    text-shadow: 0 2px 14px rgba(6, 5, 26, 0.56);
    backdrop-filter: none;
  }

  .gallery-page .gallery-hero .gallery-lead::after {
    inset: -0.56rem -1rem -0.6rem -0.72rem;
    border-radius: 0.8rem;
    background:
      linear-gradient(90deg, rgba(215, 217, 196, 0.44), rgba(215, 217, 196, 0.06) 74%, transparent) top / 100% 1px no-repeat,
      linear-gradient(90deg, rgba(189, 139, 38, 0.32), rgba(189, 139, 38, 0.05) 68%, transparent) bottom / 94% 1px no-repeat,
      linear-gradient(100deg, rgba(20, 17, 67, 0.68), rgba(41, 39, 89, 0.3) 62%, transparent 100%);
    box-shadow: 0 10px 30px rgba(6, 5, 26, 0.18);
    backdrop-filter: blur(11px) saturate(0.94);
    -webkit-backdrop-filter: blur(11px) saturate(0.94);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
  }

}
