:root {
    --main-color: #b52429;
}

/*Semibold*/

@font-face {
    font-family: 'PingFangSemibold';
    src: url('../fonts/PingFangSemibold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family:'PingFangSemibold','Microsoft YaHei', '宋体',  Arial, sans-serif !important;
    /*font-family:'PingFangSemibold', '宋体',  Arial, sans-serif !important;*/
}
 @media (min-width: 1366px) {
    .container {
        width: 1320px;
    }
    }

    @media (min-width: 1600px) {
        .container {
        width: 1600px;
        }
    }

a {
    position: relative;
    text-decoration: none !important;
}

a:hover {
    color: var(--main-color) !important;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 50%;
    width: 0; height: 2px;
    background: var(--main-color);
    transition: width 0.3s ease, left 0.3s ease;
}

a:hover::after {
    width: 100%;
    left: 0;
}


/* Logo Header */
.logo-header {
    padding: 20px 0;
    /*background: var(--main-color);*/
    background-image: url("../images/header.png");
    background-size: 100% 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.min-school-logo, .search_an{
    display: none;
}

.school-logo{
    display: flex;
    flex: 1;
}

.school-logo img , .header-code-img{
    height: 110px;
}

.header-code {
    display: flex;
    flex-direction: row;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    /* float: right; */
}

.search_btn1 {
    margin-left: 50px;
}

.icon1 {
    /* position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);    */

    width: 30px;
    height: 30px;
    cursor: pointer;
}



.header-close{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 30px 10px;
}

/* .search-input{
   height: 70px;
} */

.search-input input, .input-group-btn button{
    height: 55px;
    border-radius: 27px;
    border-color: #000;
}

.input-group-btn button{
    padding: 10px 20px;
}

.search-input input:focus, .search-input input:focus~span > button {
    outline-color: var(--main-color);
    box-shadow: -3px -3px 15px var(--main-color);
    transition: .1s;
    transition-property: box-shadow;
}


/* .header-close .input-group{
    width: 80%;
} */

.header-close .close{
    padding-left: 25px;
    width: 70px;
}

/* 导航菜单 */
.main-nav {
    background: var(--main-color);
    border: none;
}

/* 导航栏基础样式 */
.navbar-default {
    background: #fff;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 主菜单项样式 */
.navbar-nav {
    float: none;
    display: flex;
    justify-content: space-between;
}

.navbar-nav>li {
    display: flex;
    flex: 1;
    justify-content: center;
}

.navbar-default .navbar-nav>li>a {
    color: #333;
    padding: 25px 5px;
    /* transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); */
    position: relative;
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
}

/* .aaa {
    background-color: var(--main-color);
    color: #fff;
} */

/* 激活状态指示器 */
/* .navbar-default .navbar-nav>.active>a:after,
.navbar-default .navbar-nav>li>a:hover:after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 60%;
    height: 2px;
    background: var(--main-color);
    transform: translateX(-50%);
    transition: all 0.3s ease;
} */


.navbar-default .navbar-nav>.active>a,
    /*.navbar-default .navbar-nav>li:hover,*/
.navbar-default .navbar-nav>.open >a{
    border-bottom: 3px solid var(--main-color);
}


.navbar-default .navbar-nav>li>a{
    font-weight: bolder;
}

/* 文字颜色变化 */
.navbar-default .navbar-nav>.active,
.navbar-default .navbar-nav>li:hover,
.navbar-default .navbar-nav>li:hover>a,
.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>.open,
.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover {
    /* color: #fff !important; */
    /* background-color: var(--main-color) !important; */
    color: var(--main-color) !important;
    background-color:#fff;
    /* border-bottom: 3px solid var(--main-color); */
}

/* 等宽下拉菜单 */
.dropdown-menu {
    width: 100%;
    min-width: 0;
    margin-top: 3px !important;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    text-align: center;
    padding: 10px 0;
    display: block; /* 关键：覆盖默认 display:none */
    visibility: hidden;
    transform: translateY(-10%); /* 初始上移 10px */
    transition: all 0.6s ease; /* 统一动画属性 */
}

.open .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0); /* 复位 */
}

/* 下拉菜单项样式 */
.dropdown-menu>li>a {
    padding: 12px 0px;
    color: #666;
    transition: all 0.2s;
    white-space: unset;
    text-align: center;
}

.dropdown-menu>li>a:hover {
    background: #b50e110d;
    color: #b50e11;
}


.main-nav a {
    font-size: 18px;
    font-weight: bolder;
}


/* 轮播图 */
.hero-carousel {
    height: 430px;
    overflow: hidden;
}

.carousel-img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.8);
    transition: all 0.5s;
}

