/* 轮播图核心样式 - 正常文档流排列 */
#carousel {
    position: relative !important; /* relative定位，正常文档流 */
    top: 0 !important;
    left: 0 !important;
    height: calc(100vw * 550 / 1920);
    max-height: 550px !important;
    overflow: hidden;
    touch-action: pan-y;
    width: 100% !important;
    box-sizing: border-box;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100vw;
    background: #c6c6c6 !important; /* 灰色背景 */
    z-index: 1 !important;
    transform: none !important;
    line-height: 0 !important;
    font-size: 0 !important;
    border: none !important;
}

/* 响应式适配 - 移动端 */
@media (max-width: 768px) {
    #carousel {
        top: 0 !important;
        height: calc(100vw * 550 / 1920);
        max-height: 550px;
    }
    .carousel-dots {
        width: 150px;
        bottom: 15px;
    }
    .dot {
        height: 5px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    #carousel {
        top: 0 !important;
        height: calc(100vw * 550 / 1920);
        max-height: 550px;
    }
}

/* 关键修复：关于朗芯正常文档流排列 */
#about-us.langxin-about {
    margin-top: 0 !important;
    padding-top: 80px !important;
    margin-bottom: 0 !important;
    position: relative;
    z-index: auto;
}
@media (max-width: 768px) {
    #about-us.langxin-about {
        margin-top: 0 !important;
        padding-top: 60px !important;
    }
}
@media (max-width: 480px) {
    #about-us.langxin-about {
        margin-top: 0 !important;
        padding-top: 40px !important;
    }
}

/* 轮播容器 */
.carousel-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(0);
    flex-wrap: nowrap;
}

/* 轮播项 */
.carousel-item {
    width: 100%;
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c6c6c6;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    max-width: 100%;
    max-height: 100%;
    display: block;
    line-height: 0;
    border: none;
}

/* 轮播指示器 */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 8px;
    z-index: 10;
    width: 200px;
}

.dot {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dot.active {
    background: #fff !important;
    opacity: 1;
}