/*基础样式文件，包含全局重置、导航栏、页脚、容器、工具类等通用样式。*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

img {
    max-width: 100%;
    border: 0;
}

a {
    text-decoration: none;
    color: #0066cc;
}

ul, ol {
    list-style: none;
}

a:hover, .banner-title:hover,
.breadcrumb a:hover,
.news-list .news-item a:hover,
.news-list2 .news-item a:hover,
#latest-news .news-item a:hover,
.marquee-title:hover,
.section-more:hover {
    color: #ff6600;
    text-decoration: none;
    /*text-decoration: underline;*/
}

.news-list2 .news-item:hover::before, .news-list .news-item:hover::before {
    color: #ff6600;
}

.news-list .news-item::before, .news-list2 .news-item::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #aa0000;
    font-size: 12px;
    transition: all 0.3s;
}

.header {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #003366;
}

.header-image-container {
    width: 100%;
    position: relative;
    min-height: 150px;
}

.header-bg {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.nav-container {
    background: linear-gradient(135deg, #aa0000 0%, #a73636 100%);
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.15);
    position: relative;
    z-index: 100;
    padding: 0;
}

.nav-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6600, #ff9900, #ff6600);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.nav-menu {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: auto;
    gap: 0;
    padding: 0;
    position: relative;
}

.nav-item {
    position: relative;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item:nth-child(9n) {
    border-right: none;
}

.nav-item:nth-child(n+10) {
    border-bottom: none;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    z-index: 2;
}

.nav-item:hover::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, #ff6600, #ff9900);
    border-radius: 3px 3px 0 0;
}

.nav-link {
    display: block;
    width: 100%;
    padding: 16px 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    letter-spacing: 0.2px;
    text-align: center;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.6s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.nav-link.active {
    background: linear-gradient(to bottom, rgba(255, 102, 0, 0.15), transparent);
    color: #ffffff;
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6600, #ff9900);
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.4);
}

.nav-container::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 5%;
    right: 5%;
    height: 5px;
    background: rgba(0, 64, 128, 0.1);
    border-radius: 0 0 10px 10px;
    filter: blur(2px);
}

.footer {
    background: white;
    padding: 20px 0;
    position: relative;
    min-height: 180px;
}

.footer-bottom {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #333;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-bottom p b {
    color: red;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

.mt10 { margin-top: 10px !important; }
.mt20 { margin-top: 20px !important; }
.mb10 { margin-bottom: 10px !important; }
.mb20 { margin-bottom: 20px !important; }
.ml10 { margin-left: 10px !important; }
.ml20 { margin-left: 20px !important; }
.mr10 { margin-right: 10px !important; }
.mr20 { margin-right: 20px !important; }
.mx-auto { 
    margin-left: auto !important; 
    margin-right: auto !important; 
}

.pd10 { padding: 10px !important; }
.pd20 { padding: 20px !important; }
.pt10 { padding-top: 10px !important; }
.pt20 { padding-top: 20px !important; }
.pb10 { padding-bottom: 10px !important; }
.pb20 { padding-bottom: 20px !important; }
.pl10 { padding-left: 10px !important; }
.pl20 { padding-left: 20px !important; }
.pr10 { padding-right: 10px !important; }
.pr20 { padding-right: 20px !important; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-container {
    margin: 10px auto 10px;
    padding: 0 15px;
}

.banner-leader-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.section-title {
    font-size: 22px;
    color: #003366;
    padding: 15px 20px;
    margin: 0;
    background: linear-gradient(90deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 5px solid #0379dd;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #0379dd, transparent);
}

.section-more {
    font-size: 14px;
    color: #000;
    font-weight: normal;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 8px;
    background: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.section-more:hover {
    background-color: #e6e6e6;
    transform: translateX(3px);
}

.section-more::after {
    content: '›';
    margin-left: 5px;
    font-size: 16px;
    font-weight: bold;
}

.section-title span {
    font-size: 14px;
    color: #666;
    font-weight: normal;
    background-color: #f0f0f0;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.section-title span::before {
    content: '▶';
    font-size: 12px;
    margin-right: 5px;
    color: #0379dd;
}

.section-title:has(span) .section-more {
    margin-left: 0;
}

.grid-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.grid-three-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.grid-two-columns-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .banner-leader-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .grid-two-columns,
    .grid-three-columns,
    .grid-two-columns-2-1 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 0 10px;
    }
    
    .section-title {
        padding: 12px 15px;
        font-size: 18px;
    }
    
    .section-more {
        font-size: 13px;
        padding: 3px 10px;
    }
    
    .section-title span {
        font-size: 13px;
        padding: 3px 8px;
    }
}

@media (max-width: 576px) {
    .section-title {
        padding: 10px 12px;
        font-size: 16px;
        flex-wrap: wrap;
    }
    
    .section-more {
        font-size: 12px;
        padding: 2px 8px;
        order: 2;
        margin-top: 5px;
    }
    
    .section-title span {
        font-size: 12px;
        padding: 2px 6px;
        order: 3;
        margin-top: 5px;
        margin-left: 10px;
    }
    
    .section-title:has(span) {
        justify-content: space-between;
    }
    
    .section-title:has(span) .section-more {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    
    .main-container {
        padding: 0;
    }
}

@media (max-width: 360px) {
    .section-title {
        padding: 8px 10px;
        font-size: 15px;
    }
}

@media print {
    .nav-container,
    .section-more,
    .footer {
        display: none !important;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}