/* =========================================================
   EDUCATION CURRICULUM
   ========================================================= */

.edu-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: flex-end;
    padding: 120px 0 90px;
    overflow: hidden;
    color: #173b2d;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(206, 164, 75, 0.2),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f3e6bf 0%,
            #eef0d7 45%,
            #dce9df 100%
        );
}

.edu-hero-inner,
.edu-inner {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.edu-hero-inner {
    max-width: 920px;
}

.edu-label,
.edu-section-label {
    margin: 0 0 18px;
    color: #7a5d27;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.edu-hero h1 {
    margin: 0;
    color: #173b2d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.7rem, 8vw, 7rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.edu-lead {
    max-width: 760px;
    margin: 28px 0 0;
    color: #435a4e;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.75;
}

.edu-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.edu-actions a {
    display: inline-flex;
    padding: 14px 21px;
    border: 1px solid #173b2d;
    color: #173b2d;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.edu-actions a:hover,
.edu-actions a:focus-visible {
    color: #fff;
    background: #173b2d;
    transform: translateY(-3px);
}

.edu-resources,
.edu-pathways {
    padding: 110px 0;
}

.edu-resources {
    color: #173b2d;
    background: #fbf9f3;
}

.edu-pathways {
    color: #fff;
    background: #173b2d;
}

.edu-resources h2,
.edu-pathways h2 {
    max-width: 850px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.edu-intro {
    max-width: 790px;
    margin: 28px 0 0;
    color: #4d5e55;
    font-size: 1.05rem;
    line-height: 1.85;
}

.edu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 50px;
}

.edu-card {
    position: relative;
    min-height: 260px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(23, 59, 45, 0.16);
    color: #173b2d;
    text-decoration: none;
    background: #fff;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.edu-card::after {
    content: "→";
    position: absolute;
    right: 24px;
    bottom: 22px;
    color: #f1d391;
    opacity: 0;
    transform: translateX(-10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.edu-card:hover,
.edu-card:focus-visible {
    color: #fff;
    background: #173b2d;
    box-shadow: 0 22px 45px rgba(23, 59, 45, 0.17);
    transform: translateY(-7px);
}

.edu-card:hover::after,
.edu-card:focus-visible::after {
    opacity: 1;
    transform: translateX(0);
}

.edu-card > span {
    color: #7a5d27;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.edu-card h3,
.edu-pathway h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.edu-card h3 {
    margin: 38px 0 13px;
    color: inherit;
    font-size: 1.7rem;
    line-height: 1.15;
}

.edu-card p {
    margin: 0;
    color: #53645b;
    line-height: 1.65;
}

.edu-card:hover p,
.edu-card:focus-visible p {
    color: rgba(255, 255, 255, 0.8);
}

.edu-pathway-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 50px;
}

.edu-pathway {
    padding: 30px;
    border: 1px solid rgba(241, 211, 145, 0.26);
}

.edu-pathway > span {
    color: #f1d391;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.edu-pathway h3 {
    margin: 26px 0 12px;
    color: #fff;
    font-size: 2rem;
}

.edu-pathway p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

@media screen and (max-width: 900px) {
    .edu-grid,
    .edu-pathway-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 650px) {
    .edu-hero {
        min-height: 680px;
        padding: 90px 0 65px;
    }

    .edu-hero-inner,
    .edu-inner {
        width: calc(100% - 30px);
    }

    .edu-resources,
    .edu-pathways {
        padding: 76px 0;
    }

    .edu-grid,
    .edu-pathway-grid {
        grid-template-columns: 1fr;
    }

    .edu-actions {
        flex-direction: column;
    }

    .edu-actions a {
    justify-content: center;
}

} /* closes @media screen and (max-width: 650px) */

.edu-lab-link {
    padding: 110px 0;
    color: #173b2d;
    background: #eef0d7;
}

.edu-lab-link h2 {
    max-width: 850px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.edu-lab-link p:not(.edu-section-label) {
    max-width: 790px;
    margin: 28px 0 0;
    color: #4d5e55;
    font-size: 1.05rem;
    line-height: 1.85;
}

.edu-lab-button {
    display: inline-flex;
    margin-top: 32px;
    padding: 14px 21px;
    border: 1px solid #173b2d;
    color: #173b2d;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.edu-lab-button:hover,
.edu-lab-button:focus-visible {
    color: #fff;
    background: #173b2d;
    transform: translateY(-3px);

}

/* =========================================================
   ETHNOMUSIC LAB GY — DYNAMIC EDUCATION LIBRARY
   ========================================================= */

.edu-ethnomusic {
    padding: 110px 0 120px;
    background:
        linear-gradient(
            180deg,
            #f7f2e8 0%,
            #fbfaf6 100%
        );
}

.edu-library-group {
    margin-top: 72px;
}

.edu-library-group:first-of-type {
    margin-top: 58px;
}

.edu-library-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.edu-library-kicker {
    margin: 0 0 10px;
    color: #8a6733;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.edu-library-heading h3 {
    margin: 0;
    color: #173b2d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 400;
    line-height: 1.05;
}

.edu-library-heading > p:last-child {
    max-width: 680px;
    margin: 18px 0 0;
    color: #5b665f;
    line-height: 1.75;
}

.edu-library-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.edu-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.edu-library-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 290px;
    padding: 30px 30px 28px;
    border: 1px solid rgba(23, 59, 45, 0.12);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(23, 59, 45, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.edu-library-card:hover {
    transform: translateY(-5px);
    border-color: rgba(138, 103, 51, 0.35);
    box-shadow: 0 20px 42px rgba(23, 59, 45, 0.1);
}

.edu-resource-number,
.edu-resource-type {
    margin-bottom: 18px;
    color: #8a6733;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.edu-library-card h4 {
    margin: 0;
    color: #173b2d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 400;
    line-height: 1.2;
}

.edu-library-card > p {
    margin: 17px 0 24px;
    color: #5b665f;
    line-height: 1.68;
}

.edu-resource-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.edu-resource-link,
.edu-download-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding-bottom: 4px;
    color: #765627;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(118, 86, 39, 0.45);
}

.edu-resource-link:hover,
.edu-resource-link:focus-visible,
.edu-download-link:hover,
.edu-download-link:focus-visible {
    color: #173b2d;
    border-color: #173b2d;
}

.edu-module-resource {
    border-top: 3px solid rgba(138, 103, 51, 0.65);
}

.edu-module-resource .edu-resource-link {
    margin-top: auto;
}

/* clearer separation between curriculum groups */

.edu-library-group + .edu-library-group {
    padding-top: 68px;
    border-top: 1px solid rgba(23, 59, 45, 0.1);
}

/* tablets */

@media screen and (max-width: 900px) {
    .edu-library-grid,
    .edu-module-grid {
        grid-template-columns: 1fr;
    }

    .edu-ethnomusic {
        padding: 90px 0 100px;
    }
}

/* mobile */

@media screen and (max-width: 600px) {
    .edu-library-card {
        min-height: 0;
        padding: 25px 22px;
    }

    .edu-library-group {
        margin-top: 52px;
    }

    .edu-library-group + .edu-library-group {
        padding-top: 50px;
    }

    .edu-resource-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 11px;
    }
}
