/**
 * Special Module — ARC-parity stylesheet (issue #732).
 *
 * The "special module" embeds are raw ARC/Fusion HTML that inherited the old
 * site's GLOBAL compiled CSS. WordPress ships none of it, so this file re-supplies
 * the small set of ARC-native theme classes those embeds reference but do not
 * self-style (custom forms, footer, subscription blocks, layout helpers, …).
 *
 * PORTED VERBATIM — this is vendored legacy CSS, intentionally NOT tokenised
 * (issue #732, Amish Q5): the raw pixel/rem/hex values are load-bearing for
 * fidelity, so mapping them to theme.json tokens would change the pixels. ARC
 * CSS custom properties (var(--…)) were resolved to their concrete values (the
 * ARC :root does not exist in WordPress). Because it is a verbatim reproduction,
 * this file is excluded from stylelint (see .stylelintrc.json) — running --fix on
 * it would rewrite `0rem`→`0`, `-0.85rem`→`-.85rem`, etc. and break the port.
 *
 * SCOPING & CASCADE — every selector is wrapped as
 *   `.wp-block-ee-special-module :where(<arc-selector>)`
 * so it (a) can only match inside a Special Module block (no theme bleed — Q3),
 * and (b) holds 0-1-0 specificity via :where(), exactly like ARC's own global
 * `.<Class>` rules. Combined with enqueuing this sheet in the document <head>
 * (see index.php maybe_enqueue_arc_styles()), an embed that additionally styles
 * one of these classes with its own inline <style> — which renders later, in the
 * body — keeps its own styling (equal specificity, later wins), while embeds that
 * only reference the class inherit the ported rule. That mirrors ARC 1:1.
 *
 * SOURCES —
 *   Footer / Block / Campaigns-Title : old-ref-code (ee-components _footer.scss /
 *     _block.scss; pagebuilder campaigns/css/style.css).
 *   everything else                  : live production ARC bundle
 *     https://www.elespectador.com/pf/dist/css/el-espectador.css?d=1198
 *
 * Not covered (no authoritative CSS exists in live production, 3 Wayback bundles,
 * or the ARC source — retired before any reachable snapshot): the CustomForm
 * module (CustomForm, CustomForm-List, CustomForm-TyC, CustomForm-Description,
 * container-terms, send-form), Campaigns-Title_premium, PrintSubs-Message,
 * FormBookCard, PDFList-ImageFrame, SP-doubts-mailLink, legalterms,
 * video-responsive. Tracked in issue #732 for the ARC CSS export.
 */

/* ==========================================================================
   Base rules (mobile-first)
   ========================================================================== */

/* --- Footer (old-ref: ee-components _footer.scss `.Footer`) --- */
.wp-block-ee-special-module :where(.Footer) {
	font-family: lft-etica, sans-serif;
	color: #141414;
}

/* --- Block (old-ref: ee-components _block.scss `.Block`) --- */
.wp-block-ee-special-module :where(.Block) {
	margin-top: 0;
	margin-bottom: 1.5rem;
}

/* --- Campaigns-Title (old-ref: pagebuilder campaigns/css/style.css) --- */
.wp-block-ee-special-module :where(.Campaigns-Title) {
	text-align: center;
	margin-bottom: 50px;
	font-size: 20px;
	margin-top: 0;
}

/* --- Custom form (live ARC) --- */
.wp-block-ee-special-module :where(.Form-Header, .Form-Section) {
	font-family: lft-etica, sans-serif;
	display: flex;
	flex-direction: column;
	gap: .25rem;
	margin-bottom: 1.5rem;
	width: 100%;
}

.wp-block-ee-special-module :where(.Form-Header) {
	max-width: 20.5rem;
	margin: 0 auto 24px;
}

.wp-block-ee-special-module :where(.Form-PrincipalTitle, .Form-SectionTitle) {
	font-size: 1rem;
	line-height: 1.1875rem;
	font-weight: 600;
	color: #000;
}

.wp-block-ee-special-module :where(.Form-SectionTitle) {
	font-size: .875rem;
	line-height: 1.0625rem;
}

.wp-block-ee-special-module :where(.Form-Description, .Form-SectionDescription) {
	font-size: .875rem;
	line-height: 1.0625rem;
	color: #707070;
}

