/* ==========================================================================
   GUAY.news — hoja de estilos del tema
   Móvil primero · variables CSS · sin compilación
   Índice: 1 Tokens · 2 Base · 3 Utilidades · 4 Cabecera · 5 Ticker · 6 Tarjetas
           7 Portada · 8 Lateral · 9 Vídeo y alegría · 10 Noticia · 11 Archivo
           12 Páginas y 404 · 13 Pie y barra inferior · 14 Diálogos · 15 Efectos
           16 Modo lectura tranquila · 17 Modo oscuro · 18 Movimiento reducido · 19 Impresión
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
	--g-bg: #ffffff;
	--g-surface: #faf7f0;
	--g-surface-2: #f3eee3;
	--g-sun: #ffd23f;
	--g-sun-tint: #fff6d6;
	--g-orange: #ff7a1a;
	--g-orange-ink: #a64e10;
	--g-ink: #1a1a1a;
	--g-ink-2: #5a5a5a;
	--g-rule: #e6e1d6;
	--g-rule-2: #d6cfbf;
	--g-check: #2f8f5b;
	--g-inverse: #1a1a1a;
	--g-inverse-ink: #f5f2ea;
	--g-inverse-ink-2: #bdb7aa;

	--g-serif: Newsreader, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--g-sans: Inter, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--g-wrap: 1320px;
	--g-read: 700px;
	--g-gutter: clamp(16px, 1rem + 1.5vw, 32px);
	--g-radius: 4px;
	--g-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--g-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--g-shadow: 0 1px 2px rgb(26 26 26 / 0.06), 0 12px 28px -12px rgb(26 26 26 / 0.22);
	--g-nav-h: 52px;
	--g-bottom-h: 0px;

	--acc: var(--g-orange);
	--acc-ink: var(--g-orange-ink);
	--acc-dark: #ffa94d;
	--acc-text: var(--acc-ink);

	color-scheme: light;
}

[style*="--acc"] {
	--acc-text: var(--acc-ink);
}

/* 2. Base --------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--g-nav-h) + 16px);
}

body {
	margin: 0;
	background: var(--g-bg);
	color: var(--g-ink);
	font-family: var(--g-sans);
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
	padding-bottom: var(--g-bottom-h);
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
}

button {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--g-orange);
	outline-offset: 2px;
	border-radius: 2px;
}

::selection {
	background: var(--g-sun);
	color: var(--g-ink);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link.screen-reader-text:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	z-index: 1000;
	top: 8px;
	left: 8px;
	padding: 12px 18px;
	background: var(--g-sun);
	color: var(--g-ink);
	font-weight: 700;
	text-decoration: none;
}

/* Las partes de plantilla no deben crear cajas: así el menú sticky funciona en toda la página. */
.wp-site-blocks > header.wp-block-template-part,
.wp-site-blocks > .g-header {
	display: contents;
}

.g-main {
	display: block;
	min-height: 50vh;
}

/* 3. Utilidades --------------------------------------------------------- */
.g-wrap {
	width: 100%;
	max-width: var(--g-wrap);
	margin-inline: auto;
	padding-inline: var(--g-gutter);
}

.g-wrap-read {
	width: 100%;
	max-width: calc(var(--g-read) + 2 * var(--g-gutter));
	margin-inline: auto;
	padding-inline: var(--g-gutter);
}

.g-icon {
	flex: none;
	vertical-align: middle;
}

.g-dot {
	display: inline-block;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.6;
}

.g-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--g-orange);
	color: var(--g-ink);
	font-family: var(--g-sans);
	font-size: 15px;
	font-weight: 650;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.2s var(--g-ease), box-shadow 0.2s;
}

.g-btn:hover {
	background: var(--g-sun);
	transform: translateY(-1px);
	box-shadow: var(--g-shadow);
	text-decoration: none;
}

.g-btn--ink {
	background: var(--g-ink);
	color: var(--g-bg);
}

.g-btn--ink:hover {
	background: var(--g-orange);
	color: var(--g-ink);
}

.g-btn--ghost {
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--g-ink);
}

.g-btn--ghost:hover {
	background: var(--g-sun);
	box-shadow: inset 0 0 0 1.5px var(--g-sun);
}

.g-linkbtn {
	padding: 0;
	border: 0;
	background: none;
	font-size: inherit;
	text-align: left;
	cursor: pointer;
}

.g-linkbtn:hover {
	text-decoration: underline;
}

.g-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	min-height: 44px;
	padding: 0 10px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--g-ink);
	cursor: pointer;
	transition: background-color 0.2s;
}

.g-iconbtn:hover {
	background: var(--g-surface-2);
}

.g-iconbtn--ring {
	padding: 0;
	box-shadow: inset 0 0 0 1.5px var(--g-rule-2);
}

.g-iconbtn--ring:hover {
	background: var(--g-sun);
	box-shadow: inset 0 0 0 1.5px var(--g-sun);
}

.g-iconbtn__label {
	font-size: 14px;
	font-weight: 600;
	/* Oculta visualmente en móvil, pero legible por lectores de pantalla. */
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.g-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 8px 3px 7px;
	border-radius: 2px;
	font-family: var(--g-sans);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.g-badge--breaking {
	background: var(--g-orange);
	color: var(--g-ink);
}

.g-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px var(--g-rule-2);
	font-size: 14px;
	font-weight: 550;
	text-decoration: none;
	transition: background-color 0.2s, box-shadow 0.2s;
}

.g-chips a:hover,
.g-chips a[aria-current] {
	background: var(--g-sun-tint);
	box-shadow: inset 0 0 0 1.5px var(--acc, var(--g-sun));
}

.g-hp {
	position: absolute;
	left: -9999px;
}

/* Campos de formulario */
.g-field {
	display: grid;
	gap: 6px;
}

.g-field label {
	font-size: 13px;
	font-weight: 600;
}

input[type="email"],
input[type="text"],
input[type="search"],
input[type="url"],
textarea,
select {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1.5px solid var(--g-rule-2);
	border-radius: var(--g-radius);
	background: var(--g-bg);
	color: var(--g-ink);
	font: 16px/1.4 var(--g-sans);
	transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--g-ink);
	box-shadow: 0 0 0 3px rgb(255 210 63 / 0.7);
}

.g-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 13px;
	line-height: 1.45;
	color: var(--g-ink-2);
}

.g-check input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--g-ink);
}

.g-check a {
	text-decoration: underline;
}

/* Cabecera de módulo */
.g-mod__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.g-mod__title {
	position: relative;
	margin: 0;
	padding-bottom: 10px;
	font-family: var(--g-serif);
	font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.6rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.1;
}

.g-mod__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 36px;
	height: 4px;
	background: var(--g-sun);
}

.g-mod__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	font-size: 14px;
	font-weight: 600;
	color: var(--g-ink);
	text-decoration: none;
}

.g-mod__more .g-icon {
	transition: transform 0.25s var(--g-ease);
}

.g-mod__more:hover .g-icon {
	transform: translateX(3px);
}

/* 4. Cabecera ----------------------------------------------------------- */
.g-topbar {
	display: none;
	border-bottom: 1px solid var(--g-rule);
	font-size: 13px;
	color: var(--g-ink-2);
}

.g-topbar__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 40px;
}

.g-topbar__date {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
}

.g-topbar__date time {
	color: var(--g-ink);
	font-weight: 550;
}

.g-topbar__clock {
	font-variant-numeric: tabular-nums;
}

.g-topbar__edition {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 2px 10px 2px 8px;
	border-radius: 999px;
	background: var(--g-sun-tint);
	color: var(--g-ink);
	font-weight: 600;
}

.g-topbar__edition .g-icon {
	color: var(--g-orange-ink);
}

.g-topbar__nav {
	display: flex;
	align-items: center;
	gap: 18px;
}

.g-topbar__links {
	display: flex;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-topbar__links a {
	color: var(--g-ink);
	font-weight: 550;
	text-decoration: none;
}

.g-topbar__links a:hover {
	text-decoration: underline;
	text-decoration-color: var(--g-orange);
	text-underline-offset: 3px;
}

.g-social {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-social a {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: var(--g-ink-2);
	transition: color 0.2s, background-color 0.2s;
}

.g-social a:hover {
	color: var(--g-ink);
	background: var(--g-sun-tint);
}

.g-masthead {
	background: var(--g-bg);
}

.g-masthead__in {
	display: grid;
	grid-template-columns: 48px 1fr 48px;
	align-items: center;
	gap: 8px;
	padding-block: 10px 8px;
}

.g-masthead__brand {
	text-align: center;
	min-width: 0;
}

.g-logo {
	margin: 0;
	line-height: 0;
}

.g-logo a {
	display: inline-block;
	border-radius: 2px;
}

.g-logo img,
.g-logo__pic img {
	display: block;
	width: auto;
	height: 36px;
}

.g-claim {
	margin: 4px 0 0;
	font-family: var(--g-serif);
	font-size: 13px;
	font-style: italic;
	line-height: 1.3;
	color: var(--g-ink-2);
}

.g-masthead__menu {
	justify-self: start;
}

.g-masthead__search {
	justify-self: end;
}

/* Menú de secciones (sticky, se compacta) */
.g-nav-sentinel {
	height: 1px;
	margin-bottom: -1px;
}

.g-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--g-bg) 94%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-top: 1px solid var(--g-ink);
	border-bottom: 1px solid var(--g-rule);
	transition: box-shadow 0.3s var(--g-ease), border-color 0.3s;
}

.admin-bar .g-nav {
	top: 46px;
}

.g-nav__in {
	display: flex;
	align-items: center;
	gap: 4px;
	min-height: var(--g-nav-h);
}

.g-nav__mini {
	display: inline-flex;
	flex: none;
	width: 0;
	overflow: hidden;
	opacity: 0;
	transform: scale(0.6);
	transition: width 0.35s var(--g-ease-out), opacity 0.25s, transform 0.35s var(--g-ease-out), margin 0.35s var(--g-ease-out);
}

.g-nav__mini img {
	width: 30px;
	height: 30px;
}

.g-nav__list {
	display: flex;
	flex: 1;
	align-items: stretch;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.g-nav__list.is-overflowing {
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
	mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
}

.g-nav__list::-webkit-scrollbar {
	display: none;
}

.g-nav__list > li {
	flex: none;
}

.g-nav__list a {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
	min-height: 44px;
	padding: 0 11px;
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: -0.005em;
	color: var(--g-ink);
	text-decoration: none;
	white-space: nowrap;
}

.g-nav__list a::after {
	content: "";
	position: absolute;
	left: 11px;
	right: 11px;
	bottom: 0;
	height: 3px;
	background: var(--acc, var(--g-orange));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--g-ease-out);
}

