/**
 * News Listing panel styles.
 */

.panel-news-listing {
	padding: 80px 0;
	background: #fff;
}

.panel-news-listing__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px 40px;
	margin-bottom: 48px;
}

.panel-news-listing__eyebrow {
	margin: 0 0 8px;
	color: var(--ppi-blue, #089ef7);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 1.6px;
	text-transform: uppercase;
}

.panel-news-listing__title {
	margin: 0;
	max-width: 588px;
	color: var(--ppi-navy, #1a1a4a);
	font-size: clamp(36px, 4vw, 49px);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.735px;
}

.panel-news-listing__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.panel-news-listing__actions {
	display: flex;
	justify-content: center;
	margin-top: 48px;
}

.panel-news-listing__load-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	padding: 14px 32px;
	border: 1px solid var(--ppi-navy, #1a1a4a);
	border-radius: 999px;
	background: transparent;
	color: var(--ppi-navy, #1a1a4a);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.panel-news-listing__load-more:hover,
.panel-news-listing__load-more:focus {
	border-color: var(--ppi-blue, #089ef7);
	background: var(--ppi-blue, #089ef7);
	color: #fff;
}

.panel-news-listing__load-more:disabled {
	opacity: 0.6;
	cursor: wait;
}

@media (max-width: 1024px) {
	.panel-news-listing__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.panel-news-listing {
		padding: 56px 0;
	}

	.panel-news-listing__header {
		margin-bottom: 32px;
	}

	.panel-news-listing__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.panel-news-listing__actions {
		margin-top: 32px;
	}
}
