/*
	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-v2-cards {
	--color-display-hover-secondary: #ab2c1c;
}

.core-v2-cards .slides {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.4375rem;
	margin: 0 auto;
	padding: 0 var(--space-5);
	/*max-width: var(--width-base);*/
	position: relative;
    box-sizing: border-box;
}

.core-v2-cards .slides .slide {
    position: relative;
    box-shadow: 0px 3px 6px 1px #0000001A;

}

.core-v2-cards .slide .slide-title {
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.2;
}

/* Adding additional class 'theme-secondary' that will update widget title colour to the secondary colour */
.core-v2-cards.theme-secondary .slide .slide-title {
    color: var(--sw-secondary-color);
}

.core-v2-cards .slides .slide .slide-header {
	width: 100%;
}

.core-v2-cards .slides .slide .slide-title a {
    display: flex;
    width: 100%;
	flex-direction: column;
}

.core-v2-cards .slide p {
	margin: 0;
    font-size: var(--text-base);
    line-height: 1.3;
    font-family: var(--font-reg);
}

@media (min-width: 40em) {
	.core-v2-cards .slides {
		gap: var(--space-16) var(--space-3);
		grid-template-columns: repeat(2, 1fr);
	}

    .core-v2-cards.cards-v2-3-across .slides {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 64em) {
	.core-v2-cards.cards-v2-4-across .slides {
		grid-template-columns: repeat(4, 1fr);
	}
}

.core-v2-cards .slide > .inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.core-v2-cards .slide .slide-top {
	display: grid;
	gap: var(--space-2);
}

.core-v2-cards .slide .content-section {
	display: grid;
    height: 100%;
    align-content: space-between;
}

.core-v2-cards .slide .content-section > .inner {
	display: grid;
	gap: var(--space-3);
}

.core-v2-cards .slide .content-section .heading-container {
	display: grid;
	gap: var(--space-1);
}

.core-v2-cards .slides .slide .content-section .content-upper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.core-v2-cards .slides .slide .slide-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}


/**/



.core-v2-cards .content-section {
    padding: var(--space-5);
}

.core-v2-cards .slides .slide .slide-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    margin: 0;
}


.core-v2-cards .slides .slide .slide-footer a {
    color: var(--sw-key-color);
    background: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

@media (hover: hover) {
	.core-v2-cards .slides .slide .slide-footer a:hover {
        color: var(--text-color);
        text-decoration: none;
    }
}

.core-v2-cards.theme-secondary .slides .slide .slide-footer a {
    color: var(--sw-secondary-color);
}

.core-v2-cards.theme-secondary .slides .slide .slide-footer:hover {
    color: var(--sw-secondary-color);
}

/* Kit2 tablet */
@media (min-width: 40em) {
    .core-v2-cards {
        position: relative;
    }
}

/* Kit2 Desktop */
@media (min-width: 64em) {
}