.evpw-posts {
	width: 100%;
}

.evpw-posts__items {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.evpw-post {
	position: relative;
	width: 100%;
	min-width: 0;
	background: transparent;
	transition-property: background-color, border-color, box-shadow, transform;
	transition-duration: 0.3s;
	transition-timing-function: ease;
}

.evpw-post__inner {
	display: flex;
	align-items: center;
	width: 100%;
	min-width: 0;
	gap: 25px;
}

.evpw-post--image-right .evpw-post__inner {
	flex-direction: row-reverse;
}

.evpw-post__global-link {
	color: inherit;
	text-decoration: none;
}

.evpw-post__image-column {
	position: relative;
	display: block;
	flex: 0 0 35%;
	width: 35%;
	height: 180px;
	min-width: 0;
	overflow: hidden;
}

.evpw-post__image-column::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	content: "";
	pointer-events: none;
	background-color: transparent;
	transition-property: background-color;
	transition-duration: .3s;
	transition-timing-function: ease;
}

.evpw-post__image-link {
	display: block;
	width: 100%;
	height: 100%;
}

.evpw-post__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition-property: transform, opacity;
	transition-duration: 0.3s;
	transition-timing-function: ease;
}

.evpw-post__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	gap: 8px;
}

.evpw-post__title,
.evpw-post__date {
	margin: 0;
	transition: color .3s ease;
}

.evpw-post__title {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.35;
}

.evpw-post__title a {
	color: inherit;
	text-decoration: none;
	transition: color .3s ease;
}

.evpw-post__title--lines-1,
.evpw-post__title--lines-2,
.evpw-post__title--lines-3 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
}

.evpw-post__title--lines-1 {
	-webkit-line-clamp: 1;
}

.evpw-post__title--lines-2 {
	-webkit-line-clamp: 2;
}

.evpw-post__title--lines-3 {
	-webkit-line-clamp: 3;
}

.evpw-post__date {
	display: flex;
	align-items: center;
	gap: 7px;
	color: #667085;
	font-size: 0.875rem;
	font-style: normal;
	line-height: 1.5;
}

.evpw-post__date i,
.evpw-post__date svg {
	flex: 0 0 auto;
	transition: color .3s ease, fill .3s ease;
}

.evpw-post__date svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.evpw-posts--separator .evpw-post:not(:last-child)::after {
	display: block;
	width: 100%;
	margin-top: 0;
	margin-bottom: 0;
	border-top: 1px solid #e4e7ec;
	content: "";
}

.evpw-pagination {
	width: 100%;
	margin-top: 24px;
}

.evpw-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: inherit;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.evpw-pagination .page-numbers li {
	display: block;
}

.evpw-pagination a,
.evpw-pagination span,
.evpw-load-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 8px 12px;
	color: #344054;
	background: transparent;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
	text-decoration: none;
}

.evpw-pagination .current,
.evpw-pagination a:hover,
.evpw-load-more:hover {
	color: #fff;
	background: #101828;
}

.evpw-pagination--load-more {
	display: flex;
	justify-content: center;
}

.evpw-load-more {
	width: auto;
	font: inherit;
	cursor: pointer;
}

.evpw-load-more[disabled] {
	opacity: 0.65;
	cursor: wait;
}

.evpw-posts__empty {
	margin: 0;
}

.evpw-posts a:focus-visible,
.evpw-posts button:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.evpw-posts .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 1024px) {
	.evpw-post__inner {
		gap: 20px;
	}

	.evpw-post__image-column {
		height: 150px;
	}
}

@media (max-width: 767px) {
	.evpw-post__inner {
		gap: 15px;
	}

	.evpw-post__image-column {
		height: 120px;
	}

	.evpw-post--mobile-stacked .evpw-post__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.evpw-post--mobile-stacked .evpw-post__image-column {
		flex-basis: auto;
		width: 100%;
		max-width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.evpw-post,
	.evpw-post__image {
		transition-duration: 0.01ms !important;
	}
}
