/* 最外层容器：居中 + 隐藏溢出 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}
.lunbo-box {
    width: 100%;
    position: absolute;
    bottom: 190px;
}
.lunbo_btn {
    width: 300px;
    height: 80px;
    position: absolute;
    bottom: 100px;
    cursor: pointer;
    transition: transform 0.3s ease;
    transform-origin: center;
}
.lunbo_btn:hover {
    transform: scale(1.05);
}
.carousel-container {
    width: 90%;
    max-width: 1760px;
    margin: 0px auto 0px;
    padding-bottom: 100px;
    overflow: hidden;
    position: relative;
}

/* 轮播轨道：平滑滚动 */
.carousel-wrapper {
    display: flex;
    transition: transform 0.45s ease;
}

/* 核心：一屏3个，宽度精确计算 */
.carousel-item {
    flex: 0 0 calc(100% / 3);
    padding: 0 8px; /* 卡片间距，不影响居中 */
}

/* 卡片样式 */
.carousel-card {
    display: block;
    background: #fff;
    border-radius: 20px;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /*text-align: center;*/
}

.carousel-img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    display: block;
}

.carousel-text {
    padding: 34px 30px;
}

.carousel-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
    color: #333;
    /*width: 490px;*/
    /*overflow: hidden;*/
    /*white-space: nowrap;*/
    /*text-overflow: ellipsis;*/
}

.carousel-desc {
    font-size: 16px;
    color: #0FA443;
    line-height: 1.45;
    text-align: right;
}

/* 左右切换按钮 */
.carousel-btn {
    position: absolute;
    /*top: 50%;*/
    bottom: 10px;
    /*transform: translateY(-50%);*/
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 1);
    color: #899a8f;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn { left: 180px; }
.next-btn { right: 180px; }

/* 小圆点 */
.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: 0.2s;
}

.dot.active {
    background: #007bff;
    transform: scale(1.2);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 100%;
    }
}