/* GUAY Newsletter — formularios públicos (en línea, final de noticia, barra y ventana). */

.gnl,
.gnl-modal {
	--gnl-ink: var(--g-ink, #141414);
	--gnl-muted: var(--g-ink-2, #57534b);
	--gnl-card: var(--g-bg, #ffffff);
	--gnl-surface: var(--g-surface, #faf7f0);
	--gnl-tint: var(--g-sun-tint, #fff6d6);
	--gnl-rule: var(--g-rule, #e6e1d6);
	--gnl-sun: #ffd23f;
	--gnl-orange: #ff7a1a;
	--gnl-orange-ink: var(--g-orange-ink, #a64e10);
	--gnl-ok: var(--g-check, #1f9d55);
	--gnl-err: #d9302c;
	--gnl-serif: var(--g-serif, Newsreader, "Iowan Old Style", Georgia, serif);
	--gnl-sans: var(--g-sans, Inter, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
	--gnl-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--gnl-shadow: 0 1px 2px rgb(20 20 20 / 0.05), 0 24px 48px -24px rgb(20 20 20 / 0.35);
	font-family: var(--gnl-sans);
	color: var(--gnl-ink);
	box-sizing: border-box;
}

.gnl *,
.gnl *::before,
.gnl *::after {
	box-sizing: inherit;
}

.gnl.gnl p,
.gnl.gnl h2,
.gnl.gnl ol,
.gnl.gnl li,
.gnl.gnl form,
.gnl.gnl label,
.gnl.gnl details {
	margin: 0;
	padding: 0;
}

.gnl.gnl li::before,
.gnl.gnl li::marker {
	content: none;
}

.gnl.gnl .gnl__title {
	margin: 0;
	font-family: var(--gnl-serif);
	line-height: 1.05;
}

.gnl [hidden] {
	display: none !important;
}

.gnl__sr,
.gnl__hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---------- Tipografía ---------- */

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

.gnl__sun {
	position: relative;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--gnl-sun);
	box-shadow: 0 0 0 3px rgb(255 210 63 / 0.35);
	flex: none;
}

.gnl__title {
	font-family: var(--gnl-serif);
	font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--gnl-ink);
}

.gnl__text {
	font-size: 16px;
	line-height: 1.55;
	color: var(--gnl-muted);
}

.gnl__seven {
	display: flex;
	gap: 6px;
	padding: 0;
	list-style: none;
}

.gnl__seven li {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--gnl-card);
	box-shadow: inset 0 0 0 1.5px var(--gnl-ink);
	font: 800 13px/1 var(--gnl-serif);
	color: var(--gnl-ink);
	transition: transform 0.3s var(--gnl-ease);
}

.gnl__seven li:first-child {
	background: var(--gnl-ink);
	color: var(--gnl-sun);
}

.gnl:hover .gnl__seven li {
	transform: translateY(-2px);
}

.gnl:hover .gnl__seven li:nth-child(2) { transition-delay: 30ms; }
.gnl:hover .gnl__seven li:nth-child(3) { transition-delay: 60ms; }
.gnl:hover .gnl__seven li:nth-child(4) { transition-delay: 90ms; }
.gnl:hover .gnl__seven li:nth-child(5) { transition-delay: 120ms; }
.gnl:hover .gnl__seven li:nth-child(6) { transition-delay: 150ms; }
.gnl:hover .gnl__seven li:nth-child(7) { transition-delay: 180ms; }

/* ---------- Formulario ---------- */

.gnl__form {
	display: grid;
	gap: 12px;
}

.gnl__row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gnl__field {
	position: relative;
	flex: 1 1 220px;
	min-width: 0;
}

.gnl__at {
	position: absolute;
	top: 50%;
	left: 16px;
	width: 20px;
	height: 20px;
	transform: translateY(-50%);
	fill: none;
	stroke: var(--gnl-muted);
	stroke-width: 1.8;
	stroke-linejoin: round;
	pointer-events: none;
}

.gnl input[type="email"] {
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 12px 18px 12px 46px;
	border: 1.5px solid var(--gnl-rule);
	border-radius: 999px;
	background: var(--gnl-card);
	color: var(--gnl-ink);
	font: 500 16px/1.2 var(--gnl-sans);
	box-shadow: 0 1px 0 rgb(20 20 20 / 0.03);
	transition: border-color 0.2s, box-shadow 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.gnl input[type="email"]::placeholder {
	color: color-mix(in srgb, var(--gnl-muted) 70%, transparent);
}

.gnl input[type="email"]:hover {
	border-color: color-mix(in srgb, var(--gnl-ink) 35%, var(--gnl-rule));
}

.gnl input[type="email"]:focus {
	outline: none;
	border-color: var(--gnl-ink);
	box-shadow: 0 0 0 4px rgb(255 210 63 / 0.55);
}

.gnl__form.is-invalid-email input[type="email"] {
	border-color: var(--gnl-err);
	box-shadow: 0 0 0 4px rgb(217 48 44 / 0.15);
}

.gnl__btn {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--gnl-orange);
	color: #141414;
	font: 750 16px/1 var(--gnl-sans);
	letter-spacing: -0.01em;
	cursor: pointer;
	box-shadow: 0 10px 22px -12px rgb(255 122 26 / 0.9), inset 0 -2px 0 rgb(0 0 0 / 0.08);
	transition: transform 0.25s var(--gnl-ease), background-color 0.2s, box-shadow 0.25s;
}

.gnl__btn:hover {
	background: var(--gnl-sun);
	transform: translateY(-2px);
	box-shadow: 0 14px 26px -14px rgb(20 20 20 / 0.45);
}

.gnl__btn:active {
	transform: translateY(0) scale(0.98);
}

.gnl__btn:focus-visible,
.gnl__close:focus-visible,
.gnl__nothanks:focus-visible,
.gnl__open-popup:focus-visible {
	outline: 3px solid var(--gnl-ink);
	outline-offset: 3px;
}

.gnl__spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2.5px solid rgb(20 20 20 / 0.25);
	border-top-color: #141414;
	border-radius: 50%;
	animation: gnl-spin 0.7s linear infinite;
}

.gnl__form.is-loading .gnl__spinner {
	display: inline-block;
}

.gnl__form.is-loading .gnl__btn {
	pointer-events: none;
	opacity: 0.9;
}

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

/* Casilla */

.gnl__check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--gnl-muted);
	cursor: pointer;
}

.gnl__check input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.gnl__box {
	display: grid;
	flex: none;
	place-items: center;
	width: 22px;
	height: 22px;
	margin-top: -1px;
	border: 1.5px solid color-mix(in srgb, var(--gnl-ink) 45%, var(--gnl-rule));
	border-radius: 7px;
	background: var(--gnl-card);
	transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--gnl-ease);
}

.gnl__box svg {
	width: 14px;
	height: 14px;
	opacity: 0;
	fill: none;
	stroke: #141414;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 16;
	stroke-dashoffset: 16;
	transition: stroke-dashoffset 0.3s var(--gnl-ease);
}

.gnl__check input:checked + .gnl__box {
	border-color: var(--gnl-sun);
	background: var(--gnl-sun);
	transform: scale(1.06);
}

.gnl__check input:checked + .gnl__box svg {
	opacity: 1;
	stroke-dashoffset: 0;
}

.gnl__check input:focus-visible + .gnl__box {
	outline: 3px solid var(--gnl-ink);
	outline-offset: 2px;
}

.gnl__form.is-invalid-consent .gnl__box {
	border-color: var(--gnl-err);
	box-shadow: 0 0 0 4px rgb(217 48 44 / 0.15);
}

.gnl__check a,
.gnl__legal a {
	color: var(--gnl-ink);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.gnl__legal {
	margin: 8px 0 0;
	font-size: 10.5px;
	line-height: 1.45;
	text-align: justify;
	hyphens: auto;
	color: var(--gnl-muted);
}

/* Secciones */

.gnl__prefs summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 650;
	color: var(--gnl-ink);
	cursor: pointer;
	list-style: none;
}

.gnl__prefs summary::-webkit-details-marker {
	display: none;
}

.gnl__prefs summary::before {
	content: "+";
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--gnl-ink);
	color: var(--gnl-card);
	font-size: 14px;
	line-height: 1;
	transition: transform 0.3s var(--gnl-ease);
}

.gnl__prefs[open] summary::before {
	transform: rotate(45deg);
}

.gnl__prefs summary span {
	font-weight: 500;
	color: var(--gnl-muted);
}

.gnl__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.gnl__chip {
	position: relative;
	cursor: pointer;
}

.gnl__chip input {
	position: absolute;
	opacity: 0;
}

.gnl__chip span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 12px;
	border: 1.5px solid var(--gnl-rule);
	border-radius: 999px;
	background: var(--gnl-card);
	font-size: 13px;
	font-weight: 600;
	transition: all 0.2s var(--gnl-ease);
}

