/* Spotlight carousel — Recognition page.
   Loaded only on /recognition/index.html, alongside site.css.
   Uses the same variables already defined there. */

.spotlight{
  max-width: 460px;
  margin: 0 auto 2.4rem;
  position: relative;
}

.spotlight-viewport{
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-lg, var(--radius));
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 12px 30px rgba(22,41,74,.18);
}

.spotlight-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}

.spotlight-slide.is-active{
  opacity: 1;
  pointer-events: auto;
}

.spotlight-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  cursor: zoom-in;
}

.spotlight-cap{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.1rem .9rem;
  background: linear-gradient(to top, rgba(10,18,32,.88), rgba(10,18,32,0));
  color: #fff;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.spotlight-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(10,18,32,.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background .15s ease;
}

.spotlight-arrow:hover{ background: var(--gold); }
.spotlight-arrow:focus-visible{ outline: 2px solid var(--gold); outline-offset: 2px; }
.spotlight-prev{ left: 10px; }
.spotlight-next{ right: 10px; }
.spotlight-arrow svg{ width: 18px; height: 18px; }

.spotlight-dots{
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
}

.spotlight-dot{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
}

.spotlight-dot.is-active{ background: var(--gold); }
.spotlight-dot:focus-visible{ outline: 2px solid var(--gold); outline-offset: 2px; }

/* Lightbox (click-to-enlarge) */
.spotlight-lightbox{
  position: fixed;
  inset: 0;
  background: rgba(10,18,32,.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px;
}

.spotlight-lightbox.is-open{ display: flex; }

.spotlight-lightbox img{
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.spotlight-lightbox-close{
  position: absolute;
  top: 18px;
  right: 24px;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
}

@media (max-width: 480px){
  .spotlight{ max-width: 100%; }
  .spotlight-arrow{ width: 34px; height: 34px; }
}
