.gpd-featured-widget,
.gpd-featured-widget * {
	box-sizing: border-box;
}

.gpd-featured-widget {
	display: block;
	min-width: 0;
	max-width: 100%;
	height: auto;
	overflow: visible;
	width: 100%;
	font-family: "Century Gothic", Montserrat, Arial, sans-serif;
}

.elementor-widget-gpd_featured_gallery.gpd-panel-expanded,
.elementor-widget-gpd_featured_gallery.gpd-panel-expanded > .elementor-widget-container,
.elementor-element.gpd-panel-expanded > .elementor-widget-container {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

.e-con.gpd-flex-expanded,
.elementor-container.gpd-flex-expanded,
.elementor-column-wrap.gpd-flex-expanded {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

.gpd-featured {
	--gpd-gallery-height: 526px;
	--gpd-gap: 14px;
	--gpd-more-gap: 16px;
	--gpd-more-card-height: 260px;
	--gpd-more-image-width: 41%;
	--gpd-global-position: center center;
	--gpd-mobile-columns: 2;
	width: 100%;
	margin-inline: auto;
	overflow: hidden;
	background-color: #ff6507;
}

.gpd-featured__body {
	padding: 47px 63px 44px;
}

.gpd-featured__grid {
	display: grid;
	grid-template-columns:
		minmax(0, 1.52fr)
		minmax(0, 0.95fr)
		minmax(0, 1.49fr)
		minmax(0, 1fr);
	gap: var(--gpd-gap);
	width: 100%;
	height: var(--gpd-gallery-height);
}

.gpd-stack {
	display: grid;
	min-width: 0;
	height: 100%;
	gap: var(--gpd-gap);
}

.gpd-stack--first {
	grid-template-rows: minmax(0, 1.95fr) minmax(0, 1fr);
}

.gpd-stack--second {
	grid-template-rows: minmax(0, 2.34fr) minmax(0, 1fr);
}

.gpd-stack__bottom {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-height: 0;
	gap: var(--gpd-gap);
}

.gpd-tile {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	padding: 0;
	overflow: hidden;
	color: #fff;
	font: inherit;
	text-align: left;
	background: #ececec;
	border: 0;
	border-radius: 12px 12px 0 0;
	box-shadow: 4px 5px 7px rgba(0, 0, 0, 0.28);
	outline: 3px solid transparent;
	outline-offset: 2px;
	cursor: zoom-in;
	appearance: none;
}

.gpd-tile:hover,
.gpd-tile:focus,
.gpd-tile:focus-visible {
	background-color: #ececec;
	text-decoration: none;
}

.gpd-tile__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover !important;
	object-position: var(--gpd-crop-position, var(--gpd-global-position, center center));
	transform: scale(var(--gpd-crop-scale, 1));
	transform-origin: var(--gpd-crop-position, var(--gpd-global-position, center center));
	transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gpd-zoom-yes .gpd-tile:hover .gpd-tile__image,
.gpd-zoom-yes .gpd-tile:focus .gpd-tile__image,
.gpd-zoom-yes .gpd-tile:focus-visible .gpd-tile__image {
	transform: scale(calc(var(--gpd-crop-scale, 1) + 0.045));
}

.gpd-tile__author {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 66px;
	padding: 14px 16px;
	color: #fff;
	font-size: 17px;
	line-height: 1.18;
	background-color: rgba(248, 105, 14, 0.94);
	opacity: 0;
	transform: translateY(102%);
	transition: opacity 240ms ease, transform 240ms ease;
}

.gpd-tile__author small,
.gpd-tile__author strong {
	display: block;
	width: 100%;
	max-width: 100%;
	white-space: normal !important;
	overflow-wrap: anywhere;
	word-break: break-word;
	hyphens: auto;
}

.gpd-tile__author small {
	margin-bottom: 2px;
	font-size: 0.72em;
	font-weight: 400;
	letter-spacing: 0.02em;
}

.gpd-tile__author strong {
	font-weight: 700;
}

.gpd-tile:hover .gpd-tile__author,
.gpd-tile:focus .gpd-tile__author,
.gpd-tile:focus-visible .gpd-tile__author {
	opacity: 1;
	transform: translateY(0);
}

.gpd-tile--small .gpd-tile__author {
	min-height: 0;
	max-height: 100%;
	padding: 8px 9px;
	font-size: 13px;
	line-height: 1.08;
	white-space: normal !important;
}

.gpd-tile--small .gpd-tile__author small {
	margin-bottom: 2px;
	font-size: 0.76em;
	line-height: 1.05;
}

.gpd-tile--small .gpd-tile__author strong {
	font-size: 1em;
	line-height: 1.08;
	text-wrap: pretty;
}

.gpd-featured__extras {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: var(--gpd-gap);
	margin-top: var(--gpd-gap);
}

.gpd-tile--extra {
	aspect-ratio: 4 / 3;
}


.gpd-featured__button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 53px;
	padding: 10px 24px;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	background-color: #004c3f;
	border: 0;
	border-radius: 0 0 7px 7px;
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.gpd-featured__button-icon {
	display: inline-block;
	font-size: 1.25em;
	line-height: 1;
	transform: translateY(-2px);
	transition: transform 260ms ease;
}

.gpd-featured__button[aria-expanded="true"] {
	border-radius: 0;
}

.gpd-featured__button[aria-expanded="true"] .gpd-featured__button-icon {
	transform: translateY(2px) rotate(180deg);
}

.gpd-featured__button:hover,
.gpd-featured__button:focus-visible {
	color: #fff;
	text-decoration: none;
	background-color: #f8690e;
}

.gpd-featured__button:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: -5px;
}

.gpd-featured__button:active {
	transform: scale(0.993);
}

.gpd-featured__more {
	display: block;
	height: 0;
	overflow: hidden;
	visibility: hidden;
	background-color: #004c3f;
	transition:
		height 360ms cubic-bezier(0.22, 0.61, 0.36, 1),
		visibility 0s linear 360ms;
	will-change: height;
}

.gpd-featured__more.is-open {
	visibility: visible;
	transition:
		height 360ms cubic-bezier(0.22, 0.61, 0.36, 1),
		visibility 0s linear 0s;
}

.gpd-featured__more-inner {
	width: 100%;
	overflow: hidden;
}

.gpd-featured__more-body {
	padding: 30px;
}

.gpd-featured__more-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: var(--gpd-more-gap);
	width: 100%;
}

