@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700;900&family=ZCOOL+XiaoWei&display=swap');

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

:root {
    --primary: #d32f2f;
    --primary-dark: #b71c1c;
    --secondary: #ffc107;
    --bg: #fffde7;
    --bg-warm: #fff8e1;
    --text: #263238;
    --text-light: #546e7a;
    --white: #ffffff;
    --border: #e0d5c0;
    --shadow: 0 2px 12px rgba(139, 69, 19, 0.15);
    --shadow-hover: 0 4px 20px rgba(139, 69, 19, 0.25);
}

body {
    font-family: 'Noto Serif SC', serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.8;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar {
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    padding: 6px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--white);
    margin-left: 15px;
    opacity: 0.9;
}

.top-bar a:hover {
    opacity: 1;
    text-decoration: underline;
}

header {
    background: var(--white);
    border-bottom: 3px solid var(--primary);
    box-shadow: var(--shadow);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

.logo-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 28px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.logo-text {
    font-family: 'ZCOOL XiaoWei', serif;
}

.logo-text h1 {
    font-size: 26px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 4px;
    margin-top: 2px;
}

.header-search {
    display: flex;
    align-items: center;
    background: var(--bg-warm);
    border: 2px solid var(--primary);
    border-radius: 24px;
    overflow: hidden;
}

.header-search input {
    border: none;
    background: transparent;
    padding: 8px 16px;
    font-size: 14px;
    font-family: 'Noto Serif SC', serif;
    outline: none;
    width: 220px;
}

.header-search button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    font-family: 'Noto Serif SC', serif;
    font-size: 14px;
    transition: background 0.3s;
}

.header-search button:hover {
    background: var(--primary-dark);
}

nav {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 4px;
    margin-top: 0;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-list li a {
    display: block;
    padding: 14px 28px;
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-list li a:hover,
.nav-list li a.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--secondary);
}

.nav-list li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--secondary);
}

.banner {
    background: linear-gradient(135deg, var(--primary) 0%, #8b0000 100%);
    color: var(--white);
    padding: 50px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20,20 L80,20 L80,80 L20,80 Z' fill='none' stroke='%23ffc107' stroke-width='1' opacity='0.15'/%3E%3Cpath d='M30,30 L70,30 L70,70 L30,70 Z' fill='none' stroke='%23ffc107' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.banner h2 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner p {
    font-size: 17px;
    opacity: 0.95;
    letter-spacing: 3px;
    line-height: 1.9;
}

.banner-corners {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-top: 3px solid var(--secondary);
    border-left: 3px solid var(--secondary);
}

.banner-corners.bottom {
    top: auto;
    left: auto;
    right: 0;
    bottom: 0;
    border-top: none;
    border-left: none;
    border-bottom: 3px solid var(--secondary);
    border-right: 3px solid var(--secondary);
}

.section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.section-header h3 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    padding-left: 16px;
}

.section-header h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}

.section-header .more {
    font-size: 14px;
    color: var(--text-light);
}

.section-header .more:hover {
    color: var(--primary);
}

.grid-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.headline-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.headline-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--border);
    transition: background 0.3s;
}

.headline-item:hover {
    background: var(--bg-warm);
    border-radius: 8px;
    padding: 16px;
    margin: 0 -16px;
}

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

.headline-item img {
    width: 160px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.headline-info h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.5;
    color: var(--text);
}

.headline-item:hover .headline-info h4 {
    color: var(--primary);
}

.headline-info p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.headline-info .meta {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-light);
}

.tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 6px;
}

.tag.gold {
    background: var(--secondary);
    color: var(--text);
}

.tag.dark {
    background: var(--text);
    color: var(--white);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-box {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.sidebar-box h3 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    letter-spacing: 2px;
}

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

.hot-list li {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    line-height: 1.5;
}

.hot-list li:last-child {
    border-bottom: none;
}

.hot-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: var(--white);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.hot-list li:nth-child(1) .hot-rank {
    background: var(--primary);
}

.hot-list li:nth-child(2) .hot-rank {
    background: #e65100;
}

.hot-list li:nth-child(3) .hot-rank {
    background: #f57c00;
}

.hot-list li:nth-child(4) .hot-rank,
.hot-list li:nth-child(5) .hot-rank,
.hot-list li:nth-child(6) .hot-rank {
    background: var(--text-light);
}

.hot-list a {
    color: var(--text);
    line-height: 1.5;
}

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

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-body {
    padding: 16px;
}

.card-body h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card:hover .card-body h4 {
    color: var(--primary);
}

.card-body p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body .meta {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-light);
}

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