.g-nav__list a:hover::after,
.g-nav__list a[aria-current]::after {
	transform: scaleX(1);
}

.g-nav__home a::after {
	background: var(--g-sun);
}

.g-nav__search {
	display: none;
}

.g-nav.is-stuck {
	border-top-color: transparent;
	box-shadow: 0 6px 20px -12px rgb(26 26 26 / 0.35);
}

.g-nav.is-stuck .g-nav__mini {
	width: 30px;
	margin-right: 8px;
	opacity: 1;
	transform: none;
}

@media (min-width: 600px) {
	.g-logo img,
	.g-logo__pic img {
		height: 44px;
	}

	.g-claim {
		font-size: 14px;
	}
}

@media (min-width: 783px) {
	.admin-bar .g-nav {
		top: 32px;
	}
}

@media (min-width: 1024px) {
	:root {
		--g-nav-h: 50px;
	}

	.g-topbar {
		display: block;
	}

	.g-masthead__in {
		grid-template-columns: 1fr auto 1fr;
		padding-block: 18px 14px;
	}

	.g-iconbtn__label {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip-path: none;
	}

	.g-masthead__menu,
	.g-masthead__search {
		padding: 0 16px 0 12px;
		box-shadow: inset 0 0 0 1px var(--g-rule-2);
	}

	.g-logo img,
	.g-logo__pic img {
		height: clamp(58px, 4.4vw, 76px);
	}

	.g-claim {
		margin-top: 8px;
		font-size: 16px;
	}

	.g-nav__in {
		justify-content: center;
	}

	.g-nav__list {
		flex: 0 1 auto;
	}

	.g-nav__list a {
		padding: 0 9px;
		font-size: 14px;
	}

	.g-nav__list a::after {
		left: 9px;
		right: 9px;
	}

	.g-nav.is-stuck .g-nav__search {
		display: inline-flex;
	}
}

/* 5. Ticker ------------------------------------------------------------- */
.g-ticker {
	background: var(--g-sun-tint);
	border-bottom: 1px solid color-mix(in srgb, var(--g-sun) 55%, var(--g-rule));
}

.g-ticker__in {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 46px;
}

.g-ticker__label {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 5px 10px;
	background: var(--g-orange);
	color: var(--g-ink);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	border-radius: 2px;
}

.g-pulse {
	position: relative;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--g-ink);
}

.g-pulse::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid var(--g-ink);
	opacity: 0;
	animation: g-pulse 2s var(--g-ease-out) infinite;
}

@keyframes g-pulse {
	0% {
		transform: scale(0.4);
		opacity: 0.8;
	}
	100% {
		transform: scale(1.5);
		opacity: 0;
	}
}

.g-ticker__viewport {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent);
}

.g-ticker__track {
	display: flex;
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-ticker__track li {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	padding-inline: 20px 16px;
	white-space: nowrap;
	position: relative;
}

.g-ticker__track li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -3px;
	background: var(--g-sun);
	border-radius: 1px;
}

.g-ticker__track time {
	font-size: 13px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--g-orange-ink);
}

.g-ticker__track a {
	font-family: var(--g-serif);
	font-size: 16px;
	font-weight: 550;
	text-decoration: none;
}

.g-ticker__track a:hover {
	text-decoration: underline;
	text-decoration-color: var(--g-orange);
	text-underline-offset: 3px;
}

.g-ticker.is-running .g-ticker__track {
	animation: g-marquee var(--g-ticker-dur, 60s) linear infinite;
}

.g-ticker.is-running:hover .g-ticker__track,
.g-ticker.is-running:focus-within .g-ticker__track,
.g-ticker.is-paused .g-ticker__track {
	animation-play-state: paused;
}

@keyframes g-marquee {
	to {
		transform: translateX(-50%);
	}
}

.g-ticker__toggle {
	position: relative;
	z-index: 1;
	flex: none;
	min-width: 40px;
	min-height: 40px;
	padding: 0;
}

html:not(.js) .g-ticker__toggle {
	display: none;
}

html:not(.js) .g-ticker__viewport {
	overflow-x: auto;
}

/* 6. Tarjetas ----------------------------------------------------------- */
.g-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.g-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: var(--g-surface-2);
	border-radius: 2px;
}

.g-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--g-ease-out), filter 0.4s;
}

.g-img--placeholder {
	display: grid;
	place-items: center;
	background:
		radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--acc) 24%, transparent) 0 18%, transparent 19%),
		color-mix(in srgb, var(--acc) 10%, var(--g-bg));
	color: var(--acc);
}

.g-card:hover .g-img,
.g-card:focus-within .g-img {
	transform: scale(1.045);
}

.g-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.g-card__body > * {
	margin: 0;
}

.g-card__kicker {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.g-kicker {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.07em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--acc-text);
	text-decoration: none;
}

.g-kicker::before {
	content: "";
	width: 7px;
	height: 7px;
	background: var(--acc);
	border-radius: 1px;
}

a.g-kicker:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.g-card__title {
	font-family: var(--g-serif);
	font-size: 1.1875rem;
	font-weight: 650;
	line-height: 1.16;
	letter-spacing: -0.012em;
	text-wrap: balance;
}

.g-card__link {
	text-decoration: none;
	background: linear-gradient(var(--acc), var(--acc)) 0 100% / 0 2px no-repeat;
	transition: background-size 0.45s var(--g-ease-out);
}

.g-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.g-card:hover .g-card__link,
.g-card__link:focus-visible {
	background-size: 100% 2px;
}

.g-card__link:focus-visible {
	outline: none;
}

.g-card:has(.g-card__link:focus-visible) {
	outline: 3px solid var(--g-orange);
	outline-offset: 4px;
	border-radius: 2px;
}

.g-card__dek {
	font-family: var(--g-serif);
	font-size: 1.0625rem;
	line-height: 1.42;
	color: var(--g-ink-2);
}

.g-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	line-height: 1.3;
	color: var(--g-ink-2);
	font-variant-numeric: tabular-nums;
}

/* Variantes */
.g-card--hero {
	gap: 16px;
}

.g-card--hero .g-card__media {
	aspect-ratio: 16 / 9;
	margin-inline: calc(-1 * var(--g-gutter));
	border-radius: 0;
}

.g-card--hero .g-card__title {
	font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.5rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.022em;
}

.g-card--hero .g-card__dek {
	font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem);
	max-width: 60ch;
}

.g-card--secondary .g-card__title {
	font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
	line-height: 1.12;
}

.g-card--large .g-card__title {
	font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.018em;
}

.g-card--medium .g-card__title {
	font-size: 1.0625rem;
	line-height: 1.2;
}

.g-card--headline {
	gap: 6px;
	padding-block: 14px;
	border-top: 1px solid var(--g-rule);
}

.g-card--headline .g-card__title {
	font-size: 1.0625rem;
	line-height: 1.22;
}

.g-card--slide .g-card__media {
	aspect-ratio: 4 / 5;
}

.g-card--slide .g-card__title {
	font-size: 1.1875rem;
}

.g-card--slide,
.g-card--related,
.g-card--medium {
	transition: transform 0.35s var(--g-ease-out);
}

.g-card--slide .g-card__media,
.g-card--related .g-card__media,
.g-card--medium .g-card__media {
	transition: box-shadow 0.35s var(--g-ease-out);
}

@media (hover: hover) {
	.g-card--slide:hover,
	.g-card--related:hover,
	.g-card--medium:hover {
		transform: translateY(-4px);
	}

	.g-card--slide:hover .g-card__media,
	.g-card--related:hover .g-card__media,
	.g-card--medium:hover .g-card__media {
		box-shadow: var(--g-shadow);
	}
}

.g-card--rank {
	display: grid;
	grid-template-columns: 38px 1fr;
	gap: 12px;
	padding-block: 14px;
	border-top: 1px solid var(--g-rule);
}

.g-card__rank {
	font-family: var(--g-serif);
	font-size: 2rem;
	font-weight: 700;
	font-style: italic;
	line-height: 0.9;
	color: #d95c0a;
	font-variant-numeric: lining-nums;
}

.g-card--rank .g-card__title {
	font-size: 1.0625rem;
	line-height: 1.2;
}

.g-card__section {
	font-weight: 650;
	color: var(--acc-text);
}

.g-card--row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 36%;
	grid-template-areas: "body media";
	gap: 16px;
	padding-block: 20px;
	border-top: 1px solid var(--g-rule);
}

.g-card--row .g-card__media {
	grid-area: media;
	align-self: start;
}

.g-card--row .g-card__body {
	grid-area: body;
}

.g-card--row .g-card__title {
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.4rem);
}

.g-card--row .g-card__dek {
	display: none;
}

.g-card--mini {
	flex-direction: row;
	align-items: center;
}

.g-card--mini .g-card__media {
	flex: 0 0 72px;
	aspect-ratio: 1;
}

@media (min-width: 768px) {
	.g-card--row {
		grid-template-columns: 280px minmax(0, 1fr);
		grid-template-areas: "media body";
		gap: 24px;
		padding-block: 24px;
	}

	.g-card--row .g-card__dek {
		display: block;
	}

	.g-card--hero .g-card__media {
		margin-inline: 0;
		border-radius: 2px;
	}
}

/* Esqueletos de carga */
.g-skeleton .g-img,
.g-sk-line {
	background: linear-gradient(90deg, var(--g-surface-2) 0%, var(--g-surface) 50%, var(--g-surface-2) 100%) 0 0 / 200% 100%;
	animation: g-shimmer 1.3s linear infinite;
}

.g-sk-line {
	display: block;
	height: 14px;
	border-radius: 3px;
}

.g-sk-line--short {
	width: 30%;
}

@keyframes g-shimmer {
	to {
		background-position: -200% 0;
	}
}

/* 7. Portada ------------------------------------------------------------ */
.g-apertura {
	padding-block: 20px 8px;
}

.g-apertura__grid {
	display: grid;
	gap: 28px;
}

.g-apertura__side {
	display: grid;
	gap: 24px;
}

.g-apertura__side .g-card + .g-card {
	padding-top: 24px;
	border-top: 1px solid var(--g-rule);
}

.g-card--hero .g-card__media .g-img {
	animation: g-settle 1.4s var(--g-ease-out) both;
}

.g-card--hero .g-card__body {
	animation: g-rise 0.7s var(--g-ease-out) 0.08s both;
}

@keyframes g-settle {
	from {
		transform: scale(1.06);
	}
}

@keyframes g-rise {
	from {
		opacity: 0.001;
		transform: translateY(14px);
	}
}

