/* ==========================================================================
   Tema RIEG – estilos principales
   ========================================================================== */

:root {
	--navy: #0B2A4A;
	--navy-2: #12365C;
	--blue: #1565B0;
	--sky: #7FC0F5;
	--red: #C8202A;
	--yellow: #F2C200;
	--yellow-ink: #A97F00;
	--green: #0E8A3E;
	--lblue: #6FA8DC;
	--ink: #1F2933;
	--ink-2: #3D4B5C;
	--muted: #5B6878;
	--line: #E4E8EE;
	--light: #F1F3F6;
	--white: #fff;
	--font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--container: 1280px;
	--pad: clamp(18px, 4vw, 32px);
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); text-decoration: none; }
a:hover, a:focus { color: var(--navy); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--navy); }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; left: 8px; top: 8px; z-index: 1000;
	background: var(--white); padding: 12px 18px; color: var(--navy);
}

/* ---------- Utilidades ---------- */

.eyebrow { margin: 0 0 8px; color: var(--red); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; }
.h-section { margin: 0 0 24px; font-size: clamp(30px, 3.4vw, 40px); }
.h-section--xl { font-size: clamp(34px, 3.8vw, 44px); line-height: 1.05; }
.center { text-align: center; }
.section { padding-top: 72px; padding-bottom: 72px; }
.section__head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.section__head .h-section { margin: 0; }
.section__foot { margin: 24px 0 0; color: var(--ink-2); }
.band { padding: 72px 0; }
.band--light { background: var(--light); }

.bg-hex { background: var(--navy) var(--rieg-hex) no-repeat right -40px bottom -20px / 960px auto; }
.bg-hex--right { background-size: 620px auto; background-position: right 2% bottom -30px; }
.page-hero.bg-hex--right { background-size: 480px auto; background-position: right 3% bottom -24px; }

.rieg-stripe { display: flex; height: 5px; }
.rieg-stripe span { flex: 1; }
.rieg-stripe span:nth-child(1) { background: var(--red); }
.rieg-stripe span:nth-child(2) { background: var(--yellow); }
.rieg-stripe span:nth-child(3) { background: var(--green); }
.rieg-stripe span:nth-child(4) { background: var(--lblue); }
.rieg-stripe--short { height: 6px; width: 180px; margin-top: 36px; }
.rieg-stripe--short span:nth-child(4) { display: none; }

/* ---------- Botones ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 11px 24px; font-family: var(--font); font-weight: 600; font-size: 16px; line-height: 1.2;
	border: 2px solid transparent; cursor: pointer; text-decoration: none !important; transition: filter .15s, background .15s, color .15s;
}
.btn:hover { filter: brightness(1.12); }
.btn--blue { background: var(--blue); color: var(--white) !important; }
.btn--navy { background: var(--navy); color: var(--white) !important; }
.btn--red { background: var(--red); color: var(--white) !important; }
.btn--outline { border-color: var(--navy); color: var(--navy) !important; background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white) !important; filter: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Redes ---------- */

.rieg-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; align-items: center; }
.rieg-social a { display: flex; align-items: center; justify-content: center; color: inherit; }
.rieg-social--plain a { color: var(--white); width: 32px; height: 32px; }
.rieg-social--solid a { width: 44px; height: 44px; background: var(--navy); color: var(--white); }
.rieg-social--solid a:hover { background: var(--blue); }
.rieg-social--outline { margin-top: 16px; }
.rieg-social--outline a { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); color: var(--white); }
.rieg-social--outline a:hover { background: rgba(255,255,255,.1); }

/* ---------- Barra superior y encabezado ---------- */

