/* ==================================================
   Home Page Article Sections
================================================== */

.home-articles {
	width: 100%;
}

.home-articles-inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}


/* ==================================================
   Section Headings
================================================== */

.home-articles-heading {
	position: relative;
	margin: 0 0 75px;
	padding-bottom: 16px;
	text-align: center;
	text-transform: uppercase;
}

.home-articles-heading::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 48px;
	height: 3px;
	background: #00a9d6;
	transform: translateX(-50%);
}


/* ==================================================
   Shared Article Card Styles
================================================== */

.article-card {
	border: 1px solid #d8e1ec;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 34, 66, 0.05);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.article-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 36px rgba(15, 34, 66, 0.10);
}



/* ==================================================
   Featured Stories Layout
================================================== */

.home-articles-section-featured {
	background: #fff;
}

.featured-story-full,
.featured-stories-grid,
.more-positive-energy-grid {
	width: 100%;
	max-width: 1000px;
	margin-right: auto;
	margin-left: auto;
}

.featured-story-full {
	margin-bottom: 35px;
}

.featured-stories-grid,
.more-positive-energy-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 35px;
}

.featured-stories-grid .article-card-title,
.more-positive-energy-grid .article-card-title {
	margin-bottom: 4px;
}

.featured-stories-grid .article-card-read-more-wrap,
.more-positive-energy-grid .article-card-read-more-wrap {
	margin-top: 0;
}


/* ==================================================
   Full-Width Featured Story
================================================== */

.featured-story-full .article-card {
	display: grid;
	grid-template-columns: 45% 55%;
	width: 100%;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(16, 32, 63, 0.08);
}

.featured-story-full .article-card:hover {
	box-shadow: 0 16px 40px rgba(16, 32, 63, 0.12);
}

.featured-story-full .article-card-image-link {
	display: block;
	min-width: 0;
}

.featured-story-full .article-card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.featured-story-full .article-card-content {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	height: 100%;
	padding: 28px 28px 0;
}
.featured-story-full .article-card-title {
	margin: 0 0 18px;
	font-size: 1.875rem;
	line-height: 1.15;
	font-weight: 700;
}

.featured-story-full .article-card-title a {
	color: inherit;
	text-decoration: none;
}
.featured-story-full .article-card-meta {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	margin-top: 8px;
}


.featured-story-full .article-card-category {
	margin-top: auto;
}
.featured-story-full .article-card-excerpt {
	max-width: 760px;
	margin: 0;
	font-size: 18px;
	line-height: 1.65;
	color: #555;
}
.featured-story-full .article-card-read-more-wrap {
	display: flex;
	justify-content: flex-start;
	width: 100%;
	margin-top: 8px;
}

.featured-story-full .article-card-read-more {
	font-weight: 700;
	text-decoration: none;
	font-size: 14px;
}
.featured-story-full .article-card-date {
	margin: 0;
}
.featured-story-full .article-card-category {
	display: inline-block;
	align-self: flex-start;
	margin-top: auto;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}


/* ==================================================
   Standard Article Cards
================================================== */

.article-card-standard {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	overflow: hidden;
	border-radius: 10px;
}

.article-card-standard .article-card-image-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f5f5f5;
}

.article-card-standard .article-card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.article-card-standard .article-card-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 4px 15px;
}

.article-card-standard .article-card-title {
	display: -webkit-box;
	min-height: 20px;
	margin-bottom: 14px;
	overflow: hidden;
	line-height: 1.3;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.article-card-standard .article-card-title a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.article-card-standard .article-card-date {
	margin: 12px 0 5px;
	padding: 0;
}

.article-card-standard .article-card-category {
	align-self: flex-start;
	margin: 0;
}






/* ==================================================
   Featured Stories & More Positive Energy Cards
================================================== */

.featured-stories-grid .article-card,
.more-positive-energy-grid .article-card {
	min-width: 0;
	overflow:hidden;
	border:1px solid #e2e6ea;
	border-radius:10px;
	background:#fff;
	box-shadow:0 8px 24px rgba(16, 32, 63, 0.06);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.featured-stories-grid .article-card-standard,
.more-positive-energy-grid .article-card-standard {
	display: grid;
	grid-template-columns: 50% 50%;
	grid-template-rows: 1fr;
	align-items: stretch;
}



.featured-stories-grid .article-card-image-link,
.more-positive-energy-grid .article-card-image-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eef5fb;
}

.featured-stories-grid .article-card-image,
.more-positive-energy-grid .article-card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}



