.cc_b3eorip4_UVDxwCF1Bq .sg-ig__list { --sg-gap: var(--ig-gap, 12px); }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig__ctl { margin-top: 24px; }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig__cell { position: relative; min-width: 0; border-radius: var(--sg-r-media); }
/* the tile (child component or quick image) fills its cell, through the renderer wrappers */
.cc_b3eorip4_UVDxwCF1Bq .sg-ig__cell > [id], .cc_b3eorip4_UVDxwCF1Bq .sg-ig__cell > [id] > [id] { position: absolute; inset: 0; }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig__cell .sg-gi, .cc_b3eorip4_UVDxwCF1Bq .sg-ig__cell > .sg-gt { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig__list--empty { pointer-events: none; opacity: 0.7; }

/* hover: caption rises in, veil fades in, image zooms */
@media (hover: hover) {
  .cc_b3eorip4_UVDxwCF1Bq .sg-ig--hover-cap .sg-gt { --gt-cap: 0; --gt-cap-y: 14px; --gt-veil: 0; }
  .cc_b3eorip4_UVDxwCF1Bq .sg-ig--hover-cap .sg-gt:hover, .cc_b3eorip4_UVDxwCF1Bq .sg-ig--hover-cap .sg-gt:focus-visible { --gt-cap: 1; --gt-cap-y: 0px; --gt-veil: 1; }
  .cc_b3eorip4_UVDxwCF1Bq .sg-ig--zoom .sg-gt:hover .sg-gt__frame .sg-mf__img, .cc_b3eorip4_UVDxwCF1Bq .sg-ig--zoom .sg-gt:hover .sg-gt__frame .sg-mf__video { transform: scale(1.07); }
}
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--no-lb .sg-gt--lb { cursor: default; }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--no-lb .sg-gt--lb .sg-gt__icon { display: none; }

/* ---------- grid-based layouts ---------- */
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--bento .sg-ig__list, .cc_b3eorip4_UVDxwCF1Bq .sg-ig--instagram .sg-ig__list, .cc_b3eorip4_UVDxwCF1Bq .sg-ig--uniform .sg-ig__list {
  display: grid;
  gap: var(--sg-gap);
  grid-template-columns: repeat(var(--sg-cols, 4), minmax(0, 1fr));
  grid-auto-flow: dense;
}

/* bento: fixed row height, tiles span 1–2 cols / rows */
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--bento .sg-ig__list { grid-auto-rows: var(--ig-row, 260px); }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--bento .sg-ig__cell:has(.sg-gi--2x1) { grid-column: span 2; }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--bento .sg-ig__cell:has(.sg-gi--1x2) { grid-row: span 2; }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--bento .sg-ig__cell:has(.sg-gi--2x2) { grid-column: span 2; grid-row: span 2; }
/* quick images get a built-in rhythm */
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--bento .sg-ig__cell--auto:nth-child(7n + 1) { grid-column: span 2; grid-row: span 2; }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--bento .sg-ig__cell--auto:nth-child(7n + 5) { grid-row: span 2; }

/* instagram: first tile 2×2, the rest square */
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--instagram .sg-ig__cell { aspect-ratio: 1 / 1; }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--instagram .sg-ig__cell:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* uniform: every tile the same ratio */
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--uniform .sg-ig__cell, .cc_b3eorip4_UVDxwCF1Bq .sg-ig--rail .sg-ig__cell { aspect-ratio: var(--ig-ar, 1 / 1); }

/* masonry: natural image ratios in columns */
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--masonry .sg-ig__list { columns: var(--sg-cols, 4); column-gap: var(--sg-gap); }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--masonry .sg-ig__cell { break-inside: avoid; margin-bottom: var(--sg-gap); }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--masonry .sg-ig__cell > [id], .cc_b3eorip4_UVDxwCF1Bq .sg-ig--masonry .sg-ig__cell > [id] > [id], .cc_b3eorip4_UVDxwCF1Bq .sg-ig--masonry .sg-ig__cell .sg-gi, .cc_b3eorip4_UVDxwCF1Bq .sg-ig--masonry .sg-ig__cell > .sg-gt { position: relative; inset: auto; height: auto; }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--masonry .sg-gt { min-height: 160px; }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--masonry .sg-gt__frame { position: relative; inset: auto; height: auto; }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--masonry .sg-gt__frame .sg-mf__img, .cc_b3eorip4_UVDxwCF1Bq .sg-ig--masonry .sg-gt__frame .sg-mf__video { height: auto; }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--masonry .sg-gt__frame .sg-media__empty { position: relative; min-height: 200px; }

.cc_b3eorip4_UVDxwCF1Bq .sg-ig--rail .sg-ig__list { padding-bottom: 4px; }

@media (max-width: 1023px) {
  .cc_b3eorip4_UVDxwCF1Bq .sg-ig--bento .sg-ig__list, .cc_b3eorip4_UVDxwCF1Bq .sg-ig--instagram .sg-ig__list, .cc_b3eorip4_UVDxwCF1Bq .sg-ig--uniform .sg-ig__list { grid-template-columns: repeat(var(--sg-cols-t, 3), minmax(0, 1fr)); }
  .cc_b3eorip4_UVDxwCF1Bq .sg-ig--masonry .sg-ig__list { columns: var(--sg-cols-t, 3); }
  .cc_b3eorip4_UVDxwCF1Bq .sg-ig--rail .sg-ig__list { margin-right: calc(var(--sg-gutter) * -1); padding-right: var(--sg-gutter); }
}
@media (max-width: 767px) {
  .cc_b3eorip4_UVDxwCF1Bq .sg-ig__list { --sg-gap: var(--ig-gap-m, var(--ig-gap, 8px)); }
  .cc_b3eorip4_UVDxwCF1Bq .sg-ig--bento .sg-ig__list, .cc_b3eorip4_UVDxwCF1Bq .sg-ig--instagram .sg-ig__list, .cc_b3eorip4_UVDxwCF1Bq .sg-ig--uniform .sg-ig__list { grid-template-columns: repeat(var(--sg-cols-m, 2), minmax(0, 1fr)); }
  .cc_b3eorip4_UVDxwCF1Bq .sg-ig--bento .sg-ig__list { grid-auto-rows: var(--ig-row-m, calc(var(--ig-row, 260px) * 0.62)); }
  .cc_b3eorip4_UVDxwCF1Bq .sg-ig--masonry .sg-ig__list { columns: var(--sg-cols-m, 2); }
  /* wide tiles take the full row (never create an extra implicit column) */
  .cc_b3eorip4_UVDxwCF1Bq .sg-ig--bento .sg-ig__cell:has(.sg-gi--2x1), .cc_b3eorip4_UVDxwCF1Bq .sg-ig--bento .sg-ig__cell:has(.sg-gi--2x2), .cc_b3eorip4_UVDxwCF1Bq .sg-ig--bento .sg-ig__cell--auto:nth-child(7n + 1), .cc_b3eorip4_UVDxwCF1Bq .sg-ig--instagram .sg-ig__cell:first-child { grid-column: 1 / -1; }
}

/* editor-only empty hint */
.cc_b3eorip4_UVDxwCF1Bq .sg-ig__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 18px 20px;
  border: 1px dashed var(--sg-line);
  border-radius: var(--sg-r-card);
  color: var(--sg-ink-2);
  text-align: center;
}