.gpd-more-card {
	display: grid;
	grid-template-columns: minmax(0, var(--gpd-more-image-width)) minmax(0, 1fr);
	height: auto;
	min-height: var(--gpd-more-card-height);
	min-width: 0;
	overflow: hidden;
	background-color: #fff;
	border-radius: 0;
	box-shadow: 0 7px 18px rgba(0, 0, 0, 0.2);
}

.gpd-more-card__visual {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	padding: 0;
	overflow: hidden;
	background-color: #ececec;
	border: 0;
	border-radius: 0;
	cursor: zoom-in;
	appearance: none;
}

.gpd-more-card__visual:hover,
.gpd-more-card__visual:focus,
.gpd-more-card__visual:focus-visible {
	background-color: #ececec;
}

.gpd-more-card__visual:focus-visible {
	outline: 3px solid #f8690e;
	outline-offset: -3px;
}

.gpd-more-card__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover !important;
	object-position: var(--gpd-crop-position, var(--gpd-global-position, center center));
	transform: scale(var(--gpd-crop-scale, 1));
	transform-origin: var(--gpd-crop-position, var(--gpd-global-position, center center));
	transition: transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gpd-more-card__visual:hover .gpd-more-card__image,
.gpd-more-card__visual:focus-visible .gpd-more-card__image {
	transform: scale(calc(var(--gpd-crop-scale, 1) + 0.035));
}

.gpd-more-card__info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	height: 100%;
	padding: 18px 16px;
	overflow: hidden;
	background-color: #fff;
}

.gpd-more-card__author {
	margin: 0 0 11px;
	color: #004c3f;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.16;
	overflow-wrap: anywhere;
}

.gpd-more-card__description {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: #333;
	font-size: 13px;
	line-height: 1.45;
	overflow-wrap: anywhere;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 7;
}

body.gpd-modal-open {
	overflow: hidden;
}

.gpd-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 28px;
	overflow: auto;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 220ms ease, visibility 220ms ease;
}

.gpd-modal.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.gpd-modal__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	background-color: rgba(0, 0, 0, 0.78);
	border: 0;
	cursor: zoom-out;
	appearance: none;
}

.gpd-modal__backdrop:hover,
.gpd-modal__backdrop:focus {
	background-color: rgba(0, 0, 0, 0.78);
}

.gpd-modal__dialog {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(360px, 0.78fr) minmax(300px, 0.58fr);
	width: min(930px, 94vw);
	height: min(820px, 92vh);
	min-height: 440px;
	overflow: hidden;
	background: transparent;
	border-radius: 18px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
	transform: translateY(14px) scale(0.985);
	transition: transform 220ms ease;
}

.gpd-modal.is-open .gpd-modal__dialog {
	transform: translateY(0) scale(1);
}

.gpd-modal__visual {
	position: relative;
	min-width: 0;
	min-height: 0;
	padding: 16px;
	overflow: hidden;
	background-color: #171717;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	background-origin: content-box;
	background-clip: content-box;
}

.gpd-featured-widget .gpd-modal__image,
.elementor .gpd-featured-widget .gpd-modal__image {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.gpd-modal__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-width: 0;
	padding: 42px 36px 36px;
	overflow: auto;
	background-color: #fff;
	border: 4px solid #f8690e;
}

.gpd-modal__eyebrow {
	display: block;
	margin-bottom: 7px;
	color: #004c3f;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.gpd-modal__author {
	width: 100%;
	margin: 0 0 19px;
	color: #004c3f;
	font-size: clamp(27px, 3vw, 42px);
	font-weight: 700;
	line-height: 1.08;
	overflow-wrap: anywhere;
}

