/* =====================================================================
   Emerge FM — estilos del tema
   Tokens de marca: negro #000, tinta #0D0D0D, acento #00E6AB.
   Tipografías: Unbounded (títulos) y Space Grotesk (texto).
   ===================================================================== */

:root {
	--em-accent: var(--wp--preset--color--acento, #00E6AB);
	--em-black: #000;
	--em-ink: #0D0D0D;
	--em-surface: #161616;
	--em-grey: #8C8C8C;
	--em-grey-text: #5C5C5C;
	--em-grey-dark: #3D3D3D;
	--em-light: #F2F2F2;
	--em-line: #E6E6E6;
	--em-line-dark: rgba(255, 255, 255, .14);
	--em-font-title: var(--wp--preset--font-family--titulos, 'Unbounded', system-ui, sans-serif);
	--em-font-text: var(--wp--preset--font-family--texto, 'Space Grotesk', system-ui, sans-serif);
	--em-container: 1600px;
	--em-gutter: 40px;
	--em-radius: 6px;
	--em-player-h: 68px;
}

@media (max-width: 720px) {
	:root { --em-gutter: 16px; --em-player-h: 60px; }
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
body {
	margin: 0;
	background: #fff;
	color: var(--em-ink);
	font-family: var(--em-font-text);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	max-width: 100%;
}
body.em-has-player { padding-bottom: var(--em-player-h); }
* { box-sizing: border-box; }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, .em-font-title { font-family: var(--em-font-title); letter-spacing: -0.02em; margin-top: 0; margin-bottom: 0; }
p { margin: 0; text-wrap: pretty; }
button { font-family: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.em-spacer { flex: 1 1 auto; }

@keyframes emPulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.em-pulse { width: 7px; height: 7px; border-radius: 999px; background: var(--em-accent); display: inline-block; flex: none; animation: emPulse 1.6s ease-in-out infinite; }
.em-pulse--dark { background: #000; }
@media (prefers-reduced-motion: reduce) { .em-pulse { animation: none; } }

/* Contenedor */
.em-container { max-width: var(--em-container); margin-left: auto; margin-right: auto; padding-left: var(--em-gutter); padding-right: var(--em-gutter); }
.em-main { min-height: 50vh; }
.wp-site-blocks > .em-main, .wp-site-blocks > .em-player-wrap { margin-block-start: 0; }
.wp-site-blocks > footer { margin-block-start: 0; }
.em-page { padding-top: 56px; }

/* ---------- Utilidades tipográficas ---------- */
.em-eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--em-grey); font-weight: 500; }
.em-eyebrow--grey { color: var(--em-grey); }
.em-eyebrow--accent { color: var(--em-accent); }
.em-time { font-size: 12px; color: var(--em-grey); }
.em-empty, .em-note { color: var(--em-grey-text); font-size: 15px; padding: 24px 0; }
.em-note a { border-bottom: 1px solid var(--em-accent); }

.em-chip { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; line-height: 1; }
.em-chip--filled { background: var(--chip, var(--em-accent)); color: #000; padding: 6px 11px; border-radius: 999px; }
.em-chip--text { color: var(--chip, var(--em-accent)); }
.em-chip--text[style*="--gris"] { color: var(--em-grey-text); }

.em-link-underline { display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--em-ink); border-bottom: 1px solid var(--em-accent); padding-bottom: 1px; white-space: nowrap; }
.em-link-underline--light { color: #fff; }

.em-accent-bar { width: 120px; height: 6px; background: var(--em-accent); }

/* Botones */
.em-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 15px 26px; font-size: 13px; font-weight: 700; letter-spacing: .06em; line-height: 1; cursor: pointer; border: 1px solid transparent; transition: filter .15s, border-color .15s, background .15s, color .15s; text-decoration: none; white-space: nowrap; }
.em-btn--accent { background: var(--em-accent); color: #000; }
.em-btn--accent:hover { filter: brightness(1.08); color: #000; }
.em-btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; font-weight: 500; }
.em-btn--outline-light:hover { border-color: #fff; color: #fff; }
.em-btn--dark { background: #000; color: #fff; }
.em-btn--small { padding: 11px 20px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.em-btn--block { width: 100%; margin-top: 8px; }
.em-btn svg { flex: none; }

.em-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.em-pill { display: inline-block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid #DEDEDE; border-radius: 999px; padding: 10px 18px; background: #fff; color: var(--em-ink); cursor: pointer; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.em-pill:hover { background: #000; color: #fff; border-color: #000; }
.em-pill--share { font-size: 11px; letter-spacing: .12em; padding: 9px 15px; }

/* Medios con proporción fija */
.em-media { position: relative; background: var(--em-light); border-radius: var(--em-radius); overflow: hidden; }
.em-media img { width: 100%; height: 100%; object-fit: cover; }
.em-media iframe, .em-media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.em-media--3x2 { aspect-ratio: 3 / 2; }
.em-media--2x1 { aspect-ratio: 2 / 1; }
.em-media--16x9 { aspect-ratio: 16 / 9; }
.em-media--16x10 { aspect-ratio: 16 / 10; }
.em-media--1x1 { aspect-ratio: 1 / 1; }
.em-media__empty { position: absolute; inset: 0; background: linear-gradient(135deg, #F2F2F2, #E4E4E4); }
.em-media__empty::after { content: ""; position: absolute; left: 50%; top: 50%; width: 28%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 999px; border: 3px solid rgba(0, 0, 0, .08); }

/* Paneles */
.em-panel { border-radius: 8px; padding: 26px; }
.em-panel--dark { background: #000; color: #fff; }

/* ---------- Cabecera ---------- */
.em-header { position: sticky; top: 0; z-index: 40; background: #000; color: #fff; }
.em-header__top { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; position: relative; }
.em-header__top > .em-dial-wrap { justify-self: start; }
.em-header__top > .em-brand-wrap { justify-self: center; }
.em-header__top > .em-topbar-wrap { justify-self: end; }
.em-dial { display: inline-flex; align-items: baseline; gap: 6px; color: #fff; }
.em-dial:hover { color: var(--em-accent); }
.em-dial__num { font-family: var(--em-font-title); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; line-height: 1; }
.em-dial__suffix { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--em-grey); }
.em-header__bottom { border-top: 1px solid rgba(255, 255, 255, .13); }
.em-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.em-brand svg { flex: none; }
.em-brand { --em-brand-size: 30px; --em-size: var(--em-brand-size); max-width: 100%; }
.em-brand svg { width: var(--em-size); height: var(--em-size); }
.em-brand__name { font-family: var(--em-font-title); font-weight: 800; font-size: calc(var(--em-size) * 0.5); letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.em-topbar-wrap { position: static; }
.em-topbar { display: flex; align-items: center; gap: 28px; }
.em-topbar__link { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: .85; }
.em-topbar__link:hover { opacity: 1; color: #fff; }
.em-topbar__search { background: none; border: 0; color: #fff; opacity: .85; cursor: pointer; padding: 6px; display: inline-flex; }
.em-topbar__search:hover, .em-topbar__search[aria-expanded="true"] { opacity: 1; color: var(--em-accent); }
.em-search-drawer { position: absolute; left: 0; right: 0; top: 100%; background: #0D0D0D; border-top: 1px solid rgba(255, 255, 255, .13); padding: 14px var(--em-gutter); display: flex; gap: 12px; z-index: 41; }
.em-search-drawer[hidden] { display: none; }
.em-search-drawer input { flex: 1; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .28); color: #fff; font-family: inherit; font-size: 16px; padding: 10px 0; outline: none; }
.em-search-drawer input:focus { border-bottom-color: var(--em-accent); }

.em-secnav { max-width: var(--em-container); margin: 0 auto; padding: 0 var(--em-gutter); height: 52px; display: flex; align-items: center; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.em-secnav::-webkit-scrollbar { display: none; }
.em-secnav__link { font-size: 13px; font-weight: 500; color: #fff; white-space: nowrap; padding-bottom: 2px; border-bottom: 2px solid transparent; flex: none; }
.em-secnav__link:hover, .em-secnav__link.is-current { border-bottom-color: var(--em-accent); color: #fff; }
.em-secnav__link--home { font-weight: 600; color: var(--em-accent); }
.em-secnav__link--home:hover { color: var(--em-accent); }
.em-secnav__link--mobile { display: none; }
.em-secnav__spacer { flex: 1 1 auto; }
.em-secnav__tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--em-grey); white-space: nowrap; }

/* ---------- Layout de dos columnas ---------- */
.em-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.em-layout--portada { padding-top: 72px; }
.em-layout--article { padding-top: 56px; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; }
.em-layout--archive { padding-top: 0; }
.em-layout__main { min-width: 0; }
.em-layout__side { display: flex; flex-direction: column; gap: 44px; position: sticky; top: 150px; }
.em-layout__side > * { margin: 0; }

/* ---------- Hero en vivo ---------- */
.em-hero { background: #000; color: #fff; padding: 56px 0 64px; }
.em-hero__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 48px; align-items: start; }
.em-live-frame { position: relative; aspect-ratio: 16 / 9; background: var(--em-surface); border-radius: 8px; overflow: hidden; }
.em-live-frame__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; background: var(--em-surface); }
.em-live-frame__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, #222 0%, #111 70%); }
.em-live-frame__placeholder .em-brand { opacity: .55; transform: translateY(-14%); }
.em-live-frame__placeholder .em-brand__name { display: none; }
.em-live-frame__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .72) 100%); }
.em-live-frame--page .em-live-frame__shade { display: none; }
.em-badge-live { position: absolute; top: 20px; left: 20px; display: inline-flex; align-items: center; gap: 8px; background: var(--em-accent); color: #000; padding: 7px 14px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .16em; pointer-events: none; }
.em-badge-live--off { background: rgba(255, 255, 255, .85); }
.em-badge-live--off .em-pulse { animation: none; }
.em-badge-live--inline { position: static; }
.em-live-frame__caption { position: absolute; left: 24px; bottom: 24px; right: 110px; pointer-events: none; }
.em-live-frame__caption .em-eyebrow { margin-bottom: 8px; letter-spacing: .18em; }
.em-live-frame__title { font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; color: #fff; }
.em-live-frame__play { position: absolute; right: 24px; bottom: 24px; width: 62px; height: 62px; border-radius: 999px; background: #fff; color: #000; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.em-live-frame__play:hover { background: var(--em-accent); color: #000; }
.em-hero__text { padding-top: 6px; }
.em-hero__text .em-eyebrow { margin-bottom: 18px; }
.em-hero__title { font-size: clamp(32px, 3.4vw, 42px); line-height: 1.02; font-weight: 800; color: #fff; margin-bottom: 18px; }
.em-hero__lead { font-size: 15px; line-height: 1.65; color: #B8B8B8; max-width: 38ch; margin-bottom: 28px; }
.em-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.em-hero__next { border-top: 1px solid var(--em-line-dark); padding-top: 20px; }
.em-hero__next .em-eyebrow { margin-bottom: 14px; }
.em-hero__next .em-link-underline { margin-top: 20px; }
.em-hero__muted { color: #B8B8B8; font-size: 14px; }
.em-next-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.em-next-list li { display: flex; gap: 16px; align-items: baseline; }
.em-next-list__time { font-size: 13px; font-weight: 500; color: var(--em-grey); min-width: 118px; flex: none; }
.em-next-list__title { font-size: 14px; color: #B8B8B8; }
.em-next-list li.is-first .em-next-list__time { color: var(--em-accent); }
.em-next-list li.is-first .em-next-list__title { color: #fff; }
.em-next-list--boxed { gap: 0; }
.em-next-list--boxed li { flex-direction: column; gap: 5px; padding: 18px 0; border-bottom: 1px solid var(--em-line-dark); }
.em-next-list--boxed li:first-child { padding-top: 0; }
.em-next-list--boxed li:last-child { border-bottom: 0; }
.em-next-list--boxed .em-next-list__time { font-size: 12px; letter-spacing: .06em; min-width: 0; }
.em-next-list--boxed .em-next-list__title { font-size: 15px; font-weight: 500; }

/* ---------- Portada ---------- */
.em-lead { padding-bottom: 52px; border-bottom: 1px solid var(--em-line); }
.em-lead__media { display: block; margin-bottom: 26px; }
.em-lead__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.em-lead__title { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; font-weight: 700; margin-bottom: 18px; max-width: 22ch; }
.em-lead__excerpt { font-size: 17px; line-height: 1.6; color: var(--em-grey-dark); max-width: 62ch; }

.em-grid { display: grid; gap: 32px; }
.em-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.em-story-grid { padding: 52px 0; border-bottom: 1px solid var(--em-line); }

.em-card { min-width: 0; }
.em-card__media { display: block; margin-bottom: 16px; }
.em-card__meta { margin-bottom: 10px; }
.em-card__title { font-size: 19px; line-height: 1.22; font-weight: 600; margin-bottom: 10px; }
.em-card__excerpt { font-size: 14px; line-height: 1.55; color: var(--em-grey-text); }
.em-card--big .em-card__title { font-size: 24px; line-height: 1.18; margin-bottom: 12px; }
.em-card--big .em-card__excerpt { font-size: 15px; line-height: 1.6; }
.em-card--big .em-card__media { margin-bottom: 18px; }
.em-card--lead .em-card__title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.08; font-weight: 700; margin-bottom: 14px; }
.em-card--lead .em-card__excerpt { font-size: 16px; line-height: 1.6; color: var(--em-grey-dark); }
.em-card--lead .em-card__media { margin-bottom: 22px; }
.em-card--lead .em-card__meta { margin-bottom: 12px; }

.em-ad-wrap--leaderboard { margin: 52px 0; }
.em-ad { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.em-ad--empty { background: #F7F7F7; border: 1px dashed #D9D9D9; border-radius: var(--em-radius); }
.em-ad--empty .em-eyebrow { color: #A8A8A8; }
.em-ad--leaderboard { min-height: 120px; }
.em-ad--rect { min-height: 250px; }
.em-ad--inarticle { min-height: 120px; margin: 34px 0; }
.em-ad--banner img { width: auto; max-width: 100%; height: auto; }
.em-ad--adsense { display: block; }

.em-section { padding: 20px 0 56px; }
.em-section + .em-section, .em-section-wrap + .em-section-wrap .em-section { border-top: 1px solid var(--em-line); padding-top: 52px; }
.em-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.em-section__title { font-size: 28px; font-weight: 700; }
.em-section__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }

.em-list { display: flex; flex-direction: column; }
.em-row { padding: 18px 0; border-bottom: 1px solid var(--em-line); }
.em-row:first-child { padding-top: 0; }
.em-row:last-child { border-bottom: 0; }
.em-row .em-eyebrow { display: block; margin-bottom: 8px; letter-spacing: .16em; }
.em-row__title { font-size: 16px; line-height: 1.3; font-weight: 600; }
.em-row--thumb { display: flex; gap: 16px; padding: 0 0 20px; margin-bottom: 20px; }
.em-row--thumb:last-child { margin-bottom: 0; padding-bottom: 0; }
.em-row__media { width: 104px; flex: none; display: block; }
.em-row__body { min-width: 0; }

/* Sidebar */
.em-side-title { font-size: 18px; font-weight: 700; margin-bottom: 22px; }
.em-weather .em-eyebrow { margin-bottom: 18px; }
.em-weather__now { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.em-weather__temp { font-family: var(--em-font-title); font-size: 44px; font-weight: 700; color: #fff; line-height: 1; }
.em-weather__text { font-size: 13px; color: var(--em-accent); padding-top: 8px; }
.em-weather__days { display: flex; gap: 22px; border-top: 1px solid var(--em-line-dark); padding-top: 16px; }
.em-weather__day { font-size: 11px; color: var(--em-grey); margin-bottom: 6px; }
.em-weather__range { font-size: 14px; color: #fff; }

.em-rank { list-style: none; margin: 0; padding: 0; }
.em-rank li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--em-line); }
.em-rank li:first-child { padding-top: 0; }
.em-rank li:last-child { border-bottom: 0; }
.em-rank__num { font-family: var(--em-font-title); font-size: 22px; font-weight: 700; color: var(--em-accent); line-height: 1; flex: none; min-width: 22px; }
.em-rank__title { font-size: 15px; line-height: 1.32; font-weight: 500; }

.em-social .em-side-title { margin-bottom: 18px; }

.em-live-card__badge { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--em-accent); }
.em-live-card__badge .em-pulse { width: 6px; height: 6px; }
.em-live-card__title { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.em-live-card__sub { font-size: 13px; color: #B8B8B8; margin-bottom: 20px; }

/* ---------- Títulos de página / secciones ---------- */
.em-page-title { margin-bottom: 56px; }
.em-page-title .em-eyebrow { margin-bottom: 14px; }
.em-page-title__h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: 1; margin-bottom: 20px; }
.em-page-title__sub { margin-top: 20px; font-size: 16px; color: var(--em-grey-text); max-width: 62ch; }

.em-archive__top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--em-line); }
.em-archive__grid { padding: 48px 0 64px; }
.em-list--thumbs { gap: 0; }
.em-pagination { padding: 0 0 64px; }
.em-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.em-pagination .page-numbers { display: inline-block; padding: 10px 16px; border: 1px solid #DEDEDE; border-radius: 999px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.em-pagination .page-numbers.current, .em-pagination .page-numbers:hover { background: #000; color: #fff; border-color: #000; }
.em-pagination .page-numbers.dots { border: 0; }
.em-pagination .screen-reader-text { display: none; }

/* ---------- Nota ---------- */
.em-article { max-width: 80ch; }
.em-article__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.em-article__title { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.04; font-weight: 700; margin-bottom: 22px; }
.em-article__lead { font-size: 19px; line-height: 1.6; color: var(--em-grey-dark); margin-bottom: 30px; }
.em-byline { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-top: 1px solid var(--em-line); border-bottom: 1px solid var(--em-line); margin-bottom: 34px; }
.em-byline__avatar-link { flex: none; display: block; }
.em-byline__avatar, .em-byline__initials { width: 40px; height: 40px; border-radius: 999px; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--em-font-title); font-size: 13px; font-weight: 600; object-fit: cover; }
.em-byline__name { font-size: 14px; font-weight: 600; display: block; }
.em-byline__role { font-size: 12px; color: var(--em-grey); }
.em-article__head--opinion .em-byline__avatar, .em-article__head--opinion .em-byline__initials { width: 72px; height: 72px; font-size: 22px; }
.em-article__head--opinion .em-byline__name { font-size: 16px; }
.em-article__head--opinion .em-byline__role { font-size: 13px; color: var(--em-grey-text); max-width: 46ch; }
.em-article__head--opinion .em-article__title { font-style: normal; }
.em-article__figure { margin: 0 0 38px; }
.em-article__caption { font-size: 12px; color: var(--em-grey); margin-top: 12px; }
.em-article__video { margin-bottom: 38px; }
.em-article__body { font-size: 17px; line-height: 1.72; color: #1F1F1F; }
.em-article__body > * { margin-top: 0; margin-bottom: 22px; }
.em-article__body > :last-child { margin-bottom: 0; }
.em-article__body a { border-bottom: 1px solid var(--em-accent); }
.em-article__body blockquote, .em-article__body .wp-block-quote { margin: 10px 0 22px; padding: 0 0 0 26px; border-left: 3px solid var(--em-accent); font-family: var(--em-font-title); font-size: 22px; line-height: 1.35; font-weight: 500; }
.em-article__body .wp-block-quote p { margin-bottom: 8px; }
.em-article__body .wp-block-quote cite { font-family: var(--em-font-text); font-size: 13px; color: var(--em-grey); font-style: normal; }
.em-article__body figure { margin-left: 0; margin-right: 0; }
.em-article__body figcaption { font-size: 12px; color: var(--em-grey); margin-top: 10px; }
.em-article__body h2 { font-size: 26px; margin-top: 36px; }
.em-article__body h3 { font-size: 21px; margin-top: 28px; }
.em-article__body ul, .em-article__body ol { padding-left: 24px; }
.em-article__tags { margin-top: 32px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--em-grey); }
.em-article__tags a { border-bottom: 1px solid var(--em-accent); margin-right: 6px; color: var(--em-ink); }
.em-related { margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--em-line); padding-bottom: 20px; }
.em-related__title { font-size: 20px; font-weight: 700; margin-bottom: 26px; }
.em-related .em-grid { gap: 26px; }
.em-related .em-card__title { font-size: 16px; line-height: 1.28; }
.em-related .em-card__media { margin-bottom: 14px; }

/* ---------- Parrilla ---------- */
.em-schedule__tabs { display: flex; gap: 10px; margin-bottom: 44px; flex-wrap: wrap; }
.em-day-tab { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 11px 20px; border-radius: 999px; border: 1px solid #DEDEDE; cursor: pointer; background: #fff; color: var(--em-ink); transition: background .15s, color .15s; }
.em-day-tab:hover { border-color: #000; }
.em-day-tab.is-active { background: #000; color: #fff; border-color: #000; }
.em-schedule__day { max-width: 900px; border-top: 1px solid var(--em-line); }
.em-schedule__row { display: grid; grid-template-columns: 170px 1fr auto; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--em-line); }
.em-schedule__time { font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.em-schedule__title { font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.em-schedule__note { font-size: 14px; color: var(--em-grey-text); }
.em-schedule__row--empty .em-schedule__title { color: var(--em-grey-text); }
.em-schedule-wrap { padding-bottom: 20px; }

/* ---------- En vivo (página) ---------- */
.em-live { background: #000; color: #fff; padding: 56px 0 72px; }
.em-live__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.em-live__main .em-live-frame { margin-bottom: 26px; }
.em-live__main .em-eyebrow { margin-bottom: 14px; letter-spacing: .2em; }
.em-live__title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; color: #fff; line-height: 1.02; margin-bottom: 18px; }
.em-live__desc { font-size: 16px; line-height: 1.65; color: #B8B8B8; max-width: 62ch; margin-bottom: 20px; }
.em-live__note { font-size: 13px; color: var(--em-grey); margin-bottom: 24px; max-width: 60ch; }
.em-live__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.em-live__side { border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; padding: 26px; }
.em-live__side .em-eyebrow { margin-bottom: 20px; }
.em-live__side .em-link-underline { margin-top: 26px; }

/* ---------- Contacto ---------- */
.em-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 72px; align-items: start; padding-bottom: 20px; }
.em-contact-grid > * { margin: 0 !important; }
.em-contact-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.em-contact-info__item .em-eyebrow { margin-bottom: 10px; }
.em-contact-info__main { font-family: var(--em-font-title); font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.em-contact-info__sub { font-size: 15px; color: var(--em-grey-text); }
.em-contact-info__social { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--em-line); }
.em-contact-info__social .em-eyebrow { margin-bottom: 16px; }
.em-contact-form { padding: 36px; border-radius: 10px; }
.em-contact-form__title { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.em-contact-form__sub { font-size: 14px; line-height: 1.6; color: var(--em-grey); margin-bottom: 28px; }
.em-form { display: flex; flex-direction: column; gap: 18px; }
.em-form__trap { position: absolute; left: -9999px; }
.em-field { display: flex; flex-direction: column; gap: 8px; }
.em-field span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--em-grey); }
.em-field input, .em-field textarea, .em-field select { background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .28); color: #fff; font-family: inherit; font-size: 15px; padding: 10px 0; outline: none; border-radius: 0; }
.em-field select { background: #000; }
.em-field select option { color: #000; background: #fff; }
.em-field textarea { resize: vertical; }
.em-field input:focus, .em-field textarea:focus, .em-field select:focus { border-bottom-color: var(--em-accent); }
.em-alert { padding: 12px 16px; border-radius: 6px; font-size: 14px; margin-bottom: 20px; }
.em-alert--ok { background: rgba(0, 230, 171, .15); color: var(--em-accent); }
.em-alert--error { background: rgba(255, 107, 53, .15); color: #FF6B35; }

/* ---------- Buscador ---------- */
.em-searchform { display: flex; gap: 12px; max-width: 640px; margin-bottom: 44px; }
.em-searchform input { flex: 1; border: 0; border-bottom: 2px solid var(--em-ink); font-family: inherit; font-size: 18px; padding: 10px 0; outline: none; background: transparent; border-radius: 0; }
.em-searchform input:focus { border-bottom-color: var(--em-accent); }

/* ---------- Páginas con contenido libre ---------- */
.em-page__body { font-size: 17px; line-height: 1.72; color: #1F1F1F; margin-bottom: 44px; }
.em-page__body:empty { display: none; margin: 0; }
.em-page__body--wide { font-size: 15px; line-height: 1.6; color: inherit; }
.em-page__full > * { margin-top: 0; margin-bottom: 0; }
.em-page__full > p, .em-page__full > h2, .em-page__full > h3, .em-page__full > ul { max-width: var(--em-container); margin: 32px auto; padding: 0 var(--em-gutter); font-size: 17px; line-height: 1.72; }
.em-page__body > * { margin-top: 0; margin-bottom: 20px; }
.em-programa__img { margin-bottom: 36px; max-width: 900px; }

/* ---------- Pie ---------- */
.em-footer { background: #000; color: #fff; margin-top: 80px; padding: 64px 0 40px; }
.em-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--em-line-dark); }
.em-footer-brand .em-brand { margin-bottom: 18px; }

.em-footer-brand__slogan { font-family: var(--em-font-title); font-size: 20px; font-weight: 600; color: var(--em-accent); margin-bottom: 12px; }
.em-footer-brand__text { font-size: 13px; line-height: 1.6; color: var(--em-grey); max-width: 34ch; }
.em-footer-col .em-eyebrow { margin-bottom: 16px; }
.em-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.em-footer-links a { font-size: 14px; color: #E6E6E6; }
.em-footer-links a:hover { color: var(--em-accent); }
.em-footer__bottom { padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.em-footer__copy { font-size: 12px; color: var(--em-grey); margin: 0; }
.em-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.em-legal a { font-size: 12px; color: var(--em-grey); }
.em-legal a:hover { color: var(--em-accent); }
.em-legal__sep { font-size: 12px; color: #4a4a4a; }

/* ---------- Reproductor fijo ---------- */
.em-player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #0D0D0D; color: #fff; border-top: 1px solid rgba(255, 255, 255, .12); height: var(--em-player-h); }
.em-player__inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.em-player__main { grid-column: 2; justify-self: center; display: flex; align-items: center; gap: 14px; min-width: 0; max-width: 100%; }
.em-player__side { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 18px; min-width: 0; }
.em-player__toggle { width: 44px; height: 44px; border-radius: 999px; background: var(--em-accent); color: #000; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; transition: filter .15s; }
.em-player__toggle:hover { filter: brightness(1.08); }
.em-player__toggle .em-player__icon-pause { display: none; }
.em-player.is-playing .em-player__icon-play { display: none; }
.em-player.is-playing .em-player__icon-pause { display: block; }
.em-player.is-loading .em-player__toggle { animation: emPulse 1s ease-in-out infinite; }
.em-player__info { min-width: 0; }
.em-player__eyebrow { display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--em-accent); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.em-player__eyebrow .em-pulse { width: 6px; height: 6px; }
.em-player__title { font-family: var(--em-font-title); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.em-player__volume { display: flex; align-items: center; }
.em-player__volume input { width: 110px; accent-color: var(--em-accent); }
.em-player__link { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; border-bottom: 1px solid var(--em-accent); white-space: nowrap; }
.em-player__toast { position: absolute; right: var(--em-gutter); bottom: calc(100% + 10px); background: #fff; color: #000; font-size: 13px; padding: 10px 14px; border-radius: 6px; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }

/* El aviso de cookies (CookieAdmin) se apoya sobre el reproductor, no lo tapa. */
.cookieadmin_law_container.cookieadmin_bottom,
button.cookieadmin_re_consent,
body .cookieadmin_reconsent_wrap button.cookieadmin_re_consent {
	bottom: calc(var(--em-player-h) + 15px) !important;
}
#cookieadmin-gpc-toast { bottom: calc(var(--em-player-h) + 24px) !important; }

/* Menú de compartir (respaldo cuando no hay Web Share) */
.em-share-menu { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .55); padding: 16px; }
.em-share-menu__box { background: #fff; color: #000; border-radius: 12px; padding: 20px; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 10px; }
.em-share-menu__box .em-pill { text-align: center; }
.em-share-menu__title { font-family: var(--em-font-title); font-size: 15px; font-weight: 600; margin-bottom: 6px; }

/* ---------- Editor del sitio: los bloques se ven como en el sitio ---------- */
.editor-styles-wrapper .em-header { position: relative; }
.em-editor-block a, .em-editor-block button, .em-editor-block input, .em-editor-block select, .em-editor-block textarea, .em-editor-block iframe, .em-editor-block video { pointer-events: none; }
.editor-styles-wrapper .em-player { position: sticky; }
.editor-styles-wrapper .em-layout__side { position: static; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
	.em-layout, .em-layout--article { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
	.em-hero__grid { grid-template-columns: 1.3fr 1fr; gap: 32px; }
	.em-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
	.em-footer__grid > :last-child { grid-column: auto; }
}

@media (max-width: 900px) {
	.em-brand { --em-size: min(var(--em-brand-size), 36px); }
	.em-layout, .em-layout--article, .em-layout--archive { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.em-layout__side { position: static; }
	.em-layout__side { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; align-items: start; }
	.em-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.em-hero { padding: 32px 0 48px; }
	.em-section__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.em-archive__top { grid-template-columns: minmax(0, 1fr); }
	.em-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.em-live__grid { grid-template-columns: minmax(0, 1fr); }
	.em-topbar__link { display: none; }
	.em-topbar { gap: 14px; }
	.em-secnav__link--mobile { display: inline-block; }
	.em-footer__grid { grid-template-columns: 1fr 1fr; }
	.em-player__volume { display: none; }
}

@media (max-width: 720px) {
	.em-header__top { min-height: 64px; gap: 10px; }
	.em-brand { --em-size: min(var(--em-brand-size), 28px); }
	.em-dial__num { font-size: 16px; }
	.em-dial__suffix { display: none; }
	.em-secnav { height: 46px; gap: 22px; }
	.em-secnav__tag { display: none; }
	.em-layout--portada { padding-top: 40px; }
	.em-layout--article, .em-page { padding-top: 32px; }
	.em-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.em-story-grid { padding: 36px 0; }
	.em-lead { padding-bottom: 36px; }
	.em-lead__title { max-width: none; }
	.em-section { padding: 16px 0 40px; }
	.em-section__title { font-size: 24px; }
	.em-ad-wrap--leaderboard { margin: 36px 0; }
	.em-ad--leaderboard { min-height: 100px; }
	.em-page-title { margin-bottom: 36px; }
	.em-schedule__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * var(--em-gutter)); margin-right: calc(-1 * var(--em-gutter)); padding: 0 var(--em-gutter) 4px; }
	.em-schedule__tabs::-webkit-scrollbar { display: none; }
	.em-day-tab { flex: none; }
	.em-schedule__row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
	.em-schedule__time { color: var(--em-grey-text); }
	.em-badge-live--inline { justify-self: start; }
	.em-live-frame__caption { right: 90px; left: 16px; bottom: 16px; }
	.em-live-frame__play { width: 50px; height: 50px; right: 16px; bottom: 16px; }
	.em-badge-live { top: 12px; left: 12px; }
	.em-live { padding: 24px 0 48px; }
	.em-live__side { padding: 20px; }
	.em-contact-grid { gap: 40px; }
	.em-contact-info { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.em-contact-form { padding: 26px 20px; }
	.em-byline { flex-wrap: wrap; }
	.em-byline .em-spacer { display: none; }
	.em-byline .em-pill--share { margin-left: auto; }
	.em-footer { margin-top: 56px; padding: 48px 0 32px; }
	.em-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 32px; }
	.em-footer__bottom { flex-direction: column; gap: 8px; }
	.em-player__inner { gap: 10px; }
	.em-player__main { gap: 12px; }
	.em-player__toggle { width: 40px; height: 40px; }
	.em-player__link { display: none; }
	.em-hero__actions .em-btn { padding: 13px 20px; }
	.em-related .em-grid { grid-template-columns: minmax(0, 1fr); }
	.em-page-title__h1 { line-height: 1.02; }
}

@media (max-width: 420px) {
	.em-brand { --em-size: min(var(--em-brand-size), 26px); }
	.em-brand__name { font-size: 14px; }
	.em-topbar__search { display: none; }
	.em-dial__num { font-size: 15px; }
	.em-hero__actions { flex-direction: column; align-items: stretch; }
	.em-hero__actions .em-btn { width: 100%; }
	.em-next-list li { flex-direction: column; gap: 2px; }
}
