/* === Fonts - start === */
h2 {
  font-family: nike_futura, Futura, Arial, sans-serif;
}

nav h2 {
  font-family: nike_futura, Futura, Arial, sans-serif !important;
  text-transform: uppercase;
}

body,
p,
data {
  font-family: nike_helvetica, Helvetica, Arial, sans-serif;
}
/* === Fonts - end === */

/* === Nike banner - start === */
/* Desktop: the banner keeps the image's own shape so the text lines up with it */
#imp-main-content [role="banner"].bg-cover {
  height: auto !important;              /* overrides the 580px set inline */
  aspect-ratio: 2014 / 781;             /* the image's actual size */
  background-position: center !important;
  display: flex;
  flex-direction: column;
}
#imp-main-content [role="banner"].bg-cover > .flex.h-full {
  position: relative;
  flex: 1 1 auto;
  height: auto;
  justify-content: flex-end;
  align-items: flex-start;
}
/* Text column: right 40%, same spot as the text in the image */
#imp-main-content [role="banner"].bg-cover > .flex.h-full > .relative {
  width: 40% !important;                /* overrides the 50% set inline */
  margin-right: 2% !important;
  padding-top: 12.6%;
}
#imp-main-content [role="banner"].bg-cover .flex-col.items-center.p-5 {
  padding: 0;
  align-items: center;
  text-align: center;
}
#imp-main-content [role="banner"].bg-cover section {
  overflow: visible;
  align-items: center;
}

/* Headline */
#imp-main-content [role="banner"].bg-cover h3 {
  color: #fff !important;
  font-family: 'Archivo Black', 'Arial Black', Helvetica, Arial, sans-serif !important;
  font-weight: 400 !important;          /* Archivo Black only comes in one weight */
  text-transform: uppercase;
  font-size: clamp(2.25rem, 4.7vw, 6rem) !important;
  line-height: .95 !important;
  letter-spacing: .03em !important;
  margin: 0 0 .3em !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

/* Subtitle */
#imp-main-content [role="banner"].bg-cover h4 {
  color: #fff !important;
  font-family: "Helvetica Neue", "nike_helvetica", Helvetica, Arial, sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(1rem, 1.55vw, 1.75rem) !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

/* Hides the empty text box between the subtitle and button */
#imp-main-content [role="banner"].bg-cover .p-5 > .mt-5 {
  display: none !important;
}

/* Button: centered under the text */
#imp-main-content [role="banner"].bg-cover .flex.gap-8 {
  justify-content: center;
  width: 100%;
}
#imp-main-content [role="banner"].bg-cover a.button-link-custom {
  margin-top: clamp(1rem, 2vw, 2rem);
  justify-content: center;
  white-space: nowrap;
}

/* Tablet */
@media (max-width: 1023px) {
  #imp-main-content [role="banner"].bg-cover {
    aspect-ratio: auto;
    min-height: 460px;
    background-position: 30% center !important;   /* keeps the player in view */
  }
  #imp-main-content [role="banner"].bg-cover > .flex.h-full {
    align-items: center;
  }
  #imp-main-content [role="banner"].bg-cover > .flex.h-full > .relative {
    width: 48% !important;
    margin-right: 3% !important;
    padding-top: 0;
  }
  #imp-main-content [role="banner"].bg-cover > .absolute {
    background: linear-gradient(90deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%);
  }
}

/* Mobile: text and button sit at the bottom over a dark fade */
@media (max-width: 767px) {
  #imp-main-content [role="banner"].bg-cover {
    min-height: clamp(520px, 150vw, 640px);
    background-position: 24% center !important;
  }
  #imp-main-content [role="banner"].bg-cover > .absolute {
    background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.75) 100%);
  }
  #imp-main-content [role="banner"].bg-cover > .flex.h-full {
    justify-content: center;
    align-items: flex-end;
  }
  #imp-main-content [role="banner"].bg-cover > .flex.h-full > .relative {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 20px 32px;
  }
  #imp-main-content [role="banner"].bg-cover h3 {
    font-size: clamp(2rem, 10vw, 3rem) !important;
  }
  #imp-main-content [role="banner"].bg-cover h4 {
    font-size: 1rem !important;
  }
  #imp-main-content [role="banner"].bg-cover a.button-link-custom {
    width: 100%;
    max-width: 360px;
    white-space: normal;
    text-align: center;
  }
}
/* === Nike banner - end === */
