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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

header {
    background: linear-gradient(135deg, #2d5a3d 0%, #4a9c6a 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #a8e6cf;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px;
    transition: all 0.3s;
}

.hero {
    background: linear-gradient(rgba(45, 90, 61, 0.85), rgba(74, 156, 106, 0.85)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23ffffff" opacity="0.1" width="100" height="100"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: #2d5a3d;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    margin: 0 10px;
}

.btn:hover {
    background: #a8e6cf;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: #2d5a3d;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #2d5a3d;
}

.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #f0fff4;
}

.category-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #4a9c6a, #2d5a3d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.category-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-card .article-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e6f7e6, #f0fff4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #4a9c6a;
}
.article-card .article-image img{height:200px;}
.article-content {
    padding: 20px;
}

.article-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.article-meta span {
    margin-right: 15px;
}

.article-card h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.2rem;
}

.article-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.read-more {
    color: #4a9c6a;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    text-decoration: underline;
}

.tips-section {
    background: linear-gradient(135deg, #f0fff4 0%, #e6f7e6 100%);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.tip-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tip-item .icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, #4a9c6a, #2d5a3d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.tip-item p {
    font-size: 0.9rem;
    color: #555;
}

footer {
    background: #2d5a3d;
    color: white;
    padding: 50px 0;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

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

.footer-section ul li a {
    color: #a8e6cf;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb {
    background: #f0f0f0;
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: #4a9c6a;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: #4a9c6a;
}

.search-bar button {
    padding: 12px 30px;
    background: #4a9c6a;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: #2d5a3d;
}

.filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #4a9c6a;
    border-color: #4a9c6a;
    color: white;
}

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

.pagination a {
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: #4a9c6a;
    color: white;
    border-color: #4a9c6a;
}

.single-article {
    max-width: 800px;
    margin: 0 auto;
}

.single-article .article-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e6f7e6, #f0fff4);
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: #4a9c6a;
}

.single-article h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2d5a3d;
}

.single-article .article-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.single-article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.single-article-content p {
    margin-bottom: 25px;
}

.single-article-content h2 {
    margin: 30px 0 15px;
    color: #2d5a3d;
}

.single-article-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.single-article-content li {
    margin-bottom: 10px;
}

.related-articles {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-articles h3 {
    margin-bottom: 25px;
    color: #2d5a3d;
}

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

.article-list-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.article-list-item:hover {
    background: #f0fff4;
    transform: translateX(5px);
}

.article-list-item .number {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #4a9c6a, #2d5a3d);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.article-list-item a {
    flex: 1;
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

.article-list-item a:hover {
    color: #4a9c6a;
}

.contact-form-section {
    background: linear-gradient(135deg, #f0fff4 0%, #e6f7e6 100%);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4a9c6a;
}

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

.contact-form button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4a9c6a, #2d5a3d);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 156, 106, 0.4);
}

.links-section {
    background: white;
}

.links-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.links-content a {
    padding: 10px 25px;
    background: #f0f0f0;
    border-radius: 25px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s;
}

.links-content a:hover {
    background: #4a9c6a;
    color: white;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.sidebar {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar h3 {
    margin-bottom: 20px;
    color: #2d5a3d;
    padding-bottom: 15px;
    border-bottom: 2px solid #e6f7e6;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 12px;
}

.sidebar ul li a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s;
}

.sidebar ul li a:hover {
    color: #4a9c6a;
    padding-left: 10px;
}

.prev-next-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

.prev-next-nav a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.prev-next-nav a:hover {
    color: #4a9c6a;
}

.prev-next-nav .prev {
    flex-direction: row-reverse;
}

.prev-next-nav span {
    font-size: 0.9rem;
    color: #888;
    margin: 0 10px;
}

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

.related-articles-list a {
    padding: 12px 15px;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.related-articles-list a:hover {
    background: #f0fff4;
    color: #4a9c6a;
}

@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background: #2d5a3d;
        width: 50%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 30px;
        transform: translateX(100%);
        transition: transform 0.3s;
        z-index: 100;
    }

    .nav-links li {
        margin: 20px 0;
        margin-left: 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0);
    }

    .hero h1 {
        font-size: 2rem;
    }

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

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

    .single-article h1 {
        font-size: 1.8rem;
    }

    .single-article .article-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .section {
        padding: 40px 0;
    }

    .search-bar {
        flex-direction: column;
    }

    .filters {
        justify-content: center;
    }
}
