.new-content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

/* 左侧分类部分 */
.new-types {
    flex: 1;
    max-width: 25%;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.new-types h2 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.new-types ul {
    list-style: none;
    padding: 0;
}

.new-types ul li {
    margin-bottom: 10px;
}

.new-types ul li a {
    text-decoration: none;
    color: #2f363c;
}

.new-types ul li.active a {
    color: #16b777;
    font-weight: bold;
}

.new-types ul li:hover {
    background-color: #f0f0f0;
    border-radius: 4px;
}

/* 右侧内容部分 */
.themes_news-wrapper {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
}

.themes_news {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    width: 95%;
    padding: 10px;
    margin: 10px;

}

.themes_news:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.themes_news .pic_box {

    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;


}

.themes_news .pic_box img {
    max-width: 100%;
    max-height: 200px;

    object-fit: cover;
    transition: transform 0.3s ease;
    padding: 10px;
}

.themes_news:hover .pic_box img {
    transform: scale(1.1);
}

.themes_news .text_box {
    flex: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.themes_news .text_box .name h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.themes_news .text_box .name h3:hover {
    color: #16b777;
}

.themes_news .text_box .time {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.themes_news .text_box .brief {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.themes_news .text_box .button a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #16b777;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.themes_news .text_box .button a:hover {
    background-color: #13a066;
}

@media (max-width: 768px) {
    .new-types {
        display: none;
    }

    .themes_news-wrapper {
        flex: 1;
    }
    .themes_news {
        display: grid!important;
        width: unset;
    }
}