/*
 * Gass Proyectos — estilos públicos.
 * Paleta y tipografía alineadas con gass.mx (Divi + child theme g1web).
 */

:root {
	--gp-navy: #004471;
	--gp-blue: #066aab;
	--gp-sky: #2ea3f2;
	--gp-text: #2e2d2c;
	--gp-muted: #6b7380;
	--gp-line: #e6eaef;
	--gp-soft: #f4f6f8;
	--gp-white: #fff;
	--gp-radius: 12px;
	--gp-shadow: 0 18px 40px -18px rgba(0, 68, 113, 0.35);
	--gp-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--gp-font-heading: "Gotham - Bold", "Google Sans", "Helvetica Neue", Arial, sans-serif;
	--gp-font-body: "Gotham - light", "Google Sans", "Helvetica Neue", Arial, sans-serif;
}

.gp-projects *,
.gp-single * {
	box-sizing: border-box;
}

/* ------------------------------------------------------------------ */
/* Filtros                                                            */
/* ------------------------------------------------------------------ */

.gp-projects {
	--gp-cols: 3;
	--gp-gap: 24px;
	font-family: var(--gp-font-body);
}

.gp-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 20px;
}

.gp-projects .gp-filter {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 18px;
	border: 1px solid var(--gp-line);
	border-radius: 999px;
	background: var(--gp-white);
	color: var(--gp-navy);
	font-family: var(--gp-font-heading);
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: background-color 0.25s var(--gp-ease), color 0.25s var(--gp-ease), border-color 0.25s var(--gp-ease), transform 0.25s var(--gp-ease), box-shadow 0.25s var(--gp-ease);
}

.gp-projects .gp-filter:hover {
	border-color: var(--gp-blue);
	color: var(--gp-blue);
	transform: translateY(-2px);
}

.gp-projects .gp-filter:focus-visible {
	outline: 3px solid var(--gp-sky);
	outline-offset: 2px;
}

.gp-projects .gp-filter.is-active {
	background: var(--gp-navy);
	border-color: var(--gp-navy);
	color: var(--gp-white);
	box-shadow: 0 10px 20px -12px rgba(0, 68, 113, 0.7);
}

.gp-filter__count {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--gp-soft);
	color: var(--gp-navy);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	transition: inherit;
}

.gp-filter.is-active .gp-filter__count {
	background: var(--gp-sky);
	color: var(--gp-white);
}

.gp-results {
	margin: 0 0 24px;
	padding: 0;
	color: var(--gp-muted);
	font-size: 14px;
}

.gp-results strong {
	color: var(--gp-navy);
	font-family: var(--gp-font-heading);
}

/* ------------------------------------------------------------------ */
/* Grid                                                               */
/* ------------------------------------------------------------------ */

.gp-projects .gp-grid {
	display: grid;
	grid-template-columns: repeat(var(--gp-cols), minmax(0, 1fr));
	gap: var(--gp-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.gp-projects .gp-grid__item {
	margin: 0;
	padding: 0;
	list-style: none;
	animation: gp-reveal 0.6s var(--gp-ease) both;
	animation-delay: calc(min(var(--gp-i, 0), 8) * 60ms);
}

.gp-projects .gp-grid__item.is-hidden {
	display: none;
}

.gp-projects .gp-grid__item.is-leaving {
	animation: gp-leave 0.22s ease-in both;
}

@keyframes gp-reveal {
	from {
		opacity: 0;
		transform: translateY(24px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes gp-leave {
	to {
		opacity: 0;
		transform: scale(0.96);
	}
}

@media (max-width: 1024px) {
	.gp-projects .gp-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.gp-projects {
		--gp-gap: 16px;
	}

	.gp-projects .gp-grid {
		grid-template-columns: 1fr;
	}

	.gp-filters {
		flex-wrap: nowrap;
		margin-inline: -16px;
		padding: 4px 16px 8px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}

	.gp-filters::-webkit-scrollbar {
		display: none;
	}

	.gp-projects .gp-filter {
		flex: 0 0 auto;
		scroll-snap-align: start;
	}
}

/* ------------------------------------------------------------------ */
/* Tarjeta                                                            */
/* ------------------------------------------------------------------ */

.gp-card {
	position: relative;
	height: 100%;
	border-radius: var(--gp-radius);
	overflow: hidden;
	background: var(--gp-navy);
	box-shadow: 0 1px 2px rgba(0, 68, 113, 0.08);
	transition: box-shadow 0.5s var(--gp-ease), transform 0.5s var(--gp-ease);
	isolation: isolate;
}

.gp-card__link,
.gp-card__link:hover,
.gp-card__link:visited {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	aspect-ratio: 4 / 3.4;
	color: var(--gp-white);
	text-decoration: none;
}

.gp-card__link:focus-visible {
	outline: 3px solid var(--gp-sky);
	outline-offset: -3px;
	border-radius: var(--gp-radius);
}

.gp-card__media {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
}

.gp-card__media img,
.gp-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.001);
	transition: transform 1.1s var(--gp-ease), filter 0.6s var(--gp-ease);
}

.gp-card__placeholder {
	background:
		radial-gradient(circle at 80% 20%, rgba(46, 163, 242, 0.45), transparent 55%),
		linear-gradient(135deg, var(--gp-navy), var(--gp-blue));
}

/* Degradado: tenue en reposo, se intensifica en hover para revelar el contenido. */
.gp-card__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 34, 57, 0) 25%, rgba(0, 34, 57, 0.68) 58%, rgba(0, 34, 57, 0.95) 100%);
	transition: opacity 0.6s var(--gp-ease);
}

