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

.wrapper {
    display: flex;
    flex-direction: column;

    &:global(.desktop-width) {
        width: 384px;
    }

    &:global(.tablet-width) {
        width: 357px;
    }

    &:global(.mobile-width) {
        width: 296px;

        &:not(:last-child) {
            margin-right: 12px;
        }
    }

    .column {
        height: 156px;
        overflow: hidden;

        .release-date {
            color: $gray60;
            padding-top: 3px;
        }

        p {
            margin-top: 0;
            margin-bottom: 6px;

            &:not(:first-of-type) {
                margin-top: 18px;
            }

            b {
                font-size: 16px;
                line-height: 24px;
            }
        }

        ul {
            list-style-type: disc;
            margin: 0 0 0 6px;

            li {
                font-size: 16px;
                padding-left: 12px;
            }
        }
    }

    .button-wrapper {
        display: flex;
        padding-left: 36px;
    }

    @media (max-width: 768px) {
        .column {
            height: 178px;
            overflow: hidden;

            .release-date {
                color: $gray60;
                padding-top: 3px;
            }

            h3 {
                font-size: 18px;
                margin-top: 9px;
                margin-bottom: 6px;
            }

            p {
                margin-top: 0;
                margin-bottom: 6px;

                &:not(:first-of-type) {
                    margin-top: 18px;
                }

                b {
                    font-size: 16px;
                    line-height: 24px;
                }
            }

            ul {
                list-style-type: disc;
                margin: 0 0 0 6px;

                li {
                    font-size: 14px;
                    line-height: 18px;
                    padding-left: 12px;
                    margin-bottom: 6px;
                }
            }
        }

        .button-wrapper {
            display: flex;
            padding-left: 36px;
        }
    }
}
