/* =========================================================
   Dejaran - Nezam Mohandesi
   Visual alignment with the main site theme
   ========================================================= */

/* ---------- Shared ---------- */
.exam-bulletin-section,
.exam-conditions-section,
.nezam-timeline-section,
.exam-structure-section,
.exam-prep-section,
.exam-video-section,
.exam-courses-section,
.exam-links-hub-section{
    --exam-border: #e3e8ef;
    --exam-border-soft: #edf1f5;
    --exam-text: #667085;
    --exam-heading: #24292d;
    --exam-soft: #f7f9fb;
    --exam-primary-soft: rgba(var(--bs-primary-rgb), .08);
    --exam-primary-border: rgba(var(--bs-primary-rgb), .14);
    --exam-shadow: 0 8px 22px rgba(15, 23, 42, .04);
    --exam-shadow-hover: 0 12px 26px rgba(15, 23, 42, .06);
    --exam-radius: 16px;
    --exam-radius-sm: 12px;
    color: var(--bs-body-color);
}

.exam-bulletin-section a,
.exam-conditions-section a,
.nezam-timeline-section a,
.exam-structure-section a,
.exam-prep-section a,
.exam-video-section a,
.exam-courses-section a,
.exam-links-hub-section a{
    text-decoration: none;
}

.exam-bulletin-section,
.exam-conditions-section,
.nezam-timeline-section,
.exam-structure-section,
.exam-prep-section,
.exam-video-section,
.exam-courses-section,
.exam-links-hub-section{
    padding: 56px 0;
}

.exam-bulletin-section,
.exam-video-section,
.exam-structure-section,
.exam-courses-section{
    background: var(--bs-body-bg);
}

.exam-links-hub-section,
.exam-conditions-section,
.exam-prep-section,
.nezam-timeline-section{
    background: var(--bs-tertiary-bg);
}

.conditions-head,
.nezam-timeline-head,
.exam-structure-head,
.exam-prep-head,
.exam-video-head,
.exam-links-hub-head{
    max-width: 820px;
    margin: 0 auto 30px;
}


.conditions-title,
.nezam-timeline-title,
.exam-structure-title,
.exam-prep-title,
.exam-video-title,
.exam-courses-title,
.exam-links-hub-title{
    margin: 0 0 12px;
    color: var(--exam-heading);
    font-size: 1.72rem;
    font-weight: 800;
    line-height: 1.55;
}

.conditions-title a,
.exam-prep-title a,
.exam-video-title a,
.exam-courses-title a,
.exam-links-hub-title a{
    color: inherit;
}

.conditions-title a:hover,
.exam-prep-title a:hover,
.exam-video-title a:hover,
.exam-courses-title a:hover,
.exam-links-hub-title a:hover{
    color: var(--bs-primary);
}

.conditions-subtitle,
.nezam-timeline-subtitle,
.exam-structure-subtitle,
.exam-prep-subtitle,
.exam-video-subtitle,
.exam-links-hub-subtitle{
    margin: 0;
    color: var(--exam-text);
    font-size: .95rem;
    line-height: 2;
}

/* ---------- Bulletin ---------- */
.exam-bulletin-section{
    padding-top: 42px;
}

.exam-bulletin-card{
    overflow: hidden;
    background: var(--bs-body-bg);
    border: 1px solid var(--exam-border);
    border-radius: var(--exam-radius);
    box-shadow: var(--exam-shadow);
}

.exam-bulletin-card::before,
.exam-bulletin-head::after{
    display: none;
}

.exam-bulletin-head{
    position: relative;
    background: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--exam-border);
}

.exam-headbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.exam-headbar-left,
.exam-headbar-status{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 700;
}

.exam-headbar-left{
    color: var(--exam-text);
}

.exam-headbar-dot{
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bs-primary);
}

.exam-headbar-status{
    padding: 6px 10px;
    color: #147a4b;
    background: rgba(25, 135, 84, .08);
    border: 1px solid rgba(25, 135, 84, .12);
    border-radius: 999px;
}

