* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Header Styles */
.header {
    background-color: #2c3e50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.company-name {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: #ecf0f1;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-item:hover {
    color: #fff;
    background-color: #34495e;
}

.nav-item.active {
    color: #3498db;
    background-color: #34495e;
    font-weight: 500;
}

/* PC端More下拉菜单 */
.nav-dropdown {
    position: relative;
}

.more-btn {
    background-color: #34495e;
    border: 1px solid #4a6378;
    color: #ecf0f1;
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.more-btn:hover {
    background-color: #3498db;
    color: #fff;
    border-color: #3498db;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1001;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #666;
    font-size: 15px;
    transition: all 0.3s;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f0f8ff;
    color: #007bff;
}

.dropdown-item.active {
    background-color: #e6f2ff;
    color: #007bff;
    font-weight: 500;
}

/* 移动端汉堡菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s;
}

/* 移动端侧边菜单 */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 1002;
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #2c3e50;
}

.sidebar-header .company-name {
    font-size: 20px;
    color: #fff;
}

.sidebar-close-btn {
    background: none;
    border: none;
    font-size: 32px;
    color: #ecf0f1;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.3s;
}

.sidebar-close-btn:hover {
    color: #fff;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.sidebar-item {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #666;
    font-size: 16px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-item:hover {
    background-color: #f5f5f5;
    color: #007bff;
    border-left-color: #007bff;
}

.sidebar-item.active {
    background-color: #e6f2ff;
    color: #007bff;
    border-left-color: #007bff;
    font-weight: 500;
}

/* 侧边菜单遮罩层 */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1001;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb-item {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item:hover {
    color: #3498db;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #ccc;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.section-content {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 40px;
}

.left-panel {
    flex: 2;
    min-width: 300px;
}

.right-panel {
    flex: 1;
    min-width: 300px;
}

.main-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.sub-title {
    font-size: 20px;
    font-weight: 600;
    color: #555;
    margin-top: 24px;
    margin-bottom: 12px;
}

.description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* News List */
.news-section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.news-list {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 24px;
}

.news-item {
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s;
    text-decoration: none;
    display: block;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: #f0f0f0;
}

.news-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.news-date {
    font-size: 14px;
    color: #999;
}

/* Footer Styles */
.footer {
    background-color: #2c3e50;
    color: #fff;
    margin-top: 60px;
    padding: 60px 0 20px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.footer-info {
    flex: 1;
}

.footer-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 16px;
    line-height: 1.8;
    color: #bdc3c7;
}

.footer-contact {
    flex: 1;
}

.contact-item {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

.contact-label {
    font-weight: 600;
    margin-right: 12px;
    color: #3498db;
}

.contact-value {
    color: #ecf0f1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 20px 20px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #34495e;
}

.footer-bottom .sitemap-link {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom .sitemap-link:hover {
    color: #5dade2;
    text-decoration: underline;
}

.copyright {
    color: #95a5a6;
    font-size: 14px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 20px 20px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #34495e;
}

.footer-bottom .sitemap-link {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom .sitemap-link:hover {
    color: #5dade2;
    text-decoration: underline;
}

.copyright {
    color: #95a5a6;
    font-size: 14px;
}

/* Tablet Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }

    .company-name {
        font-size: 20px;
    }

    .nav-menu {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-item {
        font-size: 14px;
        padding: 6px 12px;
    }

    .main-content {
        margin: 20px auto;
        padding: 0 15px;
    }

    .section-content {
        padding: 20px;
        gap: 20px;
    }

    .main-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .sub-title {
        font-size: 18px;
    }

    .news-list {
        padding: 16px;
    }

    .news-title {
        font-size: 16px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    .footer-title {
        font-size: 20px;
    }

    .footer-description {
        font-size: 14px;
    }

    .contact-item {
        font-size: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .header-container {
        height: auto;
        padding: 10px 15px;
        gap: 0;
    }

    .company-name {
        font-size: 18px;
        flex: 1;
    }

    /* 隐藏PC端导航菜单 */
    .nav-menu {
        display: none;
    }

    /* 显示汉堡菜单按钮 */
    .mobile-menu-btn {
        display: flex;
        margin-left: auto;
    }

    .section-content {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    .breadcrumb {
        margin-bottom: 15px;
        font-size: 13px;
    }

    .left-panel {
        min-width: auto;
        order: 1;
    }

    .right-panel {
        min-width: auto;
        order: 2;
    }

    .news-detail-container {
        padding: 15px;
    }

    .main-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .news-section-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .sub-title {
        font-size: 16px;
        margin-top: 20px;
    }

    .description {
        font-size: 14px;
    }

    .news-list {
        padding: 12px;
    }

    .news-item {
        padding: 12px;
    }

    .news-title {
        font-size: 14px;
    }

    .news-date {
        font-size: 12px;
    }

    .news-detail-container {
        padding: 20px;
    }

    .news-detail-title {
        font-size: 24px;
    }

    .news-detail-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .news-detail-paragraph {
        font-size: 15px;
    }

    .news-detail-subtitle {
        font-size: 20px;
    }

    .left-panel .news-detail-container {
        padding: 0;
    }

    .footer {
        padding: 40px 0;
    }

    .footer-title {
        font-size: 18px;
    }

    .footer-description {
        font-size: 13px;
    }

    .contact-item {
        font-size: 13px;
        margin-bottom: 12px;
    }

.contact-label {
    margin-right: 8px;
}

/* News Detail Styles */
.news-detail-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-detail-header {
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.news-detail-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.4;
}

.news-detail-meta {
    display: flex;
    gap: 20px;
    align-items: center;
}

.news-detail-date {
    font-size: 14px;
    color: #999;
}

.news-detail-category {
    font-size: 14px;
    color: #3498db;
    background-color: #e6f2ff;
    padding: 4px 12px;
    border-radius: 12px;
}

.news-detail-content {
    margin-bottom: 40px;
}

.news-detail-paragraph {
    font-size: 16px;
    line-height: 2;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.news-detail-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 16px 0;
}

.news-detail-footer {
    border-top: 2px solid #e0e0e0;
    padding-top: 20px;
}

.back-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.back-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Left panel in detail page */
.left-panel .news-detail-container {
    background: none;
    box-shadow: none;
    padding: 0;
}
}