.gp-card__shade::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 68, 113, 0.35) 0%, rgba(0, 68, 113, 0.82) 55%, rgba(0, 40, 66, 0.97) 100%);
	opacity: 0;
	transition: opacity 0.6s var(--gp-ease);
}

/* Línea de acento inferior que crece en hover. */
.gp-card::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 4px;
	background: var(--gp-sky);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.6s var(--gp-ease);
	pointer-events: none;
}

.gp-card__tags {
	position: absolute;
	top: 18px;
	left: 18px;
	right: 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gp-tag {
	display: inline-block;
	margin: 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--gp-navy);
	font-family: var(--gp-font-heading);
	font-size: 11px;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	list-style: none;
	backdrop-filter: blur(6px);
}

.gp-card__tags .gp-tag {
	transition: background-color 0.4s var(--gp-ease), color 0.4s var(--gp-ease);
}

.gp-card__body {
	padding: 24px 24px 26px;
	transform: translateY(42px);
	transition: transform 0.6s var(--gp-ease);
}

.gp-card__meta {
	margin: 0 0 8px;
	padding: 0;
	color: #9fd6fb;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
	font-family: var(--gp-font-heading);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gp-card .gp-card__title {
	margin: 0;
	padding: 0;
	color: var(--gp-white);
	font-family: var(--gp-font-heading);
	font-size: clamp(18px, 1.5vw, 21px);
	font-weight: 700;
	line-height: 1.3;
	text-wrap: balance;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gp-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	color: var(--gp-white);
	font-family: var(--gp-font-heading);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.45s var(--gp-ease), transform 0.6s var(--gp-ease);
}

.gp-card__cta svg {
	transition: transform 0.45s var(--gp-ease);
}

/* Estado hover / foco */
.gp-card:hover,
.gp-card:focus-within {
	box-shadow: var(--gp-shadow);
	transform: translateY(-4px);
}

.gp-card:hover .gp-card__media img,
.gp-card:focus-within .gp-card__media img,
.gp-card:hover .gp-card__placeholder {
	transform: scale(1.08);
}

.gp-card:hover .gp-card__shade::after,
.gp-card:focus-within .gp-card__shade::after {
	opacity: 1;
}

.gp-card:hover::after,
.gp-card:focus-within::after {
	transform: scaleX(1);
}

.gp-card:hover .gp-card__body,
.gp-card:focus-within .gp-card__body {
	transform: translateY(0);
}

.gp-card:hover .gp-card__cta,
.gp-card:focus-within .gp-card__cta {
	opacity: 1;
	transform: none;
	transition-delay: 0.08s;
}

.gp-card:hover .gp-card__cta svg {
	transform: translateX(4px);
}

.gp-card:hover .gp-card__tags .gp-tag {
	background: var(--gp-sky);
	color: var(--gp-white);
}

/* En pantallas táctiles no hay hover: mostrar todo desde el inicio. */
@media (hover: none) {
	.gp-card__body {
		transform: none;
	}

	.gp-card__cta {
		opacity: 1;
		transform: none;
	}
}

/* ------------------------------------------------------------------ */
/* Detalle                                                            */
/* ------------------------------------------------------------------ */

.gp-single {
	background: var(--gp-white);
	color: var(--gp-text);
	font-family: var(--gp-font-body);
	font-size: 17px;
	line-height: 1.75;
	padding-bottom: 0 !important;
}

.gp-container {
	width: min(1200px, 100% - 48px);
	margin-inline: auto;
}

@media (max-width: 640px) {
	.gp-container {
		width: calc(100% - 32px);
	}
}

.gp-eyebrow {
	margin: 0 0 12px;
	padding: 0;
	color: var(--gp-sky);
	font-family: var(--gp-font-heading);
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Hero */
.gp-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(460px, 72vh, 720px);
	padding: 160px 0 128px;
	background: var(--gp-navy);
	color: var(--gp-white);
	overflow: hidden;
	isolation: isolate;
}

.gp-hero--plain {
	min-height: 0;
	background:
		radial-gradient(circle at 85% 10%, rgba(46, 163, 242, 0.35), transparent 50%),
		linear-gradient(135deg, var(--gp-navy), var(--gp-blue));
}

.gp-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.gp-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: gp-hero-zoom 12s ease-out both;
}

