/* Dorjay R33: image-sized adaptive homepage banners, no crop, no letterboxing. */
#app .homehero {align-items:start;gap:13px;}
#app .homehero > .hero-center {min-width:0;}
#app .homehero .dj-slider {
  width:100%; height:auto!important; min-height:0!important;
  aspect-ratio:var(--dorjay-banner-ratio,24 / 7)!important;
  overflow:hidden;position:relative;border-radius:17px;
  background:transparent;
}
#app .homehero .dj-slide {position:absolute;inset:0;overflow:hidden;}
#app .homehero .dj-slide img {
  display:block;width:100%;height:100%;object-fit:contain!important;
  object-position:center center;background:transparent!important;
}
/* Keep side promotions visually aligned with the actual slider height on desktop. */
@media(min-width:1021px) {
  #app .homehero:has(.dj-slider) .hero-side {
    display:grid;grid-template-rows:repeat(2,minmax(0,1fr));
    align-self:start;height:var(--dorjay-banner-height,205px);
    min-height:0;gap:11px;
  }
  #app .homehero:has(.dj-slider) .sidepromo {min-height:0;overflow:hidden;padding:clamp(9px,1vw,20px);}
  #app .homehero:has(.dj-slider) .sidepromo h3 {font-size:clamp(12px,1.15vw,17px);line-height:1.35;}
  #app .homehero:has(.dj-slider) .sidepromo p {font-size:clamp(9px,.8vw,11px);line-height:1.3;margin-top:3px;}
  #app .homehero:has(.dj-slider) .sidepromo a {margin-top:4px;}
}
@media(max-width:1020px) {
  #app .homehero {grid-template-columns:minmax(0,1fr)!important;}
  #app .homehero:has(.dj-slider) .hero-side {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:auto;height:auto!important;align-self:stretch;
  }
  #app .homehero .sidepromo {min-height:115px;}
}
@media(max-width:740px) {
  #app .homehero .dj-slider {aspect-ratio:var(--dorjay-banner-ratio,24 / 7)!important;min-height:0!important;}
  #app .homehero:has(.dj-slider) .hero-side {gap:8px;}
  #app .homehero .sidepromo {padding:12px;min-height:110px;}
}
@media(max-width:420px) {
  #app .homehero .sidepromo h3 {font-size:12px;}
  #app .homehero .sidepromo p {font-size:9px;}
  #app .homehero .sidepromo .mini-emoji {font-size:30px;}
}
/* Promotional image cards use their own aspect ratio rather than cutting artwork. */
#app .dj-live-card {
  height:auto!important;min-height:0!important;
  aspect-ratio:var(--dorjay-card-ratio,16 / 7)!important;
}
#app .dj-live-card > img {
  display:block;width:100%;height:100%;object-fit:contain!important;
  background:transparent!important;
}
