/* 自定义样式 - 红色主色调 */
body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    background: #fff url("../tplimg/body-bg.jpg") repeat left top;
}

/* 头部样式 */
.banner {
width: 100%;
}


/* 导航栏样式 */
.navbar-custom {
    background-color: #c41e3a;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
    position: relative;
}

.navbar-nav-wrapper {
    position: relative;
    overflow: hidden;
}

.navbar-custom .navbar-nav {
    width: 100%;
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 0.3s ease;
}

.navbar-custom .navbar-nav > li {
    flex: 1;
    text-align: center;
    white-space: nowrap;
    min-width: 0;
}

.navbar-custom .navbar-nav > li > a {
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 15px 10px;
    border-right: 1px solid rgba(255,255,255,0.2);
    display: block;
    text-align: center;
    text-decoration: none;
}

.navbar-custom .navbar-nav > li:last-child > a {
    border-right: none;
}

.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus {
    background-color: #a01729;
    color: white;
    text-decoration: none;
}

.navbar-custom .navbar-nav > .active > a {
    background-color: #a01729;
    color: white;
}

/* 滑动箭头提示 */
.nav-scroll-indicator {
    position: absolute;
    font-size: 2rem;
    right: 0;
    top: 0;
    background-image: linear-gradient(to left, rgba(138, 0, 0, 0.8), transparent);
    width:45px;
    padding-right: 10px;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: right;
    z-index: 10;
}

.scroll-arrow {
    color: white;
    font-weight: bold;
}

/* 主要内容区域 */
.main-content {
    margin-bottom: 30px;
}

/* 轮播图样式 */
.swiper-container {
    width: 100%;
    height: 420px;
    border: 2px solid #ddd;
    position: relative;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    font-size: 18px;
    color: #333;
    position: relative;
}

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

/* 轮播图底部标题样式 */
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px 15px 15px;
    color: white;
}

.slide-caption a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    display: block;
}

.slide-caption a:hover {
    color: #fff;
    text-decoration: underline;
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0,22L22,0l2.1,2.1L4.2,22l19.9,19.9L22,44L0,22L0,22L0,22z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
  background-image: url("data: image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E %3Cpath d='M27,22L27,22L5,44l-2.1-2.1L22.8,22L2.9,2.1L5,0L27,22L27,22z' fill='%23ffffff' /%3E %3C/svg%3E");
}

/* 右侧栏目切换 */
.tab-section {
    border: 2px solid #ddd;
    height: 420px;
    background-color: #fff;
}

.tab-nav {
    font-size: 16px;
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.tab-nav-item {
    flex: 1;
    padding: 12px;
    text-align: center;
    background-color: #f8f9fa;
    border-right: 1px solid #ddd;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.tab-nav-item:last-child {
    border-right: none;
}

.tab-nav-item:hover,
.tab-nav-item.active {
    background-color: #c41e3a;
    color: white;
}

.tab-content {
    padding: 20px;
    height: calc(100% - 50px);
    overflow-y: auto;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}
#intro p{ 
    line-height: 1.8;
}
/* 内容板块样式 */
.content-section {
    margin-bottom: 30px;
}

.section-title {
    background-color: #c41e3a;
    color: white;
    padding: 15px;
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
}

.section-content {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 20px;
    min-height: 200px;
}

.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-list li {
    padding: 8px 0;
    border-bottom: 1px dotted #ddd;
    position: relative;
    padding-left: 20px;
}

.content-list li:before {
    content: "•";
    color: #c41e3a;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.content-list li:last-child {
    border-bottom: none;
}

.content-list a {
    color: #333;
    text-decoration: none;
}

.content-list a:hover {
    color: #c41e3a;
    text-decoration: underline;
}

.more-link {
    width:50%;
    text-align: center;
    margin: 10px auto 0;
    padding: 10px 0;
    background: #ffefd2;
border-radius:25px;
}

.more-link a {
    display: inline-block;
    width: 100%;
    color: #b5790d;
    text-decoration: none;
    font-size: 14px;
}

.more-link a:hover {
    text-decoration: underline;
}
.subscription p{margin-bottom: 12px;}

/* 友情链接样式 */
.friendly-links {
    margin: 0 0 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.links-title {
    color: #c41e3a;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #c41e3a;
}

.links-content {
    line-height: 1.8;
}

.links-content a {
    display: inline-block;
    color: #666;
    text-decoration: none;
    margin-right: 20px;
    margin-bottom: 8px;
    padding: 3px 8px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.links-content a:hover {
    color: #c41e3a;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 底部信息 */
.footer-info {
    padding: 20px;
    margin: 3% 0 5%;
    text-align: center;
}

.footer-info-item {
    display: inline-block;
    margin: 0 20px;


}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 32px;
        letter-spacing: 4px;
    }
    
    /* 移动端导航栏水平滑动 */
    .navbar-nav-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .navbar-nav-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    .navbar-custom .navbar-nav {
        flex-wrap: nowrap;
        width: auto;
        min-width: 100%;
    }
    
    .navbar-custom .navbar-nav > li {
        flex: 0 0 auto;
        min-width: 80px;
        text-align: center;
    }
    
    .navbar-custom .navbar-nav > li > a {
        padding: 12px 15px;
        font-size: 14px;
        border-right: 1px solid rgba(255,255,255,0.2);
        white-space: nowrap;
    }
    
    .navbar-custom .navbar-nav > li:last-child > a {
        border-right: none;
    }
    
    /* 显示滑动箭头提示 */
    .nav-scroll-indicator {
        display: flex;
    }

    
    .swiper-container {
        height: 200px;
    }
    
    .tab-section {
        height: 250px;
        margin-top: 20px;
    }
    
    .footer-info-item {
        display: block;
        margin: 10px 0;
        min-width: auto;
    }
    
    /* 移动端友情链接样式 */
    .friendly-links {
        margin: 20px 0 15px 0;
        padding: 15px;
    }
    
    .links-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .links-content a {
        margin-right: 15px;
        margin-bottom: 6px;
        font-size: 14px;
    }
}