.nordemo-link-cards {
	margin-block: 0 72px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.nordemo-link-cards__grid {
	display: flex;
	align-items: stretch;
	gap: 24px;
}

.nordemo-link-cards__card {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 11px;
	min-width: 0;
	padding: 24px;
	text-decoration: none;
	background: var(--nordemo-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-surface-border);
}

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

.nordemo-link-cards__icon {
	flex: none;
	display: block;
	width: 50px;
	height: 50px;
}

.nordemo-link-cards__heading {
	display: flex;
	flex-direction: column;
}

.nordemo-link-cards__eyebrow {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.714;
	letter-spacing: 0.1071em;
	text-transform: uppercase;
	color: #838383;
}

.nordemo-link-cards__title {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.333;
	letter-spacing: -0.0083em;
	color: var(--nordemo-text-muted);
}

/* Figma pads the two shorter cards with an empty line to align the links; this does it honestly. */
.nordemo-link-cards__text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
	line-height: 1.471;
	color: var(--nordemo-text-caption);
}

.nordemo-link-cards__action {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: auto;
}

.nordemo-link-cards__action-label {
	font-weight: 600;
	line-height: 1.471;
	color: var(--nordemo-primary);
}

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

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

	.nordemo-link-cards__grid {
		flex-direction: column;
	}

	.nordemo-link-cards__text {
		-webkit-line-clamp: 5;
	}
}
