/* =========================================================
   SHINE THROUGH AUTISM
   PREMIUM GALLERY / PHOTO ALBUM
   Visual layer only Ã¢â‚¬â€ does not change Gallery behaviour
   ========================================================= */

.sta-gallery {
  --sta-navy: #0c3d5c;
  --sta-navy-deep: #07283d;
  --sta-navy-soft: #164f70;
  --sta-cyan: #1fadc0;
  --sta-cyan-soft: #dff6f8;
  --sta-gold: #c9a227;
  --sta-gold-light: #ead78e;
  --sta-green: #2f8f6b;
  --sta-ink: #1c2d3a;
  --sta-muted: #5b6b76;
  --sta-cream: #f6f3ec;
  --sta-white: #ffffff;

  --sta-serif:
    var(--font-sta-serif),
    "Cormorant Garamond",
    "Times New Roman",
    serif;

  --sta-sans:
    var(--font-sta-sans),
    "Source Sans 3",
    "Segoe UI",
    sans-serif;

  margin: 0;
  color: var(--sta-ink);
  font-family: var(--sta-sans);

  background:
    radial-gradient(
      900px 400px at 5% 0%,
      rgba(31, 173, 192, 0.12),
      transparent 58%
    ),
    radial-gradient(
      700px 360px at 100% 30%,
      rgba(201, 162, 39, 0.07),
      transparent 62%
    ),
    linear-gradient(
      180deg,
      #fbfdfe 0%,
      #f5f8f8 48%,
      #f7f4ed 100%
    );

  overflow-x: clip;
}


/* =========================================================
   GLOBAL
   ========================================================= */

.sta-gallery *,
.sta-gallery *::before,
.sta-gallery *::after {
  box-sizing: border-box;
}

.sta-gallery img {
  max-width: 100%;
  height: auto;
}

.sta-gallery button {
  font-family: inherit;
}

.sta-gallery a {
  color: inherit;
}


/* =========================================================
   OPTIONAL TOP BAR
   ========================================================= */

.sta-gallery__bar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(12, 61, 92, 0.08);
  box-shadow: 0 5px 25px rgba(12, 61, 92, 0.04);
}

.sta-gallery__bar-inner {
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 1rem;
  padding: 0.9rem 0;
}

.sta-gallery__brand {
  display: flex;
  align-items: center;

  min-width: 0;
  text-decoration: none;
}

.sta-gallery__brand img {
  width: min(100%, 13.5rem);
  height: auto;
  max-height: 4.25rem;

  object-fit: contain;
  object-position: left center;
}

.sta-gallery__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;

  gap: 1.1rem;

  font-size: 0.92rem;
  font-weight: 600;

  color: var(--sta-navy);
}


/* =========================================================
   PAGE
   ========================================================= */

