/* ==========================================================================
   Sección GONNA GO — home
   Identidad: negro, tipografía condensada black, rayo, y los grafismos
   de la marca (círculos concéntricos cian, ondas violeta, rayos verde agua).
   ========================================================================== */

.gg-section {
	--gg-negro: #050505;
	--gg-blanco: #ffffff;
	--gg-cian: #3ec8dd;
	--gg-violeta: #8f5cf6;
	--gg-verde: #2fd6a4;

	position: relative;
	overflow: hidden;
	background: var(--gg-negro);
	color: var(--gg-blanco);
}

/* Halos de color muy sutiles para que el negro no quede plano */
.gg-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(60% 80% at 8% 30%, rgba(62, 200, 221, .16), transparent 60%),
		radial-gradient(50% 70% at 92% 15%, rgba(143, 92, 246, .18), transparent 60%),
		radial-gradient(45% 60% at 88% 85%, rgba(47, 214, 164, .12), transparent 60%);
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Grafismos de fondo
   -------------------------------------------------------------------------- */

.gg-grafismos {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.gg-grafismo {
	position: absolute;
	opacity: .55;
}

.gg-grafismo--ondas-izq {
	top: 50%;
	left: -70px;
	width: 300px;
	transform: translateY(-50%);
	color: var(--gg-cian);
}

.gg-grafismo--ondas-der {
	top: -40px;
	right: 6%;
	width: 260px;
	color: var(--gg-violeta);
}

.gg-grafismo--rayos {
	right: -30px;
	bottom: -20px;
	width: 220px;
	color: var(--gg-verde);
}

.gg-grafismo--destello {
	top: 24px;
	left: 12%;
	width: 54px;
	color: var(--gg-violeta);
	opacity: .8;
}

@media (max-width: 980px) {
	.gg-grafismo--ondas-der,
	.gg-grafismo--destello {
		display: none;
	}

	.gg-grafismo--ondas-izq {
		width: 200px;
		left: -110px;
	}

	.gg-grafismo--rayos {
		width: 150px;
		opacity: .35;
	}
}

/* --------------------------------------------------------------------------
   Cabecera
   -------------------------------------------------------------------------- */

.gg-header {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.gg-header__linea {
	flex: 1 1 120px;
	height: 3px;
	min-width: 60px;
	background: linear-gradient(90deg, var(--gg-cian), var(--gg-violeta) 50%, var(--gg-verde));
}

/* Logo tipográfico: la etiqueta blanca inclinada de la marca.
   Si se define una imagen de logo, se usa .gg-logo-img en su lugar. */
.gg-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	background: var(--gg-blanco);
	border-radius: 6px;
	color: var(--gg-negro);
	font-family: "Druk Wide Bold", "Knockout", "Archivo Black", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
	font-size: 34px;
	font-style: italic;
	font-weight: 900;
	letter-spacing: -.01em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transform: rotate(-2deg);
	box-shadow: 0 0 0 3px var(--gg-negro), 0 0 0 5px var(--gg-blanco);
	transition: transform .18s ease;
}

.gg-logo:hover,
.gg-logo:focus {
	color: var(--gg-negro);
	transform: rotate(-2deg) scale(1.03);
}

.gg-logo__rayo {
	width: 16px;
	height: auto;
	flex: none;
}

/* Cuando se usa el logo en imagen no queremos la etiqueta blanca dibujada */
.gg-logo--imagen {
	padding: 0;
	background: none;
	border-radius: 0;
	box-shadow: none;
	transform: none;
}

.gg-logo--imagen:hover,
.gg-logo--imagen:focus {
	transform: scale(1.03);
}

.gg-logo-img {
	display: inline-block;
	width: auto;
	height: 74px;
	max-width: 320px;
}

@media (max-width: 780px) {
	.gg-logo {
		padding: 8px 14px;
		font-size: 24px;
	}

	.gg-logo__rayo {
		width: 12px;
	}

	.gg-logo-img {
		height: 52px;
	}
}

.gg-bajada {
	width: 100%;
	margin: 14px 0 0;
	max-width: 640px;
	color: rgba(255, 255, 255, .72);
	font-size: 15px;
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Tarjetas
   -------------------------------------------------------------------------- */

/* La tarjeta entera es el área clickeable, pero el <a> real vive en el título
   (ver .gg-title__link). Así la firma puede tener sus propios enlaces de autor
   sin anidar un <a> dentro de otro, que es HTML inválido y rompe el layout.

   El align-self compensa el align-items:start que trae .lrv-a-grid del theme:
   sin eso las tarjetas no se estiran y quedan desparejas dentro de la fila. */
.gg-card {
	display: flex;
	position: relative;
	flex-direction: column;
	align-self: stretch;
	min-width: 0;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 8px;
	overflow: hidden;
	background: rgba(255, 255, 255, .02);
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.gg-card:hover,
.gg-card:focus-within {
	border-color: var(--gg-verde);
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .55), 0 0 0 1px rgba(47, 214, 164, .35);
}

/* Foto: el theme resuelve el recorte con padding-bottom + img absoluta. */
.gg-card__foto {
	flex: none;
	width: 100%;
	overflow: hidden;
}

.gg-card__foto img {
	transition: transform .35s ease;
}

.gg-card:hover .gg-card__foto img {
	transform: scale(1.04);
}

.gg-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 18px;
}

.gg-cat {
	display: inline-block;
	align-self: flex-start;
	margin-bottom: 12px;
	padding-bottom: 4px;
	border-bottom: 3px solid var(--gg-cian);
	color: var(--gg-blanco);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.gg-title {
	flex: 1 1 auto;
	margin: 0 0 10px;
	color: var(--gg-blanco);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.25;
}

@media (max-width: 780px) {
	.gg-title {
		font-size: 19px;
	}
}

.gg-title__link {
	color: inherit;
	text-decoration: none;
}

/* Estira el enlace del título sobre toda la tarjeta */
.gg-title__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.gg-title__link:focus-visible {
	outline: 2px solid var(--gg-cian);
	outline-offset: 3px;
}

/* La firma queda por encima del enlace estirado para poder clickearla */
.gg-byline {
	position: relative;
	z-index: 2;
	margin: 0;
	color: rgba(255, 255, 255, .6);
	font-size: 12px;
}

.gg-byline a {
	color: rgba(255, 255, 255, .85);
	text-decoration: none;
}

.gg-byline a:hover {
	color: var(--gg-verde);
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Ver todo
   -------------------------------------------------------------------------- */

.gg-ver-todo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 28px;
	padding: 13px 28px;
	background: var(--gg-blanco);
	border-radius: 4px;
	color: var(--gg-negro);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .1em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background .18s ease, color .18s ease;
}

.gg-ver-todo:hover,
.gg-ver-todo:focus {
	background: var(--gg-verde);
	color: var(--gg-negro);
}

.gg-ver-todo__rayo {
	width: 11px;
	height: auto;
}

@media (max-width: 780px) {
	.gg-ver-todo {
		width: 100%;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gg-card,
	.gg-card__foto img,
	.gg-logo {
		transition: none;
	}

	.gg-card:hover {
		transform: none;
	}

	.gg-card:hover .gg-card__foto img {
		transform: none;
	}
}
