@charset "UTF-8";

.head-page .news_item>a span{
    color: #0099c6;
}
.head-page .news_item>a:after {
    transform: scale(1);
    opacity: 1;
}

:root {
    --primary-color: #0099c6;
    --text-gray: #666;
    --border-color: #eee;
    --bg-gray: #F8F9FA;
}


/* 新闻资讯 */
.news-wrapper {
    background-color: #ffffff;
    padding: 80px 0;
}
.imgtexts_list .list{
    width: 31.25%;
    margin-right: 3.125%;
    background: #f1f4fa;
    margin-bottom: 40px;
    border-radius: 10px;
}
.imgtexts_list .list:nth-child(3n){
    margin-right: 0;
}
.imgtexts_list .list .nbox-img{
    background: #f1f1f1;
    border-radius: 10px 10px 0 0;
}
.imgtexts_list .list .img{
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    height: 240px;
}
.imgtexts_list .list .img img{
    transition: all .4s;
    display: block;
    max-height: 100%;
}
.imgtexts_list .list .texts{
    padding: 25px 24px;
    box-sizing: border-box;
}
.imgtexts_list .list .time {
    font-size: 14px;
    color: #999999;
}
.imgtexts_list .list .tit {
    margin: 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all .4s;
    display: block;
    font-size: 18px;
    color: #000000;
}
.imgtexts_list .list .con {
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 55px;
    word-wrap: break-word;
    font-size: 16px;
    color: #666666;
}
.imgtexts_list .list .watch_detail {
    height: 32px;
    display: inline-block;
    transition: all .4s;
    line-height: 32px;
}



/* 新闻详情页 */
.news-detail-wrapper {
    padding: 60px 0 100px;
}
.news-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
    align-items: start;
}
.article-container {
    width: 100%;
}
.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.article-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
    position: relative;
}
.article-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background-color: var(--primary-color);
    margin-top: 15px;
}
.article-meta {
    font-size: 14px;
    color: #999;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.meta-item {
    margin-right: 25px;
    display: flex;
    align-items: center;
}
.meta-item:last-child { 
    margin-right: 0; 
}
.article-content {
    font-size: 16px;
    color: #444;
    line-height: 1.875;
    margin-bottom: 50px;
    text-align: justify;
}
.article-content p {
    margin-bottom: 10px;
}
.article-content p:last-child {
    margin-bottom: 0;
}
.article-content img {
    max-width: 100%;
    border-radius: 5px;
    margin: 10px 0;
}
.article-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.prev-next-links {
    flex: 1;
    padding-right: 20px;
}
.pn-item {
    display: block;
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    transition: color 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pn-item:hover {
    color: var(--primary-color);
}
.pn-item span {
    color: #999;
    margin-right: 10px;
}
a.pn-item:last-child {
    margin-bottom: 0;
}
.back-btn {
    width: 180px;
    height: 58px;
    font-size: 16px;
    border: 1px solid #DCDCDC;
    border-radius: 5px;
    margin-left: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.3s;
}
.back-btn:hover {
    color: #fff;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
}
.back-btn::before {
    content: "";
    display: block;
    width: 22px;
    height: 20px;
    background: url(../img/icon_back.png) no-repeat center/cover;
    margin-right: 15px;
    transition: all .4s;
}
.back-btn:hover::before {
    background: url(../img/icon_back_white.png) no-repeat center/cover;
}
.sidebar-container {
    background-color: var(--bg-gray);
    padding: 30px 20px;
    border-radius: 8px;
    position: sticky;
    top: 20px;
}
.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}
.hot-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hot-news-item {
    display: flex;
    align-items: flex-start;
    group: hover;
    cursor: pointer;
}
.hot-img {
    width: 150px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 15px;
}
.hot-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hot-news-item:hover .hot-img img {
    transform: scale(1.1);
}
.hot-img .bg_adviceimg {
    font-size: 20px;
}
.hot-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80px;
}
.hot-date {
    font-size: 14px;
    color: #999;
}
.hot-title {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}
.hot-news-item:hover .hot-title {
    color: var(--primary-color);
}


