/*
 * Feeds and custom-field output (moved from the Toolset Views templates).
 * Scoped by .ch-feed--{preset} because Views only printed each template's
 * CSS on pages where that View appeared.
 */

/* Testimonials slider (home) ------------------------------------------- */

/* Printed page-wide on the home page by the old testimonial View. */

body.home .entry-content ul {
	padding: 0 0 26px 0;
}

.ch-feed {
	align-items: stretch !important;
	row-gap: 30px;
}

.ch-feed--articles,
.ch-feed--newsletters,
.ch-feed--news,
.ch-feed--videos {
	margin: 0 -1%;
}

.ch-feed--testimonials-home .test-block {
	font-size: 18px !important;
	height: auto;
	overflow: hidden;
	padding: 0 10px;
}

.ch-feed--testimonials-home .test-name {
	font-family: 'NeoTechBold', Helvetica, Arial, Lucida, sans-serif;
	color: #00A0FF;
	padding-bottom: 2px;
}

.ch-feed--testimonials-home .test-company {
	color: #00273e;
	font-weight: 600;
}

.ch-feed--testimonials-home .speech-img {
	width: 50px;
	margin-bottom: -34px !important;
	margin-left: -10px;
	padding-top: 0px;
}

.ch-feed--testimonials-home .slick-dots {
	bottom: auto;
}

.ch-feed--testimonials-home .slick-dots li button:before {
	font-size: 10px;
	color: #00273e;
}

.ch-feed--testimonials-home .slick-dots li.slick-active button:before {
	opacity: .75;
	color: #00A0FF;
}

/* News / article / newsletter cards ------------------------------------ */

.ch-feed .news-block {
	display: flex;
	flex-direction: column;
	background: #fff;
	width: 31.333%;
	margin: 0 1%;
	border-radius: 10px !important;
	transition: all 0.5s ease;
	border: 2px solid #eaeaea;
	overflow: hidden;
}

.ch-feed--news-home .news-block {
	margin: 0 1%;
	border: 0;
}

.ch-feed .news-block:hover {
	transition: all 0.5s ease;
	transform: translate(0px, -5px);
	box-shadow: 0px 10px 12px -5px rgba(0, 0, 0, 0.1);
}

.ch-feed .news-image {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.ch-feed .news-info {
	padding: 26px;
	overflow: hidden;
	width: 100%;
}
.ch-feed .news-date {
	font-weight: 600;
}

.ch-feed .news-title {
	font-size: 22px;
	font-family: 'NeoTechBold', Helvetica, Arial, Lucida, sans-serif;
	color: #00273e;
}

@media only screen and (max-width: 960px) {
	.ch-feed .news-block,
	.ch-feed--news-home .news-block {
		width: 100%;
		margin: 14px 0px;
	}

	.ch-feed .news-info,
	.ch-feed--articles .news-info,
	.ch-feed--newsletters .news-info {
		height: auto;
		padding: 20px 20px 40px 20px;
	}
}

/* Pager (Older = next page, Newer = previous page) --------------------- */

.ch-feed-pager {
	clear: both;
	padding-top: 8px;
}

.ch-feed-clear {
	clear: both;
	margin: 8px;
}

.ch-feed-pager__newer,
.ch-feed-pager__older {
	background: #00a0ff;
	color: #fff;
	padding: 5px 20px;
	border-radius: 3px;
	transition-duration: 0.3s;
}

.ch-feed-pager__newer {
	/* float: right; */
	margin-right: 2%;
}

.ch-feed-pager__older {
	/* float: left; */
	margin-left: 2%;
}

.ch-feed-pager__newer:hover,
.ch-feed-pager__older:hover {
	background: #00273e;
	color: #fff;
}

@media only screen and (max-width: 960px) {
	.ch-feed-pager__newer,
	.ch-feed-pager__older {
		width: 100%;
		margin: 6px 0 !important;
	}
}

/* Numbered pagination ------------------------------------------------ */

.ch-feed-pagination {
	/* clear: both; */
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	padding-top: 20px;
}

.ch-feed-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	background: #00a0ff;
	color: #fff;
	border-radius: 3px;
	font-weight: 700;
	transition-duration: 0.3s;
}

.ch-feed-pagination a.page-numbers:hover,
.ch-feed-pagination .page-numbers.current {
	background: #00273e;
	color: #fff;
}

.ch-feed-pagination .page-numbers.dots {
	background: transparent;
	color: #00273e;
}

/* Careers -------------------------------------------------------------- */

.ch-feed--careers .job-block {
	width: 100%;
	padding: 26px 0px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.ch-feed--careers .job-title {
	font-family: 'NeoTechBold';
	color: #b45c00;
	font-size: 24px;
}

.ch-feed--careers .job-button a {
	display: inline-block;
	background: #00A0FF;
	padding: 7px 20px;
	transition-duration: 0.3s;
	color: #fff !important;
	border-radius: 3px;
	font-size: 14px;
	letter-spacing: 2px;
	font-weight: 600;
}

.ch-feed--careers .job-button a:hover {
	background: #00273e;
}

/* Videos --------------------------------------------------------------- */

.ch-feed--videos .video-block {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	width: 48%;
	margin: 0 1%;
	min-height: 140px;
	background: #f9f9f9;
	padding: 20px;
	border-radius: 10px;
	overflow: hidden;
}

.ch-feed--videos .video-title {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 18px !important;
}

.ch-feed--videos .video-button {
	color: #fff;
	background: #00a0ff;
	font-weight: 600;
	letter-spacing: 3px;
	padding: 6px 16px;
	display: inline-block;
	transition-duration: 0.3s;
	border-radius: 3px;
}

.ch-feed--videos .video-button:hover {
	background: #00273E;
}

@media only screen and (max-width: 960px) {
	.ch-feed--videos .video-block {
		width: 100%;
		margin: 16px 0;
		height: auto;
	}
}
