.gallery-page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 26, 73, .98), rgba(6, 26, 73, .78)),
    url("assets/gallery/gallery-03.jpg") center 48% / cover no-repeat;
}

.gallery-page-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -250px;
  width: 480px;
  height: 480px;
  border: 68px solid rgba(255, 255, 255, .055);
  border-radius: 50%;
}

.gallery-page-hero-content {
  position: relative;
  z-index: 1;
  padding-block: 70px;
}

.gallery-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 38px;
  color: rgba(255, 255, 255, .7);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .01em;
}

.gallery-breadcrumb strong { color: var(--white); font-weight: 700; }
.gallery-page-eyebrow {
  margin: 0 0 10px;
  color: #ffb8bf;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.gallery-page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.gallery-page-hero-content > p:last-child {
  max-width: 700px;
  margin: 19px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.75;
}

.gallery-page-section {
  padding: 76px 0 86px;
  background: #f5f7fb;
}

.gallery-page-heading {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.gallery-page-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
}

.gallery-page-heading p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.gallery-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-page-grid a {
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(6, 26, 73, .1);
}

.gallery-page-grid img { height: auto; aspect-ratio: 16 / 9; }
.gallery-page-grid .gallery-preview { padding: 25px; }

.gallery-page-grid .gallery-preview small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: rgba(255, 255, 255, .74);
  font-size: 10px;
  line-height: 1.5;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gallery-empty {
  padding: 56px 25px;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  background: #fff;
}

.gallery-empty h2 { margin: 0; color: var(--navy); }
.gallery-empty p { margin: 12px 0 0; color: var(--muted); }

.gallery-help {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 11px;
}

.gallery-help::before {
  content: "i";
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

@media (max-width: 900px) {
  .gallery-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .gallery-page-hero { min-height: 390px; }
  .gallery-page-hero-content { padding-block: 54px; }
  .gallery-page-section { padding: 58px 0 66px; }
  .gallery-page-grid { grid-template-columns: 1fr; gap: 15px; }
  .gallery-page-grid img { height: auto; aspect-ratio: 16 / 9; }
  .gallery-help { align-items: flex-start; text-align: left; }
}
