/*================================================
Gallery page
Builds on service-content.css (sd-*) and award-page.css (aw-section, aw-head, aw-btn, aw-photo, aw-cta-wrap).
=================================================*/
.gl-stat strong {
  font-size: 18px;
  line-height: 1.3;
}

/* Filter tabs */
.gl-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -15px 0 35px;
  padding: 0;
  list-style: none;
}
.gl-filters button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfe7ee;
  background: #fff;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}
.gl-filters button span {
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 12px;
  background: #eaf4fb;
  color: #316A9A;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gl-filters button:hover {
  border-color: #b62a72;
  color: #b62a72;
}
.gl-filters button.active {
  background: #b62a72;
  border-color: #b62a72;
  color: #fff;
  box-shadow: 0 6px 18px rgba(182, 42, 114, 0.25);
}
.gl-filters button.active span {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* Photo grid */
.gl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 16px;
}
.gl-item {
  min-width: 0;
}
.gl-item.gl-big {
  grid-column: span 2;
  grid-row: span 2;
}
.gl-item.gl-wide {
  grid-column: span 2;
}
.gl-item.is-hidden {
  display: none;
}
.gl-grid .aw-photo {
  aspect-ratio: auto;
  height: 100%;
}
.gl-grid .aw-photo figure {
  height: 100%;
}
.gl-grid .aw-photo figcaption strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.gl-grid .aw-photo figcaption small {
  display: block;
  font-size: 12.5px;
  opacity: 0.9;
  font-weight: 400;
}
.gl-item.gl-big .aw-photo figcaption strong {
  font-size: 18px;
}
.gl-item.is-showing {
  animation: gl-fade 0.45s ease;
}
@keyframes gl-fade {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

/* Facilities */
.gl-cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gl-cards-4 .sd-card {
  display: flex;
  flex-direction: column;
}
.gl-cards-4 .sd-card p {
  flex: 1;
}
.gl-cards-4 .aw-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-weight: 600;
  font-size: 15px;
  color: #316A9A;
}
.gl-cards-4 .aw-more:hover {
  color: #b62a72;
}

/* Plan your visit */
.gl-visit-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  height: 100%;
}
.gl-visit-card h2 {
  font-size: 28px;
  font-weight: 600;
  color: #222;
  margin: 0 0 18px;
}
.gl-visit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gl-visit-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed #e6e9ee;
}
.gl-visit-list li:first-child {
  padding-top: 0;
}
.gl-visit-list li:last-child {
  border-bottom: none;
}
.gl-visit-list li > i {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fbeef5;
  color: #b62a72;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gl-visit-list li:nth-child(even) > i {
  background: #eaf4fb;
  color: #316A9A;
}
.gl-visit-list strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  font-weight: 600;
  margin-bottom: 2px;
}
.gl-visit-list span,
.gl-visit-list a {
  display: block;
  color: #222;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.55;
}
.gl-visit-list a:hover {
  color: #b62a72;
}
.gl-visit-card .aw-intro-actions {
  margin-top: 22px;
}
.gl-map {
  height: 100%;
  min-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  background: #eef2f5;
}
.gl-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* Responsive */
@media only screen and (max-width: 1199px) {
  .gl-cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 991px) {
  .gl-grid {
    grid-auto-rows: 190px;
  }
  .gl-visit-card {
    margin-bottom: 25px;
  }
  .gl-map,
  .gl-map iframe {
    min-height: 340px;
  }
}
@media only screen and (max-width: 767px) {
  .gl-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 10px;
  }
  .gl-filters {
    margin: -5px 0 25px;
    gap: 8px;
  }
  .gl-filters button {
    font-size: 14px;
    padding: 8px 14px;
  }
  .gl-grid .aw-photo figcaption {
    left: 10px;
    right: 44px;
    bottom: 9px;
  }
  .gl-grid .aw-photo figcaption strong {
    font-size: 13px;
  }
  .gl-grid .aw-photo figcaption small {
    display: none;
  }
  .gl-grid .aw-photo .aw-zoom {
    width: 28px;
    height: 28px;
    right: 8px;
    bottom: 8px;
    font-size: 16px;
  }
  .gl-item.gl-big .aw-photo figcaption strong {
    font-size: 15px;
  }
  .gl-cards-4 {
    grid-template-columns: 1fr;
  }
  .gl-visit-card {
    padding: 22px 18px;
  }
  .gl-visit-card h2 {
    font-size: 24px;
  }
}
@media only screen and (max-width: 420px) {
  .gl-grid {
    grid-auto-rows: 125px;
  }
}
