.container {
    max-width: 1400px;
    margin: 0 auto;
}


.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
    margin-bottom: 40px;
}

.news-card {

    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: #e9f4e4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #5a7f4c;
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.4rem;
    color: #2c5e1a;
    margin: 0;
}

.news-list {
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #e0e9d7;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list a {
    text-decoration: none;
    color: #444;
    display: block;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.news-list a:hover {
    color: #4a7a3a;
}

.news-list a::before {
    content: "•";
    color: #7dab6d;
    margin-right: 8px;
}

.more-btn {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(to right, #5a7f4c, #7dab6d);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    align-self: flex-start;
    transition: all 0.3s ease;
    margin-top: auto;
}

.more-btn:hover {
    background: linear-gradient(to right, #4a6f3c, #6d9b5d);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(93, 127, 77, 0.3);
}

.featured-div {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.featured-card {
    grid-column: span 2;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/swiper/swiper1.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 300px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.featured-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.featured-content {
    max-width: 700px;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.five-new-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.five-new-card {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.five-new-title {
    font-size: 1.2rem;
    color: #2c5e1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e9d7;
    display: flex;
    align-items: center;
}

.five-new-title i {
    margin-right: 10px;
    background-color: #e9f4e4;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.five-new-list {
    /* list-style:none; */
    flex-grow: 1;
}

.five-new-list li {
    padding: 8px 0;
}

.five-new-list a {
    text-decoration: none;
    color: #555;
    transition: color 0.2s ease;
    display: block;
}

.five-new-list a:hover {
    color: #4a7a3a;
}

.footer-note {
    text-align: center;
    padding: 20px;
    color: #777;
    font-size: 0.9rem;
    border-top: 1px solid #e0e9d7;
    margin-top: 30px;
}

@media (max-width: 1100px) {
    .five-new-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-div {
        grid-template-columns: 1fr;
    }

    .five-new-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .five-new-grid {
        grid-template-columns: 1fr;
    }

    .featured-card {
        padding: 25px;
        height: 250px;
    }

    .featured-title {
        font-size: 1.8rem;
    }
}

.poetry-partition {

    margin: 0 auto;
    writing-mode: vertical-rl;
    background-color: #f9f9f9;
    border-radius: 10px;
    background-image: url(../img/一蓑烟雨任平生.jpg);
    background-position: -10px;
}

.poetry-partition p {
    text-shadow: 0 0 5px white;
    margin-top: 50px;
    font-family: "华文行楷";
    font-size: 30px;
    color: rgba(59, 150, 255, 0.932);
    padding: 20px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); */
    margin-bottom: 20px;

}