/* Global sub-banner styles are now in site.css */

/* ── Gallery Header overrides ────────────────────────────── */
.gallery-filter-btn.is-active {
  color: var(--color-primary) !important;
  text-decoration: underline;
}

/* ── Thinner Gallery Filter Bar ──────────────────────────── */
.gallery_section {
  padding: 0;
  margin-top: 10px;
  /* Pull closer to content */
}

.gallery_info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0285d5;
  padding: 8px 30px;
  min-height: 50px;
  border-radius: 0px;
}

.gallery_info h2 {
  font-size: 24px;
  color: #fff;
  font-family: "Bubblegum Sans", cursive;
  margin: 0;
}

.gallery_info ul {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery_info ul li {
  padding: 0;
}

.gallery_info ul li a {
  font-family: "Bubblegum Sans", cursive;
  font-size: 15px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

.gallery_info ul li a i {
  font-size: 8px;
  opacity: 0.8;
}

.gallery_info ul li a:hover {
  color: var(--color-primary);
}

/* ── Gallery grid section (Matching Home Page) ───────────── */
.gallery-main-grid-wrapper {
  padding: 10px 0;
  background: #ffffff;
}

.gallery-card {
  transition: opacity var(--transition-base), transform 0.4s ease;
}

.gallery-card.is-hidden {
  display: none;
}

/* Ensure images fill the grid items */
.ri-grid-list li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
}

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

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--border-radius-md);
}

.lightbox__close {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  font-size: 36px;
  color: #ffffff;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

.lightbox__close:hover {
  color: var(--color-primary);
}

.lightbox__prev,
.lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-4);
  transition: color var(--transition-fast);
}

.lightbox__prev {
  left: var(--space-6);
}

.lightbox__next {
  right: var(--space-6);
}

.lightbox__prev:hover,
.lightbox__next:hover {
  color: var(--color-primary);
}

/* ── Responsive ──────────────────────────────────────────── */
/* ── Responsive ──────────────────────────────────────────── */
@media only screen and (max-width: 768px) {
  .gallery_info {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .gallery-header-filters {
    justify-content: flex-start;
    padding-left: 20px;
    margin-top: 10px;
  }
}