/*
Theme Name: MCN – Mi Comunidad de Noticias
Theme URI: https://mcn-comglobal.com
Author: MCN
Description: Tema periodístico para MCN: portada de noticias, notas con datos estructurados para Google, espacios para AdSense, secciones de video de YouTube (TV en vivo, MCN Culinario, MCN y las Finanzas, Consejos financieros), recuadro de X, cotizaciones, clima, hora y encuesta del día.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
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: mcn
*/

/* ---------- Variables ---------- */
:root {
	--ink: #0F1B2D;
	--black: #000000;
	--accent: #D12A1B;
	--accent-dark: #A81F13;
	--slate: #3A4658;
	--muted: #5B6778;
	--line: #DCE2EA;
	--mist: #EEF1F5;
	--paper: #FFFFFF;
	--culinary: #B4540A;
	--culinary-bg: #F8F1EA;
	--finance: #0B6A50;
	--finance-bg: #F2F6F4;
	--font-display: "Archivo", "Arial Narrow", sans-serif;
	--font-ui: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-read: "Source Serif 4", Georgia, serif;
	--wrap: 1280px;
	--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(--font-ui);
	font-size: 16px;
	line-height: 1.5;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; }
button { font: inherit; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; clip-path: none;
	background: var(--paper); padding: 12px 16px; z-index: 1000;
}
.mcn-wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mcn-main { padding-top: 28px; padding-bottom: 56px; }
.mcn-icon { display: block; }