.gnl__chip span::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c);
}

.gnl__chip input:checked + span {
	border-color: var(--c);
	background: var(--c);
	color: #fff;
}

.gnl__chip input:checked + span::before {
	background: #fff;
}

.gnl__chip input:focus-visible + span {
	outline: 3px solid var(--gnl-sun);
	outline-offset: 2px;
}

.gnl__prefs-note {
	margin-top: 8px !important;
	font-size: 12px;
	color: var(--gnl-muted);
}

/* Mensajes */

.gnl__msg,
.gnl__notice {
	padding: 10px 14px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--gnl-err) 10%, var(--gnl-card));
	color: var(--gnl-ink);
	font-size: 14px;
	line-height: 1.45;
}

.gnl__notice.is-ok {
	background: color-mix(in srgb, var(--gnl-ok) 12%, var(--gnl-card));
}

.gnl__form.shake .gnl__row {
	animation: gnl-shake 0.42s var(--gnl-ease);
}

@keyframes gnl-shake {
	20% { transform: translateX(-6px); }
	40% { transform: translateX(6px); }
	60% { transform: translateX(-4px); }
	80% { transform: translateX(3px); }
}

/* Éxito */

.gnl__success {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px;
	border-radius: 18px;
	background: color-mix(in srgb, var(--gnl-ok) 11%, var(--gnl-card));
	animation: gnl-pop 0.6s var(--gnl-ease) both;
}

