@import "@cnbritain/merlin-www-common:brides";
@import "@cnbritain/merlin-www-image:brides";
@import "@cnbritain/merlin-www-card:brides";

@import "../wireframe/wireframe";
@import "./_hero";

.c-splash {
    margin-bottom: $MOBILE_SLICE_MARGIN;

    @include at-medium-size {
        margin-bottom: $TABLET_SLICE_MARGIN;
    }

    @include at-x-large-size {
        margin-bottom: $DESKTOP_SLICE_MARGIN;
    }
}

.c-splash-wrapper {
    margin: 0 auto;
    max-width: $MAXIMUM_PAGE_WIDTH;
    position: relative;
    width: 100%;
}

.c-splash__cards {
    border-bottom: 1px solid $ballet-grey;
    margin: 0 $MOBILE_SIDE_GUTTER $MOBILE_SLICE_MARGIN $MOBILE_SIDE_GUTTER;
    padding-bottom: 36px;

    @include at-medium-size {
        margin-left: $TABLET_SIDE_GUTTER;
        margin-right: $TABLET_SIDE_GUTTER;
    }

    @include at-x-large-size {
        margin-left: $DESKTOP_SIDE_GUTTER;
        margin-right: $DESKTOP_SIDE_GUTTER;
    }
}

.c-splash__cards-wrapper {}
.c-splash__cards-list {
    grid-gap: 24px;
    grid-template-columns: 1fr;

    @include at-small-size {
        grid-template-columns: 1fr 1fr;
    }

    @include at-x-large-size {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
.c-splash__cards-listitem {}
