@use "components/common/_variables.scss";

.features {
    &__title {
        margin-top: 0;
        margin-bottom: variables.$spacing-l;
        box-sizing: border-box;
    }
    &__item {
        &_even {
            background: variables.$color-smooth;
        }
        &-content {
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: flex-start;
            padding: 125px 0;
            box-sizing: border-box;
        }
        &-header {
            width: 30%;
        }
        &-title {
            margin: 0 0 variables.$spacing-m;
            small {
                font-weight: variables.$font-weight-regular;
                opacity: 0.6;
            }
        }
        &-label {
            color: variables.$color-alt;
            font-size: variables.$font-size-small;
            display: inline-block;
            padding: 5px 10px;
            background: rgba(225, 237, 255, 0.7);
            border-radius: 10px;
        }
        &-list {
            width: 60%;

            list-style-type: none;
            padding: 0;
            margin: 0 0 0 auto;

            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: flex-start;

            line-height: 1.5;

            &_num {
                list-style-type: decimal;
            }
            a {
                color: variables.$color-alt;
                &:hover {
                    text-decoration: none;
                }
            }

            & > li {
                margin-bottom: variables.$spacing-l;
                width: 100%;
                @media (min-width: variables.$container-breakpoint-lg) {
                    width: 40%;
                }
                ul {
                    list-style-type: none;
                    margin: variables.$spacing-m 0 variables.$spacing-l;
                    padding: 0;
                    li {
                        opacity: 0.6;
                        font-size: variables.$font-size-small;
                        margin-bottom: variables.$spacing-m;
                    }
                }
            }
        }
    }
}