@media (min-width: 640px) and (max-width: 1023px) {
	.g-apertura__side {
		grid-template-columns: 1fr 1fr;
	}

	.g-apertura__side .g-card + .g-card {
		padding-top: 0;
		border-top: 0;
	}
}

@media (min-width: 1024px) {
	.g-apertura {
		padding-block: 32px 12px;
	}

	.g-apertura__grid {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		gap: 40px;
	}

	.g-apertura__side {
		align-content: start;
		padding-left: 40px;
		border-left: 1px solid var(--g-rule);
	}

	.g-apertura .g-card--hero .g-card__media {
		aspect-ratio: 2 / 1;
	}
}

/* Carrusel «Hoy te va a gustar» */
.g-carousel {
	margin-block: 32px 8px;
	padding-block: 28px 32px;
	background: var(--g-surface);
	border-block: 1px solid var(--g-rule);
}

.g-carousel__head {
	align-items: center;
}

.g-carousel__controls {
	display: none;
	gap: 8px;
}

.g-carousel__viewport {
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scroll-padding-inline: var(--g-gutter);
	scrollbar-width: none;
	margin-inline: calc(-1 * var(--g-gutter));
	padding-inline: var(--g-gutter);
	cursor: grab;
}

.g-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.g-carousel__viewport.is-auto {
	scroll-snap-type: none;
}

.g-carousel__viewport.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	user-select: none;
}

.g-carousel__viewport.is-dragging a {
	pointer-events: none;
}

.g-carousel__track {
	display: flex;
	gap: 20px;
	width: max-content;
	margin: 0;
	padding: 0 0 6px;
	list-style: none;
}

.g-carousel__item {
	width: clamp(220px, 68vw, 290px);
	scroll-snap-align: start;
}

.g-carousel__item img {
	-webkit-user-drag: none;
	user-select: none;
}

@media (min-width: 768px) {
	.g-carousel__controls {
		display: flex;
	}
}

/* Rejilla portada + columna lateral */
.g-home-grid {
	display: grid;
	gap: 40px;
	padding-block: 12px 48px;
}

.g-home-main,
.g-home-aside {
	min-width: 0;
}

.g-home-aside {
	display: grid;
	align-content: start;
	gap: 36px;
}

@media (min-width: 1100px) {
	.g-home-grid {
		grid-template-columns: minmax(0, 1fr) 336px;
		gap: 48px;
	}

	.g-home-aside {
		padding-top: 24px;
	}

	.g-home-main > .g-secblock:first-child {
		margin-top: 24px;
	}

	.g-home-aside__sticky {
		position: sticky;
		top: calc(var(--g-nav-h) + 24px);
	}
}

.g-home-aside__sticky {
	display: grid;
	gap: 36px;
}

/* Bloque de sección */
.g-secblock {
	container-type: inline-size;
	margin-top: 48px;
}

.g-secblock__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-bottom: 20px;
	padding-top: 12px;
	border-top: 4px solid var(--acc);
}

.g-secblock__title {
	flex: 1 1 auto;
	margin: 0;
	font-family: var(--g-serif);
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.g-secblock__title a {
	text-decoration: none;
}

.g-secblock__title a:hover {
	color: var(--acc-text);
}

.g-secblock__subs {
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	order: 3;
	flex-basis: 100%;
}

.g-secblock__subs a {
	font-size: 13px;
	font-weight: 600;
	color: var(--acc-text);
	text-decoration: none;
}

.g-secblock__subs a:hover {
	text-decoration: underline;
}

.g-secblock__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "lead" "row" "list";
	gap: 20px;
}

.g-secblock__lead {
	grid-area: lead;
}

.g-secblock__list {
	grid-area: list;
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-secblock__row {
	grid-area: row;
	display: grid;
	gap: 0;
}

/* En estrecho, las medianas pasan a filas compactas con miniatura. */
.g-secblock__row .g-card--medium {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 104px;
	align-items: start;
	gap: 14px;
	padding-block: 14px;
	border-top: 1px solid var(--g-rule);
}

.g-secblock__row .g-card--medium .g-card__media {
	order: 2;
	aspect-ratio: 1;
}

.g-secblock__row .g-card--medium .g-card__kicker {
	display: none;
}

@container (min-width: 560px) {
	.g-secblock__grid {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		grid-template-areas: "lead list" "row row";
		column-gap: 32px;
		row-gap: 28px;
	}

	.g-secblock--nolist .g-secblock__grid {
		grid-template-areas: "lead lead" "row row";
	}

	.g-secblock__list > li:first-child .g-card--headline {
		border-top: 0;
		padding-top: 0;
	}

	.g-secblock__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.g-secblock__row .g-card--medium {
		display: flex;
		padding: 0;
		border: 0;
	}

	.g-secblock__row .g-card--medium .g-card__media {
		order: 0;
		aspect-ratio: 3 / 2;
	}

	.g-secblock__row .g-card--medium .g-card__kicker {
		display: none;
	}
}

@container (min-width: 760px) {
	.g-secblock__row {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		padding-top: 24px;
		border-top: 1px solid var(--g-rule);
	}
}

/* 8. Columna lateral ---------------------------------------------------- */
.g-rank__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-rank__list > li:first-child .g-card--rank {
	border-top: 0;
	padding-top: 4px;
}

.g-rank__note {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--g-ink-2);
}

.g-dayfav {
	position: relative;
	display: grid;
	gap: 12px;
	padding: 20px;
	background: var(--g-sun-tint);
	border-top: 4px solid var(--g-sun);
}

.g-dayfav > * {
	margin: 0;
}

.g-dayfav__label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--g-sans);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.g-dayfav__label .g-icon {
	color: var(--g-orange-ink);
}

.g-dayfav__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	border-radius: 2px;
}

.g-dayfav__media:hover .g-img {
	transform: scale(1.045);
}

.g-dayfav__title {
	font-family: var(--g-serif);
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.012em;
	text-wrap: balance;
}

.g-dayfav__title a {
	text-decoration: none;
}

.g-dayfav__title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--g-orange);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.g-dayfav__dek {
	font-family: var(--g-serif);
	font-size: 1rem;
	line-height: 1.45;
	color: var(--g-ink-2);
}

.g-better {
	display: grid;
	gap: 8px;
	padding: 24px 22px 20px;
	background: var(--g-inverse);
	color: var(--g-inverse-ink);
	border-radius: 2px;
}

.g-better > * {
	margin: 0;
}

.g-better__label {
	font-family: var(--g-sans);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--g-sun);
}

.g-better__figure {
	display: flex;
	align-items: baseline;
	font-family: var(--g-serif);
	font-weight: 700;
	line-height: 0.95;
	color: var(--g-sun);
	letter-spacing: -0.03em;
}

.g-better__num {
	font-size: clamp(4.5rem, 3.5rem + 3vw, 5.75rem);
	font-variant-numeric: tabular-nums lining-nums;
}

.g-better__suffix {
	font-size: 2.75rem;
	margin-left: 4px;
}

.g-better__text {
	font-family: var(--g-serif);
	font-size: 1.1875rem;
	line-height: 1.3;
}

.g-better__source {
	font-size: 12px;
	color: var(--g-inverse-ink-2);
}

.g-better .g-mod__more {
	margin-top: 6px;
	color: var(--g-inverse-ink);
}

.g-better :focus-visible {
	outline-color: var(--g-sun);
}

.g-newsletter {
	display: grid;
	gap: 16px;
	padding: 22px;
	background: var(--g-surface);
	border: 1px solid var(--g-rule);
	border-radius: 2px;
}

.g-newsletter__copy > * {
	margin: 0;
}

.g-newsletter__copy {
	display: grid;
	gap: 8px;
}

.g-newsletter__eyebrow {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--g-orange-ink);
}

.g-newsletter__title {
	font-family: var(--g-serif);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.012em;
}

.g-newsletter__text {
	font-size: 15px;
	line-height: 1.5;
	color: var(--g-ink-2);
}

.g-newsletter__form {
	display: grid;
	gap: 12px;
}

.g-newsletter__form .g-btn {
	width: 100%;
}

.g-newsletter__legal {
	margin: 0;
	font-size: 12px;
	color: var(--g-ink-2);
}

.g-newsletter__done,
.g-newsletter__error {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.45;
	border-radius: 2px;
}

.g-newsletter__done {
	background: color-mix(in srgb, var(--g-check) 10%, var(--g-bg));
	color: var(--g-ink);
}

.g-newsletter__done .g-icon {
	color: var(--g-check);
}

.g-newsletter__error {
	background: var(--g-sun-tint);
}

@media (min-width: 768px) {
	.g-newsletter--wide {
		grid-template-columns: 1fr 1fr;
		align-items: center;
		gap: 40px;
		padding: 40px;
	}
}

.g-shop__soon {
	margin: 0;
	font-family: var(--g-serif);
	font-size: 1.0625rem;
	line-height: 1.45;
	color: var(--g-ink-2);
}

.g-shop__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-shop__item a {
	display: grid;
	grid-template-columns: 72px 1fr;
	grid-template-rows: auto auto;
	column-gap: 12px;
	text-decoration: none;
}

.g-shop__item .g-img {
	grid-row: span 2;
	aspect-ratio: 1;
}

.g-shop__name {
	font-weight: 600;
}

.g-shop__price {
	color: var(--g-ink-2);
	font-size: 14px;
}

/* 9. Vídeo y alegría ---------------------------------------------------- */
.g-videos {
	margin-top: 56px;
	padding: 24px var(--g-gutter) 20px;
	margin-inline: calc(-1 * var(--g-gutter));
	background: var(--g-inverse);
	color: var(--g-inverse-ink);
}

.g-videos .g-mod__more {
	color: var(--g-inverse-ink);
}

.g-videos__grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.g-video {
	margin: 0;
	display: grid;
	gap: 10px;
	align-content: start;
}

.g-video--lead {
	grid-column: 1 / -1;
}

.g-video__frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 2px;
}

.g-video__frame .g-img {
	opacity: 0.88;
}

.g-video__frame:hover .g-img {
	transform: scale(1.04);
	opacity: 1;
}

.g-video__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.g-video__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	width: 100%;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.g-video__play .g-icon {
	box-sizing: content-box;
	padding: 14px 13px 14px 17px;
	border-radius: 50%;
	background: var(--g-sun);
	color: var(--g-ink);
	box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.5);
	transition: transform 0.3s var(--g-ease-out);
}

.g-video:not(.g-video--lead) .g-video__play .g-icon {
	width: 18px;
	height: 18px;
	padding: 10px 9px 10px 12px;
}

