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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background: #f5f7fa;
}

.header {
    background: url('/zhanlan/img/title_img.jpg');
    background-size: cover;
    padding: 40px 0;
    text-align: center;
    color: #fff;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner {
    width: 100%;
    overflow: hidden;
}

.banner-swiper {
    width: 100%;
    height: 400px;
}

.banner-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

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

.banner-prev,
.banner-next {
    background: rgba(255, 255, 255, 0.8);
    color: #c0392b;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(192, 57, 43, 0.9);
    color: #fff;
}

.banner-prev::after,
.banner-next::after {
    font-size: 1.2rem;
}

.banner-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.8);
    width: 12px;
    height: 12px;
}

.banner-swiper .swiper-pagination-bullet-active {
    background: #c0392b;
}

.preface {
    padding: 50px 0;
    background: #fff;
    text-align: center;
}

.preface h2 {
    font-size: 2rem;
    color: #c0392b;
    margin-bottom: 30px;
}

.preface p {
    font-size: 1rem;
    line-height: 2;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
    text-indent: 2em;    
    margin-left: auto;
    margin-right: auto;
}

.main-content {
    padding: 50px 0;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab {
    padding: 10px 25px;
    font-size: 1rem;
    border: 2px solid #c0392b;
    border-radius: 30px;
    background: #fff;
    color: #c0392b;
    cursor: pointer;
    transition: all 0.3s;
}

.tab:hover {
    background: #c0392b;
    color: #fff;
}

.tab.active {
    background: linear-gradient(135deg, #c0392b, #a93226);
    color: #fff;
}

.subtabs-container {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.subtabs {
    display: none;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.subtabs.active {
    display: flex;
}

.subtab {
    padding: 8px 22px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.subtab:hover {
    border-color: #c0392b;
    color: #c0392b;
}

.subtab.active {
    background: linear-gradient(135deg, #c0392b, #a93226);
    border-color: #c0392b;
    color: #fff;
}

.tab-content {
    position: relative;
}

.content {
    display: none;
}

.content.active {
    display: block;
}

.swiper {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.swiper-slide {
    height: 500px;
    background: #fff;
}

.slide-content {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 30px 75px;
    flex-wrap: nowrap;
}

.slide-content img {
    width: 50%;
    height: 100%;
    object-fit: contain;
}

.slide-content .text {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.slide-content img[src=""],
.slide-content img:not([src]) {
    display: none;
}

.slide-content img[src=""] + .text,
.slide-content img:not([src]) + .text {
    width: 100%;
}

.slide-content h3 {
    font-size: 1.6rem;
    color: #c0392b;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

.swiper-button-prev,
.swiper-button-next {
    background: linear-gradient(135deg, #c0392b, #a93226);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}



.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #e74c3c;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1.2rem;
}

/*.footer {
    background: #1a1a2e;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

.footer p {
    opacity: 0.8;
}*/
.slide-content h4 {
    font-size: 1rem;
    color: #c0392b;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .slide-content {
        flex-direction: column;
    }
    
    .slide-content img {
        width: 100%;
        height: 200px;
    }
    
    .slide-content .text {
        width: 100%;
        padding: 20px;
    }
    
    .swiper-button-prev {
        left: 10px;
    }
    
    .swiper-button-next {
        right: 10px;
    }
}