﻿.news-top img {
    width: 100%;
}

.news-tit {
    width: 30%;
    margin: 0 auto;
    padding-top: .8rem;
}

.news-tit img {
    width: 100%;
}

.news-moudle {
    width: 7.28rem;
    height: 2.25rem;
    margin: 1rem auto;
}

.news-content {
    width: 85%;
    margin: 0 auto;
}

@keyframes myScale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.news-item {
    width: 100%;
    font-size: 0.14rem;
    height: 4.48rem;
    margin-bottom: 0.7rem;
    background-color: #ffffff;
}

.item-left {
    width: 50%;
    float: left;
    height: 4.48rem;
}

.item-img {
    width: 100%;
    height: 100%;
}

.item-right {
    width: 50%;
    float: right;
    height: 4.48rem;
}

.news-title {
    color: #339845;
    font-size: 0.24rem;
    margin: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-date {
    margin: 0.2rem 0.5rem;
    color: #777B7E;
    font-size: 0.18rem;
}

.news-intro {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    font-size: 0.22rem;
    color: #777B7E;
    line-height: 0.35rem;
    margin: 0 0.5rem 0.4rem 0.5rem;
}

.see-more02 {
    font-size: 0.14rem;
    padding: 0.1rem 0.2rem;
    border-radius: 4px;
    color: #47A157;
    margin-left: 0.5rem;
    border: 1px solid rgba(71,161,87,1);
}

    .see-more02:hover {
        font-size: 0.14rem;
        padding: 0.1rem 0.2rem;
        border-radius: 4px;
        color: #ffffff;
        margin-left: 0.5rem;
        background-color: #47A157
    }


body {
    background-color: #f5f5f5;
}

/* 置顶文章个性化样式 */
.pinned-item {
    position: relative;
    border-left: 5px solid #339845 !important;
    box-shadow: 0 4px 15px rgba(51, 152, 69, 0.1) !important;
}

.pinned-badge {
    position: absolute;
    top: 0.15rem;
    right: 0.15rem;
    background-color: #339845;
    color: #ffffff;
    font-size: 0.14rem;
    font-weight: bold;
    padding: 0.04rem 0.12rem;
    border-radius: 4px;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(51, 152, 69, 0.2);
}

/* 更多学术成果分隔标题 */
.more-science-title {
    text-align: center;
    margin: 1rem 0 0.5rem 0;
    position: relative;
    width: 100%;
    clear: both;
}

.more-science-title h2 {
    font-size: 0.28rem;
    color: #333333;
    display: inline-block;
    background-color: #f5f5f5;
    padding: 0 0.4rem;
    position: relative;
    z-index: 2;
    font-weight: bold;
}

.more-science-title::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: #eaeaea;
    z-index: 1;
}

/* 3列方块网格普通卡片样式 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    margin: 0.4rem auto 1rem auto;
    width: 100%;
    clear: both;
}

.news-grid-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 0.35rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 2.8rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #eaeaea;
    position: relative;
}

.news-grid-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(51, 152, 69, 0.12);
    border-color: #339845;
}

.grid-date {
    font-size: 0.16rem;
    color: #8c939d;
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.grid-title {
    color: #2c3e50;
    font-size: 0.2rem;
    font-weight: bold;
    line-height: 0.28rem;
    margin-bottom: 0.15rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-grid-item:hover .grid-title {
    color: #339845;
}

.grid-intro {
    font-size: 0.16rem;
    color: #7f8c8d;
    line-height: 0.24rem;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    flex-grow: 1;
}

.grid-more-link {
    font-size: 0.14rem;
    color: #339845;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.grid-more-link:hover {
    color: #47A157;
    border-bottom: 1px solid #47A157;
    padding-left: 4px;
}

/* 响应式媒体查询 */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    .more-science-title h2 {
        font-size: 0.24rem;
    }
}
