/**
 * Latest News panel styles.
 */

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

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

.panel-latest-news__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-latest-news__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-latest-news__header-link {
	flex-shrink: 0;
	margin-top: 38px;
	color: var(--ppi-navy, #1a1a4a);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: underline;
	text-decoration-color: var(--ppi-blue, #089ef7);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	white-space: nowrap;
}

.panel-latest-news__header-link:hover,
.panel-latest-news__header-link:focus {
	color: var(--ppi-blue, #089ef7);
	text-decoration: none;
}

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

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

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

	.panel-latest-news__header {
		flex-direction: column;
		margin-bottom: 32px;
	}

	.panel-latest-news__header-link {
		margin-top: 0;
	}

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