/* caption bar: always-visible gradient strip along the bottom, title left, arrow right */
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--cap-bar .sg-gt { --gt-veil: 0.35; }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--cap-bar .sg-gt__cap {
  left: 10px;
  right: 10px;
  bottom: 10px;
  min-height: 58px;
  align-content: center;
  padding: 10px 62px 10px 18px;
  border-radius: calc(var(--sg-r-media) * 0.6);
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--sg-accent) 82%, #000) 0%,
    color-mix(in srgb, var(--sg-accent) 62%, transparent) 62%,
    color-mix(in srgb, var(--sg-accent) 20%, transparent) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 10px 28px -14px rgba(0, 0, 0, 0.55);
  transition: padding-left calc(500ms * var(--sg-speed, 1)) var(--sg-ease-out), box-shadow var(--sg-t-mid) var(--sg-ease-out);
}
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--cap-bar .sg-gt__title {
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: var(--sgt-title-transform, none);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--cap-bar .sg-gt__sub { font-size: 12.5px; opacity: 0.82; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--cap-bar .sg-gt--link .sg-gt__icon {
  top: auto;
  right: 19px;
  bottom: 19px;
  width: 40px;
  height: 40px;
  opacity: 1;
  transform: none;
  background: #fff;
  color: var(--sg-ink);
}
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--cap-bar .sg-gt--link .sg-gt__icon svg { transition: transform calc(450ms * var(--sg-speed, 1)) var(--sg-ease-spring); }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--cap-bar .sg-gt:not(.sg-gt--link) .sg-gt__cap { padding-right: 18px; }
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--cap-bar .sg-gt:not(.sg-gt--link) .sg-gt__icon { display: none; }
@media (hover: hover) {
  .cc_b3eorip4_UVDxwCF1Bq .sg-ig--cap-bar .sg-gt--link:hover .sg-gt__cap { padding-left: 24px; box-shadow: 0 14px 32px -12px rgba(0, 0, 0, 0.6); }
  .cc_b3eorip4_UVDxwCF1Bq .sg-ig--cap-bar .sg-gt--link:hover .sg-gt__icon svg { transform: rotate(45deg); }
}
.cc_b3eorip4_UVDxwCF1Bq .sg-ig--cap-bar .sg-gt--link:focus-visible .sg-gt__icon svg { transform: rotate(45deg); }
@media (max-width: 767px) {
  .cc_b3eorip4_UVDxwCF1Bq .sg-ig--cap-bar .sg-gt__cap { left: 8px; right: 8px; bottom: 8px; min-height: 52px; padding: 8px 56px 8px 14px; }
  .cc_b3eorip4_UVDxwCF1Bq .sg-ig--cap-bar .sg-gt--link .sg-gt__icon { right: 16px; bottom: 14px; width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc_b3eorip4_UVDxwCF1Bq .sg-ig--cap-bar .sg-gt__cap, .cc_b3eorip4_UVDxwCF1Bq .sg-ig--cap-bar .sg-gt__icon svg { transition: none; }
}

/* Root is a native <dialog> shown with showModal() (lib/dialog) → top layer.
   Reset the UA dialog box (margin:auto, border, fit-content size, max-size). */
.cc_b3eorip4_UVDxwCF1Bq .sg-lbx {
  position: fixed;
  inset: 0;
  z-index: var(--sg-z-drawer, 400);
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 72px 88px;
  border: 0;
  overflow: hidden;
  background: rgba(8, 10, 12, 0.92);
  color: #fff;
  touch-action: pan-y;
  animation: cc_b3eorip4_sg-fade-in calc(260ms * var(--sg-speed, 1)) ease-out both;
}
/* before showModal() runs: the display above would beat the UA's dialog:not([open]) */
.cc_b3eorip4_UVDxwCF1Bq .sg-lbx:not([open]) { display: none; }
/* the dialog itself is the dim — no second layer underneath */
.cc_b3eorip4_UVDxwCF1Bq .sg-lbx::backdrop { background: transparent; }
.cc_b3eorip4_UVDxwCF1Bq .sg-lbx__stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  animation: cc_b3eorip4_UVDxwCF1Bq_sg-lb-in calc(480ms * var(--sg-speed, 1)) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.cc_b3eorip4_UVDxwCF1Bq .sg-lbx__img {
  display: block;
  max-width: min(100%, 1400px);
  max-height: calc(100vh - 170px);
  max-height: calc(100svh - 170px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: calc(var(--sg-r-media, 16px) * 0.5);
  user-select: none;
}
.cc_b3eorip4_UVDxwCF1Bq .sg-lbx__caption { font-size: var(--sg-fs-sm); color: rgba(255, 255, 255, 0.78); text-align: center; }
.cc_b3eorip4_UVDxwCF1Bq .sg-lbx__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background var(--sg-t-fast), transform var(--sg-t-fast) var(--sg-ease-out), border-color var(--sg-t-fast);
}
.cc_b3eorip4_UVDxwCF1Bq .sg-lbx__btn svg { width: 22px; height: 22px; }
@media (hover: hover) { .cc_b3eorip4_UVDxwCF1Bq .sg-lbx__btn:hover { background: #fff; color: var(--sg-ink); border-color: #fff; } }
.cc_b3eorip4_UVDxwCF1Bq .sg-lbx__btn:active { transform: scale(0.92); }
.cc_b3eorip4_UVDxwCF1Bq .sg-lbx__close { top: 18px; right: 18px; }
.cc_b3eorip4_UVDxwCF1Bq .sg-lbx__nav { top: 50%; margin-top: -26px; }
.cc_b3eorip4_UVDxwCF1Bq .sg-lbx__nav--prev { left: 22px; }
.cc_b3eorip4_UVDxwCF1Bq .sg-lbx__nav--next { right: 22px; }
.cc_b3eorip4_UVDxwCF1Bq .sg-lbx__count { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; font-size: var(--sg-fs-sm); letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.8); }

@keyframes cc_b3eorip4_UVDxwCF1Bq_sg-lb-in {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 767px) {
  .cc_b3eorip4_UVDxwCF1Bq .sg-lbx { padding: 64px 12px 72px; }
  .cc_b3eorip4_UVDxwCF1Bq .sg-lbx__img { max-height: calc(100vh - 150px); max-height: calc(100svh - 150px); }
  .cc_b3eorip4_UVDxwCF1Bq .sg-lbx__nav { top: auto; bottom: 12px; margin-top: 0; width: 46px; height: 46px; }
  .cc_b3eorip4_UVDxwCF1Bq .sg-lbx__nav--prev { left: 12px; }
  .cc_b3eorip4_UVDxwCF1Bq .sg-lbx__nav--next { right: 12px; }
  .cc_b3eorip4_UVDxwCF1Bq .sg-lbx__count { bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .cc_b3eorip4_UVDxwCF1Bq .sg-lbx, .cc_b3eorip4_UVDxwCF1Bq .sg-lbx__stage { animation: none; }
}
