/* Gallery slideshow — navy/gold chrome comes from faq.css */
.cc-gallery-main {
  padding: 1.5rem 0 3.5rem;
  background: #fbfaf6;
}

.cc-gallery-intro {
  margin: 0 auto 1.25rem;
  max-width: 46rem;
}

.cc-gallery-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.cc-slideshow {
  margin: 0 auto;
  max-width: 68rem;
  background: var(--white);
  border: 1px solid #ebe6d8;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(17, 26, 45, 0.06);
  overflow: hidden;
}

.cc-slide-stage {
  position: relative;
  background: var(--navy);
  min-height: 16rem;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .cc-slide-stage {
    aspect-ratio: 4 / 3;
    min-height: 22rem;
  }
}

.cc-slide-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--navy);
  transition: opacity 0.35s ease;
}

.cc-slide-img.is-swapping {
  opacity: 0.35;
}

.cc-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 26, 45, 0.72);
  color: var(--gold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.cc-slide-btn:hover,
.cc-slide-btn:focus-visible {
  background: var(--gold);
  color: var(--navy);
  outline: none;
}

.cc-slide-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(237, 180, 23, 0.55);
}

.cc-slide-prev { left: 0.65rem; }
.cc-slide-next { right: 0.65rem; }

.cc-slide-fs {
  top: 0.7rem;
  right: 0.7rem;
  left: auto;
  transform: none;
  width: 3rem;
  height: 3rem;
  background: var(--navy);
  color: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: 0 6px 18px rgba(7, 11, 20, 0.45);
}

.cc-slide-fs:hover,
.cc-slide-fs:focus-visible {
  background: var(--gold);
  color: var(--navy);
}

.cc-slide-fs .cc-fs-exit,
.cc-slide-fs[aria-pressed="true"] .cc-fs-enter {
  display: none;
}

.cc-slide-fs[aria-pressed="true"] .cc-fs-exit {
  display: block;
}

.cc-slide-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1rem 0.3rem;
}

.cc-slide-status {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-hot);
}

.cc-slide-caption {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.45;
}

.cc-thumbs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.85rem 1rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.cc-thumb {
  flex: 0 0 auto;
  height: 3.6rem;
  width: auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  cursor: pointer;
  scroll-snap-align: start;
  line-height: 0;
}

.cc-thumb img {
  display: block;
  height: 3.6rem;
  width: auto;
  object-fit: contain;
  background: var(--navy);
}

.cc-thumb[aria-current="true"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--navy);
}

.cc-thumb:hover,
.cc-thumb:focus-visible {
  border-color: var(--navy);
  outline: none;
}

@media (min-width: 900px) {
  .cc-thumb,
  .cc-thumb img {
    height: 4.2rem;
  }
}

.cc-slideshow:fullscreen,
.cc-slideshow:-webkit-full-screen,
.cc-slideshow.is-fs-fallback {
  max-width: none;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 0;
  background: #070b14;
  display: flex;
  flex-direction: column;
}

.cc-slideshow.is-fs-fallback {
  position: fixed;
  inset: 0;
  z-index: 10000;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}

.cc-slideshow:fullscreen .cc-slide-stage,
.cc-slideshow:-webkit-full-screen .cc-slide-stage,
.cc-slideshow.is-fs-fallback .cc-slide-stage {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 0;
  width: 100%;
  background: #070b14;
}

.cc-slideshow:fullscreen .cc-slide-img,
.cc-slideshow:-webkit-full-screen .cc-slide-img,
.cc-slideshow.is-fs-fallback .cc-slide-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #070b14;
}

.cc-slideshow:fullscreen .cc-slide-meta,
.cc-slideshow:-webkit-full-screen .cc-slide-meta,
.cc-slideshow.is-fs-fallback .cc-slide-meta,
.cc-slideshow:fullscreen .cc-thumbs,
.cc-slideshow:-webkit-full-screen .cc-thumbs,
.cc-slideshow.is-fs-fallback .cc-thumbs {
  background: #070b14;
}

.cc-slideshow:fullscreen .cc-slide-caption,
.cc-slideshow:-webkit-full-screen .cc-slide-caption,
.cc-slideshow.is-fs-fallback .cc-slide-caption {
  color: #fbfaf6;
}

body.cc-gallery-fs-lock {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .cc-slide-img,
  .cc-slide-btn,
  .cc-thumb {
    transition: none !important;
  }
}
