@charset "UTF-8";

:root {
    --swiper-theme-color: var(--varColor);
    --swiper-navigation-size: 20px;
}

/*轮播图*/
#swiper, #swiper img {
    width: 100%;
    min-height: 1.6rem;
}

#swiper .swiper-pagination {
    bottom: 0.3rem;
}

#swiper .swiper-pagination-bullet {
    width: 0.16rem;
    height: 0.16rem;
    margin: 0 0.08rem;
    background: #fff;
    opacity: 1;
    transition: .3s;
}

#swiper .swiper-pagination-bullet-active {
    width: 0.48rem;
    background: orange;
    border-radius: 0.16rem;
}

.main {
    background: rgba(250, 244, 237, 1);
}

.title {
    align-items: center;
    margin-bottom: 0.22rem;
}

.title h2 {
    position: relative;
    font-size: 0.3rem;
    color: #000;
    /*font-family: '临海体';*/
}

.title h2 span {
    color: var(--varColor);
    /*font-size: 0.30rem;*/
    font-family: "Microsoft YaHei";
}

.title p {
    line-height: 1.2em;
    color: rgba(0, 0, 0, 0.44);
}

.title a img {
    height: 0.2rem;
}

/*时政要闻*/
.political {
    display: none;
}
.political .title{
    position: relative;
    margin: 0.4rem 0 0.3rem;
}
.political .title a{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.political .title div{
    text-align: center;
}
.political .title div h2{
    position: relative;
    display: inline-flex;
}
.political .title div h2::before, .political .title div h2::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 2.1rem;
    height: 1px;
    background: #C0BCBC;
    transform: translateX(-120%);
}
.political .title div h2::after{
    left: auto;
    right: 0;
    transform: translateX(120%);
}

#political .swiper-slide .img{
    height: 2.55rem;
}
.political .swiper-slide .text{
    display: flex;
    padding: 0.16rem;
    background: #fff;
}
.political .swiper-slide .text .date{
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 0.8rem;
    min-width: 0.8rem;
    height: 0.86rem;
    color: #fff;
    font-weight: bold;
    background: #c7b075;
}
.political .swiper-slide .text .date h2{
    font-size: 0.2rem;
}
.political .swiper-slide .text p{
    font-size: 0.18rem;
    margin-left: 0.2rem;
}
.political .swiper-slide .text p a{
    color: #000;
}
.political .swiper-slide .text p a:hover{
    color: var(--varColor);
    font-weight: bold;
}

/*学院新闻*/
.news {
    position: relative;
    max-width: 1920px;
    margin: 0.5rem auto 0;
    background: url("../images/news-bg.png") no-repeat left top;
    background-size: contain;
    overflow: hidden;
}

.news-box {
    position: absolute;
    top: 0.82rem;
    left: 0;
    width: 100%;
}

.news-list {
    width: 40%;
}

.news-list .title {
    width: 75%;
    margin-bottom: 0.35rem;
}

.news-list ul {
    margin: -0.1rem 0;
}

.news-list ul li {
    display: flex;
    margin: 0.1rem 0;
    padding: 0.26rem 0.24rem 0.27rem 0;
    background: #fff;
}

.news-list ul li:hover {
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.news-list ul li .date {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    width: 0.8rem;
    min-width: 0.8rem;
    height: 0.87rem;
    background: rgba(199, 176, 117, 1);
}

.news-list ul li .date h2 {
    font-size: 0.2rem;
}

.news-list ul li .text {
    margin-left: 0.2rem;
}

.news-list ul li .text h3 {
    color: var(--varColor);
    font-size: 0.18rem;
    font-weight: normal;
}

.news-list ul li .text h3 a {
    color: var(--varColor);
}

.news-list ul li .text h3 a:hover {
    font-weight: bold;
}

.news-list ul li .text p {
    color: #666;
    margin-top: 0.1rem;
}

#news {
    float: right;
    margin-right: 6%;
    width: 50%;
    height: 5.9rem;
}

#news .swiper-slide .txt {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1.73rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

#news .swiper-slide .txt p {
    position: absolute;
    left: 0;
    right: 1.47rem;
    bottom: 0;
    height: 0.74rem;
    padding: 0 0.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#news .swiper-slide .txt p a {
    color: #fff;
    font-size: 0.2rem;
}

