/**
 * News article grid (author / category archives + AJAX “See more”).
 */

.news-article-section {
	--lp-news-more-bg: #ff0099;
	--lp-news-more-bg-hover: #e6008a;
	color: var(--lp-color-white);
}

.news-article-section__heading {

	background: linear-gradient(270deg, #ff9d00 -0.86%, #fff 97.17%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-transform: uppercase;
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	display:table;
	margin: 0 auto;
}

.news-article-section__inner {
	margin: 50px 0;
	position: relative;
	z-index: 1;
}

.news-article-section__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

@media (max-width: 950px) {
	.news-article-section__grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 640px) and (max-width: 950px) {
	.news-article-section__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.news-article-card {
	border-radius: var(--lp-radius-card-md);
	overflow: hidden;
	background-color: var(--lp-color-zinc-800);
	box-shadow: 0 4px 24px var(--lp-color-shadow-16);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-article-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 28px var(--lp-color-shadow-25);
}

.news-article-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.news-article-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--lp-color-zinc-700);
}

.news-article-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.news-article-card__img--placeholder {
	min-height: 100%;
	background: linear-gradient(145deg, var(--lp-color-zinc-700), var(--lp-color-zinc-900));
}

.news-article-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.1rem 1.15rem 1.15rem;
	gap: 0.5rem;
}

.news-article-card__excerpt {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--lp-color-white-65);
	flex: 1;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.news-article-section__actions {
	display: flex;
	justify-content: center;
	margin-top: 2.25rem;
}

.news-article-section__more {
	appearance: none;
	border: none;
	cursor: pointer;
	padding: 0.85rem 2.75rem;
	border-radius: var(--lp-radius-pill-full);
	background: var(--lp-news-more-bg);
	color: var(--lp-color-white);
	font-size: 0.9375rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: 0 4px 20px rgba(255, 0, 153, 0.35);
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.news-article-section__more:hover:not(:disabled) {
	background: var(--lp-news-more-bg-hover);
	transform: translateY(-1px);
	box-shadow: 0 6px 24px rgba(255, 0, 153, 0.45);
}

.news-article-section__more:focus-visible {
	outline: 2px solid var(--lp-color-white);
	outline-offset: 3px;
}

.news-article-section__more:disabled {
	opacity: 0.65;
	cursor: not-allowed;
	transform: none;
}

.news-article-section[data-lp-news-loading="1"] .news-article-section__grid {
	opacity: 0.92;
}