.g-video__play:hover .g-icon,
.g-video__play:focus-visible .g-icon {
	transform: scale(1.1);
}

.g-video__play:focus-visible {
	outline-color: var(--g-sun);
	outline-offset: -6px;
}

.g-video__caption {
	font-family: var(--g-serif);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
}

.g-video--lead .g-video__caption {
	font-size: 1.375rem;
}

.g-video__caption a {
	text-decoration: none;
}

.g-video__caption a:hover {
	text-decoration: underline;
	text-decoration-color: var(--g-sun);
}

.g-videos__privacy {
	margin: 16px 0 0;
	font-size: 12px;
	color: var(--g-inverse-ink-2);
}

.g-videos :focus-visible {
	outline-color: var(--g-sun);
}

@media (min-width: 768px) {
	.g-videos {
		margin-inline: 0;
		padding: 28px 28px 22px;
		border-radius: 2px;
	}

	.g-videos__grid {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		grid-template-rows: repeat(3, auto);
	}

	.g-video--lead {
		grid-column: 1;
		grid-row: 1 / span 3;
	}

	.g-video:not(.g-video--lead) {
		grid-template-columns: 132px 1fr;
		align-items: start;
	}
}

.g-joy {
	margin-top: 56px;
	padding: 28px var(--g-gutter);
	margin-inline: calc(-1 * var(--g-gutter));
	background: var(--g-sun);
	color: var(--g-ink);
	position: relative;
	overflow: hidden;
}

.g-joy::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -130px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	border: 26px solid rgb(255 255 255 / 0.24);
	pointer-events: none;
}

.g-joy__in {
	position: relative;
	display: grid;
	gap: 24px;
}

.g-joy__copy > * {
	margin: 0;
}

.g-joy__copy {
	display: grid;
	gap: 10px;
}

.g-joy__title {
	font-family: var(--g-serif);
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.35rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.g-joy__lead {
	font-family: var(--g-serif);
	font-size: 1.25rem;
	line-height: 1.3;
}

.g-joy__num {
	display: block;
	margin: 6px 0 2px;
	font-size: clamp(3.25rem, 2.5rem + 3vw, 4.75rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums lining-nums;
}

.g-joy__text {
	font-size: 14px;
	line-height: 1.5;
}

.g-joy__bars {
	display: grid;
	gap: 12px;
	align-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-joy__bars li {
	display: grid;
	grid-template-columns: 24px 96px 1fr 64px;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
}

.g-joy__bar {
	height: 10px;
	background: rgb(26 26 26 / 0.12);
	border-radius: 999px;
	overflow: hidden;
}

.g-joy__bar span {
	display: block;
	width: var(--pct);
	height: 100%;
	background: var(--g-ink);
	border-radius: inherit;
	transform-origin: left;
	transition: transform 1.2s var(--g-ease-out) 0.2s;
}

html.js .g-joy:not(.is-in) .g-joy__bar span {
	transform: scaleX(0);
}

.g-joy__val {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
	.g-joy {
		margin-inline: 0;
		padding: 36px 36px;
		border-radius: 2px;
	}

	.g-joy__in {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
		gap: 40px;
	}
}

/* 10. Noticia ----------------------------------------------------------- */
.g-progress {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 70;
	height: 3px;
	pointer-events: none;
}

.g-progress span {
	display: block;
	height: 100%;
	background: var(--g-orange);
	transform: scaleX(var(--p, 0));
	transform-origin: left;
}

.admin-bar .g-progress {
	top: 46px;
}

@media (min-width: 783px) {
	.admin-bar .g-progress {
		top: 32px;
	}
}

.g-arthead {
	max-width: calc(860px + 2 * var(--g-gutter));
	padding-top: 20px;
}

.g-arthead > p,
.g-arthead > h1 {
	margin: 0;
}

.g-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--g-ink-2);
}

.g-crumbs li + li::before {
	content: "›";
	margin-right: 4px;
	color: var(--g-rule-2);
}

.g-crumbs a {
	text-decoration: none;
}

.g-crumbs a:hover {
	text-decoration: underline;
}

.g-arthead__flags {
	margin-bottom: 10px !important;
}

.g-arthead__section a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--acc-text);
	text-decoration: none;
}

.g-arthead__section a::before {
	content: "";
	width: 9px;
	height: 9px;
	background: var(--acc);
	border-radius: 1px;
}

.g-arthead__title {
	margin-top: 12px !important;
	font-family: var(--g-serif);
	font-size: clamp(2.05rem, 1.25rem + 3.3vw, 3.9rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.024em;
	text-wrap: balance;
}

.g-arthead__dek {
	margin-top: 16px !important;
	font-family: var(--g-serif);
	font-size: clamp(1.1875rem, 1.05rem + 0.55vw, 1.5rem);
	font-weight: 400;
	line-height: 1.38;
	color: var(--g-ink-2);
	text-wrap: pretty;
}

.g-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 22px;
	padding-block: 14px;
	border-block: 1px solid var(--g-rule);
}

.g-byline__avatar {
	flex: none;
	width: 44px;
	height: 44px;
}

.g-byline__text {
	flex: 1 1 200px;
	min-width: 0;
}

.g-byline__text p {
	margin: 0;
}

.g-byline__author {
	font-size: 14.5px;
}

.g-byline__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	font-size: 13px;
	color: var(--g-ink-2);
	font-variant-numeric: tabular-nums;
}

.g-byline__meta span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.g-calm-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 14px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: inset 0 0 0 1px var(--g-rule-2);
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s, box-shadow 0.2s;
}

.g-calm-toggle:hover {
	background: var(--g-surface);
}

.g-calm-toggle[aria-pressed="true"] {
	background: var(--g-ink);
	color: var(--g-bg);
	box-shadow: none;
}

html:not(.js) .g-calm-toggle {
	display: none;
}

.g-artimg {
	max-width: 1080px;
	margin: 24px auto 0;
}

.g-artimg img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	view-transition-name: g-hero;
}

.g-artimg figcaption {
	padding: 10px var(--g-gutter) 0;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--g-ink-2);
}

@media (min-width: 1080px) {
	.g-artimg img {
		border-radius: 2px;
	}

	.g-artimg figcaption {
		padding-inline: 0;
	}
}

.g-article__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	max-width: calc(var(--g-read) + 2 * var(--g-gutter));
	margin: 0 auto;
	padding-inline: var(--g-gutter);
}

.g-article__body {
	min-width: 0;
	padding-top: 28px;
}

/* Cuerpo de la noticia */
.g-prose {
	font-family: var(--g-sans);
	font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	line-height: 1.72;
	color: var(--g-ink);
	max-width: 68ch;
	hyphens: manual;
	text-wrap: pretty;
}

.g-prose.g-prose > * {
	margin-block: 0;
}

.g-prose.g-prose > * + * {
	margin-block-start: 1.15em;
}

.g-prose.g-prose > :is(h2, h3) {
	margin-block-start: 1.9em;
}

.g-prose.g-prose > :is(h2, h3) + * {
	margin-block-start: 0.6em;
}

.g-prose h2 {
	font-family: var(--g-serif);
	font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.875rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.015em;
}

.g-prose h3 {
	font-family: var(--g-serif);
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.2;
}

.g-prose a {
	text-decoration: underline;
	text-decoration-color: var(--acc);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	transition: background-color 0.2s;
}

.g-prose a:hover {
	background: var(--g-sun-tint);
}

.g-prose strong {
	font-weight: 650;
}

.g-prose :is(ul, ol) {
	padding-left: 1.3em;
}

.g-prose li + li {
	margin-top: 0.4em;
}

.g-prose li::marker {
	color: var(--g-orange-ink);
	font-weight: 700;
}

.g-prose blockquote:not(.wp-block-pullquote blockquote) {
	margin-inline: 0;
	padding: 4px 0 4px 1.25rem;
	border-left: 4px solid var(--g-sun);
	font-family: var(--g-serif);
	font-size: 1.35em;
	font-style: italic;
	line-height: 1.32;
}

.g-prose blockquote p {
	margin: 0;
}

.g-prose blockquote cite {
	display: block;
	margin-top: 10px;
	font-family: var(--g-sans);
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	color: var(--g-ink-2);
}

.g-prose .wp-block-pullquote {
	margin-inline: 0;
	padding: 28px 0;
	text-align: left;
}

.g-prose .wp-block-pullquote blockquote {
	margin: 0;
}

.g-prose .wp-block-pullquote p {
	font-size: 1em;
	line-height: 1.18;
}

.g-prose figure {
	margin-inline: 0;
}

.g-prose figcaption {
	margin-top: 8px;
	font-size: 13.5px;
	color: var(--g-ink-2);
}

.g-prose img {
	border-radius: 2px;
}

@media (min-width: 768px) {
	.g-article-main .g-prose > p:first-of-type::first-letter {
		float: left;
		margin: 0.07em 0.1em 0 -0.02em;
		font-family: var(--g-serif);
		font-size: 4.1em;
		font-weight: 700;
		line-height: 0.8;
		color: var(--g-ink);
	}
}

/* Lo esencial */
.g-essentials {
	margin: 0 0 32px;
	padding: 20px 22px 18px;
	background: var(--g-sun-tint);
	border-top: 4px solid var(--g-sun);
	border-radius: 0 0 2px 2px;
}

.g-essentials__title {
	margin: 0 0 12px;
	font-family: var(--g-sans);
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.g-essentials ol {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: g-ess;
}

.g-essentials li {
	position: relative;
	padding-left: 34px;
	font-size: 1.0625rem;
	line-height: 1.5;
	counter-increment: g-ess;
}

.g-essentials li::before {
	content: counter(g-ess);
	position: absolute;
	left: 0;
	top: -1px;
	font-family: var(--g-serif);
	font-size: 1.5rem;
	font-weight: 700;
	font-style: italic;
	line-height: 1;
	color: var(--g-orange-ink);
}

/* Compartir: fijo abajo en móvil, flotante en escritorio */
.g-share {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 55;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
	background: color-mix(in srgb, var(--g-bg) 94%, transparent);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--g-rule);
	transition: transform 0.35s var(--g-ease-out);
}

.g-share.is-hidden {
	transform: translateY(110%);
}

.g-share__label {
	display: none;
	margin: 0;
}

.g-share ul {
	display: flex;
	justify-content: space-between;
	gap: 4px;
	width: 100%;
	max-width: 420px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-share__btn {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--g-ink);
	cursor: pointer;
	transition: background-color 0.2s, transform 0.2s var(--g-ease-out), color 0.2s;
}

.g-share__btn:hover {
	background: var(--g-sun);
	transform: translateY(-2px);
}

