.vimara-home > .wp-block-vimara-portfolio,
.vimara-portfolio {
	margin-block-end: 0 !important;
	margin-block-start: 0 !important;
}

.vimara-portfolio {
	background: var(--wp--preset--color--papel);
	color: var(--wp--preset--color--texto);
	font-family: var(--wp--preset--font-family--inter);
	scroll-margin-top: var(--vimara-anchor-offset, 6.5625rem);
}

.vimara-portfolio:focus {
	outline: none;
}

.vimara-portfolio *,
.vimara-portfolio *::before,
.vimara-portfolio *::after {
	box-sizing: border-box;
}

.vimara-portfolio p,
.vimara-portfolio h2,
.vimara-portfolio h3 {
	margin-block-end: 0;
	margin-block-start: 0;
}

.vimara-portfolio__inner {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-40);
	margin-inline: auto;
	max-width: 90rem;
	padding: var(--wp--preset--spacing--space-48) var(--wp--preset--spacing--space-24) var(--wp--preset--spacing--space-16);
	width: 100%;
}

.vimara-portfolio__intro {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-16);
	max-width: 80rem;
}

.vimara-portfolio__eyebrow,
.vimara-project-card__type,
.vimara-project-card__story-label {
	font-size: var(--wp--preset--font-size--ui-12);
	font-weight: var(--wp--custom--typography--weight--bold);
	line-height: var(--wp--custom--typography--line-height--ui);
}

.vimara-portfolio__eyebrow,
.vimara-project-card__type,
.vimara-project-card__category {
	color: var(--wp--preset--color--enlace);
}

.vimara-portfolio__title {
	color: var(--wp--preset--color--texto);
	font-size: var(--wp--preset--font-size--heading-2-mobile);
	font-weight: var(--wp--custom--typography--weight--bold);
	letter-spacing: var(--wp--custom--typography--tracking--default);
	line-height: var(--wp--custom--typography--line-height--heading-2-mobile);
}

.vimara-portfolio__description {
	color: var(--wp--preset--color--secundario);
	font-size: var(--wp--preset--font-size--body-mobile);
	line-height: var(--wp--custom--typography--line-height--body-mobile);
	max-width: 47.5rem;
}

.vimara-portfolio__grid {
	display: grid;
	gap: var(--wp--preset--spacing--space-32) var(--wp--preset--spacing--space-24);
	grid-template-columns: minmax(0, 39rem);
	justify-content: start;
}

.vimara-project-card {
	background: var(--wp--preset--color--blanco);
	border-radius: var(--wp--custom--radius--radius-16);
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

.vimara-project-card__image {
	aspect-ratio: 8 / 5;
	background: var(--wp--preset--color--papel);
	border-block-end: 1px solid var(--wp--preset--color--secundario);
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.vimara-project-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-16);
	padding: var(--wp--preset--spacing--space-24);
}

.vimara-project-card__type,
.vimara-project-card__title,
.vimara-project-card__category,
.vimara-project-card__summary,
.vimara-project-card__story-label,
.vimara-project-card__story-copy {
	overflow-wrap: anywhere;
}

.vimara-project-card__title {
	font-size: var(--wp--preset--font-size--heading-3-mobile);
	font-weight: var(--wp--custom--typography--weight--bold);
	line-height: var(--wp--custom--typography--line-height--heading-3-mobile);
}

.vimara-project-card__category {
	font-size: var(--wp--preset--font-size--ui-14);
	font-weight: var(--wp--custom--typography--weight--bold);
	line-height: var(--wp--custom--typography--line-height--ui);
}

.vimara-project-card__summary,
.vimara-project-card__story-copy {
	font-size: var(--wp--preset--font-size--body-mobile);
	line-height: var(--wp--custom--typography--line-height--body-mobile);
}

.vimara-project-card__summary,
.vimara-project-card__story-copy {
	color: var(--wp--preset--color--texto);
}

.vimara-project-card__story {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--space-16);
}