.sta-gallery__wrap {
  width: min(1180px, calc(100% - 1.5rem));

  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.sta-gallery__eyebrow {
  margin: 0;

  color: var(--sta-cyan);

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;

  text-transform: uppercase;
}

.sta-gallery__title {
  margin: 0.35rem 0 0;

  font-family: var(--sta-serif);
  font-size: clamp(2.25rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.05;

  color: var(--sta-navy);
}

.sta-gallery__lead {
  margin: 0.65rem 0 0;

  font-family: var(--sta-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-style: italic;

  color: var(--sta-navy-soft);
}

.sta-gallery__intro,
.sta-gallery__note {
  max-width: 48rem;

  margin: 0.9rem 0 0;

  color: var(--sta-muted);

  line-height: 1.7;
}

.sta-gallery__note {
  font-size: 0.92rem;
}


/* =========================================================
   UK / NIGERIA PREMIUM SELECTORS
   ========================================================= */

.sta-gallery__selectors {
  position: relative;

  display: flex;
  flex-wrap: wrap;

  width: min(100%, 760px);

  gap: 0.55rem;

  margin: 2rem auto 2rem;
  padding: 0.42rem;

  border: 1px solid rgba(12, 61, 92, 0.09);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.86);

  box-shadow:
    0 12px 30px rgba(12, 61, 92, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(10px);
}

.sta-gallery__select {
  appearance: none;

  position: relative;

  flex: 1 1 14rem;

  max-width: 100%;
  min-height: 3.2rem;

  padding: 0.9rem 1.2rem;

  border: 1px solid transparent;
  border-radius: 999px;

  background: transparent;
  color: var(--sta-navy);

  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;

  cursor: pointer;

  transition:
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.sta-gallery__select:hover {
  transform: translateY(-1px);

  background: rgba(31, 173, 192, 0.07);
}

.sta-gallery__select:focus-visible {
  outline: 2px solid var(--sta-cyan);
  outline-offset: 2px;
}

.sta-gallery__select.is-active {
  background:
    linear-gradient(
      135deg,
      var(--sta-navy-deep) 0%,
      var(--sta-navy) 55%,
      var(--sta-navy-soft) 100%
    );

  color: #fff;

  border-color: rgba(255, 255, 255, 0.12);

  box-shadow:
    0 10px 26px rgba(12, 61, 92, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}


/* =========================================================
   COLLECTION WRAPPER
   ========================================================= */

.sta-gallery__book {
  position: relative;

  min-height: 12rem;

  padding: 1rem 0;
}

.sta-gallery__book.is-turning {
  animation: sta-gallery-reveal 420ms ease;
}

.sta-gallery__collection {
  width: 100%;
}

.sta-gallery__collection.is-hidden,
.sta-gallery__collection[hidden] {
  display: none !important;
}


/* =========================================================
   PREMIUM ALBUM / EXHIBITION FRAME
   ========================================================= */

.sta-gallery__slider {
  position: relative;

  width: min(100%, 1000px);

  margin: 0 auto;
  padding: 12px;

  border: 1px solid rgba(201, 162, 39, 0.36);
  border-radius: 32px;

  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f9faf8 45%,
      #f1eee5 100%
    );

  box-shadow:
    0 35px 80px rgba(7, 40, 61, 0.18),
    0 12px 30px rgba(7, 40, 61, 0.09),
    0 2px 4px rgba(7, 40, 61, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 1);

  overflow: visible;

  isolation: isolate;
}


/* gold detail around premium album */

.sta-gallery__slider::before {
  content: "";

  position: absolute;
  inset: 5px;

  z-index: -1;

  border: 1px solid rgba(201, 162, 39, 0.24);
  border-radius: 27px;

  pointer-events: none;
}


/* subtle shadow underneath album */

.sta-gallery__slider::after {
  content: "";

  position: absolute;

  left: 7%;
  right: 7%;
  bottom: -22px;

  height: 38px;

  z-index: -2;

  border-radius: 50%;

  background: rgba(7, 40, 61, 0.18);

  filter: blur(22px);

  pointer-events: none;
}

.sta-gallery__slider:focus-visible {
  outline: 3px solid var(--sta-cyan);
  outline-offset: 6px;
}


/* =========================================================
   INNER PHOTO STAGE
   ========================================================= */

.sta-gallery__slider-viewport {
  position: relative;

  width: 100%;
  min-height: 430px;

  border: 1px solid rgba(12, 61, 92, 0.13);
  border-radius: 22px;

  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(244, 248, 249, 0.98) 52%,
      rgba(231, 239, 241, 0.98) 100%
    );

  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.85),
    inset 0 0 35px rgba(12, 61, 92, 0.06),
    0 5px 15px rgba(12, 61, 92, 0.05);

  overflow: hidden;
}


/* subtle premium top highlight */

.sta-gallery__slider-viewport::before {
  content: "";

  position: absolute;

  top: 0;
  left: 10%;
  right: 10%;

  height: 1px;

  z-index: 3;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.95),
      transparent
    );

  pointer-events: none;
}


/* =========================================================
   SLIDES
   ========================================================= */

.sta-gallery__slide {
  width: 100%;

  margin: 0;

  opacity: 0;

  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.sta-gallery__slide[hidden] {
  display: none !important;
}

.sta-gallery__slide.is-active {
  display: block;

  opacity: 1;

  animation: sta-gallery-slide-in 420ms ease;
}


/* =========================================================
   PHOTO MAT / FRAME
   ========================================================= */

.sta-gallery__slide-btn {
  position: relative;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 100%;

  min-height: 430px;
  max-height: 680px;

  padding: 22px;

  border: 0;

  background:
    linear-gradient(
      145deg,
      #eef4f5 0%,
      #ffffff 45%,
      #e9f0f2 100%
    );

  cursor: zoom-in;

  overflow: hidden;
}


/* soft exhibition glow */

.sta-gallery__slide-btn::before {
  content: "";

  position: absolute;

  width: 65%;
  height: 65%;

  top: 17%;
  left: 17%;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(31, 173, 192, 0.10),
      transparent 68%
    );

  filter: blur(20px);

  pointer-events: none;
}