/* ---------- Botones y etiquetas ---------- */
.mcn-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
	padding: 0 18px; border-radius: 4px; border: 1px solid transparent; cursor: pointer;
	font-weight: 700; font-size: 14px; line-height: 1;
}
.mcn-btn--dark { background: var(--ink); color: #fff; }
.mcn-btn--dark:hover { background: var(--black); color: #fff; }
.mcn-btn--accent { background: var(--accent); color: #fff; }
.mcn-btn--accent:hover { background: var(--accent-dark); color: #fff; }
.mcn-btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.mcn-iconbtn {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line); background: var(--paper); border-radius: 4px; cursor: pointer; color: var(--ink);
}
.mcn-tag {
	display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 12px;
	text-transform: uppercase; letter-spacing: .8px; padding: 5px 8px; white-space: nowrap;
}
.mcn-tag--accent { background: var(--accent); color: #fff; }
.mcn-kicker {
	display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 12px;
	text-transform: uppercase; letter-spacing: .8px; color: var(--accent);
}
a.mcn-kicker:hover { color: var(--accent-dark); }
.mcn-link-arrow { font-weight: 700; font-size: 14px; padding: 12px 0; }
.mcn-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mcn-pills a {
	display: inline-block; font-size: 13px; font-weight: 700; padding: 7px 11px;
	background: var(--mist); border-radius: 999px;
}

/* ---------- Logo ---------- */
.mcn-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--black); }
.mcn-logo:hover { color: var(--black); }
.mcn-logo__mark {
	display: inline-block; background: var(--black); color: #fff;
	font-family: var(--font-display); font-weight: 900; font-stretch: 75%;
	font-size: 40px; line-height: 1; padding: 6px 10px 4px; letter-spacing: -.5px;
}
.mcn-logo__name {
	display: flex; flex-direction: column; font-family: var(--font-display);
	text-transform: uppercase; letter-spacing: .5px; font-size: 19px; line-height: 1.05;
}
.mcn-logo__name span:first-child { font-weight: 800; }
.mcn-logo__name span:last-child { font-weight: 500; }
.mcn-logo--inverse { color: #fff; }
.mcn-logo--inverse:hover { color: #fff; }
.mcn-logo--inverse .mcn-logo__mark { background: #fff; color: var(--black); font-size: 28px; padding: 5px 8px 3px; }
.mcn-logo--inverse .mcn-logo__name { font-size: 15px; }

/* ---------- Barra superior y cabecera ---------- */
.mcn-topbar { background: var(--ink); color: #C9D2DE; font-size: 13px; }
.mcn-topbar__inner { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.mcn-topbar__left { display: flex; flex-wrap: wrap; gap: 16px; }
.mcn-topbar__muted { color: #9AA6B6; }
.mcn-topbar__social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.mcn-topbar a { color: #C9D2DE; }
.mcn-topbar a:hover { color: #fff; }

.mcn-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.mcn-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.mcn-header__title { margin: 0; font-size: inherit; }
.mcn-header__actions { display: flex; gap: 12px; align-items: center; }
.mcn-header__menu { display: none; }
.mcn-searchbar { border-top: 1px solid var(--line); padding: 14px 0; background: var(--mist); }
.mcn-search { display: flex; gap: 10px; flex-wrap: wrap; }
.mcn-search input[type="search"] {
	flex: 1 1 240px; min-height: 48px; padding: 0 14px; border: 1px solid #A9B3C1;
	border-radius: 4px; font: inherit; font-size: 16px; background: #fff;
}

.mcn-nav { border-bottom: 3px solid var(--ink); background: var(--paper); }
.mcn-nav__list {
	list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px;
	font-family: var(--font-display); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .4px;
}
.mcn-nav__list a { display: block; padding: 14px 12px; }
.mcn-nav__list .current-menu-item > a,
.mcn-nav__list .current-category-ancestor > a,
.mcn-nav__list .current-post-ancestor > a { box-shadow: inset 0 -3px 0 var(--accent); }
.mcn-nav__list .is-live > a, .mcn-nav__list .mcn-live > a { color: var(--accent); }

.mcn-ticker { background: var(--mist); }
.mcn-ticker__inner { display: flex; gap: 14px; align-items: center; padding-top: 10px; padding-bottom: 10px; font-size: 14px; }
.mcn-ticker__inner a { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* ---------- Publicidad ---------- */
.mcn-ad { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
.mcn-ad__label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #6B7686; }
.mcn-ad ins { width: 100%; }
.mcn-ad--leaderboard ins { max-width: 970px; min-height: 90px; }
.mcn-ad--rect ins { min-height: 250px; }
.mcn-ad--tall ins { min-height: 600px; }
.mcn-ad--article { margin: 32px 0; }
.mcn-ad--placeholder .mcn-ad__box {
	width: 100%; max-width: 728px; min-height: 90px; padding: 16px; border: 1px dashed #A9B3C1; background: #F6F8FA;
	display: flex; align-items: center; justify-content: center; text-align: center; color: #6B7686; font-size: 13px;
}
.mcn-ad--rect.mcn-ad--placeholder .mcn-ad__box { max-width: 300px; min-height: 250px; }
.mcn-ad--tall.mcn-ad--placeholder .mcn-ad__box { max-width: 300px; min-height: 600px; }
.mcn-ad-top:not(:empty) { padding-top: 24px; }

/* ---------- Títulos de sección ---------- */
.mcn-section-title {
	border-top: 3px solid var(--ink); padding-top: 12px; margin-bottom: 20px;
	font-weight: 900; font-stretch: 80%; font-size: 28px; text-transform: uppercase; display: flex; align-items: center; gap: 10px;
}
.mcn-section-title a { color: inherit; }
.mcn-section-title--sm { font-size: 22px; margin-bottom: 8px; }
.mcn-section-title--light { color: #fff; border-top-color: transparent; padding-top: 0; }
.mcn-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; border-top: 3px solid var(--ink); margin-bottom: 20px; }
.mcn-section-head .mcn-section-title { border: 0; margin: 0; }

/* ---------- Tarjetas ---------- */
.mcn-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mcn-card__media { display: block; aspect-ratio: 3 / 2; background: #CBD3DE; overflow: hidden; }
.mcn-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.mcn-card:hover .mcn-card__media img { transform: scale(1.03); }
.mcn-card__noimg { display: block; width: 100%; height: 100%; background: var(--mist); }
.mcn-card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mcn-card__title { font-weight: 700; font-size: 20px; line-height: 1.2; }
.mcn-card__meta { margin: 0; font-size: 13px; color: var(--muted); }
.mcn-card__excerpt { margin: 0; font-size: 19px; line-height: 1.5; color: var(--slate); max-width: 720px; }

.mcn-card--lead { gap: 16px; }
.mcn-card--lead .mcn-card__media { aspect-ratio: 16 / 9; }
.mcn-card--lead .mcn-card__title { font-weight: 800; font-stretch: 80%; font-size: clamp(32px, 4vw, 52px); line-height: 1.02; letter-spacing: -.5px; }
.mcn-card--lead .mcn-card__meta { font-size: 14px; }
.mcn-card--lead .mcn-card__meta strong { color: var(--ink); }

.mcn-card--side { flex-direction: row; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mcn-card--side:first-child { padding-top: 0; }
.mcn-card--side .mcn-card__media { flex: 0 0 112px; height: 76px; aspect-ratio: auto; }
.mcn-card--side .mcn-card__title { font-size: 18px; }

/* ---------- Diseño de columnas ---------- */
.mcn-hero { display: flex; flex-wrap: wrap; gap: 32px; }
.mcn-hero__lead { flex: 999 1 560px; min-width: 0; }
.mcn-hero__side { flex: 1 1 320px; min-width: 0; }
.mcn-columns { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 48px; }
.mcn-columns__main { flex: 999 1 560px; min-width: 0; }
.mcn-columns__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.mcn-article.mcn-columns__main { max-width: 820px; }
.mcn-sticky { position: sticky; top: 16px; }
.mcn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 24px; }
.mcn-grid--3 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.mcn-grid__full { grid-column: 1 / -1; }
.mcn-catblock { margin-top: 48px; }
.mcn-catblock .mcn-section-title { font-size: 26px; }

/* ---------- Lo más leído ---------- */
.mcn-popular { list-style: none; margin: 0; padding: 0; }
.mcn-popular li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mcn-popular__n { font-family: var(--font-display); font-weight: 900; font-stretch: 75%; font-size: 36px; line-height: 1; color: var(--accent); min-width: 28px; }
.mcn-popular a { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.25; }

/* ---------- Recuadro X ---------- */
.mcn-xbox { border: 1px solid var(--line); }
.mcn-xbox__head { background: var(--black); color: #fff; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; }
.mcn-xbox__head h2 { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .5px; }
.mcn-xbox__head a { color: #fff; font-size: 13px; font-weight: 600; padding: 8px 0; }
.mcn-xbox .mcn-pills { padding: 12px 16px; }
.mcn-xbox__timeline { padding: 0 16px 16px; min-height: 120px; }
.mcn-xbox__timeline > a { font-weight: 700; }

/* ---------- Datos del día ---------- */
.mcn-gadgets { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.mcn-gadget { border: 1px solid var(--line); border-top: 4px solid var(--ink); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.mcn-gadget--fx { border-top-color: var(--finance); }
.mcn-gadget--weather { border-top-color: #1F4FD8; }
.mcn-gadget--poll { border-top-color: var(--accent); }
.mcn-gadget__title { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; }
.mcn-gadget__rows { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.mcn-gadget__rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; border-bottom: 1px solid var(--mist); padding-bottom: 6px; }
.mcn-gadget__rows dt { color: var(--slate); }
.mcn-gadget__rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.mcn-gadget__note { margin: 0; font-size: 12px; color: var(--muted); }
.mcn-gadget fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mcn-poll__q { font-weight: 700; font-size: 16px; line-height: 1.3; padding: 0; margin-bottom: 4px; }
.mcn-poll__opt { display: grid; grid-template-columns: 18px 1fr; gap: 4px 10px; align-items: center; font-size: 15px; min-height: 32px; cursor: pointer; }
.mcn-poll__opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.mcn-poll__bar { display: none; grid-column: 2; height: 22px; background: var(--mist); position: relative; }
.mcn-poll__bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--pct, 0%); background: #C7CFDA; }
.mcn-poll__bar span { position: relative; font-size: 12px; font-weight: 700; padding-left: 6px; line-height: 22px; }
.mcn-gadget--poll.is-voted .mcn-poll__bar { display: block; }
.mcn-gadget--poll.is-voted input, .mcn-gadget--poll.is-voted button { display: none; }
.mcn-gadget--poll.is-voted .mcn-poll__opt { grid-template-columns: 1fr; }
.mcn-gadget--poll.is-voted .mcn-poll__bar { grid-column: 1; }

/* ---------- Videos ---------- */
.mcn-yt {
	position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer;
	background: #24324A; overflow: hidden; color: #fff;
}
.mcn-yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mcn-yt__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .18); transition: background .2s; }
.mcn-yt:hover .mcn-yt__play { background: rgba(0, 0, 0, .35); }
.mcn-yt__play svg { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.mcn-yt--small .mcn-yt__play svg { width: 30px; height: 30px; }
.mcn-yt--short { aspect-ratio: 3 / 4; }
.mcn-yt--short .mcn-yt__play svg { width: 40px; height: 40px; }
.mcn-yt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.mcn-yt--short + .mcn-yt-frame, .mcn-shorts .mcn-yt-frame { aspect-ratio: 9 / 16; }

.mcn-tv { background: var(--ink); color: #fff; }
.mcn-tv .mcn-wrap { padding-top: 40px; padding-bottom: 40px; }
.mcn-tv__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.mcn-live-dot { width: 10px; height: 10px; border-radius: 50%; background: #FF5A4A; display: inline-block; animation: mcn-pulse 1.6s infinite; }
@keyframes mcn-pulse { 50% { opacity: .35; } }

.mcn-program .mcn-wrap { padding-top: 48px; padding-bottom: 48px; }
.mcn-program--culinario { background: var(--paper); }
.mcn-program--finanzas { background: var(--finance-bg); }
.mcn-program__head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; border-top: 3px solid var(--black); padding-top: 14px; margin-bottom: 22px; }
.mcn-program__title { display: flex; align-items: center; gap: 10px; font-weight: 900; font-stretch: 80%; font-size: 30px; text-transform: uppercase; }
.mcn-program__title .mcn-logo__mark { font-size: 26px; padding: 4px 8px 2px; }
.mcn-program--culinario .mcn-program__name { color: var(--culinary); }
.mcn-program--finanzas .mcn-program__name { color: var(--finance); }
.mcn-program__body { display: flex; flex-wrap: wrap; gap: 24px; }
.mcn-program__lead { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.mcn-program__kicker { font-family: var(--font-display); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--culinary); }
.mcn-program__lead-title { font-weight: 800; font-size: 26px; line-height: 1.15; margin-top: 4px; }
.mcn-program__desc { margin: 6px 0 0; font-size: 15px; color: var(--slate); }
.mcn-program--finanzas .mcn-program__kicker { color: var(--finance); }
.mcn-program__list { flex: 1 1 300px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.mcn-program__list li { display: flex; gap: 14px; align-items: center; }
.mcn-program__list .mcn-yt { flex: 0 0 150px; width: 150px; }
.mcn-program__item-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.25; }
.mcn-program__split { display: flex; flex-wrap: wrap; gap: 40px; }
.mcn-program__col { flex: 1 1 440px; min-width: 0; }
.mcn-shorts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px; }
.mcn-shorts li { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Nota ---------- */
.mcn-crumbs ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.mcn-crumbs li + li::before { content: "›"; margin-right: 8px; }
.mcn-crumbs a { color: var(--muted); }
.mcn-article__head { display: flex; flex-direction: column; gap: 12px; }
.mcn-article__title { font-weight: 800; font-stretch: 80%; font-size: clamp(32px, 4.2vw, 50px); line-height: 1.03; letter-spacing: -.5px; }
.mcn-article__dek { margin: 4px 0 0; font-size: 21px; line-height: 1.45; color: var(--slate); }
.mcn-byline { margin-top: 10px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.mcn-byline__who { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.mcn-byline__who > div { display: flex; flex-direction: column; gap: 2px; }
.mcn-byline__who a { font-weight: 700; }
.mcn-byline__avatar { border-radius: 50%; }
.mcn-byline__meta { color: var(--muted); }
.mcn-share { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.mcn-share a, .mcn-share button {
	width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: var(--paper); color: var(--ink); cursor: pointer;
}
.mcn-share .is-copied { background: var(--ink); color: #fff; }
.mcn-article__figure { margin: 24px 0 0; }
.mcn-article__figure img { width: 100%; display: block; }
.mcn-article__figure figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.mcn-article__body { margin-top: 28px; font-family: var(--font-read); font-size: 20px; line-height: 1.7; color: #1B2638; }
.mcn-article__body > * { margin: 0 0 22px; }
.mcn-article__body h2, .mcn-article__body h3 { font-family: var(--font-display); color: var(--ink); margin-top: 36px; }
.mcn-article__body h2 { font-size: 28px; font-weight: 800; }
.mcn-article__body h3 { font-size: 22px; font-weight: 700; }
.mcn-article__body a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.mcn-article__body ul, .mcn-article__body ol { padding-left: 1.3em; }
.mcn-article__body blockquote, .mcn-article__body .wp-block-quote, .mcn-article__body .wp-block-pullquote {
	margin: 32px 0; padding: 0; border: 0; font-family: var(--font-display); font-weight: 700; font-stretch: 85%; font-size: 28px; line-height: 1.2; color: var(--ink);
}
.mcn-article__body blockquote::before { content: ""; display: block; width: 48px; height: 4px; background: var(--accent); margin-bottom: 14px; }
.mcn-article__body blockquote p { margin: 0; }
.mcn-article__body blockquote cite { display: block; margin-top: 10px; font-family: var(--font-ui); font-weight: 500; font-size: 15px; font-style: normal; color: var(--muted); }
.mcn-article__body figure { margin-left: 0; margin-right: 0; }
.mcn-article__body figcaption, .mcn-article__body .wp-element-caption { font-family: var(--font-ui); font-size: 13px; color: var(--muted); margin-top: 8px; }
.mcn-article__body img { display: block; }
.mcn-article__body table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 15px; display: block; overflow-x: auto; }
.mcn-article__body td, .mcn-article__body th { border: 1px solid var(--line); padding: 8px 10px; }
.mcn-article__body .mcn-ad { font-family: var(--font-ui); }
.mcn-article__sources { margin: 28px 0 0; padding: 14px 16px; border: 1px solid var(--line); font-size: 14px; color: var(--slate); }
.mcn-pills--tags { margin-top: 22px; }
.mcn-authorbox { margin-top: 32px; padding: 20px; border-top: 3px solid var(--ink); background: #F6F8FA; display: flex; gap: 16px; align-items: flex-start; }
.mcn-authorbox img { border-radius: 50%; flex: 0 0 auto; }
.mcn-authorbox__name { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.mcn-authorbox p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--slate); }
.mcn-related { margin-top: 40px; }
.mcn-related .mcn-card__title { font-size: 17px; }
.mcn-comments { margin-top: 40px; }
.mcn-comments__list { padding-left: 0; list-style: none; }
.comment-respond { margin-top: 24px; }
.comment-reply-title { font-size: 22px; font-weight: 800; }
.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; max-width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #A9B3C1; border-radius: 4px; font: inherit; font-size: 16px;
}
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-form .submit { min-height: 44px; padding: 0 18px; background: var(--ink); color: #fff; border: 0; border-radius: 4px; font-weight: 700; cursor: pointer; }
.mcn-page { max-width: 820px; }
.mcn-404 { max-width: 720px; display: flex; flex-direction: column; gap: 16px; }

/* ---------- Listados ---------- */
.mcn-archive-head { border-bottom: 3px solid var(--ink); padding-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.mcn-archive-head__title { font-weight: 900; font-stretch: 80%; font-size: clamp(34px, 4vw, 48px); text-transform: uppercase; }
.mcn-archive-head__desc { color: var(--slate); max-width: 720px; }
.mcn-archive-head__desc p { margin: 0; }
.mcn-archive-head + .mcn-columns { margin-top: 32px; }
.mcn-empty { font-size: 18px; color: var(--slate); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; font-weight: 700; }
.nav-links .page-numbers { min-width: 44px; min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; }
.nav-links .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Boletín y pie ---------- */
.mcn-newsletter { background: var(--mist); }
.mcn-newsletter__inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; }
.mcn-newsletter h2 { font-size: 26px; font-weight: 800; }
.mcn-newsletter p { margin: 6px 0 0; color: var(--slate); }
.mcn-footer { background: #0A1320; color: #B7C1CF; }
.mcn-footer a { color: #B7C1CF; }
.mcn-footer a:hover { color: #fff; }
.mcn-footer__grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 48px; padding-bottom: 32px; }
.mcn-footer__grid > * { flex: 1 1 180px; }
.mcn-footer__brand { flex: 2 1 300px; display: flex; flex-direction: column; gap: 14px; }
.mcn-footer__brand p { margin: 0; font-size: 14px; line-height: 1.6; max-width: 360px; }
.mcn-footer__muted { color: #8693A6; font-size: 13px; }
.mcn-footer__title { color: #fff; font-family: var(--font-ui); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; margin-bottom: 12px; }
.mcn-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.mcn-footer__legal { padding-top: 16px; padding-bottom: 28px; border-top: 1px solid #22304A; font-size: 13px; color: #8693A6; }

/* ---------- Bloques de WordPress ---------- */
.alignwide { margin-left: 0; margin-right: 0; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-block-embed iframe { max-width: 100%; }

@media (max-width: 1320px) {
	.mcn-nav__list { gap: 0; font-size: 14px; }
	.mcn-nav__list a { padding: 14px 9px; }
}

/* ---------- Celular ---------- */
@media (max-width: 860px) {
	:root { --gutter: 16px; }
	.mcn-topbar__social { display: none; }
	.mcn-header__inner { padding-top: 10px; padding-bottom: 10px; }
	.mcn-header__menu { display: inline-flex; border: 0; }
	.mcn-header__cta { display: none; }
	.mcn-header__search { border: 0; }
	.mcn-logo__mark { font-size: 26px; padding: 4px 7px 2px; }
	.mcn-logo__name { font-size: 12px; letter-spacing: .4px; }
	.mcn-logo { gap: 8px; }
	.mcn-nav { border-bottom-width: 3px; }
	.mcn-nav__list { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; font-size: 14px; scrollbar-width: none; }
	.mcn-nav__list a { padding: 13px 8px; }
	.mcn-nav.is-open .mcn-nav__list { flex-direction: column; white-space: normal; }
	.mcn-nav.is-open .mcn-nav__list a { border-bottom: 1px solid var(--line); padding: 14px 4px; }
	.mcn-hero { gap: 20px; }
	.mcn-card--lead .mcn-card__excerpt { font-size: 16px; }
	.mcn-columns { margin-top: 32px; gap: 32px; }
	.mcn-section-title { font-size: 22px; }
	.mcn-program__title { font-size: 22px; }
	.mcn-program__title .mcn-logo__mark { font-size: 19px; }
	.mcn-program__list .mcn-yt { flex-basis: 120px; width: 120px; }
	.mcn-article__body { font-size: 18px; }
	.mcn-article__dek { font-size: 18px; }
	.mcn-sticky { position: static; }
	.mcn-ad--tall { display: none; }
}

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