/* =========================================================
   BILIN EDUCATION PROGRAM TYPE TAXONOMY
========================================================= */

.bilin-education-program-type-page{
    background:#fffdf9;
    color:#333f48;
}

.bilin-education-program-type-page .container{
    width:min(1180px, calc(100% - 40px));
    margin:0 auto;
}


/* =========================================================
   HERO
========================================================= */

.education-program-type-hero{
    position:relative;
    overflow:hidden;
    padding:100px 0 105px;
    background:
        radial-gradient(
            circle at 82% 42%,
            rgba(0,143,114,.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 18% 25%,
            rgba(240,90,40,.07),
            transparent 28%
        ),
        #fffdf9;
}

.education-program-type-hero::before{
    content:"";
    position:absolute;
    width:470px;
    height:470px;
    top:-245px;
    right:-165px;
    border:1px solid rgba(0,143,114,.10);
    border-radius:50%;
}

.education-program-type-hero::after{
    content:"";
    position:absolute;
    width:320px;
    height:320px;
    bottom:-190px;
    left:-120px;
    border:1px solid rgba(240,90,40,.10);
    border-radius:50%;
}

.education-program-type-hero-content{
    position:relative;
    z-index:2;
    max-width:850px;
    margin:0 auto;
    text-align:center;
}

.education-program-type-hero-content h1{
    margin:0 0 24px;
    color:#16324f;
    font-size:clamp(38px,5vw,58px);
    line-height:1.45;
    font-weight:800;
}

.education-program-type-description{
    max-width:760px;
    margin:0 auto 30px;
    color:#56616a;
    font-size:17px;
    line-height:2.2;
}

.education-program-type-description p{
    margin:0 0 12px;
}

.education-program-type-description p:last-child{
    margin-bottom:0;
}

.education-program-type-hero-content > p{
    max-width:760px;
    margin:0 auto 30px;
    color:#56616a;
    font-size:17px;
    line-height:2.2;
}

.education-program-type-hero-actions{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
}


/* =========================================================
   PROGRAMS SECTION
========================================================= */

.education-program-type-programs{
    background:#fbf7f0;
}

.education-program-type-programs
.education-section-heading{
    max-width:760px;
    margin:0 auto 48px;
    text-align:center;
}

.education-program-type-programs
.education-section-heading h2{
    margin:0 0 16px;
    color:#16324f;
    font-size:clamp(28px,4vw,40px);
    line-height:1.6;
    font-weight:700;
}

.education-program-type-programs
.education-section-heading p{
    margin:0;
    color:#59636a;
    font-size:16px;
    line-height:2.15;
}


/* =========================================================
   PROGRAM GRID
========================================================= */

.education-program-type-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}


/* =========================================================
   PROGRAM CARD
========================================================= */

