/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Marquee family. This enables the ability to
	a family of widgets in a single update without touching the structure of the widget and without needing
	to duplicate efforts across several widget-specific CSS files.
*/


section.ccl-widget.core-callout-tiles.marquee.js-loaded {
    padding-top: 0;
	margin: 0 0 var(--space-10);
}

section.ccl-widget.core-callout-tiles.marquee.js-loaded .slides {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

section.ccl-widget.core-callout-tiles.marquee.js-loaded .slides .slide .content-section {
    font-family: var(--font-display);
    display: flex;
    flex-direction: column;
    padding: 19px;
    gap: 5px;
}

section.ccl-widget.core-callout-tiles.marquee.js-loaded .slides .slide .slide-title {
    font-family: var(--font-display-alt);
	font-weight: 400;
    font-size: 19px;
    letter-spacing: 0.04em;
    line-height: 1.25em;
}

@media (min-width: 40em) {
	section.ccl-widget.core-callout-tiles.marquee.js-loaded .slides .slide .slide-title {
		font-size: calc(25px + (33 - 25) * ((100vw - 640px) / (1024 - 640)));
	}
}

@media (min-width: 64em) {
    section.ccl-widget.core-callout-tiles.marquee.js-loaded {
        margin-bottom: 100px;
    }

    section.ccl-widget.core-callout-tiles.marquee.js-loaded .slides {
		grid-template: 278px 178px 278px/repeat(4, 1fr);
		gap: 5px;
    }

	section.ccl-widget.core-callout-tiles.marquee.js-loaded .slides .slide .content-section .slide-title {
		font-size: calc(25px + (33 - 25) * ((100vw - 1025px) / (1200 - 1025)));
		line-height: 1.2em;
		letter-spacing: 0.03em;
	}

    section.ccl-widget.core-callout-tiles.marquee.js-loaded .slides .slide:nth-child(1) .content-section .slide-title,
	section.ccl-widget.core-callout-tiles.marquee.js-loaded .slides .slide:nth-child(6) .content-section .slide-title {
        font-size: calc(32px + (50 - 32) * ((100vw - 1025px) / (1200 - 1025)));
    }

    section.ccl-widget.core-callout-tiles.marquee.js-loaded .slide:nth-child(1) {
		grid-row: 1 / span 2;
		grid-column: 1 / span 2;
    }

    section.ccl-widget.core-callout-tiles.marquee.js-loaded .slide:nth-child(2) {
		grid-row: 3;
        grid-column: 1;
    }

    section.ccl-widget.core-callout-tiles.marquee.js-loaded .slide:nth-child(3) {
        grid-row: 3;
        grid-column: 2;
    }

    section.ccl-widget.core-callout-tiles.marquee.js-loaded .slide:nth-child(4) {
		grid-row: 1;
        grid-column: 3;
    }

    section.ccl-widget.core-callout-tiles.marquee.js-loaded .slide:nth-child(5) {
        grid-row: 1;
        grid-column: 4;
    }

    section.ccl-widget.core-callout-tiles.marquee.js-loaded .slide:nth-child(6) {
		grid-column: 3 / span 2;
		grid-row: 2 / span 2;
    }


    section.ccl-widget.core-callout-tiles.marquee.js-loaded .slides .slide .inner,
    section.ccl-widget.core-callout-tiles.marquee.js-loaded .slides .slide .img-cont {
        height: 100%
    }

    section.ccl-widget.core-callout-tiles.marquee.js-loaded .slides .slide .img-cont img {
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 1200px) {
	section.ccl-widget.core-callout-tiles.marquee.js-loaded .slides .slide .content-section .slide-title {
		font-size: 33px;
		line-height: 1.2em;
	}

	section.ccl-widget.core-callout-tiles.marquee.js-loaded .slides .slide:nth-child(1) .content-section .slide-title,
	section.ccl-widget.core-callout-tiles.marquee.js-loaded .slides .slide:nth-child(6) .content-section .slide-title {
		font-size: 50px;
	}

}