.gp-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(0, 40, 66, 0.92) 0%, rgba(0, 52, 87, 0.72) 45%, rgba(0, 68, 113, 0.25) 100%),
		linear-gradient(0deg, rgba(0, 34, 57, 0.75) 0%, rgba(0, 34, 57, 0) 45%);
}

@keyframes gp-hero-zoom {
	from {
		transform: scale(1.12);
	}
	to {
		transform: scale(1);
	}
}

.gp-hero__inner > * {
	max-width: 880px;
	animation: gp-reveal 0.8s var(--gp-ease) both;
}

.gp-hero__inner > :nth-child(2) { animation-delay: 0.08s; }
.gp-hero__inner > :nth-child(3) { animation-delay: 0.16s; }
.gp-hero__inner > :nth-child(4) { animation-delay: 0.24s; }

.gp-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	letter-spacing: 0.04em;
}

.gp-breadcrumb li {
	margin: 0;
	padding: 0;
	color: rgba(255, 255, 255, 0.75);
	list-style: none;
}

.gp-breadcrumb li + li::before {
	content: "/";
	margin-right: 6px;
	color: var(--gp-sky);
}

.gp-breadcrumb li[aria-current] {
	max-width: 42ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--gp-white);
}

.gp-single .gp-breadcrumb a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: color 0.2s;
}

.gp-single .gp-breadcrumb a:hover {
	color: var(--gp-white);
}

.gp-hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.gp-hero__tags li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gp-single a.gp-tag--link {
	background: var(--gp-sky);
	color: var(--gp-white);
	text-decoration: none;
	transition: background-color 0.25s var(--gp-ease);
}

.gp-single a.gp-tag--link:hover {
	background: var(--gp-white);
	color: var(--gp-navy);
}

.gp-single .gp-hero__title {
	margin: 0;
	padding: 0;
	color: var(--gp-white);
	font-family: var(--gp-font-heading);
	font-size: clamp(28px, 3.6vw, 48px);
	font-weight: 700;
	line-height: 1.15;
	text-wrap: balance;
	text-shadow: 0.04em 0.04em 0.12em rgba(0, 0, 0, 0.35);
}

.gp-hero__lead {
	margin: 20px 0 0;
	padding: 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 18px;
	line-height: 1.6;
}

/* Ficha superpuesta al hero */
.gp-facts {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(var(--gp-facts, 4), minmax(0, 1fr));
	margin: -64px 0 0;
	padding: 0;
	border-top: 4px solid var(--gp-sky);
	border-radius: var(--gp-radius);
	background: var(--gp-white);
	box-shadow: var(--gp-shadow);
	animation: gp-reveal 0.8s 0.3s var(--gp-ease) both;
}

.gp-facts__item {
	padding: 26px 28px;
}

.gp-facts__item + .gp-facts__item {
	border-left: 1px solid var(--gp-line);
}