.featured-stories-grid .article-card-content,
.more-positive-energy-grid .article-card-content {
	padding: 14px 20px;
}

.featured-stories-grid .article-card-title,
.more-positive-energy-grid .article-card-title {
	margin: 0;
	font-size: 18px;
	line-height: 1.25;
}

.featured-stories-grid .article-card-title a,
.more-positive-energy-grid .article-card-title a {
	display: block;
	color: inherit;
}

.featured-stories-grid .article-card-date,
.more-positive-energy-grid .article-card-date {
	margin: 5px 0;
}

.featured-stories-grid .article-card-category,
.more-positive-energy-grid .article-card-category {
	align-self: flex-start;
	margin: 0;
}




/* ==================================================
   Appalachia First Section
================================================== */

.home-articles-section-appalachia {
	margin: 75px 0;
	padding: 75px 0;
	overflow: hidden;
	background: #f5f5f5;
}

.appalachia-carousel-wrap {
	position: relative;
}

.appalachia-carousel {
	width: 100%;
	overflow: hidden;
}

.appalachia-carousel .swiper-wrapper {
	display: flex;
	flex-direction: row;
	align-items: stretch;
}

.appalachia-carousel .swiper-slide {
	display: flex;
	flex-shrink: 0;
	height: auto;
}

.appalachia-carousel .article-card {
	width: 100%;
	height: 100%;
	min-width: 0;
}

.appalachia-carousel .article-card-carousel {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-width: 0;
}


/* ==================================================
   Carousel Article Cards
================================================== */

.article-card-carousel {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	overflow: hidden;
	border-radius: 10px;
}

.article-card-carousel .article-card-image-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 20px;
	overflow: hidden;
	background: #edf4fa;
	border-radius: 10px;
}

.article-card-carousel .article-card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.article-card-carousel .article-card-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 22px;
}

.article-card-carousel .article-card-title {
	display: -webkit-box;
	min-height: 2.6em;
	margin: 0 0 14px;
	overflow: hidden;
	line-height: 1.3;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.article-card-carousel .article-card-read-more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 20px;
	text-decoration: none;
}

.article-card-carousel .article-card-date {
	margin-top: auto;
	margin-bottom: 10px;
}

.article-card-carousel .article-card-category {
	align-self: flex-start;
	margin: 0;
}



/* ==================================================
   Home Card Featured Grid
================================================== */

.featured-story-full .article-card-content,
.featured-stories-grid .article-card-content,
.more-positive-energy-grid .article-card-content {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
}
.featured-story-full .article-card-read-more-wrap,
.featured-stories-grid .article-card-read-more-wrap,
.more-positive-energy-grid .article-card-read-more-wrap {
	display: flex;

	width: 100%;
	margin-top: 4px;
}
.featured-story-full .article-card-read-more,
.featured-stories-grid .article-card-read-more,
.more-positive-energy-grid .article-card-read-more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	font-weight: 700;
	text-decoration: none;
	font-size: 14px;
}
.featured-story-full .article-card-meta,
.featured-stories-grid .article-card-meta,
.more-positive-energy-grid .article-card-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	width: 100%;
	margin-top: auto;
}
.featured-story-full .article-card-date,
.featured-stories-grid .article-card-date,
.more-positive-energy-grid .article-card-date {
	margin: 0;
	padding: 0;
}
.featured-story-full .article-card-category,
.featured-stories-grid .article-card-category,
.more-positive-energy-grid .article-card-category {
	align-self: flex-start;
	margin: 10px 0 0;
}