.topbar { background: var(--navy); color: #DCE6F0; font-size: 14px; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; align-items: center; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #DCE6F0; }
.topbar__right { display: flex; align-items: center; gap: 16px; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.site-brand img, .custom-logo { height: 52px; width: auto; max-width: 100%; display: block; }
.site-brand { min-width: 0; flex: 0 1 auto; }

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; flex-wrap: nowrap; align-items: center; gap: 0 2px; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: 10px 8px; color: var(--navy); font-weight: 500; font-size: 15.5px; white-space: nowrap; text-decoration: none; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--blue); }
.site-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.site-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--white); border-top: 3px solid var(--blue);
	box-shadow: 0 14px 30px rgba(11,42,74,.14); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 60;
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { padding: 8px 18px; font-weight: 400; }
.site-nav .sub-menu a:hover { background: var(--light); }
.site-nav__cta { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: 0; color: var(--navy); width: 48px; height: 48px; cursor: pointer; }
.nav-toggle__close { display: none; }

/* ---------- Hero ---------- */

.hero { display: flex; flex-wrap: wrap; background: var(--light); }
.hero__left { flex: 1 1 420px; display: flex; flex-direction: column; min-width: 0; }
.hero__card { background: var(--white); padding: 56px 48px 48px; margin-top: 64px; position: relative; z-index: 2; box-shadow: 0 10px 30px rgba(11,42,74,.08); }
.hero__kicker { margin: 0 0 18px; color: #4A5868; font-size: 17px; }
.hero__title { margin: 0 0 28px; font-size: clamp(34px, 3.4vw, 46px); line-height: 1.08; }
.hero__aside { padding: 36px 48px 48px; color: var(--ink-2); font-size: 15.5px; }
.hero__aside p { margin: 0 0 20px; max-width: 380px; }
.hero__panel {
	flex: 2.2 1 620px; min-width: 0; min-height: 620px; margin-left: -80px; padding: 28px 32px 32px 120px;
	display: flex; flex-direction: column; justify-content: space-between; color: var(--white);
}
.ticker { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.ticker a { display: flex; gap: 14px; align-items: flex-start; color: var(--white); text-decoration: none; }
.ticker a:hover .ticker__title { text-decoration: underline; }
.ticker img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid rgba(255,255,255,.85); flex: none; }
.ticker__tipo { display: block; color: var(--sky); font-size: 13.5px; font-weight: 600; }
.ticker__title { display: block; font-family: var(--font-display); font-size: 18px; line-height: 1.2; font-weight: 500; }
.hero__stat { max-width: 300px; margin-top: 40px; }
.hero__stat strong { display: block; font-family: var(--font-display); font-size: 64px; font-weight: 700; line-height: 1; }
.hero__stat span { display: block; font-size: 17px; color: #DCE6F0; }

/* ---------- Programas ---------- */

.programs { display: flex; flex-wrap: wrap; }
.programs__intro { flex: 1 1 380px; background: var(--light); padding: 56px 48px; }
.programs__intro .h-section { font-size: 34px; margin-bottom: 14px; }
.programs__intro p { margin: 0; color: var(--ink-2); }
.programs__dark { flex: 2.2 1 640px; background: var(--navy); color: var(--white); padding: 56px 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; }
.program { display: flex; flex-direction: column; gap: 14px; }
.program__title { margin: 0; color: var(--white); font-size: 38px; font-weight: 700; }
.program__sub { margin: 0; font-size: 18px; color: #DCE6F0; }
.program__text { margin: 0; color: #C3D1DF; }
.program .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Cifras ---------- */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 72px; padding-bottom: 24px; }
.stat { border-top: 4px solid var(--blue); padding-top: 16px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 54px; font-weight: 700; color: var(--navy); line-height: 1; }
.stat span { display: block; color: var(--ink-2); margin-top: 6px; }
.stat--red { border-color: var(--red); }
.stat--yellow { border-color: var(--yellow); }
.stat--green { border-color: var(--green); }

/* ---------- Quiénes somos ---------- */

.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.about__text { flex: 1 1 520px; }
.about__text p { margin: 0 0 14px; }
.about__text .btn { margin-top: 8px; }
.about__media { flex: 1 1 320px; display: flex; justify-content: center; }
.about__media img { width: 100%; max-width: 380px; filter: drop-shadow(0 14px 28px rgba(11,42,74,.18)); }

/* ---------- Líneas ---------- */

.lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.line { background: var(--white); padding: 24px; display: flex; gap: 16px; align-items: flex-start; color: var(--navy); border-bottom: 4px solid var(--blue); }
.line__n { font-family: var(--font-display); font-size: 34px; font-weight: 700; line-height: 1; color: var(--blue); }
.line__t { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.2; }
.line--red { border-color: var(--red); } .line--red .line__n { color: var(--red); }
.line--yellow { border-color: var(--yellow); } .line--yellow .line__n { color: var(--yellow-ink); }
.line--green { border-color: var(--green); } .line--green .line__n { color: var(--green); }
.line--cta { background: var(--navy); color: var(--white); border-color: var(--navy); flex-direction: column; justify-content: center; font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.line--cta:hover { color: var(--white); background: var(--navy-2); }

/* ---------- Tarjetas ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none !important; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--light); position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .3s; }
.card__link:hover .card__media img { transform: scale(1.03); }
.card__placeholder { display: block; width: 100%; height: 100%; background-size: 640px auto; background-position: right -120px bottom -60px; }
.card__badge { position: absolute; top: 12px; left: 12px; background: var(--red); color: var(--white); font-size: 13px; font-weight: 600; padding: 4px 10px; }
.card__body { padding: 16px 18px 20px; }
.card__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.card__tipo { color: var(--blue); }
.card__title { font-size: 21px; font-weight: 500; line-height: 1.2; margin: 6px 0 0; color: var(--navy); }
.card__link:hover .card__title { color: var(--blue); }
.card__excerpt { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Filtros ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters--links { margin-bottom: 28px; }
.filter {
	font: inherit; font-size: 15px; padding: 8px 16px; min-height: 40px; cursor: pointer; border: 1px solid var(--navy);
	background: var(--white); color: var(--navy); display: inline-flex; align-items: center; gap: 6px; text-decoration: none !important;
}
.filter:hover { background: var(--light); color: var(--navy); }
.filter.is-active { background: var(--navy); color: var(--white); }
.filter__count { font-size: 12px; opacity: .75; }

/* ---------- Revista ---------- */

.journal { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.journal__cover { flex: 0 1 300px; width: 300px; max-width: 100%; box-shadow: 0 18px 40px rgba(11,42,74,.2); }
.journal__text { flex: 1 1 480px; }
.journal__text .h-section { margin-bottom: 16px; }
.checklist { margin: 0 0 24px; padding-left: 20px; color: var(--ink-2); }

/* ---------- Personas ---------- */

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.person { display: flex; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); background: var(--white); }
.person__avatar { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 22px; font-weight: 600; object-fit: cover; }
.person__name { display: block; color: var(--navy); }
.person__role { display: block; font-size: 14.5px; color: #4A5868; }
.person__country { display: block; font-size: 13.5px; color: var(--blue); font-weight: 600; }
.group + .group { margin-top: 56px; }

/* ---------- Alianzas ---------- */

.alliances { border-top: 1px solid var(--line); }
.alliances__inner { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.alliances__text { flex: 1 1 300px; }
.alliances__text p { color: var(--ink-2); margin: 0 0 24px; }
.logos { flex: 2.2 1 560px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.logos li { display: flex; }
.logo-box { flex: 1; border: 1px solid var(--line); min-height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; text-align: center; color: var(--muted); text-decoration: none !important; }
a.logo-box:hover { border-color: var(--blue); color: var(--navy); }
.logos img { max-width: 100%; max-height: 72px; object-fit: contain; }
.logos span { font-size: 12.5px; line-height: 1.25; }

/* ---------- Afiliación ---------- */

.join { color: var(--white); }
.join__inner { padding-top: 72px; padding-bottom: 72px; }
.join .h-section { color: var(--white); margin-bottom: 14px; }
.join p { margin: 0 0 22px; color: #DCE6F0; max-width: 560px; }
.tags { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 640px; }
.tags li { border: 1px solid rgba(255,255,255,.4); padding: 6px 12px; font-size: 14.5px; }

/* ---------- CEPPI ---------- */

.ceppi { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-top: 56px; padding-bottom: 56px; }
.ceppi__inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; flex: 1 1 600px; }
.ceppi__inner img { height: 96px; width: auto; }
.ceppi__inner p { margin: 0; max-width: 560px; color: var(--ink-2); flex: 1 1 300px; }

/* ---------- Páginas interiores ---------- */

.page-hero { color: var(--white); }
.page-hero .container { padding-top: 64px; padding-bottom: 56px; }
.page-hero__kicker { margin: 0 0 10px; color: var(--sky); font-weight: 600; }
.page-hero__title { margin: 0; color: var(--white); font-size: clamp(34px, 4.2vw, 54px); max-width: 860px; }
.page-hero__text { margin: 16px 0 0; max-width: 680px; color: #DCE6F0; font-size: 18px; }

.page-body { padding-top: 56px; padding-bottom: 72px; }
.page-body--narrow { max-width: 900px; }
.page-body--media { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.page-body__media { flex: 0 1 320px; }
.page-body__media img { box-shadow: 0 18px 40px rgba(11,42,74,.18); }
.page-body--media .entry-content { flex: 1 1 520px; min-width: 0; }

.entry-content { font-size: 17px; max-width: 820px; }
.entry-content h2 { font-size: 32px; margin: 1.6em 0 .5em; }
.entry-content h3 { font-size: 25px; margin: 1.4em 0 .4em; }
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 1em; }
.entry-content li { margin-bottom: .35em; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--red); font-style: italic; color: var(--ink-2); }
.entry-content .wp-block-button__link { background: var(--blue); color: var(--white); border-radius: 0; font-weight: 600; }
.entry-content img { height: auto; }
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.entry-figure { margin: 0 0 28px; }
.front-content { padding-bottom: 40px; }

.post-nav { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav .nav-links { display: flex; justify-content: space-between; gap: 24px; }

/* Evento */
.event { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 56px; padding-bottom: 72px; align-items: flex-start; }
.event__poster { flex: 1 1 420px; }
.event__poster img { width: 100%; box-shadow: 0 18px 40px rgba(11,42,74,.18); }
.event__info { flex: 1 1 420px; }
.event__facts { margin: 0 0 24px; display: grid; gap: 14px; }
.event__facts div { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.event__facts dt { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.event__facts dd { margin: 4px 0 0; font-size: 19px; color: var(--navy); }
.event .entry-content { margin-top: 24px; }

/* Paginación */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--navy); }
.pagination .page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Búsqueda */
.search-form { display: flex; gap: 8px; max-width: 520px; margin: 20px 0; }
.search-field { flex: 1; min-height: 46px; padding: 8px 14px; border: 1px solid #9AA6B4; font: inherit; }

/* Widgets y comentarios */
.widget { margin-bottom: 32px; }
.comments { margin-top: 56px; }
.comment-list { padding-left: 20px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px; border: 1px solid #9AA6B4; font: inherit; }
.comment-form .submit { background: var(--navy); color: var(--white); border: 0; padding: 12px 24px; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- Pie ---------- */

.site-footer { background: var(--navy); color: #C3D1DF; font-size: 15px; }
.site-footer a { color: #C3D1DF; }
.site-footer a:hover { color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 32px; }
.site-footer__brand img { width: 110px; height: 110px; }
.site-footer__brand p { margin: 16px 0 0; }
.site-footer__title { margin: 0 0 12px; color: var(--white); font-size: 22px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.15); font-size: 14px; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }

/* ---------- Responsivo ---------- */

@media (max-width: 1260px) {
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
		flex-direction: column; align-items: stretch; padding: 8px var(--pad) 24px; border-bottom: 1px solid var(--line);
		box-shadow: 0 14px 30px rgba(11,42,74,.12); max-height: calc(100vh - 90px); overflow-y: auto;
	}
	.site-header__inner { position: relative; }
	.nav-open .site-nav { display: flex; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.site-nav > ul { flex-direction: column; align-items: stretch; flex-wrap: wrap; }
	.site-nav a { white-space: normal; }
	.site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
	.site-nav .menu-item-has-children > a::after { display: none; }
	.site-nav__cta { margin: 16px 0 0; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 0; position: relative; }
	.topbar__text { display: none; }
	.topbar__inner { justify-content: center; }
	.site-brand img, .custom-logo { height: auto; max-height: 44px; max-width: calc(100vw - 110px); }
	.hero__card { margin-top: 0; padding: 36px var(--pad); box-shadow: none; }
	.hero__aside { padding: 24px var(--pad) 32px; }
	.hero__panel { margin-left: 0; padding: 28px var(--pad); min-height: 520px; background-size: 720px auto; background-position: right -120px bottom -10px; }
	.programs__intro, .programs__dark { padding: 44px var(--pad); }
	.program__title { font-size: 32px; }
	.section, .band { padding-top: 56px; padding-bottom: 56px; }
	.bg-hex--right, .page-hero.bg-hex--right { background-size: 420px auto; background-position: right -160px bottom -20px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ---------- Compartir ---------- */

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 24px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share__label { font-weight: 600; color: var(--navy); }
.share__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--light); color: var(--navy); border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.share__btn:hover { color: var(--white); }
.share__btn--facebook:hover { background: #1877F2; }
.share__btn--x:hover { background: #000; }
.share__btn--whatsapp:hover { background: #128C4A; }
.share__btn--linkedin:hover { background: #0A66C2; }
.share__btn--telegram:hover { background: #1C8AD0; }
.share__btn--email:hover, .share__copy:hover { background: var(--navy); }
.share__native { width: auto; padding: 0 14px; }
.share__msg { font-size: 14px; color: var(--green); }
.event__cal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 20px 0 0; color: var(--ink-2); }
.event__cal a { font-weight: 600; }
.h-section--spaced { margin-top: 64px; }
.cards--upcoming .card { border-color: var(--red); border-width: 2px; }

/* ---------- Publicaciones ---------- */

.pub-types { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.pub-type a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 22px 20px; background: var(--light); border-top: 4px solid var(--blue); color: var(--ink-2); text-decoration: none !important; }
.pub-type a:hover { background: #E7EBF0; }
.pub-type strong { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--navy); line-height: 1.1; }
.pub-type span { font-size: 15px; }
.pub-type em { font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--blue); margin-top: auto; padding-top: 6px; }
.pub-type--red a { border-color: var(--red); }
.pub-type--yellow a { border-color: var(--yellow); }
.pub-type--green a { border-color: var(--green); }
.cards--pubs { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card__media--cover { aspect-ratio: 3 / 4; }
.pub-cover { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; width: 100%; height: 100%; padding: 22px; background: var(--navy); color: var(--white); position: relative; }
.pub-cover .rieg-stripe { position: absolute; left: 0; right: 0; top: 0; }
.pub-cover__tipo { font-size: 13px; font-weight: 600; color: var(--sky); text-transform: uppercase; letter-spacing: .06em; }
.pub-cover__title { font-family: var(--font-display); font-size: 22px; line-height: 1.15; font-weight: 600; }
.pub-cover--lg { aspect-ratio: 3 / 4; padding: 36px; }
.pub-cover--lg .pub-cover__title { font-size: 34px; }
.card__pdf { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--white); background: var(--red); padding: 2px 8px; }
.event__poster--cover { flex: 0 1 380px; }
.empty { color: var(--ink-2); font-size: 18px; }
