/* Shared portal typography and reusable header/footer text styles. */
body {
    font-size: var(--base-text-size);
    font-family: "Inter", sans-serif;
    line-height: 1.5;
}

p {
    margin-top: 0;
    margin-bottom: var(--space-4, 20px);
}

.subheading-l {
    font-weight: 500;
    color: #505a5f;
    font-size: calc(var(--base-text-size) + 0.2rem);
}

.subheading-m {
    font-weight: 500;
    color: #505a5f;
    font-size: calc(var(--base-text-size) + 0.1rem);
}

.subheading-s {
    font-weight: 500;
    color: #505a5f;
    font-size: var(--base-text-size)
}

h1,
.h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

h2,
.h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

h3,
.h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.btn {
    font-size: var(--base-text-size)
}

.modal-title {
    font-size: calc(var(--base-text-size) + 0.2rem);
    font-weight: 700;
}

.form-control {
    font-size: var(--base-text-size);
}

.form-select {
    font-size: var(--base-text-size);
}

.dropdown-item {
    font-size: var(--base-text-size);
}

.inset-text {
    font-size: var(--portal-text-base, 1rem);
    line-height: 1.5;
}
legend {
    font-size: var(--base-text-size);
}

#portal-profile-header .nav-link {
    font-size: var(--portal-text-md);
    line-height: 1.5;
    font-weight: 600;
    text-transform: none;
}

#portal-profile-header .dropdown-item {
    font-size: var(--portal-text-md);
    line-height: 1.5;
    text-transform: none;
}

#portal-profile-footer {
    font-size: var(--portal-text-md);
    line-height: 1.65;
    text-transform: none;
}

#portal-profile-footer a {
    text-transform: none;
}

#portal-profile-footer .pf-links a {
    font-weight: 500;
}

#portal-profile-footer .pf-credit p {
    font-size: var(--portal-text-sm);
}

#portal-profile-footer .pf-credit a {
    font-weight: 600;
}

#portal-profile-footer .pf-credit .pf-powered {
    font-size: var(--portal-text-xs);
}

h4,
.h4 { font-size: 1.125rem; font-weight: 700; line-height: 1.4; }

h5,
.h5,
h6,
.h6 { font-size: 1rem; font-weight: 700; line-height: 1.4; }

@media (max-width: 575.98px) {
h1,
.h1 { font-size: 1.75rem; }
}
