/* Celebration gallery pages */
.gallery-page {
  box-sizing: border-box;
  min-height: 58vh;
  padding: 44px 0 58px;
  color: #fff;
}
.gallery-page *, .gallery-page *::before, .gallery-page *::after { box-sizing: inherit; }
.gallery-page__title {
  margin: 0 0 30px;
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.gallery-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 22px;
  margin: 0;
}
.gallery-card {
  display: flex;
  min-height: 232px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 20px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  background: rgba(13, 28, 36, .76);
  box-shadow: 0 12px 28px rgba(0,0,0,.2);
  text-align: center;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.gallery-card:hover, .gallery-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.48);
  background: rgba(13, 28, 36, .9);
}
.gallery-card__link { display: flex; width: 100%; flex: 1; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.gallery-card__link:hover, .gallery-card__link:focus { color: #fff; }
.gallery-card__icon { width: 86px; height: 86px; margin: 0 0 18px; object-fit: contain; }
.gallery-card__title { margin: 0 0 10px; color: #fff; font-size: 21px; font-weight: 700; line-height: 1.3; }
.gallery-card__meta { margin: 0; color: rgba(255,255,255,.76); font-size: 14px; }
.gallery-page__empty { grid-column: 1 / -1; margin: 0; padding: 26px; border-radius: 10px; background: rgba(13,28,36,.7); color: #fff; text-align: center; }
.gallery-page__back { display: inline-block; margin-top: 25px; color: #fff; font-weight: 600; }
.gallery-page__back:hover, .gallery-page__back:focus { color: #fff; text-decoration: underline; }
@media (max-width: 600px) {
  .gallery-page { padding: 30px 0 42px; }
  .gallery-page__grid { gap: 15px; }
  .gallery-card { min-height: 198px; padding: 20px 14px; }
  .gallery-card__icon { width: 72px; height: 72px; }
  .gallery-card__title { font-size: 19px; }
}