.education-program-type-card{
    display:flex;
    flex-direction:column;
    overflow:hidden;
    background:#ffffff;
    border:1px solid #eee5d8;
    border-radius:20px;
    box-shadow:0 12px 32px rgba(22,50,79,.06);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.education-program-type-card:hover{
    transform:translateY(-7px);
    border-color:#a9ddd2;
    box-shadow:0 18px 38px rgba(22,50,79,.11);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.education-program-type-card-image{
    display:block;
    overflow:hidden;
    aspect-ratio:16 / 9;
    background:#f3efe8;
}

.education-program-type-card-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .45s ease;
}

.education-program-type-card:hover
.education-program-type-card-image img{
    transform:scale(1.04);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.education-program-type-card-content{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:25px;
}


/* =========================================================
   LANGUAGES
========================================================= */

.education-program-type-card-languages{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-bottom:15px;
}

.education-program-type-card-languages span{
    display:inline-flex;
    align-items:center;
    padding:5px 10px;
    background:#e1f4ef;
    color:#008f72;
    border:1px solid #b9e1d7;
    border-radius:8px;
    font-size:12px;
    line-height:1.6;
    font-weight:600;
}


/* =========================================================
   TITLE
========================================================= */

.education-program-type-card h3{
    margin:0 0 15px;
    font-size:20px;
    line-height:1.7;
    font-weight:700;
}

.education-program-type-card h3 a{
    color:#16324f;
    text-decoration:none;
    transition:color .25s ease;
}

.education-program-type-card h3 a:hover{
    color:#008f72;
}


/* =========================================================
   TEACHER
========================================================= */

.education-program-type-card-teachers,
.education-program-type-card-duration{
    margin-top:5px;
    color:#5b646b;
    font-size:13px;
    line-height:2;
}

.education-program-type-card-teachers strong,
.education-program-type-card-duration strong{
    color:#16324f;
    font-weight:700;
}


/* =========================================================
   EXCERPT
========================================================= */

.education-program-type-card-excerpt{
    margin-top:13px;
    color:#626b72;
    font-size:13px;
    line-height:2;
}

.education-program-type-card-excerpt p{
    margin:0;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.education-program-type-card-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-top:auto;
    padding-top:18px;
}

.education-program-type-card-link{
    color:#008f72;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    transition:color .25s ease;
}

.education-program-type-card-link:hover{
    color:#f05a28;
}

.education-program-type-card-arrow{
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    flex:0 0 34px;
    background:#fdf1ec;
    color:#f05a28;
    border-radius:9px;
    font-size:18px;
    transition:
        background-color .25s ease,
        color .25s ease,
        transform .25s ease;
}

.education-program-type-card:hover
.education-program-type-card-arrow{
    background:#f05a28;
    color:#ffffff;
    transform:translateX(-3px);
}


/* =========================================================
   PAGINATION
========================================================= */

.education-program-type-pagination{
    margin-top:45px;
    text-align:center;
}

.education-program-type-pagination .page-numbers{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    margin:0;
    padding:0;
    list-style:none;
}

.education-program-type-pagination .page-numbers li{
    margin:0;
    padding:0;
}

.education-program-type-pagination
.page-numbers a,
.education-program-type-pagination
.page-numbers span{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:38px;
    height:38px;
    padding:0 11px;
    background:#ffffff;
    color:#16324f;
    border:1px solid #e4ddd3;
    border-radius:9px;
    font-size:13px;
    text-decoration:none;
}

.education-program-type-pagination
.page-numbers a:hover{
    background:#e1f4ef;
    color:#008f72;
    border-color:#b9e1d7;
}

.education-program-type-pagination
.page-numbers .current{
    background:#008f72;
    color:#ffffff;
    border-color:#008f72;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.education-program-type-programs
.education-page-placeholder{
    max-width:760px;
    margin:0 auto;
    padding:35px;
    background:#ffffff;
    border:1px solid #eee5d8;
    border-radius:18px;
    text-align:center;
    box-shadow:0 10px 28px rgba(22,50,79,.05);
}

.education-program-type-programs
.education-page-placeholder p{
    margin:0;
    color:#59636a;
    font-size:16px;
    line-height:2;
}


/* =========================================================
   BACK CTA
========================================================= */

.education-program-type-back{
    margin-top:42px;
    text-align:center;
}


/* =========================================================
   FOCUS
========================================================= */

.bilin-education-program-type-page
a:focus-visible{
    outline:3px solid rgba(0,143,114,.25);
    outline-offset:3px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:992px){

    .education-program-type-hero{
        padding:80px 0 90px;
    }

    .education-program-type-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}


@media(max-width:600px){

    .bilin-education-program-type-page .container{
        width:min(100% - 30px, 1180px);
    }

    .education-program-type-hero{
        padding:65px 0 75px;
    }

    .education-program-type-hero-content h1{
        font-size:34px;
    }

    .education-program-type-description,
    .education-program-type-hero-content > p{
        font-size:15px;
        line-height:2;
    }

    .education-program-type-hero-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .education-program-type-hero-actions
    .education-page-primary-button,
    .education-program-type-hero-actions
    .education-page-secondary-button{
        width:100%;
    }

    .education-program-type-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .education-program-type-card-content{
        padding:22px;
    }

    .education-program-type-card h3{
        font-size:19px;
    }

}