/* 轮播图 */
.carousel_x {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-inner_x {
    display: flex;
    transform: translateX(-10%);
    transition: transform 0.5s ease-in-out;
    box-sizing: border-box;
}

.carousel-item_x {
    flex: 0 0 50%;
    transform: translateX(-50%);
    overflow: hidden;
    margin-right: 10px;
}

.carousel-item_x:last-child {
    margin-right: 0;
    /* 最后一张图片不需要间隙 */
}

.carousel-item_x img {
    width: 100%;
    display: block;
}

.dv_test {
    background-color: #fff;
    height: 4rem;
    padding-top: 0.8rem;
}
.kdw {
    height: 6rem;
    background-color: #fff;
    font-size: 1rem;
    padding: 0 5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.right_t,
.error {
    width: 1.5rem;
    height: 1.5rem;
    text-align: center;
    line-height: 1.5rem;
    border-radius: 1.5rem;
    background-color: rgb(115, 255, 0);
    color: #fff;
    margin-right: 1rem;
}

.error {
    background-color: #fac832;
}

.container_x {
    position: absolute;
    top: 42%;
    left: 11%;
    font-family: "Microsoft Yahei", sans-serif;
}

.nav-container_x {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.nav-item_x {
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 8px; */
    cursor: pointer;
    width: 110px;
    height: 110px;
    text-align: center;
    transition: 0.3s;
    border: 3px solid #e0e0e096;
    border-radius: 110px;
    color: #e0e0e096;
    position: relative;
    font-size: 1rem;
}

.nav-item_x.active_x {
    border-color: #fff;
    color: #fff;
}

/* 新增三角形样式 */
.triangle {
    position: absolute;
    bottom: -30px;
    /* 定位到导航项底部下方 */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 15px solid #ffffff;
    opacity: 0;
    transition: 0.3s;
}

.nav-item_x.active_x .triangle {
    opacity: 1;
}

.nav-text {
    font-weight: bold;
    color: #666;
}

.content {
    padding: 20px;
    min-height: 100px;
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

.content-text {
    display: none;
    color: #fff;
    font-size: 1.2rem;
}

.content-text.active_x {
    display: block;
}