/*
Theme Name: Club Santo
Theme URI: https://clubsanto.com
Author: Héctor Ángel Hernández
Author URI: https://hectorangel.com
Description: Tema para Club Santo — Doctrina · Espíritu · Disciplina. Al activarlo crea las páginas Inicio, Doctrina, Espíritu, Disciplina, Calendario y Formación con todo su contenido en bloques editables, la portada y el menú principal. Incluye patrones de bloques «Club Santo» para crear páginas nuevas con el mismo diseño, formularios que guardan los suscriptores en WordPress (menú «Suscriptores», exportación a CSV) y SEO por página. Ajustes: Apariencia → Personalizar → Club Santo.
Version: 2.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: clubsanto
*/

/* =========================================================================
   Tokens · Carbón y ámbar
   ====================================================================== */
:root {
	--carbon: #0E0E12;
	--carbon-2: #121217;
	--grafito: #1C1C23;
	--grafito-2: #26262E;
	--line: rgba(250, 250, 247, .08);
	--line-2: rgba(250, 250, 247, .14);
	--ambar: #F28C28;
	--ambar-claro: #FFB26B;
	--ambar-oscuro: #D9741A;
	--humo: #8A8F98;
	--humo-claro: #B4B8BF;
	--blanco: #FAFAF7;

	--sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;

	--radius: 24px;
	--radius-sm: 14px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
	--header-h: 76px;
	--wide: 1160px;
	--text: 760px;
	--gutter: 40px;
}

/* Colores de la paleta del editor */
.has-carbon-color { color: var(--carbon) !important; }
.has-grafito-color { color: var(--grafito-2) !important; }
.has-ambar-color { color: var(--ambar) !important; }
.has-ambar-claro-color { color: var(--ambar-claro) !important; }
.has-humo-color { color: var(--humo) !important; }
.has-blanco-color { color: var(--blanco) !important; }
.has-carbon-background-color { background-color: var(--carbon) !important; }
.has-grafito-background-color { background-color: var(--grafito-2) !important; }
.has-ambar-background-color { background-color: var(--ambar) !important; }
.has-ambar-claro-background-color { background-color: var(--ambar-claro) !important; }
.has-humo-background-color { background-color: var(--humo) !important; }
.has-blanco-background-color { background-color: var(--blanco) !important; }

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 8px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--carbon);
	color: var(--blanco);
	font-family: var(--sans);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }
svg { display: inline-block; vertical-align: middle; }
a { color: var(--ambar); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ambar-claro); }
p { margin: 0 0 1em; }
strong { font-weight: 700; color: var(--blanco); }
em { font-family: var(--serif); }
::selection { background: var(--ambar); color: var(--carbon); }
:focus-visible { outline: 2px solid var(--ambar); outline-offset: 3px; border-radius: 6px; }

.sr-only {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 200;
	background: var(--ambar); color: var(--carbon);
	padding: 10px 16px; border-radius: 10px; font-weight: 700;
	transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--wide) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* =========================================================================
   Tipografía (clases que se usan desde el editor)
   ====================================================================== */
.cs-h1, .cs-h2, .cs-h3, .cs-h4,
.cs-content h1, .cs-content h2, .cs-content h3, .cs-content h4 {
	margin: 0 0 .5em;
	font-family: var(--sans);
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--blanco);
	text-wrap: balance;
}
.cs-content h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.cs-content h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: -.01em; }
.cs-content h4 { font-size: 20px; line-height: 1.3; }
.cs-content .cs-h1, .cs-h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; }
.cs-content .cs-h2, .cs-h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; }
.cs-content .cs-h3, .cs-h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.18; letter-spacing: -.01em; }
.cs-content .cs-h4, .cs-h4 { font-size: 20px; line-height: 1.3; letter-spacing: -.005em; }
.cs-h1 em, .cs-h2 em, .cs-content h1 em, .cs-content h2 em {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -.01em;
	color: var(--ambar-claro);
}

.cs-lead {
	font-size: clamp(18px, 1.6vw, 20px);
	line-height: 1.65;
	color: var(--humo-claro) !important;
	max-width: var(--text);
}
.cs-eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ambar) !important;
}
.cs-ref {
	font-family: var(--serif);
	font-style: italic;
	font-size: 15px;
	color: var(--ambar-claro) !important;
}
.cs-kicker {
	font-family: var(--serif);
	font-style: italic;
	font-size: 19px;
	color: var(--ambar-claro) !important;
}
.cs-note { font-size: 13px; color: var(--humo) !important; margin-top: 12px; }
.cs-pill {
	display: inline-flex;
	margin: 0 0 32px;
	padding: 7px 16px;
	border: 1px solid rgba(242, 140, 40, .35);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--ambar);
}
.cs-badge {
	display: inline-flex !important;
	align-self: flex-start;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(242, 140, 40, .14);
	color: var(--ambar) !important;
	font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.cs-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ambar); animation: cs-pulse 1.8s infinite; }
@keyframes cs-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* =========================================================================
   Botones (del tema y del bloque «Botones»)
   ====================================================================== */
.btn,
.cs-content .wp-block-button__link,
.cs-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 24px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--ambar);
	color: var(--carbon);
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 12px 30px -14px rgba(242, 140, 40, .75);
	transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover,