.sta-gallery__slide-btn img {
  position: relative;

  z-index: 1;

  display: block;

  width: auto;
  max-width: 100%;

  height: auto;
  max-height: 625px;

  object-fit: contain;
  object-position: center;

  margin: 0 auto;

  border: 7px solid #fff;
  border-radius: 14px;

  background: #fff;

  box-shadow:
    0 22px 48px rgba(7, 40, 61, 0.19),
    0 7px 16px rgba(7, 40, 61, 0.11),
    0 0 0 1px rgba(12, 61, 92, 0.06);

  transition:
    transform 450ms ease,
    box-shadow 450ms ease,
    filter 450ms ease;
}

.sta-gallery__slide-btn:hover img {
  transform: scale(1.008);

  box-shadow:
    0 28px 58px rgba(7, 40, 61, 0.23),
    0 8px 20px rgba(7, 40, 61, 0.12),
    0 0 0 1px rgba(12, 61, 92, 0.07);
}


/* =========================================================
   CAPTION
   ========================================================= */

.sta-gallery__slide-caption {
  position: relative;

  margin: 0;

  padding: 1rem 1.2rem 1.1rem;

  border-top: 1px solid rgba(201, 162, 39, 0.20);

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfaf6 100%
    );

  color: var(--sta-muted);

  font-size: 0.92rem;
  line-height: 1.55;

  text-align: center;
}


/* =========================================================
   PREMIUM SLIDER CONTROL BAR
   ========================================================= */

.sta-gallery__slider-stage {
  display: grid;

  grid-template-columns:
    minmax(3.3rem, auto)
    1fr
    minmax(3.3rem, auto);

  align-items: center;

  gap: 0.85rem;

  margin-top: 10px;

  padding: 0.8rem 0.9rem;

  border: 1px solid rgba(12, 61, 92, 0.07);
  border-radius: 18px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(248, 249, 246, 0.98)
    );

  box-shadow:
    inset 0 1px 0 #fff,
    0 5px 14px rgba(12, 61, 92, 0.05);
}

.sta-gallery__slider-nav {
  appearance: none;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 3rem;
  height: 3rem;

  padding: 0;

  border: 1px solid rgba(201, 162, 39, 0.48);
  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f4f1e8 100%
    );

  color: var(--sta-navy);

  font-size: 2rem;
  font-weight: 400;
  line-height: 1;

  cursor: pointer;

  box-shadow:
    0 6px 16px rgba(12, 61, 92, 0.10),
    inset 0 1px 0 #fff;

  transition:
    background 200ms ease,
    color 200ms ease,
    border-color 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease;
}

.sta-gallery__slider-nav:hover {
  background:
    linear-gradient(
      135deg,
      var(--sta-navy-deep),
      var(--sta-navy)
    );

  color: #fff;

  border-color: var(--sta-navy);

  transform: translateY(-2px);

  box-shadow:
    0 10px 22px rgba(12, 61, 92, 0.22);
}

.sta-gallery__slider-nav:active {
  transform: translateY(0);
}

.sta-gallery__slider-nav:focus-visible {
  outline: 2px solid var(--sta-cyan);
  outline-offset: 3px;
}

.sta-gallery__slider-nav.is-prev {
  justify-self: start;
}

.sta-gallery__slider-nav.is-next {
  justify-self: end;
}


/* =========================================================
   PREMIUM PHOTO COUNTER
   ========================================================= */

.sta-gallery__slider-counter {
  justify-self: center;

  min-width: 6rem;

  margin: 0;

  padding: 0.55rem 1rem;

  border: 1px solid rgba(12, 61, 92, 0.08);
  border-radius: 999px;

  background: #fff;

  color: var(--sta-navy);

  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.10em;

  text-align: center;

  box-shadow:
    inset 0 1px 0 #fff,
    0 4px 12px rgba(12, 61, 92, 0.06);
}


/* =========================================================
   GRID MODE Ã¢â‚¬â€ PREMIUM PHOTO CARDS
   ========================================================= */

.sta-gallery__grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 1.1rem;

  align-items: start;
}

.sta-gallery__grid.is-hidden,
.sta-gallery__grid[hidden] {
  display: none !important;
}