.gnl__success[hidden] {
	display: none;
}

.gnl__success:focus {
	outline: none;
}

.gnl__tick svg {
	width: 52px;
	height: 52px;
	flex: none;
}

.gnl__tick circle {
	fill: var(--gnl-ok);
	transform-origin: center;
	animation: gnl-scale 0.5s var(--gnl-ease) both;
}

.gnl__tick path {
	fill: none;
	stroke: #fff;
	stroke-width: 4.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 40;
	stroke-dashoffset: 40;
	animation: gnl-draw 0.45s 0.3s var(--gnl-ease) forwards;
}

.gnl__success-title {
	font-family: var(--gnl-serif);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.15;
}

.gnl__success-text {
	margin-top: 4px !important;
	font-size: 14px;
	line-height: 1.5;
	color: var(--gnl-muted);
}

@keyframes gnl-pop {
	from { opacity: 0; transform: translateY(10px) scale(0.97); }
	to { opacity: 1; transform: none; }
}

@keyframes gnl-scale {
	from { transform: scale(0); }
	70% { transform: scale(1.12); }
	to { transform: scale(1); }
}

@keyframes gnl-draw {
	to { stroke-dashoffset: 0; }
}

.gnl__burst {
	position: absolute;
	pointer-events: none;
	inset: 0;
	overflow: visible;
}

.gnl__burst i {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	animation: gnl-burst 0.9s var(--gnl-ease) forwards;
}

@keyframes gnl-burst {
	from { transform: translate(-50%, -50%) scale(1); opacity: 1; }
	to { transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(0.6); opacity: 0; }
}

/* ---------- Variante en línea (tarjeta) ---------- */