.cs-content .wp-block-button__link:hover,
.cs-form button:hover { transform: translateY(-2px); background: var(--ambar-claro); color: var(--carbon); }
.btn .icon--arrow { transition: transform .2s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }

.btn--ghost,
.cs-content .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--blanco);
	border: 0;
	box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn--ghost:hover,
.cs-content .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: rgba(250, 250, 247, .05);
	color: var(--blanco);
	box-shadow: inset 0 0 0 1px rgba(250, 250, 247, .4);
}
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.cs-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cs-content .wp-block-button { margin: 0; }

/* =========================================================================
   Encabezado
   ====================================================================== */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--header-h);
	transition: background-color .3s, box-shadow .3s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled, .nav-open .site-header {
	background: rgba(14, 14, 18, .85);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 1px 0 var(--line);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex-shrink: 0; }
.brand__img { width: 132px; height: auto; display: block; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 14px;
	font-weight: 600;
	color: var(--humo-claro);
	text-decoration: none;
	transition: color .2s;
}
.nav__link::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: 8px;
	height: 2px; border-radius: 2px;
	background: var(--ambar);
	transform: scaleX(0); transform-origin: left;
	transition: transform .3s var(--ease);
}
.nav__link:hover, .current-menu-item > .nav__link, .current_page_item > .nav__link { color: var(--blanco); }
.nav__link:hover::after, .current-menu-item > .nav__link::after, .current_page_item > .nav__link::after { transform: scaleX(1); }

.nav-toggle {
	display: none;
	width: 46px; height: 46px;
	border: 0; border-radius: 12px;
	background: rgba(250, 250, 247, .06);
	cursor: pointer;
	flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--blanco); transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   Contenido de las páginas: ancho de los bloques
   ====================================================================== */
.site-main { padding-top: var(--header-h); }
.cs-content > * {
	width: min(var(--text), 100% - var(--gutter) * 2);
	margin-left: auto;
	margin-right: auto;
}
.cs-content > .alignwide { width: min(var(--wide), 100% - var(--gutter) * 2); }
.cs-content > .alignfull { width: 100%; max-width: none; margin-top: 0; margin-bottom: 0; }
.cs-content > :not(.alignfull) { margin-top: 1.1em; margin-bottom: 1.1em; }
.cs-content > :not(.alignfull):last-child { margin-bottom: clamp(64px, 8vw, 110px); }
.cs-content > .alignfull + :not(.alignfull) { margin-top: clamp(56px, 7vw, 96px); }
.cs-content > p, .cs-content > ul, .cs-content > ol { color: var(--humo-claro); }
.cs-content :is(ul, ol).wp-block-list:not([class*=" cs-"]) { padding-left: 1.2em; }
.cs-content .wp-block-image img { border-radius: var(--radius-sm); }
.cs-content .wp-block-quote {
	padding: 8px 0 8px 24px;
	border-left: 2px solid var(--ambar);
	font-family: var(--serif);
	font-size: 22px;
	font-style: italic;
	color: var(--blanco);
}
.cs-content .wp-block-quote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 14px; color: var(--humo); }
.cs-content .wp-block-separator { border: 0; border-top: 1px solid var(--line-2); }
.cs-featured img { width: 100%; border-radius: var(--radius); }

