.swiper {
    margin-top: 140px;
    height: 700px;
}  
.swiper-pagination-bullet-active{
    background: #940809;
}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    /* bottom: 100px; */
    left: 0;
    width: 100%;
    top: 0px;
}
.swiper-pagination-bullet {
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.indexbody{
    max-width: 1220px;
    margin: 200px auto 0 auto;
    padding-bottom: 0px;
}
.news-box{
    width: 100%;
    margin: 0 auto;
    max-width: 1920px;
    background: url(/assets/img/index/newsback.jpg);
    background-size: 100% 100%;
    /* padding-bottom: 100px; */
}
.news-container {
    justify-content: space-between;
}

.news-slider {
    width: 30%;
    height: 440px;
    position: relative;
}

.news-swiper {
    width: 100%;
    height: 440px;
}

.news-swiper .swiper-slide {
    position: relative;
}

.news-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-swiper .swiper-slide .title {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 14px;
    text-align: center;
    height: 60px;
    line-height: 40px;
}

.news-swiper .swiper-pagination-bullet-active {
    background: #940809;
}
.news-swiper{
    margin-top: 0px;
}
.news-top{
    width: 100%;
    height: auto;
    /*background: url(/assets/img/index/newstop.jpg);*/
    background-size: 100% 100%;
    height: 40px;
    border-bottom: 2px solid;
    border-image: linear-gradient(270deg, #002a5f 0%, #940809 100%) 2 2 2 2;
}
.news-top {
    position: relative;
}
.news-top .big-text {
    position: absolute;
    left: 20px;
    bottom: 10px;
    font-size: 7em;
    color: rgba(255,255,255,0.7);
    font-weight: bold;
    user-select: none;
}
.news-top .cn-title {
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 16px;
    color: #940809;
    /*font-weight: bold;*/
    user-select: none;
}
.news-top .en-title {
    position: absolute;
    right: 20px;
    top: 60px;
    font-size: 20px;
    color: #fff;
    user-select: none;
}
.news-top .more-btn {
    width: 130px;
    text-align: center;
    position: absolute;
    right: 40px;
    bottom: 30px;
    padding: 8px 15px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    background-color: #940809;
}
.news-top .more-btn:hover {
    background: rgba(255,255,255,0.2);
}
.more-btn {
    display: none !important;
    width: 160px !important;
    bottom: 10px !important;
    right: 20px !important;
    font-size: 10px !important;
}
.news-list-container {
    width: 69%;
    float: right;
    margin-top: -440px;
    margin-right: 0;
    display: flex;
    justify-content: space-between;
}

.news-tabs {
    width: 75%;
    position: relative;
}
.read-more-articles{
    position: absolute;
    top: 0px;
    right: 0px;
    background: #fff;
    height: 40px;
    width: 80px;
    text-align: center;
    line-height: 40px;
    border-top-left-radius: 20px;
}
.news-tabs .tab-nav {
    display: flex;
    gap: 0;
}
.tab-nav{
    height: 40px;
    
}
.tab-content{
    height: 400px;
    background-color: #fff;
}
.news-tabs .tab-nav a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 20px;
    width: 110px;
    text-align: center;
    border-top-right-radius: 20px;
    background: linear-gradient(to right, #f0f0f0, #ffffff);
}
.news-tabs .tab-nav a:hover{
    cursor: pointer;
}
.news-tabs .tab-nav a.active {
    color: #94080b;
    background: #ffffff;
}

.news-item {
    /* background: url('/assets/img/index/newstitleback.jpg') no-repeat; */
    background-size: cover;
    padding: 0 20px 0 20px;
    /* margin-bottom: 10px; */
    background-size: 100% 100%;
    height: 50px;
    line-height: 22px;
    border-bottom: 1px dashed #ccc;
    
}
.hot{
    background: url(/assets/img/index/hot.gif);
    background-size: 100% 100%;
    width: 23px;
    height: 12px;
    margin-top: 20px;
    display: block;
    float: left;
}
.news-date {
    float: right;
    width: 15%;
    text-align: right;
    font-size: 12px;
    /* color: #94080b; */
    /* margin-bottom: 5px; */  
    /* text-indent: 2em; */
}

.news-date i {
    width: 24px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
    text-indent: 0.5em;
}

.news-title {
    float: left;
    max-width: 80%;
    color: #303030;
    font-size: 15px;
    /*text-indent: 2em;*/
    line-height: 1.4;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow:ellipsis
}
.news-title , .news-date{
    line-height: 50px;
}
.news-title:hover{
    color: #940809;
}
.quick-links {
    /* margin-top: 20px; */
    width: 25%;
    background: #940809;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    position: relative;
    font-size: 12px;
}
.quick-img{
    width: 50px;
    height: 50px;
    /* margin-left: 20%; */
    padding: 8px;
}
.quick-name{
    text-align: center;
    color: #fff;
}
/* .quick-links::after {
    content: '';
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, #fff 50%, transparent 50%);
    background-size: 1px 4px;
    position: absolute;
    left: 50%;
    top: 0;
} */

.quick-link {
    /* border-bottom: 1px dotted rgba(255,255,255,0.5); */
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-link a {
    /* width: 100px;
    height: 100px; */
    text-align: center;
}

.school-intro-container {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/assets/img/index/middleback.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px 0;
    max-width: 1920px;
    margin: auto;
}

.intro-header {
    text-align: center;
    margin-bottom: 60px;
    user-select: none;
}

.main-title {
    color: #fff;
    font-size: 36px;
    margin-bottom: 10px;
}

.sub-title {
    color: #fff;
    font-size: 24px;
}

.intro-grid {
    margin: 0 auto;
    padding: 0 20px;
}

.grid-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.grid-item {
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    user-select: none;
}

.grid-item:hover {
    background: rgba(148, 8, 9, 0.7);
}

.item-content {
    text-align: center;
}

.item-top {
    font-size: 2em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.item-bottom {
    font-size: 1.4em;
    color: #fff;
}


.teaching-container {
    max-width: 1700px;
    margin: 60px auto;
    padding: 0 20px;
}

.teaching-header {
    text-align: center;
    margin-bottom: 40px;
    user-select: none;
}

.teaching-header h2 {
    color: #000;
    font-size: 36px;
    margin-bottom: 10px;
}

.teaching-header p {
    color: #000;
    font-size: 24px;
}

.teaching-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.teaching-item {
    flex: 1;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    padding-bottom: 50px;
}

.teaching-img {
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.teaching-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.teaching-item:hover .teaching-img img {
    transform: scale(1.1);
}

.teaching-title {
    padding: 15px;
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.teaching-preview {
    padding: 0 15px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    height: 112px;
    overflow: hidden;
}

.read-more {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: #940809;
    text-decoration: none;
    font-size: 14px;
}

.read-more:hover {
    text-decoration: underline;
}

.affairs-container {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/assets/img/index/middleback2.jpg');
    background-size: cover;
    background-position: center;
    padding: 250px 0 100PX 0;
    max-width: 1920px;
    margin: auto;
    margin-top: -200px;
}

.affairs-header {
    text-align: center;
    margin-bottom: 60px;
    user-select: none;
}

.affairs-header h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 10px;
}

.affairs-header p {
    color: #fff;
    font-size: 24px;
}

.affairs-grid {
    margin: 0 auto;
    padding: 0 20px;
}

.affairs-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.affairs-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    user-select: none;
}

.affairs-item:hover {
    background: rgba(148, 8, 9, 0.7);
}

.affairs-content {
    text-align: center;
}

.affairs-top {
    font-size: 2em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.affairs-bottom {
    font-size: 1.4em;
    color: #fff;
}

.intro-header, .teaching-header, .affairs-header{
    width: 400px;
    margin: 50px auto 50px auto;
}
.item-content img{
    width: 100%;
}
.grid-item{
    width: 23.1%;
}
.item-one{
    width: 30%;
}

.item-content{
    width: 100%;
}
.news-qigong{
    width: 50%;
    float: right;
    margin-top: -11%;
    margin-right: 0;
    display: flex;
    padding: 20px 30px;
    justify-content: space-between;
}
.news-qigong img{
    height: 60px;
}
/* .menu-main{
    position: fixed;
} */

.notice-bar{
    border: 3px solid #e5e5e5;
    height: 40px;
    width: 95%;
    margin: 10px auto 0px;
}
.notice-head{
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 110px;
    text-indent: 5px;
    color: #94080b;
    /*font-weight: bold;*/
}
.notice-title .fa-bullhorn{
    color: black;
}
.notice-more{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 80px;
    float: right;
}
.notice-content{
    float: left;
    height: 34px;
    max-width: calc(100% - 215px);
    overflow: hidden;
}
.notice-title{
    max-width: calc(100% - 23px);
    height: 100%;
    line-height: 34px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    float: left;
    font-size: 13px;
}
.notice-item .hot{
    margin-top: 12px;
}
.notice-item{
    height: 34px;
}
.foot-top{
    border-radius: 15px;
    background-color: #940809;
}
.friendly-link{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    /*background-color: #e9e9e9;*/
    margin-top: 10px;
    border-bottom: 0px;
}
.friendly-link a{
    color: white;
}
.friendly-link span {
    cursor: pointer;
    color: white;
    height: 50px;
    display: inline-block;
    vertical-align: middle;
    margin: 0px 20px;
    line-height: 50px;
}
.friendly-link {
    text-align: left;
}
.foot-top .search-input{
    width: 150px;
}
.foot-top .search-box{
    margin-top: -40px;
    margin-right: -20px;
}
.swiper-pagination {
    display: flex;
    gap: 1px;
    justify-content: flex-end;
    padding: 10px 0;
    height: 40px;
  }
  
.swiper-pagination-number {
width: 25px;
height: 25px;
line-height: 25px;
text-align: center;
background: rgba(0,0,0,0.3);
color: white;
cursor: pointer;
transition: background 0.3s;
}

.swiper-pagination-number.active {
background: #940809;
}
.search-hidden{
    overflow: hidden;
    width: 0px;
    position: relative;
}
.search-show{
    top: -53px;
    background: white;
    border-radius: 20px;
}

@media screen and (max-width: 1920px) {
    
    /* .indexbody{
        max-width: 80%;
    }
    .news-top{
        height: 9vw;
    }
    .more-btn {
        width: 8.5vw !important;
        bottom: 1vw !important;
        right: 1.5vw !important;
    }
    .news-qigong{
        margin-top: -11%;
    } */
}
@media screen and (max-width: 1440px) {
    .news-qigong {
        margin-top: -10%;
    }
    /* .quick-links {
        grid-template-columns: repeat(6, 1fr);

    } */
}
@media screen and (max-width: 1280px) {
    .foot-top .search-box {
        margin-top: -40px !important;
        margin-right: 0px !important;
    }
    .indexbody{
        margin: 0px auto 0 auto;
        max-width: 970px;
    }
    .swiper{
        margin-top: 0px;
    }
    .banner-swiper{height: 600px;}
    .news-qigong{
        width: auto;
        margin: auto;
    }
    .news-box{
        width: 100%;
    }
    .news-top{
        width: 100%;
        /*height: calc(50vw* 1 / 2);*/
    }
    .news-slider{
        width: 100%;
        margin-top: 200px;
    }
    .news-list-container{
        float: none;
        margin-top: 20px;
        width: 100%;
    }
    .quick-links{
        height: auto;
    }
    .news-box{
        padding-bottom: 10px;
    }
    .teaching-img{
        height: auto;
    }

    .more-btn{
        width: 20vw !important;
        font-size: 2vw !important ;
        bottom: 3vw !important;
        right: 7vw !important;
    }
}
@media screen and (max-width: 1200px) {
.news-slider{
        margin-top: 0px;
    }
    
}
@media screen and (max-width: 768px) {
    .search-hidden{
    width: 183px;
    }
    .search-show{
        display: none;
    }
    .foot-top{position: relative;}
    .foot-top .search-box{
        position: absolute;
        left: 50%;
        top: -5px;
        transform: translateX(-40%);
        width: 200px;
    }
    .friendly-link{
        margin-top: 60px;
        width: 100% !important;
        left: 0px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        }
    .banner-swiper{
        height: 300px;
    }
    .news-slider{
        height: auto;
    }
    .more-btn{
        width: 30vw !important;
    }
    .news-list-container{
        display: flow-root;
    }
    .news-tabs{
        width: 100%;
    }
    .quick-links{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        width: 90%;
        margin: auto;
        margin-top: 20px;
    }
    .quick-link{
        flex: 1 1 18%;
        margin: 1%;
        border-bottom: 0px;
    }
    .quick-links::after{
        width: 0;
    }
    .intro-header,.teaching-header,.affairs-header{
        width: 40% !important;
    }
    .teaching-grid{
        display: block;
    }
    .teaching-item{
        margin: 10px;
    }
    .affairs-container{
        margin-top: -320px;
        padding: 250px 0 30PX 0;
    }
    .grid-item{
        width: auto;
    }
    .news-list-container{
        margin-top: 10px;
    }
}
@media screen and (max-width: 768px) {
    .news-title{max-width: 60%;}
    .news-date{width: 30%;}
}
@media screen and (max-width: 420px) {
    .news-title{
        max-width: 60%;
    }
}
@media screen and (max-width: 200px) {

}