/* CEPA News listing — Page 25043 only through its .cepa-news WPBakery rows. */
.cepa-basic-content-page .cepa-news {
	--cepa-news-ink: var(--cepa-basic-ink);
	--cepa-news-muted: var(--cepa-basic-muted);
	--cepa-news-blue: var(--cepa-basic-blue);
	--cepa-news-blue-deep: var(--cepa-basic-blue-deep);
	--cepa-news-teal: var(--cepa-basic-teal);
	--cepa-news-gold: var(--cepa-basic-gold);
	--cepa-news-mist: var(--cepa-basic-mist);
	--cepa-news-line: var(--cepa-basic-line);
	--cepa-news-shadow: var(--cepa-basic-shadow);
	margin-right: 0 !important;
	margin-left: 0 !important;
	color: var(--cepa-news-ink);
	font-family: var(--cepa-font-body);
}

/* Standard content headings must not fall back to TheGem's tracked presets.
 * Keep existing families, sizes, weights and authored text intact.
 */
.cepa-basic-content-page .cepa-news :is(h1, h2, h3, h4, h5, h6, .thegem-heading, .wpb_heading) {
	letter-spacing: normal !important;
	font-kerning: normal;
}

.cepa-news .cepa-news__intro-copy h2 {
	margin: 0 0 16px;
}

.cepa-news .cepa-news__intro-copy h3 {
	margin: 24px 0 12px;
}

.cepa-news .cepa-news__intro-copy p {
	margin: 0;
}

.cepa-basic-content-page .cepa-news__hero-row .cepa-basic-content__hero-title {
	max-width: 780px;
	font-size: clamp(38px, 4.8vw, 62px) !important;
	line-height: 1.09 !important;
}