/* --- TC (live ARC) --- */
.wp-block-ee-special-module :where(.TC) {
	font-family: abril-titling, serif;
	margin-top: 14px;
	color: #141414;
}

.wp-block-ee-special-module :where(.TC a) {
	color: #141414;
}

.wp-block-ee-special-module :where(.TC span) {
	font-weight: 600;
	font-size: 23px;
	line-height: 27px;
}

.wp-block-ee-special-module :where(.TC div > *) {
	font-weight: 400;
	font-size: 24px;
	line-height: 34px;
}

.wp-block-ee-special-module :where(.TC h2) {
	font-size: 24px;
	line-height: 34px;
	font-weight: 600;
}

/* --- SP-doubts (live ARC) --- */
.wp-block-ee-special-module :where(.SP-doubts) {
	border-top: .25px solid #dadada;
	border-bottom: .25px solid #dadada;
	padding-top: 1rem;
	text-align: center;
}

.wp-block-ee-special-module :where(.SP-doubts img) {
	width: 54%;
	height: auto;
	max-height: 8.125rem;
	object-fit: contain;
}

.wp-block-ee-special-module :where(.SP-doubts-imageContainer) {
	display: block;
}

.wp-block-ee-special-module :where(.SP-doubts-questionsLink) {
	color: #e00000;
}

.wp-block-ee-special-module :where(.SP-doubts-text) {
	font-family: lft-etica, sans-serif;
	color: #141414;
	font-size: 1.25rem;
	line-height: 1.5rem;
	font-weight: 300;
	margin-bottom: 2rem;
}

.wp-block-ee-special-module :where(.SP-doubts-text b, .SP-doubts-text a) {
	font-weight: 600;
}

/* --- SP-otherPaymentsMessage (live ARC) --- */
.wp-block-ee-special-module :where(.SP-otherPaymentsMessage) {
	font-family: abril-titling, serif;
	justify-content: center;
	color: #141414;
	text-align: center;
	width: 100%;
	padding-top: 2.5rem;
	font-weight: 600;
	line-height: 2.1875rem;
}

.wp-block-ee-special-module :where(.SP-otherPaymentsMessage-text-section) {
	font-size: 1.875rem;
	padding: 0 1.5rem;
}

.wp-block-ee-special-module :where(.SP-otherPaymentsMessage-link-card) {
	color: #e00000;
}

/* --- BlockContainer (live ARC; page-context ancestor variants omitted) --- */
.wp-block-ee-special-module :where(.BlockContainer) {
	margin: 0 1rem 2rem;
	max-width: 68.5rem;
}

.wp-block-ee-special-module :where(.BlockContainer a) {
	text-decoration: none;
}

.wp-block-ee-special-module :where(.BlockContainer a h2:active) {
	text-decoration: none;
	color: #707070;
}

.wp-block-ee-special-module :where(.BlockContainer a h2:active:before) {
	border-color: #b90000;
}

.wp-block-ee-special-module :where(.BlockContainer .Tags) {
	margin-top: 1.25rem;
}

/* --- ForYouLayout (live ARC) --- */
.wp-block-ee-special-module :where(.ForYouLayout-SectionText) {
	font-size: 1.25rem;
	text-align: left;
	margin-top: 0rem;
	margin-bottom: 2.5rem;
	line-height: 1.5rem;
	font-weight: 300;
	font-family: lft-etica, sans-serif;
}

.wp-block-ee-special-module :where(.ForYouLayout-SectionText span) {
	font-size: 1.125rem;
	display: block;
	text-align: left;
	margin-top: .875rem;
	margin-bottom: 0rem;
	line-height: 1.1875rem;
	font-weight: 600;
	font-style: italic;
	color: #e00000;
	font-family: lft-etica-condensed, sans-serif;
}

.wp-block-ee-special-module :where(.ForYouLayout-SectionText .double-arrow-cicon) {
	display: inline-block;
	vertical-align: middle;
	width: 1.1rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 0 24 24' width='24px' fill='%23ea0a0a'%3E%3Cpath d='M24 24H0V0h24v24z' fill='none' opacity='.87'/%3E%3Cpath d='M7.38 21.01c.49.49 1.28.49 1.77 0l8.31-8.31c.39-.39.39-1.02 0-1.41L9.15 2.98c-.49-.49-1.28-.49-1.77 0s-.49 1.28 0 1.77L14.62 12l-7.25 7.25c-.48.48-.48 1.28.01 1.76z'/%3E%3C/svg%3E");
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	margin-right: 0rem;
	height: 1rem;
}