.hero-carousel:hover .carousel-inner .carousel-img{
    transform: scale(1.05);
    transition: all 0.5s;
}

.carousel-title {
    padding: 15px 0;
    background: var(--main-color);
    text-align: center;
    opacity: 0.7;
}

.title-content {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin: 0;
    transition: all 0.3s ease;
}

.carousel-control {
    background-image: none !important;
}

/* .carousel-indicators {
    bottom: -40px;
} */

/* .carousel-indicators li {
    border-color: #666;
} */

.carousel-indicators .active {
    background-color: var(--main-color);
}

/* 新闻板块 */
.news-section {
    padding: 0;
}

.title-view {
    /*border-bottom: 2px solid var(--main-color);*/
    /* padding-bottom: 15px; */
    /* background-color: var(--main-color); */
    padding: 0 10px;
    margin-bottom: 10px;
    display: flex;
    flex: 1;
    flex-direction: row;
}

.title-view .news-title {
    /*color: var(--main-color);*/
    font-weight: bolder;
    /* border-bottom: 2px solid var(--main-color);
    padding-bottom: 15px; */
    font-size: 26px;
    margin: 10px 0;
    display: flex;
    flex: 1;
    align-items: center;
}

.title-view .news-title span{
    width: 15px;
    height: 20px;
    margin-right: 10px;
    background-color: var(--main-color);
}

.title-view .more {
    /* color: #fff; */
    display: flex;
    width: 100px;
    justify-content: flex-end;
    align-items: center;
    /* margin-right: 10px; */
}

.more a {
    color: var(--main-color) !important;
}

/*

.news-columns {
    column-count: 2;
    column-gap: 30px;
} */

/* .news-item {
    break-inside: avoid;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
} */

/* .news-list {
    padding: 40px 0;
} */

/* 主色调定义 */
.news-highlight {
    color: var(--main-color);
}

.news-item {
    /* margin-bottom: 30px; */
    padding: 10px;
    /* border-left: 3px solid #b50e11; */
    transition: all 0.3s;
}

.news-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-date {
    position: relative;
    padding-left: 25px;
}

.news-date:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 15px;
    height: 2px;
    background: #666;
}

.news-img {
    border-radius: 4px;
    margin-bottom: 15px;
    height: 250px;
    width: 100%;
    object-fit: cover;
}


.notice-list {
    list-style: none;
    padding: 0;
    column-gap: 40px;
    margin-top: -30px;
}

.notice-item {
    break-inside: avoid;
    /*padding: 5px 0;*/
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

/*.notice-item:hover {*/
/*    transform: translateY(10px);*/
/*    background: #f8f8f8;*/
/*}*/

.notice-item:hover .title,
.notice-item:hover .date {
    color: var(--main-color);
}

.notice-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    text-decoration: none;
    /*line-height: 40px;*/
    padding: 0 5px;
}

