/*
 * STPS Home
 */

body.stps-home-page .home-main {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    padding-left: clamp(16px, 2vw, 32px);
    padding-right: clamp(16px, 2vw, 32px);
}

body.stps-home-page .home-hero {
    padding: clamp(54px, 7vw, 82px) 0 clamp(34px, 4vw, 52px);
}

body.stps-home-page .home-eyebrow {
    margin: 0 0 14px;
    color: #5b6878;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.stps-home-page .home-hero .stps-page-title {
    margin: 0;
    max-width: 900px;
    color: #12304f;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

body.stps-home-page .home-hero .stps-page-lead {
    margin: 22px 0 0;
    max-width: 900px;
    color: #526173;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.55;
}

/*
 * shell.css loads after home.css, so this selector is intentionally
 * more specific and uses !important for the grid columns.
 */
body.stps-home-page main.stps-page.home-main > section.home-stats {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.stps-home-page main.stps-page.home-main > section.home-stats > article.home-stat {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 190px;
    box-sizing: border-box;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

body.stps-home-page .home-stat-label {
    color: #536173;
    font-size: 14px;
    font-weight: 750;
}

body.stps-home-page .home-stat-value {
    margin-top: 8px;
    color: #12304f;
    font-size: clamp(36px, 3.4vw, 46px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.035em;
}

body.stps-home-page .home-stat p {
    margin: 16px 0 0;
    color: #5b6878;
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 1050px) {
    body.stps-home-page main.stps-page.home-main > section.home-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    body.stps-home-page .home-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.stps-home-page .home-hero {
        padding-top: 42px;
        padding-bottom: 30px;
    }

    body.stps-home-page main.stps-page.home-main > section.home-stats {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    body.stps-home-page main.stps-page.home-main > section.home-stats > article.home-stat {
        min-height: 0;
    }
}