.vimara-project-card__story-label {
	color: var(--wp--preset--color--secundario);
}

.vimara-project-card__cta {
	align-items: center;
	border-radius: var(--wp--custom--radius--radius-12);
	display: flex;
	font-size: var(--wp--preset--font-size--button);
	font-weight: var(--wp--custom--typography--weight--bold);
	justify-content: center;
	line-height: var(--wp--custom--typography--line-height--button);
	min-height: var(--wp--custom--minimum-size--button-height);
	padding: var(--wp--preset--spacing--space-16);
	text-align: center;
	text-decoration: none;
}

.vimara-project-card__cta {
	background: var(--wp--preset--color--noche);
	color: var(--wp--preset--color--blanco);
	margin-block-start: auto;
	width: 100%;
}

.vimara-project-card__cta:hover {
	background: var(--wp--preset--color--turquesa-hover);
	color: var(--wp--preset--color--noche);
}

.vimara-project-card__cta:focus-visible {
	outline: 3px solid var(--wp--preset--color--enlace);
	outline-offset: 3px;
}

.vimara-portfolio__empty {
	align-items: center;
	background: var(--wp--preset--color--blanco);
	border: 1px solid #d9e4eb;
	border-radius: var(--wp--custom--radius--radius-16);
	color: var(--wp--preset--color--secundario);
	display: flex;
	font-size: var(--wp--preset--font-size--body-mobile);
	gap: var(--wp--preset--spacing--space-16);
	line-height: var(--wp--custom--typography--line-height--body-mobile);
	max-width: 39rem;
	padding: var(--wp--preset--spacing--space-16);
}

.vimara-portfolio__empty-icon {
	background: rgba(43, 212, 199, 0.15);
	border-radius: 0.65rem;
	color: var(--wp--preset--color--enlace);
	display: grid;
	flex: 0 0 auto;
	height: 2.5rem;
	place-items: center;
	width: 2.5rem;
}

.vimara-portfolio__empty-icon svg {
	fill: none;
	height: 1.25rem;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 1.25rem;
}

.vimara-portfolio__empty-content {
	min-width: 0;
}

.vimara-portfolio__empty h3 {
	color: var(--wp--preset--color--noche);
	font-size: var(--wp--preset--font-size--ui-16);
	font-weight: var(--wp--custom--typography--weight--bold);
	line-height: 1.5;
	margin-block-end: 0.15rem;
}

.vimara-portfolio__empty p {
	color: var(--wp--preset--color--secundario);
	font-size: var(--wp--preset--font-size--ui-14);
	line-height: 1.5;
	overflow-wrap: anywhere;
}

@media (min-width: 48rem) {
	.vimara-portfolio__inner:has(> .vimara-portfolio__empty) {
		align-items: end;
		display: grid;
		gap: var(--wp--preset--spacing--space-32);
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	}

	.vimara-portfolio__grid {
		grid-template-columns: repeat(2, minmax(0, 39rem));
	}
}

@media (min-width: 72rem) {
	.vimara-portfolio__inner {
		padding: var(--wp--preset--spacing--space-80) clamp(1.5rem, calc(35vw - 26.5rem), 5rem) var(--wp--preset--spacing--space-16);
	}

	.vimara-portfolio__title {
		font-size: var(--wp--preset--font-size--heading-2-desktop);
		line-height: var(--wp--custom--typography--line-height--heading-2-desktop);
	}

	.vimara-portfolio__description {
		font-size: var(--wp--preset--font-size--body-desktop);
		line-height: var(--wp--custom--typography--line-height--body-desktop);
	}

	.vimara-portfolio__grid {
		column-gap: var(--wp--preset--spacing--space-32);
	}

	.vimara-project-card__content {
		padding: var(--wp--preset--spacing--space-24);
	}

	.vimara-project-card__title {
		font-size: var(--wp--preset--font-size--heading-3-desktop);
		line-height: var(--wp--custom--typography--line-height--heading-3-desktop);
	}
}