.cepa-basic-content-page .cepa-news__listing-row {
	background:
		radial-gradient(circle at 92% 8%, rgba(8, 125, 115, 0.08) 0%, rgba(8, 125, 115, 0) 27%),
		linear-gradient(180deg, #fff 0%, #f8fbfc 100%);
}

.cepa-basic-content-page .cepa-news__listing-row > .vc_column_container > .vc_column-inner {
	padding: 64px 0 104px !important;
}

.cepa-news .blog.blog-style-masonry {
	display: grid !important;
	height: auto !important;
	margin: 0 !important;
	gap: 32px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cepa-news .blog.blog-style-masonry::before,
.cepa-news .blog.blog-style-masonry::after {
	display: none !important;
	content: none !important;
}

.cepa-news .blog.blog-style-masonry article.cepa-news-card {
	display: flex;
	position: relative !important;
	top: auto !important;
	left: auto !important;
	width: auto !important;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--cepa-news-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: var(--cepa-news-shadow);
	transform: none !important;
	transition: border-color 180ms ease, box-shadow 180ms ease, translate 180ms ease;
	flex-direction: column;
	overflow: hidden;
}

.cepa-news .blog.blog-style-masonry article.cepa-news-card:hover {
	border-color: rgba(0, 109, 165, 0.45);
	box-shadow: 0 19px 42px rgba(0, 65, 94, 0.14);
	translate: 0 -3px;
}

.cepa-news .cepa-news-card .post-image,
.cepa-news .cepa-news-card .post-featured-content,
.cepa-news .cepa-news-card .post-featured-content picture {
	display: block;
	width: 100%;
	margin: 0;
}

.cepa-news .cepa-news-card .post-image {
	border-bottom: 1px solid var(--cepa-news-line);
	background: var(--cepa-news-mist);
	overflow: hidden;
}

.cepa-news .cepa-news-card .post-image::before,
.cepa-news .cepa-news-card .post-featured-content::before,
.cepa-news .cepa-news-card .post-featured-content::after {
	display: none !important;
	content: none !important;
}

.cepa-news .cepa-news-card .post-image img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	transition: transform 220ms ease;
}

.cepa-news .cepa-news-card:hover .post-image img {
	transform: scale(1.012);
}

.cepa-news .cepa-news-card .description {
	display: flex;
	min-height: 0;
	padding: 28px 28px 30px !important;
	color: var(--cepa-news-ink);
	background: transparent !important;
	flex: 1 1 auto;
	flex-direction: column;
}

.cepa-news .cepa-news-card.no-image .description {
	background: linear-gradient(155deg, var(--cepa-news-mist) 0%, #fff 72%) !important;
}

.cepa-news .cepa-news-card .description::before,
.cepa-news .cepa-news-card .description::after {
	display: none !important;
	content: none !important;
}

.cepa-news .cepa-news-card__meta {
	display: flex;
	min-width: 0;
	margin: 0 0 15px;
	gap: 8px;
	align-items: center;
	color: var(--cepa-news-muted);
	font-family: var(--cepa-font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: normal;
	font-kerning: normal;
	line-height: 1.45;
	text-transform: none;
	flex-wrap: wrap;
}

.cepa-news .cepa-news-card__meta-separator {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--cepa-news-teal);
	flex: 0 0 auto;
}

.cepa-news .cepa-news-card__categories {
	color: var(--cepa-news-blue-deep);
}

.cepa-news .cepa-news-card .post-title {
	margin: 0;
}

.cepa-news .cepa-news-card .entry-title.title-h4 {
	margin: 0;
	font-family: var(--cepa-font-display) !important;
	font-size: clamp(21px, 1.8vw, 24px) !important;
	font-weight: 700 !important;
	letter-spacing: normal !important;
	font-kerning: normal;
	line-height: 1.25 !important;
	text-transform: none !important;
}

.cepa-news .cepa-news-card .entry-title a,
.cepa-news .cepa-news-card .entry-title a .light {
	color: var(--cepa-news-ink) !important;
	font: inherit !important;
	letter-spacing: inherit;
	font-kerning: normal;
	text-decoration: none;
	text-transform: none !important;
}

.cepa-news .cepa-news-card .entry-title a:hover,
.cepa-news .cepa-news-card .entry-title a:hover .light {
	color: var(--cepa-news-teal) !important;
}

.cepa-news .cepa-news-card .post-text {
	margin: 17px 0 0;
	color: var(--cepa-news-muted) !important;
	font-family: var(--cepa-font-body);
	font-size: 17px;
	line-height: 1.58;
}

.cepa-news .cepa-news-card .summary {
	min-height: 5.05em;
}

.cepa-news .cepa-news-card .summary p {
	margin: 0;
	color: inherit;
	font: inherit;
}

.cepa-news .cepa-news-card .info {
	display: flex;
	min-height: 0;
	margin: auto 0 0;
	padding: 24px 0 0;
	border: 0;
	align-items: flex-end;
}

.cepa-news .cepa-news-card .post-read-more {
	float: none;
}

.cepa-news .cepa-news-card .post-read-more .gem-button {
	display: inline-flex;
	width: auto;
	min-width: 0;
	min-height: 46px;
	margin: 0;
	padding: 11px 18px;
	border: 2px solid var(--cepa-news-blue-deep);
	border-radius: 3px;
	align-items: center;
	justify-content: center;
	color: #fff !important;
	background: var(--cepa-news-blue-deep) !important;
	font-family: var(--cepa-font-display) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: normal !important;
	font-kerning: normal;
	line-height: 1.25 !important;
	text-decoration: none;
	text-transform: none !important;
}

.cepa-news .cepa-news-card .post-read-more .gem-button:hover {
	border-color: var(--cepa-news-teal);
	color: #fff !important;
	background: var(--cepa-news-teal) !important;
}

.cepa-news .cepa-news-card :is(.entry-title a, .gem-button):focus-visible,
.cepa-news .cepa-news-pagination a:focus-visible {
	outline: 3px solid var(--cepa-news-blue-deep);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px var(--cepa-news-gold);
}

.cepa-news .cepa-news-pagination.gem-pagination {
	display: block;
	width: 100%;
	margin: 64px 0 0;
	padding: 0;
	text-align: center;
}

.cepa-news .cepa-news-pagination .gem-pagination-links {
	display: flex;
	width: 100%;
	min-height: 44px;
	margin: 0;
	gap: 8px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.cepa-news .cepa-news-pagination :is(a.page-numbers, span.page-numbers) {
	display: inline-flex;
	width: auto;
	min-width: 44px;
	height: 44px;
	margin: 0;
	padding: 0 13px;
	border: 1px solid var(--cepa-news-line);
	border-radius: 3px;
	align-items: center;
	justify-content: center;
	color: var(--cepa-news-blue-deep) !important;
	background: #fff !important;
	font-family: var(--cepa-font-display);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.cepa-news .cepa-news-pagination a.page-numbers:hover {
	border-color: var(--cepa-news-teal);
	color: #fff !important;
	background: var(--cepa-news-teal) !important;
}

.cepa-news .cepa-news-pagination span.page-numbers.current {
	border-color: var(--cepa-news-blue-deep);
	color: #fff !important;
	background: var(--cepa-news-blue-deep) !important;
}

.cepa-news .cepa-news-pagination :is(.prev, .next)::before {
	display: block;
	font-family: var(--cepa-font-body);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}

.cepa-news .cepa-news-pagination .prev::before {
	content: "←";
}

.cepa-news .cepa-news-pagination .next::before {
	content: "→";
}

@media (max-width: 1100px) {
	.cepa-basic-content-page .cepa-news__listing-row > .vc_column_container > .vc_column-inner {
		padding: 56px 0 80px !important;
	}

	.cepa-news .blog.blog-style-masonry {
		gap: 24px;
	}

	.cepa-news .cepa-news-card .description {
		padding: 25px 24px 27px !important;
	}
}

/* The provider owns validation markup. Reserve additional room on narrow
 * screens without modifying its document or introducing a resize script.
 */
@media (max-width: 1023px) {
	.cepa-news .cepa-news__signup-frame {
		height: 500px;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.cepa-news .blog.blog-style-masonry {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.cepa-basic-content-page .cepa-news > .vc_column_container > .vc_column-inner {
		width: min(1180px, calc(100% - 40px));
	}

	.cepa-basic-content-page .cepa-news__hero-row .cepa-basic-content__hero-title {
		font-size: clamp(32px, 10.5vw, 44px) !important;
	}

	.cepa-basic-content-page .cepa-news__listing-row > .vc_column_container > .vc_column-inner {
		padding: 40px 0 64px !important;
	}

	.cepa-news .blog.blog-style-masonry {
		gap: 22px;
		grid-template-columns: minmax(0, 1fr);
	}

	.cepa-news .blog.blog-style-masonry article.cepa-news-card {
		width: 100% !important;
	}

	.cepa-news .cepa-news-card .summary {
		min-height: 0;
	}

	.cepa-news .cepa-news-pagination.gem-pagination {
		margin-top: 48px;
	}
}

@media (max-width: 374px) {
	.cepa-news .cepa-news__signup-frame {
		height: 540px;
	}

	.cepa-basic-content-page .cepa-news > .vc_column_container > .vc_column-inner {
		width: min(1180px, calc(100% - 32px));
	}

	.cepa-news .cepa-news-card .description {
		padding: 23px 20px 25px !important;
	}

	.cepa-news .cepa-news-pagination .gem-pagination-links {
		gap: 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cepa-news .cepa-news-card,
	.cepa-news .cepa-news-card .post-image img {
		transition: none !important;
	}

	.cepa-news .cepa-news-card:hover {
		translate: none;
	}

	.cepa-news .cepa-news-card:hover .post-image img {
		transform: none;
	}
}
