/* Sanu Tours gallery additions */
.sanu-gallery-section {
  padding: 92px 0 100px;
  background: #fff;
  position: relative;
}
.sanu-gallery-section .gallery-kicker {
  display: block;
  font-family: 'Arizonia', cursive;
  font-size: 30px;
  line-height: 1;
  color: #f39a1e;
  margin-bottom: 10px;
}
.sanu-gallery-section .gallery-title {
  font-family: 'Poppins', sans-serif;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 700;
  color: #132d50;
  margin: 0;
}
.sanu-gallery-section .gallery-lead {
  max-width: 650px;
  margin: 14px auto 0;
  color: #7b8490;
  font-size: 15px;
  line-height: 1.8;
}
.sanu-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 170px;
  gap: 10px;
  margin-top: 42px;
}
.sanu-gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #edf2f7;
  cursor: pointer;
  box-shadow: 0 7px 24px rgba(11, 35, 63, .07);
}
.sanu-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 25, 48, .28));
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.sanu-gallery-item:hover::after { opacity: 1; }
.sanu-gallery-item img,
.sanu-gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.sanu-gallery-item:hover img,
.sanu-gallery-item:hover video { transform: scale(1.035); }
.sanu-gallery-item.gallery-hero { grid-column: span 2; grid-row: span 2; }
.sanu-gallery-item.gallery-wide { grid-column: span 2; }
.sanu-gallery-item.gallery-tall { grid-row: span 2; }
.sanu-gallery-item .video-badge {
  position: absolute;
  z-index: 3;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.94);
  color: #f39a1e;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  font-size: 17px;
  padding-left: 3px;
  pointer-events: none;
}
.sanu-gallery-item.gallery-more {
  text-decoration: none;
}
.sanu-gallery-item.gallery-more::before {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background: rgba(5, 30, 57, .55);
}
.sanu-gallery-item .more-count {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: .2px;
  text-align: center;
}
.sanu-gallery-item .more-count small {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  opacity: .88;
  margin-top: 2px;
}
.sanu-gallery-actions {
  margin-top: 34px;
  text-align: center;
}
.sanu-gallery-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 170px;
  padding: 14px 24px;
  border-radius: 4px;
  background: #f39a1e;
  color: #fff !important;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .7px;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(243, 154, 30, .2);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.sanu-gallery-btn:hover {
  background: #0b3a68;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 58, 104, .2);
}

/* lightweight image/video viewer */
.sanu-lightbox {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 13, 25, .92);
}
.sanu-lightbox.is-open { display: flex; }
.sanu-lightbox-content {
  position: relative;
  max-width: min(1100px, 94vw);
  max-height: 90vh;
}
.sanu-lightbox img,
.sanu-lightbox video {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 7px;
  background: #000;
}
.sanu-lightbox-close {
  position: absolute;
  z-index: 2;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0b2f53;
  font-size: 22px;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}

/* Full gallery page */
.gallery-page-body { background: #f7f9fc; }
.gallery-page-top {
  padding: 35px 0 34px;
  background: linear-gradient(135deg, #082f57, #0c4c80);
  color: #fff;
}
.gallery-page-top a { color: #fff; text-decoration: none; }
.gallery-page-brand { font: 700 22px/1.2 'Poppins', sans-serif; letter-spacing: .2px; }
.gallery-page-brand span { color: #f7a11d; }
.gallery-page-back { font: 500 13px/1 'Poppins', sans-serif; opacity: .9; }
.gallery-page-head { padding: 70px 0 36px; text-align: center; }
.gallery-page-head h1 { font: 700 42px/1.2 'Poppins', sans-serif; color: #112f50; margin-bottom: 12px; }
.gallery-page-head p { color: #7b8490; max-width: 620px; margin: 0 auto; line-height: 1.8; }
.sanu-all-gallery { columns: 4 260px; column-gap: 12px; padding-bottom: 80px; }
.sanu-all-gallery .sanu-gallery-item { break-inside: avoid; margin-bottom: 12px; min-height: 180px; }
.sanu-all-gallery .sanu-gallery-item img { height: auto; min-height: 180px; object-fit: cover; }
.sanu-all-gallery .sanu-gallery-item video { height: auto; min-height: 220px; }

@media (max-width: 991px) {
  .sanu-gallery-section { padding: 72px 0 80px; }
  .sanu-gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 180px; }
  .sanu-gallery-item.gallery-hero { grid-column: span 2; }
  .sanu-gallery-item.gallery-wide { grid-column: span 2; }
  .sanu-gallery-section .gallery-title { font-size: 33px; }
}
@media (max-width: 575px) {
  .sanu-gallery-section { padding: 58px 0 64px; }
  .sanu-gallery-section .gallery-kicker { font-size: 26px; }
  .sanu-gallery-section .gallery-title { font-size: 28px; }
  .sanu-gallery-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    grid-auto-rows: 135px;
    grid-auto-flow: dense;
    gap: 7px;
    margin-top: 30px;
  }
  .sanu-gallery-item { border-radius: 7px; }
  .sanu-gallery-item.gallery-hero { grid-column: span 2; grid-row: span 2; }
  .sanu-gallery-item.gallery-wide { grid-column: span 2; }
  .sanu-gallery-item.gallery-tall { grid-row: span 2; }
  /* Let one-column cards backfill beside tall cards; keep the final row balanced. */
  .sanu-gallery-item.gallery-more { grid-column: span 1; }
  .sanu-gallery-item .more-count { font-size: 20px; }
  .gallery-page-head { padding: 52px 0 28px; }
  .gallery-page-head h1 { font-size: 31px; }
  .sanu-all-gallery { columns: 2 145px; column-gap: 8px; }
  .sanu-all-gallery .sanu-gallery-item { margin-bottom: 8px; min-height: 120px; }
  .sanu-lightbox { padding: 14px; }
}

.gallery-page-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.gallery-page-brand img {
  width: 36px;
  height: auto;
}
.gallery-page-brand .gallery-brand-text {
  display: inline-flex;
  flex-direction: column;
  color: #fff;
  font: 700 22px/1.05 'Poppins', sans-serif;
  letter-spacing: .25px;
  text-transform: uppercase;
}
.gallery-page-brand .gallery-brand-text em {
  font-style: normal;
  color: #f7a11d;
}
@media (max-width: 575px) {
  .gallery-page-brand img { width: 30px; }
  .gallery-page-brand .gallery-brand-text { font-size: 18px; }
}
