.usal-sost-senderos-portada,
.usal-sost-senderos-portada * {
	box-sizing: border-box;
}

.usal-sost-senderos-portada {
	--usal-sost-senderos-green: #075f49;
	--usal-sost-senderos-ink: #15352d;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: clamp(24px, 3vw, 46px) clamp(16px, 3vw, 50px);
	overflow-x: clip;
	color: var(--usal-sost-senderos-ink);
	isolation: isolate;
}

.usal-sost-senderos-portada__heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 18px;
}

.usal-sost-senderos-portada__heading,
.usal-sost-senderos-portada__heading > * {
	min-width: 0;
}

.usal-sost-senderos-portada__title,
.usal-sost-senderos-portada__intro,
.usal-sost-senderos-portada__card-title,
.usal-sost-senderos-portada__description {
	margin: 0;
}

.usal-sost-senderos-portada__title {
	font-size: clamp(1.5rem, 2.3vw, 2.15rem);
	line-height: 1.1;
	text-wrap: balance;
}

.usal-sost-senderos-portada__intro {
	margin-top: 6px;
	font-size: 0.95rem;
	line-height: 1.45;
}

.usal-sost-senderos-portada__all,
.usal-sost-senderos-portada__all:link,
.usal-sost-senderos-portada__all:visited {
	flex: none;
	color: var(--usal-sost-senderos-green) !important;
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none !important;
}

.usal-sost-senderos-portada__track {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: clamp(18px, 2vw, 28px);
}

.usal-sost-senderos-portada__card {
	position: relative;
	display: flex;
	align-items: end;
	min-width: 0;
	min-height: clamp(280px, 26vw, 350px);
	overflow: hidden;
	border: 0;
	border-radius: 14px;
	background: #173f35;
	box-shadow: 0 8px 24px rgba(10, 54, 43, 0.12);
}

.usal-sost-senderos-portada__slides,
.usal-sost-senderos-portada__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.usal-sost-senderos-portada__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .8s ease;
}

.usal-sost-senderos-portada__slide.is-active {
	opacity: 1;
}

.usal-sost-senderos-portada__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.usal-sost-senderos-portada__shade {
	background: linear-gradient(180deg, rgba(3, 20, 15, 0.05) 22%, rgba(3, 25, 18, 0.88) 100%);
}

.usal-sost-senderos-portada__content {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 22px;
	color: #ffffff;
}

.usal-sost-senderos-portada__count {
	display: inline-flex;
	margin-bottom: 8px;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	color: #ffffff;
	font-size: 0.7rem;
	font-weight: 700;
}

.usal-sost-senderos-portada__card-title {
	color: #ffffff;
	font-size: clamp(1.15rem, 1.55vw, 1.45rem);
	line-height: 1.15;
	text-wrap: balance;
}

.usal-sost-senderos-portada__description {
	max-width: 32ch;
	margin-top: 7px;
	color: #ffffff;
	font-size: 0.84rem;
	line-height: 1.4;
	text-wrap: pretty;
}

.usal-sost-senderos-portada__link,
.usal-sost-senderos-portada__link:link,
.usal-sost-senderos-portada__link:visited {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 34px;
	margin-top: 14px;
	padding: 7px 13px;
	border: 1px solid #ffffff;
	border-radius: 7px;
	background: #ffffff;
	color: var(--usal-sost-senderos-green) !important;
	font-size: 0.82rem;
	font-weight: 700;
	font-family: inherit;
	line-height: 1;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none;
}

.usal-sost-senderos-portada__card:hover .usal-sost-senderos-portada__image,
.usal-sost-senderos-portada__card:focus-within .usal-sost-senderos-portada__image {
	transform: scale(1.035);
}

.usal-sost-senderos-portada__link:hover,
.usal-sost-senderos-portada__link:focus-visible {
	background: var(--usal-sost-senderos-green);
	color: #ffffff !important;
}

@media (max-width: 760px) {
	.usal-sost-senderos-portada {
		width: 100%;
		margin: 0;
		padding-inline: 8px;
	}

	.usal-sost-senderos-portada__heading {
		align-items: start;
		flex-direction: column;
		gap: 10px;
	}

	.usal-sost-senderos-portada__track {
		grid-template-columns: 1fr;
	}

	.usal-sost-senderos-portada__card {
		width: 100%;
		max-width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.usal-sost-senderos-portada__image,
	.usal-sost-senderos-portada__slide {
		transition: none;
	}
}
