/* Fremhævede kategorier – shop-arkiv (Aktiv SanseTerapi) */

.ast-hl {
	margin: 0 0 56px;
}

.ast-hl__grid {
	display: grid;
	gap: 24px;
}
.ast-hl__grid--3 { grid-template-columns: 1.25fr 1fr 1.6fr; }
.ast-hl__grid--2 { grid-template-columns: 1fr 1fr; }
.ast-hl__grid--1 { grid-template-columns: 1fr; }

.ast-hl__card {
	position: relative;
	display: block;
	height: clamp(320px, 30vw, 460px);
	border-radius: 20px;
	overflow: hidden;
	isolation: isolate;
	background: #A9C4F5;
	color: #fff;
	text-decoration: none !important;
}
.ast-hl__card:nth-child(2) { background: #F5C088; }
.ast-hl__card:nth-child(3) { background: #D6E4FB; }

.ast-hl__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
	z-index: -2;
}

/* Mørk gradient bagved overskriften så den altid kan læses */
.ast-hl__card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 40%, rgba(0, 0, 0, 0) 65%);
	z-index: -1;
}
.ast-hl__card--noimg::after { background: none; }
.ast-hl__card--noimg { color: #0b2a6b; }

.ast-hl__badge {
	position: absolute;
	top: 24px;
	left: 24px;
	padding: 12px 20px;
	border-radius: 10px;
	background: #fff;
	color: #1d1d1d;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
}

.ast-hl__arrow {
	position: absolute;
	top: 24px;
	right: 24px;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fff;
	color: #045AEF;
	transition: background .25s ease, color .25s ease, transform .25s ease;
}

.ast-hl__title {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 24px;
	margin: 0;
	color: inherit;
	font-family: "Momo Trust Display", sans-serif;
	font-size: clamp(22px, 2vw, 32px);
	line-height: 1.15;
	text-wrap: balance;
}

/* Hover / fokus */
.ast-hl__card:hover .ast-hl__img,
.ast-hl__card:focus-visible .ast-hl__img { transform: scale(1.04); }

.ast-hl__card:hover .ast-hl__arrow,
.ast-hl__card:focus-visible .ast-hl__arrow {
	background: #045AEF;
	color: #fff;
	transform: rotate(45deg);
}

.ast-hl__card:focus-visible {
	outline: 3px solid #EF9704;
	outline-offset: 3px;
}

/* Tablet + mobil: vandret scroll med snap */
@media (max-width: 999px) {
	.ast-hl { margin-bottom: 40px; }

	.ast-hl__grid {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		margin-inline: -16px;
		padding-inline: 16px;
	}
	.ast-hl__grid::-webkit-scrollbar { display: none; }

	.ast-hl__grid--1 .ast-hl__card { flex-basis: 100%; }

	.ast-hl__card {
		flex: 0 0 82%;
		height: 360px;
		scroll-snap-align: start;
	}

	.ast-hl__badge,
	.ast-hl__arrow { top: 16px; }
	.ast-hl__badge { left: 16px; padding: 10px 16px; font-size: 15px; }
	.ast-hl__arrow { right: 16px; width: 44px; height: 44px; }
	.ast-hl__title { left: 16px; right: 16px; bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.ast-hl__img,
	.ast-hl__arrow { transition: none; }
}