.g-share__btn.is-done {
	background: color-mix(in srgb, var(--g-check) 14%, var(--g-bg));
	color: var(--g-check);
}

.g-share__toast {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	margin: 0;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--g-ink);
	color: var(--g-bg);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	transform: translateX(-50%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s;
}

.g-share__toast.is-visible {
	opacity: 1;
}

body.g-is-article {
	--g-bottom-h: calc(58px + env(safe-area-inset-bottom));
}

@media (min-width: 1100px) {
	body.g-is-article {
		--g-bottom-h: 0px;
	}

	.g-article__layout {
		grid-template-columns: 1fr minmax(0, var(--g-read)) 1fr;
		max-width: var(--g-wrap);
		column-gap: 48px;
	}

	.g-article__body {
		grid-column: 2;
	}

	.g-share {
		position: sticky;
		top: calc(var(--g-nav-h) + 32px);
		grid-column: 1;
		grid-row: 1;
		justify-self: end;
		align-self: start;
		flex-direction: column;
		gap: 8px;
		padding: 40px 0 0;
		background: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		border: 0;
		transform: none !important;
	}

	.g-share__label {
		display: block;
		font-size: 11px;
		font-weight: 800;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		color: var(--g-ink-2);
	}

	.g-share ul {
		flex-direction: column;
		gap: 6px;
	}

	.g-share__btn {
		box-shadow: inset 0 0 0 1px var(--g-rule-2);
	}

	.g-share__btn:hover {
		box-shadow: none;
	}

	.g-share__toast {
		left: calc(100% + 12px);
		bottom: auto;
		top: 50%;
		transform: translateY(-50%);
	}
}

/* Etiquetas */
.g-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 32px;
	font-size: 13px;
	color: var(--g-ink-2);
}

.g-tags .wp-block-post-terms__prefix {
	font-weight: 700;
}

.g-tags a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 12px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px var(--g-rule-2);
	color: var(--g-ink);
	font-weight: 550;
	text-decoration: none;
}

.g-tags a:hover {
	background: var(--g-sun-tint);
}

.g-tags .wp-block-post-terms__separator {
	display: none;
}

/* Reacciones */
.g-reactions {
	margin-top: 44px;
	padding-top: 28px;
	border-top: 1px solid var(--g-rule);
}

.g-reactions__title {
	margin: 0 0 16px;
	font-family: var(--g-serif);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.g-reactions__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 560px) {
	.g-reactions__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.g-reaction {
	display: grid;
	justify-items: center;
	gap: 6px;
	width: 100%;
	padding: 16px 8px 14px;
	border: 0;
	border-radius: 6px;
	background: var(--g-bg);
	box-shadow: inset 0 0 0 1.5px var(--g-rule);
	cursor: pointer;
	transition: box-shadow 0.2s, transform 0.25s var(--g-ease-out), background-color 0.2s;
}

.g-reaction:hover {
	box-shadow: inset 0 0 0 1.5px var(--g-ink);
	transform: translateY(-2px);
}

.g-reaction[aria-pressed="true"] {
	background: var(--g-sun-tint);
	box-shadow: inset 0 0 0 2px var(--g-sun);
}

.g-reaction__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--g-surface);
	transition: background-color 0.2s;
}

.g-reaction[aria-pressed="true"] .g-reaction__icon {
	background: var(--g-sun);
}

.g-reaction__burst {
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	pointer-events: none;
}

.g-reaction.is-popping .g-reaction__icon .g-icon {
	animation: g-pop 0.55s var(--g-ease-out);
}

.g-reaction.is-popping .g-reaction__burst {
	animation: g-burst 0.6s var(--g-ease-out);
}

@keyframes g-pop {
	0% {
		transform: scale(1);
	}
	35% {
		transform: scale(1.4) rotate(-10deg);
	}
	70% {
		transform: scale(0.92) rotate(4deg);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes g-burst {
	0% {
		box-shadow: 0 0 0 0 var(--g-orange), 0 0 0 0 var(--g-sun);
		opacity: 1;
	}
	100% {
		box-shadow: 0 0 0 10px transparent, 0 0 0 18px transparent;
		opacity: 0;
	}
}

.g-reaction__label {
	font-size: 14px;
	font-weight: 650;
}

.g-reaction__count {
	font-size: 13px;
	color: var(--g-ink-2);
	font-variant-numeric: tabular-nums;
}

.g-reaction.is-popping .g-reaction__count {
	animation: g-count 0.45s var(--g-ease-out);
}

@keyframes g-count {
	from {
		transform: translateY(8px);
		opacity: 0;
	}
}

.g-reactions__thanks {
	min-height: 1.4em;
	margin: 12px 0 0;
	font-size: 14px;
	color: var(--g-ink-2);
}

/* Fuente */
.g-source {
	display: grid;
	gap: 10px;
	margin-top: 36px;
	padding: 18px 0 0;
	border-top: 1px solid var(--g-rule);
	font-size: 14px;
	line-height: 1.5;
}

.g-source p {
	margin: 0;
}

.g-source__k {
	display: inline-block;
	margin-right: 6px;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--g-ink-2);
}

.g-source__line a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 650;
	text-decoration: underline;
	text-decoration-color: var(--g-orange);
	text-underline-offset: 3px;
}

.g-source__note {
	color: var(--g-ink-2);
}

.g-source__note a {
	text-decoration: underline;
}

.g-source__report {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-self: start;
	min-height: 40px;
	padding: 0 14px 0 12px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px var(--g-rule-2);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s;
}

.g-source__report:hover {
	background: var(--g-sun-tint);
}

/* Relacionadas y comentarios */
.g-related {
	position: relative;
	container-type: inline-size;
	margin-top: 56px;
	padding-top: 24px;
}

.g-related::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--g-gutter);
	right: var(--g-gutter);
	height: 1px;
	background: var(--g-ink);
}

.g-related__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 20px;
}

.g-card--related .g-card__title {
	font-size: 1.0625rem;
	line-height: 1.2;
}

@container (min-width: 900px) {
	.g-related__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 32px;
	}

	.g-card--related .g-card__title {
		font-size: 1.25rem;
	}
}

.g-comments-wrap {
	margin-top: 56px;
	margin-bottom: 56px;
}

.g-comments .wp-block-comments-title {
	margin: 0 0 20px;
	font-family: var(--g-serif);
	font-size: 1.6rem;
}

.g-comment {
	padding-block: 16px;
	border-top: 1px solid var(--g-rule);
}

.g-comment__head {
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.g-comment__head .wp-block-avatar img {
	border-radius: 50%;
}

.g-comment .wp-block-comment-author-name {
	font-weight: 700;
}

.g-comment .wp-block-comment-date {
	color: var(--g-ink-2);
	font-size: 13px;
}

.g-comment .wp-block-comment-content {
	font-size: 16px;
	line-height: 1.6;
}

.g-comment .wp-block-comment-reply-link a {
	font-size: 13px;
	font-weight: 650;
}

.g-comments .comment-respond {
	margin-top: 28px;
	padding: 22px;
	background: var(--g-surface);
	border-radius: 2px;
}

.g-comments .comment-reply-title {
	margin: 0 0 8px;
	font-family: var(--g-serif);
	font-size: 1.4rem;
}

.g-comments .comment-form {
	display: grid;
	gap: 14px;
}

.g-comments .comment-form p {
	margin: 0;
}

.g-comments .comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
}

.g-comments .comment-form .comment-form-cookies-consent {
	display: flex;
	gap: 10px;
	font-size: 13px;
}

.g-comments .comment-form .comment-form-cookies-consent label {
	font-weight: 400;
}

.g-comments .comment-form input[type="submit"],
.g-comments .wp-block-button__link {
	min-height: 46px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--g-orange);
	color: var(--g-ink);
	font-weight: 650;
	cursor: pointer;
}

.g-comments .comment-notes,
.g-comments .logged-in-as {
	font-size: 13px;
	color: var(--g-ink-2);
}

/* 11. Archivo, etiqueta y búsqueda -------------------------------------- */
.g-archead {
	position: relative;
	padding-block: 24px 22px;
}

.g-archead > * {
	margin: 0;
}

.g-archead .g-crumbs ol {
	margin-bottom: 14px;
}

.g-archead__eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--acc-text);
}

.g-archead__eyebrow::before {
	content: "";
	width: 28px;
	height: 4px;
	background: var(--acc);
}

