:root {
    --primary: #009A7E;
    /* PANTONE 325C */
    --primary-light: #4dc6ac;
    --primary-dark: #006e58;
    --secondary: #29b6f6;
    --accent: #ff9800;
    --light: #f8f9fa;
    --dark: #343a40;
    --success: #28a745;
    --text: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    color: var(--text);
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 新闻区域样式 */
.news-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    min-height: 600px;
}

.news-container {
    display: flex;
    gap: 30px;
}

.news-main {
    flex: 3;
}

.news-sidebar {
    flex: 1;
}

.news-header {
    margin-bottom: 30px;
    text-align: center;
}

.news-header h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.news-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.news-header p {
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 1.2rem;
}

.news-list {
    display: grid;
    gap: 25px;
}

.news-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    height: 250px;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.news-image {
    width: 250px;
    height: 250px;
    object-fit: fill;
}

.news-content {
    padding: 20px;
    flex: 1;
}

.news-date {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.news-title:hover {
    color: var(--primary-dark);
}

.news-excerpt {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
    height: 100px;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #777;
    float: right;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 侧边栏热门文章区域样式 */
.news-sidebar {
    flex: 1;
    min-width: 280px;
}

.sidebar-widget {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.hot-news-list {
    list-style: none;
}

.hot-news-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.hot-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hot-news-item:hover {
    transform: translateX(5px);
}

.hot-news-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.hot-news-rank.top1 {
    background: #ff6b6b;
    color: white;
}

.hot-news-rank.top2 {
    background: #ffa726;
    color: white;
}

.hot-news-rank.top3 {
    background: #4ecdc4;
    color: white;
}

.hot-news-content {
    flex: 1;
}

.hot-news-title {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 5px;
}

.hot-news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.hot-news-title a:hover {
    color: var(--primary);
}

.hot-news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #777;
}

.hot-news-views {
    display: flex;
    align-items: center;
}

.hot-news-views i {
    margin-right: 3px;
    font-size: 0.7rem;
}

/* 分类筛选样式 */
/* .category-list {
    list-style: none;
}

.category-item {
    margin-bottom: 10px;
}

.category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s;
}

.category-item a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.category-count {
    background: var(--primary-light);
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.7rem;
}

.category-item.active a {
    color: var(--primary);
    font-weight: 600;
} */

/* 咨询区域样式 */
.consultation {
    padding: 80px 0;
    background: #e8f5e9;
    color: white;
    text-align: center;
}

.consultation h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.consultation p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: black;
}

.consultation .cta-button {
    background: var(--primary);
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    padding: 15px 40px;
}

.consultation .cta-button:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .news-container {
        flex-direction: column;
    }

    .news-item {
        flex-direction: column;
        height: auto;
    }

    .news-image {
        width: 100%;
        height: auto;
    }

    .news-container {
        flex-direction: column;
    }

    .news-sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .logo-container {
        width: 100%;
        justify-content: center;
    }

    .news-detail-image {
        height: 250px;
    }

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

    .news-detail-footer {
        flex-direction: column;
        gap: 20px;
    }

    .news-sidebar {
        grid-template-columns: 1fr;
    }

    .consultation h2 {
        font-size: 1.8rem;
    }

    .consultation p {
        font-size: 1rem;
    }
}