@charset "utf-8";

/*轮播图*/
#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: var(--varColor);
    border-radius: 0.16rem;
}

.main {
    background: #eee;
}

.wrapper {
    padding-bottom: 0.3rem;
    background: url("../images/bg.jpg") no-repeat center bottom;
    background-size: cover;
}

.wrapper::before {
    content: '';
    display: table;
}

.title {
    display: flex;
    justify-content: center;
    margin: 0.4rem 0;
}

.title h2 {
    position: relative;
    font-size: 0.3rem;
}

.title h2::before,
.title h2::after {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    width: 0.8rem;
    height: 1px;
    background: var(--varColor);
    border-radius: 50%;
    transform: translate(-100%, -50%);
}

.title h2::after {
    left: auto;
    right: 0;
    transform: translate(100%, -50%);
}

.title h2 a {
    position: relative;
    padding: 0 0.2rem;
    color: #404040;
}

.title h2 a::before,
.title h2 a::after {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    width: 0.06rem;
    height: 0.06rem;
    background: var(--varColor);
    border-radius: 50%;
    transform: translate(-100%, -50%);
}

.title h2 a::after {
    left: auto;
    right: 0;
    transform: translate(100%, -50%);
}

.title h2 a:hover {
    color: var(--varColor);
}

/*学院动态*/
#news {
    width: 49%;
    margin: 0;
}

#news .swiper-slide .img {
    height: 25vw;
}

#news .swiper-slide p {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 0.5rem;
    line-height: 0.5rem;
    padding: 0 1rem 0 0.1rem;
    background: rgba(0, 0, 0, 0.6);
}

#news .swiper-slide p a {
    color: #fff;
    font-size: 0.2rem;
}

#news .swiper-slide p a:hover {
    color: var(--varColor);
}

#news .swiper-pagination {
    left: auto;
    right: 0.1rem;
    bottom: 0.13rem;
    width: auto;
}

#news .swiper-pagination-bullet {
    width: 0.1rem;
    height: 0.1rem;
    background: #fff;
    opacity: 1;
}

#news .swiper-pagination-bullet-active {
    background: var(--varColor);
}

.news {
    width: 49%;
    margin-top: -0.2rem;
    display: flex;
    flex-direction: column;
}

.news li {
    margin-top: 0.2rem;
    height: calc(25% - 0.2rem);
    border-bottom: 1px dashed #BABABA;
}

.news li > div {
    display: flex;
    align-items: center;
}

.news li .date {
    height: 0.82rem;
    text-align: center;
    margin-right: 0.2rem;
    border: 1px solid var(--varColor);
}

.news li .date p {
    color: #fff;
    padding: 0.1rem 0;
    background: var(--varColor);
}

.news li .date h2 {
    color: var(--varColor);
    font-size: 0.24rem;
    font-family: Arial;
    padding: 0 0.27rem;
}

.news li .text a {
    font-size: 0.2rem;
    font-weight: normal;
}

.news li .text a:hover {
    font-weight: bold;
}

.news li .text p {
    color: #999;
    margin-top: 0.1rem;
}

/*通知公告*/
.notice {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.11rem;
}

.notice li {
    display: flex;
    width: calc(33.33% - 0.22rem);
    margin: 0 0.11rem 0.22rem;
    border: 1px solid var(--varColor);
}

.notice li .date {
    color: #fff;
    text-align: center;
    padding: 0.2rem;
    background: var(--varColor);
}

.notice li .date h2 {
    font-size: 0.24rem;
}

.notice li .text {
    padding: 0.1rem 0.2rem;
}

.notice li .text p {
    height: 3em;
    line-height: 1.5em;
    margin-bottom: 0.08rem;
}

.notice li .text p a:hover {
    font-weight: bold;
}

.notice li .text > a {
    color: var(--varColor);
}

.notice li .text > a:hover {
    color: orangered;
    font-weight: bold;
}

/*===============================*/
.mid {
    padding: 0.4rem 0 0.6rem;
    background: linear-gradient(0deg, rgba(143,1,0,1), rgba(143,1,0,0.5));
}

.heading {
    align-items: center;
    margin-bottom: 0.3rem;
}

.heading a {
    color: #fff;
}

.heading h2 a {
    font-size: 0.3rem;
}

.heading a:hover {
    color: var(--varColor);
    font-weight: bold;
}

.journal {
    width: 38%;
}

.journal-img .img {
    height: 3.12rem;
}

.journal-img .txt {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.2rem;
    margin: -0.4rem 0.2rem 0;
    background: #fff;
    z-index: 1;
}

.journal-img .txt .date {
    color: var(--varColor);
    text-align: center;
    padding: 0 0.2rem;
    margin-right: 0.2rem;
}

.journal-img .txt .date p {
    font-size: 0.14rem;
}

.journal-img .txt .date h1 {
    font-size: 0.4rem;
}

.journal-img .txt .text h2 {
    font-size: 0.18rem;
    font-weight: normal;
    margin-bottom: 0.1rem;
}

.journal-img .txt .text h2 a:hover {
    font-weight: bold;
}

.activity {
    width: 28%;
    display: flex;
    flex-direction: column;
}

.activity ul {
    flex-grow: 1;
    border-top: 1px solid #fff;
}

.activity ul li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 25%;
    border-bottom: 1px solid #fff;
}

.activity ul li span {
    color: #fff;
    font-size: 0.14rem;
}

.activity ul li p {
    height: 3em;
    line-height: 1.5em;
    margin-top: 0.1rem;
}

.activity ul li p a {
    color: #fff;
}

.activity ul li p a:hover {
    color: orangered;
    font-weight: bold;
}

/*院友之家*/
#friend .swiper-slide {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.4rem;
    background: #fff;
    border: 1px solid var(--varColor);
    border-top-width: 4px;
}

#friend .swiper-slide .date {
    color: var(--varColor);
    text-align: center;
}

#friend .swiper-slide .date h2 {
    font-size: 0.24rem;
    font-family: Arial;
}

#friend .swiper-slide p {
    font-size: 0.18rem;
    margin-left: 2em;
}

#friend .swiper-slide p a:hover {
    font-weight: bold;
}