﻿.bilin-education-programs{

    padding:120px 0;

    background:#fffdf9;

}

.education-programs-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.education-program-card{

    background:#ffffff;

    border-radius:22px;

    overflow:hidden;

    border:1px solid #eee5d8;

    box-shadow:0 15px 40px rgba(22,50,79,.08);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

}

.education-program-card:hover{

    transform:translateY(-8px);

    border-color:#e3d5c3;

    box-shadow:0 20px 45px rgba(22,50,79,.12);

}

.education-program-image{

    height:190px;

    background:#008f72;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:70px;

    color:#ffffff;

}

.education-program-content{

    padding:30px;

}

.education-program-content h3{

    margin-bottom:15px;

    color:#16324f;

}

.education-program-content p{

    color:#555f68;

    line-height:2;

    margin-bottom:25px;

}

.education-program-btn{

    display:inline-block;

    padding:12px 28px;

    background:#f05a28;

    color:#ffffff;

    text-decoration:none;

    border-radius:10px;

    font-weight:600;

    transition:
        background-color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;

}

.education-program-btn:hover{

    background:#d94b20;

    color:#ffffff;

    transform:translateY(-2px);

    box-shadow:0 7px 18px rgba(240,90,40,.18);

}


/*
|-------------------------------------------------------------------------- 
| Single Education Program
|-------------------------------------------------------------------------- 
*/

.single-education-program{

    padding:80px 0 120px;

    background:#fffdf9;

}

.education-program-single{

    max-width:1100px;

    margin:0 auto;

}


/*
|-------------------------------------------------------------------------- 
| Featured Image
|-------------------------------------------------------------------------- 
*/

.education-program-featured-image{

    margin-bottom:45px;

    border-radius:24px;

    overflow:hidden;

    border:1px solid #eee5d8;

    box-shadow:0 15px 40px rgba(22,50,79,.09);

}

.education-program-featured-image img{

    display:block;

    width:100%;

    height:auto;

}


/*
|-------------------------------------------------------------------------- 
| Header
|-------------------------------------------------------------------------- 
*/

.education-program-single-header{

    margin-bottom:35px;

}

.education-program-single-header h1{

    margin:0;

    color:#16324f;

    font-size:clamp(30px,4vw,46px);

    line-height:1.5;

    font-weight:700;

}


/*
|-------------------------------------------------------------------------- 
| Program Meta
|-------------------------------------------------------------------------- 
*/

.education-program-meta{

    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:16px;

    margin-bottom:45px;

    padding:28px;

    background:#fbf7f0;

    border:1px solid #eadfce;

    border-radius:20px;

}

.education-program-meta-item{

    display:flex;

    align-items:flex-start;

    gap:8px;

    min-width:0;

    padding:15px 18px;

    background:#ffffff;

    border-radius:12px;

    border:1px solid #eee5d8;

    line-height:1.9;

    box-shadow:0 3px 12px rgba(22,50,79,.035);

}

.education-program-meta-item strong{

    color:#16324f;

    font-weight:700;

    white-space:nowrap;

}

.education-program-meta-item span{

    color:#4f5961;

}


/*
|-------------------------------------------------------------------------- 
| Teacher
|-------------------------------------------------------------------------- 
*/

.education-program-teacher-link{

    display:inline-flex;

    align-items:center;

    padding:6px 13px;

    background:#e1f4ef;

    color:#00745f;

    border:1px solid #a9ddd2;

    border-radius:8px;

    font-weight:600;

    text-decoration:none;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;

}

.education-program-teacher-link:hover{

    background:#f05a28;

    color:#ffffff;

    border-color:#f05a28;

    transform:translateY(-1px);

    box-shadow:0 4px 10px rgba(240,90,40,.18);

    text-decoration:none;

}

.education-program-teacher-link:focus-visible{

    outline:3px solid rgba(0,143,114,.25);

    outline-offset:2px;

}


/*
|-------------------------------------------------------------------------- 
| Registration
|-------------------------------------------------------------------------- 
*/

.education-program-registration,
.education-exam-registration{

    margin:0 0 45px;

    text-align:right;

}

.education-program-registration-button,
.education-exam-registration-button{

    display:inline-block;

    padding:14px 32px;

    background:#f05a28;

    color:#ffffff;

    text-decoration:none;

    border-radius:12px;

    font-weight:700;

    transition:
        background-color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;

    box-shadow:0 8px 20px rgba(240,90,40,.18);

}

