.text-with-media-plus-section {
    background-color: rgb(var(--color-background));
}

.text-with-media-plus-section .page-width {
    position: relative; 
    overflow: hidden;
}

.text-with-media-plus-image .text-1 {
    position: relative;
    width: 24px; 
    margin-left: 15px;
    height: 100%; 
    overflow: hidden;
}

.text-with-media-plus-section .scroll-box {
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    z-index:3;
}

/* .text-with-media-plus-section .scroll-promotion-container-wrapper-content-text {
    color: var(--text_color);
} */

.text-with-media-plus{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}

.text-with-media-plus > .text-width-media-plus-textarea {
    min-width: 0;
    flex-shrink: 0; 
}

.text-with-media-plus > .text-with-media-plus-image {
    min-width: 0;
    flex-shrink: 1; 
}

.text-with-media-plus-image{
    display: flex;
    flex-direction: row;
    justify-items: center;
    align-items: center;
    order:var(--image-order);
}
.text-with-media-plus-image>div{
    grid-area: stack;
}
.text-with-media-plus-image .image-1{
    display:flex;
    width: 100%;
    height: 100%;
    flex-shrink: 1;
}
.text-with-media-plus-image .image-1 img{
    max-height: 860px;
}

.text-with-media-plus-image .image-2{
    width:50%;
    height:50%;
}

.text-width-media-plus-textarea {
    margin-top: 45px;
    margin-bottom: 56px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 80px;
    padding-right: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: var(--s-align-items);
    text-align:var(--text-align);

}
.text-width-media-plus-textarea .heading{
    margin-bottom: 20px;
    color:rgb(var(--color-text));
}

.text-width-media-plus-textarea .content{
    color:rgb(var(--color-text));
    margin-bottom: auto;
    opacity: 0.7;
}

.text-width-media-plus-textarea .bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    flex-wrap: wrap;
    margin-bottom: 1.04vw;
    border-top: 1px solid rgba(31, 31, 31, 0.1);
    padding-top: 1.46vw;
    width: 100%;
}

.text-width-media-plus-textarea .bottom-item {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.text-width-media-plus-textarea .bottom-item-title {
    font-size: 6.25vw;
    line-height: 6.25vw;
    margin-bottom: 1vw;
}

.text-width-media-plus-textarea .bottom-item-title-content {
    max-width: 13.23vw;
}

.text-width-media-plus-textarea .bottom-item-content{
    opacity: 0.8;
}

.text-width-media-plus-textarea .bottom-content{
    margin-bottom: 2.08vw;
    opacity: 0.35;
}



.text-width-media-plus-textarea .button{
    color:rgb(var(--color-button-text));
    background-color:rgb(var(--color-button-background));
}
.text-width-media-plus-textarea .button:hover{
    color: rgb(var(--color-button-secondary-text));
    background-color:rgb(var(--color-button-secondary-background));
}

@media(max-width:1024px){
    .text-with-media-plus-section .page-width {
        padding-inline-start: max(25px, calc(var(--s-padding-inline-start) - 40px));
        padding-inline-end: max(25px, calc(var(--s-padding-inline-end) - 40px));
    }

    .text-width-media-plus-textarea {
        margin: 0;
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 3.13vw;
        padding-right: 0;
    }

    .text-width-media-plus-textarea .bottom-item-title {
        font-size: 7.8vw;
        line-height: 7.8vw;
        margin-bottom: 1vw;
    }

    .text-with-media-plus-image .image-1 img {
        max-height: unset;
    }

    .text-width-media-plus-textarea .content{
        margin-bottom: 7.32vw;
    }

    .text-width-media-plus-textarea .bottom {
        padding-top: 0.78vw;
        margin-bottom: 0.98vw;
    }

    .text-width-media-plus-textarea .bottom-item-title-content {
        max-width: 18.46vw;
    }

    .text-width-media-plus-textarea .button{
    }

    .text-width-media-plus-textarea .bottom-content{
        margin-bottom: 2.93vw;
    }
}


@media(max-width:768px){
    .text-with-media-plus-section .page-width {
        padding-inline-start: var(--s-padding-inline-start);
        padding-inline-end: var(--s-padding-inline-end);
    }

    .text-with-media-plus{
        grid-template-columns: repeat(1,1fr);
    }
    .text-with-media-plus-image{
        flex-direction: column;
        order:var(--image-mobile-order);
    }

    .text-width-media-plus-textarea {
        padding-top: 10.67vw;
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .text-width-media-plus-textarea .bottom-item-title{
        font-size: 16vw;
        line-height: 16vw;
        margin-bottom: 1vw;
    }

    .text-with-media-plus-image .text-1 {
        width: 100%; 
        height: fit-content;
        margin: 0;
        margin-top: 15px;
    }


    .text-with-media-plus-section .scroll-box {
        position: relative; 
        top: 0;
        left: 0;
        transform: unset;
        z-index:3;
    }

    .text-width-media-plus-textarea .heading {
        margin-bottom: 17px;
        text-align: center;
    }

    .text-width-media-plus-textarea .content {
        text-align: center;
        margin-bottom: 11.06vw;
    }

    .text-width-media-plus-textarea .bottom {
        padding-top: 4vw;
        margin-bottom: 4vw;
    }

    .text-width-media-plus-textarea .bottom-content {
        margin-bottom: 6.4vw;
    }

    .text-width-media-plus-textarea .bottom-item-title-content {
        max-width: 43.87vw;
    }

    .text-width-media-plus-textarea .button{
    }
}