* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}


.containerNews {
    width: 95%;
    margin: 0 auto 20px;
    padding: 1%
}

.rowNews {
    display: flex;
    justify-content: center;
    gap: 1%;
    margin-bottom: 2%;
}

/* 模块A样式 */
.module-aNews {
    width: 74%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding-bottom: 1%;
    max-height: 550px;
}

.a-topNews {
    display: flex;
    gap: 2%;
    margin-bottom: 1%;
    height: 73%;
}

.a-leftNews {
    width: 20%;
    overflow: hidden;
    background: linear-gradient(135deg, #1a2980, #26d0ce);
    border-radius: 8px;
    padding: 15px;
}

.news-listNews {
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0;

}

.news-itemNews {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    height: 30%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-itemNews:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.icon-newsNews {
    margin-right: 10px;
    width: 40px;
    height: 40px;
}

.news-contentNews {
    flex: 1;
}

.titleNews {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.descNews {
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 200px;
    font-size: 14px;
}

.a-rightNews {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-wrapperNews {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-trackNews {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-itemNews {
    flex: 0 0 100%;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    font-size: 24px;
}

.carousel-imageNews {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.carousel-prevNews,
.carousel-nextNews {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
    z-index: 10;
}

.carousel-wrapperNews:hover .carousel-prevNews,
.carousel-wrapperNews:hover .carousel-nextNews {
    opacity: 1;
}

.carousel-prevNews:hover,
.carousel-nextNews:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-prevNews {
    left: 15px;
}

.carousel-nextNews {
    right: 15px;
}

.a-bottomNews {
    height: 27%;
    padding: 0 10px;
}

.blank-listNews {
    display: flex;
    gap: 2%;
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
}

.blank-itemNews {
    flex: 1;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.blank-itemNews::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, #a1c4fd, #c2e9fb);
    opacity: 0.7;
}

/* 模块B样式 */
.module-bNews {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 60px 15px 20px 15px;
    max-height: 550px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.avatarNews {
    width: 100px;
    height: 100px;
    border-radius: 20%;
    margin: 0 auto;
    display: block;
    border: 3px solid #3498db;
    object-fit: cover;
    background: linear-gradient(45deg, #3498db, #8e44ad);
}

.button-groupNews {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.btnNews {
    padding: 10px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.registerNews {
    /*background: linear-gradient(135deg, #3498db, #1a2980);*/
    color: white;
}

.loginNews {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btnNews:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.dividerNews {
    width: 85%;
    position: relative;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 40px auto;
}

.divider-textNews {
    position: absolute;
    text-align: center;
    width: 180px;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    background: white;
    padding: 0 15px;
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
}

.descNaewss {
    text-align: center;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 16px;
}

.image-boxNews {
    position: relative;
    flex: 1;
    /*background: #f8f9fa;*/
    border-radius: 8px;
    overflow: hidden;
    /*box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);*/
}

.close-btnNews {
    position: absolute;
    right: 10px;
    top: 40px;
    background: rgba(231, 76, 60, 0.8);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
    transition: background 0.3s;
}

.close-btnNews:hover {
    background: rgba(192, 57, 43, 0.9);
}

.image-boxNews img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 模块C样式 */
.module-cNews {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 0 15px 20px;
    min-height: 400px;
}

.tab-headerNews {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-top: 15px;
    position: relative;
}

.tab-itemsNews {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: calc(100% - 50px);
}

.tab-itemNews {
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 30px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f1f2f6;
    color: #2d3436;
    font-weight: 500;
    border: 2px solid transparent;
    flex-grow: 1;
    text-align: center;
    min-width: 80px;
}

.tab-itemNews:hover {
    background: #dfe4ea;
}

.tab-itemNews.activeNews {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-color: #2980b9;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.fa-caret-right {
    margin-left: 10px;
    font-size: 36px;
    color: #3498db;
    cursor: pointer;
    transition: transform 0.3s;
}

.fa-caret-right:hover {
    color: #2980b9;
    transform: translateX(3px);
}

/* 选项卡内容样式 */
.tab-contentNews {
    position: relative;
    min-height: 400px;
}

.content-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.content-pane.activeNews {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-listNews {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.content-itemNews {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.content-itemNews:hover {
    background: #f8faff;
    transform: translateX(5px);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.content-itemNews img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.content-itemNews div {
    flex: 1;
}

.content-itemNews h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
}

.content-itemNews .descNews {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 5px;
}

.content-itemNews .dateNews {
    color: #95a5a6;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

.load-moreNews {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 15px;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.load-moreNews:hover {
    background: linear-gradient(135deg, #2980b9, #2573a7);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
}

.load-moreNews.hidden {
    display: none;
}

/* 添加隐藏样式 */
.content-itemNews.hidden {
    display: none;
}

/* 日历模块样式 */
.calendar-boxNews {
    width: 25.5%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 15px;
}

.calendar-headerNewss {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

.calendar-headerNewss span {
    font-weight: 600;
    color: #2c3e50;
    font-size: 18px;
}

.calendar-headerNewss i {
    color: #3498db;
    font-size: 24px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .rowNews {
        flex-wrap: wrap;
    }

    .module-aNews {
        width: 100%;
        margin-bottom: 20px;
    }

    .calendar-boxNews {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .a-topNews {
        flex-direction: column;
        height: auto;
    }

    .a-leftNews {
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }

    .news-itemNews {
        height: auto;
        margin-bottom: 10px;
    }

    .module-bNews {
        min-height: auto;
        margin-bottom: 20px;
    }
}

/* 页头样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #1a2980, #26d0ce);
    color: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 8px 15px;
    width: 250px;
}

.search-box input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    padding: 5px 10px;
    outline: none;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box i {
    color: white;
    cursor: pointer;
}

/* 页脚样式 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 5% 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #3498db;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #3498db;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #bdc3c7;
}