.latest-news {
	max-width: 1200px;
	margin: 0 auto;
	font-family: 'Titillium Web', Arial, sans-serif;
}

.latest-news__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.latest-news__card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #f0f0f0;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.13);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.latest-news__card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.latest-news__media {
	position: relative;
	display: block;
}

.latest-news__thumb {
	display: block;
	line-height: 0;
	aspect-ratio: 16 / 9;
	background: #f5f5f5;
}

.latest-news__series-logo {
	position: absolute;
	bottom: 10px;
	left: 10px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 4px;
	line-height: 0;
}

.latest-news__series-logo img {
	display: block;
	max-height: 36px;
	width: auto;
	height: auto;
}

.latest-news__pill {
	position: absolute;
	bottom: 10px;
	left: 10px;
	z-index: 3;
	display: inline-block;
	max-width: calc(100% - 20px);
	padding: 4px 10px;
	font-family: 'Titillium Web', Arial, sans-serif !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #fff !important;
	background: #171717;
	border-radius: 3px;
	text-decoration: none !important;
	transition: background 0.2s ease;
}

.latest-news__pill:hover,
.latest-news__pill:focus,
.latest-news__pill:visited {
	color: #fff !important;
	opacity: 0.9;
	text-decoration: none !important;
}

.latest-news__pill--dirtcar-late-models,
.latest-news__pill--summer-nationals {
	background: #F15A22;
}

.latest-news__pill--modifieds,
.latest-news__pill--ump-modifieds {
	background: #003da5;
}

.latest-news__pill--recap,
.latest-news__pill--recaps,
.latest-news__pill--results {
	background: #444;
}

.latest-news__pill--dirtcar-ump {
	background: #555;
}

.latest-news__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.latest-news__body {
	padding: 0.75rem 1rem 1rem;
}

.latest-news__date {
	display: block;
	font-size: 0.75rem;
	color: #777;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 0.35rem;
}

.latest-news__title {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.25;
	margin: 0;
}

.latest-news__title a {
	color: #171717;
	text-decoration: none;
}

.latest-news__title a:hover {
	color: #F15A22;
}

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

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

@media (max-width: 480px) {
	.latest-news__grid {
		grid-template-columns: 1fr;
	}
}