/* Secciones: bloque Grupo a todo lo ancho con la clase cs-section */
.cs-section, .cs-page-head, .cs-hero {
	position: relative;
	padding-left: max(var(--gutter), calc((100% - var(--wide)) / 2));
	padding-right: max(var(--gutter), calc((100% - var(--wide)) / 2));
}
.cs-section { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.cs-section--tight { padding-top: clamp(40px, 5vw, 64px); }
.cs-section--alt { background: var(--carbon-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs-section > *, .cs-page-head > *, .cs-hero > * { margin-top: 0; }
.cs-section > * + * { margin-top: 32px; }
.cs-section > p, .cs-section > ul, .cs-section > ol { max-width: var(--text); color: var(--humo-claro); }

.cs-head { max-width: var(--text); margin-bottom: 48px !important; }
.cs-head > * { margin-top: 0; }
.cs-head .cs-lead { margin-bottom: 0; }
.cs-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.cs-head--center .cs-eyebrow { justify-content: center; }

/* Encabezado de página interior */
.cs-page-head {
	padding-top: clamp(64px, 9vw, 120px);
	padding-bottom: clamp(48px, 6vw, 80px);
	overflow: hidden;
	isolation: isolate;
}
.cs-page-head::after {
	content: "";
	position: absolute; z-index: -1;
	right: -6%; top: 50%;
	width: min(48vw, 560px); aspect-ratio: 1;
	transform: translateY(-50%);
	background: url("assets/img/club-santo-simbolo-claro.svg") center/contain no-repeat;
	opacity: .05;
	pointer-events: none;
}
.cs-page-head::before {
	content: "";
	position: absolute; z-index: -2;
	right: -10%; top: 30%;
	width: min(60vw, 700px); aspect-ratio: 1;
	background: radial-gradient(closest-side, rgba(242, 140, 40, .12), transparent);
	pointer-events: none;
}
.cs-page-head .cs-h1 { max-width: 980px; }
.cs-page-head .cs-lead { margin-bottom: 0; }
.cs-numeral {
	margin: 0 0 8px !important;
	font-family: var(--serif);
	font-size: clamp(72px, 9vw, 130px);
	line-height: .9;
	color: transparent !important;
	-webkit-text-stroke: 1px rgba(250, 250, 247, .22);
}

/* =========================================================================
   Portada · la cita que se enciende
   ====================================================================== */
.cs-hero {
	min-height: calc(100vh - var(--header-h));
	min-height: calc(100svh - var(--header-h));
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 56px;
	padding-bottom: 88px;
	overflow: hidden;
	isolation: isolate;
}
.cs-hero::before {
	content: "";
	position: absolute; z-index: -2;
	right: -12%; top: 50%;
	width: min(72vw, 900px); aspect-ratio: 1;
	transform: translateY(-50%);
	background: radial-gradient(closest-side, rgba(242, 140, 40, .15), rgba(242, 140, 40, .05) 55%, transparent);
	pointer-events: none;
}
.cs-hero::after {
	content: "";
	position: absolute; z-index: -1;
	right: -6%; top: 50%;
	width: min(54vw, 760px); aspect-ratio: 1;
	transform: translateY(-46%);
	background: url("assets/img/club-santo-simbolo-claro.svg") center/contain no-repeat;
	opacity: .06;
	pointer-events: none;
}
.cs-hero > * { max-width: 1160px; }
.cs-hero .cs-pill { align-self: flex-start; }
.cs-burn {
	margin: 0 0 26px !important;
	max-width: 900px;
	font-family: var(--serif);
	font-size: clamp(20px, 2.1vw, 28px);
	line-height: 1.55;
	color: var(--humo);
}
.cs-burn s { text-decoration-thickness: 1px; }
.cs-burn .w { color: var(--c, inherit); }
.cs-big {
	margin: 0 !important;
	font-weight: 900;
	font-size: clamp(40px, 7.3vw, 104px);
	line-height: .96;
	letter-spacing: -.03em;
	text-transform: uppercase;
	color: var(--ambar);
}
.cs-big--1 { color: #FBA757; }
.cs-big--3 { color: #EC7220; }
.cs-quote-end {
	margin: 22px 0 14px !important;
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(20px, 2.1vw, 28px);
	color: var(--ambar-claro);
}
.cs-cite { font-size: 14px; color: var(--humo); }
.cs-cite em { font-family: var(--serif); }
.cs-hero .wp-block-buttons { margin-top: 36px; }

.js .cs-hero .cs-burn .w { color: #3A3B42; transition: color .7s ease; transition-delay: calc(var(--i) * 28ms + 150ms); }
.js .cs-hero.is-lit .cs-burn .w { color: var(--c); }
.js .cs-hero .cs-big, .js .cs-hero .cs-quote-end, .js .cs-hero .cs-cite, .js .cs-hero .wp-block-buttons {
	opacity: 0; transform: translateY(18px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .cs-hero .cs-big--1 { transition-delay: 1.6s; }
.js .cs-hero .cs-big--2 { transition-delay: 1.78s; }
.js .cs-hero .cs-big--3 { transition-delay: 1.96s; }
.js .cs-hero .cs-quote-end { transition-delay: 2.2s; }
.js .cs-hero .cs-cite { transition-delay: 2.35s; }
.js .cs-hero .wp-block-buttons { transition-delay: 2.5s; }
.js .cs-hero.is-lit .cs-big, .js .cs-hero.is-lit .cs-quote-end, .js .cs-hero.is-lit .cs-cite, .js .cs-hero.is-lit .wp-block-buttons { opacity: 1; transform: none; }

/* El llamado (1729) */
.cs-call { display: grid; grid-template-columns: .9fr 1.3fr; gap: 72px; align-items: center; }
.cs-call > * { margin: 0 !important; }
.cs-year {
	margin: 0 !important;
	font-weight: 900;
	font-size: clamp(110px, 16vw, 220px);
	line-height: .85;
	letter-spacing: -.05em;
	color: transparent !important;
	-webkit-text-stroke: 1.5px rgba(242, 140, 40, .55);
	background: linear-gradient(180deg, rgba(242, 140, 40, .22), rgba(242, 140, 40, 0) 85%);
	-webkit-background-clip: text;
	background-clip: text;
}
.cs-call__text > * { margin-top: 0; }
.cs-call__text > p { color: var(--humo-claro); }
.cs-mission {
	margin-top: 28px !important;
	padding: 24px 28px;
	border-radius: var(--radius-sm);
	background: linear-gradient(90deg, rgba(242, 140, 40, .1), rgba(242, 140, 40, .02));
	border: 1px solid rgba(242, 140, 40, .22);
	color: var(--blanco) !important;
	font-size: 18px;
}
.cs-mission strong { color: var(--ambar-claro); }

/* =========================================================================
   Rejillas y tarjetas
   ====================================================================== */
.cs-grid { display: grid; gap: 24px; }
.cs-grid > * { margin: 0 !important; }
.cs-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(340px, (100% - 24px) / 2)), 1fr)); }
.cs-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(250px, (100% - 48px) / 3)), 1fr)); }
.cs-grid--bands { grid-template-columns: 1.15fr .85fr; }
.cs-grid--calendar { align-items: start; }
.cs-stack { display: grid; gap: 20px; align-content: start; }
.cs-stack > * { margin: 0 !important; }
.cs-sticky { position: sticky; top: calc(var(--header-h) + 24px); }

.cs-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--grafito);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px;
	overflow: hidden;
	transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.cs-card > * { margin-top: 0; margin-bottom: .7em; }
