/* Exam / results notices */
.halchal-exam-page {
    --ex-accent: #1d4ed8;
    --ex-accent-soft: #eff6ff;
    --ex-text: var(--halchal-feature-text, #0f172a);
    --ex-muted: var(--halchal-feature-muted, #64748b);
    --ex-border: var(--halchal-feature-border, #e2e8f0);
    --ex-radius: var(--halchal-feature-radius, 12px);
    --ex-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    padding-bottom: 2.5rem;
}

.halchal-exam-page .module {
    background: transparent;
    box-shadow: none;
    border: 0;
}

.halchal-exam-page .module > header h1 {
    margin-bottom: 1rem;
    padding-bottom: 0.45rem;
    border-bottom: 2px solid var(--ex-accent);
    font-weight: 800;
    color: var(--ex-text);
    font-size: var(--halchal-feature-fs-page);
}

.halchal-exam-title-en {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ex-muted);
}

.halchal-exam {
    width: 100%;
    font-size: var(--halchal-feature-fs-md);
}

.halchal-exam-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.2rem 1.3rem;
    border-radius: calc(var(--ex-radius) + 2px);
    border: 1px solid #bfdbfe;
    background: linear-gradient(145deg, var(--ex-accent-soft) 0%, #fff 80%);
    box-shadow: var(--ex-shadow);
}

.halchal-exam-hero__eyebrow {
    display: block;
    font-size: var(--halchal-feature-fs-meta);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1e40af;
}

.halchal-exam-hero__title {
    margin: 0.35rem 0 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ex-text);
}

.halchal-exam-hero__desc {
    margin: 0.45rem 0 0;
    font-size: var(--halchal-feature-fs-sm);
    color: var(--ex-muted);
    line-height: 1.55;
    max-width: 42rem;
}

.halchal-exam-hero__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    text-align: right;
}

.halchal-exam-hero__stat {
    font-size: var(--halchal-feature-fs-sm);
    color: var(--ex-muted);
}

.halchal-exam-hero__stat strong {
    color: var(--ex-text);
    font-size: 1.1em;
}

.halchal-exam-hero__sync {
    font-size: var(--halchal-feature-fs-meta);
    color: var(--ex-muted);
}

.halchal-exam-tabs {
    display: none;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.halchal-exam-tabs__btn {
    display: inline-flex;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--ex-border);
    background: #fff;
    color: var(--ex-text);
    font-size: var(--halchal-feature-fs-sm);
    font-weight: 700;
    text-decoration: none !important;
}

.halchal-exam-tabs__btn:hover {
    border-color: var(--ex-accent);
    color: var(--ex-accent);
}

.halchal-exam-tabs__btn.is-active {
    background: var(--ex-accent);
    border-color: var(--ex-accent);
    color: #fff;
}

.halchal-exam-tabs-mobile {
    margin-bottom: 1rem;
}

.halchal-exam-tabs-mobile__select {
    width: 100%;
    min-height: var(--halchal-feature-touch, 44px);
    padding: 0.55rem 0.65rem;
    border-radius: var(--ex-radius);
    border: 1px solid var(--ex-border);
    font-size: var(--halchal-feature-fs-md);
}

.halchal-exam-section {
    margin-bottom: 1.25rem;
}

.halchal-exam-section__title {
    margin: 0;
    font-size: var(--halchal-feature-fs-md);
    font-weight: 800;
    color: var(--ex-text);
}

.halchal-exam-notices {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    border: 1px solid var(--ex-border);
    border-radius: var(--ex-radius);
    background: #fff;
    overflow: hidden;
}

.halchal-exam-notice {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

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

.halchal-exam-notice__link {
    color: inherit;
    text-decoration: none !important;
}

.halchal-exam-notice__link:hover .halchal-exam-notice__title {
    color: var(--ex-accent);
}

.halchal-exam-notice__title {
    display: block;
    font-size: var(--halchal-feature-fs-md);
    line-height: 1.4;
    color: var(--ex-text);
}

.halchal-exam-notice__meta {
    display: block;
    margin-top: 0.25rem;
    font-size: var(--halchal-feature-fs-meta);
    color: var(--ex-muted);
}

.halchal-exam-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.halchal-exam-panel {
    border: 1px solid var(--ex-border);
    border-radius: var(--ex-radius);
    background: #fff;
    box-shadow: var(--ex-shadow);
    overflow: hidden;
}

.halchal-exam-panel__head {
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--ex-border);
}

.halchal-exam-panel__title {
    margin: 0;
    font-size: var(--halchal-feature-fs-md);
    font-weight: 800;
}

.halchal-exam-channels,
.halchal-exam-smslist,
.halchal-exam-ivrlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.halchal-exam-channel,
.halchal-exam-sms,
.halchal-exam-ivr {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.halchal-exam-channel:last-child,
.halchal-exam-sms:last-child,
.halchal-exam-ivr:last-child {
    border-bottom: 0;
}

.halchal-exam-channel__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    color: var(--ex-accent);
    font-weight: 700;
    text-decoration: none !important;
}

.halchal-exam-channel__badge {
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: var(--ex-accent-soft);
    color: #1e40af;
    font-size: var(--halchal-feature-fs-meta);
    font-weight: 700;
}

.halchal-exam-sms__top {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.halchal-exam-sms__number {
    font-weight: 800;
    color: var(--ex-accent);
    font-size: 1.1em;
}

.halchal-exam-sms__format {
    margin: 0.25rem 0 0;
    font-size: var(--halchal-feature-fs-sm);
    color: var(--ex-text);
}

.halchal-exam-sms__note,
.halchal-exam-ivr__note {
    font-size: var(--halchal-feature-fs-meta);
    color: var(--ex-muted);
}

.halchal-exam-ivr__num {
    margin-left: 0.5rem;
    font-weight: 800;
    color: var(--ex-accent);
}

.halchal-exam-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.halchal-exam-card {
    padding: 1rem;
    border: 1px solid var(--ex-border);
    border-radius: var(--ex-radius);
    background: #fff;
    box-shadow: var(--ex-shadow);
}

.halchal-exam-card__title {
    margin: 0;
    font-size: var(--halchal-feature-fs-md);
    font-weight: 800;
}

.halchal-exam-card__board {
    margin: 0.35rem 0 0;
    font-size: var(--halchal-feature-fs-sm);
    color: var(--ex-muted);
}

.halchal-exam-card__hint {
    margin: 0.5rem 0 0;
    font-size: var(--halchal-feature-fs-meta);
    color: var(--ex-text);
    line-height: 1.45;
}

.halchal-exam-card__link {
    display: inline-block;
    margin-top: 0.65rem;
    font-size: var(--halchal-feature-fs-sm);
    font-weight: 700;
    color: var(--ex-accent);
    text-decoration: none !important;
}

.halchal-exam-tips {
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: var(--ex-radius);
    background: #fffbeb;
    border: 1px solid #fde68a;
    font-size: var(--halchal-feature-fs-sm);
    color: #78350f;
}

.halchal-exam-tips ul {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
}

.halchal-exam-source {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    margin-top: 1.25rem;
    font-size: var(--halchal-feature-fs-sm);
    color: var(--ex-muted);
}

.halchal-exam-source a {
    font-weight: 700;
    color: var(--ex-text);
}

@media (min-width: 768px) {
    .halchal-exam-tabs {
        display: flex;
    }
    .halchal-exam-tabs-mobile {
        display: none;
    }
}

@media (max-width: 767px) {
    .halchal-exam-grid {
        grid-template-columns: 1fr;
    }
    .halchal-exam-hero__meta {
        align-items: flex-start;
        text-align: left;
    }
}