.wp-block-ee-special-module :where(.ForYouLayout-SectionText .double-arrow-cicon:last-of-type) {
	margin-left: -0.85rem;
}

.wp-block-ee-special-module :where(.ForYouLayout-SectionTextContainer) {
	font-family: lft-etica, sans-serif;
	font-size: 18px;
	line-height: 20px;
	padding: 0 16px 24px;
}

.wp-block-ee-special-module :where(.ForYouLayout-SectionText_secondFont) {
	width: 100%;
	font-family: abril-titling, serif;
	font-weight: 400;
	text-align: center;
	margin: 0 auto;
	margin-bottom: 32px;
}

.wp-block-ee-special-module :where(.ForYouLayout-Title) {
	font-size: 1.4375rem;
	text-align: left;
	margin-top: 0rem;
	margin-bottom: 1rem;
	margin-left: 1rem;
	line-height: 1.7rem;
	font-weight: 600;
}

.wp-block-ee-special-module :where(.ForYouLayout-Title_center) {
	text-align: center;
}

.wp-block-ee-special-module :where(.ForYouLayout-Title_saved) {
	font-family: lft-etica, sans-serif;
	font-size: 36px;
	margin-top: 32px;
	line-height: 42px;
	margin-bottom: 8px;
}

.wp-block-ee-special-module :where(.ForYouLayout-Title_secondary) {
	font-weight: bold;
	font-size: 34px;
}

/* Newsletter Footer Styles */
.wp-block-ee-special-module :where(.Footer_subscription .Footer-Terms a) {
	color: #434343;
	text-decoration: none;
}

.wp-block-ee-special-module :where(.Footer_subscription .Footer-Terms a:hover) {
	text-decoration: underline;
}

/* Special Module Styles */
.wp-block-ee-special-module a {
	color: inherit;
	text-decoration: none;
}

.wp-block-ee-special-module a:hover {
	text-decoration: underline;
}

.wp-block-ee-special-module .u-repeater h3,
.wp-block-ee-special-module .u-repeater h5 {
	font-size: inherit;
	font-weight: inherit;
	margin-block-end: 0;
	margin-block-start: 0;
	display: inherit;
}

/* ==========================================================================
   @media (min-width: 425px)
   ========================================================================== */
@media (min-width: 425px) {

	.wp-block-ee-special-module :where(.TC) {
		margin-top: 32px;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-SectionText) {
		padding-right: 1rem;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-SectionText span) {
		margin-top: 1.0625rem;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-SectionText) {
		padding-right: 0;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-Title) {
		line-height: 2.625rem;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-SectionTextContainer) {
		font-size: 18px;
		line-height: 22px;
	}

	.wp-block-ee-special-module :where(.SP-doubts-text) {
		margin-bottom: 3rem;
	}
}

/* ==========================================================================
   @media (min-width: 600px)
   ========================================================================== */
@media (min-width: 600px) {

	.wp-block-ee-special-module :where(.TC) {
		margin-top: 67px;
	}

	.wp-block-ee-special-module :where(.TC span) {
		font-size: 48px;
		line-height: 52px;
	}

	.wp-block-ee-special-module :where(.TC div > *) {
		font-size: 30px;
		line-height: 40px;
	}

	.wp-block-ee-special-module :where(.TC h2) {
		font-size: 30px;
		line-height: 40px;
	}

	.wp-block-ee-special-module :where(.SP-doubts) {
		padding-top: 2rem;
	}

	.wp-block-ee-special-module :where(.SP-doubts img) {
		width: 48%;
		height: auto;
		max-height: 12.5rem;
	}

	.wp-block-ee-special-module :where(.SP-doubts-text) {
		font-size: 1.5625rem;
		line-height: 2.125rem;
		margin-bottom: 2rem;
	}

	.wp-block-ee-special-module :where(.SP-otherPaymentsMessage) {
		padding-top: 4rem;
		line-height: 2.75rem;
	}

	.wp-block-ee-special-module :where(.SP-otherPaymentsMessage-text-section) {
		font-size: 2.5rem;
		padding: 0 1.5rem;
	}

	.wp-block-ee-special-module :where(.BlockContainer) {
		margin: 0 1.5rem 2rem;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-SectionText) {
		font-size: 1.5625rem;
		line-height: 2.125rem;
		margin-left: 1.5rem;
		padding-right: 3rem;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-SectionText span) {
		margin-top: .5rem;
		font-size: 1.375rem;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-SectionTextContainer) {
		padding: 0 24px 24px;
		margin: auto;
		width: 408px;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-SectionText_secondFont) {
		padding-right: 0;
		margin: auto;
		margin-bottom: 32px;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-Title) {
		margin-left: 1.5rem;
		font-size: 1.75rem;
		margin-top: .4rem;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-Title_secondary) {
		font-size: 34px;
	}
}