.cs-card > :last-child { margin-bottom: 0; }
.cs-card p, .cs-card li { color: var(--humo-claro); }
.cs-card .cs-ref { margin-top: auto; padding-top: 10px; }
.cs-card .wp-block-buttons { margin-top: auto; padding-top: 16px; }
.cs-content .cs-card-title, .cs-card-title { font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; color: var(--blanco); }
.cs-content .cs-pillar .cs-card-title, .cs-content .cs-rule .cs-card-title { font-size: 28px; }
.cs-card:hover { border-color: rgba(242, 140, 40, .3); }
.cs-pillar:hover, .cs-grid--3 > .cs-card:not(.cs-rule):hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Íconos: clase cs-ico-* en una tarjeta o banner */
.cs-card[class*="cs-ico-"]::before {
	content: "";
	display: block;
	flex-shrink: 0;
	width: 52px; height: 52px;
	margin-bottom: 20px;
	border-radius: 14px;
	background: rgba(242, 140, 40, .12);
}
.cs-card[class*="cs-ico-"]::after {
	content: "";
	position: absolute;
	top: 46px; left: 46px;
	width: 24px; height: 24px;
	background: var(--ambar);
	-webkit-mask: var(--cs-ico) center / contain no-repeat;
	mask: var(--cs-ico) center / contain no-repeat;
	pointer-events: none;
}

.cs-num { position: absolute; top: 34px; right: 32px; margin: 0 !important; font-family: var(--serif); font-size: 22px; color: var(--humo) !important; }
.cs-num--big { top: -18px; right: 18px; font-family: var(--sans); font-weight: 900; font-size: 140px; line-height: 1; color: rgba(242, 140, 40, .1) !important; pointer-events: none; }
.cs-rule { background: linear-gradient(180deg, var(--grafito-2), var(--grafito)); padding-top: 36px; }
.cs-more { margin-top: auto !important; padding-top: 16px; }
.cs-more a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--ambar); text-decoration: none; }
.cs-more a:hover { color: var(--ambar-claro); }
.cs-pillar { min-height: 360px; }