/* 移动端适配 */
@media only screen and (min-width: 960px) {
    .imgtexts_list .list:hover .img img{
        transform: scale(1.08);
    }
    .imgtexts_list .list:hover .tit{
        color: #0099c6;
    }
    .imgtexts_list .list:hover .watch_detail {
        background: #0099c6;
        color: #fff;
        padding: 0 10px;
        box-sizing: border-box;
        border-radius: 2px;
    }
}
@media only screen and (max-width: 1600px) {
    .imgtexts_list .list .img{
        height: 195px;
    }
}
@media only screen and (max-width: 1480px) {
    .imgtexts_list .list .img{
        height: 181px;
    }
}
@media only screen and (max-width: 1440px) {
    .imgtexts_list .list .img {
        height: 176px;
    }
}
@media only screen and (max-width: 1400px) {
    .imgtexts_list .list .img {
        height: 171px;
    }
}
@media only screen and (max-width: 1366px) {
    .imgtexts_list .list .img {
        height: 167px;
    }
    .news-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .sidebar-container {
        position: static;
        padding: 20px;
    }
    .hot-img {
        width: 120px;
        height: 64px;
    }
    .hot-info {
        height: 64px;
    }
}
@media only screen and (max-width: 1280px) {
    .imgtexts_list .list .img {
        height: 156px;
    }
}
@media only screen and (max-width: 1240px) {
    .imgtexts_list .list .img {
        height: 151px;
    }
}
@media only screen and (max-width: 1200px) {
    .imgtexts_list .list .img {
        height: 146px;
    }
    .imgtexts_list .list{
        margin-bottom: 30px;
    }
}
@media only screen and (max-width: 1080px) {
    .imgtexts_list .list .img {
        height: 132px;
    }
}
@media only screen and (max-width: 1043px) {
    .imgtexts_list .list .texts{
        padding: 20px 15px;
    }
    .imgtexts_list .list {
        margin-bottom: 20px;
    }
    .table_nav .item{
        margin-right: 15px;
    }
    .imgtexts_list .list .img {
        height: 127px;
    }
}
@media only screen and (max-width: 1024px) {
    .imgtexts_list .list .img {
        height: 125px;
    }
}
@media only screen and (max-width: 960px) {
    .imgtexts_list .list .img {
        height: 117px;
    }
    .news-detail-wrapper {
        padding: 40px 0;
    }
    .article-title {
        font-size: 22px;
    }
    .meta-item {
        margin-right: 0;
    }
    .meta-item:first-child, .meta-item:last-child { 
        display: none;
    }
    .article-content {
        margin-bottom: 30px;
    }
    .article-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .prev-next-links {
        display: none;
    }
    .back-btn {
        margin-left: unset;
        width: 150px;
        height: 48px;
    }
}
@media only screen and (max-width: 768px) {
    .news-wrapper {
        padding: 40px 0;
    }
    .imgtexts_list .list .img {
        height: 144px;
    }
    .video_contents .video-js .vjs-big-play-button{
        font-size: 24px;
        width: 45px;
        height: 45px;
    }
    .imgtexts_list .list{
        width: 48%;
        margin-right: 4%;
    }
    .imgtexts_list .list:nth-child(3n) {
        margin-right: 4%;
    }
    .imgtexts_list .list:nth-child(2n) {
        margin-right: 0;
    }
    .imgtexts_list .list .con{
        height: 48px;
        margin-bottom: 10px;
    }
    .imgtexts_list .list .tit {
        margin: 5px 0;
    }
}
@media only screen and (max-width: 640px) {
    .imgtexts_list .list{
        width: 100%;
        margin-right: 0;
    }
    .imgtexts_list .list:nth-child(3n) {
        margin-right: 0;
    }
}