.gallery-hero {
  position: relative;
  padding: 7rem 0 6.5rem;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(14, 199, 181, 0.22), transparent 27%),
    radial-gradient(circle at 14% 90%, rgba(21, 94, 239, 0.3), transparent 32%),
    linear-gradient(135deg, #06172d 0%, #092958 52%, #0b3fa8 100%);
  overflow: hidden;
}

.gallery-hero::before {
  position: absolute;
  top: -230px;
  right: -120px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(255, 255, 255, 0.018),
    0 0 0 160px rgba(255, 255, 255, 0.012);
  content: "";
}

.gallery-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
}

.gallery-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  font-weight: 600;
}

.gallery-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.gallery-breadcrumb a:hover,
.gallery-breadcrumb strong {
  color: #fff;
}

.gallery-breadcrumb i {
  font-size: 0.62rem;
}

.gallery-kicker,
.gallery-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #8ce9df;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-eyebrow {
  color: var(--skiisy-primary);
}

.gallery-kicker i {
  width: 30px;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
}

.gallery-hero h1 {
  max-width: 760px;
  margin: 1rem 0 1.1rem;
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.gallery-hero p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  line-height: 1.75;
}

.gallery-section {
  padding: 6.5rem 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(21, 94, 239, 0.08), transparent 24rem),
    radial-gradient(circle at 88% 20%, rgba(14, 199, 181, 0.12), transparent 22rem),
    #f8fbff;
}

.gallery-title {
  color: var(--skiisy-navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.poster-gallery-card {
  display: block;
  height: 100%;
  padding: 0.75rem;
  border: 1px solid #dfe7f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(9, 32, 63, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.poster-gallery-card:hover {
  border-color: rgba(21, 94, 239, 0.28);
  box-shadow: 0 24px 58px rgba(9, 32, 63, 0.14);
  transform: translateY(-5px);
}

.poster-gallery-frame {
  display: flex;
  height: 420px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.75rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
  overflow: hidden;
}

.poster-gallery-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.25s ease;
}

.poster-gallery-frame iframe,
.poster-gallery-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
  background: #071329;
}

.poster-gallery-frame video {
  object-fit: contain;
}

.video-gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #155eef;
  font-weight: 800;
}

.video-gallery-link:hover {
  color: #0b3fa8;
}

.poster-gallery-card:hover .poster-gallery-frame img {
  transform: scale(1.018);
}

.poster-gallery-empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  gap: 0.75rem;
  padding: 2rem;
  color: var(--skiisy-muted);
  border: 1px dashed #cbd7e8;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.poster-gallery-empty i {
  color: var(--skiisy-primary);
  font-size: 2rem;
}

.poster-gallery-empty p {
  margin: 0;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .gallery-hero {
    padding: 5.5rem 0;
  }

  .gallery-section {
    padding: 5rem 0;
  }

  .poster-gallery-frame {
    height: 380px;
  }
}

@media (max-width: 767.98px) {
  .gallery-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .poster-gallery-frame {
    height: 340px;
  }
}
