:root {
    --primary-green: #4DD091; /* Bright green for header active state */
    --btn-green: #40A578; /* Slightly darker teal for MORE buttons */
    --header-bg: #536162; /* Dark gray-green for header strip */
    --footer-bg: #151922; /* Dark blue-black for footer */
    --bg-light: #F9F9F9;
    --text-dark: #333;
    --text-light: #fff;
    --text-meta: #888;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    color: var(--text-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Header Styles --- */
.main-header {
    background-color: var(--header-bg);
    color: white;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: fixed;  /* 固定定位 */
    z-index: 100;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-weight: 700;
    line-height: 1;
    font-size: 14px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px;
}
.logo-icon {
    position: absolute;
    top: 5px;
    left: 45px;
    color: var(--primary-green);
    opacity: 0.7;
    font-size: 20px;
    transform: rotate(45deg);
    z-index: -1;
}

.main-nav {
    display: flex;
    height: 60px;
}

.main-nav a {
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 18px;
    font-weight: 600;
    height: 100%;
    transition: background 0.3s;
}

.main-nav a.active, .main-nav a:hover {
    background-color: var(--primary-green);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    background: white;
    border-radius: 20px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
}

.search-box input {
    border: none;
    outline: none;
    font-size: 12px;
    width: 100px;
}

.search-box i {
    color: #999;
    font-size: 12px;
}

.lang-switch {
    display: flex;
    gap: 5px;
    font-size: 12px;
    border: 1px solid #fff;
    padding: 2px;
    border-radius: 3px;
}
.lang-switch span {
    padding: 0 2px;
    cursor: pointer;
}
.lang-switch .active {
    background-color: white;
    color: var(--header-bg);
}

.social-icons {
    display: flex;
    gap: 10px;
}
.social-icons i {
    font-size: 14px;
}

/* --- Hero Section --- */
.hero {
    width: 100%;
    //max-width: 1200px;
    margin: 0 auto;
    height: 400px;
    background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?q=80&w=1400&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.hero-overlay {
    text-align: center;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Specific brush font styling for Chinese text */
.chinese-title {
    font-family: 'Ma Shan Zheng', cursive; 
    font-size: 80px; 
    font-weight: normal;
    margin-bottom: 10px;
    line-height: 1.2;
}

.english-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- Main Content Layout --- */
.content-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* --- Featured Grid --- */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.grid-item {
    display: flex;
    flex-direction: column;
}

.img-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 10px;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.img-container:hover img {
    transform: scale(1.05);
}

/* Internal text inside image (optional based on design) */
.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    pointer-events: none;
}

.grid-item h3 {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

/* --- Article List (Vertical Cards) --- */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    display: flex;
    height: 200px; /* Fixed height for consistency */
}

.card-image {
    width: 35%;
    height: 100%;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    width: 65%;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-light);
    margin-left: 20px;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.meta {
    font-size: 13px;
    color: var(--text-meta);
    margin-bottom: 25px;
    font-weight: 300;
}

.meta .author {
    margin-right: 10px;
}

.btn-more {
    background-color: var(--btn-green);
    color: white;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    width: fit-content;
    transition: background 0.3s;
}

.btn-more:hover {
    background-color: #2e8b60;
}

/* --- Footer --- */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 50px 0;
    margin-top: 50px;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-left;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.1;
    position: relative;
    letter-spacing: 2px;
}
.logo-icon-small {
    position: absolute;
    top: 0;
    left: 55px;
    color: var(--primary-green);
    font-size: 24px;
    opacity: 0.8;
    transform: rotate(45deg);
    z-index: 0;
}

.footer-nav {
    display: flex;
    gap: 120px;
}

.footer-nav a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-line {
    border: none;
    border-top: 1px solid #333;
    margin-bottom: 30px;
    max-width: 1200px;
    margin: 0 auto 30px auto;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-left;
    //align-items: flex-start;
}

.footer-socials {
    display: flex;
    gap: 10px;
}
.footer-socials i {
    font-size: 20px;
    border: 1px solid white;
    padding: 5px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.footer-links {
    display: flex;
    gap: 120px;
    font-size: 14px;
    font-weight: 600;
}

.copyright1 {
    font-size: 12px;
    //color: #888;
    text-align: left;
    line-height: 1.5;
    margin-top: 10px;
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .hero {
        height: 300px;
    }
    .chinese-title {
        font-size: 50px;
    }
    .card {
        flex-direction: column;
        height: auto;
    }
    .card-image, .card-content {
        width: 100%;
    }
    .card-image {
        height: 200px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }
    .copyright1 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
        height: auto;
        padding: 10px;
    }
    .main-nav {
        height: auto;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-header {
        height: auto;
    }
    .featured-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }
    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}