/* ============================================================
   Shared photo-page styles — trail-cam.html + trophies.html
   Loaded by BOTH pages so the two galleries stay in sync.
   Base tokens/nav/footer/grid/lightbox styles live in each
   page's inline <style> block (same convention as the other
   pages on this site); this file only adds what the photo
   pages need on top of that.
   ============================================================ */

/* Page header */
.page-title { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 900; margin-bottom: 8px; }
.page-lead {
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 36px;
}

/* Photo count line under the intro */
.gallery-count {
  color: var(--bronze);
  font-family: "Arial Narrow", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Back link under the grid */
.gallery-back { text-align: center; margin-top: 40px; }

/* Lightbox additions: prev/next arrows + position counter.
   The .lightbox / .lightbox-img / .lightbox-close base styles
   come from the page's inline <style> block. */
.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 92vw;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 72px;
  background: rgba(20,36,27,0.85);
  color: var(--bronze);
  border: 1px solid var(--border);
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}
.lightbox-nav:hover { background: var(--bronze); color: var(--green-deep); }
.lightbox-nav:focus-visible { outline: 3px solid var(--offwhite); outline-offset: 2px; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-counter {
  color: var(--muted);
  font-family: "Arial Narrow", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
}

@media (max-width: 560px) {
  .lightbox-nav { width: 44px; height: 60px; font-size: 1.8rem; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
}
