* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    /* line-height: 1.6; */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 1400px;
    margin: 0 auto;
    height: 100%;
}

.top-bar {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    padding: 10px 0;
    color: #666;
}

.top-bar .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header {
    background: url('../img/headerbg.png') no-repeat center center;
    background-size: cover;
    height: 340px;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    width: 100%;
}

.logo {
    height: 100px;
    margin-right: 20px;
}

.header-titles {
    display: flex;
    gap: 20px;
    color: #fff;
}

.sub-title {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 4px;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}

.nav {
    background-color: #e60000;
    height: 60px;
}

.nav-list {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.nav-list li {
    height: 100%;
}

.nav-list li a {
    width: 178px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    height: 100%;
}

.nav-list li a:hover,
.nav-list li a.active {
    background-color: #cc0000;
}

.main-content {
    background-color: #fff;
    padding: 20px 0;
    margin-top: 10px;
    margin-bottom: 20px;
}

.headline-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: #F5F5F5;
    height: 90px;
    background-image: url('../img/tt.png');
    background-repeat: no-repeat;
    background-position: 0px -10px;
    background-size: auto 90px;
}

.headline-tag {
    
}

.headline-section h1 {
    font-size: 24px;
    color: #e60000;
    flex: 1;
    text-align: center;
}

.banner {
    margin-bottom: 20px;
}



.study-section {
    background-color: #fff8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    background-image: url('../img/xbg.png');
    background-size: 100% 100%;
    margin-bottom: 20px;
}

.study-box {
    display: flex;
    align-items: center;
}

.study-section a {
    font-size: 14px;
    color: #d37d34;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.study-section a img{
    margin-right: 5px;
}

.study-links {
    flex: 1;
    display: flex;
    gap: 30px;
}

.study-links a {
    color: #d6833a;
    font-size: 14px;
}

.news-grid,
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.news-box {
    border-top: 2px solid #e60000;
}

.box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 10px;
}

.box-title {
    font-size: 18px;
    color: #e60000;
    font-weight: bold;
    position: relative;
    padding-left: 10px;
}

.box-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background-color: #e60000;
}

.more {
    font-size: 12px;
    color: #999;
}

.news-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    padding-left: 15px;
}

.news-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #e60000;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.card {
    height: 170px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img a {
    display: block;
    width: 100%;
    height: 100%;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-wechat {
    background: linear-gradient(135deg, #cc0000, #ff4d4d);
    flex-direction: column;
    color: #fff;
}

.card-icon {
    width: 50px;
    margin-bottom: 5px;
}

.card-text {
    font-size: 24px;
    font-weight: bold;
}

.campus-gallery {
    margin-bottom: 30px;
    border-top: 2px solid #e60000;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.gallery-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border: 1px solid #eee;
}

.slogan-banner {
    margin-bottom: 30px;
    border-radius: 4px;
}

.link-selects {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 30px;
}

.link-selects select {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
}

.link-dropdown {
    flex: 1;
    position: relative;
}

.link-dropdown-trigger {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    user-select: none;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
    overflow: hidden;
}

.link-dropdown-trigger:hover {
    border-color: #bf000a;
    color: #bf000a;
}

.link-arrow {
    font-size: 10px;
    margin-left: 6px;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.link-dropdown:hover .link-arrow {
    transform: rotate(180deg);
}

.link-dropdown-panel {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    min-width: 100%;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 999;
    padding: 6px 0 10px;
    max-height: 280px;
    overflow-y: auto;
    /* 透明底部间距，防止鼠标移动时面板消失 */
    margin-bottom: 0;
    padding-bottom: 10px;
    /* 用伪元素桥接触发器与面板之间的间隙 */
}

.link-dropdown:hover .link-dropdown-panel {
    display: block;
}

/* 在触发器下方/上方创建透明桥接区，防止鼠标快速移动时 hover 断开 */
.link-dropdown-panel::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.link-dropdown-panel a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    color: #444;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.link-dropdown-panel a:hover {
    background: #f5f0f0;
    color: #bf000a;
}

.footer {
    background-color: #a00;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    margin-top: 15px;
}

.footer-logo img {
    height: 40px;
}

.footer p {
    color: #eee;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.mySwiper .swiper {width: 100%; height:515px}
.mySwiper .swiper-slide{ background:#bf000a}
.mySwiper .swiper-slide img {display: block;max-width: 100%;height: 515px; margin:0 auto}
.mySwiper .swiper-pagination-bullet{ background:#fff!important; width:26px!important;height:26px!important; border-radius:50%!important; line-height:26px; font-size:16px; text-align:center}
.min_pixx{ position: relative; width:100%}
.min_pixx img{height:515px; display:block}
.min_pixx a{ color:#fff}
.min_text{width:calc(100% - 40px); padding:0 20px;position:absolute; left:0; bottom:0; text-align:left;font-size:18px; line-height:50px;background:rgb(0,0,0,0.5);}
.min_text a{ color:#fff}
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after, .swiper-button-prev:after, .swiper-rtl .swiper-button-next:after{ display:none}
.swiper-button-prev {margin: 10px; border-radius: 50%; transition:background-color 0.2s; width: 50px!important; height: 50px!important; position: absolute; cursor: pointer; left:0; top:200px}
.swiper-button-next {margin: 10px; border-radius: 50%; transition:background-color 0.2s; width: 50px!important; height: 50px!important; position: absolute; cursor: pointer; right:0; top:200px}
.swiper-button-prev:hover {background-color: rgba(255, 255, 255, 0.1);}
.swiper-button-next:hover {background-color: rgba(255, 255, 255, 0.1);}
.swiper-button-next::before {border-style: solid; border-color: rgb(255, 255, 255); left: 50%; top: 50%; width: 15px; height: 15px; position: absolute; content: ""; transform: translate(-30%, -50%) rotate(45deg);}
.swiper-button-prev::before {border-style: solid; border-color: rgb(255, 255, 255); left: 50%; top: 50%; width: 15px; height: 15px; position: absolute; content: ""; transform: translate(-30%, -50%) rotate(45deg);}
.swiper-button-prev::before {border-width: 0px 0px 2px 2px;}
.swiper-button-next::before {border-width: 2px 2px 0px 0px; transform: translate(-70%, -50%) rotate(45deg);}


.swiper-pagination{ text-align:right!important}