.sta-gallery__card {
  margin: 0;
  padding: 7px;

  background:
    linear-gradient(
      145deg,
      #fff,
      #f6f3eb
    );

  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 18px;

  overflow: hidden;

  box-shadow:
    0 14px 32px rgba(7, 40, 61, 0.09),
    0 3px 8px rgba(7, 40, 61, 0.05);

  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.sta-gallery__card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 22px 44px rgba(7, 40, 61, 0.14),
    0 5px 12px rgba(7, 40, 61, 0.06);
}


/* =========================================================
   THUMBNAILS
   ========================================================= */

.sta-gallery__thumb {
  display: block;

  width: 100%;

  padding: 0;

  border: 0;

  background:
    linear-gradient(
      145deg,
      #eef4f5,
      #ffffff
    );

  cursor: zoom-in;

  min-height: 6rem;
}

.sta-gallery__grid .sta-gallery__thumb {
  aspect-ratio: 4 / 3;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 12px;

  overflow: hidden;
}

.sta-gallery__thumb img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;

  vertical-align: middle;

  transition:
    transform 300ms ease,
    filter 300ms ease;
}

.sta-gallery__grid .sta-gallery__thumb img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  background: #f2f6f7;
}

.sta-gallery__thumb:hover img,
.sta-gallery__thumb:focus-visible img {
  filter: brightness(1.02);
}

.sta-gallery__grid .sta-gallery__thumb:hover img {
  transform: scale(1.025);
}

.sta-gallery__thumb:focus-visible {
  outline: 3px solid var(--sta-cyan);
  outline-offset: -3px;
}

.sta-gallery__card figcaption {
  margin: 0;

  padding: 0.75rem 0.75rem 0.65rem;

  color: var(--sta-muted);

  font-size: 0.8rem;
  line-height: 1.45;

  text-align: center;
}


/* =========================================================
   EMPTY GALLERY
   ========================================================= */

.sta-gallery__empty {
  display: grid;

  place-items: center;

  min-height: 14rem;

  padding: 2rem;

  border: 1px dashed rgba(12, 61, 92, 0.20);
  border-radius: 24px;

  background:
    rgba(255, 255, 255, 0.80);

  box-shadow:
    0 14px 34px rgba(12, 61, 92, 0.06);

  text-align: center;
}

.sta-gallery__empty p {
  margin: 0;

  color: var(--sta-muted);

  font-size: 1rem;
}


/* =========================================================
   PREMIUM LIGHTBOX
   ========================================================= */

.sta-gallery__lightbox {
  position: fixed;

  inset: 0;

  z-index: 2147483000;

  display: grid;

  place-items: center;
}

.sta-gallery__lightbox[hidden] {
  display: none !important;
}

.sta-gallery__lightbox-scrim {
  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at center,
      rgba(17, 48, 65, 0.92),
      rgba(4, 17, 25, 0.97)
    );

  backdrop-filter: blur(8px);
}

.sta-gallery__lightbox-dialog {
  position: relative;

  z-index: 1;

  width:
    min(1100px, calc(100% - 1.25rem));

  height:
    min(92vh, 920px);

  display: grid;

  grid-template-rows:
    auto
    1fr
    auto;

  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;

  gap: 0.65rem;

  color: #fff;
}

.sta-gallery__lightbox-status {
  grid-column: 1 / -1;

  margin: 0;

  padding:
    0.45rem
    4.5rem
    0.45rem
    0.35rem;

  color: rgba(255, 255, 255, 0.92);

  text-align: center;

  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.10em;
}

.sta-gallery__lightbox-close {
  position: absolute;

  top: 0;
  right: 0;

  z-index: 5;

  min-height: 2.7rem;

  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.96);
  color: var(--sta-navy);

  font: inherit;
  font-weight: 700;

  padding: 0.55rem 0.9rem;

  cursor: pointer;

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.18);
}

.sta-gallery__lightbox-figure {
  grid-column: 2;
  grid-row: 2;

  margin: 0;

  min-width: 0;
  min-height: 0;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;
}

.sta-gallery__lightbox-figure img {
  display: block;

  max-width: 100%;

  max-height:
    min(76vh, 800px);

  width: auto;
  height: auto;

  object-fit: contain;

  padding: 7px;

  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: 16px;

  background: #fff;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.48),
    0 0 0 5px rgba(255, 255, 255, 0.05);
}

.sta-gallery__lightbox-figure figcaption {
  margin: 0.8rem 0 0;

  max-width: 50rem;

  color:
    rgba(255, 255, 255, 0.88);

  font-size: 0.92rem;
  line-height: 1.5;

  text-align: center;
}

