body.ahs-gallery {
  --gl-cream: #F6F4F2;
  --gl-ink: #1A2C33;
  background: var(--gl-cream);
  color: #3D5160;
}

body.ahs-gallery .rtl-ltr-switcher-btn {
  display: none !important;
}

.gl-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 340px;
  padding: 48px 0 46px;
  background: #02323A center / cover no-repeat;
  color: #fff;
  isolation: isolate;
}

.gl-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(2, 42, 48, 0.86) 0%, rgba(2, 42, 48, 0.62) 42%, rgba(2, 42, 48, 0.18) 78%),
    linear-gradient(180deg, rgba(2, 42, 48, 0.12) 0%, rgba(2, 42, 48, 0.28) 100%);
}

.gl-hero .container {
  position: relative;
  z-index: 1;
}

.gl-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.4;
}

.gl-crumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.gl-crumb a:hover,
.gl-crumb .is-current {
  color: #fff;
}

.gl-hero h1 {
  max-width: 14em;
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.gl-hero__lede {
  max-width: 46ch;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.55;
}

.gl-main {
  padding: 36px 0 80px;
}

.gl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gl-card {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #d7e4e2;
}

.gl-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gl-card:hover img {
  transform: scale(1.04);
}

@media (max-width: 991px) {
  .gl-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-card img {
    height: 220px;
  }
}

@media (max-width: 575px) {
  .gl-hero {
    min-height: 280px;
    padding: 36px 0 32px;
  }

  .gl-grid {
    grid-template-columns: 1fr;
  }

  .gl-card img {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gl-card img {
    transition: none;
  }
}
