/* 通用样式 - 用于所有风格页面 */
/* 版本1.0 - 包含所有通用修改 */

/* 微信二维码样式 - 黑色文字居中 */
.wechat-qr {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
}

.wechat-qr p {
    color: #000000 !important;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

.wechat-qr img {
    width: 150px;
    border-radius: 8px;
    border: 2px solid #ddd;
    margin-bottom: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* 备案信息样式 */
.icp-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

/* 导航栏防换行设置 */
.nav-links {
    display: flex;
    list-style: none;
    gap: 18px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 10px;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links a {
    white-space: nowrap;
    font-size: 15px;
    padding: 8px 12px;
    flex-shrink: 0;
}

/* 轮播图响应式设置 - 1024px*439px */
.carousel-section {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

@media (min-width: 1200px) {
    .carousel-section {
        height: 439px;
        max-width: 1024px;
    }
}

@media (max-width: 1199px) {
    .carousel-section {
        height: 439px;
    }
}

@media (max-width: 1024px) {
    .carousel-section {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .carousel-section {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .carousel-section {
        height: 250px;
    }
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 轮播图容器响应式 */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1024px;
    margin: 0 auto;
}

/* 隐藏轮播图箭头（通用） */
.carousel-controls {
    display: none;
}