.sta-gallery__lightbox-nav {
  align-self: center;

  min-width: 6.5rem;

  padding: 0.75rem 0.9rem;

  border:
    1px solid rgba(255, 255, 255, 0.30);

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.10);

  color: #fff;

  font: inherit;
  font-weight: 700;

  cursor: pointer;

  backdrop-filter: blur(10px);

  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.15);

  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.sta-gallery__lightbox-nav:hover {
  background:
    rgba(255, 255, 255, 0.18);

  border-color:
    rgba(255, 255, 255, 0.65);

  transform: translateY(-1px);
}

.sta-gallery__lightbox-nav:focus-visible,
.sta-gallery__lightbox-close:focus-visible {
  outline: 2px solid var(--sta-gold-light);
  outline-offset: 3px;
}


/* =========================================================
   WORDPRESS SCREEN READER TEXT
   ========================================================= */

.sta-gallery .screen-reader-text {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  padding: 0 !important;
  margin: -1px !important;

  overflow: hidden !important;

  clip: rect(0, 0, 0, 0) !important;

  white-space: nowrap !important;

  border: 0 !important;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes sta-gallery-reveal {

  from {
    opacity: 0;
    transform: translateX(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }

}

@keyframes sta-gallery-slide-in {

  from {
    opacity: 0;
    transform: translateX(12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .sta-gallery__grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .sta-gallery__slider {
    width: min(100%, 920px);
  }

}


/* =========================================================
   MOBILE / SAMSUNG
   ========================================================= */

@media (max-width: 720px) {

  .sta-gallery__wrap {
    width: min(100% - 1rem, 1180px);

    padding:
      1.75rem
      0
      3.25rem;
  }

  .sta-gallery__title {
    font-size:
      clamp(2rem, 10vw, 2.8rem);
  }

  .sta-gallery__lead {
    font-size: 1.2rem;
  }


  /* Region selector becomes premium stacked control */

  .sta-gallery__selectors {
    width: 100%;

    gap: 0.45rem;

    margin:
      1.5rem
      0
      1.5rem;

    padding: 0.4rem;

    border-radius: 22px;
  }

  .sta-gallery__select {
    flex: 1 1 100%;

    width: 100%;

    min-height: 3.1rem;
  }


  /* Album frame */

  .sta-gallery__book {
    padding-top: 0.35rem;
  }

  .sta-gallery__slider {
    width: 100%;

    padding: 7px;

    border-radius: 22px;

    box-shadow:
      0 22px 48px rgba(7, 40, 61, 0.16),
      0 8px 20px rgba(7, 40, 61, 0.08);
  }

  .sta-gallery__slider::before {
    inset: 3px;
    border-radius: 19px;
  }

  .sta-gallery__slider::after {
    bottom: -14px;
    height: 26px;
  }

  .sta-gallery__slider-viewport {
    min-height: 300px;

    border-radius: 16px;
  }

  .sta-gallery__slide-btn {
    min-height: 300px;
    max-height: 68vh;

    padding: 12px;
  }

  .sta-gallery__slide-btn img {
    max-width: 100%;
    max-height: 64vh;

    border-width: 5px;
    border-radius: 11px;

    box-shadow:
      0 16px 34px rgba(7, 40, 61, 0.18),
      0 5px 12px rgba(7, 40, 61, 0.09);
  }


  /* controls */

  .sta-gallery__slider-stage {
    margin-top: 7px;

    padding: 0.6rem 0.65rem;

    border-radius: 14px;
  }

  .sta-gallery__slider-nav {
    width: 2.75rem;
    height: 2.75rem;

    font-size: 1.8rem;
  }

  .sta-gallery__slider-counter {
    min-width: 5rem;

    padding:
      0.48rem
      0.65rem;

    font-size: 0.78rem;
  }


  /* Grid */

  .sta-gallery__grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 0.7rem;
  }

  .sta-gallery__card {
    padding: 5px;

    border-radius: 14px;
  }


  /* Lightbox */

  .sta-gallery__lightbox-dialog {
    width:
      calc(100% - 0.75rem);

    height:
      min(96vh, 100%);

    grid-template-columns:
      1fr 1fr;

    grid-template-rows:
      auto
      minmax(0, 1fr)
      auto;

    gap: 0.45rem;
  }

  .sta-gallery__lightbox-status {
    grid-column: 1 / -1;

    padding:
      0.35rem
      4.2rem
      0.35rem
      0.35rem;
  }

  .sta-gallery__lightbox-figure {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .sta-gallery__lightbox-figure img {
    max-height: 70vh;

    padding: 5px;

    border-radius: 12px;
  }

  .sta-gallery__lightbox-nav {
    min-width: 0;

    width: 100%;

    padding:
      0.7rem
      0.8rem;

    justify-self: stretch;
  }

  .sta-gallery__lightbox-nav.is-prev {
    grid-column: 1;
    grid-row: 3;
  }

  .sta-gallery__lightbox-nav.is-next {
    grid-column: 2;
    grid-row: 3;
  }

}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width: 420px) {

  .sta-gallery__grid {
    grid-template-columns: 1fr;
  }

  .sta-gallery__slider-viewport {
    min-height: 260px;
  }

  .sta-gallery__slide-btn {
    min-height: 260px;
    padding: 9px;
  }

  .sta-gallery__slide-btn img {
    max-height: 60vh;
  }

  .sta-gallery__slider-counter {
    font-size: 0.76rem;
  }

}


/* =========================================================
   REDUCED MOTION / ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .sta-gallery__book.is-turning,
  .sta-gallery__slide.is-active {
    animation: none;
  }

  .sta-gallery__select,
  .sta-gallery__slider-nav,
  .sta-gallery__card,
  .sta-gallery__thumb img {
    transition: none;
  }
}


/* =========================================================
   EVENT ALBUM CARDS (V3 architecture â€” premium visual layer)
   ========================================================= */

.sta-gallery__albums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem 1.25rem;
  margin: 0 0 1.75rem;
  width: 100%;
  max-width: 100%;
}

.sta-gallery__albums[hidden],
.sta-gallery__album-view[hidden],
.sta-gallery__albums.is-hidden,
.sta-gallery__album-view.is-hidden {
  display: none !important;
}

.sta-gallery__album-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(201, 162, 39, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(145deg, #ffffff 0%, #f7f4ec 100%);
  box-shadow:
    0 16px 36px rgba(7, 40, 61, 0.11),
    0 4px 12px rgba(7, 40, 61, 0.06);
  overflow: hidden;
  text-align: left;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.sta-gallery__album-card:hover,
.sta-gallery__album-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow:
    0 24px 48px rgba(7, 40, 61, 0.16),
    0 6px 14px rgba(7, 40, 61, 0.08);
}

.sta-gallery__album-open {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  min-width: 0;
}

.sta-gallery__album-open:focus-visible {
  outline: 2px solid var(--sta-gold);
  outline-offset: -2px;
}

.sta-gallery__album-cover {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(145deg, var(--sta-navy-deep) 0%, var(--sta-navy) 55%, var(--sta-navy-soft) 100%);
}

.sta-gallery__album-cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 40, 61, 0.45) 100%);
  pointer-events: none;
}