.cs-card--fire {
	background: linear-gradient(160deg, rgba(242, 140, 40, .16), rgba(242, 140, 40, .03) 60%), var(--grafito);
	border-color: rgba(242, 140, 40, .25);
}
.cs-card--glow {
	padding: 40px;
	background: radial-gradient(120% 120% at 100% 100%, rgba(242, 140, 40, .45), rgba(242, 140, 40, .08) 55%, transparent), var(--grafito-2);
	border-color: rgba(242, 140, 40, .3);
}
.cs-card--glow p { color: var(--blanco); opacity: .9; }
.cs-content .cs-you, .cs-you {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(48px, 5vw, 72px);
	line-height: 1;
	letter-spacing: -.01em;
}
.cs-card--light { background: var(--blanco); border-color: transparent; justify-content: center; padding: 44px 40px; }
.cs-card--light p { color: #3B3B44; }
.cs-card--light .cs-eyebrow { color: #A85A0F !important; }
.cs-content .cs-soul, .cs-soul {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(40px, 4.4vw, 60px);
	line-height: 1.05;
	letter-spacing: -.01em;
	color: var(--carbon);
}
.cs-card--seminary { background: linear-gradient(160deg, #2A2A33, #18181E); border-color: var(--line-2); padding: 40px; }
.cs-card--row { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; align-items: start; }
.cs-card--row::before { grid-row: 1 / span 3; margin: 0 !important; }
.cs-card--row > * { grid-column: 2; }
.cs-divided { margin-top: 20px !important; padding-top: 24px; border-top: 1px solid var(--line); }
.cs-divided > * { margin-top: 0; }

/* Listas especiales */
.cs-content .cs-checks { list-style: none; padding: 0; display: grid; gap: 12px; margin: 8px 0 0; }
.cs-checks li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.55; }
.cs-checks li::before {
	content: "";
	position: absolute; left: 0; top: 3px;
	width: 20px; height: 20px;
	background: var(--ambar);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.cs-content .cs-sermons { list-style: none; padding: 0; margin: 8px 0 0; }
.cs-sermons li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.cs-sermons strong { font-family: var(--serif); font-size: 18px; font-weight: 400; color: var(--blanco); }
.cs-content .cs-dates { list-style: none; padding: 0; margin: 0; }
.cs-dates li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; }
.cs-dates li:first-child { border-top: 0; }
.cs-dates strong { color: var(--ambar); font-weight: 800; }
.cs-content .cs-numbered { list-style: none; counter-reset: q; display: grid; gap: 10px; padding: 0; margin: 14px 0 0; }
.cs-numbered li {
	counter-increment: q;
	display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center;
	padding: 14px 16px;
	border-radius: 14px;
	background: rgba(250, 250, 247, .03);
	border: 1px solid var(--line);
	font-family: var(--serif); font-size: 17px; line-height: 1.45; color: var(--blanco) !important;
}
.cs-numbered li::before {
	content: counter(q);
	display: flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 50%;
	background: rgba(242, 140, 40, .12); color: var(--ambar);
	font-family: var(--sans); font-weight: 800; font-size: 15px;
}

/* Camino de la salvación (lista numerada con la clase cs-steps) */
.cs-way { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: start; }
.cs-way > * { margin: 0 !important; }
.cs-way__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.cs-way__intro > * { margin-top: 0; }
.cs-way__intro p { color: var(--humo-claro); }
.cs-content .cs-steps { list-style: none; counter-reset: step; position: relative; padding: 0; margin: 0; }
.cs-steps::before {
	content: "";
	position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px;
	background: linear-gradient(180deg, rgba(242, 140, 40, .6), rgba(242, 140, 40, .1));
}
.cs-steps li {
	counter-increment: step;
	position: relative;
	margin: 0 0 24px 80px;
	padding: 24px 28px;
	border-radius: 20px;
	background: var(--grafito);
	border: 1px solid var(--line);
	color: var(--humo-claro);
}
.cs-steps li:last-child { margin-bottom: 0; }
.cs-steps li::before {
	content: counter(step);
	position: absolute; left: -80px; top: 18px;
	display: flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 50%;
	background: var(--carbon);
	border: 1px solid rgba(242, 140, 40, .5);
	font-weight: 800; font-size: 18px; color: var(--ambar);
	transition: background-color .3s, color .3s;
}
.cs-steps li:hover::before, .cs-steps li:last-child::before { background: var(--ambar); color: var(--carbon); }
.cs-steps li:last-child::before { box-shadow: 0 0 0 8px rgba(242, 140, 40, .12); }
.cs-steps strong { display: block; margin-bottom: 8px; font-size: 21px; letter-spacing: -.01em; }
.cs-steps em { display: block; margin-top: 12px; font-size: 15px; color: var(--ambar-claro); }

/* Línea de tiempo */
.cs-timeline { position: relative; max-width: 980px; margin-left: auto !important; margin-right: auto !important; }
.cs-timeline::before {
	content: "";
	position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
	background: linear-gradient(180deg, transparent, rgba(242, 140, 40, .55) 8%, rgba(242, 140, 40, .55) 92%, transparent);
}
.cs-tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 20px 0; margin: 0 !important; }
.cs-tl-item::before {
	content: "";
	position: absolute; left: 50%; top: 34px;
	width: 15px; height: 15px; margin-left: -7px; border-radius: 50%;
	background: var(--ambar);
	box-shadow: 0 0 0 6px rgba(242, 140, 40, .16), 0 0 24px rgba(242, 140, 40, .6);
}
.cs-tl-item > * { margin: 0 !important; }
.cs-tl-year {
	padding-top: 18px; text-align: right;
	font-weight: 900; font-size: clamp(32px, 4vw, 52px); line-height: 1; letter-spacing: -.03em;
	color: var(--ambar) !important;
}
.cs-tl-card { background: var(--grafito); border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; }
.cs-tl-card > * { margin-top: 0; }
.cs-content .cs-tl-card h3 { font-size: 22px; margin-bottom: 8px; }
.cs-tl-card p { margin: 0; color: var(--humo-claro); }
.cs-tl-item:nth-child(even) .cs-tl-year { order: 2; text-align: left; }
.cs-tl-item:nth-child(even) .cs-tl-card { order: 1; }

/* Banner con botón */
.cs-banner {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 32px;
	align-items: center;
	padding: 36px 40px;
	border-radius: var(--radius);
	background: linear-gradient(110deg, rgba(242, 140, 40, .14), rgba(242, 140, 40, .02) 60%), var(--grafito);
	border: 1px solid rgba(242, 140, 40, .25);
}
.cs-banner:not([class*="cs-ico-"]) { grid-template-columns: 1fr auto; }
.cs-banner + .cs-banner { margin-top: 20px !important; }
.cs-banner > * { margin: 0 !important; }
.cs-banner[class*="cs-ico-"]::before {
	content: "";
	display: block;
	width: 76px; height: 76px;
	border-radius: 20px;
	background: var(--ambar);
}
.cs-banner[class*="cs-ico-"]::after {
	content: "";
	position: absolute;
	left: 62px; top: 50%;
	width: 32px; height: 32px;
	margin-top: -16px;
	background: var(--carbon);
	-webkit-mask: var(--cs-ico) center / contain no-repeat;
	mask: var(--cs-ico) center / contain no-repeat;
	pointer-events: none;
}
.cs-banner--quiet { background: var(--grafito); border-color: var(--line); }
.cs-banner--quiet[class*="cs-ico-"]::before { background: rgba(242, 140, 40, .14); }
.cs-banner--quiet[class*="cs-ico-"]::after { background: var(--ambar); }
.cs-banner__text > * { margin-top: 0; }
.cs-banner__text .cs-eyebrow { margin-bottom: 8px !important; }
.cs-banner__text h2 { margin-bottom: 6px; }
.cs-banner__text p:last-child { margin: 0; color: var(--humo-claro); max-width: 640px; }
.cs-banner .wp-block-buttons { margin: 0 !important; }

/* Calendario: la semana */
.cs-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; max-width: 980px; margin: 0 auto 56px !important; }
.cs-week > * { margin: 0 !important; }
.cs-day {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	min-height: 120px; padding: 14px 8px;
	border-radius: 18px;
	background: rgba(250, 250, 247, .04);
	border: 1px solid var(--line);
	text-align: center;
	font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--humo-claro) !important;
}
.cs-day strong { display: block; font-size: 26px; font-weight: 900; line-height: 1; color: var(--blanco); }
.cs-day--fast { background: var(--ambar); border-color: var(--ambar); color: rgba(14, 14, 18, .82) !important; }
.cs-day--fast strong, .cs-day--lord strong { color: var(--carbon); }
.cs-day--exam { box-shadow: inset 0 0 0 1px rgba(250, 250, 247, .35); }
.cs-day--lord { background: var(--blanco); color: #3B3B44 !important; }

/* Tarjeta de formulario */
.cs-form-card {
	position: relative;
	overflow: hidden;
	padding: 40px;
	border-radius: var(--radius);
	background: radial-gradient(130% 90% at 100% 0%, rgba(242, 140, 40, .28), transparent 55%), var(--grafito-2);
	border: 1px solid rgba(242, 140, 40, .3);
	box-shadow: var(--shadow);
}
.cs-form-card > * { margin-top: 0; }
.cs-form-card::after {
	content: ""; position: absolute; right: -14px; top: -10px; width: 130px; height: 130px;
	background: url("assets/img/club-santo-simbolo-claro.svg") center/contain no-repeat; opacity: .14; pointer-events: none;
}
.cs-notebox {
	position: relative;
	padding: 20px 22px 20px 56px;
	border-radius: 18px;
	background: rgba(250, 250, 247, .03);
	border: 1px dashed var(--line-2);
}
.cs-notebox::before {
	content: ""; position: absolute; left: 22px; top: 23px; width: 20px; height: 20px; background: var(--ambar);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E") center/contain no-repeat;
}
.cs-notebox p { margin: 0; font-size: 15px; color: var(--humo-claro); }

/* =========================================================================
   Formularios
   ====================================================================== */
.cs-form { display: grid; gap: 14px; margin-top: 8px; }
.cs-form__fields { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--humo-claro); }
.field input {
	width: 100%;
	min-height: 52px;
	padding: 0 16px;
	border-radius: 12px;
	border: 1px solid var(--line-2);
	background: rgba(14, 14, 18, .55);
	color: var(--blanco);
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 500;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input:hover { border-color: rgba(250, 250, 247, .28); }
.field input:focus { outline: none; border-color: var(--ambar); box-shadow: 0 0 0 4px rgba(242, 140, 40, .18); background: rgba(14, 14, 18, .8); }
.cs-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cs-form button { width: 100%; }
.cs-form--inline { grid-template-columns: 1fr auto; align-items: end; }
.cs-form--inline .cs-form__fields--2 { grid-template-columns: 1fr 1fr; }
.cs-form--inline button { width: auto; min-height: 52px; }
.cs-card .cs-form--inline { grid-template-columns: 1fr; }
.cs-card .cs-form--inline button { width: 100%; }

/* Bloque global de suscripción */
.subscribe { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(72px, 9vw, 112px); }
.subscribe__inner {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 48px;
	align-items: center;
	max-width: var(--wide);
	margin: 0 auto;
	padding: 56px;
	border-radius: 32px;
	background: radial-gradient(80% 140% at 0% 100%, rgba(242, 140, 40, .3), transparent 60%), var(--grafito-2);
	border: 1px solid rgba(242, 140, 40, .25);
}
.subscribe__text p:last-child { margin: 0; color: var(--humo-claro); }
.subscribe__text .cs-h2 { margin-bottom: 12px; }

/* =========================================================================
   Artículos (si algún día usas el blog)
   ====================================================================== */
.cs-post { color: inherit; text-decoration: none; gap: 8px; }
.cs-post:hover { color: inherit; transform: translateY(-4px); }
.cs-post__img { width: calc(100% + 64px); max-width: none; margin: -32px -32px 16px; aspect-ratio: 16/9; object-fit: cover; }
.cs-post__ex { color: var(--humo-claro); font-size: 15px; }
.cs-pager { margin-top: 40px; text-align: center; }
.cs-pager .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border-radius: 12px; color: var(--humo-claro); text-decoration: none; }
.cs-pager .current { background: var(--ambar); color: var(--carbon); }

