* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.top-bar {
    background: #8B0000;
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    opacity: 0.9;
}

.top-bar a:hover {
    opacity: 1;
}

.header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    margin-right: 20px;
}

.logo-text h1 {
    font-size: 28px;
    font-weight: bold;
    color: #8B0000;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 13px;
    color: #666;
    letter-spacing: 1px;
}

.header-right {
    display: flex;
    align-items: center;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 5px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    background: #fff;
    border-color: #8B0000;
    box-shadow: 0 0 10px rgba(139,0,0,0.2);
}

.search-input {
    width: 180px;
    padding: 8px 15px;
    border: none;
    background: transparent;
    color: #333;
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #A52A2A 0%, #CD5C5C 100%);
    transform: scale(1.05);
}

.nav {
    background: #8B0000;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.menu-toggle {
    display: none;
    background: #6B0000;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 40px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: rgba(255,255,255,0.1);
    border-bottom-color: #FFD700;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #6B0000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    list-style: none;
    min-width: 180px;
    display: none;
    z-index: 100;
}

.nav-menu li:hover .sub-menu {
    display: block;
}

.sub-menu a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.sub-menu a:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 25px;
}

.banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slide .banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
}

.banner-slide .banner-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.banner-slide .banner-text p {
    font-size: 14px;
    opacity: 0.9;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 100;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.banner-dot:hover {
    background: rgba(255,255,255,0.8);
}

.banner-dot.active {
    background: #FFD700;
    border-color: white;
    transform: scale(1.2);
}

.hengpu-banner {
    width: 100%;
    background: white;
    padding: 20px 0;
}

.hengpu-banner img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bottom-sections {
    background: #f5f5f5;
    padding: 30px 0;
}

.bottom-sections-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bottom-section {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.bottom-list {
    padding: 15px 20px;
    list-style: none;
}

.bottom-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.bottom-list li:last-child {
    border-bottom: none;
}

.bottom-list li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}

.bottom-list li a:hover {
    color: #8B0000;
}

.bottom-list li .date {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
}

.links-bottom .links-grid-bottom {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.links-grid-bottom a {
    display: block;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    text-align: center;
    transition: all 0.3s ease;
}

.links-grid-bottom a:hover {
    background: #8B0000;
    color: white;
}

.page-banner {
    height: 200px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.page-banner h1 {
    font-size: 36px;
    letter-spacing: 5px;
}

.main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.content-area {
    width: 100%;
}

.content-section {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: white;
}

.section-header h2 {
    font-size: 18px;
    display: flex;
    align-items: center;
}

.section-header h2::before {
    content: '';
    width: 4px;
    height: 18px;
    background: #FFD700;
    margin-right: 10px;
}

.section-header a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 13px;
}

.section-header a:hover {
    color: white;
}

.news-row {
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: stretch;
}

.news-slider {
    flex-shrink: 0;
    width: 520px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.news-slider-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    border-radius: 8px;
    overflow: hidden;
}

.news-slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.news-slider-slide.active {
    opacity: 1;
}

.news-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-slider-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.news-slider-dots {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.news-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-dot.active {
    background: #FFD700;
    transform: scale(1.2);
}

.news-list {
    flex: 1;
}

.news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-content {
    flex: 1;
    overflow: hidden;
}

.news-content h3 {
    font-size: 15px;
    line-height: 1.5;
}

.news-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.news-date-right {
    flex-shrink: 0;
    font-size: 13px;
    color: #999;
    margin-left: 15px;
}

.news-content h3 a:hover {
    color: #8B0000;
}

.news-content p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.breadcrumb {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.breadcrumb a {
    color: #8B0000;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.list-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.list-header {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: white;
    padding: 15px 25px;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.list-header::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #FFD700;
    margin-right: 12px;
}

.list-items {
    list-style: none;
}

.list-items li {
    padding: 18px 25px;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.list-items li:hover {
    background: #fafafa;
}

.list-items li:last-child {
    border-bottom: none;
}

.list-items li a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.list-items li a:hover {
    color: #8B0000;
}

.list-items li .date {
    color: #999;
    font-size: 13px;
    margin-left: 20px;
    flex-shrink: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    gap: 8px;
}


.pagination span {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    border-color: #8B0000;
    color: #8B0000;
}

.pagination .current {
    background: #8B0000;
    border-color: #8B0000;
    color: white;
}

.article-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article-header {
    padding: 35px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.article-header h1 {
    font-size: 26px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 20px;
}

.article-meta {
    font-size: 14px;
    color: #999;
}

.article-meta span {
    margin: 0 15px;
}

.article-body {
    padding: 35px;
    font-size: 16px;
    line-height: 2;
}

.article-body p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.article-footer {
    padding: 25px 35px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.article-nav a {
    color: #8B0000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.article-nav a:hover {
    text-decoration: underline;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-section {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-header {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.sidebar-header::before {
    content: '';
    width: 4px;
    height: 16px;
    background: #FFD700;
    margin-right: 10px;
}

.sidebar-list {
    padding: 10px 20px;
    list-style: none;
}

.sidebar-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li::before {
    content: '›';
    color: #8B0000;
    font-size: 18px;
    margin-right: 10px;
}

.sidebar-list a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    flex: 1;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-list a:hover {
    color: #8B0000;
}

.sidebar-list .date {
    font-size: 12px;
    color: #999;
}

.links-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.links-section h3 {
    font-size: 16px;
    color: #8B0000;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8B0000;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.links-grid a {
    display: block;
    padding: 10px 15px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
}

.links-grid a:hover {
    background: #8B0000;
    color: white;
}

.footer {
    background: #2c2c2c;
    color: white;
    padding: 50px 0 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #FFD700;
}

.footer-section p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700;
}

.footer-bottom {
    background: #1a1a1a;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #666;
}

@media (max-width: 992px) {
    .main {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .header-right {
        margin-top: 15px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu > li > a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .sub-menu {
        position: static;
        display: none;
        background: #5B0000;
        box-shadow: none;
    }
    
    .nav-menu li.open .sub-menu {
        display: block;
    }
    
    .banner {
        height: 250px;
    }
    
    .page-banner {
        height: 150px;
    }
    
    .page-banner h1 {
        font-size: 28px;
    }
    
    .bottom-sections-content {
        grid-template-columns: 1fr;
    }
    
    .news-row {
        flex-direction: column;
    }
    
    .news-slider {
        width: 100%;
        min-height: 200px;
    }
    
    .article-header {
        padding: 25px;
    }
    
    .article-header h1 {
        font-size: 22px;
    }
    
    .article-body {
        padding: 25px;
    }
    
    .article-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 22px;
    }
}