.education-program-registration-button:hover,
.education-exam-registration-button:hover{

    background:#d94b20;

    color:#ffffff;

    transform:translateY(-2px);

    box-shadow:0 10px 24px rgba(240,90,40,.23);

}


/*
|-------------------------------------------------------------------------- 
| Gutenberg Content
|-------------------------------------------------------------------------- 
*/

.education-program-single .education-program-content{

    padding:10px 0;

    color:#333f48;

    line-height:2.2;

    font-size:17px;

}

.education-program-single .education-program-content p{

    margin-bottom:22px;

}

.education-program-single .education-program-content h2{

    margin-top:45px;

    margin-bottom:20px;

    color:#16324f;

    line-height:1.7;

}

.education-program-single .education-program-content h3{

    margin-top:35px;

    margin-bottom:15px;

    color:#008f72;

    line-height:1.7;

}

.education-program-single .education-program-content ul,
.education-program-single .education-program-content ol{

    margin:0 0 25px;

    padding-right:25px;

}

.education-program-single .education-program-content li{

    margin-bottom:10px;

}

.education-program-single .education-program-content img{

    max-width:100%;

    height:auto;

    border-radius:16px;

}


/*
|-------------------------------------------------------------------------- 
| Responsive
|-------------------------------------------------------------------------- 
*/

@media(max-width:992px){

    .education-programs-grid{

        grid-template-columns:1fr;

    }

    .education-program-meta{

        grid-template-columns:1fr;

    }

    .single-education-program{

        padding:60px 0 90px;

    }

}


@media(max-width:600px){

    .bilin-education-programs{

        padding:80px 0;

    }

    .single-education-program{

        padding:45px 0 70px;

    }

    .education-program-single-header h1{

        font-size:30px;

    }

    .education-program-featured-image{

        margin-bottom:30px;

        border-radius:18px;

    }

    .education-program-meta{

        padding:16px;

        gap:12px;

        margin-bottom:30px;

        border-radius:16px;

    }

    .education-program-meta-item{

        padding:13px 14px;

        flex-direction:column;

        gap:2px;

    }

    .education-program-registration,
.education-exam-registration{

        margin-bottom:35px;

        text-align:center;

    }

    .education-program-registration-button,
.education-exam-registration-button{

        width:100%;

        text-align:center;

    }

    .education-program-single .education-program-content{

        font-size:16px;

    }

}

/*
|--------------------------------------------------------------------------
| Single Education Exam
|--------------------------------------------------------------------------
*/

.bilin-education-exam-single{

    padding:80px 0 120px;

    background:#fffdf9;

}

.education-exam-single{

    max-width:1100px;

    margin:0 auto;

}


/*
|--------------------------------------------------------------------------
| Featured Image
|--------------------------------------------------------------------------
*/

.education-exam-featured-image{

    margin-bottom:45px;

    border-radius:24px;

    overflow:hidden;

    border:1px solid #eee5d8;

    box-shadow:0 15px 40px rgba(22,50,79,.09);

}

.education-exam-featured-image img{

    display:block;

    width:100%;

    height:auto;

}


/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.education-exam-single-header{

    margin-bottom:35px;

}

.education-exam-single-header h1{

    margin:0;

    color:#16324f;

    font-size:clamp(30px,4vw,46px);

    line-height:1.5;

    font-weight:700;

}


/*
|--------------------------------------------------------------------------
| Exam Type
|--------------------------------------------------------------------------
*/

.education-exam-type{

    display:flex;

    flex-wrap:wrap;

    gap:8px;

    margin-bottom:18px;

}

.education-exam-type-item{

    display:inline-flex;

    align-items:center;

    padding:6px 14px;

    background:#e1f4ef;

    color:#00745f;

    border:1px solid #a9ddd2;

    border-radius:8px;

    font-size:14px;

    font-weight:600;

}


/*
|--------------------------------------------------------------------------
| Exam Meta
|--------------------------------------------------------------------------
*/

.education-exam-meta{

    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:16px;

    margin-bottom:45px;

    padding:28px;

    background:#fbf7f0;

    border:1px solid #eadfce;

    border-radius:20px;

}

.education-exam-meta-grid{

    display:contents;

}

.education-exam-meta-item{

    display:flex;

    align-items:flex-start;

    gap:8px;

    min-width:0;

    padding:15px 18px;

    background:#ffffff;

    border-radius:12px;

    border:1px solid #eee5d8;

    line-height:1.9;

    box-shadow:0 3px 12px rgba(22,50,79,.035);

}

.education-exam-meta-item strong{

    color:#16324f;

    font-weight:700;

    white-space:nowrap;

}

.education-exam-meta-item span{

    color:#4f5961;

}