.g-archead__title {
	margin-top: 8px !important;
	font-family: var(--g-serif);
	font-size: clamp(2.5rem, 1.6rem + 4vw, 5rem);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.g-archead__hash {
	color: var(--g-orange);
	margin-right: 0.04em;
}

.g-archead__desc {
	max-width: 62ch;
	margin-top: 12px !important;
	font-family: var(--g-serif);
	font-size: 1.1875rem;
	line-height: 1.45;
	color: var(--g-ink-2);
}

.g-archead__desc p {
	margin: 0;
}

.g-archead__count {
	margin-top: 10px !important;
	font-size: 14px;
	color: var(--g-ink-2);
}

.g-archead .g-chips {
	margin-top: 18px;
}

.g-archead::after {
	content: "";
	position: absolute;
	left: var(--g-gutter);
	right: var(--g-gutter);
	bottom: 0;
	height: 1px;
	background: var(--g-ink);
}

.g-searchform {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 640px;
	margin-top: 20px !important;
	padding: 6px 6px 6px 14px;
	border: 1.5px solid var(--g-rule-2);
	border-radius: 999px;
	background: var(--g-bg);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.g-searchform:focus-within {
	border-color: var(--g-ink);
	box-shadow: 0 0 0 3px rgb(255 210 63 / 0.7);
}

.g-searchform input {
	flex: 1;
	min-width: 0;
	min-height: 40px;
	padding: 0;
	border: 0;
	box-shadow: none !important;
	background: transparent;
}

.g-searchform .g-btn {
	min-height: 40px;
}

.g-listing {
	display: grid;
	gap: 40px;
	padding-block: 28px 56px;
}

.g-listing__main,
.g-listing__aside {
	min-width: 0;
}

.g-listing__aside {
	display: grid;
	align-content: start;
	gap: 36px;
}

.g-listing__open {
	display: grid;
	gap: 28px;
	margin-bottom: 12px;
	padding-bottom: 28px;
}

.g-listing__side {
	display: grid;
	gap: 24px;
}

.g-list__more {
	display: flex;
	justify-content: center;
	margin: 28px 0 0;
}

.g-list__skeletons:not([hidden]) {
	display: block;
}

.g-empty {
	padding-block: 48px 72px;
	font-family: var(--g-serif);
	font-size: 1.375rem;
	color: var(--g-ink-2);
}

@media (min-width: 1024px) {
	.g-listing__open {
		grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
		gap: 36px;
	}

	.g-listing__side {
		align-content: start;
		padding-left: 36px;
		border-left: 1px solid var(--g-rule);
	}

	.g-listing__side .g-card + .g-card {
		padding-top: 24px;
		border-top: 1px solid var(--g-rule);
	}
}

@media (min-width: 1100px) {
	.g-listing {
		grid-template-columns: minmax(0, 1fr) 336px;
		gap: 48px;
	}

	.g-listing__aside {
		position: sticky;
		top: calc(var(--g-nav-h) + 24px);
		align-self: start;
	}
}

/* 12. Páginas y 404 ----------------------------------------------------- */
.g-page__article {
	padding-block: 32px 64px;
}

.g-page__title {
	margin: 0 0 24px;
	font-family: var(--g-serif);
	font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.g-page__hero {
	padding-block: 48px 36px;
	background: var(--g-sun-tint);
	border-bottom: 1px solid color-mix(in srgb, var(--g-sun) 55%, var(--g-rule));
}

.g-page__hero .g-page__title {
	margin: 0;
}

.g-page--wide .g-page__title {
	padding-top: 32px;
}

.g-lead {
	font-family: var(--g-serif);
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem) !important;
	line-height: 1.4 !important;
	color: var(--g-ink-2);
}

.g-steps {
	display: grid;
	gap: 16px;
	counter-reset: g-step;
	padding: 0 !important;
	list-style: none;
}

.g-steps > li {
	position: relative;
	padding: 18px 18px 18px 64px;
	background: var(--g-surface);
	border-radius: 2px;
	counter-increment: g-step;
}

.g-steps > li::before {
	content: counter(g-step);
	position: absolute;
	left: 18px;
	top: 14px;
	font-family: var(--g-serif);
	font-size: 2rem;
	font-weight: 700;
	font-style: italic;
	line-height: 1;
	color: var(--g-orange-ink);
}

.g-panel {
	padding: 22px 24px;
	background: var(--g-sun-tint);
	border-top: 4px solid var(--g-sun);
}

.g-panel > * + * {
	margin-top: 0.6em;
}

.g-sources-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.g-sources-table th,
.g-sources-table td {
	padding: 10px 8px;
	border-bottom: 1px solid var(--g-rule);
	text-align: left;
}

.g-sources-table th {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--g-ink-2);
}

.g-ok {
	color: var(--g-check);
	font-weight: 700;
}

.g-store-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.g-404 {
	padding-block: 40px 72px;
}

.g-404__in {
	max-width: 760px;
}

.g-404__in > * {
	margin: 0;
}

.g-404__code {
	font-family: var(--g-serif);
	font-size: clamp(6rem, 4rem + 10vw, 11rem);
	font-weight: 700;
	font-style: italic;
	line-height: 0.85;
	letter-spacing: -0.05em;
	color: var(--g-ink);
	text-shadow: 0.06em 0.06em 0 var(--g-sun);
}

.g-404__title {
	margin-top: 20px !important;
	font-family: var(--g-serif);
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.022em;
	text-wrap: balance;
}

.g-404__text {
	margin-top: 16px !important;
	max-width: 58ch;
	font-family: var(--g-serif);
	font-size: 1.25rem;
	line-height: 1.45;
	color: var(--g-ink-2);
}

.g-404__home {
	margin-top: 20px !important;
}

.g-404__sections {
	margin-top: 28px !important;
}

.g-404__sections li {
	list-style: none;
}

.g-404__latest {
	container-type: inline-size;
	margin-top: 56px;
	padding-top: 20px;
	border-top: 1px solid var(--g-ink);
}

/* 13. Pie y barra inferior ---------------------------------------------- */
.g-footer {
	margin-top: 24px;
	background: var(--g-inverse);
	color: var(--g-inverse-ink);
	font-size: 14.5px;
}

.g-footer a {
	text-decoration: none;
}

.g-footer a:hover,
.g-footer .g-linkbtn:hover {
	text-decoration: underline;
	text-decoration-color: var(--g-sun);
	text-underline-offset: 3px;
}

.g-footer :focus-visible {
	outline-color: var(--g-sun);
}

.g-footer__band {
	border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.g-footer__brand {
	display: grid;
	gap: 8px;
	padding-block: 36px 28px;
}

.g-footer__brand > * {
	margin: 0;
}

.g-footer__logo img {
	display: block;
	width: auto;
	height: 52px;
}

.g-footer__claim {
	margin-top: 10px !important;
	font-family: var(--g-serif);
	font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
	font-style: italic;
	line-height: 1.15;
	color: var(--g-inverse-ink);
}

.g-footer__claim2 {
	font-size: 14px;
	color: var(--g-sun);
	font-weight: 600;
}

.g-footer .g-social {
	margin-top: 10px !important;
	margin-left: -6px !important;
}

.g-footer .g-social a {
	color: var(--g-inverse-ink-2);
	width: 40px;
	height: 40px;
}

.g-footer .g-social a:hover {
	color: var(--g-ink);
	background: var(--g-sun);
}

.g-footer__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 24px;
	padding-block: 32px;
}

.g-footer__h {
	margin: 0 0 12px;
	font-family: var(--g-sans);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--g-sun);
}

.g-footer__col ul {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-footer__col li a,
.g-footer__col li .g-linkbtn {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	color: var(--g-inverse-ink);
}

.g-footer__lang {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin-top: 16px;
	font-size: 13px;
	color: var(--g-inverse-ink-2);
}

.g-footer__lang a[aria-current] {
	color: var(--g-sun);
	font-weight: 700;
}

.g-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	position: relative;
	padding-block: 18px 22px;
	font-size: 13px;
	color: var(--g-inverse-ink-2);
}

.g-footer__bottom::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--g-gutter);
	right: var(--g-gutter);
	height: 1px;
	background: rgb(255 255 255 / 0.1);
}

.g-footer__bottom p {
	margin: 0;
}

@media (min-width: 900px) {
	.g-footer__brand {
		grid-template-columns: auto 1fr auto;
		align-items: center;
		column-gap: 36px;
	}

	.g-footer__claim,
	.g-footer__claim2 {
		grid-column: 2;
	}

	.g-footer__logo {
		grid-row: 1 / span 2;
	}

	.g-footer .g-social {
		grid-column: 3;
		grid-row: 1 / span 2;
		margin: 0 !important;
	}

	.g-footer__claim {
		margin-top: 0 !important;
	}

	.g-footer__cols {
		grid-template-columns: 1.3fr 1fr 1fr 1fr;
		padding-block: 40px;
	}

	.g-footer__cols > .g-footer__col:first-child ul {
		grid-template-columns: 1fr 1fr;
		column-gap: 16px;
	}
}

/* Barra inferior (móvil) */
.g-bottomnav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 55;
	background: color-mix(in srgb, var(--g-bg) 94%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-top: 1px solid var(--g-rule);
	padding-bottom: env(safe-area-inset-bottom);
}

.g-bottomnav ul {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-bottomnav :is(a, button) {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 2px;
	width: 100%;
	min-height: 58px;
	padding: 8px 2px 6px;
	border: 0;
	background: none;
	color: var(--g-ink-2);
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.g-bottomnav [aria-current] {
	color: var(--g-ink);
}

.g-bottomnav [aria-current]::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 30%;
	right: 30%;
	height: 3px;
	background: var(--g-orange);
}

body:not(.g-is-article) {
	--g-bottom-h: calc(58px + env(safe-area-inset-bottom));
}

body.g-is-article .g-bottomnav {
	display: none;
}

@media (min-width: 1024px) {
	.g-bottomnav {
		display: none;
	}

	body:not(.g-is-article) {
		--g-bottom-h: 0px;
	}
}

/* Aviso «Hay nuevas noticias» */
.g-fresh {
	position: fixed;
	left: 50%;
	top: calc(var(--g-nav-h) + 14px);
	z-index: 60;
	transform: translateX(-50%);
}

.admin-bar .g-fresh {
	top: calc(var(--g-nav-h) + 60px);
}

.g-fresh:not([hidden]) {
	animation: g-drop 0.5s var(--g-ease-out);
}

.g-fresh__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px 0 16px;
	border: 0;
	border-radius: 999px;
	background: var(--g-ink);
	color: var(--g-bg);
	font-size: 14px;
	font-weight: 650;
	box-shadow: 0 12px 30px -10px rgb(26 26 26 / 0.5);
	cursor: pointer;
}

.g-fresh__btn .g-icon {
	color: var(--g-sun);
}

.g-fresh__btn:hover {
	background: var(--g-orange);
	color: var(--g-ink);
}

.g-fresh__btn:hover .g-icon {
	color: var(--g-ink);
}

.g-fresh.is-loading .g-icon {
	animation: g-spin 0.9s linear infinite;
}

@keyframes g-drop {
	from {
		opacity: 0;
		transform: translate(-50%, -16px);
	}
}

@keyframes g-spin {
	to {
		transform: rotate(360deg);
	}
}

/* 14. Diálogos: menú lateral y buscador --------------------------------- */
dialog {
	color: var(--g-ink);
}

