/* =========================================================
   TDC INSIGHTS
   Solace Child Theme
   Typography inherits from Solace / Elementor Global Fonts
   ========================================================= */

.tdc-featured-insight,
.tdc-insights-grid,
.tdc-insights-grid * {
	box-sizing: border-box;
}


/* =========================================================
   FEATURED
   ========================================================= */

.tdc-featured-insight {
	width: 100%;
	margin: 0;
	color: #3f3f3f;
}

.tdc-featured-head {
	display: grid;
	grid-template-columns: 12% minmax(0, 1fr) 20%;
	gap: 24px;
	align-items: start;
	padding: 0 0 26px;
	border-bottom: 0;
}

.tdc-featured-index {
	font-size: 12px;
	line-height: 1.2;
	font-weight: 500;
	padding-top: 7px;
}

.tdc-featured-heading {
	min-width: 0;
}


/* Featured eyebrow */

.tdc-featured-eyebrow {
	font-size: 11px;
	line-height: 1.2;
	font-weight: 500;
	color: #287453;
	margin: 0 0 10px;
}


/*
 * IMPORTANT:
 * No font-family here.
 *
 * Elementor Typography control can now control the font,
 * including Elementor Global Fonts.
 */

.tdc-featured-title {
	margin: 0;
	font-size: clamp(34px, 4vw, 62px);
	line-height: .98;
	font-weight: 400;
	letter-spacing: -.035em;
	color: #3f3f3f;
}

.tdc-featured-title a,
.tdc-featured-title a:visited,
.tdc-featured-title a:focus {
	color: #3f3f3f !important;
	text-decoration: none !important;
}

.tdc-featured-title a:hover {
	color: #287453 !important;
	text-decoration: none !important;
}


.tdc-featured-meta {
	display: flex;
	flex-direction: column;
	gap: 7px;
	font-size: 12px;
	line-height: 1.25;
	padding-top: 5px;
}


.tdc-featured-image {
	display: block;
	width: 100%;
	aspect-ratio: var(--tdc-featured-ratio, 2.78);
	overflow: hidden;
	background: #e5e5e5;
	margin-top: 18px;
}

.tdc-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}


.tdc-featured-bottom {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 30px;
	align-items: start;
	padding-top: 13px;
}


.tdc-featured-excerpt {
	font-size: 13px;
	line-height: 1.45;
	color: #666;
	max-width: 760px;
}


.tdc-featured-link,
.tdc-featured-link:visited,
.tdc-featured-link:focus {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	color: #3f3f3f !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.tdc-featured-link:hover {
	color: #287453 !important;
	text-decoration: none !important;
}


/* =========================================================
   GRID
   ========================================================= */

.tdc-insights-grid {
	display: grid;
	grid-template-columns: repeat(
		var(--tdc-desktop-columns, 3),
		minmax(0, 1fr)
	);
	gap: 24px;
	width: 100%;
	align-items: stretch;
}


.tdc-insight-card {
	min-width: 0;
	border-top: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
}


.tdc-card-image {
	display: block;
	width: 100%;
	aspect-ratio: 1.65;
	overflow: hidden;
	background: #e5e5e5;
	margin-top: 14px;
}


.tdc-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}


.tdc-card-body {
	position: relative;
	padding: 18px 0 20px;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}


.tdc-card-index {
	font-size: 11px;
	margin-bottom: 8px;
	color: #666;
}


.tdc-card-title {
	margin: 0 0 12px;
	font-size: clamp(21px, 2vw, 29px);
	line-height: 1.08;
	font-weight: 400;
	letter-spacing: -.02em;
	color: #3f3f3f;
}


.tdc-card-title a,
.tdc-card-title a:visited,
.tdc-card-title a:focus {
	color: #3f3f3f !important;
	text-decoration: none !important;
}


.tdc-card-title a:hover {
	color: #287453 !important;
	text-decoration: none !important;
}


.tdc-card-excerpt {
	font-size: 12px;
	line-height: 1.45;
	color: #777;
	margin-bottom: 18px;
}


.tdc-card-link,
.tdc-card-link:visited,
.tdc-card-link:focus {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	color: #3f3f3f !important;
	text-decoration: none !important;
	white-space: nowrap;
}


.tdc-card-link:hover {
	color: #287453 !important;
	text-decoration: none !important;
}


.tdc-card-date {
	border-top: 1px solid rgba(0, 0, 0, .10);
	padding-top: 12px;
	font-size: 11px;
	color: #777;
	margin-top: auto;
}


.tdc-insight-empty {
	padding: 30px 0;
	font-size: 14px;
	color: #666;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.tdc-insights-pagination {
	margin-top: 48px;
	padding-top: 0;
	border-top: 0;
}


.tdc-pagination-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	width: 100%;
	min-height: 42px;
}


.tdc-pagination-pages {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}


.tdc-insights-pagination a,
.tdc-insights-pagination span {
	font-size: 11px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: .04em;
	color: #3f3f3f !important;
	text-decoration: none !important;
}


.tdc-insights-pagination a:hover,
.tdc-insights-pagination a:focus {
	color: #287453 !important;
	text-decoration: none !important;
}


.tdc-pagination-pages .tdc-page-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	border-radius: 2px;
}


.tdc-pagination-pages .tdc-page-number.is-current {
	background: #e9e9e9;
	color: #3f3f3f !important;
}


.tdc-pagination-pages .tdc-page-number.is-current:hover {
	color: #3f3f3f !important;
}


.tdc-page-prev,
.tdc-page-next {
	padding: 8px 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

	.tdc-insights-grid {
		grid-template-columns: repeat(
			var(--tdc-tablet-columns, 2),
			minmax(0, 1fr)
		);
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.tdc-featured-head {
		grid-template-columns: 1fr;
		gap: 10px;
		padding-bottom: 18px;
	}

	.tdc-featured-index {
		padding-top: 0;
	}

	.tdc-featured-eyebrow {
		font-size: 10px;
		margin-bottom: 8px;
	}

	.tdc-featured-title {
		font-size: 38px;
	}

	.tdc-featured-meta {
		padding-top: 0;
	}

	.tdc-featured-image {
		aspect-ratio: 1.55;
		margin-top: 12px;
	}

	.tdc-featured-bottom {
		grid-template-columns: 1fr;
		gap: 12px;
	}


	.tdc-insights-grid {
		grid-template-columns: repeat(
			var(--tdc-mobile-columns, 1),
			minmax(0, 1fr)
		);
		gap: 38px;
	}


	/*
	 * One card per row on mobile means we don't need
	 * forced equal-height rows between different cards.
	 */

	.tdc-insight-card {
		height: auto;
	}


	.tdc-card-title {
		font-size: 25px;
	}


	.tdc-pagination-inner {
		justify-content: center;
		gap: 18px;
		flex-wrap: wrap;
	}


	.tdc-pagination-pages {
		gap: 4px;
	}


	.tdc-pagination-pages .tdc-page-number {
		min-width: 30px;
		height: 30px;
	}

}