.notice-date{
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.notice-date .date{
    font-size: 28px;
    color: #000;
    font-weight: bolder;
}
.notice-date .year-date{
    font-size: 14px;
}

.notice-content{
    display: flex;
    flex: 1;
    padding: 27px 10px;
    flex-direction: column;
}

.notice-content .title{
    font-size: 18px;
    margin: 10px 0;
    font-weight: bolder;
    color: #000;
    -webkit-box-orient: vertical;
    -webkit-line-clamp:1;
    overflow: hidden;
    display: -webkit-box;
}
.notice-content .detail{

    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp:1;
    overflow: hidden;
    display: -webkit-box;
    color: #777;
}

.notice-content:hover .detail{
    color: var(--main-color);
}

/*.notice-item .title {*/
/*    color: #666;*/
/*    margin: 0;*/
/*    font-size: 16px;*/
/*    flex: 1;*/
/*    padding-right: 10px;*/
/*    display: -webkit-box;*/
/*    -webkit-box-orient: vertical;*/
/*    -webkit-line-clamp:1;*/
/*    overflow: hidden;*/
/*}*/

/*.notice-item .date {*/
/*    color: #666;*/
/*    font-size: 14px;*/
/*    white-space: nowrap;*/
/*}*/



.news-list {
    list-style: none;
    padding: 0;
    column-gap: 40px;
}

.news-list-item {
    break-inside: avoid;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.news-list-item:hover {
    transform: translateY(10px);
    background: #f8f8f8;
}

.news-list-item:hover .title,
.news-list-item:hover .date {
    color: var(--main-color);
}

.news-list-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* color: #333; */
    text-decoration: none;
    line-height: 60px;
    padding: 0 5px;
}

.news-list-link .title {
    color: #666;
    margin: 0;
    font-size: 20px;
    flex: 1;
    padding-right: 20px;
}

.news-list-link .date {
    color: #666;
    font-size: 16px;
    white-space: nowrap;
}

.category-list{
    list-style: none;
    padding: 0;
    column-gap: 40px;
    border-radius: 10px;
    background: #b50e110d;
}

.category-list-item{
    break-inside: avoid;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.category-list-item .active{
    color: #fff !important;
    background-color: var(--main-color);
}

.category-list-link{
    display: flex;
    justify-content: center;
    align-items: center;
    /* color: #333; */
    text-decoration: none;
    line-height: 80px;
    padding: 0 5px;
    font-size: 23px;
    color: #555;
    text-align: center;
}

.category-list-link:hover{
    color: #fff !important;
    transition: all 0.3s;
    background-color: var(--main-color);
}

.special-column {
    position: relative;
    height: 300px;
    background: no-repeat center center/cover;
    color: #fff;
    text-align: center;
    /*overflow: hidden;*/
    margin-bottom: 100px;
    /* transition: all 0.3s; */
    /*cursor: pointer;*/
    border-radius: 10px;
    transition: transform 0.5s, box-shadow 0.5s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.special-column:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}


.column-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.column-content {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 85%;
    padding: 10px;
    background: rgba(255,255,255,0.8);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.04);
    border-radius: 4px 4px 4px 4px;
    border: 1px solid #F0F0F0;
}

.column-title {
    font-size: 15px;
    line-height: 30px;
    margin-bottom: 35px;
    /*text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);            */
    /*transition: color 0.3s ease;*/
    color: #000;
    text-align: left;
    margin-left: 20px;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    display: -webkit-box;
}

/* .special-column:hover .column-content .column-title{ */
/*.column-title:hover{*/
/*    color: var(--main-color);*/
/*    transition: color 0.3s ease;*/
/*}*/

.entry-btn {
    display: inline-block;
    font-size: 11px;
    padding: 5px 20px;
    color: var(--main-color);
    float: left;
    /*border: 2px solid var(--main-color);*/
    /*border-radius: 25px;*/
    /*transition: all 0.3s ease;*/
    text-decoration: none;
    background: #fff;
}

.entry-btn::after{
    background: unset;
}

.entry-btn:hover{
    opacity: 0.8;
}
/*.entry-btn:hover {*/
/*    background: var(--main-color);*/
/*    color: #fff !important;*/
/*    transform: translateY(-3px);*/
/*        text-decoration: none !important;*/
/*}*/

.m2pos {
    font-size: 16px;
    margin: 20px 0;
}
.m2pos a {
    color: var(--main-color);
}

.post-title .title {
    font-size: 38px;
    line-height: 60px;
    margin-top: 2vw;
    text-align: center;
}
.post-title .post-info {
    padding: 20px 0 30px;
    border-bottom: 4px solid var(--main-color);
    line-height: 24px;
    font-size: 20px;
    overflow: hidden;
    text-align: center;
}
.post-title .time {
    padding-right: 15px;
}
.post-title .author {
    padding-left: 15px;
}

/* 页脚 */
.main-footer {
    background: var(--main-color);
    color: #fff;
    padding: 15px 0;
    /* margin-top: 50px; */
}

.list-unstyled {
    /* column-count: 2;
    column-gap: 20px; */
    display: flex;
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
}

.list-unstyled li {
    padding: 5px 0;
    width: 25%;
}

.list-unstyled a {
    color: #fff !important;
}

.erweima-view {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
}

.erweima-item{
    padding-right: 15px;
}

.erweima-item img{
    width: 110px;
}

.erweima-item .text{
    text-align: center;
}

.text-white:hover {
    /*color: goldenrod !important;*/
    opacity: 0.8;
}

.link-view{
    padding: 15px 0;
    border-bottom: #97824f solid 1px;
}

.address-view{
    padding-top: 15px;
    border-top: #97824f solid 1px;
}

.address-view p{
    /*font-family: PingFang SC, PingFang SC;*/
    font-weight: 400;
    font-size: 12px;
    color: #FFFFFF;
    opacity: 0.7;
    line-height: 22px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.main-footer .h2, .main-footer h2 {
    font-size: 24px;
}

@media (max-width: 1600px) {
    .dropdown-menu>li>a,
    .navbar-default .navbar-nav>li>a{
        font-size: 15px;
    }

    .school-logo img , .header-code-img {
        height: 100px;
    }

    /* 轮播图 */
    .hero-carousel {
        height: 350px;
        overflow: hidden;
    }

    .notice-list{
        height: 350px;
        overflow: hidden;
    }

    .special-column {
        height: 250px;
    }
}

/* 响应式调整 */
@media (max-width: 1366px) {
    .school-logo img , .header-code-img {
        height: 80px;
    }

    .dropdown-menu>li>a,
    .navbar-default .navbar-nav>li>a{
        font-size: 14px;
    }

    /* 轮播图 */
    .hero-carousel {
        height: 310px;
        overflow: hidden;
    }

    .notice-list{
        height: 336px;
        overflow: hidden;
    }


    .special-column {
        height: 215px;
    }

.column-title {
        font-size: 14px;
}

}

@media (max-width: 1200px) {

    .notice-list{
        margin-top: 0;
        height: auto;
    }
    .hero-carousel{
        height: auto;
    }

    .special-column {
        height: 215px;
    }

    .column-title {
        font-size: 12px;
    }
}

@media (max-width: 992px) {

    .search_an{
        display: none;
    }

    /* 轮播图 */
    .hero-carousel {
        height: auto;
        overflow: visible;
    }

    .notice-list{
        height: auto;
        overflow: visible;
    }

    .column-title {
        font-size: 20px;
    }

    .logo-header .container {
        text-align: center;
    }

    .header-code-img {
        display: none;
    }

    .title-view {
        margin-top: 25px;
    }

    .entry-btn {
        padding: 10px 25px;
    }
    .special-column {
        height: 300px;
    }
}


/* 移动端适配 */
@media (max-width: 768px) {

    .navbar-header{
        background-color: var(--main-color);
    }

    .min-navbar-header{
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .search_button{
        display: flex;
        width: 100px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .min-school-logo{
        height: 90px;
        margin-left: 15px;
        display: flex;
        flex: 1;
        align-items: center;
    }

    .min-school-logo img {
        height: 50px;
    }

    .logo-header{
        display: none;
    }
    .school-logo img , .header-code-img {
        height: 60px;
    }

    .header-close{
        padding: 10px;
    }

    .search-input input, .input-group-btn button{
        height: 40px;
        border-radius: 20px;
    }

    .input-group-btn button{
        padding: 10px;
    }

    .header-close .close{
        padding-left: 25px;
        width: 50px;
    }

    .header-code {
        display: none;
    }

    .search_an {
        display: block;
        /* position: absolute; */
        width: 23px;
        height: 23px;
        /* top: 50%;
        right: calc(40px);
        transform: translateY(-50%); */
        cursor: pointer;
        z-index: 99;
    }

    .navbar-default .navbar-toggle .icon-bar {
        background-color: #fff;
    }

    /* 轮播图 */
    .hero-carousel {
        height: 250px;
        overflow: hidden;
    }

    .navbar-nav {
        display: block;
    }

    .dropdown-menu {
        width: auto;
        left: 0 !important;
        transform: none !important;
        text-align: left;
    }

    .navbar-default .navbar-nav>li>a {
        padding: 15px 20px;
    }

    .dropdown-menu>li>a,
    .navbar-default .navbar-nav>li>a{
        font-size: 16px;
    }

    .title-content {
        font-size: 20px;
    }

    .title-view .news-title {
        font-size: 22px;
    }

    .notice-item .title{
        font-size: 14px;
    }

    .carousel-title {
        padding: 15px 0;
    }
    .special-column {
        height: 300px;
    }

    .column-title {
        font-size: 18px;
    }
    .news-item {
        margin-bottom: 20px;
    }

    .list-unstyled li {
        padding: 5px 0;
        width: 33%;
    }

    .h2, h2 {
        font-size: 22px;
    }
}


.notice1-list {
    list-style: none;
    padding: 0;
    column-gap: 40px;
}

.notice1-item {
    break-inside: avoid;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.notice1-item:hover .title,
.notice1-item:hover .date {
    color: var(--main-color);
}

.notice1-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* color: #333; */
    text-decoration: none;
    line-height: 40px;
    padding: 0 5px;
}

.notice1-item .title {
    color: #666;
    margin: 0;
    font-size: 14px;
    flex: 1;
    padding-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice1-item .date {
    color: #666;
    font-size: 12px;
    white-space: nowrap;
}

.top-hot{
    display: flex;
    flex-direction: row;
    width: 50px;
    position: absolute;
    right: 0;
    top: 40%;
}
.tophot{
    width: 30px;
    height: 30px;
    margin: 0 auto;
}