/* Shared by every language and viewport, in both themes. */
#hero.sj-hero .hero__lead {
    display: block;
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-synthesis: none;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 1.08;
    text-wrap: balance;
}
html:lang(hi) #hero.sj-hero .hero__lead { font-family: 'Oswald', 'Noto Sans Devanagari', sans-serif; letter-spacing: normal; line-height: 1.3; }
html:lang(ja) #hero.sj-hero .hero__lead { font-family: 'Oswald', 'Noto Sans JP', sans-serif; letter-spacing: normal; line-height: 1.25; }
html:lang(ur) #hero.sj-hero .hero__lead { font-family: 'Oswald', 'Noto Sans Arabic', sans-serif; letter-spacing: normal; line-height: 1.5; }

#hero.sj-hero .hero__title .hero__title-emphasis,
#hero.sj-hero .hero__headline .hero__title-emphasis {
    display: block;
    margin-top: 0.3em;
    font-size: 0.88em;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 500;
    font-style: italic;
    line-height: 1.12;
    color: var(--sj-hero-accent) !important;
}
@media (min-width: 768px) {
    #hero.sj-hero { height: auto; max-height: none; min-height: 100dvh; }
    #hero.sj-hero .hero__title .hero__lead { font-size: 1.6em; }
}
@media (min-width: 1025px) {
    #hero.sj-hero {
        --sj-hero-inline-start: clamp(4.5rem, 8vw, 8.5rem);
        --sj-hero-inline-end: 0.75rem;
        /* Match the title's existing responsive size, including short laptops. */
        --sj-hero-layout-title-size: clamp(3rem, min(9.5vh, 4.5vw), 6.1rem);
    }
    #hero.sj-hero .hero__container {
        /* Reserve 8.15 lead ems: enough for the longest translations in 3 lines.
           13.04 = 8.15 * the selected 1.6em lead size; gutters are extra. */
        grid-template-columns:
            minmax(0, max(54%, calc(13.04 * var(--sj-hero-layout-title-size) + var(--sj-hero-inline-start) + var(--sj-hero-inline-end))))
            minmax(0, 1fr);
    }
    #hero.sj-hero .hero__title { max-width: none; }
}
@media (min-width: 1025px) and (max-height: 700px) {
    #hero.sj-hero { --sj-hero-layout-title-size: clamp(3.2rem, 8.6vh, 4.6rem); }
}
@media (min-width: 1025px) and (max-height: 600px) {
    #hero.sj-hero { --sj-hero-layout-title-size: clamp(2.5rem, 7vh, 3.35rem); }
}
@media (max-width: 767px) {
    #hero.sj-hero .hero__eyebrow { text-transform: none; letter-spacing: 0.02em; }
}
