﻿
/* 顶部横幅 */
.hero-banner img {
    width: 100%;
    height: auto;
}

/* 通用文本换行样式 */
.text-wrap {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* 通用文本框样式 */
.txt-input {
    background-color: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 12px;
    position: absolute;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* 按钮样式 */
.btn-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: #1d66c6;
    color: #FFF;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.btn-tag:hover {
    background-color: #1d66c6;
}

.see-all-btn {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* 图片容器通用样式 */
.image-container {
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

/* 主容器 */
.media-center {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 54px 0 0;
}

/* 标题样式 */
.section-title {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 20px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.sub-title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 30px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 新闻区域 */
.news-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 40px;
}

.secondary-news {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* 添加灰色蒙版 */
.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

/* 悬浮时蒙版消失 */
.news-card:hover::before {
    opacity: 0;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card-large {
    background-image: url(../images/meitizhongxin/meitizhongxin_5_5.jpg);
    background-size: cover;
    background-position: center;
    min-height: 587px;
    color: white;
}

.news-card-medium {
    min-height: 298px;
    background-size: cover;
    background-position: center;
    color: white;
}

.news-card-small {
    min-height: 285px;
    background-size: cover;
    background-position: center;
    color: white;
    width: 49%;
}

.news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    z-index: 2;
}

.news-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.news-description {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.news-date {
    font-size: 14px;
    opacity: 0.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: #fff;
}

/* 多媒体网格区域 */
.grid-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    margin-bottom: 60px;
    align-items: center;
    background-color: var(--bg-secondary);
}

/* Swiper基础样式 */
.swiper-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}

/* Swiper轮播图样式 */
.main-showcase {
    position: relative;
    display: block;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 559px;
    height: 559px;
    overflow: hidden;
    transition: background-image 0.8s ease-in-out;
    /* 临时调试背景 */
    background-color: #f0f0f0;
}

.main-showcase .swiper-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
}

.main-showcase .swiper-slide {
    position: relative;
    height: 559px;
    width: 100%;
    background: transparent;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

.showcase-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 20px 15px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 4px;
    z-index: 10;
}

.nav-prev {
    left: 10px;
}

.nav-next {
    right: 10px;
}

.showcase-navigation:hover {
    background: rgba(0, 0, 0, 0.7);
}

.showcase-content {
    position: relative;
    width: 100%;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    z-index: 2;
    padding-bottom: 120px;
}

.showcase-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.showcase-description {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.media-thumbnails {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    z-index: 3;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0.7;
}

.thumbnail.active {
    border-color: #1d66c6;
    opacity: 1;
    transform: scale(1.1);
}

.thumbnail:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: fit-content;
    padding: 10px;
}

.sidebar-card {
    background: white;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
    border: 0;
    background-color: #fff;
}

.card-image {
    width: 80px;
    height: 60px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-info {
    flex: 1;
}

.card-info h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    margin: 0 0 8px 0;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.card-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    margin: 0 0 5px 0;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
}

.card-info .date {
    font-size: 12px;
    color: #999;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 社交登录区域 */
.social-login {
    text-align: center;
}

.login-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    margin: 0 0 20px 0;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    width: 50px;
    height: 50px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
    overflow: hidden;
    background-color: #fff;
}

.social-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-btn:hover {
    transform: scale(1.1);
}

/* 精彩回顾区域 */
.review-section {
    margin-bottom: 60px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.see-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.see-all-btn:hover {
    color: #333;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.review-card {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    min-height: 244px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

/* 添加透明黑色蒙版 */
.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

/* 悬浮时蒙版消失 */
.review-card:hover::before {
    opacity: 0;
}

.review-card:hover {
    transform: scale(1.02);
}

.review-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.review-card:hover .review-icon {
    transform: scale(1.1);
}

.review-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

/* 下载区域 */
.download-section {
    margin-bottom: 60px;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-item {
    display: grid;
    grid-template-columns: 240px 450px 1fr;
    align-items: center;
    padding: 20px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.download-item:hover {
    transform: translateY(-2px);
}

.download-title {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    margin: 0;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.download-date {
    font-size: 20px;
    color: #999;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
    background: #f0f0f0;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: background 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.download-btn img {
    width: 20px;
    height: auto;
}

.download-btn:hover {
    background: #e0e0e0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .main-content {
        max-width: 960px;
    }
    
    .grid-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-showcase {
        min-height: 400px;
        height: 400px;
    }
    
    .main-showcase .swiper-slide {
        height: 400px;
    }
    
    .media-thumbnails {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-item {
        grid-template-columns: 1fr 1fr auto;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 60px 0 0;
    }
    
    .news-section {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .main-showcase {
        min-height: 300px;
        height: 300px;
    }
    
    .main-showcase .swiper-slide {
        height: 300px;
    }
    
    .showcase-content {
        padding: 20px;
        padding-bottom: 50px;
    }
    
    .showcase-title {
        font-size: 22px;
    }
    
    .media-thumbnails {
        bottom: 15px;
        right: 15px;
        gap: 6px;
    }
    
    .thumbnail {
        width: 50px;
        height: 38px;
    }
    
    .review-grid {
        grid-template-columns: 1fr;
    }
    
    .download-item {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .download-btn {
        justify-self: center;
    }
    
    .social-buttons {
        gap: 10px;
    }
    
    .section-title {
        font-size: 24px;
    }

    .sidebar-card {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .media-center {
        padding: 0 10px;
    }
    
    .main-content {
        padding: 40px 0 0;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 0;
    }

    .sub-title {
        display: none;
    }
    
    .news-title {
        font-size: 22px;
    }
    
    .news-description {
        font-size: 16px;
    }
    
    .main-showcase {
        min-height: 250px;
        height: 250px;
    }
    
    .main-showcase .swiper-slide {
        height: 250px;
    }
    
    .showcase-title {
        font-size: 20px;
    }
    
    .showcase-description {
        font-size: 16px;
    }
    
    .media-thumbnails {
        bottom: 10px;
        right: 10px;
        gap: 4px;
    }
    
    .social-buttons {
        gap: 8px;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
    }
    
    .thumbnail {
        width: 40px;
        height: 30px;
    }
    
    .review-title {
        font-size: 18px;
    }
}


.news-card-small-box {
    display: flex;
    justify-content: space-between;
}