/* The scene and the primary buttons have independent rows so every part of
   the Christmas illustration remains visible at any screen size. */
.bilal-hero.bilal-navidad {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  grid-template-rows: auto auto auto;
  align-items: center; min-height: 0; padding: 0;
  border-color: var(--accent); background: #15202c; color: #f4e7cf;
}
.bilal-hero.bilal-navidad::after { display: none }
.bilal-hero.bilal-navidad > .hero-copy { display: contents; pointer-events: auto }

.bilal-navidad #bilal-scenes {
  position: relative; inset: auto; grid-area: 1 / 1 / 2 / -1;
  width: 100%; min-width: 0; overflow: hidden;
  aspect-ratio: 2003 / 785;
}
.bilal-navidad #bilal-scenes .scene { position: absolute; inset: 0; object-fit: cover }
.bilal-hero.bilal-navidad #bilal-scenes [data-navidad-art] {
  width: 100%; height: 100%; object-fit: contain; transform: none; animation: none;
}
.bilal-hero.bilal-navidad .hero-copy > .actions {
  grid-area: 2 / 2; align-self: center; justify-content: center; z-index: 5;
  gap: .65rem; margin: 0; padding: 12px 0;
}
.bilal-hero.bilal-navidad .hero-copy > .actions .button {
  background: var(--accent); border: 1px solid var(--accent); color: #062319;
  border-radius: 8px; min-height: 43px; padding: 10px 22px; font-weight: 700;
}
.bilal-hero.bilal-navidad .hero-copy > .actions a.button { background: #119783; border-color: #119783; color: #021815 }
.bilal-hero.bilal-navidad .hero-copy > .actions .button:hover { background: #43e2c5; border-color: #43e2c5; color: #062319 }
.bilal-hero.bilal-navidad > .scene-control-layer {
  grid-area: 2 / 1 / 3 / -1; display: flex; align-items: center; justify-content: space-between;
  position: relative!important; inset: auto!important; height: auto; padding: 0 clamp(12px,3vw,46px);
}
.bilal-navidad .scene-controls {
  position: static; display: flex; align-items: center; gap: 4px;
}
.bilal-navidad .scene-controls button, .bilal-navidad .navidad-music, .footer .navidad-music {
  color: #fff4dc; background: #192636; border: 1px solid #bb9657; border-radius: 6px;
  min-height: 40px; min-width: 40px; line-height: 1; cursor: pointer;
}
.bilal-navidad .scene-controls button[aria-pressed=true] { background: #52313a; color: #fff9ed }
.bilal-navidad .navidad-music, .footer .navidad-music {
  display: inline-flex; align-items: center; justify-content:center; gap: .4em; padding: 6px 12px;
  pointer-events: auto; font: inherit; font-size: .9rem;
}
.bilal-navidad .navidad-music[aria-pressed=true], .footer .navidad-music[aria-pressed=true] { border-color:#f2cf86 }
.footer .navidad-music { margin: .5em 0; align-self: start; }
.footer .navidad-music[hidden] { display: none }
.bilal-navidad .navidad-copy { grid-area: 3 / 1 / 4 / 3; padding: 8px clamp(16px,3vw,46px) 16px; min-width: 0 }
.bilal-navidad .hero-copy .navidad-copy .restored-logo { display: none }
.bilal-navidad .hero-copy .navidad-copy .eyebrow { font-size: .72rem; color: #edc283; margin: 0 0 3px }
.bilal-navidad .hero-copy .navidad-copy h1 { font-size: clamp(1.23rem,2.1vw,1.9rem); margin: 0; color: #fff4dc }
.bilal-navidad .hero-copy .navidad-copy p:last-child { color: #d8dce1; margin: .28em 0 0; max-width: none; line-height: 1.4; font-size: .94rem }
.bilal-navidad .navidad-links {
  grid-area: 3 / 3; align-self: center; justify-self: end;
  padding: 8px clamp(16px,3vw,46px) 16px 0; display: flex; flex-wrap: wrap; gap: 6px;
}
.bilal-navidad .navidad-links a {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600;
  color: #fff3db; border: 1px solid #bd9a62; border-radius: 6px; background: #192636; padding: 8px 12px; min-height: 40px; font-size: .9rem;
}
.bilal-navidad :is(.navidad-links a,.scene-controls button,.navidad-music):hover { border-color:#ffe4a3; color:#fff }
.bilal-navidad :is(a,button):focus-visible, .footer .navidad-music:focus-visible { outline: 3px solid #fff0a9; outline-offset: 2px }
@media(max-width:850px) {
  .bilal-navidad .scene-controls button { padding: 4px; min-width: 36px; min-height: 38px }
  .bilal-navidad .navidad-copy { grid-area: 4 / 1 / 5 / -1; padding: 0 16px 14px }
  .bilal-navidad .navidad-links { grid-area: 3 / 1 / 4 / -1; justify-self: stretch; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 2px 16px 12px }
  .bilal-navidad .navidad-links a { padding: 6px 2px; min-height: 44px }
}
@media(max-width:620px) {
  .bilal-hero.bilal-navidad { grid-template-columns:minmax(0,1fr) }
  .bilal-hero.bilal-navidad .hero-copy > .actions { grid-area: 2 / 1; justify-self: stretch; padding: 12px 16px 6px; }
  .bilal-navidad .hero-copy > .actions > * { flex: 1 1 0; min-height: 44px }
  .bilal-hero.bilal-navidad > .scene-control-layer { grid-area: 3 / 1; padding: 5px 16px 11px }
  .bilal-navidad .navidad-copy { grid-area: 5 / 1 }
  .bilal-navidad .navidad-links { grid-area: 4 / 1 }
}
.bilal-navidad .scene-controls button[data-scene-pause] { display: inline-grid; place-items: center; font-size: 0; line-height: 1 }
.bilal-navidad [data-scene-pause]::before {
  content: ""; display: block; width: 10px; height: 12px; box-sizing: border-box;
  border-left: 3px solid currentColor; border-right: 3px solid currentColor;
}
.bilal-navidad [data-scene-pause][aria-pressed=true]::before {
  width: 0; height: 0; margin-left: 2px; border: 0; border-left: 10px solid currentColor;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