.g-drawer {
	position: fixed;
	inset: 0 auto 0 0;
	width: min(88vw, 380px);
	max-width: none;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0 0 32px;
	border: 0;
	background: var(--g-bg);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.g-drawer::backdrop,
.g-search::backdrop {
	background: rgb(20 19 17 / 0.5);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

.g-drawer[open] {
	animation: g-slide-in 0.38s var(--g-ease-out);
}

.g-drawer.is-closing {
	animation: g-slide-out 0.25s ease-in forwards;
}

.g-drawer[open]::backdrop {
	animation: g-fade 0.3s ease-out;
}

@keyframes g-slide-in {
	from {
		transform: translateX(-100%);
	}
}

@keyframes g-slide-out {
	to {
		transform: translateX(-100%);
	}
}

@keyframes g-fade {
	from {
		opacity: 0;
	}
}

.g-drawer__head {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 8px 10px 20px;
	background: var(--g-bg);
	border-bottom: 1px solid var(--g-rule);
}

.g-drawer__logo img {
	display: block;
	width: auto;
	height: 30px;
}

.g-drawer__search {
	display: flex;
	gap: 6px;
	margin: 16px 20px 8px;
	padding: 2px 2px 2px 14px;
	border: 1.5px solid var(--g-rule-2);
	border-radius: 999px;
}

.g-drawer__search input {
	min-height: 42px;
	padding: 0;
	border: 0;
	box-shadow: none !important;
}

.g-drawer__sections {
	margin: 8px 0;
	padding: 0 20px;
	list-style: none;
}

.g-drawer__sections > li {
	border-bottom: 1px solid var(--g-rule);
}

.g-drawer__sections > li > a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 50px;
	font-family: var(--g-serif);
	font-size: 1.25rem;
	font-weight: 650;
	text-decoration: none;
}

.g-drawer__sections > li > a::before {
	content: "";
	width: 10px;
	height: 10px;
	background: var(--acc, var(--g-sun));
	border-radius: 1px;
	transition: transform 0.25s var(--g-ease-out);
}

.g-drawer__sections > li > a:hover::before,
.g-drawer__sections > li > a[aria-current]::before {
	transform: scale(1.4);
}

.g-drawer__sections ul {
	margin: -6px 0 10px 22px;
	padding: 0;
	list-style: none;
}

.g-drawer__sections ul a {
	display: flex;
	align-items: center;
	min-height: 36px;
	font-size: 15px;
	font-weight: 600;
	color: var(--acc-text);
	text-decoration: none;
}

.g-drawer__links {
	display: grid;
	gap: 2px;
	margin: 20px 20px 16px;
	padding: 0;
	list-style: none;
}

.g-drawer__links a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.g-drawer__links .g-icon {
	color: var(--g-orange-ink);
}

.g-drawer .g-social {
	margin: 0 14px;
}

.g-drawer .g-social a {
	width: 44px;
	height: 44px;
}

.g-search {
	width: min(100% - 24px, 760px);
	max-width: none;
	max-height: min(80dvh, 720px);
	margin: 8vh auto auto;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: var(--g-bg);
	box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.45);
	overflow: hidden;
}

.g-search[open] {
	animation: g-drop-dialog 0.35s var(--g-ease-out);
}

@keyframes g-drop-dialog {
	from {
		opacity: 0;
		transform: translateY(-14px) scale(0.985);
	}
}

.g-search__box {
	display: flex;
	flex-direction: column;
	max-height: inherit;
}

.g-search__form {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 10px 12px 20px;
	border-bottom: 1px solid var(--g-rule);
}

.g-search__form input {
	flex: 1;
	min-height: 48px;
	padding: 0;
	border: 0;
	box-shadow: none !important;
	font-family: var(--g-serif);
	font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
}

.g-search__hint {
	margin: 0;
	padding: 10px 20px;
	font-size: 12.5px;
	color: var(--g-ink-2);
	background: var(--g-surface);
}

.g-search__results {
	overflow-y: auto;
	padding: 4px 20px 16px;
}

.g-search__results ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-search__results li + li {
	border-top: 1px solid var(--g-rule);
}

.g-search__results a {
	display: grid;
	gap: 4px;
	padding: 12px 0;
	text-decoration: none;
}

.g-search__results a:hover .g-sr__title,
.g-search__results a:focus-visible .g-sr__title {
	text-decoration: underline;
	text-decoration-color: var(--g-orange);
	text-underline-offset: 3px;
}

.g-sr__title {
	font-family: var(--g-serif);
	font-size: 1.125rem;
	font-weight: 650;
	line-height: 1.2;
}

.g-sr__meta {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--g-ink-2);
}

.g-sr__empty,
.g-sr__all {
	margin: 12px 0 0;
	font-size: 14px;
	color: var(--g-ink-2);
}

.g-sr__all a {
	display: inline;
	font-weight: 650;
	color: var(--g-ink);
	text-decoration: underline;
}

.g-search .g-skeleton {
	padding: 12px 0;
}

html.has-dialog {
	overflow: hidden;
}

/* 15. Efectos: revelado y transiciones de vista ------------------------- */
html.js .g-reveal {
	opacity: 0;
	transform: translateY(18px);
}

html.js .g-reveal.is-in {
	opacity: 1;
	transform: none;
	transition: opacity 0.7s var(--g-ease-out), transform 0.8s var(--g-ease-out);
	transition-delay: calc(var(--i, 0) * 70ms);
}

/* Las tarjetas animan su propio hover tras revelarse. */
html.js .g-card.g-reveal.is-in {
	transition: opacity 0.7s var(--g-ease-out) calc(var(--i, 0) * 70ms), transform 0.35s var(--g-ease-out);
}

@view-transition {
	navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
	animation-duration: 0.28s;
}

::view-transition-group(g-hero) {
	animation-duration: 0.45s;
	animation-timing-function: var(--g-ease-out);
}

/* 16. Modo lectura tranquila -------------------------------------------- */
html.is-calm body.g-is-article {
	background: var(--g-surface);
}

html.is-calm body.g-is-article :is(.g-topbar, .g-masthead, .g-nav, .g-ticker, .g-share, .g-related, .g-comments-wrap, .g-footer, .g-artimg, .g-crumbs, .g-tags, .g-source) {
	opacity: 0.16;
	filter: grayscale(1);
	transition: opacity 0.5s, filter 0.5s;
}

html.is-calm body.g-is-article :is(.g-nav, .g-share, .g-related, .g-comments-wrap, .g-footer, .g-artimg, .g-source):is(:hover, :focus-within) {
	opacity: 1;
	filter: none;
}

html.is-calm body.g-is-article .g-essentials {
	background: transparent;
}

html.is-calm body.g-is-article .g-prose {
	font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
	line-height: 1.8;
}

html.is-calm .g-nav,
html.is-calm .g-share {
	background: var(--g-surface);
}

body.g-is-article :is(.g-topbar, .g-masthead, .g-nav, .g-ticker, .g-share, .g-related, .g-comments-wrap, .g-footer, .g-artimg, .g-crumbs, .g-tags, .g-source) {
	transition: opacity 0.5s, filter 0.5s;
}

/* 17. Modo oscuro (sigue la preferencia del sistema) -------------------- */
@media (prefers-color-scheme: dark) {
	:root {
		--g-bg: #141311;
		--g-surface: #1c1b18;
		--g-surface-2: #252420;
		--g-sun-tint: #2a2413;
		--g-orange-ink: #ff9a4d;
		--g-ink: #f2efe8;
		--g-ink-2: #b9b4a9;
		--g-rule: #2e2c27;
		--g-rule-2: #45423a;
		--g-check: #5cc48a;
		--g-inverse: #0d0c0b;
		--g-shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 14px 30px -12px rgb(0 0 0 / 0.7);
		--acc-text: var(--acc-dark);
		color-scheme: dark;

		--wp--preset--color--base: #141311;
		--wp--preset--color--surface: #1c1b18;
		--wp--preset--color--sun-tint: #2a2413;
		--wp--preset--color--ink: #f2efe8;
		--wp--preset--color--ink-soft: #b9b4a9;
		--wp--preset--color--rule: #2e2c27;
		--wp--preset--color--orange-ink: #ff9a4d;
	}

	[style*="--acc"] {
		--acc-text: var(--acc-dark);
	}

	.g-img:not(.g-img--placeholder) {
		filter: brightness(0.92);
	}

	.g-btn,
	.g-badge--breaking,
	.g-ticker__label {
		color: #1a1a1a;
	}

	.g-btn--ink {
		background: var(--g-sun);
		color: #1a1a1a;
	}

	.g-joy,
	.g-joy .g-joy__bar span {
		color: #1a1a1a;
	}

	.g-joy .g-joy__bar span {
		background: #1a1a1a;
	}

	.g-joy {
		background: #e8bd2c;
	}

	.g-404__code {
		color: var(--g-sun);
		text-shadow: 0.06em 0.06em 0 #7a5a00;
	}

	.g-fresh__btn {
		background: var(--g-sun);
		color: #1a1a1a;
	}

	.g-fresh__btn .g-icon {
		color: #1a1a1a;
	}

	.g-calm-toggle[aria-pressed="true"] {
		background: var(--g-sun);
		color: #1a1a1a;
	}

	.g-share__toast {
		background: var(--g-sun);
		color: #1a1a1a;
	}

	.g-reaction[aria-pressed="true"] .g-reaction__icon {
		color: #1a1a1a;
	}

	.g-nav {
		border-top-color: var(--g-rule-2);
	}

	.g-related::before {
		background: var(--g-rule-2);
	}

	.g-404__latest {
		border-color: var(--g-rule-2);
	}

	.g-archead::after {
		background: var(--g-rule-2);
	}
}

/* 18. Movimiento reducido ----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	html.js .g-reveal {
		opacity: 1;
		transform: none;
	}

	.g-ticker__viewport {
		overflow-x: auto;
	}

	.g-ticker__toggle {
		display: none;
	}

	@view-transition {
		navigation: none;
	}
}

/* 19. Impresión --------------------------------------------------------- */
@media print {
	.g-topbar,
	.g-nav,
	.g-ticker,
	.g-share,
	.g-bottomnav,
	.g-reactions,
	.g-related,
	.g-comments-wrap,
	.g-footer,
	.g-fresh,
	.g-calm-toggle,
	.g-masthead__menu,
	.g-masthead__search,
	.g-progress {
		display: none !important;
	}

	body {
		padding: 0;
	}

	.g-prose {
		font-size: 12pt;
	}
}

/* Formularios de página (contacto) y tablas */
.g-contact {
	display: grid;
	gap: 16px;
	max-width: 620px;
	margin-block: 8px 32px;
}

.g-contact__ref {
	margin: 0;
	padding: 12px 14px;
	background: var(--g-sun-tint);
	font-size: 14px;
}

.g-table-scroll {
	overflow-x: auto;
}

.g-prose .wp-block-details {
	padding: 14px 0;
	border-bottom: 1px solid var(--g-rule);
}

.g-prose .wp-block-details summary {
	font-weight: 650;
	cursor: pointer;
}

/* Móvil: secundarias de apertura y de archivo en fila compacta (ritmo de diario) */
@media (max-width: 639px) {
	.g-apertura__side .g-card--secondary,
	.g-listing__side .g-card--secondary {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 112px;
		align-items: start;
		gap: 14px;
	}

	.g-apertura__side .g-card--secondary .g-card__media,
	.g-listing__side .g-card--secondary .g-card__media {
		order: 2;
		aspect-ratio: 1;
	}

	.g-apertura__side .g-card--secondary .g-card__title,
	.g-listing__side .g-card--secondary .g-card__title {
		font-size: 1.125rem;
	}

	.g-apertura__side .g-card--secondary .g-card__meta span:not(:first-child),
	.g-listing__side .g-card--secondary .g-card__meta span:not(:first-child) {
		display: none;
	}
}

/* ==========================================================================
   Ronda 1 del director de arte
   ========================================================================== */

/* Logo oficial (sello) junto al wordmark */
.g-logo a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.g-logo__icon {
	display: block;
	width: 40px;
	height: 40px;
	flex: none;
	transition: transform 0.6s var(--g-ease-out);
}

