/*
	README

	This file should only be used to style structure of the widget. It should not
	contain fonts or theme styling. Use the shared_theme.css for that purpose.

	If simply theming the CCL, leave this file alone.

	If your design is very customized, edit this file as needed. 
*/

.core-marquee {
	position: relative;
}

.core-marquee .shared-play-button {
	transform: unset;
	left: unset;
	top: 20px;
	right: 20px;
}

.core-marquee .slides {
	margin: 0 auto;
	padding: 0 var(--space-5);
	max-width: var(--width-base);
}

.core-marquee[data-width="full"] .slides {
	padding: 0;
	max-width: 100%;
}

.core-marquee .slides {
	display: grid;
}

.core-marquee .slides {
	gap: var(--space-3);
}

.core-marquee .slide {
	position: relative;
}

.core-marquee[data-layout="horizontal"] .slide:not(:nth-child(1)) {
	color: unset;
}

.core-marquee .slide > .inner {
	height: 100%;
}

.core-marquee[data-layout="horizontal"] .slide:not(:nth-child(1)) > .inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.core-marquee .slide .content-section {
	position: relative;
	bottom: 0;
	left: 0;
	padding: var(--space-4);
	width: 100%;
	pointer-events: none;
}

.core-marquee .slide .content-section > *{
	pointer-events: all;
}

.core-marquee[data-layout="horizontal"] .slide:not(:nth-child(1)) .content-section {
	position: relative;
	padding: 0 var(--space-5);
	pointer-events: all;
}

.core-marquee .slide .img-cont {
	position: relative;
	overflow: hidden;
}

.core-marquee[data-layout="horizontal"] .slide:not(:nth-child(1)) .img-cont {
	padding: 0;
	height: auto;
}

.core-marquee[data-layout="horizontal"] .slide:nth-child(1) img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.core-marquee .slide .slide-title {
	margin: 0;

}

.core-marquee[data-layout="horizontal"] .slide:not(:nth-child(1)) p {
	display: none;
}

.core-marquee .slide:only-child .slide-footer,
.core-marquee.marquee-side-by-side .slide:first-child .slide-footer {
	margin-bottom: var(--space-1);
}

.core-marquee .slide .slide-footer {
    display: none;
}

.core-marquee .credits {
    bottom: unset;
    top: 0;
}

.core-marquee .credits.video {
	right: unset;
	left: 0;
}

@media (min-width: 40em) {
	.core-marquee[data-layout="horizontal"] .slide .img-cont.promoted {
		height: 100%;
	}

	.core-marquee .slide .content-section {
		padding: var(--space-4) var(--space-6);
	}


}

@media (min-width: 64em) {

    .core-marquee .slide {
	    margin:100px 0 0;
    }
	.core-marquee[data-layout="vertical"] .slides {
		grid-template-columns: repeat(3, 1fr);
	}
    .core-marquee[data-layout="vertical"] .slide:nth-child(1) .content-section {
        padding: var(--space-4) 0;
    }
	.core-marquee[data-layout="vertical"] .slide:nth-child(1) {
		/*grid-column: 1 / span 3;*/
		/*grid-row: 1;*/
        order:2;
        margin:0;
	}

    .core-marquee[data-layout="vertical"] .slide:nth-child(0) {
        /*grid-column: 1 / span 3;*/
        /*grid-row: 1;*/
        order: 1;

    }

    .core-marquee[data-layout="vertical"] .slide:nth-child(3) {
        /*grid-column: 1 / span 3;*/
        /*grid-row: 1;*/
        order: 3;
    }

    .core-marquee[data-layout="horizontal"] .slides {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 1fr);
        margin: 100px 0 0;
    }
	
	.core-marquee[data-layout="horizontal"] .slide:nth-child(1) {
		grid-column: 1;
		grid-row: 1 / span 3;
	}
}

@media (min-width: 64em) {
	.core-marquee[data-layout="horizontal"] .slide:not(:nth-child(1)) .img-cont {
		flex: 0 0 239px;
	}

	.core-marquee .slide:first-of-type .shared-play-button {
		transform: translate(-50%, -50%);
		left: 50%;
		top: 50%;
		right: unset;
	}
	.core-marquee .credits.video {
		right: 0;
		left: unset;
	}
}


.core-marquee .widget-header-inner {
    justify-content: center;

}

.core-marquee .widget-header-inner .widget-view-all{
    display:none;
}


.core-marquee .widget-header-inner .widget-subtitle::before {
    content: '';
    display: block;
    margin: 0 auto 8px;
    height: 3px;
    background-color: var(--primary-color-700);
    width: 55%;
}

.core-marquee .widget-title {
    margin: 0 0 var(--space-1);
}

.core-marquee .widget-header-inner .widget-subtitle p {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 0 0;
    text-align: center;
        font-size: var(--text-xl);
}

@media (min-width: 40rem) {
    .core-marquee .widget-header-inner .widget-subtitle p {
        width: 70%;
        font-size: var(--text-2xl);
    }

    .core-marquee .widget-title {
        margin: 0;
    }

    .core-marquee .widget-header-inner .widget-subtitle::before {
        margin: 0 auto 15px;
    }
}


.core-marquee .slide .blog-category-time-wrapper {

    display:flex;
    margin:15px 0;
    justify-content: space-between;
    flex-direction:column;
}

@media (min-width: 40rem) {
    .core-marquee .slide .blog-category-time-wrapper {

        flex-direction: row;
    }
}

.core-marquee .slide .blog-category-time-wrapper .category {
    text-transform:uppercase;
    font-size: var(--text-base);
    margin:0 0 15px 0;
}


@media (min-width: 40rem) {
    .core-marquee .slide .blog-category-time-wrapper .category {
        margin: 0 0 0 0;
        font-size: var(--text-xl);
    }
}

.core-marquee .slide .publish-by-line .min-to-read {
    display: flex;
    align-items: center;
    font-size:16px;
}

.core-marquee .slide  .publish-by-line .min-to-read > img {
    display: inline-block;
    width: 21px;
    margin: 0 var(--space-2) 0 0;
}



.core-marquee .widget-footer {
    --color: var(--gray-700);
    --color-hover: var(--gray-600);
    --font-family: var(--font-body);
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    font-family: var(--font-family);
    max-width: var(--width-base);
    margin:30px auto 70px;
    justify-content:center;
}

.core-marquee .widget-footer-inner a {
    color: var(--btn-text-color);
    padding: var(--space-3) var(--space-4);
    font-weight: 400;
    font-size: var(--text-base);
    text-decoration: none;
    border-bottom: 3px solid var(--btn-text-color);
    text-transform: uppercase;
    border-radius: 0;
}


.core-marquee .widget-footer-inner a.widget-view-all::after {
    content: '';
    display: inline-block;
    background: url(/includes/public/assets/shared/arrows/arrow_readmore.svg) no-repeat;
    width: 22px;
    height: 15px;
    margin: 0 0 0 var(--space-12);
}


.core-marquee .widget-footer-inner a.widget-view-all::after {
    margin: 0 0 0 var(--space-6);
}