/* =========================================================================
   Pie de página
   ====================================================================== */
.site-footer { border-top: 1px solid var(--line); background: #0A0A0D; }
.site-footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-top: 72px; padding-bottom: 48px; }
.site-footer__brand img { width: 220px; height: auto; margin-bottom: 20px; display: block; }
.site-footer__brand p { max-width: 380px; color: var(--humo); font-size: 15px; }
.site-footer__title { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--humo); }
.site-footer__list { list-style: none; display: grid; gap: 2px; margin: 0; padding: 0; }
.site-footer__list a { display: inline-flex; min-height: 36px; align-items: center; color: var(--humo-claro); text-decoration: none; font-size: 15px; transition: color .2s; }
.site-footer__list a:hover { color: var(--ambar); }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
	padding-top: 24px; padding-bottom: 32px;
	border-top: 1px solid var(--line);
	font-size: 13px; color: var(--humo);
}
.site-footer__bottom p { margin: 0; }
.to-top { color: var(--humo-claro); text-decoration: none; font-weight: 600; }
.to-top:hover { color: var(--ambar); }

/* =========================================================================
   Mensaje de confirmación
   ====================================================================== */
.notice {
	position: fixed; inset: 0; z-index: 300;
	display: flex; align-items: center; justify-content: center;
	padding: 16px;
	background: rgba(5, 5, 8, .72);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	animation: cs-fade .3s ease;
}
.notice__card {
	position: relative; width: 100%; max-width: 480px;
	padding: 44px 36px 36px;
	border-radius: 28px;
	background: var(--grafito-2);
	border: 1px solid rgba(242, 140, 40, .3);
	text-align: center;
	box-shadow: var(--shadow);
	animation: cs-rise .45s var(--ease);
}
.notice__mark { width: 88px; height: auto; margin: 0 auto 12px; display: block; }
.notice__card h2 { margin: 0 0 12px; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.notice__card p { color: var(--humo-claro); margin-bottom: 26px; }
.notice__close {
	position: absolute; top: 12px; right: 12px;
	width: 44px; height: 44px; border: 0; border-radius: 12px;
	background: transparent; color: var(--humo-claro); cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.notice__close:hover { background: rgba(250, 250, 247, .06); color: var(--blanco); }
@keyframes cs-fade { from { opacity: 0; } }
@keyframes cs-rise { from { opacity: 0; transform: translateY(20px) scale(.98); } }

/* 404 */
.page-404 { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--header-h) + 60px) var(--gutter) 100px; }
.page-404 .cs-eyebrow { justify-content: center; }
.page-404 .cs-lead { margin-left: auto; margin-right: auto; }
.page-404__mark { width: 140px; height: auto; margin-bottom: 24px; }
.page-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 24px; }

