@use '~@epam/promo/assets/styles/colors.scss' as *;

.layout {
    margin: 0 auto;
    background-color: $gray10;

    .testimonials {
        display: flex;
        flex-direction: column;
        max-width: 1200px;
        width: 100%;
        flex-wrap: wrap;
        margin: 0 auto;
        padding: 60px 0;
        justify-content: space-between;

        .header {
            font-size: 30px;
            line-height: 36px;
            padding: 0;
            margin-bottom: 30px;
        }
    }

    @media (max-width: 1280px) {
        .testimonials {
            max-width: 732px;
            width: 100%;
            flex-wrap: wrap;
            margin: 0 auto;
            padding: 48px 0;
            justify-content: space-between;

            .header {
                font-size: 30px;
                line-height: 36px;
                padding: 0;
                margin-bottom: 30px;
            }
        }
    }

    @media (max-width: 768px) {
        .testimonials {
            max-width: none;
            width: inherit;
            margin: 0 12px;
            padding: 30px 0;

            .header {
                font-size: 24px;
                line-height: 30px;
                padding: 0;
                margin-bottom: 18px;
            }

            .wrapper {
                width: 100%;
                overflow: auto;

                .cell {
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                }
            }
        }
    }
}
