.nordemo-news {
	margin-block: 0 73px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
}

.nordemo-news__list {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.nordemo-news__list .swiper-wrapper {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.nordemo-news__item {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	padding: 32px;
	background: var(--nordemo-news-surface);
	border-radius: var(--nordemo-radius);
	/* Figma strokes sit inside the frame. An inset shadow keeps the designed box height. */
	box-shadow: inset 0 0 0 1px var(--nordemo-news-border);
}

.nordemo-news__date {
	width: 100%;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: var(--nordemo-primary);
	text-transform: uppercase;
}

.nordemo-news__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.nordemo-news__title {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: -0.0083em;
	color: #000;
}

.nordemo-news__excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	margin: 0;
	overflow: hidden;
	font-size: 17px;
	line-height: 25px;
	color: var(--nordemo-text-muted);
}

.nordemo-news__more {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px 10px 24px;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: var(--nordemo-text-muted);
	text-decoration: none;
	border-radius: var(--nordemo-radius-pill);
	box-shadow: inset 0 0 0 1px var(--nordemo-text-muted);
}

.nordemo-news__more:hover {
	color: var(--nordemo-primary);
	box-shadow: inset 0 0 0 1px var(--nordemo-primary);
}

/* The call to action keeps the same 24px rhythm as the items above it; the root gap gives 16. */
.nordemo-news__footer {
	display: flex;
	flex-direction: column;
	margin-top: 8px;
	width: 100%;
}

.nordemo-news__dots {
	display: none;
}

.nordemo-news__cta {
	display: flex;
	align-self: flex-start;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px 12px 24px;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: var(--nordemo-on-primary);
	text-decoration: none;
	background: var(--nordemo-primary);
	border-radius: var(--nordemo-radius-pill);
}

.nordemo-news__cta:hover {
	background: var(--nordemo-primary-hover);
}

.nordemo-news :focus-visible {
	outline: 2px solid var(--nordemo-primary);
	outline-offset: 2px;
}

@media (max-width: 991px) {
	.nordemo-news {
		margin-block: 0 16px;
	}

	.nordemo-news {
		padding-top: 48px;
	}

	.nordemo-news__list .swiper-wrapper {
		flex-direction: row;
		align-items: stretch;
		gap: 0;
	}

	.nordemo-news__list .swiper-slide {
		height: auto;
	}

	/* Slide width and the tighter type belong to the slider, not to the shared item. */
	.nordemo-news .nordemo-news__item {
		width: 258px;
		padding: 32px 16px;
	}

	.nordemo-news .nordemo-news__title {
		font-size: 22px;
		line-height: 30px;
	}

	/* The pagination dots sit directly under the slider, so the root gap is the whole distance. */
	.nordemo-news__footer {
		gap: 16px;
		margin-top: 0;
	}

	.nordemo-news__dots.swiper-pagination {
		position: static;
		display: flex;
		justify-content: center;
		gap: 6px;
	}

	.nordemo-news__dots .swiper-pagination-bullet {
		width: 8px;
		height: 8px;
		margin: 0;
		background: var(--nordemo-surface-accent);
		opacity: 1;
	}

	.nordemo-news__dots .swiper-pagination-bullet-active {
		background: var(--nordemo-primary);
	}

	.nordemo-news__cta {
		align-self: stretch;
	}
}
