.national-parks {
	margin-bottom: 120px;
}

.national-parks  h2.widget-title {
	font-size: var(--text-3xl-2);
	font-family: var(--font-body);
	font-weight: 800;
	text-transform: uppercase;
	padding: 0 38px;
	margin-bottom: 17px;

}

.national-parks .imagebox .inner {
	position: relative;
}

.national-parks .imagebox .img-cont {
	position: relative;
}

.national-parks .imagebox .img-cont::after {
	content: '';
	height: 100%;
	width: 100%;
	background-color: var(--charcoal);
	opacity: .7;
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}

.national-parks .imagebox .content-section {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

@media (min-width: 64em) {
	.national-parks .imagebox .content-section {
		top: 60%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
}

.national-parks .imagebox .content-section p.description-p {
	color: var(--white);
	display: flex;
	text-align: center;
	width: 302px;
	font-size: var(--text-sm);
	margin-bottom: 15px;
	line-height: 1.14;
}

.national-parks .imagebox .content-section > img {
	width:  min(calc(220px + (250 - 220) * ((100vw - 375px) / (719 - 375))), 250px);
	margin: 0 auto 6%;
	margin-top: min(calc(30px + (240 - 30) * ((100vw - 375px) / (1024 - 375))), 240px);
}

.national-parks .imagebox .content-section img.arrow-right {
	width: 28px;
	margin: unset;
}

.national-parks svg#arrow-forward {
	width: 24px;
}

.national-parks .imagebox-container .read-more-container {
	background-image: url(/includes/public/assets/shared/button-container-mobile-yellow-np.svg);
	display: flex;
	padding: 10px 0 10px 20px;
	width: 155px;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	text-transform: uppercase;
	background-repeat: no-repeat;
	font-weight: 700;
	gap: 7px;
	align-items: center;
	font-style: italic;
}
/* Media query for 375px */
@media (max-width: 23.375em) {
	.national-parks .imagebox-container .read-more-container {
		padding: 5px 0 5px 20px;
	}

	.national-parks .imagebox .content-section > img {
		width:  180px;
		margin-top: 20px;
}

}

.national-parks a.read-more {
	font-size: .9375rem;
	letter-spacing: -0.01em;
}

.national-parks a:hover {
	color: unset;
}

.national-parks .imagebox {
	position: relative;
	width: 100%;
}

.national-parks img {
	max-width: 100%;
	height: auto;
	width: 100%;
}

.national-parks .imagebox::before {
	content: '';
	height: 10px;
	width: 100%;
	position: absolute;
	z-index: 1;
	top: -1px;
	left: 0;
	right: 0;
	pointer-events: none;
	background-image: url(/includes/public/assets/shared/marquee/texture-top-375x10-1.svg);
}

.national-parks .imagebox:nth-child(2):before {
	background-image: url(/includes/public/assets/shared/marquee/texture-top-375x10-4.svg);
}

.national-parks .imagebox::after {
	content: '';
	height: 10px;
	width: 100%;
	position: absolute;
	bottom: -2px;
	right: 0;
	background-image: url(/includes/public/assets/shared/marquee/texture-bottom-375x10-3.svg);
	background-position: top;
	pointer-events: none;
}
.national-parks .imagebox:nth-child(2):after {
	background-image: url(/includes/public/assets/shared/marquee/texture-bottom-375x10-1.svg);

}

@media (min-width: 64em) {
	.imagebox-container {
		position: relative;
	}

	.national-parks .imagebox-container::before {
		content: '';
		height: 10px;
		width: 100%;
		position: absolute;
		z-index: 1;
		top: -1px;
		background-image: url(/includes/public/assets/shared/marquee/texture-top-1440x15.svg);
		pointer-events: none;
	}

	.national-parks .imagebox::before {
		background-image: unset;
	}
	
	.national-parks .imagebox:nth-child(2):before {
		background-image: unset;
	}

	.national-parks .imagebox::after {
		background-image: unset;
	}
	
	.national-parks .imagebox-container::after {
		content: '';
		height: 10px;
		width: 100%;
		position: absolute;
		bottom: -2px;
		right: 0;
		background-image: url(/includes/public/assets/shared/texture-bottom-1440x15.svg);
		background-position: top;
		pointer-events: none;
	}
	.national-parks .imagebox:nth-child(2):after {
		background-image: unset;
	}
}

@media (min-width: 45em) {
	.national-parks .imagebox-container {
		display: flex;
		min-height: 310px;
		justify-content: center;
		align-items: center;
	}

	.national-parks .imagebox .content-section p.description-p {
		width: unset;
		font-size: var(--text-sm);
		margin-bottom: 15px;
		line-height: 1.14;
	}

	.national-parks .imagebox-container .read-more-container {
		padding: 8px 20px;
	}

	.national-parks .imagebox .content-section > img {
		width: min(calc(220px + (300 - 220) * ((100vw - 375px) / (1024 - 375))), 300px);
		margin-top: unset;
		margin: 25% auto 5%;
	}
	
}

@media (min-width: 64em) {
	.national-parks h2.widget-title {
		font-size: var(--text-5xl-2);
		padding: 0 var(--space-5);
		margin-bottom: 10px;
		letter-spacing: -0.06em;
	}

	.national-parks .imagebox .content-section {
		width: 400px;
		transition: transform ease-out .3s;
	}

	.national-parks .widget-header-inner {
		max-width: var(--width-base);
		margin: 0 auto;
	}

	.national-parks .imagebox .content-section > img {
		width: min(calc(300px + (400 - 300) * ((100vw - 1024px) / (1440 - 1024))), 400px);
		margin: 0 auto;
	}

	.national-parks .imagebox .content-section p.description-p {
		font-size: min(calc(14px + (18 - 14) * ((100vw - 1024px) / (1440 - 1024))), 18px);
		margin-bottom: 25px;
		line-height: 1.33;
		padding: 0 20px;
	}

	.national-parks .imagebox:hover .content-section {
		transform: translate(-50%, -80%);
	}

	.national-parks .description-container {
		transform: translate(0, 40px);
	}

	.national-parks .imagebox .img-cont::after {
		opacity: .35;
		transition: opacity ease-out .3s;
	}
	.national-parks .imagebox:hover .img-cont::after {
		opacity: .7;
	}

	.national-parks .imagebox-container .read-more-container {
		padding: 12px 0 12px 20px;
	}

	.national-parks .imagebox .content-section p.description-p,
	.national-parks .imagebox-container .imagebox .read-more-container 
	 {
		opacity: 0;
		transition: opacity ease-out .3s, transform ease-out .3s;
	}

	.national-parks .imagebox:hover .content-section p.description-p {
		transform: translateY(0px);
	}
	.national-parks .imagebox:hover .content-section p.description-p, 
	.national-parks .imagebox-container .imagebox:hover .read-more-container {
		opacity: 1;
	}
	
	.national-parks .imagebox-container .read-more-container {
		background-image: url(/includes/public/assets/shared/button-container-white.svg);
		background-repeat: no-repeat;
		gap: 4px;
		width: 180px;
		transition: background-image ease-out .3s;
	}
	.national-parks .imagebox-container .read-more-container:hover {
		background-image: url(/includes/public/assets/shared/button-container-nat-park-fill.svg);
	}

	.national-parks .imagebox-container .read-more-container .read-more,
	.national-parks .imagebox-container .read-more-container a.read-more {
		color: var(--white);
		font-size: var(--text-xl);
	}

	
	.national-parks .imagebox-container .read-more-container:hover .read-more {
		color: var(--charcoal);
	}

	.national-parks .imagebox-container .read-more-container path#arrow-forward-1 {
		fill: var(--white);
	}

	.national-parks .imagebox-container .read-more-container:hover path#arrow-forward-1 {
		fill: var(--charcoal);
	}
	.national-parks .imagebox-container .read-more-container .arrow-right-view-all {
		transition: transform ease-out .3s;
	}
	.national-parks .imagebox-container .read-more-container:hover .arrow-right-view-all {
		transform: translateX(5px);
	}

}
