/**
 * Front page: "Read Our News and Stories" -> impact stories style.
 * Root: .hfh-news-impact-widget (added by JS to the Elementor Posts widget you pick in Customizer).
 */

.hfh-news-impact-widget .elementor-posts-container {
	display: grid !important;
	grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	gap: clamp(1.35rem, 2.6vw, 2rem) !important;
}

@media (min-width: 922px) {
	.hfh-news-impact-widget .elementor-posts-container {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

.hfh-news-impact-widget .elementor-post {
	margin: 0 !important;
}

.hfh-news-impact-widget .elementor-widget-container {
	position: relative;
}

.hfh-news-impact-widget .hfh-news-impact-nav {
	display: flex;
	gap: 0.5rem;
	justify-content: flex-end;
	margin: 0 0 0.95rem;
}

.hfh-news-impact-widget .hfh-news-impact-nav__btn {
	width: 42px;
	height: 42px;
	border: 2px solid #67a6d1;
	background: #fff;
	color: #67a6d1;
	font-size: 2rem;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.hfh-news-impact-widget .hfh-news-impact-nav__btn:disabled {
	opacity: 0.45;
	cursor: default;
}

.hfh-news-impact-widget .elementor-post__card {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.hfh-news-impact-widget .hfh-news-impact__image-wrap {
	display: block;
	width: 100%;
	aspect-ratio: 1.95 / 1;
	overflow: hidden;
	background: #d9d9d9;
}

.hfh-news-impact-widget .hfh-news-impact__image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hfh-news-impact-widget .elementor-post__text {
	background: #ffffff;
	padding: clamp(1.05rem, 1.9vw, 1.55rem) clamp(1rem, 1.8vw, 1.45rem);
}

.hfh-news-impact-widget .elementor-post__title {
	margin: 0;
}

.hfh-news-impact-widget .elementor-post__title a {
	display: inline;
	color: #1a1a1a;
	font-size: clamp(2.1rem, 3.7vw, 3.35rem);
	font-weight: 700;
	line-height: 1.01;
	letter-spacing: 0;
	text-decoration: none;
	padding: 0.1em 0.18em;
	margin: -0.1em -0.18em;
	border-radius: 2px;
	background-color: transparent;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	transition: background-color 0.2s ease, color 0.2s ease;
}

/* Lime “highlighter” cover behind the headline text (wraps each line). */
.hfh-news-impact-widget .elementor-post__title a:hover {
	background-color: #c4d600;
	color: #151515;
}

.hfh-news-impact-widget .elementor-post__title a:focus-visible {
	background-color: #c4d600;
	color: #151515;
	outline: 2px solid #002f6c;
	outline-offset: 3px;
}

.hfh-news-impact-widget .hfh-news-impact__excerpt {
	margin: 0.95rem 0 0;
	color: #222;
	font-size: 1.02rem;
	line-height: 1.5;
}

.hfh-news-impact-widget .elementor-post__meta-data {
	display: none !important;
}

.hfh-news-impact-widget .elementor-post__read-more {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin-top: 0.95rem;
	padding: 0.52rem 1rem;
	background: #67a6d1;
	color: #fff !important;
	font-weight: 700;
	font-size: 0.92rem;
	line-height: 1;
	text-transform: none;
	text-decoration: none !important;
	border: 1px solid #67a6d1;
}

.hfh-news-impact-widget .elementor-post__read-more:hover,
.hfh-news-impact-widget .elementor-post__read-more:focus-visible {
	background: #4f93c2;
	border-color: #4f93c2;
	color: #fff !important;
}

/*
 * Homepage "Read Our News and Stories" nested carousel:
 * keep all slide buttons aligned on one baseline.
 */
.elementor-2682 .elementor-element.elementor-element-7e968cb .swiper-wrapper {
	align-items: stretch;
}

.elementor-2682 .elementor-element.elementor-element-7e968cb .swiper-slide {
	height: auto !important;
	display: flex;
}

.elementor-2682 .elementor-element.elementor-element-7e968cb .swiper-slide > .elementor-element {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	gap: 0;
}

.elementor-2682 .elementor-element.elementor-element-7e968cb .elementor-widget-text-editor {
	flex: 1 1 auto;
}

.elementor-2682 .elementor-element.elementor-element-7e968cb .elementor-widget-button {
	margin-top: auto;
}

.elementor-2682 .elementor-element.elementor-element-7e968cb .elementor-widget-heading,
.elementor-2682 .elementor-element.elementor-element-7e968cb .elementor-widget-text-editor,
.elementor-2682 .elementor-element.elementor-element-7e968cb .elementor-widget-button {
	background: #efefef;
	margin: 0;
	padding-left: 1rem;
	padding-right: 1rem;
}

.elementor-2682 .elementor-element.elementor-element-7e968cb .elementor-widget-heading {
	padding-top: 1rem;
}

.elementor-2682 .elementor-element.elementor-element-7e968cb .elementor-widget-text-editor {
	padding-top: 0.85rem;
	padding-bottom: 0.85rem;
}

.elementor-2682 .elementor-element.elementor-element-7e968cb .elementor-widget-button {
	padding-top: 0.35rem;
	padding-bottom: 1rem;
}
