/* 轮播图区域 */
.slider-section {
    width: 100%;
    height: 550px;
    position: relative;
    overflow: hidden;
    background-image: url(/images/);
}

.slider-container {
    height: 100%;
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.slide-content h2 {
    font-size: 56px;
    color: #5d4a36;
    margin-bottom: 15px;
    letter-spacing: 8px;
    font-weight: normal;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #c9a063;
    width: 30px;
    border-radius: 5px;
}

/* 书籍展示区 */
.section-title-wrap {
    text-align: center;
    margin: 60px 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.tab-btn {
    font-size: 40px;
    cursor: pointer;
    color: #000;
    transition: 0.3s;
}

.tab-btn.active {
    color: #000;
    font-weight: bold;
}

.tab-divider {
    width: 2px;
    height: 40px;
    background: #000;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    --book-row-height: 320px;
    grid-auto-rows: var(--book-row-height);
    gap: 25px;
    height: calc(var(--book-row-height) * 2 + 25px);
    overflow: hidden;
    align-content: start;
    margin-bottom: 60px;
}

.book-item {
    text-align: center;
    height: var(--book-row-height);
    display: flex;
    flex-direction: column;
}

.book-cover {
    width: 100%;
    height: calc(var(--book-row-height) - 52px);
    background: #f0f0f0;
    margin-bottom: 12px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: 0.3s;
}

.book-item:hover .book-cover {
    transform: translateY(-8px);
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); */
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-title {
    font-size: 18px;
    color: #333;
    height: 40px;
    line-height: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding: 0 5px;
}

@media (max-width: 1200px) {
    .books-grid {
        grid-template-columns: repeat(4, 1fr);
        --book-row-height: 300px;
        height: calc(var(--book-row-height) * 2 + 25px);
    }
}

@media (max-width: 768px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
        --book-row-height: 260px;
        gap: 16px;
        height: calc(var(--book-row-height) * 2 + 16px);
    }

    /* .book-cover {
        height: calc(var(--book-row-height) - 52px);
    } */
}

/* ================= 新闻中心模块 (更新版) ================= */
.news-section {
    padding: 0 0 80px 0;
    background: #fff;
}

.news-main-title {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.news-image-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.news-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1.6 / 1;
    background: #eee;
    overflow: hidden;
}

.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-img-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

.news-content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.news-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.news-block-header h3 {
    font-size: 24px;
    display: flex;
    align-items: center;
}

/* .news-block-header h3::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #ccc;
    margin-right: 10px;
} */

.news-block-header .more {
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
}

.news-list {
    border-top: 1px solid #eee;
}

.news-list-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dotted #cdcccc;
    font-size: 18px;
    color: #000;
}

.news-list-item:hover {
    color: #1a3a6c;
}

.news-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 20px;
}
.icon {
    display: flex;
    width: 38px;
}
/* 媒体关注网格 */
.catch{
    margin-top: 50px;
}
.media-report-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    /* margin-top: 50px; */
}

.media-card {
    border: 1px solid #e0e0e0;
    padding: 18px 15px;
    font-size: 18px;
    color: #000;
    background: #fff;
    transition: 0.3s;
}

.media-card:hover {
    border-color: #1a3a6c;
    /* background: #f9f9f9; */
}