.exam-bulletin-title{
    margin: 0 0 8px;
    color: var(--exam-heading);
    font-size: clamp(1.15rem, 2.15vw, 1.7rem);
    font-weight: 800;
    line-height: 1.55;
}

.exam-bulletin-title a,
.exam-bulletin-period{
    color: var(--bs-primary);
}

@media (min-width: 576px){
    .exam-bulletin-title{
        white-space: nowrap;
    }
}

.exam-bulletin-subtitle{
    max-width: 780px;
    margin: 0;
    color: var(--exam-text);
    font-size: .93rem;
    line-height: 1.95;
}

.exam-info-box{
    height: 100%;
    min-height: 150px;
    padding: 16px;
    background: var(--bs-body-bg);
    border: 1px solid var(--exam-border);
    border-radius: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.exam-info-box:hover{
    border-color: rgba(var(--bs-primary-rgb), .22);
    box-shadow: var(--exam-shadow-hover);
    transform: translateY(-1px);
}

.exam-info-icon{
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 10px;
    background: var(--exam-primary-soft);
    color: var(--bs-primary);
    font-size: 1rem;
}

.exam-info-box.is-register .exam-info-icon{
    background: rgba(25, 135, 84, .08);
    color: #198754;
}

.exam-info-box.is-source .exam-info-icon{
    background: rgba(247, 195, 46, .12);
    color: #a36b00;
}

.exam-info-label{
    margin-bottom: 5px;
    color: var(--exam-text);
    font-size: .78rem;
    font-weight: 700;
}

.exam-info-value{
    color: var(--exam-heading);
    font-size: .96rem;
    font-weight: 800;
    line-height: 1.75;
}

.exam-info-value a{
    color: inherit;
}

.exam-info-value a:hover{
    color: var(--bs-primary);
}

.exam-info-sub{
    margin-top: 4px;
    color: #8a94a3;
    font-size: .76rem;
    line-height: 1.7;
}

.exam-note-box{
    padding: 13px 15px;
    background: var(--exam-soft);
    border: 1px solid var(--exam-border-soft);
    border-radius: 12px;
}

.exam-note-box p{
    margin: 0;
    color: var(--exam-text);
    font-size: .84rem;
    line-height: 1.9;
}

.exam-notices-wrap{
    height: 100%;
    overflow: hidden;
    background: var(--bs-body-bg);
    border: 1px solid var(--exam-border);
    border-radius: 14px;
}

.exam-notices-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: var(--exam-soft);
    border-bottom: 1px solid var(--exam-border);
}

.exam-notices-title{
    margin: 0;
    color: var(--exam-heading);
    font-size: .98rem;
    font-weight: 800;
}

.exam-notices-count{
    padding: 4px 8px;
    color: var(--exam-text);
    background: var(--bs-body-bg);
    border: 1px solid var(--exam-border);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
}

.exam-notice-item{
    padding: 15px 16px;
    border-bottom: 1px solid var(--exam-border-soft);
    transition: background .18s ease;
}

.exam-notice-item:last-child{
    border-bottom: 0;
}

.exam-notice-item:hover{
    background: var(--exam-soft);
}

.exam-notice-icon{
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--exam-primary-soft);
    color: var(--bs-primary);
}

.exam-notice-item.is-pdf .exam-notice-icon{
    background: rgba(214, 41, 62, .08);
    color: var(--bs-danger);
}

.exam-notice-title{
    color: var(--exam-heading);
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.8;
}

.exam-notice-title a{
    color: inherit;
}

.exam-notice-title a:hover{
    color: var(--bs-primary);
}

.exam-notice-meta{
    margin-top: 3px;
    color: var(--exam-text);
    font-size: .74rem;
}

.exam-empty-box{
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    background: var(--exam-soft);
    border: 1px dashed var(--exam-border);
    border-radius: 14px;
}

