/* collegeNews.css - 学院新闻页面样式 */


.showno{
    display: none;
}
.show {
    display: block;
}
/* PC端banner样式 */
.banner-container {
    height: 780px;
    width: 1920px;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 1920px;
    height: 915px;
}

/* 移动端banner样式 */
.banner-container-mobile {
    /* margin-bottom: 1.5rem; */
    position: relative;
    overflow: hidden;
}

.banner-image-mobile {
    width: 375px;
    height: 302px;
    object-fit: cover;
}

/* 移动端banner蒙层 */
.banner-container-mobile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(56, 56, 56, 0.5);
    z-index: 1;
}

/* 移动端banner文字 */
 .banner-container-mobile .lanmu{
position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 36px;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    white-space: nowrap;

}

.page-title {
    /** 文本1 */
    /** 文本1 */
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 50.68px;
    color: rgba(193, 52, 50, 1);
}

.navigation {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 17.38px;
    color: rgba(0, 0, 0, 1);
    text-align: left;
    vertical-align: top;
}

.news {
    display: flex;
    width: 1588px;
    height: 759px;
    margin: 0 auto;
    /* background: pink; */
}



.newbg{
background-color: #00000054;
padding: 10px 0 ; 
}
.news .first-news {
    width: 984px;
    height: 751px;
    position: relative;
}

.news .news-content {
    width: 984px;
    height: 154px;
    position: absolute;
    bottom: 0;
    left: 0;
    /* background: red; */
  padding: 0;

}
.news .news-content .title-text{
  padding: 0px 10px;

  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  padding: 0px 20px;
}

.news .news-content .biaoti {
    /** 文本1 */
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0px;
    line-height: 25.87px;
    color: rgba(255, 255, 255, 1);
    background: rgba(177, 64, 57, 1);
    width: 118px;
    height: 32px;
    clip-path: polygon(0.30864197530864196% 25.252525252525253%, 13.580246913580247% 0.25252525252525254%, 100% 0%, 99.69135802469135% 76.01010101010101%, 84.87654320987654% 99.4949494949495%, 0% 100%);
    text-align: center;
margin-left: 10px;
}

.news .first-news .img {
    width: 100%;
    height: 100%;
    /* background-color: #c9c4c4; */
}

.news .first-news .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.news .news-content .title {
    /** 文本1 */
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 36px;
    color: rgba(255, 255, 255, 1);

  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  padding: 0px 20px;
}


.title-text {
    /** 文本1 */
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 36px;
    color: rgba(229, 229, 229, 1);
 display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}


.news .news-list {
    width: 604px;
    height: 759px;
    /* background: blue; */
}


.news .news-list .news-item {
    width: 100%;
    height: 183px;
    border-bottom: 1px solid rgba(229, 229, 229, 1);
    display: flex;

}


.news .news-list .news-item .left {
    width: 340px;
    padding: 20px;
}

.news .news-list .news-item .left .date {
    /** 文本1 */
    /** 文本1 */
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 36px;
    color: rgba(0, 0, 0, 1);
}