/* ==================================================
   Carousel Navigation
================================================== */

.appalachia-carousel-button {
	position: absolute;
	top: 42%;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #17365d;
	cursor: pointer;
	transform: translateY(-50%);
	transition:
		color 0.2s ease,
		transform 0.2s ease;
}

.appalachia-carousel-prev {
	left: -55px;
}

.appalachia-carousel-next {
	right: -55px;
}

.appalachia-carousel-button i {
	font-size: 28px;
}

.appalachia-carousel-button:hover {
	color: #00a3e0;
	transform: translateY(-50%) scale(1.12);
}

.appalachia-carousel-button:focus-visible {
	color: #555;
	outline: 2px solid currentColor;
	outline-offset: 4px;
	transform: translateY(-50%) scale(1.08);
}

.appalachia-carousel-button.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}


/* ==================================================
   Section Buttons
================================================== */

.home-articles-button-wrap {
	margin-top: 40px;
	text-align: center;
}

.home-articles-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 145px;
	padding: 14px 28px;
	border: 2px solid #10203f;
	border-radius: 4px;
	background: #10203f;
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition:
		background-color 0.25s ease,
		color 0.25s ease;
}

.home-articles-button:hover,
.home-articles-button:focus-visible {
	background: transparent;
	color: #10203f;
}


/* ==================================================
   Scroll Reveal Animation
================================================== */

.reveal-on-scroll {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 0.55s ease,
		transform 0.55s ease;
}

.reveal-on-scroll.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.no-js .reveal-on-scroll {
	opacity: 1;
	transform: none;
}

.featured-stories-grid .reveal-on-scroll:nth-child(2),
.more-positive-energy-grid .reveal-on-scroll:nth-child(2) {
	transition-delay: 0.1s;
}

.featured-stories-grid .reveal-on-scroll:nth-child(3),
.more-positive-energy-grid .reveal-on-scroll:nth-child(3) {
	transition-delay: 0.2s;
}

.featured-stories-grid .reveal-on-scroll:nth-child(4),
.more-positive-energy-grid .reveal-on-scroll:nth-child(4) {
	transition-delay: 0.3s;
}

.appalachia-carousel .swiper-slide:nth-child(2) .reveal-on-scroll {
	transition-delay: 0.1s;
}

.appalachia-carousel .swiper-slide:nth-child(3) .reveal-on-scroll {
	transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {

	.reveal-on-scroll {
		opacity: 1;
		transform: none;
		transition: none;
	}

}


/* ==================================================
   Responsive
================================================== */

@media (max-width: 1100px) {

	.appalachia-carousel-prev {
		left: 10px;
	}

	.appalachia-carousel-next {
		right: 10px;
	}

}

@media (max-width: 900px) {

	.featured-story-full .article-card {
		grid-template-columns: 1fr;
	}

	.featured-stories-grid,
	.more-positive-energy-grid {
		grid-template-columns: 1fr;
	}

}

@media (max-width: 767px) {

	.featured-story-full .article-card-content {
		padding: 22px;
	}

	.featured-story-full .article-card-title {
		font-size: 30px;
	}

	.featured-story-full .article-card-excerpt {
		font-size: 16px;
	}

}

@media (max-width: 600px) {

	.home-articles-section {
		padding: 0 20px 50px;
	}

	.home-articles-heading {
		margin-bottom: 30px;
		font-size: 24px;
	}

	.featured-story-full {
		margin-bottom: 25px;
	}

	.featured-stories-grid,
	.more-positive-energy-grid {
		gap: 25px;
	}

	.featured-stories-grid .article-card-standard,
.more-positive-energy-grid .article-card-standard {
	grid-template-columns: 1fr;
}

.featured-stories-grid .article-card-image-link,
.more-positive-energy-grid .article-card-image-link {
	height: auto;
	aspect-ratio: 16 / 9;
}

	.home-articles-section-appalachia {
		margin: 50px 0;
		padding: 50px 20px;
	}

}