/* 禁用背景页面滚动并补偿滚动条宽度 */
.no-scroll {
    overflow: hidden;
    padding-right: calc(100vw - 100);
}

.bar-box {
    margin-top: 20px;
}

.ugc-tabbar {
    margin-top: 20px;
    font-family: Urbanist, Urbanist;
}

.bar-active {
    color: #222222;
    font-size: 12px;
}
.kol-banner{
    margin:20px 0 32px;
}
.ugc-title {
    font-family: Urbanist, Urbanist;
    font-weight: 600;
    font-size: 28px;
    color: #000000;
    line-height: 34px;
    text-align: center;
    font-style: normal;
    width: 100%;
}
.ugc-text{
    margin: 12px auto 24px;
    text-align: center;
    max-width: 900px;
}
.ugc-btn{
    text-align: center;
    padding-bottom: 48px;
    border-bottom: 1px dashed #d9d9d9;
}
.ugc-btn .btn{
    color: #fff;
    background: #000;
    padding: 10px 32px;
    border-radius: 32px;
    font-size: 16px;
    line-height: 16px;
}


/* 表单样式 */
.overlay-form-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    z-index: 999;
}

#hidden-wpform-apply {
    width: 45%;
    margin: auto;
    padding: 0px 20px;
    margin-top: 50px;
    background-color: white;
    border-radius: 6px;
    font-family: 'Urbanist';
}
#hidden-wpform-apply .wpforms-field-container{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#hidden-wpform-apply .wpforms-submit-container{
    text-align: center;
}
#hidden-wpform-apply .wpforms-submit-container .wpforms-submit{
    color: #fff;
    background: #000;
    padding: 12px 32px;
    font-size: 16px;
    line-height: 16px;
    border-radius: 32px;
}


#btn-close {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 5%;
    right: 20%;
    cursor: pointer;
    border: 0;
    padding: 0;
    background: transparent;
    display: none;
    z-index: 1000;
    border-radius: 8px;
}

#btn-close:hover {
    transform: scale(1.2);
}

/* 评论模块 */
.re-block-title {
    width: 100%;
    font-family: Urbanist, Urbanist;
    font-weight: 600;
    font-size: 28px;
    color: #000000;
    line-height: 34px;
    text-align: center;
    font-style: normal;
    margin-top: 20px;
    margin-bottom: 35px;

}

.re-box {
    width: 100%;
    margin-bottom: 25px;
}

.re-1 {
    width: 100%;
    display: flex;
    margin-top:20px;
}

.re-1:first-child {
    margin-top: 0px;
}

.re-left {
    width: 22%;
    margin-right: 3%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.up {
    width: 100%;
    display: flex;
    margin-top: 12px;
    justify-content: space-between;
}

.name {
    font-family: Urbanist, Urbanist;
    font-weight: 600;
    font-size: 14px;
    color: #000000;
    line-height: 17px;
    text-align: left;
    margin-bottom: 8px;
}

.source {
    font-family: Urbanist, Urbanist;
    font-weight: 400;
    font-size: 12px;
    color: #666666;
    line-height: 14px;
    text-align: left;
    margin-bottom: 0px;
}

.avatar {
    width: 30px;
    height: 30px;
}

.re-title {
    font-family: Urbanist, Urbanist;
    font-weight: 600;
    font-size: 20px;
    color: #000000;
    line-height: 24px;
    text-align: left;
    margin-top: 25px;
    margin-bottom: 0px;
}

.re-txt {
    font-family: Urbanist, Urbanist;
    font-weight: 400;
    font-size: 12px;
    color: #000000;
    line-height: 20px;
    text-align: left;
    margin-top: 15px;
    ;
    margin-bottom: 0px;
}

.re-date {
    font-family: Urbanist, Urbanist;
    font-weight: 400;
    font-size: 12px;
    color: #666666;
    line-height: 14px;
    text-align: left;
    margin-top: 24px;
}

/* 轮播区 */
.carousel-container {
    position: relative;
    width: 75%;
    margin: 0 auto;
    /* 居中显示 */
}

.re-right {
    width: 100%;
    overflow: hidden;
}

.img-list {
    display: flex;
    width: 100%;
    height: 300px;
    transition: transform 0.5s ease-in-out;
}

.re-item {
    height: 100%;
    object-fit: cover;
    margin-right: 8px;
    box-sizing: border-box;
    cursor: pointer;
    flex-shrink: 0;
}

.carousel-control-next,
.carousel-control-prev {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    border-radius: 50%;
}

.carousel-control-next {
    right: 10px;
}

.carousel-control-prev {
    left: 10px;
    display: none;
}

.video-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-poster,
.play-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.play-btn {
    width: 40px;
    height: 40px;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 50%;

}

/* 遮罩层样式 */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 8888;
    text-align: center;
}

#cancel-btn {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 4%;
    right: 12%;
    cursor: pointer;
    z-index: 9999;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background: transparent;
}

#cancel-btn:hover {
    transform: scale(1.2);
}

#cancel-btn img {
    width: 100%;
    height: 100%;
}

#enlarged-img {
    max-width: 90%;
    max-height: 90%;
    margin-top: 50px;
}

.disable-scroll {
    overflow: hidden;
}

.hidden {
    display: none;
}




/* 针对768px及以下屏幕的样式 */
@media screen and (max-width: 768px) {
    .main-page-wrapper {
        margin-left: 10px;
        margin-right: 10px;
    }

    .ugc-title {
        font-size: 20px;
    }

    /* 表单 */
    #hidden-wpform-apply,
    #hidden-wpform-upload {
        width: 100%;
    }

    #btn-close {
        top: 6%;
        right: 1%;
        width: 30px;
        height: 30px;
    }

    .steps-list {
        flex-direction: column;
    }

    .step {
        width: 100%;
        height: auto;
    }

    .step-title {
        font-size: 14px;
        margin-top: 0px;
        margin-bottom: 0px;
        font-family: Urbanist, Urbanist;
        font-weight: 600;
        font-style: normal;
    }

    .step-icon {
        transform: rotate(90deg);
    }

    .step-icon-3 {
        display: block;
    }

    .re-block-title {
        margin-top: 24px;
        margin-bottom: 16px;
    }

    .re-box {
        display: block;
        margin-bottom: 25px;
    }

    .re-title {
        margin-top: 0px;
    }

    .re-left {
        width: 100% !important;
        margin-bottom: 0px;
    }

    .name {
        margin-bottom: 10px;
    }

    .avatar {
        width: 20px;
        height: 20px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        display: none !important;
    }

    .re-date {
        margin-top: 0px;
    }

    .re-1 {
        height: auto;
        flex-direction: column;
    }

    .carousel-container {
        width: 100%;
    }

    .re-item {
        width: 85% !important;
    }

    .video-item {
        width: 85% !important;
    }

    #enlarged-img {
        margin-top: 20%;
    }

    #cancel-btn {
        right: 0%;
        width: 30px;
        height: 30px;
    }

    .up {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .down {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid #D9D9D9;
        padding: 10px 0px;
        margin-top: 20px;
    }
    .e-con>.e-con-inner {
        height: auto !important;
    }
}