/* The benefit landings' hero (hero.css) with room at its bottom for the in-page tabs, which sit on its bottom
   edge (28px into it): a longer copy grows the hero instead of running under them */
.sales-page.ltb-page .ltb-hero__title {
    font-weight: 800;
}

@media (min-width: 1024px) {
    .sales-page.ltb-page .ltb-hero--qr .ltb-hero__copy {
        padding-bottom: 80px;
    }

    .sales-page.ltb-page .ltb-hero__title {
        font-size: 48px;
        line-height: 48px;
    }

    /* no QR code beside them: the tagline and the button take the description's column */
    .sales-page.ltb-page .ltb-hero__lead {
        width: 100%;
        max-width: 550px;
    }
}

/* phones and tablets: the design's 717-unit hero as the least, growing with its copy */
@media (max-width: 1023px) {
    .sales-page.ltb-page .ltb-hero {
        height: auto;
        min-height: calc(717 * var(--u));
    }

    .sales-page.ltb-page .ltb-hero .ltb-hero__copy {
        height: auto;
        min-height: calc(717 * var(--u));
        padding-bottom: calc(32 * var(--u) + 44px);
    }

    /* Travel's photo: her face and the scooter are right of the copy column, the longer title and tagline keep
       clear of them (the tagline in the description's column, as Finance) */
    .sales-page--travel .ltb-hero__title {
        max-width: calc(290 * var(--u));
    }

    .sales-page--travel .ltb-hero__tagline {
        max-width: calc(230 * var(--u));
    }

    /* Travel's light photo hangs from the hero's bottom (the same place at the design's height): a copy taller
       than the design takes the photo down with it instead of showing the hero's background under it */
    .sales-page--travel.ltb-page .ltb-hero__img {
        top: auto;
        bottom: calc((717 - var(--ltb-m-top, -141.36) - var(--ltb-m-h, 895.18)) * var(--u));
    }

    /* the button sits at the hero's bottom (margin-top: auto); a copy that fills the hero keeps 24 units above it */
    .sales-page.ltb-page .ltb-hero__tagline {
        margin-bottom: calc(24 * var(--u));
    }

    /* the kicker may reach 12 units into the right margin (the Black Friday dates fit on one line); a longer one
       wraps, its parts staying whole while they fit */
    .sales-page.ltb-page .ltb-hero__kicker {
        flex-wrap: wrap;
        row-gap: calc(4 * var(--u));
        height: auto;
        margin-right: calc(-12 * var(--u));
    }

    .sales-page.ltb-page .ltb-hero__kicker-lead,
    .sales-page.ltb-page .ltb-hero__kicker-label {
        min-width: 0;
        white-space: normal;
    }
}
