/**
 * EducationCommunity.cshtml — typography aligned with actex-variables (scoped).
 */

@import url("actex-variables.css");
@import url("https://fonts.googleapis.com/css2?family=Hedvig+Letters+Serif:opsz@12..24&display=swap");

/* White bands (instructor bios without colored section bg) */
.education-community-page > .position-relative:not(.background-aqua):not(.background-lightblue):not(.background-darkblue) .container h2,
.education-community-page > .position-relative:not(.background-aqua):not(.background-lightblue):not(.background-darkblue) .container h2 b {
    font-family: var(--font-display, 'Hedvig Letters Serif', serif) !important;
    font-weight: 400 !important;
    color: var(--slate-grey, #242424) !important;
}

.education-community-page > .position-relative:not(.background-aqua):not(.background-lightblue):not(.background-darkblue) .container p,
.education-community-page > .position-relative:not(.background-aqua):not(.background-lightblue):not(.background-darkblue) .container li,
.education-community-page > .position-relative:not(.background-aqua):not(.background-lightblue):not(.background-darkblue) .container i {
    font-family: var(--font-body, 'Figtree', sans-serif) !important;
    font-size: 16px !important;
    line-height: 1.6;
    color: var(--slate-grey, #242424) !important;
}

.education-community-page > .position-relative:not(.background-aqua):not(.background-lightblue):not(.background-darkblue) .container a:not(.actex-btn) {
    font-family: var(--font-body, 'Figtree', sans-serif) !important;
    font-size: 16px !important;
    color: var(--aqua, #2c7d88) !important;
}

/* Teal band (Sam Broverman) */
.education-community-page .background-aqua .container h2,
.education-community-page .background-aqua .container h2 b {
    font-family: var(--font-display, 'Hedvig Letters Serif', serif) !important;
    font-weight: 400 !important;
    color: var(--white, #ffffff) !important;
}

.education-community-page .background-aqua .container p {
    font-family: var(--font-body, 'Figtree', sans-serif) !important;
    font-size: 16px !important;
    line-height: 1.6;
    color: var(--white, #ffffff) !important;
}

/* Light blue band (Andrew Ng) */
.education-community-page .background-lightblue .container h2,
.education-community-page .background-lightblue .container h2 b {
    font-family: var(--font-display, 'Hedvig Letters Serif', serif) !important;
    font-weight: 400 !important;
    color: var(--slate-grey, #242424) !important;
}

.education-community-page .background-lightblue .container p,
.education-community-page .background-lightblue .container i {
    font-family: var(--font-body, 'Figtree', sans-serif) !important;
    font-size: 16px !important;
    line-height: 1.6;
    color: var(--slate-grey, #242424) !important;
}

/* Navy band (Ambrose Lo) */
.education-community-page .background-darkblue .container h2,
.education-community-page .background-darkblue .container h2 b,
.education-community-page .background-darkblue .container p,
.education-community-page .background-darkblue .container i {
    color: var(--white, #ffffff) !important;
}

.education-community-page .background-darkblue .container h2 {
    font-family: var(--font-display, 'Hedvig Letters Serif', serif) !important;
    font-weight: 400 !important;
}

.education-community-page .background-darkblue .container p,
.education-community-page .background-darkblue .container i {
    font-family: var(--font-body, 'Figtree', sans-serif) !important;
    font-size: 16px !important;
    line-height: 1.6;
}

.education-community-page .background-darkblue .container a:not(.actex-btn) {
    font-family: var(--font-body, 'Figtree', sans-serif) !important;
    font-size: 16px !important;
    color: var(--white, #ffffff) !important;
    text-decoration: underline;
}