.gpd-modal__description {
	width: 100%;
	margin: 0;
	color: #242424;
	font-size: 17px;
	line-height: 1.58;
	white-space: pre-line;
	overflow-wrap: anywhere;
}

.gpd-modal__link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 28px;
	padding: 11px 18px;
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	background-color: #004c3f;
	border-radius: 999px;
	transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.gpd-modal__link[hidden] {
	display: none;
}

.gpd-modal__link:hover,
.gpd-modal__link:focus-visible {
	color: #fff;
	text-decoration: none;
	background-color: #f8690e;
}

.gpd-modal__link:active {
	transform: scale(0.98);
}

.gpd-modal__link:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.gpd-modal__close {
	position: absolute;
	z-index: 3;
	top: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 45px;
	height: 45px;
	padding: 0;
	color: #fff;
	font: inherit;
	font-size: 34px;
	font-weight: 300;
	line-height: 1;
	background-color: #004c3f;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
	cursor: pointer;
	appearance: none;
	transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.gpd-modal__close span {
	display: block;
	margin-top: -3px;
}

.gpd-modal__close:hover,
.gpd-modal__close:focus-visible {
	color: #fff;
	background-color: #f8690e;
	transform: rotate(4deg) scale(1.05);
}

.gpd-modal__close:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

@media (max-width: 1024px) {
	.gpd-featured {
		--gpd-gallery-height: 470px;
		--gpd-more-card-height: 245px;
	}

	.gpd-featured__body {
		padding: 40px;
	}

	.gpd-featured__grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		height: auto;
	}

	.gpd-tile--hero,
	.gpd-tile--center,
	.gpd-stack {
		height: var(--gpd-gallery-height);
	}

	.gpd-modal__dialog {
		grid-template-columns: minmax(330px, 0.75fr) minmax(260px, 0.55fr);
		width: min(880px, 94vw);
	}

	.gpd-modal__info {
		padding: 36px 28px 30px;
	}

	.gpd-featured__more-body {
		padding: 24px;
	}

	.gpd-featured__more-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.gpd-featured {
		--gpd-gallery-height: 500px;
		--gpd-gap: 12px;
		--gpd-more-card-height: 230px;
	}

	.gpd-featured__body {
		padding: 26px 20px;
	}

	.gpd-featured__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.gpd-tile--hero,
	.gpd-tile--center,
	.gpd-stack {
		height: var(--gpd-gallery-height);
	}

	/* En celular, la opción predeterminada convierte las ocho obras en
	 * miniaturas cuadradas, sin tocar la composición editorial de escritorio. */
	.gpd-mobile-square-yes .gpd-featured__grid {
		display: grid;
		grid-template-columns: repeat(var(--gpd-mobile-columns, 2), minmax(0, 1fr));
		align-items: start;
		height: auto;
	}

	.gpd-mobile-square-yes .gpd-stack,
	.gpd-mobile-square-yes .gpd-stack__bottom {
		display: contents;
	}

	.gpd-mobile-square-yes .gpd-tile,
	.gpd-mobile-square-yes .gpd-tile--hero,
	.gpd-mobile-square-yes .gpd-tile--center,
	.gpd-mobile-square-yes .gpd-tile--stack-top,
	.gpd-mobile-square-yes .gpd-tile--small {
		width: 100%;
		height: auto !important;
		min-height: 0;
		aspect-ratio: 1 / 1;
	}

	.gpd-mobile-square-yes .gpd-tile__author,
	.gpd-mobile-square-yes .gpd-tile--small .gpd-tile__author {
		min-height: 0;
		padding: 9px 10px;
		font-size: clamp(11px, 3.6vw, 15px);
		line-height: 1.08;
	}

	.gpd-featured__extras {
		grid-template-columns: minmax(0, 1fr);
	}

	.gpd-featured__more-body {
		padding: 18px;
	}

	.gpd-featured__more-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.gpd-more-card__info {
		padding: 15px 13px;
	}

	.gpd-more-card__author {
		margin-bottom: 8px;
		font-size: 17px;
	}

	.gpd-more-card__description {
		font-size: 12.5px;
		-webkit-line-clamp: 6;
	}

	.gpd-tile__author,
	.gpd-tile--small .gpd-tile__author {
		min-height: 58px;
		padding: 11px 12px;
		font-size: 15px;
	}

	.gpd-modal {
		align-items: start;
		padding: 18px;
	}

	.gpd-modal__dialog {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: minmax(420px, 72vh) auto;
		width: 100%;
		height: auto;
		min-height: 0;
		max-height: none;
	}

	.gpd-modal__visual {
		padding: 14px;
	}

	.gpd-modal__info {
		min-height: 250px;
		padding: 30px 24px 27px;
		overflow: visible;
	}

	.gpd-modal__close {
		position: fixed;
		top: 26px;
		right: 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gpd-tile__image,
	.gpd-tile__author,
	.gpd-featured__button,
	.gpd-featured__button-icon,
	.gpd-featured__more,
	.gpd-more-card__image,
	.gpd-modal,
	.gpd-modal__dialog,
	.gpd-modal__link,
	.gpd-modal__close {
		transition-duration: 0.01ms !important;
	}
}
