/*banner区域开始*/
.banner {
    width: 100%;
    height: 450px;
    background-color: #f8f8f8;
    /* 备用背景色 */
    background-image: url('http://www.rcrzj.com/template/pc/skin/images/index_banner11_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0;
    margin-top: 68px;
}

/* 内容容器 - 限制最大宽度并居中 */
.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

/* 左侧内容区域 */
.banner-content {
    flex: 1;
    padding-right: 50px;
}

.banner-title {
    font-size: 42px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-desc {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
}

.consult-btn {
    display: inline-block;
    padding: 14px 36px;
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.consult-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 右侧图片区域 */
.banner-image {
    flex: 1;
    min-height: 350px;
    /* 改为min-height确保内容足够显示 */
    background-image: url('http://www.rcrzj.com/template/pc/skin/images/index_banner1.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
    .banner {
        padding: 50px 0;
        text-align: center;
        height: 430px;
        margin: auto;
    }

    .banner-container {
        flex-direction: column;
        padding: 0 15px;
    }

    .banner-content {
        padding-right: 0;
        margin-bottom: 0;
        /* 移除原来的margin-bottom */
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .banner-title {
        font-size: 32px;
        text-align: center;
    }

    .banner-desc {
        font-size: 16px;
        text-align: center;
        max-width: 100%;
    }

    .banner-image {
        width: 100%;
        min-height: 170px;
        /* 确保图片区域高度 */
        margin-top: 0;
        /* 移除原来的margin-top */
        background-size: contain;
        /* 保持图片完整显示 */
        order: 2;
        /* 确保图片在下方显示 */
        background-size: 65%;
    }

    .consult-btn {
        padding: 12px 30px;
    }
}


/*banner区域结束*/



/*主体部分开始*/
/* 基础样式 */
.substation-container {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Tab导航 */
.tab-nav {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #1890ff;
    border-bottom-color: #1890ff;
}

.tab-btn:hover {
    color: #1890ff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 热门区域 */
.hot-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background-color: #1890ff;
    border-radius: 2px;
}

.hot-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hot-item {
    display: inline-block;
    padding: 8px 20px;
    background-color: #f5f5f5;
    border-radius: 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hot-item:hover {
    background-color: #1890ff;
    color: #fff;
}

/* 区域选择 */
.region-section {
    margin-bottom: 50px;
}

/* 国内分站样式 */
.province-container {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.province-list {
    width: 200px;
    background-color: #f9f9f9;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
    max-height: 500px;
}

.province-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #e0e0e0;
}

.province-item:last-child {
    border-bottom: none;
}

.province-item:hover {
    background-color: #f0f0f0;
}

.province-item.active {
    background-color: #1890ff;
    color: #fff;
}

.city-list {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    max-height: 500px;
}

.city-group h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e0e0e0;
}

.city-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.city-item {
    display: inline-block;
    padding: 6px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.city-item:hover {
    color: #1890ff;
    background-color: #e6f7ff;
}

/* 国际分站样式 */
.continent-container {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.continent-list {
    width: 120px;
    background-color: #f9f9f9;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
    max-height: 500px;
}

.continent-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #e0e0e0;
}

.continent-item:last-child {
    border-bottom: none;
}

.continent-item:hover {
    background-color: #f0f0f0;
}

.continent-item.active {
    background-color: #1890ff;
    color: #fff;
}

.country-list {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    max-height: 500px;
}

.country-group h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e0e0e0;
}

.country-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.country-item {
    display: inline-block;
    padding: 6px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.country-item:hover {
    color: #1890ff;
    background-color: #e6f7ff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tab-btn {
        padding: 10px 15px;
        font-size: 16px;
    }

    .hot-item {
        padding: 6px 15px;
        font-size: 14px;
    }

    .province-container,
    .continent-container {
        flex-direction: column;
    }

    .province-list,
    .continent-list {
        width: 100%;
        max-height: 150px;
        display: flex;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .province-item,
    .continent-item {
        flex: 1;
        min-width: 80px;
        text-align: center;
        padding: 10px 5px;
        font-size: 14px;
    }

    .city-list,
    .country-list {
        max-height: none;
    }

    .city-group h3,
    .country-group h3 {
        font-size: 16px;
    }

    .city-item,
    .country-item {
        padding: 5px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .tab-nav {
        justify-content: center;
    }

    .hot-list {
        justify-content: center;
    }

    .province-item,
    .continent-item {
        min-width: 70px;
        font-size: 13px;
    }
}

/*主题部分结束*/