/* CSS for D & S2 Banners */
.homepage_2023_banner {
    margin-bottom: 0;
}

.ck_banner-tile-container,
.homepage_2023_banner-lifestyle_wrapper {
    min-width: 0;
}

.homepage_2023_banner-lifestyle_wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    margin-top: 3px;
    margin-bottom: 3px;
}

.ck_banner-wrapper {
    overflow: visible;
}

.ck_banner-tile-container {
    width: 100%;
    display: grid;
}


.ck_banner-tile-container .homepage-banner-d1,
.ck_banner-tile-container .homepage-banner-d2,
.ck_banner-tile-container .homepage-banner-s2,
.ck_banner-tile-container .homepage-banner-d1 picture,
.ck_banner-tile-container .homepage-banner-d2 picture,
.ck_banner-tile-container .homepage-banner-s2 picture {
    display: block;
    width: 100%;
}



.ck_banner-tile-container .homepage-banner-d1 picture,
.ck_banner-tile-container .homepage-banner-d2 picture {
    aspect-ratio: 750 / 1000;
}

.ck_banner-tile-container .homepage-banner-s2 picture {
    aspect-ratio: 1920 / 1080;
}


.ck_banner-tile-container picture>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Overlay using Grid */
.ck_banner-tile-container>a,
.ck_banner-tile-container>.banner-text {
    grid-area: 1 / 1;
}

/* Sticky text */
.banner-text {
    position: sticky;
    top: 90px;
    padding: 15px 0 50px 20px;
    z-index: 2;
    align-self: start;
}

.homepage_2023_banner-lifestyle_title {
    font-size: 32px;
    margin-bottom: 12px;
    text-transform: none;
}

.ck_banner-tile-container a {
    text-decoration: none;
}

.homepage_2023_banner-lifestyle_link {
    font-size: 15px;
    margin-bottom: 0;
    line-height: 1.5em;
    border-bottom: var(--border-bottom-colour, #fff) 1px solid;
    width: fit-content !important;
}

.homepage_2023_banner-lifestyle_callout {
    top: 15px;
    left: 20px;
    height: fit-content !important;
}

/* body:has(div.owl-hidden) .banner-text {
    top: 48px;
} */

@media only screen and (max-width: 1023px) {
    .homepage_2023_banner-lifestyle_title {
        margin-bottom: 8px;
        font-size: 24px;
    }
}

@media only screen and (max-width: 768px) {
    .homepage_2023_banner-lifestyle_wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    .homepage_2023_banner-lifestyle_title {
        font-size: 24px;
    }

    .homepage_2023_banner-lifestyle_callout {
        top: 15px;
        left: 15px;
    }

    .banner-text {
        padding: 16px 0 20px 16px;
    }

    .ck_banner-tile-container .homepage-banner-d1 picture,
    .ck_banner-tile-container .homepage-banner-d2 picture,
    .ck_banner-tile-container .homepage-banner-s2 picture {
        aspect-ratio: 600 / 800;
    }
}