/**
 * Single post template, Glitch variant (0.17.0). Loaded only on posts of the Glitch category.
 *
 * Glitch sub-line of La órbita (values copied from AXIS `glitchLine`; the runtime has no build):
 *   ground #001a33 · green #6ec207, only on dark · navy ink on paper #022a4e · lines on dark #1d3a57 ·
 *   text on dark #e6edf3 / #9fb3c8 · soft on paper #51607a
 *   condensed Bricolage 800 at width 78 for what lands · bytes as texture · the apple is its sphere, once per screen.
 * No orbit in Glitch: the reading bar counts the parts of the rundown with segments.
 */

body.eo-single--glitch {
	--eos-ink: #022a4e;
	--eos-soft: #51607a;
	--eos-softd: #9fb3c8;
	--eos-acc: #022a4e; /* on paper Glitch has no accent colour: navy does the work */
	--eos-accd: #6ec207;
	--eos-g-line: #1d3a57;
}

.eos-g-cond {
	font-family: "Bricolage Grotesque", system-ui, sans-serif;
	font-stretch: 78%;
	font-variation-settings: "wdth" 78;
	font-weight: 800;
	letter-spacing: 0.01em;
}

/* ─────────────────────────── Hero ─────────────────────────── */

.eos-hero--glitch {
	background: #001a33;
}

.eos-g-field {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	grid-template-columns: repeat( 30, 18px );
	gap: 4px;
}

.eos-g-field i {
	display: block;
	width: 18px;
	height: 18px;
	background: #6ec207;
	opacity: 0;
}