/* =========================================================================
   Aparición al hacer scroll
   ====================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal, .js .cs-hero .cs-big, .js .cs-hero .cs-quote-end, .js .cs-hero .cs-cite, .js .cs-hero .wp-block-buttons { opacity: 1; transform: none; }
	.js .cs-hero .cs-burn .w { color: var(--c); }
}

/* =========================================================================
   Responsive
   ====================================================================== */
@media (max-width: 1100px) {
	.nav__list { gap: 18px; }
	.nav { gap: 18px; }
}

@media (max-width: 1024px) {
	.nav-toggle { display: flex; }
	.nav {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 16px 24px 28px;
		background: rgba(14, 14, 18, .97);
		-webkit-backdrop-filter: blur(14px);
		backdrop-filter: blur(14px);
		border-bottom: 1px solid var(--line);
		transform: translateY(-12px); opacity: 0; visibility: hidden;
		transition: opacity .25s, transform .25s var(--ease), visibility .25s;
	}
	.admin-bar .nav { top: calc(var(--header-h) + 32px); }
	.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__link { width: 100%; min-height: 52px; font-size: 18px; border-bottom: 1px solid var(--line); }
	.nav__link::after { display: none; }
	.current-menu-item > .nav__link, .current_page_item > .nav__link { color: var(--ambar); }
	.nav__cta { width: 100%; min-height: 52px; }

	.cs-call { gap: 48px; }
	.cs-way { gap: 40px; }
}

