.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
}

.carousel-wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
    /* 与轮播图高度一致 */
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease;
    width: 300%; /* 确保轮播图宽度足够显示3张图片 */
}

.carousel-item {
    min-width: 33.333%; /* 3张图片时每张占1/3 */
    width: 33.333%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.carousel-image {
    width: 100%;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.carousel-item-footer {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    color: #1D1D1F;
    text-align: left;
}

.carousel-title {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 10px;
}

.carousel-subtitle {
    font-weight: 400;
}

.carousel-controls {
    display: flex;
    gap: 15px;
}

.carousel-control {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.carousel-control:hover {
    background-color: rgba(255, 255, 255, 1);
}

.carousel-control img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.carousel-control.prev img {
    transform: rotate(180deg);
}