/* Nova News landing page only */

.nova-news-landing__featured,
.nova-news-landing__all {
	margin-top: 2rem;
}

.nova-news-landing__tabs-header {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.nova-news-landing__section-title {
	margin: 0;
	font-size: clamp(1.4rem, 3vw, 2rem);
	line-height: 1.2;
}

.nova-news-landing__section-note,
.nova-news-landing__all-empty {
	margin: 0;
	color: #6b7280;
	font-size: 0.95rem;
}

.nova-news-landing__all-list {
	gap: 1rem;
}

.nova-news-landing__featured-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
	gap: 1.25rem;
	align-items: start;
}

.nova-news-landing__featured-layout.is-single {
	grid-template-columns: minmax(0, 1fr);
}

.nova-news-landing__featured-lead .nova-news-card,
.nova-news-landing__featured-rail .nova-news-card {
	border: 0;
	border-radius: 0;
	background: transparent;
}

.nova-news-landing__featured-lead .nova-news-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.nova-news-landing__featured-lead .nova-news-card__image,
.nova-news-landing__featured-lead .nova-news-fallback-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nova-news-landing__featured-lead .nova-news-card__content {
	padding: 0.9rem 0 0;
}

.nova-news-landing__featured-lead .nova-news-card__title {
	font-size: clamp(1.45rem, 3vw, 2rem);
	line-height: 1.22;
}

.nova-news-landing__featured-lead .nova-news-card__excerpt {
	font-size: 1rem;
	line-height: 1.7;
}

.nova-news-landing__featured-rail {
	display: grid;
	gap: 1rem;
	align-content: start;
}

.nova-news-landing__featured-rail .nova-news-card {
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

.nova-news-landing__featured-rail .nova-news-card:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.nova-news-landing__featured-rail .nova-news-card__media {
	flex: 0 0 108px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.nova-news-landing__featured-rail .nova-news-card__image,
.nova-news-landing__featured-rail .nova-news-fallback-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nova-news-landing__featured-rail .nova-news-card__content {
	padding: 0;
	gap: 0.45rem;
}

.nova-news-landing__featured-rail .nova-news-card__title {
	font-size: 1.05rem;
	line-height: 1.35;
}

.nova-news-landing__featured-rail .nova-news-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.nova-news-landing__featured-rail .nova-news-card__link {
	display: none;
}

.nova-news-landing__all-item[hidden] {
	display: none !important;
}

.nova-news-pagination__controls,
.nova-news-pagination__pages {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: center;
}

.nova-news-pagination__controls {
	justify-content: center;
}

.nova-news-pagination__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	padding: 0.45rem 0.8rem;
	border: 1px solid rgba(17, 24, 39, 0.12);
	border-radius: 999px;
	background: #fff;
	color: #111827;
	cursor: pointer;
	text-decoration: none;
}

.nova-news-pagination__button.is-active {
	background: #111827;
	border-color: #111827;
	color: #fff;
}

.nova-news-pagination__button[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

.nova-news-pagination__button.is-disabled,
.nova-news-pagination__button[aria-disabled="true"] {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
}

@media (max-width: 782px) {
	.nova-news-landing__tabs-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.nova-news-landing__featured-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.nova-news-landing__featured-rail .nova-news-card__media {
		flex-basis: 132px;
	}
}
