#reviews {

    position: relative;
    display: grid;
    gap: 60px;

    @media only screen and (max-width: 980px) {

    }  
    
    .containment {
        width: 100vw;
        max-width: 1140px;
        margin: auto;
        position: relative;
		
		@media only screen and (max-width: 980px) {
			max-width: 100%;
		}  
    }

    .heading {
        @media only screen and (max-width: 980px) {
            grid-template-columns: 1fr;
            gap: 10px;
        }           

        h2 {
            width: 100%;
        }

        .split {
            &:nth-child(1) {
                text-align: left;
            }

            &:nth-child(2) {
                text-align: center;
            }
            
            &:nth-child(3) {
                text-align: right;
            }                           
        }

        .desc {
            font-size: 32px;
            max-width: 900px;
            color: #fff;
            margin-inline: auto;            
        }

        .sep {
            width: 480px;
            background-image: linear-gradient(90deg, transparent, rgba(255,255,255,0.15) 25% 75%, transparent);
            height: 1px;
            margin-inline: auto;
            margin-block: 50px;


            @media only screen and (max-width: 980px) {
                width: 100%;
            }               
        }
    }

    .list {
        gap: 20px;
        display: flex;
        overflow-x: scroll;
        overflow: hidden;
        scroll-snap-type: y mandatory;

        @media only screen and (max-width: 980px) {
            gap: 0px;
        }  


        .item {
            background: var(--background-color-1);
            box-shadow: var(--shadow-2);
            width: 33.333%;
            flex-shrink: 0;
            padding: 35px 50px 35px 50px;
            box-sizing: border-box;
            position: relative;
            display: grid;
            gap: 15px;
            border-radius: 10px;
            
            @media only screen and (max-width: 980px) {
                flex-basis: 100%;
                width: 100%;
            }  

            &.active {
                box-shadow: 0px 0px 0px 1px var(--color-primary);
            }
            
            .wrap {
                display: grid;
                grid-template-columns: auto 1fr;
                gap: 15px;
                align-items: center;
                height: fit-content;
                align-self: end;
            }

            .text {
                font-size: 22px;
            }

            .author {
                font-weight: 500;
                font-size: 24px;
                line-height: 32px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                cursor: pointer;
                color: var(--color-lightn);
                position: relative;
                transition: all 0.3s;
            }

            .position {
                font-size: 12px;
                font-weight: 600;
                text-transform: uppercase;
                color: var(--color-primary);
            }

            img {
                width: 55px;
                height: 55px;
                object-fit: cover;
                border-radius: 50%;
            }
        }
    }

    .list-wrap {
        position: relative;
        overflow: hidden;
    }

    .control {
        cursor: pointer;
        line-height: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto;
        background: var(--color-primary);
        width: 42px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: #fff;
        z-index: 9;

        &.prev {
            left: 0;
            border-top-right-radius: 30px;
            border-bottom-right-radius: 30px;
        }

        &.next {
            right: 0;
            border-top-left-radius: 30px;
            border-bottom-left-radius: 30px;                
        }               
    }

}
