/* Mobile continuation of the existing AIN hero. Desktop uses its existing rules. */
@media (max-width: 760px) {
  body[data-audience] #hero.hero {
    padding-top: 24px !important;
    padding-bottom: 32px !important;
    min-height: 0 !important;
  }
  body[data-audience] #hero .hero-copy { padding-top: 0 !important; }
  body[data-audience] #hero .hero-title-stack {
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 18px;
  }
  body[data-audience] #hero #hero-title {
    /* Restore the original mobile Manrope display scale from styles.css. */
    font-size: 44px !important;
    line-height: 1.1 !important;
    letter-spacing: -.025em !important;
    min-height: 0 !important;
    width: 100%;
    max-width: none !important;
    word-break: normal;
    overflow-wrap: normal;
    text-wrap: balance;
  }
  body[data-audience] #hero #hero-title > span {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
  }
  #hero .hero-cta-secondary { display: none !important; }
  body[data-audience] #hero .program-facts {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    margin-top: 24px !important;
    padding: 16px 12px !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100%;
  }
  body[data-audience] #hero .program-facts .fact-row {
    display: grid !important;
    grid-template-columns: 80px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
    min-width: 0;
  }
  body[data-audience] #hero .program-facts .fact-row dt { display:block !important; }
  body[data-audience] #hero .program-facts .fact-row dt,
  body[data-audience] #hero .program-facts .fact-row small {
    margin: 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
  }
  body[data-audience] #hero .program-facts .fact-row dd {
    min-width: 0;
    margin: 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
    white-space: normal !important;
    overflow-wrap: normal;
    transform: none !important;
  }
  body[data-audience] #hero .program-facts .fact-row--date-range dd {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px 12px !important;
  }
  body[data-audience] #hero .program-facts .fact-row--date-range dd > span {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  body[data-audience] #hero .program-facts .fact-row--date-range dd > i { display: none; }
  body[data-audience] #hero .program-facts .fact-row--price dd {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 4px 8px;
    align-items: baseline;
  }
  body[data-audience] #hero .program-facts .fact-old-price {
    grid-column: 1;
    grid-row: 1;
    font-size: 13px !important;
    line-height: 1.45;
    font-weight: 400;
    white-space: nowrap;
  }
  body[data-audience] #hero .program-facts .fact-deadline {
    grid-column: 2;
    grid-row: 1;
    font-size: 13px !important;
    line-height: 1.45;
    font-weight: 400;
    white-space: normal;
  }
  body[data-audience] #hero .program-facts .fact-current-price {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 18px !important;
    line-height: 1.35;
    font-weight: 600;
  }
}
@media(max-width:760px) {
  body[data-audience] #hero .program-facts .fact-row dt {
    position:static !important; inset:auto !important; width:auto !important; height:auto !important;
    clip:auto !important; clip-path:none !important; overflow:visible !important;
    grid-column:1 !important; grid-row:auto !important; opacity:1 !important;
  }
  body[data-audience] #hero .program-facts .fact-row dd {
    grid-column:2 !important; grid-row:auto !important; width:100% !important;
  }
}
@media(max-width:360px) {
  body[data-audience] #hero #hero-title { font-size:32px !important; }
}
@media(max-width:760px) {
 body[data-audience] #hero .program-facts .fact-row dt { text-transform:none !important; }
 body[data-audience] #hero .program-facts .fact-row--mode dt { display:none !important; }
 body[data-audience] #hero .program-facts .fact-row--mode dd { grid-column:1/-1 !important; }
}
@media(max-width:760px) {
 body[data-audience] #hero #hero-title { text-wrap:balance; }
 body[data-audience] #hero #hero-title > [data-role-title-line] { display:inline !important; }
 body[data-audience] #hero .hero-secondary { font-size:14px !important; line-height:1.65 !important; }
}

@media(max-width:760px) {
 body[data-audience] #hero #hero-title > [data-role-title-line] { display:block !important; }
}

@media(max-width:760px) {
 body[data-audience] #hero #hero-title { text-wrap:balance; hyphens:auto; }
 body[data-audience] #hero #hero-title > [data-role-title-line] {
  display:inline !important; font-size:inherit !important; font-weight:inherit !important;
  line-height:inherit !important; margin:0 !important;
 }
}

@media(max-width:760px) {
 body[data-audience] #hero #hero-title { font-size:44px !important; margin-top:12px !important; }
 body[data-audience] #hero .hero-secondary {
  text-align:justify !important; text-align-last:start;
  hyphens:auto; hyphenate-limit-chars:6 3 3; hyphenate-limit-lines:2;
  letter-spacing:-.0075em !important;
 }
}
@media(max-width:760px) {
 body[data-audience] #hero #hero-title > [data-role-title-line] {
  -webkit-hyphens:manual !important; hyphens:manual !important;
 }
}
@media(max-width:360px) {
 body[data-audience] #hero #hero-title { width:calc(100% + 16px) !important; margin-left:-8px !important; }
}

@media(max-width:760px) {
 body[data-audience] #hero #hero-title { width:calc(100% + 24px) !important; margin-left:-12px !important; -webkit-hyphens:none !important; hyphens:none !important; }
 body[data-audience] #hero #hero-title > [data-role-title-line] { -webkit-hyphens:none !important; hyphens:none !important; }
 html[data-ain-hero-variant="a"] body[data-audience] #hero #hero-title { font-size:clamp(44px,12.8vw,54px) !important; }
 html[data-ain-hero-variant="b"] body[data-audience] #hero #hero-title { font-size:54px !important; }
}
@media(max-width:360px) {
 html[data-ain-hero-variant="a"] body[data-audience] #hero #hero-title { font-size:32px !important; }
 html[data-ain-hero-variant="b"] body[data-audience] #hero #hero-title { font-size:44px !important; }
}
@media(max-width:760px) {
 body[data-audience] #hero .hero-secondary {
  text-align:start !important; text-align-last:auto;
  text-wrap:balance !important;
  -webkit-hyphens:manual !important; hyphens:manual !important;
 }
}