.gnl--inline {
	position: relative;
	display: grid;
	gap: 22px;
	container-type: inline-size;
	margin: 0 0 1.5em;
	padding: clamp(22px, 4vw, 36px);
	border: 1px solid color-mix(in srgb, var(--gnl-sun) 55%, var(--gnl-rule));
	border-radius: 22px;
	background:
		radial-gradient(600px 240px at 100% 0%, rgb(255 210 63 / 0.45), transparent 60%),
		radial-gradient(400px 200px at 0% 100%, rgb(255 122 26 / 0.12), transparent 60%),
		var(--gnl-tint);
	overflow: hidden;
}

.gnl--inline .gnl__copy {
	display: grid;
	gap: 12px;
	align-content: start;
}

.gnl--inline .gnl__body {
	position: relative;
	align-self: center;
}

@container (min-width: 640px) {
	.gnl--inline {
		grid-template-columns: 1fr 1.1fr;
		gap: 36px;
	}
}

.gnl--dark {
	--gnl-ink: #f5f2ea;
	--gnl-muted: #bdb7aa;
	--gnl-card: #1f1e1a;
	--gnl-rule: #3a3731;
	--gnl-orange-ink: #ffb066;
	border-color: #2b2924;
	background:
		radial-gradient(600px 240px at 100% 0%, rgb(255 210 63 / 0.18), transparent 60%),
		#141414;
}

.gnl--dark .gnl__seven li {
	background: transparent;
	box-shadow: inset 0 0 0 1.5px #f5f2ea;
}

.gnl--dark .gnl__seven li:first-child {
	background: var(--gnl-sun);
	color: #141414;
}

.gnl--minimal {
	padding: 0;
	border: 0;
	background: none;
}

/* Dentro del bloque del tema (g-newsletter--plugin): la caja la pone este plugin. */

.g-newsletter.g-newsletter--plugin {
	display: block;
	padding: 0;
	border: 0;
	background: none;
}

.g-newsletter--plugin > .gnl--inline {
	margin: 0;
}

.g-newsletter--aside.g-newsletter--plugin .gnl__btn {
	width: 100%;
}

.g-newsletter--aside.g-newsletter--plugin .gnl__seven li {
	width: 24px;
	height: 24px;
	font-size: 12px;
}

/* ---------- Final de noticia ---------- */

.gnl--after {
	position: relative;
	display: grid;
	gap: 18px;
	margin: 2.5em 0 1em;
	padding: 24px;
	border-radius: 20px;
	background: var(--gnl-surface);
	box-shadow: inset 0 0 0 1px var(--gnl-rule);
	overflow: hidden;
}

.gnl--after::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 5px;
	background: linear-gradient(90deg, var(--gnl-sun), var(--gnl-orange));
}

.gnl--after .gnl__copy {
	display: flex;
	gap: 16px;
	align-items: center;
}

.gnl--after .gnl__logo {
	flex: none;
	width: 56px;
	height: 56px;
	margin: 0;
	border-radius: 50%;
	box-shadow: 0 8px 18px -10px rgb(255 122 26 / 0.8);
}

.gnl--after .gnl__title {
	font-size: clamp(1.25rem, 1rem + 0.8vw, 1.5rem);
}

.gnl--after .gnl__text {
	margin-top: 4px;
	font-size: 15px;
}

/* ---------- Barra inferior ---------- */

.gnl--bar {
	position: fixed;
	z-index: 99990;
	left: 50%;
	bottom: calc(var(--g-bottom-h, 0px) + 14px);
	width: min(980px, calc(100% - 24px));
	--gnl-ink: #f5f2ea;
	--gnl-muted: #c9c3b6;
	--gnl-card: #26241f;
	--gnl-rule: #3d3a33;
	color: #f5f2ea;
	transform: translate(-50%, 0);
	animation: gnl-bar-in 0.6s var(--gnl-ease) both;
}

.gnl--bar[hidden] {
	display: none;
}

.gnl--bar.is-leaving {
	animation: gnl-bar-out 0.35s ease-in forwards;
}