#news .swiper-slide .txt p a:hover {
    color: orange;
    font-weight: bold;
}

#news .swiper-slide .index {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 1.47rem;
    height: 0.74rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.18rem;
    color: var(--varColor);
    background: #fff;
    z-index: 2;
}

#news .swiper-button-prev,
#news .swiper-button-next {
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}


#news .swiper-button-prev {
    top: auto;;
    bottom: 0;
    left: auto;
    right: calc(1.47rem - 20px);
    height: 0.74rem;
}

#news .swiper-button-next {
    top: auto;
    bottom: 0;
    height: 0.74rem;
}



/*通知公告*/
.notice {
    padding: 0.5rem 0;
    background: url("../images/notice-bg.jpg") no-repeat center;
    background-size: cover;
    height: 3rem;
    margin-bottom: 1.5rem;
}

#notice {
    padding-bottom: 0.8rem;
}

#notice .swiper-wrapper {
    padding-bottom: 4px;
}

#notice .swiper-slide {
    display: flex;
    padding: 0.28rem;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 4px rgba(222, 178, 108, 1);
}

#notice .swiper-slide .date {
    width: 0.8rem;
    min-width: 0.8rem;
    height: 0.84rem;
    color: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(222, 178, 108, 1);
}

#notice .swiper-slide .date h2 {
    font-size: 0.37rem;
    line-height: 1em;
}

#notice .swiper-slide .text {
    margin-left: 0.2rem;
}

#notice .swiper-slide .text h3 {
    color: #000;
    font-size: 0.18rem;
    height: 2.66em;
    line-height: 1.33em;
}

#notice .swiper-slide .text p {
    margin: 0.2rem 0;
    color: #666;
}

#notice .swiper-slide .text > a {
    color: var(--varColor);
}

#notice .swiper-slide .text > a:hover {
    font-weight: bold;
    margin-left: 1em;
}

#notice .swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
}

#notice .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 0.08rem;
    background: rgba(71, 71, 71, 1);
    opacity: 1;
}

#notice .swiper-pagination-bullet-active {
    width: 18px;
    height: 18px;
    background: rgba(160, 27, 31, 1);
}

/*教学科研*/
.discipline {
    padding: 0.8rem 0;
    margin: 0.22rem 0 0.5rem;
    background: #a01b1f;
}

.discipline .title h2 {
    color: #fff;
}

.discipline .title h2 span {
    color: #DEB26C;
}

.discipline .title p {
    color: rgba(255, 255, 255, 0.44);
}

.discipline-item {
    width: 4.14rem;
    height: 4.96rem;
    padding: 0.33rem 0.22rem;
    background: url("../images/box1.png") no-repeat center;
    background-size: cover;
}

.discipline-list {
    padding-bottom: 0.4rem;
    background: url("../images/vector.png") no-repeat left 0 bottom;
    background-size: 100%;
}

#disc {
    padding-bottom: 0.6rem;
}

#disc .swiper-slide .img {
    height: 2.2rem;
}

#disc .swiper-slide p {
    height: 4.5em;
    margin: 0.1rem 0 0.2rem;
    font-size: 0.16rem;
}

#disc .swiper-slide span {
    font-size: 0.12rem;
    color: rgba(153, 153, 153, 1);
}

#disc .swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}

#disc .swiper-pagination-bullet {
    background: #000;
    opacity: 1;
}

#disc .swiper-pagination-bullet-active {
    width: 14px;
    height: 14px;
    background: var(--varColor);
}

.discipline-list ul {
    width: 9.59rem;
    height: 4.96rem;
    padding: 0.33rem;
    background: url("../images/box2.png") no-repeat center;
    background-size: cover;
    box-sizing: border-box;
}

.discipline-list ul li {
    display: flex;
    margin-bottom: 0.24rem;
}

.discipline-list ul li .date {
    width: 0.8rem;
    min-width: 0.8rem;
    height: 0.84rem;
    color: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(222, 178, 108, 1);
}

.discipline-list ul li .date h2 {
    font-size: 0.37rem;
    line-height: 1em;
}