.eos-g-veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient( 90deg, #001a33 38%, rgba( 0, 26, 51, 0 ) 78% ),
		linear-gradient( 0deg, #001a33 0%, rgba( 0, 26, 51, 0 ) 30% );
}

.eos-hero--glitch .eos-hero__in {
	display: block;
	padding: 148px 0 72px;
}

.eos-g-mast {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.eos .eos-g-logo {
	display: block;
	line-height: 0;
}

.eos .eos-g-logo img {
	display: block;
	width: 208px;
	height: auto;
}

.eos-g-mast__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}

.eos-g-mast__label {
	color: #e6edf3;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.eos-g-mast__word {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #6ec207;
	font-size: 44px;
	line-height: 0.9;
}

.eos-g-mast__edition {
	color: #ffffff;
	font-family: "Bricolage Grotesque", system-ui, sans-serif;
	font-size: 0.6em;
	font-weight: 300;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.eos-g-trail {
	display: grid;
	grid-template-columns: repeat( 9, 7px );
	gap: 3px;
}

.eos-g-trail i {
	display: block;
	width: 7px;
	height: 7px;
	background: #6ec207;
}

.eos-hero--glitch .eos-hero__text {
	max-width: 760px;
	padding-top: 64px;
}

.eos .eos-hero--glitch .eos-h1 {
	font-size: clamp( 34px, 4.2vw, 58px ) !important;
	font-variation-settings: "opsz" 68;
	font-weight: 300 !important;
	line-height: 1.02 !important;
	letter-spacing: -0.01em !important;
	text-wrap: balance;
}

.eos-g-punch {
	display: block;
	margin-top: 6px;
	font-size: 1.3em;
	font-weight: 800;
	line-height: 0.96;
	letter-spacing: 0.01em;
}

.eos .eos-g-apple {
	display: inline-block;
	width: auto;
	height: 0.72em;
	margin-left: 0.08em;
	vertical-align: -0.04em;
}

.eos-hero--glitch .eos-dek {
	max-width: 620px;
	color: #e6edf3;
}

.eos-hero--glitch .eos-hero__rule {
	background: #1d3a57;
}

.eos-hero--glitch .eos-who__role,
.eos-hero--glitch .eos-facts {
	color: #9fb3c8;
}

/* ─────────────────────────── Reading bar: the rundown, with segments ─────────────────────────── */

/* The bar is the glass pill of the template; Glitch only swaps the orbit for segments and the glow for its green. */
body.eo-single--glitch .eos-bar {
	color: #ffffff;
}

.eos .eos-bar__glitch {
	flex: none;
	display: block;
	width: 76px;
	height: auto;
}

.eos-segs {
	flex: none;
	display: flex;
	gap: 5px;
}

.eos-seg {
	display: block;
	width: 28px;
	height: 6px;
	border-radius: 2px;
	background: #1d3a57;
	transition: background-color var( --eos-quick );
}

.eos-seg.is-read {
	background: #9fb3c8;
}

.eos-seg.is-current {
	background: #6ec207;
}

.eos-segs--large {
	flex-wrap: wrap;
	max-width: 132px;
}

.eos-dock .eos-segs--small .eos-seg {
	width: 10px;
}

/* 0.24.2: en la barra de escritorio (cápsula de 760 px) las rayitas se encogen
   cuando la escaleta tiene muchas partes; el texto conserva su ancho y nunca se
   parte por letra (Glitch #18, 10 partes, dejaba 18 px al texto). */
.eos-bar .eos-segs--small {
	flex: 0 1 auto;
	min-width: 0;
}

.eos-bar .eos-segs--small .eos-seg {
	flex: 0 1 auto;
	min-width: 6px;
}

body.eo-single--glitch .eos-bar__text {
	flex: 1 1 180px;
	min-width: 180px;
}

body.eo-single--glitch .eos-bar__meta {
	white-space: nowrap;
}

body.eo-single--glitch .eos-bar__meta {
	color: #9fb3c8;
}

body.eo-single--glitch .eos-bar__title {
	color: #ffffff;
}

body.eo-single--glitch .eos .eos-bar__nav {
	color: #ffffff;
}

body.eo-single--glitch .eos .eos-bar__nav:hover {
	background: rgba( 255, 255, 255, 0.1 );
}

body.eo-single--glitch .eos .eos-bar__index {
	border-color: #ffffff;
	background: #ffffff;
	color: #001a33;
}



body.eo-single--glitch .eos-ch__num {
	font-stretch: 78%;
	font-variation-settings: "wdth" 78;
	font-weight: 800;
}

body.eo-single--glitch .eos .eos-bar a:focus-visible,
body.eo-single--glitch .eos .eos-bar button:focus-visible {
	outline-color: #ffffff;
}

/* Rail: navy marks, no accent dot colour on paper. */
body.eo-single--glitch .eos-rail__tick {
	background: #022a4e;
}

body.eo-single--glitch .eos-rail__dot {
	border-radius: 1px;
	background: #022a4e;
}

/* ─────────────────────────── Body ─────────────────────────── */

body.eo-single--glitch .eos .eos-kicker {
	color: #51607a;
}

.eos-kicker__num {
	color: #022a4e;
	font-family: "Bricolage Grotesque", system-ui, sans-serif;
	font-size: 22px;
	font-stretch: 78%;
	font-variation-settings: "wdth" 78;
	font-weight: 800;
	letter-spacing: 0.01em;
	vertical-align: -0.08em;
}

body.eo-single--glitch .eos .eos-body h2 {
	font-variation-settings: "opsz" 68, "wdth" 96;
	font-size: clamp( 30px, 3.6vw, 44px ) !important;
	line-height: 1.04 !important;
	letter-spacing: -0.02em !important;
}

/* On paper Glitch has no accent colour: its links are navy, bold, with a soft underline that firms up on hover. */
body.eo-single--glitch .eos .eos-body p a,
body.eo-single--glitch .eos .eos-body li a {
	color: #022a4e !important;
	font-weight: 700;
	text-decoration: underline !important;
	text-decoration-color: rgba( 2, 42, 78, 0.28 ) !important;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 4px;
}

/* The rundown in the flow: the same panel, with condensed navy numbers. */
body.eo-single--glitch .eos-index__num {
	color: #022a4e;
	font-stretch: 78%;
	font-variation-settings: "wdth" 78;
	font-weight: 800;
	letter-spacing: 0.01em;
}

/* ─────────────────────────── Close: other editions ─────────────────────────── */

.eos-g-eds {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 16px;
	margin: -56px 0 0;
	padding-bottom: 88px;
}

.eos .eos-g-ed {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 44px;
	padding: 28px 32px;
	border-radius: 20px;
	background: #001a33;
	color: #ffffff;
	text-decoration: none;
}

.eos-g-ed--next {
	flex-direction: row-reverse;
	text-align: right;
}

.eos-g-ed:only-child {
	grid-column: 1 / -1;
}

.eos-g-ed__mark {
	flex: none;
	color: #6ec207;
	font-size: 44px;
	line-height: 0.9;
}

.eos-g-ed__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.eos-g-ed__label {
	color: #9fb3c8;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eos-g-ed__title {
	font-family: "Bricolage Grotesque", system-ui, sans-serif;
	font-size: 20px;
	font-weight: 620;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.eos .eos-g-ed:focus-visible {
	outline: 2px solid #022a4e;
	outline-offset: 3px;
}

/* ─────────────────────────── Phones ─────────────────────────── */

@media ( max-width: 980px ) {
	.eos-g-field {
		display: none;
	}
}

@media ( max-width: 781px ) {
	.eos-hero--glitch .eos-hero__in {
		padding: 108px 0 40px;
	}

	.eos .eos-g-logo img {
		width: 132px;
	}

	.eos-g-mast__label {
		font-size: 10px;
		letter-spacing: 0.2em;
	}

	.eos-g-mast__word {
		font-size: 30px;
	}

	.eos-g-trail {
		grid-template-columns: repeat( 9, 5px );
		gap: 2px;
	}

	.eos-g-trail i {
		width: 5px;
		height: 5px;
	}

	.eos-hero--glitch .eos-hero__text {
		padding-top: 40px;
	}

	.eos .eos-hero--glitch .eos-h1 {
		font-size: 32px !important;
	}

	.eos-g-punch {
		font-size: 1.25em;
	}

	body.eo-single--glitch .eos .eos-body h2 {
		font-size: 30px !important;
	}

	.eos-g-eds {
		grid-template-columns: minmax( 0, 1fr );
		margin-top: -88px;
		padding-bottom: 120px;
	}

	.eos .eos-g-ed {
		gap: 18px;
		padding: 22px 24px;
	}

	.eos-g-ed--next {
		flex-direction: row;
		text-align: left;
	}

	.eos-g-ed__mark {
		font-size: 34px;
	}
}