/*
|--------------------------------------------------------------------------
| Exam Status
|--------------------------------------------------------------------------
*/

.education-exam-meta-item span.is-active{

    color:#00745f;

    font-weight:700;

}

.education-exam-meta-item span.is-inactive{

    color:#c0392b;

    font-weight:700;

}


/*
|--------------------------------------------------------------------------
| Inactive Notice
|--------------------------------------------------------------------------
*/

.education-exam-notice{

    margin:0 0 35px;

    padding:18px 22px;

    border-radius:14px;

    line-height:1.9;

}

.education-exam-notice-inactive{

    background:#fff3f0;

    border:1px solid #f1c5ba;

    color:#a33a28;

}


/*
|--------------------------------------------------------------------------
| Gutenberg Content
|--------------------------------------------------------------------------
*/

.education-exam-single .education-exam-content{

    padding:10px 0;

    color:#333f48;

    line-height:2.2;

    font-size:17px;

}

.education-exam-single .education-exam-content p{

    margin-bottom:22px;

}

.education-exam-single .education-exam-content h2{

    margin-top:45px;

    margin-bottom:20px;

    color:#16324f;

    line-height:1.7;

}

.education-exam-single .education-exam-content h3{

    margin-top:35px;

    margin-bottom:15px;

    color:#008f72;

    line-height:1.7;

}

.education-exam-single .education-exam-content ul,
.education-exam-single .education-exam-content ol{

    margin:0 0 25px;

    padding-right:25px;

}

.education-exam-single .education-exam-content li{

    margin-bottom:10px;

}

.education-exam-single .education-exam-content img{

    max-width:100%;

    height:auto;

    border-radius:16px;

}


/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media(max-width:992px){

    .education-exam-meta{

        grid-template-columns:1fr;

    }

    .bilin-education-exam-single{

        padding:60px 0 90px;

    }

}


@media(max-width:600px){

    .bilin-education-exam-single{

        padding:45px 0 70px;

    }

    .education-exam-single-header h1{

        font-size:30px;

    }

    .education-exam-featured-image{

        margin-bottom:30px;

        border-radius:18px;

    }

    .education-exam-meta{

        padding:16px;

        gap:12px;

        margin-bottom:30px;

        border-radius:16px;

    }

    .education-exam-meta-item{

        padding:13px 14px;

        flex-direction:column;

        gap:2px;

    }

    .education-exam-single .education-exam-content{

        font-size:16px;

    }

}


/*
|--------------------------------------------------------------------------
| Related Education Programs and Exams
|--------------------------------------------------------------------------
*/

.education-exam-related-programs,
.education-program-related-exams {
    direction: rtl;
    text-align: right;
    margin: 36px 0 10px;
    padding: 26px 28px;
    background: #ffffff;
    border: 1px solid #dceeea;
    border-right: 4px solid #008f72;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(22, 50, 79, 0.06);
}

.education-exam-related-programs h2,
.education-program-related-exams h2 {
    margin: 0 0 20px;
    color: #16324f;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.7;
}

.education-exam-related-programs ul,
.education-program-related-exams ul {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.education-exam-related-programs li,
.education-program-related-exams li {
    margin: 0;
    padding: 0;
}

.education-exam-related-programs a,
.education-program-related-exams a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 17px;
    color: #008f72;
    background: #f5faf9;
    border: 1px solid #e0efeb;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.9;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.education-exam-related-programs a::after,
.education-program-related-exams a::after {
    content: "←";
    flex: 0 0 auto;
    color: #f05a28;
    font-size: 20px;
    line-height: 1;
}

.education-exam-related-programs a:hover,
.education-program-related-exams a:hover {
    color: #16324f;
    background: #eaf6f3;
    border-color: #008f72;
    transform: translateY(-1px);
}

.education-exam-related-programs a:focus-visible,
.education-program-related-exams a:focus-visible {
    outline: 3px solid rgba(0, 143, 114, 0.35);
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .education-exam-related-programs,
    .education-program-related-exams {
        margin-top: 26px;
        padding: 19px 16px;
        border-radius: 13px;
    }

    .education-exam-related-programs h2,
    .education-program-related-exams h2 {
        margin-bottom: 14px;
        font-size: 19px;
    }

    .education-exam-related-programs a,
    .education-program-related-exams a {
        padding: 12px 13px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .education-exam-related-programs a,
    .education-program-related-exams a {
        transition: none;
    }

    .education-exam-related-programs a:hover,
    .education-program-related-exams a:hover {
        transform: none;
    }
}
