/* 备考专区主题色 */
.exam-theme {
    background-color: #fff5f5; /* 极浅红色背景 */
    padding: 70px 0;
}

.exam-theme .category-label {
    color: #ef4444;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 700;
}

/* 考试过滤器 */
.exam-filters {
    display: flex;
    gap: 12px;
    padding: 40px 0 20px;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
}

.filter-tag {
    padding: 6px 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    transition: 0.3s;
}

.filter-tag.active {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

/* 布局：左侧内容 + 右侧边栏 */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    margin-top: 40px;
    margin-bottom: 80px;
}

/* 备考列表项 */
.exam-story-item {
    padding: 30px 0;
    border-bottom: 1px solid #f1f5f9;
}

.item-meta {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.exam-badge {
    background: #fee2e2;
    color: #ef4444;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
}

.item-body h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.item-body p {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 20px;
}

.item-footer {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 13px;
    color: #94a3b8;
}

.read-btn {
    margin-left: auto;
    color: #ef4444;
    text-decoration: none;
    font-weight: 700;
}

/* 侧边栏工具 */
.sidebar-box {
    background: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.sidebar-box h4 {
    margin-bottom: 15px;
    font-size: 16px;
    border-left: 3px solid #ef4444;
    padding-left: 10px;
}

.hot-words { list-style: none; }
.hot-words li {
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    justify-content: space-between;
}

.hot-words span { color: #94a3b8; font-size: 12px; }

.btn-side {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background: #1e293b;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    .exam-sidebar {
        display: none; /* 移动端隐藏侧边栏，或放到最下方 */
    }
}