.sta-gallery__album-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease;
}

.sta-gallery__album-card:hover .sta-gallery__album-cover img {
  transform: scale(1.03);
}

.sta-gallery__album-cover-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sta-gallery__album-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.05rem 1.1rem 1.2rem;
  flex: 1;
  min-width: 0;
}

.sta-gallery__album-title {
  margin: 0;
  color: var(--sta-navy);
  font-family: var(--sta-serif);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  font-weight: 700;
  line-height: 1.25;
  word-wrap: break-word;
}

.sta-gallery__album-meta {
  margin: 0;
  color: var(--sta-muted);
  font-size: 0.88rem;
  line-height: 1.4;
  word-wrap: break-word;
}

.sta-gallery__album-count {
  margin: 0.2rem 0 0;
  color: var(--sta-navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sta-gallery__album-cta {
  margin-top: auto;
  padding-top: 0.8rem;
  color: var(--sta-navy);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px solid rgba(201, 162, 39, 0.4);
}

.sta-gallery__album-cta::after {
  content: " â†’";
  color: var(--sta-gold);
}

.sta-gallery__album-view {
  margin: 0 0 1rem;
  width: 100%;
  max-width: 100%;
}

.sta-gallery__album-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1.1rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 999px;
  background: linear-gradient(145deg, #ffffff, #f4f1e8);
  color: var(--sta-navy);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(12, 61, 92, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sta-gallery__album-back:hover,
.sta-gallery__album-back:focus-visible {
  background: linear-gradient(135deg, var(--sta-navy-deep), var(--sta-navy));
  border-color: var(--sta-navy);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.sta-gallery__album-heading {
  margin: 0 0 1rem;
  text-align: center;
}

.sta-gallery__album-view-title {
  margin: 0 0 0.45rem;
  color: var(--sta-navy);
  font-family: var(--sta-serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  word-wrap: break-word;
}

.sta-gallery__album-view-meta {
  margin: 0;
  color: var(--sta-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.sta-gallery__album-view-desc {
  margin: 0.55rem auto 0;
  color: #445566;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 42rem;
}

.sta-gallery__empty {
  margin: 0.5rem 0 1.25rem;
  padding: 1.35rem 1.1rem;
  border: 1px dashed rgba(201, 162, 39, 0.45);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--sta-muted);
  text-align: center;
  font-size: 0.95rem;
}

.sta-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin: 0.85rem 0 0;
}

.sta-gallery__thumb-nav {
  appearance: none;
  width: 3.4rem;
  height: 2.55rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(12, 61, 92, 0.12);
}

.sta-gallery__thumb-nav img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sta-gallery__thumb-nav.is-active,
.sta-gallery__thumb-nav:focus-visible {
  border-color: var(--sta-gold);
  outline: none;
}

.sta-gallery__slides {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.sta-gallery__slide {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sta-gallery__slider-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.sta-gallery__slider-counter {
  display: block;
  width: fit-content;
  margin: 0.85rem auto 0;
}

@media (max-width: 980px) {
  .sta-gallery__albums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sta-gallery__albums {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .sta-gallery__album-content {
    padding: 0.95rem 1rem 1.05rem;
  }

  .sta-gallery__album-title {
    font-size: 1.14rem;
  }

  .sta-gallery__slider-stage {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .sta-gallery__slider-nav {
    justify-self: center;
  }

  .sta-gallery__slider-nav.is-prev,
  .sta-gallery__slider-nav.is-next {
    justify-self: center;
  }

  .sta-gallery .sta-gallery__slider {
    width: min(100%, 980px) !important;
    margin: 1.25rem auto 2.5rem !important;
    padding: 12px !important;
  }

  .sta-gallery .sta-gallery__slider-viewport {
    min-height: 280px !important;
  }

  .sta-gallery .sta-gallery__slide-btn img {
    max-height: min(52vh, 420px) !important;
  }
}

/* =========================================================
   STA PREMIUM VISIBLE PHOTO FRAME Ã¢â‚¬â€ FINAL OVERRIDE
   ========================================================= */

/* Main outer album frame */
.sta-gallery .sta-gallery__slider {
  width: min(94%, 980px) !important;
  margin: 35px auto 55px !important;
  padding: 18px !important;

  border: 3px solid #c9a227 !important;
  border-radius: 30px !important;

  background:
    linear-gradient(
      145deg,
      #0c3d5c 0%,
      #123f59 45%,
      #082c42 100%
    ) !important;

  box-shadow:
    0 30px 70px rgba(7, 40, 61, 0.30),
    0 12px 25px rgba(7, 40, 61, 0.18),
    0 0 0 6px #ffffff,
    0 0 0 8px rgba(201, 162, 39, 0.35) !important;

  overflow: visible !important;
}


/* Gold inner decorative line */
.sta-gallery .sta-gallery__slider::before {
  content: "" !important;

  position: absolute !important;
  inset: 8px !important;

  border: 1px solid rgba(234, 215, 142, 0.75) !important;
  border-radius: 20px !important;

  pointer-events: none !important;
  z-index: 5 !important;
}


/* Soft shadow below the whole album */
.sta-gallery .sta-gallery__slider::after {
  content: "" !important;

  position: absolute !important;

  left: 8% !important;
  right: 8% !important;
  bottom: -28px !important;

  height: 35px !important;

  background: rgba(7, 40, 61, 0.28) !important;

  border-radius: 50% !important;

  filter: blur(20px) !important;

  z-index: -1 !important;

  pointer-events: none !important;
}


/* Inner presentation area */
.sta-gallery .sta-gallery__slider-viewport {
  position: relative !important;

  min-height: 440px !important;

  padding: 20px !important;

  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: 20px !important;

  background:
    linear-gradient(
      145deg,
      #e9eef0 0%,
      #ffffff 50%,
      #e7edef 100%
    ) !important;

  box-shadow:
    inset 0 0 0 1px rgba(201, 162, 39, 0.45),
    inset 0 0 30px rgba(12, 61, 92, 0.08) !important;

  overflow: hidden !important;
}


/* Give the actual photograph breathing room */
.sta-gallery .sta-gallery__slide-btn {
  min-height: 400px !important;

  padding: 24px !important;

  background: transparent !important;

  overflow: visible !important;
}


/* Actual photograph gets its own physical-photo style frame */
.sta-gallery .sta-gallery__slide-btn img {
  display: block !important;

  width: auto !important;
  max-width: calc(100% - 20px) !important;

  height: auto !important;
  max-height: 590px !important;

  margin: 0 auto !important;

  object-fit: contain !important;

  padding: 9px !important;

  border: 1px solid rgba(12, 61, 92, 0.16) !important;
  border-radius: 10px !important;

  background: #ffffff !important;

  box-shadow:
    0 22px 45px rgba(7, 40, 61, 0.25),
    0 6px 14px rgba(7, 40, 61, 0.14),
    0 0 0 3px #ffffff,
    0 0 0 4px rgba(201, 162, 39, 0.42) !important;
}


/* Stage = Previous | photo mount | Next inside the outer premium frame */
.sta-gallery .sta-gallery__slider-stage {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  gap: 0.75rem !important;
  align-items: center !important;
  margin-top: 0 !important;
  padding: 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}


/* Navigation circles */
.sta-gallery .sta-gallery__slider-nav {
  width: 48px !important;
  height: 48px !important;

  border: 2px solid #c9a227 !important;

  background: #ffffff !important;
  color: #0c3d5c !important;

  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.20) !important;
}

.sta-gallery .sta-gallery__slider-nav:hover {
  background: #c9a227 !important;
  color: #ffffff !important;
}


/* Counter — below frame in V3 album view (not inside dark control bar) */
.sta-gallery .sta-gallery__slider-counter {
  display: block !important;
  width: fit-content !important;
  margin: 0.9rem auto 0 !important;
  padding: 0.55rem 1.15rem !important;

  border: 1px solid rgba(201, 162, 39, 0.55) !important;
  border-radius: 999px !important;

  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f4f1e8 100%
    ) !important;
  color: #0c3d5c !important;

  font-weight: 800 !important;
  letter-spacing: 0.1em !important;

  box-shadow:
    0 6px 14px rgba(12, 61, 92, 0.1),
    inset 0 1px 0 #fff !important;
}


/* Caption */
.sta-gallery .sta-gallery__slide-caption {
  margin-top: 10px !important;

  border: 1px solid rgba(201, 162, 39, 0.25) !important;
  border-radius: 12px !important;

  background: #ffffff !important;
}


/* =========================================================
   MOBILE / SAMSUNG
   ========================================================= */

@media (max-width: 720px) {

  .sta-gallery .sta-gallery__slider {
    width: calc(100% - 14px) !important;

    margin:
      20px
      auto
      40px !important;

    padding: 9px !important;

    border-width: 2px !important;
    border-radius: 20px !important;

    box-shadow:
      0 18px 40px rgba(7, 40, 61, 0.25),
      0 0 0 3px #ffffff,
      0 0 0 4px rgba(201, 162, 39, 0.35) !important;
  }

  .sta-gallery .sta-gallery__slider::before {
    inset: 4px !important;

    border-radius: 15px !important;
  }

  .sta-gallery .sta-gallery__slider-viewport {
    min-height: 270px !important;

    padding: 8px !important;

    border-radius: 14px !important;
  }

  .sta-gallery .sta-gallery__slide-btn {
    min-height: 250px !important;

    padding: 10px !important;
  }

  .sta-gallery .sta-gallery__slide-btn img {
    max-width: 100% !important;
    max-height: 62vh !important;

    padding: 5px !important;

    border-radius: 8px !important;

    box-shadow:
      0 12px 26px rgba(7, 40, 61, 0.22),
      0 0 0 2px #ffffff,
      0 0 0 3px rgba(201, 162, 39, 0.38) !important;
  }

  .sta-gallery .sta-gallery__slider-stage {
    margin-top: 8px !important;

    padding: 8px !important;

    border-radius: 12px !important;
  }

  .sta-gallery .sta-gallery__slider-nav {
    width: 42px !important;
    height: 42px !important;
  }

  .sta-gallery .sta-gallery__slider-counter {
    padding:
      6px
      10px !important;

    font-size: 0.76rem !important;
  }
}