/* Reading text follows the directory introduction; cards and buttons retain
   their component styles. Form copy remains readable inside form cards. */
body {
    --site-text-size:1rem;
    --site-text-line-height:1.65;
}

body main :is(p,li,dt,dd,blockquote,label,small,.small,.form-text,.form-check-label,.invalid-feedback,.valid-feedback,.network-intro,.network-note):not(:where(
    [class*="card"]:not(:has(form)):not(form) *,
    .home-pathway *,
    .benefits-stat *,
    .popular-post *,
    button *,
    .btn *,
    .network-button *,
    .home-hero-copy p,
    .lead
)) {
    font-family:var(--site-font);
    font-size:var(--site-text-size) !important;
    line-height:var(--site-text-line-height) !important;
}

body main form :is(p,label,small,.small,.form-text,.form-check-label,.invalid-feedback,.valid-feedback):not(:where(button *,.btn *,.network-button *)),
body main .login-card-heading p,
body main .login-point strong,
body main .login-quote strong,
body main .register-hero-quote strong,
body main .request-guide strong {
    font-family:var(--site-font);
    font-size:var(--site-text-size) !important;
    line-height:var(--site-text-line-height) !important;
}

body main :is(.form-control,.form-select,form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),form select,form textarea) {
    font-family:var(--site-font);
    font-size:var(--site-text-size) !important;
    line-height:1.5;
    min-height:2.75em;
}

body main :is(.form-control,.form-select)::placeholder {
    font-size:inherit;
}

body main form :is(.form-check-label,.form-text,.invalid-feedback) {
    overflow-wrap:anywhere;
}

@media (min-width:1921px) {
    body { --site-text-size:var(--wide-unit); }
}
