/* Hero image URL comes from inline style in login/terms templates (admin-configurable). */
body.auth-login-page,
body.auth-terms-page {
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    min-height: 100vh !important;
    color: #1e293b !important;
}

body.auth-login-page #main,
body.auth-terms-page #main {
    background: transparent !important;
}

/* Homepage uses .gray-bg with a gradient; reset it on login so the hero stays visible. */
body.auth-login-page section.gray-bg,
body.auth-terms-page section.gray-bg {
    background: transparent !important;
    border-top: none !important;
    border-bottom: none !important;
}

/* The theme sets a white background for ALL <section> globally. */
body.auth-login-page section,
body.auth-terms-page section {
    background: transparent !important;
}