@keyframes gnl-bar-in {
	from { opacity: 0; transform: translate(-50%, 130%); }
	to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes gnl-bar-out {
	to { opacity: 0; transform: translate(-50%, 130%); }
}

.gnl__bar-in {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 14px 12px 14px;
	border-radius: 20px;
	background: #141414;
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 24px 50px -18px rgb(0 0 0 / 0.6);
}

.gnl--bar .gnl__logo {
	flex: none;
	width: 40px;
	height: 40px;
	margin: 0;
}

.gnl__bar-text {
	flex: 1 1 200px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #f5f2ea;
}

.gnl--bar .gnl__body {
	flex: 1 1 420px;
}

.gnl--bar .gnl__form {
	gap: 6px;
}

.gnl--bar .gnl__row {
	flex-wrap: nowrap;
}

.gnl--bar input[type="email"] {
	min-height: 44px;
	padding-left: 42px;
	border-color: #3d3a33;
	background: #26241f;
	font-size: 15px;
}

.gnl--bar .gnl__at {
	left: 14px;
	stroke: #c9c3b6;
}

.gnl--bar .gnl__btn {
	min-height: 44px;
	padding: 0 20px;
	font-size: 15px;
}

.gnl--bar .gnl__check {
	font-size: 12px;
	color: #c9c3b6;
}

.gnl--bar .gnl__check a {
	color: #f5f2ea;
}

.gnl--bar .gnl__box {
	width: 18px;
	height: 18px;
	border-radius: 6px;
	background: transparent;
	border-color: #6d685e;
}

.gnl--bar .gnl__success {
	padding: 8px 12px;
	background: rgb(31 157 85 / 0.2);
}

.gnl--bar .gnl__tick svg {
	width: 36px;
	height: 36px;
}

.gnl--bar .gnl__success-title {
	font-size: 17px;
}

.gnl--bar .gnl__success-text {
	font-size: 13px;
	color: #c9c3b6;
}

.gnl--bar .gnl__msg {
	padding: 6px 10px;
	font-size: 13px;
	background: rgb(217 48 44 / 0.25);
	color: #fff;
}

.gnl__open-popup {
	display: none;
	flex: none;
	min-height: 42px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--gnl-orange);
	color: #141414;
	font: 750 15px/1 var(--gnl-sans);
	cursor: pointer;
}

.gnl__close {
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.08);
	color: inherit;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.25s var(--gnl-ease);
}

.gnl__close:hover {
	background: rgb(255 255 255 / 0.16);
	transform: rotate(90deg);
}

.gnl__close svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
}

@media (max-width: 760px) {
	.gnl--bar .gnl__body {
		display: none;
	}

	.gnl__open-popup {
		display: inline-flex;
		align-items: center;
	}

	.gnl__bar-text {
		font-size: 14px;
	}
}

/* ---------- Ventana emergente ---------- */

.gnl-modal {
	position: fixed;
	z-index: 99999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 20px;
}

.gnl-modal[hidden] {
	display: none;
}

.gnl-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(20 20 20 / 0.55);
	-webkit-backdrop-filter: blur(6px) saturate(1.1);
	backdrop-filter: blur(6px) saturate(1.1);
	animation: gnl-fade 0.35s ease both;
}

.gnl-modal.is-leaving .gnl-modal__backdrop {
	animation: gnl-fade-out 0.3s ease forwards;
}

.gnl-modal.is-leaving .gnl--popup {
	animation: gnl-modal-out 0.3s ease-in forwards;
}

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

@keyframes gnl-fade-out {
	to { opacity: 0; }
}

.gnl--popup {
	position: relative;
	width: min(480px, 100%);
	max-height: calc(100vh - 40px);
	overflow: auto;
	border-radius: 26px;
	background: var(--gnl-card);
	box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.55);
	animation: gnl-modal-in 0.55s var(--gnl-ease) both;
	overscroll-behavior: contain;
}

.gnl--popup:focus {
	outline: none;
}

@keyframes gnl-modal-in {
	from { opacity: 0; transform: translateY(24px) scale(0.94); }
	to { opacity: 1; transform: none; }
}

@keyframes gnl-modal-out {
	to { opacity: 0; transform: translateY(16px) scale(0.97); }
}

.gnl__hero {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 14px;
	padding: 30px 24px 22px;
	background: var(--gnl-sun);
	overflow: hidden;
}