.discipline-list ul li p {
    font-size: 0.21rem;
    margin-left: 0.2rem;
    height: 3em;
}

.discipline-list ul li p a {
    color: #000;
}

.discipline-list ul li p a:hover {
    color: var(--varColor);
    font-weight: bold;
}

/*理论学习*/
#achievement{
    margin-bottom: 0.5rem;
    width: 100%; 
    overflow: hidden;
}
#achievement .swiper-slide .img{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    margin: 0 auto 0.2rem;
    background: #fff;
    padding: 0.38rem 0.58rem;
    border-radius: 50%;
    box-sizing: border-box;
}
#achievement .swiper-slide .img:hover{
    background: rgba(222, 178, 108, 1);
}
#achievement .swiper-slide p{
    font-size: 0.16rem;
}

#achievement .swiper-slide {
    height: auto;
}
#achievement .swiper-slide .lilun {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px 20px 20px;
    box-sizing: border-box;
    height: 140px; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); 
    border: 1px solid #f0f0f0;
    position: relative;
    margin: 0;
    overflow: hidden; 
}
#achievement .swiper-slide .lilun:hover {
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: rgba(222, 178, 108, 0.5); 
 }
#achievement .swiper-slide .lilun::after {
    content: '“';
    position: absolute;
    top: -15px;
    right: 10px;
    font-size: 90px;
    font-family: Georgia, serif;
    color: rgba(222, 178, 108, 0.12); 
    line-height: 1;
    transition: all 0.4s ease;
    pointer-events: none; 
}

#achievement .swiper-slide .lilun:hover::after {
    color: rgba(222, 178, 108, 0.25); 
    transform: scale(1.1) rotate(5deg); 
}    
#achievement .swiper-slide .lilun::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 3px; 
    background: linear-gradient(90deg, #de b2 6c, #c92a2a);
    background: #deb26c;
    transition: width 0.4s ease;
 }
#achievement .swiper-slide .lilun:hover::before {
    width: 100%; 
}
#achievement .swiper-slide .lilun a {
    display: -webkit-box;
    width: 100%;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    line-height: 1.7;
    text-align: center;
    text-decoration: none;
    transition: color 0.3s;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2; 
    position: relative;
}
#achievement .swiper-slide .lilun:hover a { 
color: #c92a2a; 
}





/*媒体马部*/
.media {
    margin-bottom: 0.5rem;
}

.media-img {
    width: 49%;
}

.media-img .img {
    position: relative;
    height: 3.86rem;
    padding: 0.15rem 0 0 0.15rem;
    box-sizing: border-box;
    z-index: 1;
}

.media-img .img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    background: linear-gradient(180deg, rgba(160, 27, 31, 1) 0%, rgba(222, 76, 74, 1) 100%);
    z-index: -1;
}

.media > ul {
    width: 49%;
}

.media > ul li {
    width: calc(50% - 13px);
    height: calc(50% - 13px);
    padding: 0.25rem 0.15rem;
    border-top: 2px solid rgba(160, 27, 31, 1);
    background: rgba(255, 255, 255, 1);
}

.media > ul li:first-of-type {
    margin-bottom: 26px;
}

.media > ul li .date {
    display: flex;
    align-items: flex-end;
    margin-bottom: 0.2rem;
}

.media > ul li .date h2 {
    font-size: 0.32rem;
    color: var(--varColor);
    line-height: 1em;
    margin-right: 0.15rem;
}

.media > ul li p {
    font-size: 0.16rem;
}

.media > ul li:hover {
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

/*快捷通道*/
#fast {
    margin-bottom: 0.4rem;
}

/*单位链接*/
#link-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px; /* 卡片之间的间距 */
    margin-top: 20px;
    margin-bottom: 40px;
}
#link-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 6px;
    color: #555;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: center;
}
#link-list a:hover {
    background: #fff;
    color: #c92a2a;
    border-color: #c92a2a;
    box-shadow: 0 4px 12px rgba(201, 42, 42, 0.1);
    transform: translateY(-2px);
}
#link-list a::before {
    content: '🔗';
    font-size: 12px;
    margin-right: 8px;
    opacity: 0.5;
    transition: opacity 0.3s;
}
#link-list a:hover::before {
    opacity: 1;
}