* {
    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: #f5f5f5;
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.header p {
    color: #7f8c8d;
    font-size: 1.1em;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    margin-bottom: 40px;
    width: 100%;
}

.language-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.language-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.language-header {
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.language-name {
    font-size: 1.4em;
    font-weight: bold;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flag {
    width: 24px;
    height: 18px;
    border-radius: 3px;
}

.page-links {
    list-style: none;
}

.page-links li {
    margin-bottom: 8px;
}

.page-links a {
    display: block;
    padding: 8px 12px;
    color: #3498db;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.page-links a:hover {
    background: #f8f9fa;
    border-left-color: #3498db;
    color: #2980b9;
    transform: translateX(5px);
}

.footer {
    text-align: center;
    margin-top: 30px;
    padding: 15px 20px 10px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.back-home {
    display: inline-block;
    padding: 8px 20px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.back-home:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.back-home[style*="#95a5a6"]:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.3);
}

.quick-links h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.news-navigation h3 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

/* 404页面多语言导航模块样式 */
.multilang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.lang-section {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e9ecef;
    min-width: 140px;
}

.lang-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.lang-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.flag {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
}

.lang-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c3e50;
}

.lang-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.lang-links a {
    display: block;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.lang-links a:hover {
    background: #e9ecef;
    color: #2c3e50;
    border-color: #dee2e6;
    transform: translateX(2px);
}

/* 多语言新闻导航模块样式 */
.news-navigation {
    background: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #e1e8ed;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 40px 0 20px 0;
}

.news-navigation h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2rem;
    padding: 0 20px;
}

.news-accordion {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.news-lang-section {
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.news-lang-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #e9ecef;
}

.news-lang-header:hover {
    background: #e9ecef;
}

.news-lang-header .flag {
    width: 32px;
    height: 22px;
    border-radius: 4px;
    flex-shrink: 0;
}

.news-lang-header .lang-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.toggle-icon {
    margin-left: auto;
    font-size: 1.2rem;
    color: #6c757d;
    transition: transform 0.3s ease;
}

.news-lang-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.news-lang-content.active {
    max-height: 2000px;
}

.news-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
}

.news-link-item {
    display: block;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    line-height: 1.4;
}

.news-link-item:hover {
    background: #e9ecef;
    color: #2c3e50;
    border-color: #dee2e6;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
    .sitemap-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .multilang-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
        padding: 0 25px;
    }

    .news-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        padding: 25px;
    }
}

@media (max-width: 992px) {
    .sitemap-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .header h1 {
        font-size: 2.2rem;
    }
    
    .header p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .header {
        padding: 30px 20px;
    }
    
    .language-name {
        font-size: 1.1rem;
    }
    
    .page-links a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .multilang-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
        padding: 0 20px;
    }

    .lang-section {
        padding: 12px;
        min-width: auto;
    }

    .lang-name {
        font-size: 1rem;
    }

    .lang-links a {
        padding: 6px 8px;
        font-size: 0.85rem;
    }

    .news-navigation,
    .news-accordion {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .news-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 20px 15px;
    }

    .news-lang-header {
        padding: 18px 20px;
    }
}

@media (max-width: 480px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .header p {
        font-size: 0.9rem;
    }
    
    .language-section {
        padding: 20px;
    }
    
    .language-name {
        font-size: 1rem;
    }
    
    .page-links a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .footer {
        padding: 30px 15px;
    }
    
    .multilang-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
        padding: 0 15px;
    }

    .lang-section {
        padding: 10px;
        min-width: auto;
    }

    .lang-header {
        gap: 6px;
        margin-bottom: 10px;
    }

    .flag {
        width: 18px;
        height: 12px;
    }

    .lang-name {
        font-size: 0.9rem;
    }

    .lang-links {
        gap: 4px;
    }

    .lang-links a {
        padding: 4px 6px;
        font-size: 0.75rem;
    }

    .news-navigation,
    .news-accordion {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .news-links-grid {
        grid-template-columns: 1fr;
        padding: 15px 10px;
        gap: 12px;
    }

    .news-lang-header {
        padding: 15px 10px;
    }

    .news-link-item {
        padding: 12px 15px;
        font-size: 14px;
    }

    .news-lang-header {
        padding: 15px 15px;
    }

    .news-link-item {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* 专家指南模块样式 */

.expert-guides-navigation {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    margin: 20px 0;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.expert-guides-section {
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.expert-guides-header {
        text-align: center;
        margin-bottom: 25px;
        color: white;
    }

.expert-guides-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.expert-guides-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

.expert-guides-content {
        background: transparent;
        border-radius: 0;
        padding: 20px 20px 10px 20px;
        box-shadow: none;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

.expert-guides-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
        width: 100%;
        max-width: none;
    }

.expert-guide-item {
    display: block;
    padding: 12px 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 6px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-left: 3px solid #667eea;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    width: 100%;
    box-sizing: border-box;
}

.expert-guide-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-left-color: white;
}

.expert-guide-item:active {
    transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .expert-guides-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
}

@media (max-width: 1100px) {
    .expert-guides-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (max-width: 992px) {
    .expert-guides-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .expert-guides-navigation {
        padding: 30px 0;
        margin: 15px 0;
    }
    
    .expert-guides-header h2 {
        font-size: 1.8rem;
    }
    
    .expert-guides-header p {
        font-size: 0.95rem;
    }
    
    .expert-guides-content {
        padding: 15px 15px 5px 15px;
    }
    
    .expert-guides-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .expert-guide-item {
        font-size: 0.95rem;
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .expert-guides-header h2 {
        font-size: 1.6rem;
    }
    
    .expert-guides-content {
        padding: 10px 10px 5px 10px;
    }
    
    .expert-guide-item {
        font-size: 0.9rem;
        padding: 8px 10px;
    }
}