/* Dana hero slider, design 1: the full picture with the copy over it
   (.slider-default, styles.css 9816-9880; canonical block index.html:1087).
   Every rule is scoped to .dana-hs.dana-hs--d1; what the designs share is in
   hero-slider.css. */
.dana-hs.dana-hs--d1 { --dana-hs-ratio: 1920 / 940; }
/* The hero touches the header and the next section: no spacing of its own. */
.mt-section.dana-hs--d1 { padding-block-start: var(--mt-space-top, 0px); padding-block-end: var(--mt-space-bottom, 0px); }
@media (max-width: 767px) {
  .mt-section.dana-hs--d1 {
    padding-block-start: var(--mt-space-top-mobile, var(--mt-space-top, 0px));
    padding-block-end: var(--mt-space-bottom-mobile, var(--mt-space-bottom, 0px));
  }
}
/* Heights (styles.css 21912, 22519): 400px on phones (the merchant's phone
   height), 500px from 768px, and from 992px the picture's own ratio, the
   merchant's fixed height, or the screen below the header from 1440px
   (the template's slider-viewport, main.js 1469-1509). The picture covers
   the slide whenever the slide's height is not the picture's. */
.dana-hs.dana-hs--d1 .dana-hs__slide { min-block-size: var(--dana-hs-h-mb, 400px); }
.dana-hs.dana-hs--d1 .dana-hs__media { position: absolute; inset: 0; }
@media (min-width: 768px) {
  .dana-hs.dana-hs--d1 .dana-hs__slide { min-block-size: 500px; }
  .dana-hs.dana-hs--d1.dana-hs--h-fixed .dana-hs__slide { min-block-size: min(500px, var(--dana-hs-h, 700px)); }
}
@media (min-width: 992px) {
  .dana-hs.dana-hs--d1 .dana-hs__slide { min-block-size: 0; }
  .dana-hs.dana-hs--d1:is(.dana-hs--h-picture, .dana-hs--h-screen) .dana-hs__media { position: relative; inset: auto; }
  .dana-hs.dana-hs--d1:is(.dana-hs--h-picture, .dana-hs--h-screen) :is(.dana-hs__media--video, .dana-hs__slide--bare) { aspect-ratio: var(--dana-hs-ratio); }
  .dana-hs.dana-hs--d1.dana-hs--parallax:is(.dana-hs--h-picture, .dana-hs--h-screen) .dana-hs__media { aspect-ratio: var(--dana-hs-ratio); }
  .dana-hs.dana-hs--d1.dana-hs--h-fixed .dana-hs__slide { min-block-size: var(--dana-hs-h, 700px); }
}
@media (min-width: 1440px) {
  .dana-hs.dana-hs--d1.dana-hs--h-screen .dana-hs__slide { min-block-size: calc(100vh - var(--dana-hs-top, 0px)); aspect-ratio: auto; }
  .dana-hs.dana-hs--d1.dana-hs--h-screen .dana-hs__media { position: absolute; inset: 0; aspect-ratio: auto; }
  /* With parallax the 992px rule above gives the media the picture's ratio
     at a higher weight: the media is the slide here too, or before
     hero-slider.js runs the window-high picture is centred on a 705px box
     and the slide's foot shows no picture (56px at 1440x900, review
     2026-10-06). */
  .dana-hs.dana-hs--d1.dana-hs--h-screen.dana-hs--parallax .dana-hs__media { aspect-ratio: auto; }
}
/* height_below_1440 (dana-hs--below-fixed, screen mode): from 992 to
   1439px the slide keeps the merchant's height (index.html's 700px,
   .slider-fashion-1 .slider-wrap, styles.css 21461; main.js 1477-1479) and
   the picture covers it; 0 leaves the picture's ratio there. */
@media (min-width: 992px) and (max-width: 1439.98px) {
  .dana-hs.dana-hs--d1.dana-hs--h-screen.dana-hs--below-fixed .dana-hs__slide { min-block-size: var(--dana-hs-h-below, 700px); aspect-ratio: auto; }
  .dana-hs.dana-hs--d1.dana-hs--h-screen.dana-hs--below-fixed .dana-hs__media { position: absolute; inset: 0; aspect-ratio: auto; }
}
/* copy_width narrow (dana-hs--narrow): the start or end copy takes half the
   row from 768px and a third from 1400px (sportwear's col-md-6 col-xxl-4,
   home-sportwear.html 1182); centred copy keeps the row. Below 1400 only a
   start slide with no card needs it: hero-slider.css already gives an end
   slide half the row up to 992 and five twelfths after it, and a card five
   twelfths from 992, so half the row there made them wider (a card 647px
   against 535 at 1366, review 2026-10-06). */
@media (min-width: 768px) and (max-width: 1399.98px) {
  .dana-hs.dana-hs--d1.dana-hs--narrow:not(.dana-hs--card) .dana-hs__slide.dana-hs__slide--a-start .dana-hs__copy { inline-size: calc((100% + 24px) * 6 / 12 - 24px); }
}
@media (min-width: 1400px) {
  .dana-hs.dana-hs--d1.dana-hs--narrow .dana-hs__slide:is(.dana-hs__slide--a-start, .dana-hs__slide--a-end) .dana-hs__copy { inline-size: calc((100% + 24px) * 4 / 12 - 24px); }
}
