/* ==================== GALLERY PAGE ==================== */
.gallery-section { background: var(--bg); padding: 80px 0; }

/* ---------- Album jump pills ---------- */
.album-nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin-bottom: 64px;
}
.album-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--border);
  color: var(--navy); font-size: 13px; font-weight: 600; letter-spacing: .02em;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.album-pill i { color: var(--gold); font-size: 12px; transition: color .25s; }
.album-pill:hover { transform: translateY(-2px); border-color: var(--gold); }
.album-pill.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.album-pill:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Album blocks ---------- */
.album { margin-bottom: 80px; scroll-margin-top: 110px; }
.album:last-child { margin-bottom: 0; }

.album-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; margin-bottom: 28px;
}
.album-head h2 {
  font-family: "Noto Serif", Georgia, serif;
  font-size: 32px; line-height: 1.2; margin-bottom: 8px;
  border-left: 3px solid var(--gold); padding-left: 16px;
}
.album-head p { color: var(--muted); font-size: 14px; padding-left: 19px; max-width: 640px; }

.album-count {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-light); color: var(--navy);
  font-size: 11px; font-weight: 600; padding: 6px 14px; border-radius: 100px;
  letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
}

.album-empty {
  display: none; text-align: center; color: var(--muted); font-style: italic;
  padding: 48px 24px; background: var(--white);
  border: 1px dashed var(--border); border-radius: var(--radius);
}
.album.is-empty .album-empty { display: block; }
.album.is-empty .gallery-grid { display: none; }

/* ---------- Photo grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.gallery-grid > a {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: #eef1f7; border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(10, 31, 68, .04);
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-grid > a img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
/* first photo is larger */
.gallery-grid > a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* navy gradient overlay */
.gallery-grid > a::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8, 23, 51, .75), rgba(8, 23, 51, 0) 55%);
  opacity: 0; transition: opacity .3s ease;
}
/* gold expand icon */
.gallery-grid > a::after {
  content: "\f065";
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--navy); font-size: 14px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.gallery-grid > a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-grid > a:hover img { transform: scale(1.06); }
.gallery-grid > a:hover::before,
.gallery-grid > a:focus-visible::before { opacity: 1; }
.gallery-grid > a:hover::after,
.gallery-grid > a:focus-visible::after { opacity: 1; transform: translateY(0); }
.gallery-grid > a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-grid > a:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
}

/* ---------- Featured video ---------- */
.video-feature {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
}
.video-thumb {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: 8px; background: var(--navy);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.video-thumb::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(8, 23, 51, .55), rgba(8, 23, 51, .15));
}
.video-thumb .play-btn {
  position: absolute; inset: 0; margin: auto; z-index: 2;
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--navy); font-size: 26px; padding-left: 5px;
  animation: playPulse 2.2s ease-out infinite;
  transition: transform .3s ease, background-color .3s ease;
}
.video-thumb:hover img { transform: scale(1.05); }
.video-thumb:hover .play-btn { transform: scale(1.1); background: var(--gold-light); }
.video-thumb:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@keyframes playPulse {
  0%   { box-shadow: 0 0 0 0 rgba(245, 201, 122, .6); }
  100% { box-shadow: 0 0 0 22px rgba(245, 201, 122, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .video-thumb .play-btn { animation: none; }
}

.video-body .sp-tag {
  display: inline-block; background: var(--gold-light); color: var(--navy);
  font-size: 11px; padding: 6px 14px; border-radius: 100px;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px;
}
.video-body h3 {
  font-family: "Noto Serif", Georgia, serif;
  font-size: 30px; line-height: 1.2; margin-bottom: 12px;
}
.video-body p {
  color: var(--muted); font-size: 14px; font-style: italic;
  border-top: 1px solid var(--border); padding-top: 16px;
}

@media (max-width: 900px) {
  .video-feature { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .video-body h3 { font-size: 24px; }
}

/* ==================== LIGHTBOX THEME (navy + gold) ==================== */
/* Keep the lightbox above the sticky navbar (navbar z-index is 3000 on mobile) */
.lg-backdrop { z-index: 3500 !important; background-color: var(--navy-dark) !important; }
.lg-outer    { z-index: 3510 !important; }

.lg-toolbar .lg-icon:hover,
.lg-actions .lg-prev:hover,
.lg-actions .lg-next:hover { color: var(--gold) !important; }

.lg-counter { color: var(--gold-light) !important; font-family: "Inter", Arial, sans-serif; }

.lg-sub-html { font-family: "Inter", Arial, sans-serif; }
.lg-sub-html h4 {               /* override the site's large h4 size */
  font-family: "Noto Serif", Georgia, serif;
  font-size: 18px; line-height: 1.3; margin-bottom: 4px; color: var(--gold);
}
.lg-sub-html p { font-size: 13px; color: rgba(255, 255, 255, .8); }

.lg-thumb-outer { background-color: var(--navy-dark) !important; }
.lg-thumb-item { border-radius: 6px !important; }
.lg-thumb-item.active,
.lg-thumb-item:hover { border-color: var(--gold) !important; }

.lg-progress-bar .lg-progress { background-color: var(--gold) !important; }