/* Content Area Styles
----------------------------------------------- */

.module--content-area {
    @include flat() {
        border-bottom: 1px solid $mercury;

        .container {
            max-width: 1440px;

            @include tablet() {
                padding: 0;
            }
        }
    }

    @include material() {
        overflow: hidden;
        padding: 15px 0;
        position: relative;

        &::before {
            box-shadow: $box-shadow-material;
            content: '';
            height: 20px;
            left: 0;
            position: absolute;
            top: -20px;
            width: 100%;
        }

        @include tablet() {
            padding: 30px 0;
        }
    }
}

.content-area {
    &__content {
        @include tablet() {
            .content-area--image-right & {
                @include flat() {
                    padding-left: 60px;
                }
            }

            .content-area--image-left & {
                @include flat() {
                    padding-right: 60px;
                }
            }
        }
        .content-area--single & {
            @include material() {
                padding: 30px 0;
            }
        }

        &-lead {
            @include tablet() {
                padding: 0 60px;
            }
        }
    }

    &__image {
        @include material() {
            box-shadow: $box-shadow-material;
        }
    }

    &--single {
        .content-area__content {
            @include material() {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }
        }
    }
}