.exam-empty-icon{
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 12px;
    background: var(--exam-primary-soft);
    color: var(--bs-primary);
}

.exam-empty-title{
    margin-bottom: 6px;
    color: var(--exam-heading);
    font-weight: 800;
}

.exam-empty-text{
    max-width: 560px;
    margin: 0;
    color: var(--exam-text);
    font-size: .86rem;
    line-height: 1.9;
}

/* ---------- Conditions ---------- */
.conditions-shell{
    max-width: 1100px;
    margin: 0 auto;
}

.conditions-head{
    text-align: center;
}

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

.condition-card{
    padding: 22px;
    background: var(--bs-body-bg);
    border: 1px solid var(--exam-border);
    border-radius: var(--exam-radius);
    box-shadow: var(--exam-shadow);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.condition-card:hover{
    border-color: rgba(var(--bs-primary-rgb), .2);
    box-shadow: var(--exam-shadow-hover);
    transform: translateY(-1px);
}

.condition-top{
    display: flex;
    align-items: center;
    gap: 12px;
}

.condition-icon{
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--exam-primary-soft);
    color: var(--bs-primary);
    font-size: 1.05rem;
}

.condition-card.is-experience .condition-icon{
    background: rgba(25, 135, 84, .08);
    color: #198754;
}

.condition-meta{
    min-width: 0;
}

.condition-kicker{
    margin-bottom: 1px;
    color: var(--exam-text);
    font-size: .74rem;
    font-weight: 700;
}

.condition-title{
    margin: 0;
    color: var(--exam-heading);
    font-size: 1rem;
    font-weight: 800;
}

.condition-divider{
    height: 1px;
    margin: 18px 0;
    background: var(--exam-border-soft);
}

.condition-text{
    margin: 0;
    color: var(--exam-text);
    font-size: .9rem;
    line-height: 2;
}

.condition-foot{
    margin-top: 16px;
    padding: 11px 13px;
    color: var(--exam-text);
    background: var(--exam-soft);
    border-radius: 10px;
    font-size: .8rem;
    line-height: 1.85;
}

/* ---------- Timeline ---------- */
.nezam-timeline-head{
    text-align: center;
}

