/* The imported wall keeps its proportions, so posters stay inside its frames. */
#billboard .modal-content{padding:28px clamp(20px,4.2vw,55px) 34px}
#billboard h2{margin:0 0 22px;font-size:clamp(1.5rem,3.3vw,2.25rem)}
.flyer-carousel{position:relative}
#billboard .flyer-grid{
  display:block;position:relative;isolation:isolate;
  aspect-ratio:1448/1086;width:100%;margin:0;
  background:#050508 url('assets/cartelera-wall-v2.webp') center/100% 100% no-repeat;
}
#billboard .flyer-card{
  position:absolute;top:27.8085%;height:39.2265%;
  margin:0;padding:0;min-height:0;background:#080809;
}
#billboard .flyer-card[data-slot="0"]{left:10.5663%;width:20.9254%}
#billboard .flyer-card[data-slot="1"]{left:39.2956%;width:21.2017%}
#billboard .flyer-card[data-slot="2"]{left:68.232%;width:21.2017%}
#billboard .flyer-card[hidden],.flyer-carousel[hidden]{display:none}
#billboard .flyer-card>img{width:100%;height:100%;aspect-ratio:auto;object-fit:contain;background:#080809}
.billboard-arrow{
  position:absolute;top:50%;margin-top:-22px;z-index:4;
  width:44px;height:44px;padding:0;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:#050508e8;border:1px solid #ffffff45;
}
.billboard-arrow[data-flyer-direction="-1"]{left:-20px}
.billboard-arrow[data-flyer-direction="1"]{right:-20px}
.billboard-arrow .action-icon{width:22px;height:22px}
.billboard-arrow .action-icon>svg{width:22px;height:22px}
#billboard .flyer-note{max-width:760px;margin:24px 0 0;font-size:.875rem;line-height:1.65}
.flyer-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
#billboard .flyer-heading h2{margin:0}
.flyer-heading>button{min-height:44px;padding:10px 18px;flex-shrink:0;background:#08080be6;border:1px solid #ffffff45}
.flyer-heading[hidden],.flyer-heading>button[hidden],.billboard-arrow[hidden]{display:none}
#billboard .flyer-grid.all-flyers{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;
  aspect-ratio:auto;background:#08080be6;max-height:min(64svh,680px);
  overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:16px;
}
#billboard .all-flyers .flyer-card{position:relative;top:auto;left:auto;width:100%;height:auto;aspect-ratio:3/4}
#billboard .all-flyers .flyer-card>img{object-fit:contain;object-position:center}
@media(max-width:900px){#billboard .flyer-grid.all-flyers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  #billboard .modal-content{padding-top:24px;padding-bottom:28px}
  #billboard .flyer-grid{background-image:url('assets/cartelera-wall-v2-800.webp')}
  .billboard-arrow[data-flyer-direction="-1"]{left:-18px}
  .billboard-arrow[data-flyer-direction="1"]{right:-18px}
  .flyer-heading{align-items:flex-start;gap:12px}
  .flyer-heading>button{padding:10px 12px;font-size:.875rem}
  #billboard .flyer-grid.all-flyers{grid-template-columns:minmax(0,1fr);gap:24px;padding:16px}
}
