/**
 * Proyecto — casos relacionados (full-bleed).
 */

.elementor-widget-althus-proyecto-related,
.elementor-widget-althus-proyecto-related > .elementor-widget-container {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

.althus-proyecto-related {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background-color: #0a0a0a;
	color: #ffffff;
	font-family: var(--althus-font-family, inherit);
	box-sizing: border-box;
}

.althus-proyecto-related *,
.althus-proyecto-related *::before,
.althus-proyecto-related *::after {
	box-sizing: inherit;
}

.althus-proyecto-related__inner {
	padding:
		clamp(2.5rem, 5vw, 4rem)
		clamp(1.5rem, 5vw, 6rem)
		clamp(3rem, 6vw, 5rem);
}

.althus-proyecto-related__title {
	margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
	color: #ffffff;
	font-family: var(--althus-font-family, inherit);
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	font-weight: 500;
	line-height: 1.2;
}

.althus-proyecto-related__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.75rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.althus-proyecto-related__link {
	display: block;
	color: inherit;
	text-decoration: none !important;
}

.althus-proyecto-related__link:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 4px;
}

.althus-proyecto-related__media {
	margin: 0;
	overflow: hidden;
	border-radius: clamp(0.75rem, 1.2vw, 1rem);
	background-color: #1a1a1a;
	line-height: 0;
}

.althus-proyecto-related__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.althus-proyecto-related__meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-top: clamp(0.75rem, 1.2vw, 1rem);
}

.althus-proyecto-related__name {
	color: #ffffff;
	font-family: var(--althus-font-family, inherit);
	font-size: clamp(1rem, 1.15vw, 1.25rem);
	font-weight: 500;
	line-height: 1.25;
}

.althus-proyecto-related__attr {
	flex-shrink: 0;
	color: rgba(255, 255, 255, 0.65);
	font-family: var(--althus-font-family, inherit);
	font-size: clamp(0.8125rem, 0.9vw, 0.9375rem);
	font-weight: 300;
	white-space: nowrap;
}

.althus-proyecto-related__link:hover .althus-proyecto-related__name {
	text-decoration: underline;
}

.althus-proyecto-related__empty {
	margin: 0;
	padding: 2rem 0;
	color: #9a9a9a;
	font-size: 0.9375rem;
	font-weight: 400;
	text-align: center;
}

@media (min-width: 1920px) {
	.althus-proyecto-related__inner {
		padding-left: 6rem;
		padding-right: 6rem;
	}
}

@media (max-width: 767px) {
	.althus-proyecto-related__inner {
		padding: 2.5rem 1.15rem 3rem;
	}

	.althus-proyecto-related__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
