/*
Theme Name: INFO EN CLARO
Theme URI: https://www.instagram.com/info_en_claro/
Author: INFO EN CLARO
Description: Tema editorial para el periódico digital INFO EN CLARO. Portada de periódico con última hora y secciones, página de noticia con fuentes y relacionadas, datos estructurados NewsArticle, sitemap de Google News, espacios publicitarios configurables y páginas legales. Ligero, rápido y sin dependencias externas.
Version: 1.1.0
Requires at least: 6.3
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: infoenclaro
Tags: news, blog, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, translation-ready
*/

/* =========================================================================
   Fuentes (alojadas en el propio servidor)
   ====================================================================== */
@font-face {
	font-family: "Source Serif 4";
	src: url("assets/fonts/source-serif-4.woff2") format("woff2");
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Serif 4";
	src: url("assets/fonts/source-serif-4-italic.woff2") format("woff2");
	font-weight: 200 900;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("assets/fonts/inter.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* =========================================================================
   Variables
   ====================================================================== */
:root {
	--red: #cf0a1e;
	--red-dark: #a8081a;
	--ink: #111111;
	--ink-2: #2b2b2b;
	--muted: #646464;
	--line: #e3e0db;
	--line-strong: #cfcac2;
	--soft: #f6f4f0;
	--paper: #ffffff;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1240px;
	--gutter: 16px;
}
@media (min-width: 640px) {
	:root { --gutter: 24px; }
}

/* =========================================================================
   Base
   ====================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--serif);
	font-size: 18px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { margin: 0; font-weight: 750; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

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

.screen-reader-text {
	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:focus {
	clip: auto; width: auto; height: auto;
	top: 8px; left: 8px; z-index: 1000;
	padding: 10px 16px;
	background: var(--ink); color: #fff;
	font-family: var(--sans); font-weight: 700;
}

/* =========================================================================
   Cabecera
   ====================================================================== */
.topbar { border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.topbar__social { list-style: none; display: flex; gap: 16px; }
.topbar__social a { font-weight: 600; color: var(--ink-2); }
.topbar__social a:hover { color: var(--red); }

.masthead { text-align: center; padding-top: 22px; padding-bottom: 16px; }
.masthead__brand { margin: 0; display: flex; justify-content: center; }
.masthead__brand img { max-height: 110px; width: auto; }
.masthead__tagline {
	margin-top: 10px;
	font-family: var(--sans); font-size: 12px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}

@media (max-width: 639px) {
	.masthead { padding-top: 14px; padding-bottom: 12px; }
	.masthead__tagline { display: none; }
	.topbar__inner { min-height: 32px; }
}

/* Marca: logotipo horizontal «infoenclaro» + lema */
.wordmark { display: inline-flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); color: var(--ink); line-height: 1; max-width: 100%; }
.wordmark:hover { color: var(--ink); }
.wordmark__type { display: inline-flex; flex-direction: column; align-items: center; min-width: 0; }
.wordmark__name {
	font-family: var(--serif);
	font-weight: 800;
	font-size: clamp(50px, 11.5vw, 132px);
	letter-spacing: -.035em;
	line-height: .9;
	white-space: nowrap;
}
.wordmark__info { color: var(--red); }
.wordmark__enclaro { color: var(--ink); }
.wordmark__slogan {
	display: block;
	margin-top: clamp(8px, 1vw, 12px);
	padding-top: clamp(6px, .8vw, 10px);
	border-top: 2px solid var(--ink);
	font-family: var(--sans);
	font-size: clamp(10px, 1.45vw, 17px);
	font-weight: 850;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink);
	white-space: nowrap;
}
.masthead__emblem {
	flex: none;
	width: clamp(64px, 10vw, 128px); height: auto; aspect-ratio: 1;
	filter: drop-shadow(0 3px 8px rgba(0,0,0,.18));
}
.wordmark--emblema .masthead__emblem { width: clamp(88px, 11vw, 132px); }
.wordmark--horizontal-emblema .wordmark__name { font-size: clamp(40px, 9.5vw, 112px); }
@media (max-width: 479px) {
	.wordmark--horizontal-emblema .masthead__emblem { width: 52px; }
	.wordmark--horizontal-emblema .wordmark__name { font-size: 40px; }
	.wordmark--horizontal-emblema .wordmark__slogan { font-size: 8.5px; letter-spacing: .03em; }
	.wordmark__slogan { font-size: 10.5px; letter-spacing: .03em; }
}

/* Menú de secciones */
.nav {
	position: sticky; top: 0; z-index: 60;
	background: var(--paper);
	border-top: 1px solid var(--ink);
	border-bottom: 3px solid var(--ink);
	font-family: var(--sans);
}
.admin-bar .nav { top: 46px; }
@media (min-width: 783px) { .admin-bar .nav { top: 32px; } }
.nav.is-stuck { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.nav__inner { display: flex; align-items: center; gap: 12px; min-height: 50px; }

.nav__mini {
	display: none;
	font-family: var(--serif); font-weight: 800; font-size: 23px;
	color: var(--ink); letter-spacing: -.03em; white-space: nowrap;
	padding-right: 14px; margin-right: 4px; border-right: 1px solid var(--line);
}
.nav__mini span { color: var(--red); }
.nav.is-stuck .nav__mini { display: inline-block; }

.nav__menu { flex: 1; display: flex; align-items: center; gap: 4px; }
.nav__list { list-style: none; display: flex; flex-wrap: wrap; }
.nav__list a, .nav__breaking {
	display: block;
	padding: 14px 12px 12px;
	font-size: 13.5px; font-weight: 750;
	letter-spacing: .05em; text-transform: uppercase;
	border-bottom: 3px solid transparent;
	margin-bottom: -3px;
}
.nav__list .current-menu-item > a,
.nav__list .current-category-ancestor > a,
.nav__list .current-post-ancestor > a,
.nav__list a:hover { color: var(--red); border-bottom-color: var(--red); }
.nav__breaking { color: var(--red); margin-left: auto; }
.nav__breaking::before {
	content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
	background: var(--red); margin-right: 7px; vertical-align: 2px;
}

.nav__toggle, .nav__search-btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: none; border: 0; cursor: pointer;
	padding: 10px 6px; font-weight: 750; font-size: 13px; text-transform: uppercase; letter-spacing: .05em;
}
.nav__toggle { display: none; }
.nav__burger, .nav__burger::before, .nav__burger::after {
	display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
}
.nav__burger::before, .nav__burger::after { content: ""; position: absolute; left: 0; }
.nav__burger::before { top: -6px; }
.nav__burger::after { top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__burger { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__burger::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__burger::after { transform: translateY(-6px) rotate(-45deg); }

.search-panel { border-top: 1px solid var(--line); padding: 14px 0; background: var(--soft); }

@media (max-width: 1023px) {
	.nav__toggle { display: inline-flex; }
	.nav__inner { justify-content: space-between; }
	.nav.is-stuck .nav__mini { order: 0; border-right: 0; }
	.nav__menu {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--paper);
		border-bottom: 3px solid var(--ink);
		box-shadow: 0 16px 30px rgba(0,0,0,.12);
		padding: 6px var(--gutter) 14px;
	}
	.nav__menu.is-open { display: flex; }
	.nav__list { flex-direction: column; }
	.nav__list a, .nav__breaking { padding: 14px 2px; border-bottom: 1px solid var(--line); margin: 0; font-size: 15px; }
	.nav__breaking { margin-left: 0; }
}

/* Franja de última hora */
.breaking { background: var(--ink); color: #fff; font-family: var(--sans); }
.breaking__inner { display: flex; align-items: stretch; gap: 14px; min-height: 44px; }
.breaking__label {
	flex: none; display: inline-flex; align-items: center; gap: 8px;
	padding: 0 14px;
	background: var(--red);
	font-size: 12.5px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase;
	color: #fff;
}
@media (max-width: 639px) { .breaking .wrap { padding-left: 0; } }
.breaking__list { align-self: center; }
.breaking__label:hover { color: #fff; text-decoration: underline; }
.breaking__dot {
	width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none;
	animation: iec-pulse 1.6s ease-in-out infinite;
}
.breaking__list {
	list-style: none; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
	font-size: 14.5px; font-weight: 600;
}
.breaking__list::-webkit-scrollbar { display: none; }
.breaking__list li { white-space: nowrap; padding: 0 16px; border-left: 1px solid rgba(255,255,255,.25); }
.breaking__list li:first-child { border-left: 0; padding-left: 0; }
.breaking__list a { color: #fff; }
.breaking__list a:hover { color: #fff; text-decoration: underline; }
@keyframes iec-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .breaking__dot { animation: none; } }

/* =========================================================================
   Publicidad (solo aparece si hay código configurado)
   ====================================================================== */
.ad { margin: 22px auto; text-align: center; }
.ad__label {
	display: block; margin-bottom: 6px;
	font-family: var(--sans); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #8a8a8a;
}
.ad__inner { min-height: 90px; display: flex; justify-content: center; align-items: center; }
.ad--articulo_medio { margin: 30px 0; padding: 14px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ad--articulo_medio .ad__inner { min-height: 250px; }
.ad--lateral .ad__inner { min-height: 250px; }

/* =========================================================================
   Tarjetas
   ====================================================================== */
.kicker {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	margin-bottom: 7px;
	font-family: var(--sans); font-size: 11.5px; font-weight: 800;
	letter-spacing: .07em; text-transform: uppercase; color: var(--red);
}
.kicker a:hover { color: var(--red-dark); text-decoration: underline; }
.kicker__live { background: var(--red); color: #fff; padding: 3px 7px 2px; letter-spacing: .06em; }

.card { position: relative; }
.card__media { display: block; overflow: hidden; background: var(--soft); margin-bottom: 12px; }
.card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
.card:hover .card__media img { transform: scale(1.025); }
.card__title { font-family: var(--serif); font-weight: 750; letter-spacing: -.01em; }
.card__title a:hover { color: var(--red); }
.card__excerpt { margin-top: 9px; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.card__meta {
	margin-top: 8px; display: flex; flex-wrap: wrap; gap: 10px;
	font-family: var(--sans); font-size: 12.5px; color: var(--muted);
}
.card__author { font-weight: 700; color: var(--ink-2); }

.card--lead .card__media { margin-bottom: 16px; }
.card--lead .card__title { font-size: clamp(29px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.02em; font-weight: 800; }
.card--lead .card__excerpt { font-size: clamp(17px, 1.5vw, 19.5px); margin-top: 12px; }

.card--standard .card__title { font-size: 21px; line-height: 1.18; }

.card--compact { padding-top: 14px; border-top: 1px solid var(--line); }
.card--compact .card__title { font-size: 19px; line-height: 1.2; }

.card--row { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.card--row .card__media { order: 2; margin: 0; }
.card--row .card__media img { aspect-ratio: 4 / 3; }
.card--row:not(.has-img) { grid-template-columns: 1fr; }
.card--row .card__title { font-size: 18px; line-height: 1.22; }

.card--list { padding: 20px 0; border-top: 1px solid var(--line); }
.card--list .card__title { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.18; }
@media (min-width: 640px) {
	.card--list.has-img { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; }
	.card--list .card__media { margin: 0; }
}

/* =========================================================================
   Portada
   ====================================================================== */
.front-top { display: grid; gap: 28px; padding-top: 26px; padding-bottom: 10px; }
.front-top__secondary { display: grid; gap: 16px; align-content: start; }
.front-top__secondary .card--standard .card__title { font-size: 22px; }
@media (min-width: 640px) and (max-width: 1023px) {
	.front-top { grid-template-columns: 1fr 1fr; }
	.front-top__lead { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
	.front-top { grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr) minmax(0, .95fr); gap: 0; }
	.front-top > * { padding: 0 24px; }
	.front-top > *:first-child { padding-left: 0; }
	.front-top > *:last-child { padding-right: 0; }
	.front-top > * + * { border-left: 1px solid var(--line); }
}

.live-list__title {
	display: flex; align-items: center; gap: 8px;
	padding: 10px 0 10px;
	border-top: 4px solid var(--ink);
	font-family: var(--sans); font-size: 14px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase;
}
.live-list.is-live .live-list__title { border-top-color: var(--red); color: var(--red); }
.live-list__items { list-style: none; counter-reset: none; }
.live-list__items li { padding: 12px 0; border-top: 1px solid var(--line); display: grid; gap: 3px; }
.live-list__items time {
	font-family: var(--sans); font-size: 12px; font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums;
}
.live-list__items a { font-weight: 650; font-size: 16.5px; line-height: 1.28; }
.live-list__more {
	display: inline-block; margin-top: 8px;
	font-family: var(--sans); font-size: 13px; font-weight: 750; color: var(--red);
}

.block { padding-top: 34px; padding-bottom: 10px; }
.block-head {
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
	padding-top: 10px; margin-bottom: 18px;
	border-top: 4px solid var(--ink);
	font-family: var(--sans);
}
.block-head__title { font-family: var(--sans); font-size: 17px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.block-head__title::before {
	content: ""; display: inline-block; width: 10px; height: 10px; background: var(--red);
	margin-right: 10px; vertical-align: 1px;
}
.block-head__more { font-size: 13px; font-weight: 700; color: var(--red); white-space: nowrap; }

.grid-4 { display: grid; gap: 26px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.section-grid { display: grid; gap: 10px 32px; }
.section-grid__rest > .card--row:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 767px) { .section-grid__rest > .card--row:first-child { border-top: 1px solid var(--line); padding-top: 14px; } }
@media (min-width: 768px) {
	.section-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
	.section-grid__main .card__title { font-size: 26px; line-height: 1.12; }
}

.empty-front { padding: 70px var(--gutter) 90px; max-width: 760px; text-align: center; }
.empty-front .kicker { justify-content: center; }
.empty-front h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.empty-front p { color: var(--ink-2); }
.empty-front a, .entry-content a, .error-404 a:not(.card *) { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================================
   Noticia
   ====================================================================== */
.article-layout { display: grid; gap: 40px; padding-top: 26px; padding-bottom: 20px; }
@media (min-width: 1100px) {
	.article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
	.article { max-width: 780px; }
}

.crumbs { margin-bottom: 14px; font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li[aria-current] { display: none; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line-strong); }
.crumbs a:hover { color: var(--red); }

.article__title {
	font-family: var(--serif); font-weight: 800;
	font-size: clamp(31px, 4.6vw, 52px); line-height: 1.07; letter-spacing: -.02em;
}
.article__standfirst {
	margin-top: 16px;
	font-size: clamp(19px, 1.9vw, 22px); line-height: 1.45; color: var(--ink-2); font-weight: 400;
}

.byline {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
	margin-top: 22px; padding: 14px 0;
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	font-family: var(--sans); font-size: 13.5px;
}
.byline__author { display: flex; align-items: center; gap: 12px; }
.avatar { border-radius: 50%; flex: none; }
.avatar--initials {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--ink); color: #fff; font-family: var(--sans); font-weight: 800; letter-spacing: .02em;
}
.byline__name { display: block; font-weight: 800; font-size: 15px; }
.byline__name:hover { color: var(--red); }
.byline__role { display: block; color: var(--muted); font-size: 12.5px; }
.byline__dates { display: grid; gap: 2px; color: var(--muted); text-align: right; }
@media (max-width: 639px) { .byline__dates { text-align: left; } }

.article__figure { margin: 24px 0 0; }
.article__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--soft); }
.article__figure figcaption {
	margin-top: 8px; font-family: var(--sans); font-size: 13px; color: var(--muted); line-height: 1.45;
}
.article__credit { display: inline-block; margin-left: 6px; text-transform: uppercase; font-size: 11px; letter-spacing: .05em; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 6px; font-family: var(--sans); }
.share__label { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.share__btn {
	display: inline-block; padding: 7px 12px;
	border: 1px solid var(--line-strong); background: var(--paper); cursor: pointer;
	font-size: 12.5px; font-weight: 700; line-height: 1.2; color: var(--ink);
}
.share__btn:hover { border-color: var(--ink); color: var(--ink); background: var(--soft); }

.entry-content { font-size: 19.5px; line-height: 1.7; margin-top: 22px; }
@media (max-width: 639px) { .entry-content { font-size: 18px; } }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 27px; margin-top: 1.6em; letter-spacing: -.01em; }
.entry-content h3 { font-size: 22px; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote {
	margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px;
	border-left: 4px solid var(--red); font-style: italic; font-size: 1.12em; color: var(--ink-2);
}
.entry-content blockquote cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .entry-content .wp-element-caption { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 8px; }
.entry-content strong { font-weight: 750; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; }
.entry-content .wp-block-embed { margin-left: 0; margin-right: 0; }

.sources { margin-top: 34px; padding: 18px 22px; background: var(--soft); border-left: 4px solid var(--red); }
.sources__title { font-family: var(--sans); font-size: 12.5px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.sources ul { list-style: none; font-family: var(--sans); font-size: 14.5px; }
.sources li { padding: 4px 0; }
.sources li::before { content: "—"; color: var(--red); margin-right: 8px; }
.sources a { text-decoration: underline; text-underline-offset: 2px; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; font-family: var(--sans); }
.tags a { display: inline-block; padding: 6px 11px; background: var(--soft); font-size: 12.5px; font-weight: 700; }
.tags a:hover { background: var(--ink); color: #fff; }

.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 14.5px; color: var(--ink-2); }
.author-box img { border-radius: 50%; flex: none; }
.author-box__name { font-weight: 800; font-size: 16px; margin-bottom: 4px; color: var(--ink); }

.related { padding-top: 20px; padding-bottom: 40px; }

/* Comunidad en Instagram */
.community {
	display: grid; gap: 22px 40px; align-items: center;
	margin-top: 34px; padding: 26px 0 18px;
	border-top: 4px solid var(--ink); border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .community { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); } }
.community__title { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.015em; }
.community__desc { margin-top: 8px; color: var(--ink-2); font-size: 17.5px; }
.community__desc a { color: var(--red); font-weight: 700; }
.community__btn {
	display: inline-block; margin-top: 14px; padding: 11px 18px;
	background: var(--ink); color: #fff;
	font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.community__btn:hover { background: var(--red); color: #fff; }
.community__stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr); gap: 0; margin: 0; }
.community__stat { padding: 4px 18px; border-left: 1px solid var(--line); }
.community__stat:first-child { border-left: 0; padding-left: 0; }
.community__stat dt {
	order: 2; font-family: var(--sans); font-size: 12.5px; font-weight: 700; color: var(--muted); line-height: 1.35;
}
.community__stat { display: flex; flex-direction: column; gap: 6px; }
.community__stat dd { order: 1; }
.community__stat dd {
	margin: 0; font-family: var(--serif); font-weight: 800; color: var(--red);
	font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -.02em;
}
@media (max-width: 639px) {
	.community__stats { grid-template-columns: 1fr; gap: 14px; }
	.community__stat { padding: 0 0 14px; border-left: 0; border-bottom: 1px solid var(--line); }
	.community__stat:last-child { border-bottom: 0; }
}
.community__note { grid-column: 1 / -1; font-family: var(--sans); font-size: 12px; color: var(--muted); }
.entry-content .community { margin-top: 28px; grid-template-columns: 1fr; }
.entry-content .community__btn, .entry-content .community a.community__btn { color: #fff; text-decoration: none; }

/* Bloque Instagram */
.follow {
	display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px;
	margin-top: 30px; padding: 16px 18px;
	border: 1px solid var(--line); border-top: 3px solid var(--ink);
	font-family: var(--sans);
}
.follow__icon { width: 44px; height: 44px; color: var(--red); justify-self: center; }
.follow__title { font-family: var(--serif); font-weight: 750; font-size: 18px; line-height: 1.2; }
.follow__desc { margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.follow__desc strong { color: var(--ink); }
.follow__btn {
	padding: 10px 16px; background: var(--red); color: #fff;
	font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.follow__btn:hover { background: var(--ink); color: #fff; }
.follow--sidebar { grid-template-columns: 48px minmax(0, 1fr); margin-top: 0; }
.follow--sidebar .follow__btn { grid-column: 1 / -1; text-align: center; }
@media (max-width: 479px) {
	.follow { grid-template-columns: 48px minmax(0, 1fr); }
	.follow__btn { grid-column: 1 / -1; text-align: center; }
}

/* Columna lateral */
.sidebar { display: grid; gap: 28px; align-content: start; }
@media (min-width: 1100px) {
	.sidebar__sticky { position: sticky; top: 76px; }
}

/* =========================================================================
   Secciones, búsqueda, última hora, páginas
   ====================================================================== */
.archive-head { padding-top: 26px; padding-bottom: 6px; }
.archive-head__title { font-family: var(--serif); font-weight: 800; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.02em; line-height: 1.05; }
.archive-head__page { font-size: .45em; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.archive-head__desc { margin-top: 12px; max-width: 720px; color: var(--ink-2); font-size: 18px; }
.archive-head__search { margin-top: 18px; max-width: 620px; }
.archive-head--author img { border-radius: 50%; margin-bottom: 14px; }
.article-layout--archive { padding-top: 10px; }
.archive-list > .card--lead { padding-bottom: 24px; }
.empty { padding: 30px 0; color: var(--muted); font-size: 18px; }

.pagination { margin: 26px 0 10px; font-family: var(--sans); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers {
	display: inline-block; min-width: 40px; padding: 9px 12px; text-align: center;
	border: 1px solid var(--line-strong); font-size: 14px; font-weight: 700;
}
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--red); color: var(--red); }

.timeline { list-style: none; }
.timeline__day {
	margin-top: 26px; padding: 8px 0;
	border-bottom: 2px solid var(--ink);
	font-family: var(--sans); font-size: 13px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase;
}
.timeline__day:first-child { margin-top: 0; }
.timeline__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline__time { font-family: var(--sans); font-weight: 850; color: var(--red); font-variant-numeric: tabular-nums; padding-top: 1px; }
.timeline__title { font-size: 21px; line-height: 1.22; }
.timeline__item p:not(.kicker) { margin-top: 6px; color: var(--ink-2); font-size: 16.5px; }

.page-article { max-width: 820px; padding-top: 26px; padding-bottom: 60px; }
.page-article__updated { margin-top: 30px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.iec-pendiente { padding: 14px 18px; background: #fff5e6; border-left: 4px solid #b06a00; font-family: var(--sans); font-size: 15px !important; line-height: 1.5 !important; }

.error-404 { padding-top: 50px; padding-bottom: 60px; }
.error-404 > p { margin: 16px 0 20px; font-size: 19px; }
.error-404 .search-form { max-width: 620px; }

/* =========================================================================
   Formularios
   ====================================================================== */
.search-form { display: flex; gap: 8px; }
.search-form__input {
	flex: 1; min-width: 0; padding: 12px 14px;
	border: 1px solid var(--line-strong); background: #fff; border-radius: 0;
	font-family: var(--sans); font-size: 16px;
}
.search-form__input:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.search-form__btn, .button {
	padding: 12px 20px; border: 0; cursor: pointer;
	background: var(--ink); color: #fff;
	font-family: var(--sans); font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.search-form__btn:hover, .button:hover { background: var(--red); }

.contact-form { margin-top: 10px; font-family: var(--sans); font-size: 16px; line-height: 1.45; }
.contact-form > form > * + * { margin-top: 16px; }
.contact-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); background: #fff; border-radius: 0; font-size: 16px;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.contact-form__consent label { font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.contact-form__consent input { margin-top: 4px; }
.contact-form__legal { font-size: 12.5px; color: var(--muted); }
.contact-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__notice { padding: 12px 16px; font-weight: 600; }
.contact-form__notice--ok { background: #eaf6ec; border-left: 4px solid #2e7d32; }
.contact-form__notice--error { background: #fdecec; border-left: 4px solid var(--red); }

/* =========================================================================
   Pie
   ====================================================================== */
.site-footer { margin-top: 50px; background: var(--ink); color: #cfcbc4; font-family: var(--sans); font-size: 14px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ff8a8a; }
.site-footer__grid { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 36px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer__logo {
	display: inline-block; margin-bottom: 12px;
	font-family: var(--serif); font-weight: 800; font-size: 40px; letter-spacing: -.035em; line-height: 1; color: #fff;
}
.site-footer__logo span { color: var(--red); }
.site-footer__logo:hover { color: #fff; }
.site-footer__brand p { max-width: 320px; line-height: 1.55; }
.site-footer__title { font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; color: #8f8a83; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer__bottom { border-top: 1px solid #2c2c2c; padding: 16px 0; font-size: 12.5px; color: #8f8a83; }

/* =========================================================================
   Bloques del editor
   ====================================================================== */
.alignwide { margin-left: 0; margin-right: 0; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
@media (max-width: 639px) { .alignleft, .alignright { float: none; margin: 0; max-width: 100%; } }
.wp-caption-text { font-family: var(--sans); font-size: 13px; color: var(--muted); }

/* =========================================================================
   Impresión
   ====================================================================== */
@media print {
	.topbar, .nav, .breaking, .ad, .share, .sidebar, .related, .site-footer { display: none !important; }
	body { font-size: 12pt; }
	.article-layout { display: block; }
}
