/* ===== 全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ===== 主容器 ===== */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 0;
}

/* ===== 分类标题 ===== */
.section-title {
    margin-bottom: 40px;
    text-align: left;
}

.section-name {
    font-size: 48px;
    font-weight: 600;
    color: #121212;
    margin: 0 0 10px 0;

    font-family: PingFangSC, PingFang SC;

}

.title-line {
    width: 46px;
    height: 3px;
    background: #B90804;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 40px;
    color: #A77E30;
    margin: 0;
}

/* ===== 搜索框 ===== */
.search-box {
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 100px;
    height: 62px;
    border: 1px solid #ACACAC;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.search-input {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    font-size: 16px;
    background: transparent;
    border: none;
    text-align: center;
}

.search-input::placeholder {
    color: #121212;
    text-align: center;
}

/* ===== 活动卡片网格 ===== */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 62px 60px;
    margin-bottom: 60px;
}

.activity-card {
    display: grid;
    grid-template-columns: 249px 1fr;
    gap: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.activity-card:hover {
    transform: translateY(-4px);
}

.activity-image {
    width: 249px;
    height: 156px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.activity-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.activity-description {
    font-size: 12px;
    color: #7A7A7A;
    line-height: 1.6;
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.activity-date {
    display: inline-block;
    background: #050505;
    color: #BA9F6F;
    padding: 6px 10px;
    font-size: 12px;
    border: 1px solid #050505;
    width: fit-content;
}

/* ===== 分页 ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 60px 0;
    padding: 0 60px;
}

.pagination-btn {
    width: 42px;
    height: 42px;
    /* border: 1px solid #D0D0D0; */
    background: #F5F5F5;
    border: none;
    color: #515151;
    font-size: 14px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.pagination-btn img {
    width: 42px;
    height: 42px;
}

.pagination-btn:hover {
    border-color: #BA9F6F;
    color: #BA9F6F;
}

.pagination-btn.active {
    background: #B90804;
    color: #FFFFFF;
    border-color: #B90804;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-prev {
    background: #B90804;
    color: #FFFFFF;
    border-color: #B90804;
}

.pagination-next {}

/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
    .container {
        padding: 40px 0;
    }

    .activities-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .activity-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-name {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 24px;
    }

    .pagination {
        gap: 8px;
    }

    .pagination-btn {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
}