.nezam-timeline-wrap{
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.nezam-timeline-line{
    position: absolute;
    top: 22px;
    right: 11%;
    left: 11%;
    height: 1px;
    background: var(--exam-border);
}

.nezam-timeline-grid{
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.nezam-step{
    position: relative;
    padding-top: 0;
}

.nezam-step-year{
    width: 64px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    position: relative;
    z-index: 2;
    color: var(--bs-primary);
    background: var(--bs-body-bg);
    border: 1px solid var(--exam-primary-border);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 800;
}

.nezam-step-card{
    height: calc(100% - 58px);
    padding: 20px;
    background: var(--bs-body-bg);
    border: 1px solid var(--exam-border);
    border-radius: var(--exam-radius);
    box-shadow: var(--exam-shadow);
}

.nezam-step-title{
    margin: 0 0 8px;
    color: var(--exam-heading);
    font-size: .98rem;
    font-weight: 800;
}

.nezam-step-text{
    margin: 0;
    color: var(--exam-text);
    font-size: .86rem;
    line-height: 1.95;
}

.nezam-step-text a{
    color: var(--bs-primary);
}

.nezam-law-card{
    max-width: 1100px;
    margin: 20px auto 0;
    background: var(--exam-soft);
    border: 1px solid var(--exam-border);
    border-radius: var(--exam-radius);
}

.nezam-law-card::before{
    display: none;
}

.nezam-law-inner{
    padding: 22px;
}

.nezam-law-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.nezam-law-title{
    margin: 0;
    color: var(--exam-heading);
    font-size: 1rem;
    font-weight: 800;
}

.nezam-law-badge{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    color: var(--bs-primary);
    background: var(--exam-primary-soft);
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
}

.nezam-law-text,
.nezam-law-quote{
    color: var(--exam-text);
    font-size: .87rem;
    line-height: 1.95;
}

.nezam-law-text{
    margin: 0 0 12px;
}

.nezam-law-quote{
    margin: 0;
    padding: 13px 15px;
    background: var(--bs-body-bg);
    border-right: 3px solid var(--bs-primary);
    border-radius: 10px;
}

/* ---------- Structure ---------- */
.exam-structure-head{
    text-align: center;
}

.exam-structure-grid{
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0 auto;
}

.exam-structure-card{
    padding: 22px;
    background: var(--bs-body-bg);
    border: 1px solid var(--exam-border);
    border-radius: var(--exam-radius);
    box-shadow: var(--exam-shadow);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.exam-structure-card:hover{
    border-color: rgba(var(--bs-primary-rgb), .2);
    box-shadow: var(--exam-shadow-hover);
    transform: translateY(-1px);
}

.exam-structure-icon{
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 11px;
    background: var(--exam-primary-soft);
    color: var(--bs-primary);
}

.exam-structure-card.is-success .exam-structure-icon{
    background: rgba(25, 135, 84, .08);
    color: #198754;
}

.exam-structure-card.is-info .exam-structure-icon{
    background: rgba(23, 162, 184, .09);
    color: var(--bs-info);
}

.exam-structure-card-title{
    margin: 0 0 8px;
    color: var(--exam-heading);
    font-size: 1rem;
    font-weight: 800;
}

.exam-structure-card-text{
    margin: 0;
    color: var(--exam-text);
    font-size: .86rem;
    line-height: 1.95;
}

.exam-structure-highlight{
    max-width: 1100px;
    margin: 18px auto 0;
    padding: 20px 22px;
    background: var(--bs-body-bg);
    border: 1px solid var(--exam-border);
    border-radius: var(--exam-radius);
}

.exam-structure-highlight-title{
    margin: 0 0 7px;
    color: var(--exam-heading);
    font-size: 1rem;
    font-weight: 800;
}

.exam-structure-highlight-text{
    margin: 0;
    color: var(--exam-text);
    font-size: .86rem;
    line-height: 1.95;
}

.exam-structure-mini-stats{
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

.exam-structure-mini{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    background: var(--exam-soft);
    border-radius: 9px;
}

.exam-structure-mini-label{
    color: var(--exam-text);
    font-size: .75rem;
    font-weight: 700;
}

.exam-structure-mini-value{
    color: var(--exam-heading);
    font-size: .78rem;
    font-weight: 800;
}

/* ---------- Preparation ---------- */
.exam-prep-wrap{
    max-width: 1080px;
    margin: 0 auto;
}

.exam-prep-head{
    max-width: 820px;
    margin: 0 auto 28px;
    text-align: center;
}

.exam-prep-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.exam-prep-card{
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--bs-body-bg);
    border: 1px solid var(--exam-border);
    border-radius: var(--exam-radius);
    box-shadow: var(--exam-shadow);
}

.exam-prep-icon{
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--exam-primary-soft);
    color: var(--bs-primary);
    font-size: 1rem;
}

.exam-prep-card-title{
    margin: 0 0 6px;
    color: var(--exam-heading);
    font-size: .96rem;
    font-weight: 800;
    line-height: 1.7;
}

.exam-prep-card-text{
    margin: 0;
    color: var(--exam-text);
    font-size: .86rem;
    line-height: 1.95;
}

.exam-prep-note{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding: 14px 16px;
    color: var(--exam-text);
    background: var(--exam-soft);
    border: 1px solid var(--exam-border-soft);
    border-radius: 12px;
    font-size: .84rem;
    line-height: 1.9;
}

.exam-prep-note i{
    margin-top: 4px;
    color: var(--bs-primary);
}

/* ---------- Video ---------- */
.exam-video-head{
    text-align: center;
}

.exam-video-player{
    max-width: 960px;
    margin: 0 auto;
}

.exam-video-frame{
    overflow: hidden;
    padding: 8px;
    background: var(--bs-body-bg);
    border: 1px solid var(--exam-border);
    border-radius: var(--exam-radius);
    box-shadow: var(--exam-shadow);
}

.exam-video-frame iframe{
    display: block;
    width: 100%;
    border-radius: 11px;
}

/* ---------- Courses ---------- */
.exam-courses-wrap{
    max-width: 1120px;
    margin: 0 auto;
}

.exam-courses-shell{
    overflow: hidden;
    background: var(--bs-body-bg);
    border: 1px solid var(--exam-border);
    border-radius: var(--exam-radius);
    box-shadow: var(--exam-shadow);
}

.exam-courses-content{
    width: 100%;
    padding: 34px;
}

.exam-courses-title{
    margin-bottom: 14px;
    font-size: 1.55rem;
}

.exam-courses-lead{
    margin: 0 0 10px;
    color: var(--exam-heading);
    font-size: .96rem;
    font-weight: 600;
    line-height: 2;
}

.exam-courses-text{
    margin: 0;
    color: var(--exam-text);
    font-size: .88rem;
    line-height: 1.95;
}

.exam-courses-text strong{
    color: var(--exam-heading);
    font-weight: 800;
}

.exam-courses-points{
    display: grid;
    gap: 0;
    margin-top: 22px;
    border-top: 1px solid var(--exam-border-soft);
}

.exam-courses-point{
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 15px 0;
    border-bottom: 1px solid var(--exam-border-soft);
}

.exam-courses-point-icon{
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--exam-primary-soft);
    color: var(--bs-primary);
    font-size: .95rem;
}

.exam-courses-point h3{
    margin: 0 0 3px;
    color: var(--exam-heading);
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.7;
}

.exam-courses-point p{
    margin: 0;
    color: var(--exam-text);
    font-size: .8rem;
    line-height: 1.8;
}

.exam-courses-footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
}