.gp-facts dt {
	margin: 0 0 6px;
	color: var(--gp-muted);
	font-family: var(--gp-font-heading);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gp-facts dd {
	margin: 0;
	color: var(--gp-navy);
	font-family: var(--gp-font-heading);
	font-size: 17px;
	line-height: 1.4;
}

@media (max-width: 860px) {
	.gp-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gp-facts__item:nth-child(odd) {
		border-left: 0;
	}

	.gp-facts__item:nth-child(n + 3) {
		border-top: 1px solid var(--gp-line);
	}
}

@media (max-width: 480px) {
	.gp-facts {
		grid-template-columns: 1fr;
	}

	.gp-facts__item + .gp-facts__item {
		border-left: 0;
		border-top: 1px solid var(--gp-line);
	}

	.gp-facts__item {
		padding: 18px 20px;
	}
}

/* Contenido + barra lateral */
.gp-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 72px;
	align-items: start;
	padding: 80px 0;
}

.gp-content__body > :first-child {
	margin-top: 0;
}

.gp-single .gp-content__body p {
	margin: 0 0 1.2em;
	padding: 0;
	color: var(--gp-text);
	font-size: 18px;
	line-height: 1.8;
}

.gp-single .gp-content__body > p:first-child {
	color: var(--gp-navy);
	font-size: 21px;
	line-height: 1.6;
}

.gp-single .gp-content__body h2,
.gp-single .gp-content__body h3 {
	margin: 1.6em 0 0.6em;
	color: var(--gp-navy);
	font-family: var(--gp-font-heading);
	line-height: 1.3;
}

.gp-single .gp-content__body ul,
.gp-single .gp-content__body ol {
	margin: 0 0 1.2em;
	padding-left: 1.2em;
}

.gp-single .gp-content__body li {
	margin-bottom: 0.4em;
}

.gp-single .gp-content__body ul li::marker {
	color: var(--gp-sky);
}

.gp-aside {
	position: sticky;
	top: 120px;
	display: grid;
	gap: 20px;
}

.gp-cta {
	position: relative;
	padding: 32px 30px;
	border-radius: var(--gp-radius);
	background:
		radial-gradient(circle at 100% 0%, rgba(46, 163, 242, 0.4), transparent 55%),
		var(--gp-navy);
	color: var(--gp-white);
	overflow: hidden;
}

.gp-single .gp-cta__eyebrow {
	margin: 0 0 10px;
	padding: 0;
	color: var(--gp-white);
	font-family: var(--gp-font-heading);
	font-size: 22px;
	line-height: 1.25;
}

.gp-single .gp-cta__text {
	margin: 0 0 24px;
	padding: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 15px;
	line-height: 1.6;
}

.gp-single .gp-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 26px;
	border-radius: var(--gp-radius);
	background: var(--gp-sky);
	color: var(--gp-white);
	font-family: var(--gp-font-heading);
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.25s, transform 0.25s var(--gp-ease), box-shadow 0.25s;
}

.gp-single .gp-button:hover {
	background: var(--gp-white);
	color: var(--gp-navy);
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.5);
}

.gp-single .gp-button svg,
.gp-single .gp-back svg {
	transition: transform 0.3s var(--gp-ease);
}

.gp-single .gp-button:hover svg {
	transform: translateX(4px);
}

.gp-single .gp-back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--gp-navy);
	font-family: var(--gp-font-heading);
	font-size: 14px;
	text-decoration: none;
}

.gp-single .gp-back:hover {
	color: var(--gp-blue);
}

.gp-single .gp-back:hover svg {
	transform: translateX(-4px);
}

.gp-single a:focus-visible {
	outline: 3px solid var(--gp-sky);
	outline-offset: 3px;
}

@media (max-width: 980px) {
	.gp-layout {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 56px 0;
	}

	.gp-aside {
		position: static;
	}
}

/* Secciones */
.gp-section {
	padding: 88px 0;
}

.gp-single .gp-section__title {
	margin: 0 0 40px;
	padding: 0;
	color: var(--gp-navy);
	font-family: var(--gp-font-heading);
	font-size: clamp(26px, 2.8vw, 36px);
	line-height: 1.2;
}

.gp-gallery-section {
	background: var(--gp-soft);
}

/* Galería tipo mosaico */
.gp-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 220px;
	grid-auto-flow: dense;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gp-gallery__item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gp-gallery__item:nth-child(6n + 1) {
	grid-column: span 2;
	grid-row: span 2;
}

