.gallery-page {
  font-family: inherit;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  background: #fff;
}
.gallery-page h1, .gallery-page h2 { color: #16213e; }

.gallery-hero {
  text-align: center;
  padding: 50px 20px 30px;
}
.gallery-hero .eyebrow {
  display: inline-block;
  color: #FF6B35;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.gallery-hero .seo-intro-heading {
  font-size: 46px;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.1;
}
.gallery-hero p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.season-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 36px;
  flex-wrap: wrap;
  border-bottom: 2px solid #eaeaea;
}
.season-tab {
  background: none;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  color: #888;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease;
  margin-bottom: -2px;
}
.season-tab:hover { color: #16213e; }
.season-tab.active {
  color: #16213e;
  border-bottom: 3px solid #FF6B35;
}

.category-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.cat-pill {
  background: #f5f5f5;
  border: 1px solid #eaeaea;
  color: #555;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.cat-pill:hover {
  border-color: #FF6B35;
  color: #FF6B35;
}
.cat-pill.active {
  background: #16213e;
  border-color: #16213e;
  color: #fff;
}
.cat-pill .count {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 1px 8px;
  font-size: 11px;
  margin-left: 6px;
}
.cat-pill:not(.active) .count { background: rgba(0,0,0,0.06); }

.cat-section { margin-bottom: 56px; display: none; }
.cat-section.visible { display: block; }
.cat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eaeaea;
}
.cat-header .icon {
  width: 44px;
  height: 44px;
  background: #FF6B35;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.cat-section.rings .cat-header .icon { background: #c9a247; }
.cat-section.bts .cat-header .icon { background: #16213e; }
.cat-header h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 2px;
  line-height: 1.2;
}
.cat-header p {
  font-size: 13px;
  color: #888;
  margin: 0;
}

.section-note {
  background: #fff8f4;
  border-left: 3px solid #FF6B35;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
  color: #16213e;
  margin: 0 0 20px;
  line-height: 1.5;
}
.section-note strong { color: #FF6B35; }

/* === Month sub-navigation (sub-child nav, e.g. Ring Winners by month) === */
.month-subnav {
  display: flex;
  gap: 8px;
  margin: 0 0 22px;
  flex-wrap: wrap;
}
.month-subtab {
  background: #fff;
  border: 1px solid #e4d29a;
  color: #8a6d1f;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.month-subtab:hover { border-color: #c9a247; color: #b6892f; }
.month-subtab.active {
  background: #c9a247;
  border-color: #c9a247;
  color: #fff;
}
.month-subtab .count {
  display: inline-block;
  background: rgba(0,0,0,0.08);
  border-radius: 100px;
  padding: 1px 8px;
  font-size: 11px;
  margin-left: 6px;
  font-weight: 700;
}
.month-subtab.active .count { background: rgba(255,255,255,0.22); }
.month-panel { display: none; }
.month-panel.active { display: block; }

.masonry {
  column-count: 4;
  column-gap: 12px;
}
.masonry img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 12px;
  break-inside: avoid;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background: #f5f5f5;
}
.masonry img.is-hidden { display: none !important; }
.masonry img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.load-more-wrap { text-align: center; margin: 24px 0 0; }
.load-more {
  background: #16213e;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, transform 0.2s ease;
}
.load-more:hover { background: #FF6B35; transform: translateY(-2px); }
.load-more-wrap.hidden { display: none; }

.gallery-closing {
  text-align: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 16px;
  padding: 40px 32px;
  color: #fff;
  margin: 24px 0 56px;
}
.gallery-closing h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}
.gallery-closing p {
  font-size: 15px;
  color: #e0e0e0;
  margin: 0 auto 22px;
  max-width: 540px;
  line-height: 1.5;
}
.gallery-closing a {
  display: inline-block;
  background: #FF6B35;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.gallery-closing a:hover { background: #e55525; }

.aob-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.92);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.aob-lightbox.open { display: flex; opacity: 1; }
.aob-lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  user-select: none;
  object-fit: contain;
}
.aob-lightbox-btn {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: inherit;
  padding: 0;
}
.aob-lightbox-btn:hover {
  background: #FF6B35;
  border-color: #FF6B35;
  transform: scale(1.08);
}
.aob-lightbox-close { top: 20px; right: 24px; font-size: 22px; }
.aob-lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.aob-lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.aob-lightbox-prev:hover, .aob-lightbox-next:hover { transform: translateY(-50%) scale(1.08); }
.aob-lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  background: rgba(0,0,0,0.4);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
}
body.aob-lightbox-open { overflow: hidden; }

@media (max-width: 900px) {
  .gallery-hero .seo-intro-heading { font-size: 34px; }
  .masonry { column-count: 2; }
  .season-tab { padding: 12px 16px; font-size: 14px; }
  .cat-pill { padding: 7px 14px; font-size: 12px; }
  .month-subtab { padding: 7px 14px; font-size: 13px; }
  .aob-lightbox-btn { width: 44px; height: 44px; font-size: 20px; }
  .aob-lightbox-close { top: 14px; right: 14px; }
  .aob-lightbox-prev { left: 10px; }
  .aob-lightbox-next { right: 10px; }
}

@media (max-width: 480px) {
  .masonry { column-count: 2; column-gap: 8px; }
  .masonry img { margin-bottom: 8px; }
}