.display-posts-block .heading-2-blue {
	margin: 0 0 1rem;
}

.display-posts-block {
	margin: 0 20px !important;
}

@media screen and (min-width: 768px) {
	.display-posts-block {
		margin: 0 auto !important;
	}
}

.downloads .downloads-text-container {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 0 20px 20px;
}

.downloads-text-container p {
	max-width: 780px;
}

.downloads-category-section {
	width: 100%;
	margin: 0.5rem 0 !important;
}

.downloads hr {
	opacity: 0.8;
	margin: 2rem 0;
}

.downloads-section-container {
	justify-content: center;
	display: flex;
	flex-wrap: wrap;
}

@media screen and (min-width: 800px) {
	.downloads-section-container {
		justify-content: flex-start;
	}
}

.downloads .download-link p,
.downloads .download-link a,
.downloads .download-link a:visited {
	color: var(--steel) !important;
	font-weight: 600 !important;
	font-size: 18px;
	max-width: fit-content;
	text-decoration: underline;
}

.download-link-container {
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: center;
}

.downloads .download-link-container span {
	background-image: url('/wp-content/uploads/2024/04/arrow-bar.svg');
	background-repeat: no-repeat;
	background-size: cover;
	width: 18px;
	height: 25px;
}

.downloads .download-item:hover .download-link-container span {
	background-image: url('/wp-content/uploads/2024/04/arrow.svg');
	width: 21px;
	height: 24px;
	transition: all 100ms ease-in-out;
}

/* @media screen and (min-width: 1920px) {
	.downloads a.download-link,
	.donwloads a.download-link:visited {
		font-size: 28px !important;
	}
	.downloads .download-link-container span {
		background-image: url('/wp-content/uploads/2024/04/arrow-bar.svg');
		background-repeat: no-repeat;
		background-size: cover;
		width: 19px;
		height: 28px;
	}

	.downloads .download-item:hover .download-link-container span {
		background-image: url('/wp-content/uploads/2024/04/arrow.svg');
		width: 28px;
		height: 30px;
	}
} */

.downloads a.download-link:hover p {
	color: #435362 !important;
	transition: all 300ms ease-in-out;
}

.downloads a.download-link:active p {
	color: #394754 !important;
	transition: all 300ms ease-in-out;
}

.download-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 350px;
}

@media screen and (min-width: 577px) {
	.download-item {
		width: 400px;
	}
}

.download-item:hover .download-img-container::before {
	background-color: #d04d36;
	transition: all 300ms ease-in-out;
}

.download-item:hover .download-img-container {
	border: 5px solid #d04d36;
	transition: all 300ms ease-in-out;
	border-bottom: 3px;
}

.downloads-section-container {
	padding: 0;
	/* gap: 1.5rem; */
	width: 100%;
}

.download-img-container {
	position: relative;
	margin: 1.3rem;
	display: inline-block;
	box-sizing: border-box;
	width: 181px;
	height: 149px;
	border: 5px solid #edf0f0;
	border-bottom: 3px;
}

.download-img-container:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0) 50%,
		rgba(0, 0, 0, 0.7) 75%,

		rgba(0, 0, 0, 0.8) 100%
	);
	z-index: 2;
}

.download-img-container span.overlay-title {
	position: absolute;
	top: 10px;
	left: 10px;
	max-width: 160px;
	z-index: 3;
	text-transform: uppercase;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.1em;
}

.download-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: relative;
	z-index: 2;
}

.download-img-container::before {
	content: '';
	width: 300px;
	height: 92px;
	background-color: #edf0f0;
	border-radius: 1rem 0;
	position: absolute;
	bottom: -50px;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
}

@media screen and (min-width: 557px) {
	.download-img-container::before {
		width: 340px;
	}
}

@media screen and (min-width: 1200px) {
	#display-posts-block {
		width: 80%;
	}
	.download-img-container::before {
		width: 350px;
	}
	.downloads-section-container {
		width: 100%;
	}
}

/* @media screen and (min-width: 1500px) {
	section.latest-downloads {
		width: 85%;
	}

	.downloads-section-container {
		justify-content: center;
	}
} */

/* @media screen and (min-width: 1920px) {
	section.downloads .heading-2-blue {
		margin: 0 0 1rem;
	}

	.downloads-section-container {
		gap: 3rem;
	}

	.download-item {
		width: 500px;
	}

	.download-img-container {
		width: 275px;
		height: 226px;
	}
	.download-img-container::before {
		width: 516px;
		height: 141px;
		bottom: -75px;
	}
} */

/***************** POLICIES *******************/

#policies .downloads-section-container {
	display: flex;
	gap: 1.5rem;
	padding: 2rem 0;
}

#policies .download-item {
	width: 100%;
	max-width: fit-content;
}

@media screen and (min-width: 577px) {
	#policies .downloads-section-container {
		gap: 2.5rem;
	}
}
@media screen and (min-width: 1200px) {
	.downloads {
		margin: 60px 0;
	}
	.post-type-archive-downloads .hero-content-container {
		width: 350px;
	}

	#policies .downloads-section-container {
		gap: 4rem;
		justify-content: space-evenly !important;
	}
}

/* @media screen and (min-width: 1920px) {
	.post-type-archive-downloads .hero-content-container {
		width: 480px;
	}
} */

.post-type-archive-downloads .downloads-category-section {
	margin-bottom: 5rem;
}
