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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: #f5f6f8;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

/* ==================== Header ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

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

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 42px;
    width: auto;
}

.brand-name {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.header-nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-size: 15px;
    padding: 8px 18px;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.nav-link:hover {
    color: #2b8c5e;
    background: #f0faf4;
}

.nav-link.active {
    color: #2b8c5e;
    background: #e8f5ee;
    font-weight: 500;
}

/* ==================== Banner ==================== */
.banner {
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 40px;
    position: relative;
}

.banner-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 420px;
    overflow: hidden;
}

.banner-card {
    flex: 0 0 180px;
    height: 270px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transform: scale(0.88);
    filter: brightness(0.7);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.banner-card.active {
    flex: 0 0 auto;
    width: auto;
    height: 400px;
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    cursor: default;
    z-index: 2;
}

.banner-card.active img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==================== Indicators ==================== */
.banner-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #2b8c5e;
    width: 28px;
    border-radius: 5px;
}

/* ==================== Banner caption ==================== */
.banner-caption {
    text-align: center;
    font-size: 18px;
    color: #444;
    margin-top: 24px;
    min-height: 28px;
    transition: opacity 0.5s ease;
    white-space: pre-line;
}

/* ==================== Footer ==================== */
.footer {
    text-align: center;
    padding: 40px 20px 24px;
}

.footer a {
    font-size: 13px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: #666;
}

/* ==================== Intro ==================== */
.intro {
    padding: 60px 0;
}

.section-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: #2b8c5e;
    border-radius: 2px;
    margin: 14px auto 0;
}

.intro-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px 48px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.intro-content p {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    text-indent: 2em;
    margin-bottom: 16px;
}

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

/* ==================== News list ==================== */
.page-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 40px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.sidebar {
    flex: 0 0 160px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.sidebar-link {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    color: #555;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.sidebar-link:hover {
    color: #2b8c5e;
    background: #f8faf9;
}

.sidebar-link.active {
    color: #2b8c5e;
    border-left-color: #2b8c5e;
    background: #e8f5ee;
    font-weight: 500;
}

.news-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    padding: 28px 32px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.news-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.news-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.news-summary {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

/* ==================== Article ==================== */
.article {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 40px;
}

.article-title {
    font-size: 26px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 12px;
}

.article-meta {
    text-align: center;
    font-size: 14px;
    color: #aaa;
    margin-bottom: 36px;
}

.article-body {
    background: #fff;
    border-radius: 12px;
    padding: 40px 48px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.article-body p {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    text-indent: 2em;
    margin-bottom: 16px;
}

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

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
        height: 56px;
    }

    .brand-name {
        font-size: 16px;
    }

    .logo {
        height: 30px;
    }

    .nav-link {
        font-size: 13px;
        padding: 6px 10px;
    }

    .banner {
        margin: 20px auto;
        padding: 0 12px;
    }

    .banner-track {
        min-height: 260px;
        gap: 8px;
    }

    .banner-card {
        flex: 0 0 70px;
        height: 160px;
    }

    .banner-card.active {
        flex: 0 0 auto;
        width: auto;
        height: 240px;
    }

    .banner-caption {
        font-size: 14px;
        margin-top: 16px;
    }

    .intro {
        padding: 40px 0;
    }

    .section-container {
        padding: 0 20px;
    }

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

    .intro-content {
        padding: 24px 20px;
    }

    .intro-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .page-container {
        flex-direction: column;
        padding: 0 20px;
        margin: 24px auto;
        gap: 16px;
    }

    .sidebar {
        flex: 0 0 auto;
        display: flex;
        width: 100%;
    }

    .sidebar-link {
        flex: 1;
        text-align: center;
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 12px 8px;
        font-size: 14px;
    }

    .sidebar-link.active {
        border-left-color: transparent;
        border-bottom-color: #2b8c5e;
    }

    .news-card {
        padding: 20px;
    }

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

    .article {
        padding: 0 20px;
        margin: 24px auto;
    }

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

    .article-body {
        padding: 24px 20px;
    }

    .article-body p {
        font-size: 15px;
        line-height: 1.8;
    }
}