/* ==========================================================================
   @media (min-width: 1200px)
   ========================================================================== */
@media (min-width: 1200px) {

	.wp-block-ee-special-module :where(.TC) {
		margin: 57px 372px 0 206px;
		width: 518px;
	}

	.wp-block-ee-special-module :where(.TC span) {
		font-size: 28px;
		line-height: 30px;
	}

	.wp-block-ee-special-module :where(.TC div > *) {
		font-size: 20px;
		line-height: 30px;
	}

	.wp-block-ee-special-module :where(.TC h2) {
		font-size: 20px;
		line-height: 30px;
	}

	.wp-block-ee-special-module :where(.SP-doubts) {
		padding-top: 1rem;
		padding-bottom: 1rem;
		margin-bottom: 3rem;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.wp-block-ee-special-module :where(.SP-doubts img) {
		width: 100%;
	}

	.wp-block-ee-special-module :where(.SP-doubts-imageContainer) {
		width: 16%;
	}

	.wp-block-ee-special-module :where(.SP-doubts-text) {
		width: 70%;
		font-size: 1.125rem;
		line-height: 1.625rem;
		margin: 0rem;
		padding-left: 1.5rem;
		text-align: left;
	}

	.wp-block-ee-special-module :where(.SP-otherPaymentsMessage) {
		padding-top: 3rem;
		line-height: 1.8125rem;
		margin-bottom: 3rem;
	}

	.wp-block-ee-special-module :where(.SP-otherPaymentsMessage-text-section) {
		font-size: 1.5rem;
		font-weight: 700;
	}

	.wp-block-ee-special-module :where(.BlockContainer) {
		margin: 0 auto 2.625rem;
	}

	.wp-block-ee-special-module :where(.BlockContainer a h2:hover) {
		color: #707070;
	}

	.wp-block-ee-special-module :where(.BlockContainer a h2:hover:before) {
		border-color: #b90000;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-SectionText) {
		font-size: 1.125rem;
		text-align: left;
		margin-top: 1.3125rem;
		margin-bottom: 1.1rem;
		margin-left: 0rem;
		line-height: 1.5625rem;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-SectionText span) {
		display: inline-block;
		margin-top: 0rem;
		font-size: .9375rem;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-SectionText .double-arrow-cicon) {
		width: 1.08rem;
		height: .9rem;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-SectionText .double-arrow-cicon:last-of-type) {
		margin-left: -0.89rem;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-SectionTextContainer) {
		padding: 0;
		line-height: 23px;
		width: 393px;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-SectionText_secondFont) {
		max-width: 393px;
		margin: auto;
		text-align: center;
		padding-right: 0;
		margin-bottom: 32px;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-Title) {
		font-size: 2.5rem;
		font-weight: bold;
		text-align: center;
		margin-top: .5rem;
		line-height: 2.5rem;
		margin-left: 0;
	}

	.wp-block-ee-special-module :where(.ForYouLayout-Title_saved) {
		font-size: 36px;
		margin-top: 24px;
	}

	.wp-block-ee-special-module :where(.padding-Border) {
		margin-left: 10px;
		margin-right: 10px;
	}
}

/* ==========================================================================
   @media (max-width: 1199px) — Campaigns-Title (old-ref)
   ========================================================================== */
@media (max-width: 1199px) {

	.wp-block-ee-special-module :where(.Campaigns-Title) {
		margin-bottom: 18px;
	}
}