.gp-gallery__item:nth-child(6n + 5) {
	grid-column: span 2;
}

.gp-gallery__link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	overflow: hidden;
	background: var(--gp-line);
	cursor: zoom-in;
}

.gp-gallery__link img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--gp-ease);
}

.gp-gallery__link::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 68, 113, 0.45);
	opacity: 0;
	transition: opacity 0.4s var(--gp-ease);
}

.gp-gallery__zoom {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--gp-white);
	color: var(--gp-navy);
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.6);
	transition: opacity 0.35s var(--gp-ease), transform 0.45s var(--gp-ease);
}

.gp-gallery__link:hover img,
.gp-gallery__link:focus-visible img {
	transform: scale(1.06);
}

.gp-gallery__link:hover::after,
.gp-gallery__link:focus-visible::after {
	opacity: 1;
}

.gp-gallery__link:hover .gp-gallery__zoom,
.gp-gallery__link:focus-visible .gp-gallery__zoom {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 860px) {
	.gp-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 180px;
	}

	.gp-gallery__item:nth-child(6n + 5) {
		grid-column: span 1;
	}
}

@media (max-width: 480px) {
	.gp-gallery {
		grid-auto-rows: 140px;
		gap: 8px;
	}
}

/* Anterior / siguiente */
.gp-pager {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	padding: 64px 0 0;
}

.gp-single .gp-pager__link {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 26px 30px;
	border: 1px solid var(--gp-line);
	border-radius: var(--gp-radius);
	color: var(--gp-navy);
	text-decoration: none;
	transition: border-color 0.3s, box-shadow 0.4s var(--gp-ease), transform 0.4s var(--gp-ease);
}

.gp-single .gp-pager__link--next {
	text-align: right;
	align-items: flex-end;
}

.gp-single .gp-pager__link:hover {
	border-color: transparent;
	box-shadow: var(--gp-shadow);
	transform: translateY(-3px);
}

.gp-pager__label {
	color: var(--gp-sky);
	font-family: var(--gp-font-heading);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gp-pager__link--prev .gp-pager__label::before {
	content: "← ";
}

.gp-pager__link--next .gp-pager__label::after {
	content: " →";
}

.gp-pager__title {
	font-family: var(--gp-font-heading);
	font-size: 17px;
	line-height: 1.35;
}

@media (max-width: 640px) {
	.gp-pager {
		grid-template-columns: 1fr;
	}

	.gp-single .gp-pager__link--next {
		text-align: left;
		align-items: flex-start;
	}
}

/* ------------------------------------------------------------------ */
/* Lightbox                                                           */
/* ------------------------------------------------------------------ */

.gp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 64px 80px;
	background: rgba(0, 22, 38, 0.94);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s var(--gp-ease), visibility 0.3s;
	font-family: var(--gp-font-body);
}

.gp-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.gp-lightbox__img {
	max-width: 100%;
	max-height: calc(100vh - 128px);
	border-radius: 8px;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
	transform: scale(0.96);
	transition: transform 0.4s var(--gp-ease), opacity 0.25s;
	user-select: none;
}

.gp-lightbox.is-open .gp-lightbox__img {
	transform: none;
}

.gp-lightbox__img.is-loading {
	opacity: 0;
}

.gp-lightbox button {
	position: absolute;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: var(--gp-white);
	cursor: pointer;
	transition: background-color 0.2s, transform 0.2s;
}

.gp-lightbox button:hover {
	background: var(--gp-sky);
}

.gp-lightbox button:focus-visible {
	outline: 3px solid var(--gp-sky);
	outline-offset: 2px;
}

.gp-lightbox__close {
	top: 20px;
	right: 20px;
}

.gp-lightbox__prev,
.gp-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}

.gp-lightbox__prev {
	left: 20px;
}

.gp-lightbox__next {
	right: 20px;
}

.gp-lightbox__counter {
	position: absolute;
	bottom: 22px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	letter-spacing: 0.1em;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
	.gp-lightbox {
		padding: 72px 12px;
	}

	.gp-lightbox__prev,
	.gp-lightbox__next {
		top: auto;
		bottom: 12px;
		transform: none;
	}
}

html.gp-no-scroll {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.gp-projects *,
	.gp-single *,
	.gp-lightbox * {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}
}