.exam-courses-footer p{
    max-width: 560px;
    margin: 0;
    color: var(--exam-text);
    font-size: .79rem;
    line-height: 1.85;
}

.exam-courses-footer .btn{
    flex: 0 0 auto;
    font-size: .84rem;
    font-weight: 700;
}

.exam-courses-visual{
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: stretch;
    background: var(--exam-soft);
    border-right: 1px solid var(--exam-border);
}

.exam-courses-slider-box{
    width: 100%;
    padding: 18px;
    display: flex;
    align-items: center;
}

.exam-courses-slider-box .tiny-slider,
.exam-courses-slider-box .tiny-slider-inner{
    width: 100%;
}

.exam-courses-slide-item{
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 0;
    background: transparent !important;
}

.exam-courses-slide-item .card-overlay-hover{
    width: 100%;
    height: 100%;
}

.exam-courses-slide-item .card-img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* ---------- Links hub ---------- */
.exam-links-hub-wrap{
    max-width: 1140px;
    margin: 0 auto;
}

.exam-links-hub-head{
    text-align: center;
}

.exam-links-hub-nav{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: -8px 0 20px;
}

.exam-links-hub-navitem{
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    color: var(--exam-text);
    background: var(--bs-body-bg);
    border: 1px solid var(--exam-border);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.exam-links-hub-navitem:hover{
    color: var(--bs-primary);
    border-color: var(--exam-primary-border);
    background: var(--exam-primary-soft);
}

.exam-links-hub-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.exam-links-panel{
    overflow: hidden;
    background: var(--bs-body-bg);
    border: 1px solid var(--exam-border);
    border-radius: var(--exam-radius);
    box-shadow: var(--exam-shadow);
}

.exam-links-panel-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    background: var(--exam-soft);
    border-bottom: 1px solid var(--exam-border);
}

.exam-links-panel-title-wrap{
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.exam-links-panel-icon{
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--exam-primary-soft);
    color: var(--bs-primary);
}

.exam-links-panel.is-answers .exam-links-panel-icon{
    background: rgba(25, 135, 84, .08);
    color: #198754;
}