.g-logo a:hover .g-logo__icon {
	transform: rotate(-8deg) scale(1.06);
}

@media (min-width: 600px) {
	.g-logo__icon {
		width: 50px;
		height: 50px;
	}
}

@media (min-width: 1024px) {
	.g-logo a {
		gap: 14px;
	}

	.g-logo__icon {
		width: clamp(68px, 5vw, 84px);
		height: clamp(68px, 5vw, 84px);
		margin-top: -4px;
	}
}

/* Carrito en la barra superior */
.g-topbar__cart {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.g-topbar__count {
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--g-orange);
	color: #1a1a1a;
	font-size: 11px;
	font-weight: 800;
}

/* Apertura con más impacto (portada de Marca, tipografía de Guardian) */
@media (min-width: 1024px) {
	.g-apertura .g-card--hero .g-card__title {
		font-size: clamp(3rem, 1rem + 3.4vw, 4.5rem);
		letter-spacing: -0.028em;
		line-height: 1;
	}

	.g-apertura .g-card--hero .g-card__body {
		position: relative;
		padding-top: 4px;
	}
}

.g-apertura .g-card--hero .g-card__media::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 96px;
	height: 6px;
	background: var(--g-sun);
}

/* Cabecera de sección: banda de color a sangre */
body[class*="g-section-"] .g-archead:not(.g-archead--banner) {
	background: color-mix(in srgb, var(--acc) 7%, var(--g-bg));
	box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--acc) 7%, var(--g-bg));
	clip-path: inset(0 -100vmax);
	padding-top: 20px;
	padding-bottom: 28px;
}

body[class*="g-section-"] .g-archead:not(.g-archead--banner)::after {
	left: -100vmax;
	right: -100vmax;
	height: 4px;
	background: var(--acc);
}

/* Relacionadas en móvil: filas con miniatura */
@container (max-width: 559px) {
	.g-related__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.g-related__grid .g-card--related {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 104px;
		gap: 14px;
		padding-block: 14px;
		border-top: 1px solid var(--g-rule);
	}

	.g-related__grid .g-card--related .g-card__media {
		order: 2;
		aspect-ratio: 1;
	}
}

/* Tienda (3 productos) en la columna lateral */
.g-shop__list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.g-shop__item a {
	display: grid;
	grid-template-columns: 1fr;
	gap: 6px;
}

.g-shop__item .g-img,
.g-shop__item img {
	grid-row: auto;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 2px;
	background: var(--g-surface);
	transition: transform 0.5s var(--g-ease-out);
}

.g-shop__item a:hover img {
	transform: translateY(-3px);
	box-shadow: var(--g-shadow);
}

.g-shop__name {
	font-size: 13px;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.g-shop__price {
	font-size: 13px;
	font-weight: 700;
	color: var(--g-ink);
}

/* Cabecera ilustrada de sección */
.g-secbanner {
	position: relative;
	padding-bottom: 8px;
}

.g-secbanner__media {
	height: clamp(210px, 36vw, 440px);
	overflow: hidden;
	background: var(--g-surface-2);
}

.g-secbanner__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
	animation: g-settle 1.6s var(--g-ease-out) both;
}

.g-secbanner__in {
	position: relative;
	margin-top: clamp(-130px, -9vw, -48px);
}

.g-archead--banner {
	width: fit-content;
	min-width: min(100%, 480px);
	max-width: 780px;
	padding: 20px 20px 22px;
	background: var(--g-bg);
	border-top: 6px solid var(--acc);
	box-shadow: 0 18px 40px -24px rgb(26 26 26 / 0.45);
	animation: g-rise 0.8s var(--g-ease-out) 0.1s both;
}

.g-archead--banner::after {
	display: none;
}

@media (min-width: 768px) {
	.g-archead--banner {
		padding: 26px 34px 28px;
	}
}

/* Tira ilustrada en los bloques de sección de portada */
.g-secblock__strip {
	display: block;
	height: clamp(84px, 11vw, 128px);
	overflow: hidden;
	border-radius: 2px 2px 0 0;
	background: var(--g-surface-2);
}

.g-secblock__strip img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
	transition: transform 1.2s var(--g-ease-out);
}

.g-secblock:hover .g-secblock__strip img {
	transform: scale(1.03);
}

.g-secblock__strip + .g-secblock__head {
	border-top-width: 5px;
}

/* «El mundo mejora» con su ilustración */
.g-better {
	overflow: hidden;
}

.g-better__art {
	position: relative;
	margin: -24px -22px 6px;
	aspect-ratio: 16 / 8;
	overflow: hidden;
}

.g-better__art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.g-better__art::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 45%, var(--g-inverse) 100%);
}

/* ==========================================================================
   Integración con GUAY Comunidad y GUAY Legal (sus formularios y enlaces con el look del diario)
   ========================================================================== */

/* Newsletter de GUAY Comunidad dentro del módulo del tema */
.g-newsletter.g-newsletter--plugin {
	display: block;
	padding: 0;
	background: none;
	border: 0;
}

.g-newsletter--plugin .guay-nl {
	display: grid;
	gap: 14px;
	padding: 22px;
	background: var(--g-surface);
	border: 1px solid var(--g-rule);
	border-top: 4px solid var(--g-sun);
	border-radius: 2px;
	color: var(--g-ink);
}

.g-newsletter--plugin .guay-nl__copy {
	display: grid;
	gap: 8px;
}

.g-newsletter--plugin .guay-nl__copy > * {
	margin: 0;
}

.g-newsletter--plugin .guay-nl__eyebrow {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--g-orange-ink);
}

.g-newsletter--plugin .guay-nl__title {
	font-family: var(--g-serif);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.012em;
}

.g-newsletter--plugin .guay-nl__text {
	font-size: 15px;
	line-height: 1.5;
	color: var(--g-ink-2);
}

.g-newsletter--plugin .guay-nl__field {
	display: grid;
	gap: 10px;
}

.g-newsletter--plugin .guay-nl__field input {
	border: 1.5px solid var(--g-rule-2) !important;
	border-radius: var(--g-radius);
	min-height: 46px;
}

.g-newsletter--plugin .guay-btn,
.g-contact-plugin .guay-btn {
	width: 100%;
	min-height: 46px;
	padding: 0 22px;
	border-radius: 999px;
	background: var(--g-orange);
	color: #1a1a1a;
	font-family: var(--g-sans);
	font-size: 15px;
	font-weight: 650;
}

.g-newsletter--plugin .guay-btn:hover {
	background: var(--g-sun);
}

.g-newsletter--plugin .guay-form__legal {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--g-ink-2);
}

.g-newsletter--plugin label,
.g-newsletter--plugin .guay-check {
	font-size: 13px;
	line-height: 1.45;
}

.g-newsletter--plugin a {
	text-decoration: underline;
}

@media (min-width: 600px) {
	.g-newsletter--wide.g-newsletter--plugin .guay-nl {
		padding: 32px 36px;
	}

	.g-newsletter--wide.g-newsletter--plugin .guay-nl__title {
		font-size: 2.1rem;
	}

	.g-newsletter--wide.g-newsletter--plugin .guay-nl__field {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.g-newsletter--wide.g-newsletter--plugin .guay-btn {
		width: auto;
	}
}

/* Enlaces legales de GUAY Legal en el pie */
.g-footer .guay-legal-links {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	text-align: left;
}

.g-footer .guay-legal-links ul {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
	justify-content: start;
}

.g-footer .guay-legal-links li {
	margin: 0;
	padding: 0;
}

.g-footer .guay-legal-links li::before,
.g-footer .guay-legal-links li::after {
	display: none;
}

.g-footer .guay-legal-links a,
.g-footer .guay-legal-links button {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--g-inverse-ink);
	font: inherit;
	font-size: 14.5px;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
}

.g-footer .guay-legal-links a:hover,
.g-footer .guay-legal-links button:hover {
	text-decoration: underline;
	text-decoration-color: var(--g-sun);
	text-underline-offset: 3px;
}

.g-footer .guay-legal-links .guay-legal-langswitch a {
	margin-top: 8px;
	padding: 0 12px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.25);
	font-size: 13px;
	font-weight: 650;
	color: var(--g-sun);
}

.g-footer .guay-legal-owner {
	display: none;
}

/* Vídeos de GUAY Comunidad dentro del módulo oscuro del tema */
.g-videos--plugin .guay-videos {
	margin: 0;
	padding: 0;
	background: none;
	color: inherit;
}

.g-videos--plugin .guay-videos__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.g-videos--plugin .guay-videos__title {
	position: relative;
	margin: 0;
	padding-bottom: 10px;
	font-family: var(--g-serif);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--g-inverse-ink);
}

.g-videos--plugin .guay-videos__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 36px;
	height: 4px;
	background: var(--g-sun);
}

.g-videos--plugin .guay-videos__more {
	font-size: 14px;
	font-weight: 600;
	color: var(--g-inverse-ink);
	text-decoration: none;
}

.g-videos--plugin .guay-videos__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-videos--plugin .guay-video__title {
	margin: 8px 0 2px;
	font-family: var(--g-serif);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--g-inverse-ink);
}

.g-videos--plugin .guay-video__date,
.g-videos--plugin .guay-videos__note {
	font-size: 12px;
	color: var(--g-inverse-ink-2);
}

@media (min-width: 768px) {
	.g-videos--plugin .guay-videos__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* 404 con ilustración */
.g-404__grid {
	display: grid;
	gap: 32px;
	align-items: center;
}

.g-404__art {
	margin: 0;
	overflow: hidden;
	border-radius: 2px;
	aspect-ratio: 4 / 3;
	box-shadow: 0 30px 60px -30px rgb(26 26 26 / 0.45);
	border-top: 6px solid var(--g-sun);
}

.g-404__art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 1024px) {
	.g-404__grid {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		gap: 56px;
	}
}

@media (max-width: 1023px) {
	.g-404__art {
		display: none;
	}
}

/* Marca «Elaborada con ayuda de IA» de GUAY Legal, integrada en la noticia */
.g-prose .guay-ia-badge {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin-top: 2em !important;
	padding: 12px 0 0;
	border: 0;
	border-top: 1px solid var(--g-rule);
	border-radius: 0;
	background: none;
	box-shadow: none;
	font-size: 13px;
	line-height: 1.4;
	color: var(--g-ink-2);
}

.g-prose .guay-ia-badge__tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--g-sun-tint);
	color: var(--g-ink);
	font-weight: 700;
}

.g-prose .guay-ia-badge a {
	font-weight: 600;
	color: var(--g-ink);
}
