/* ===========================================
   HERO CINEMATIC CTA COMPONENT
   Ken Burns slideshow with info band below image
   Static CSS — keyframes generated per-instance
   =========================================== */

.block-hero-cinematic-cta {
  position: relative;
  width: 100%;
  background: #000;
}

/* --- Image viewport — holds all slides --- */
.block-hero-cinematic-cta .hero-cta-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* --- Slide (div wrapping img) --- */
.block-hero-cinematic-cta .hero-cta-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.block-hero-cinematic-cta .hero-cta-slide:first-child {
  opacity: 1;
}

.block-hero-cinematic-cta .hero-cta-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Info band below image --- */
.block-hero-cinematic-cta .hero-cta-band {
  position: relative;
  background: #fff;
  padding: 12px 0 10px;
  color: #333;
}

.block-hero-cinematic-cta .hero-cta-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 24px 10px;
  opacity: 0;
  box-sizing: border-box;
}

.block-hero-cinematic-cta .hero-cta-info:first-child {
  opacity: 1;
  position: relative;
}

/* --- Typography — matching exhibition-card-hero style --- */
.block-hero-cinematic-cta .hero-cta-title {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  color: #333 !important;
  line-height: 1.25 !important;
}

.block-hero-cinematic-cta .hero-cta-subtitle {
  margin: 4px 0 0 0 !important;
  padding: 0 !important;
  border: none !important;
  font-size: 0.75rem;
  font-weight: 400;
  color: #555;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
}

.block-hero-cinematic-cta .hero-cta-count {
  font-size: inherit;
  font-weight: 400;
  color: #999;
  text-transform: none;
  font-variant-numeric: tabular-nums;
}

/* --- Action buttons (Explore + Browse side by side) --- */
.block-hero-cinematic-cta .hero-cta-actions {
  display: flex;
  gap: 8px;
  margin: 8px 0 0 0 !important;
  padding: 0 !important;
}

.block-hero-cinematic-cta .hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #555;
  background: #f7f7f7;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.block-hero-cinematic-cta .hero-cta-btn:hover {
  color: #111;
  border-color: #bbb;
  background: #eee;
}

.block-hero-cinematic-cta .hero-cta-btn svg {
  flex-shrink: 0;
}

/* --- Dot indicators --- */
.block-hero-cinematic-cta .hero-cta-dots {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 12px;
  background: #fff;
  align-items: center;
}

.block-hero-cinematic-cta .hero-cta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ddd;
}

/* --- Separator line before page content --- */
.block-hero-cinematic-cta .hero-cta-dots::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: #e5e5e5;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .block-hero-cinematic-cta .hero-cta-info {
    padding: 12px 16px 8px;
  }

  .block-hero-cinematic-cta .hero-cta-band {
    padding: 12px 0 8px;
  }

  .block-hero-cinematic-cta .hero-cta-title {
    font-size: 1rem !important;
  }

  .block-hero-cinematic-cta .hero-cta-subtitle {
    font-size: 0.68rem;
  }

  .block-hero-cinematic-cta .hero-cta-btn {
    font-size: 0.65rem;
    padding: 3px 10px;
  }

  .block-hero-cinematic-cta .hero-cta-dots {
    gap: 5px;
    padding: 6px 0 10px;
  }

  .block-hero-cinematic-cta .hero-cta-dot {
    width: 4px;
    height: 4px;
  }
}