.news .news-list .news-item .title {
    /** 文本1 */
    /** 文本1 */
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0px;
    line-height: 36px;
    color: rgba(0, 0, 0, 1);
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news .news-list .news-item .img {
    width: 297px;
    height: 183px;

}

.news .news-list .news-item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.news .news-list .first-item {
    position: relative;
    width: 635px;
    height: 203px;
    background: linear-gradient(90deg, rgba(178, 64, 57, 1) 0%, rgba(148, 51, 45, 1) 100%);
    margin-left: -20px;
    z-index: 2;
}




.news .news-list .first-item .img {
    margin-top: 10px;
    margin-left: -10px;
}

.news .news-list .first-item .title,
.news .news-list .first-item .left .date {
    color: rgba(255, 255, 255, 1);
}

/* 学院动态 - PC端网格 */
.college-dynamic {
    width: 1588px;
    margin: 24px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.college-dynamic .cd-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.college-dynamic .cd-thumb {
    width: 100%;
    height: 160px;
    background: #e5e5e5;
    /* 空白占位 */
}

.college-dynamic .cd-title {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    color: #333;
    height: 48px;
    overflow: hidden;

}

.college-dynamic .cd-meta {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #999;
    font-size: 12px;

}

.college-dynamic .cd-more {
    width: 100px;
    text-align: center;
    line-height: 32px;
    height: 32px;
    color: #fff;
    text-decoration: none;
    clip-path: polygon(0% 36.25%, 19.632% 0%, 100% 0%, 99.693% 54%, 81.595% 100%, 0% 100%);
    background: linear-gradient(90deg, rgba(147, 50, 44, 1) 0%, rgba(178, 64, 57, 1) 100%);

}

.college-dynamic .cd-date {
    display: flex;
    align-items: center;
}

.college-dynamic .cd-date .timeIcon {
    width: 20px;
    height: 20px;
    background-color: #c9c4c4;
}

/* PC端先隐藏网格，使用参考图的列表样式 */
.college-dynamic {
    display: none;
}

/* 学院动态 - PC端列表样式 */
.college-dynamic-list {
    width: 1588px;
    margin: 8px auto 0;
    border-left: none;
    position: relative;
}

.college-dynamic-list .cdl-row {
    display: grid;
    grid-template-columns: 120px 1fr 100px;
    align-items: center;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.college-dynamic-list .cdl-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #b14039;
}

.college-dynamic-list .cdl-date .day {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.college-dynamic-list .cdl-date .year {
    font-size: 12px;
    color: #999;
}

.college-dynamic-list .cdl-title {
    font-size: 14px;
    color: #333;
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.college-dynamic-list .cdl-more {
    color: #b14039;
    text-decoration: none;
}

/* 纵向虚线上的小圆点，仅用于装饰 */
.college-dynamic-list .cdl-row {
    position: relative;
}

.college-dynamic-list .cdl-row::before {
    display: none;
}

/* 移动端隐藏PC网格，保证“目前只改移动端”不受影响 */
@media (max-width: 992px) {

    .page-title {
        /** 文本1 */
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0px;
        line-height: 26.06px;
        color: rgba(177, 64, 57, 1);
        padding: 0 !important;
        max-width: 300px !important;
    }

    .biaoti {
        width: 63px;
        height: 17px;
        opacity: 1;
        background: rgba(255, 255, 255, 1);
        /** 文本1 */
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0px;
        line-height: 20.12px;
        color: rgba(255, 255, 255, 1);
        text-align: left;
        vertical-align: top;
        margin-bottom: 20px;
    }

    

    .news .news-content .title {
        width: 100%;
        height: 14px;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0px;
        line-height: 16px;
        color: rgba(255, 255, 255, 1);
        text-align: left;
        height: 40px;
        /* margin-bottom: 5px; */
        background-color: #00000063;

        padding: 10px;height: 60px;width: 100%;background-color: rgba(0, 0, 0, 0.5);margin-bottom: 0;

    }

    .news .news-content .title-text {
        width: 330px;
        height: 11px;
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 0px;
        line-height: 16px;
        color: rgba(229, 229, 229, 1);
        text-align: left;
        vertical-align: top;
        height: 30px;
    }

    .news .news-content {
        /* justify-self: start; */
        justify-content: flex-end;
        padding: 10px;
        width: 343px;
        padding: 0;
    }

    .first-news {
        margin: 0 auto;
    }

    .news {
        height: 268px;
    }

    .news-dynamics-grid {
        padding: 15px;
    }

    .nav-item {
        width: auto;
        background: transparent;
        flex: 0 0 auto;
    }

    .nav-item.active {
        background: transparent;

    }

    .college-dynamic {
        display: none;
    }

    .college-dynamic-list {
        display: none;
    }
}

/* 新闻动态展示区域样式 */
.news-dynamics-title {
    font-size: 32px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 40px;
    text-align: left;
}

.news-dynamics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.news-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
} */

.news-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 14px;
    text-align: center;
    /* padding: 20px; */
    line-height: 1.4;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-info {
    padding: 20px;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 15px 0;
    line-height: 1.4;
    height: 52px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    /*文字 */
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 25.87px;
    color: rgba(0, 0, 0, 1);
    text-align: left;
    vertical-align: top;
}

.news-date {
    font-size: 14px;
    color: #999999;
    margin-bottom: 0;
}

.news-info .news-bottom-row .new-item-date {
    width: 180px;
    height: 20px;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    /* 文字 */
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0px;
    line-height: 25.87px;
    color: rgba(128, 128, 128, 1);
    text-align: left;
    vertical-align: top;
}

.timeIcon {
    width: 20px;
    height: 20px;
    /* background-color: #c9c4c4; */
}

.more-btn {
    background: #d32f2f;
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    /* border-radius: 20px; */
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    clip-path: polygon(0.30864197530864196% 25.252525252525253%, 13.580246913580247% 0.25252525252525254%, 100% 0%, 99.69135802469135% 76.01010101010101%, 84.87654320987654% 99.4949494949495%, 0% 100%);

}

/* 时间和按钮在同一行 */
.news-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.more-btn:hover {
    background: #b71c1c;
}

/* 新闻动态响应式设计 */
@media (max-width: 1200px) {
    .news-dynamics-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }


}

@media (max-width: 991px) {
    .news-dynamics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 800px) {
    .news-dynamics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 0 auto;
    }

    .news-info {
        padding: 15px;
    }

    .news-title {
        font-size: 14px;
        height: 40px;
    }
}

/* 底部导航卡片样式 */
.bottom-navigation-section {
    padding: 60px 0;
    background: #f5f5f5;
    margin-top: 60px;
}

.navigation-cards-container {
    width: 1588px;
    height: 136px;
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-card {
    width: 222px;
    height: 136px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    cursor: pointer;
    padding-top: 30px;
}

.nav-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 42px;
    height: 45px;
    margin-bottom: 24px;
}

.icon-placeholder {
    width: 50px;
    height: 50px;
    /* background: #d32f2f; */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.nav-text {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;

    /* 文字 */
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 24px;
    color: rgba(55, 65, 81, 1);
    text-align: center;
    vertical-align: middle;
}

/* 导航卡片响应式设计 */
@media (max-width: 1200px) {
    .navigation-cards-container {
        width: 100%;
        gap: 40px;
        flex-wrap: wrap;
    }

    .nav-card {
        width: 200px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .bottom-navigation-section {
        display: none;
    }
}

/* 移动端显示控制 */
@media (max-width: 767px) {

.newbg{
background-color: transparent;
padding: 0 ; 
}
    .title-navigation {
        height: 30px;
    }

    .news-image {
        width: 179px;
        height: 133px;
    }

    .news-info {
        padding: 0;
    }

    .news-title {
        /** 文本1 */
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 0px;
        line-height: 17.38px;
        color: rgba(0, 0, 0, 1);
        /* 超出三行省略号 */
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .news-date {
        /** 文本1 */
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 0px;
        line-height: 17.38px;
        color: rgba(128, 128, 128, 1);
        text-align: left !important;
        width: 100% !important;
        /* flex-direction: row; */
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center;
        /* margin-bottom: 20px; */
        margin-top: -20px;
        margin-right: 5px;
        margin-bottom: 15px;
    }

    .news-date .timeIcon {
        text-align: left !important;
        margin-right: 5px;
    }

    .news-date .timeIcon img {
        text-align: left !important;
    }

    .news-bottom-row {
        flex-direction: column;
    }

    /* 移动端college-dynamic-list样式 */
    .college-dynamic-list {
        width: 343px;
        min-height: 268px;
        display: block !important;
        margin-top: 0;
        margin-bottom: 40px;
        overflow: visible;
        margin-top: -2 0px;
    }

    .college-dynamic-list .cdl-date {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #b14039;
        width: 80px;
    }

    .college-dynamic-list .cdl-date .day {
        font-size: 24px;
        font-weight: 700;
        line-height: 1;
        color: #b14039;
    }

    .college-dynamic-list .cdl-date .year {
        font-size: 10px;
        color: #b14039;
        margin-top: 2px;
    }

    .college-dynamic-list .cdl-title {
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 0px;
        line-height: 18px;
        color: rgba(56, 56, 56, 1);
        /* 超出两行省略号 */
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        flex: 1;
        padding-left: 15px;
        max-height: 36px;
        /* 两行的高度：18px * 2 */
    }

    .college-dynamic-list .cdl-row {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .more-btn {
        width: 84px !important;
        height: 27px;
        margin-top: 10px;
    }

    /* 移动端主菜单容器调整 */
    .main-menu-container {
        padding: 0 15px;
        margin: 20px 0;
    }

    /* 移动端主容器底部边距 */
    main {
        margin-bottom: 40px;
    }

    .container {
        margin-bottom: 40px;
    }

    .main-menu-container nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .main-menu-container nav ul li {
        margin: 0;
        padding: 0;
        font-size: 14px;
    }

    .main-menu-container nav ul li a {
        text-decoration: none;
        color: #666;
        font-size: 14px;
    }

    .main-menu-container nav ul li.active a {
        color: #c13432;
        font-weight: bold;
    }

    /* 移动端语言切换样式 */
    .language-toggle-wrapper {
        display: flex;
        align-items: center;
        margin-right: 8px;
        position: relative;
    }

    .language-toggle-icon {
        width: 14px;
        height: 14px;
    }

    .language-text {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0px;
        line-height: 17.38px;
        color: rgba(255, 255, 255, 1);
        margin: 0 1px;
    }

    .language-arrow {
        width: 10px;
        height: 14px;
    }

    /* 语言下拉列表样式 */
    .language-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 6px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        display: none;
        z-index: 1001;
        min-width: 80px;
        margin-top: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        opacity: 0;
        transform: translateY(-8px) scale(0.95);
        transition: all 0.25s ease-out;
        overflow: hidden;
    }

    .language-dropdown.active {
        display: block;
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .language-option {
        padding: 12px 20px;
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        color: #333;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        transition: all 0.2s ease;
        position: relative;
        background: transparent;
    }

    .language-option:first-child {
        border-radius: 6px 6px 0 0;
    }

    .language-option:last-child {
        border-bottom: none;
        border-radius: 0 0 6px 6px;
    }

    .language-option:hover {
        background-color: rgba(24, 144, 255, 0.08);
        color: #1890ff;
        padding-left: 24px;
    }

    .language-option.active {
        background-color: rgba(24, 144, 255, 0.12);
        color: #1890ff;
        font-weight: 600;
    }

    /* 移动端first-news图片尺寸 */
    .news .first-news {
        width: 343px;
        height: 268px;
    }

    .news .first-news .img {
        width: 343px;
        height: 268px;
    }

    /* 移动端新闻动态卡片图片尺寸 */
    .news-dynamics-grid .news-card .news-image .image-placeholder {
        width: 179px;
        height: 133px;
    }

    .news-dynamics-grid .news-card .news-image .image-placeholder img {
        width: 179px;
        height: 133px;
        object-fit: cover;
    }

    /* 移动端新闻动态卡片布局调整 */
    .news-dynamics-grid .news-card {
        display: flex;
        gap: 15px;
        align-items: flex-start;
    }

    .news-dynamics-grid .news-card .news-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .news-dynamics-grid .news-card .news-title {
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
        color: #333;
    }

    .news-dynamics-grid .news-card .news-date {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 12px;
        color: #666;
        background-color: transparent;
        width: 120px;
        text-align: left;
    }

    .news-dynamics-grid .news-card .news-date .timeIcon {
        display: flex;
        align-items: center;
    }

    .news-dynamics-grid .news-card .news-date .timeIcon img {
        width: 16px;
        height: 16px;
    }

    .news-dynamics-grid .news-card .more-btn {
        align-self: flex-start;
        padding: 4px 12px;
        font-size: 12px;
        background: #c13432;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        display: block;
        width: fit-content;
    }
}

/* 标题导航样式 */
.title-nav .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.title-nav .nav-item a {
    text-decoration: none;
    color: #666;
    font-size: 12px;
}

.title-nav .nav-item.active a {
    color: #000;
    font-weight: bold;
    font-size: 12px;
}