/*
	README

	Modify this file as much or as little as needed.

	This file is shared across all CCL widgets in the Side-by-Side 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.
*/

.core-side-by-side {
	--font-title: var(--font-body-bold-italic);
	--color-display: var(--black-alt);
	--color-body: #4c4c4c;
}

.core-side-by-side .slides {
	display: grid;
	grid-gap: var(--space-12);
}

.core-side-by-side[data-slides-across="2"] .slides {
	grid-gap: 76px;
}

.core-side-by-side .slide .slide-title {
	font-weight: normal;
	font-size: var(--text-2xl);
}

.core-side-by-side .slide .details {
	--font-family: var(--font-desc);
	--text-color: var(--gray);
	--icon-color: var(--gray);

	margin: var(--space-1) 0;
	color: var(--text-color);
}

.core-side-by-side .slide p {
	font-weight: normal;
	font-size: var(--text-lg);
	line-height: var(--leading-normal);
}

.core-side-by-side .slide .content-section .content-top {
	gap: var(--space-2);
}

.core-side-by-side .slide .slide-top {
	gap: var(--space-1);
}

.core-side-by-side .slide .slide-top .small-gray-text {
	font-size: var(--text-base);
}

.core-side-by-side .read-more {
	margin-left: var(--space-1);
	color: var(--gold);
	font-size: var(--text-sm);
}

.core-side-by-side .read-more i,
.core-side-by-side .slide .slide-title i {
	transform: none;
	transition: transform var(--transition-speed-and-ease);
}

.core-side-by-side .slide + .slide {
	margin: 0;
}

.core-side-by-side .details li.time-to-read {
	display: none;
}

@media (hover: hover) {
	.core-side-by-side .read-more:hover i,
	.core-side-by-side .slide .slide-title:hover i {
		transform: translateX(var(--space-1));
	}

	.core-side-by-side .slide .slide-title > a:hover {
		color: inherit;
	}
}

@media screen and (min-width: 40em) {
	.core-side-by-side {
		margin-bottom: var(--space-24);
	}

	.core-side-by-side[data-slides-across="2"] .slides {
		grid-gap: 28px;
	}

	.core-side-by-side .slide > .inner {
		grid-template: auto / 3fr 5fr;
		grid-gap: var(--space-6);
	}

	.core-side-by-side .slide .content-section > .inner {
		padding-left: 0;
	}
}

@media screen and (min-width: 64em) {
	.core-side-by-side .slide p {
		font-size: var(--text-base);
		line-height: var(--leading-snug);
	}
}

.core-side-by-side .tripbuilder {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	width: 40px;
	cursor: pointer;
}

.core-side-by-side .tripbuilder a {
	font-size: 1.5rem;
	position: relative;
	font-family: 'Font Awesome 5 Free';
	text-decoration: none;
}

.core-side-by-side .tripbuilder .addTrip:before{
	content: "\f004";
	font-weight: 900;
	color: rgba(0, 0, 0, 0.5);
}

.core-side-by-side .tripbuilder .addTrip:after{
	content: "\f004";
	font-weight: normal;
	color: #fff;
	position: absolute;
	right: 0;
}

.core-side-by-side .tripbuilder .removeTrip:before{
	content: "\f004";
	font-weight: 900;
	color: rgb(212, 39, 39) !important;
}

