@media (max-width: 600px) {
  /* Keep the stacked layout stable until the configured carousel is ready. */
  .hero[data-promotion-state="loading"] .hero-visual[hidden] {
    display: block !important;
    visibility: hidden;
  }
  .hero[data-promotion-state="loading"] .hero-controls[hidden] {
    display: flex !important;
  }
}

.hero:is([data-promotion-state="empty"], [data-promotion-state="unavailable"]) {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}
.hero:is([data-promotion-state="empty"], [data-promotion-state="unavailable"]) .hero-copy { padding-block: clamp(1.5rem, 4vw, 3rem); }
#hero-dots {
  min-width: 0;
  max-width: 100%;
  justify-content: safe center;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
#hero-dots button { flex: 0 0 2rem; }
#hero-play { flex-shrink: 0; }

.commercial-label {
  --label-surface: rgb(255 251 246 / .94);
  --label-text: #382e35;
  --label-border: rgb(56 46 53 / .25);
  --label-glint: rgb(255 255 255 / .74);
  position: absolute;
  z-index: 1;
  inset: .45rem auto auto .45rem;
  display: inline-flex;
  align-items: center;
  gap: .23rem;
  min-height: 24px;
  max-width: calc(100% - 3.1rem);
  padding: .12rem .4rem;
  border: 1px solid var(--label-border);
  border-radius: 999px;
  background: var(--label-surface);
  color: var(--label-text);
  box-shadow: inset 0 1px var(--label-glint), 0 2px 5px rgb(0 0 0 / .10);
  font: 600 .72rem/1.15 var(--sans);
  animation: commercial-label-appear 280ms ease-out both;
}
[data-theme="dark"] .commercial-label {
  --label-surface: rgb(39 35 38 / .95);
  --label-text: var(--ink);
  --label-border: rgb(241 231 219 / .28);
  --label-glint: rgb(255 255 255 / .11);
}
.commercial-label svg { flex: none; }
@keyframes commercial-label-appear { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 400px) {
  .commercial-label { inset-inline-start: .3rem; padding-inline: .28rem; gap: .18rem; }
  .commercial-label svg { width: 11px; height: 11px; }
}
@media (prefers-reduced-motion: reduce) { .commercial-label { animation: none; } }