.gnl__rays {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 700px;
	height: 700px;
	margin: -350px 0 0 -350px;
	background: repeating-conic-gradient(from 0deg, rgb(255 255 255 / 0.28) 0deg 7deg, transparent 7deg 18deg);
	-webkit-mask: radial-gradient(circle, #000 12%, transparent 62%);
	mask: radial-gradient(circle, #000 12%, transparent 62%);
	animation: gnl-rays 40s linear infinite;
}

@keyframes gnl-rays {
	to { transform: rotate(360deg); }
}

.gnl__hero img {
	position: relative;
	width: 96px;
	height: 96px;
	margin: 0;
	filter: drop-shadow(0 12px 18px rgb(166 78 16 / 0.35));
	animation: gnl-bob 3.2s ease-in-out infinite;
}

@keyframes gnl-bob {
	50% { transform: translateY(-5px) rotate(-3deg); }
}

.gnl__hero .gnl__seven {
	position: relative;
}

.gnl__hero .gnl__seven li {
	background: #fff;
	box-shadow: none;
	color: #141414;
}

.gnl__hero .gnl__seven li:first-child {
	background: #141414;
	color: var(--gnl-sun);
}

.gnl__pad {
	display: grid;
	gap: 12px;
	padding: 24px 28px 22px;
}

.gnl--popup .gnl__title {
	font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2rem);
}

.gnl--popup .gnl__row,
.g-newsletter--aside.g-newsletter--plugin .gnl__row {
	display: contents;
}

.gnl--popup .gnl__field,
.g-newsletter--aside.g-newsletter--plugin .gnl__field {
	flex: none;
	order: 1;
}

.gnl--popup .gnl__check,
.g-newsletter--aside.g-newsletter--plugin .gnl__check {
	order: 2;
}

.gnl--popup .gnl__prefs,
.g-newsletter--aside.g-newsletter--plugin .gnl__prefs {
	order: 3;
}

.gnl--popup .gnl__btn,
.g-newsletter--aside.g-newsletter--plugin .gnl__btn {
	order: 4;
}

.gnl--popup .gnl__legal,
.gnl--popup .gnl__msg,
.g-newsletter--aside.g-newsletter--plugin .gnl__legal,
.g-newsletter--aside.g-newsletter--plugin .gnl__msg {
	order: 5;
}

.gnl--popup .gnl__btn {
	width: 100%;
}

.gnl--popup .gnl__close {
	position: absolute;
	z-index: 2;
	top: 14px;
	right: 14px;
	background: rgb(255 255 255 / 0.7);
	color: #141414;
}

.gnl--popup .gnl__close:hover {
	background: #fff;
}

.gnl__nothanks {
	justify-self: center;
	padding: 6px 10px;
	border: 0;
	background: none;
	color: var(--gnl-muted);
	font: 600 14px/1 var(--gnl-sans);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.gnl__nothanks:hover {
	color: var(--gnl-ink);
}

@media (max-width: 560px) {
	.gnl-modal {
		align-items: end;
		padding: 0;
	}

	.gnl--popup {
		width: 100%;
		border-radius: 26px 26px 0 0;
		max-height: 92vh;
		animation-name: gnl-sheet-in;
	}

	.gnl-modal.is-leaving .gnl--popup {
		animation-name: gnl-sheet-out;
	}

	.gnl__hero {
		padding: 24px 20px 18px;
	}

	.gnl__hero img {
		width: 76px;
		height: 76px;
	}

	.gnl__pad {
		padding: 20px 20px calc(18px + env(safe-area-inset-bottom));
	}
}

@keyframes gnl-sheet-in {
	from { transform: translateY(100%); }
	to { transform: none; }
}

@keyframes gnl-sheet-out {
	to { transform: translateY(100%); }
}

body.gnl-lock {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.gnl *,
	.gnl-modal *,
	.gnl--bar,
	.gnl--popup {
		animation: none !important;
		transition: none !important;
	}

	.gnl__tick path,
	.gnl__check input:checked + .gnl__box svg {
		stroke-dashoffset: 0 !important;
	}
}