@media (max-width: 860px) {
	.cs-call, .cs-way, .subscribe__inner, .cs-grid--bands { grid-template-columns: 1fr; }
	.cs-call { gap: 32px; }
	.cs-way__intro, .cs-sticky { position: static; }
	.subscribe__inner { gap: 28px; padding: 44px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
}

@media (max-width: 720px) {
	:root { --header-h: 68px; --gutter: 16px; }
	body { font-size: 16px; }
	.brand__img { width: 112px; }

	.cs-hero { justify-content: flex-start; padding-top: 40px; padding-bottom: 64px; }
	.cs-hero::after { width: 90vw; right: -30%; top: auto; bottom: -10%; transform: none; }
	.cs-hero .wp-block-button, .cs-hero .wp-block-button__link { width: 100%; }
	.cs-pill { margin-bottom: 24px; }

	.cs-card, .cs-card--glow, .cs-card--light, .cs-card--seminary, .cs-form-card { padding: 26px 22px; }
	.cs-card[class*="cs-ico-"]::after { top: 40px; left: 36px; }
	.cs-num { top: 28px; right: 22px; }
	.cs-pillar { min-height: 0; }

	.cs-steps::before { left: 21px; }
	.cs-steps li { margin-left: 58px; padding: 20px; }
	.cs-steps li::before { left: -58px; width: 44px; height: 44px; font-size: 16px; }

	.cs-timeline::before { left: 7px; }
	.cs-tl-item { grid-template-columns: 1fr; gap: 10px; padding: 14px 0 14px 34px; }
	.cs-tl-item::before { left: 7px; top: 22px; }
	.cs-tl-year, .cs-tl-item:nth-child(even) .cs-tl-year { order: 0; text-align: left; padding-top: 0; font-size: 34px; }
	.cs-tl-item:nth-child(even) .cs-tl-card { order: 1; }
	.cs-tl-card { padding: 20px; }

	.cs-banner, .cs-banner:not([class*="cs-ico-"]) { grid-template-columns: 1fr; gap: 20px; padding: 28px 22px; }
	.cs-banner[class*="cs-ico-"]::before { width: 60px; height: 60px; border-radius: 16px; }
	.cs-banner[class*="cs-ico-"]::after { left: 38px; top: 44px; margin-top: 0; width: 28px; height: 28px; }
	.cs-banner .wp-block-button, .cs-banner .wp-block-button__link { width: 100%; }

	.cs-week { gap: 6px; margin-bottom: 40px !important; }
	.cs-day { min-height: 76px; padding: 10px 2px; border-radius: 12px; font-size: 0; }
	.cs-day strong { font-size: 20px; }
	.cs-dates li { grid-template-columns: 1fr; gap: 2px; }

	.cs-form--inline, .cs-form--inline .cs-form__fields--2 { grid-template-columns: 1fr; }
	.cs-form--inline button { width: 100%; }
	.subscribe__inner { padding: 32px 22px; border-radius: 24px; }

	.site-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 56px; }
	.site-footer__brand { grid-column: 1 / -1; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   Íconos para tarjetas y banners. En el editor: selecciona el Grupo →
   Avanzado → Clases CSS adicionales. Disponibles: cs-ico-book, flame, list,
   pray, scroll, cup, moon, users, heart, download, calendar, music, printer,
   mail, check, info.
   ====================================================================== */
.cs-ico-book{--cs-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v14'/%3E%3Cpath d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3C/svg%3E")}
.cs-ico-flame{--cs-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E")}
.cs-ico-list{--cs-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 17 2 2 4-4'/%3E%3Cpath d='m3 7 2 2 4-4'/%3E%3Cpath d='M13 6h8'/%3E%3Cpath d='M13 12h8'/%3E%3Cpath d='M13 18h8'/%3E%3C/svg%3E")}
.cs-ico-pray{--cs-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M8 7h8'/%3E%3C/svg%3E")}
.cs-ico-scroll{--cs-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 12h-5'/%3E%3Cpath d='M15 8h-5'/%3E%3Cpath d='M19 17V5a2 2 0 0 0-2-2H4'/%3E%3Cpath d='M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3'/%3E%3C/svg%3E")}
.cs-ico-cup{--cs-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 22h8'/%3E%3Cpath d='M12 15v7'/%3E%3Cpath d='M5 3h14l-1 7a6 6 0 0 1-12 0z'/%3E%3C/svg%3E")}
.cs-ico-moon{--cs-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E")}
.cs-ico-users{--cs-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E")}
.cs-ico-heart{--cs-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E")}
.cs-ico-download{--cs-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M12 15V3'/%3E%3C/svg%3E")}
.cs-ico-calendar{--cs-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E")}
.cs-ico-music{--cs-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E")}
.cs-ico-printer{--cs-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V2h12v7'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect width='12' height='8' x='6' y='14'/%3E%3C/svg%3E")}
.cs-ico-mail{--cs-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E")}
.cs-ico-check{--cs-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
.cs-ico-info{--cs-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E")}

/* =========================================================================
   Recursos descargables: biblioteca, formulario de acceso y documento
   ====================================================================== */
.cs-library { display: grid; gap: 64px; }
.cs-library__group > .cs-eyebrow { margin-bottom: 6px !important; }
.cs-library__intro { margin: 0 0 24px; color: var(--humo-claro); max-width: var(--text); }
.cs-doc-card { color: inherit; text-decoration: none; gap: 8px; }
.cs-doc-card:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow); }
.cs-doc-card .cs-card-title { font-size: 19px; }
.cs-doc-card__desc { color: var(--humo-claro); font-size: 15px; line-height: 1.55; }
.cs-doc-card__meta { margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--humo); }
.cs-doc-card .cs-more span { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--ambar); }

.cs-gate {
	display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
	max-width: calc(var(--wide) + var(--gutter) * 2); margin: 0 auto;
	padding: clamp(56px, 8vw, 110px) var(--gutter);
}
.cs-gate .cs-eyebrow a { color: inherit; text-decoration: none; }
.cs-gate .cs-checks { list-style: none; padding: 0; display: grid; gap: 12px; margin: 24px 0 0; }
.cs-gate .cs-checks li { color: var(--humo-claro); }
.cs-gate__form .cs-form button { width: 100%; }

.cs-doctools {
	position: sticky; top: var(--header-h); z-index: 50;
	background: rgba(14, 14, 18, .9);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .cs-doctools { top: calc(var(--header-h) + 32px); }
.cs-doctools__inner {
	max-width: calc(var(--wide) + var(--gutter) * 2); margin: 0 auto; padding: 12px var(--gutter);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.cs-doctools__title { display: flex; flex-direction: column; line-height: 1.3; }
.cs-doctools__title strong { font-size: 16px; }
.cs-doctools__back { font-size: 13px; color: var(--humo-claro); text-decoration: none; }
.cs-doctools__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cs-switch { display: inline-flex; padding: 4px; border-radius: 12px; background: rgba(250, 250, 247, .06); }
.cs-switch button {
	min-height: 36px; padding: 0 14px; border: 0; border-radius: 9px;
	background: transparent; color: var(--humo-claro); font: 600 13px var(--sans); cursor: pointer;
}
.cs-switch button.is-active { background: var(--blanco); color: var(--carbon); }
.cs-docview { padding: 40px var(--gutter) 24px; transition: background-color .3s; }
.cs-docview.is-light { background: #E9E7E2; }

@media (max-width: 860px) {
	.cs-gate { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
	.cs-doctools { position: static; }
	.cs-doctools__actions, .cs-doctools__actions .btn { width: 100%; }
	.cs-switch { width: 100%; }
	.cs-switch button { flex: 1; }
	.cs-docview { padding: 20px 12px; }
}
@media print {
	.cs-docpage ~ *, .site-header, .site-footer, .subscribe, .cs-doctools, .skip-link, #wpadminbar { display: none !important; }
	.site-main { padding: 0 !important; }
	.cs-docview { padding: 0 !important; background: none !important; }
	body { background: none; }
}