.exam-links-panel.is-sources .exam-links-panel-icon{
    background: rgba(247, 195, 46, .12);
    color: #9a6b00;
}

.exam-links-panel-title{
    margin: 0;
    color: var(--exam-heading);
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.7;
}

.exam-links-panel-sub{
    margin-top: 2px;
    color: var(--exam-text);
    font-size: .7rem;
    line-height: 1.6;
}

.exam-links-panel-count{
    flex: 0 0 auto;
    padding: 4px 7px;
    color: var(--exam-text);
    background: var(--bs-body-bg);
    border: 1px solid var(--exam-border);
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
}

.exam-links-panel-body{
    padding: 12px;
}

.exam-links-item{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: inherit;
    border-radius: 10px;
    transition: background .18s ease;
}

.exam-links-item + .exam-links-item{
    border-top: 1px solid var(--exam-border-soft);
    border-radius: 0;
}

.exam-links-item:hover{
    color: inherit;
    background: var(--exam-soft);
}

.exam-links-item-featured{
    margin-bottom: 5px;
    background: var(--exam-primary-soft);
}

.exam-links-item-icon{
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--bs-body-bg);
    color: var(--bs-primary);
    border: 1px solid var(--exam-border-soft);
}

.exam-links-item-content{
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.exam-links-item-title{
    color: var(--exam-heading);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.75;
}

.exam-links-item-meta{
    color: var(--exam-text);
    font-size: .68rem;
    line-height: 1.6;
}

.exam-links-item-list{
    display: block;
}

/* ---------- Dark mode ---------- */
[data-bs-theme="dark"] .exam-bulletin-section,
[data-bs-theme="dark"] .exam-conditions-section,
[data-bs-theme="dark"] .nezam-timeline-section,
[data-bs-theme="dark"] .exam-structure-section,
[data-bs-theme="dark"] .exam-prep-section,
[data-bs-theme="dark"] .exam-video-section,
[data-bs-theme="dark"] .exam-courses-section,
[data-bs-theme="dark"] .exam-links-hub-section{
    --exam-border: rgba(255,255,255,.09);
    --exam-border-soft: rgba(255,255,255,.065);
    --exam-text: rgba(255,255,255,.68);
    --exam-heading: rgba(255,255,255,.94);
    --exam-soft: rgba(255,255,255,.035);
    --exam-primary-soft: rgba(110,168,254,.10);
    --exam-primary-border: rgba(110,168,254,.2);
    --exam-shadow: none;
    --exam-shadow-hover: 0 10px 24px rgba(0,0,0,.12);
}

[data-bs-theme="dark"] .exam-headbar-status{
    color: #75b798;
    background: rgba(25, 135, 84, .11);
    border-color: rgba(117, 183, 152, .15);
}

[data-bs-theme="dark"] .exam-info-box.is-source .exam-info-icon,
[data-bs-theme="dark"] .exam-links-panel.is-sources .exam-links-panel-icon{
    color: #ffda6a;
}


[data-bs-theme="dark"] .exam-bulletin-section,
[data-bs-theme="dark"] .exam-video-section,
[data-bs-theme="dark"] .exam-structure-section,
[data-bs-theme="dark"] .exam-courses-section{
    background: var(--bs-body-bg);
}

[data-bs-theme="dark"] .exam-links-hub-section,
[data-bs-theme="dark"] .exam-conditions-section,
[data-bs-theme="dark"] .exam-prep-section,
[data-bs-theme="dark"] .nezam-timeline-section{
    background: var(--bs-tertiary-bg);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px){
    .exam-bulletin-section,
    .exam-conditions-section,
    .nezam-timeline-section,
    .exam-structure-section,
    .exam-prep-section,
    .exam-video-section,
    .exam-courses-section,
    .exam-links-hub-section{
        padding: 44px 0;
    }

    .conditions-title,
    .nezam-timeline-title,
    .exam-structure-title,
    .exam-prep-title,
    .exam-video-title,
    .exam-links-hub-title{
        font-size: 1.45rem;
    }

    .conditions-grid,
    .exam-structure-grid{
        grid-template-columns: 1fr;
    }

    .nezam-timeline-line{
        display: none;
    }

    .nezam-timeline-grid{
        grid-template-columns: 1fr;
    }

    .nezam-step{
        display: grid;
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
    }

    .nezam-step-year{
        width: 62px;
        margin: 0;
    }

    .nezam-step-card{
        height: auto;
    }
    .exam-courses-visual{
        border-right: 0;
        border-top: 1px solid var(--exam-border);
    }


    .exam-links-hub-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px){
    .exam-bulletin-section,
    .exam-conditions-section,
    .nezam-timeline-section,
    .exam-structure-section,
    .exam-prep-section,
    .exam-video-section,
    .exam-courses-section,
    .exam-links-hub-section{
        padding: 36px 0;
    }

    .exam-bulletin-section{
        padding-top: 24px;
    }

    .exam-bulletin-head.p-4,
    .exam-bulletin-card > .p-4{
        padding: 18px !important;
    }

    .exam-headbar{
        align-items: flex-start;
        flex-direction: column;
    }

    .exam-bulletin-title{
        font-size: 1.35rem;
    }

    .conditions-head,
    .nezam-timeline-head,
    .exam-structure-head,
    .exam-prep-head,
    .exam-video-head,
    .exam-links-hub-head{
        margin-bottom: 22px;
        text-align: right;
    }

    .conditions-title,
    .nezam-timeline-title,
    .exam-structure-title,
    .exam-prep-title,
    .exam-video-title,
    .exam-links-hub-title,
    .exam-courses-title{
        font-size: 1.25rem;
        line-height: 1.7;
    }

    .conditions-subtitle,
    .nezam-timeline-subtitle,
    .exam-structure-subtitle,
    .exam-prep-subtitle,
    .exam-video-subtitle,
    .exam-links-hub-subtitle{
        font-size: .87rem;
    }

    .condition-card,
    .exam-structure-card,
    .exam-courses-content{
        padding: 18px;
    }

    .exam-courses-lead{
        font-size: .91rem;
    }

    .exam-courses-point{
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 10px;
        padding: 13px 0;
    }

    .exam-courses-point-icon{
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .exam-courses-footer .btn{
        width: 100%;
    }

    .nezam-law-top{
        align-items: flex-start;
        flex-direction: column;
    }

    .exam-structure-highlight{
        padding: 18px;
    }

    .exam-courses-footer{
        align-items: flex-start;
        flex-direction: column;
    }

    .exam-courses-slider-box{
        padding: 12px;
    }

    .exam-links-hub-nav{
        justify-content: flex-start;
        margin-top: 0;
    }

    .exam-links-panel-head{
        align-items: flex-start;
    }
}

@media (max-width: 575.98px){
    .exam-links-panel-head{
        padding: 14px;
    }

    .exam-links-panel-body{
        padding: 8px;
    }
}


@media (max-width: 991.98px){
    .exam-prep-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px){
    .exam-prep-head{
        margin-bottom: 22px;
        text-align: right;
    }

    .exam-prep-card{
        padding: 16px;
    }

    .exam-prep-icon{
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 10px;
    }

    .exam-courses-slide-item{
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 575.98px){
    .exam-bulletin-title{
        white-space: normal;
        font-size: 1.2rem;
    }

    .exam-prep-card{
        gap: 11px;
    }
}

@media (prefers-reduced-motion: reduce){
    .exam-info-box,
    .condition-card,
    .exam-structure-card,
    .exam-prep-card,
    .exam-links-hub-navitem,
    .exam-links-item{
        transition: none !important;
    }
}

/* Bulletin source link */
.exam-bulletin-link{
    color: inherit;
    font-weight: inherit;
}
.exam-bulletin-link:hover{
    color: var(--bs-primary);
}