.news-item {
    display: flex;
    gap: 16px;
    background: var(--white);
    padding: 16px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.news-item img {
    width: 140px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.news-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.5;
    color: var(--text);
}

.news-item:hover .news-info h4 {
    color: var(--primary);
}

.news-info p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-info .meta {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-light);
}

.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    background: var(--white);
    padding: 16px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.filter-label {
    font-weight: 600;
    color: var(--primary);
    padding-right: 10px;
    border-right: 2px solid var(--border);
    margin-right: 6px;
    display: flex;
    align-items: center;
}

.filter-bar a {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text);
    transition: all 0.3s;
}

.filter-bar a:hover,
.filter-bar a.active {
    background: var(--primary);
    color: var(--white);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination .active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.content-page {
    max-width: 900px;
    margin: 0 auto;
}

.content-block {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.content-block h2 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-align: center;
}

.content-block h3 {
    font-size: 20px;
    color: var(--text);
    margin: 24px 0 12px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
}

.content-block p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 16px;
    color: var(--text);
}

.content-block .lead {
    font-size: 18px;
    color: var(--primary);
    font-weight: 500;
    border-left: 4px solid var(--secondary);
    padding: 16px 20px;
    background: var(--bg-warm);
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.value-card {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-warm);
    border-radius: 10px;
    border-top: 4px solid var(--primary);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-4px);
}

.value-card .icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.value-card h4 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 30px 0;
}

.team-member {
    text-align: center;
    padding: 24px;
    background: var(--bg-warm);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 32px;
    margin: 0 auto 16px;
}

.team-member h4 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 4px;
}

.team-member .role {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 12px;
}

.team-member p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 30px 0;
}

.contact-card {
    background: var(--bg-warm);
    padding: 28px 24px;
    border-radius: 12px;
    text-align: center;
    border-bottom: 4px solid var(--primary);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-4px);
}

.contact-card .icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.contact-card h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.8;
}

.contact-card .highlight {
    color: var(--primary);
    font-weight: 600;
    font-size: 20px;
    display: block;
    margin: 8px 0;
}

.feedback-form {
    background: var(--bg-warm);
    padding: 30px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Noto Serif SC', serif;
    background: var(--white);
    color: var(--text);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Noto Serif SC', serif;
    cursor: pointer;
    letter-spacing: 2px;
    transition: background 0.3s, transform 0.3s;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

footer {
    background: var(--text);
    color: var(--white);
    margin-top: 50px;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 50px 20px 30px;
}

.footer-col h4 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 20px;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.9;
    color: #b0bec5;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: #b0bec5;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #37474f;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #78909c;
}

.footer-bottom a {
    color: var(--secondary);
}

.breadcrumb {
    background: var(--bg-warm);
    padding: 12px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .current {
    color: var(--primary);
    font-weight: 500;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

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

.news-card {
    display: flex;
    gap: 16px;
    background: var(--white);
    padding: 18px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-2px);
}

.news-card img {
    width: 130px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.news-card-info h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 6px;
}

.news-card:hover .news-card-info h4 {
    color: var(--primary);
}

.news-card-info p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 6px;
}

.news-card-info .meta {
    font-size: 12px;
    color: var(--text-light);
}

.chinese-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    color: var(--primary);
    font-size: 18px;
    letter-spacing: 8px;
}

.chinese-divider::before,
.chinese-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    margin: 0 20px;
}

@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-main {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .logo {
        justify-content: center;
    }

    .header-search {
        width: 100%;
        max-width: 320px;
    }

    .header-search input {
        width: 100%;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-list li a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .banner h2 {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .banner p {
        font-size: 14px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

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

    .news-item,
    .news-card {
        flex-direction: column;
    }

    .news-item img,
    .news-card img {
        width: 100%;
        height: 180px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .top-bar a {
        margin: 0 8px;
    }

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

    .content-block h2 {
        font-size: 22px;
    }
}