body.hsk-exam-page .hsk-index-page {
    min-height: auto;
    padding: 44px 0 58px;
    background: linear-gradient(180deg, #fff8f3 0%, #f6f9fc 42%, #ffffff 100%);
}

.hsk-index-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
    padding: 0 0 22px;
    border-bottom: 1px solid #eadfd6;
}

.hsk-index-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff1e7;
    color: #a23b20;
    font-size: 13px;
    font-weight: 700;
}

.hsk-index-hero h1 {
    color: #24211f;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
}

.hsk-index-hero p {
    max-width: 620px;
    color: #5d6673;
    font-size: 16px;
}

.hsk-outline-btn {
    border: 1px solid #c74325;
    color: #b33a1f;
    background: #ffffff;
    font-weight: 700;
    border-radius: 8px;
    padding: 10px 16px;
    white-space: nowrap;
}

.hsk-outline-btn:hover {
    color: #ffffff;
    background: #c74325;
}

.hsk-level-tabs {
    gap: 10px;
    margin-bottom: 22px;
    overflow-x: auto;
    padding-bottom: 6px;
    flex-wrap: nowrap;
    scrollbar-width: thin;
}

.hsk-level-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 86px;
    color: #394150;
    background: #ffffff;
    border: 1px solid #e1e7ee;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(31, 41, 55, 0.06);
    white-space: nowrap;
}

.hsk-level-tabs .nav-link span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #edf2f7;
    color: #394150;
    font-size: 12px;
}

.hsk-level-tabs .nav-link.active,
.hsk-level-tabs .show > .nav-link {
    color: #ffffff;
    background: #c74325;
    border-color: #c74325;
    box-shadow: 0 12px 26px rgba(199, 67, 37, 0.22);
}
a.btn.hsk-exam-action {
    border: 1px solid #ccc;
    border-radius: 15px;
}
a.btn.hsk-exam-action:hover {
    background: #ff750f;
    color: #fff;
}
.hsk-level-tabs .nav-link.active span {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.hsk-exam-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 248px;
    padding: 18px;
    border: 1px solid #e4e9ef;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(29, 38, 55, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hsk-exam-card:hover {
    transform: translateY(-3px);
    border-color: #f0b7a4;
    box-shadow: 0 18px 38px rgba(29, 38, 55, 0.12);
}

.hsk-exam-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.hsk-level-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ffe9dd;
    color: #a6361d;
    font-size: 13px;
    font-weight: 800;
}

.hsk-duration {
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.hsk-exam-card h3 {
    margin: 0 0 10px;
    color: #23272f;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
}

.hsk-exam-card p {
    flex: 1;
    margin-bottom: 16px;
    color: #697386;
    font-size: 14px;
    line-height: 1.6;
}

.hsk-exam-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: #4f5b67;
    font-size: 13px;
}

.hsk-exam-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 8px;
    background: #f4f7fa;
}

.hsk-exam-meta i {
    color: #0f766e;
    font-size: 15px;
}

.hsk-exam-action {
    width: 100%;
    border-radius: 8px;
    background: #1f6f78;
    color: #ffffff;
    font-weight: 800;
    padding: 10px 14px;
}

.hsk-exam-action:hover {
    background: #195d65;
    color: #ffffff;
}

.hsk-empty-state {
    padding: 18px;
    border: 1px dashed #d5dde7;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: #667085;
    text-align: center;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    body.hsk-exam-page .hsk-index-page {
        padding: 28px 0 42px;
    }

    .hsk-index-hero {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 18px;
        padding-bottom: 18px;
    }

    .hsk-index-hero h1 {
        font-size: 32px;
    }

    .hsk-index-hero p {
        font-size: 15px;
    }

    .hsk-outline-btn {
        width: 100%;
        text-align: center;
    }

    .hsk-exam-card {
        min-height: 0;
        padding: 16px;
    }
}
