/* mc-ui.css — sistema visual del portal (rediseño del 27/10/2026).
   Principios: una paleta corta, una sola forma de tarjeta, jerarquía por tamaño, mucho aire, pocas líneas.
   Se carga con ?v=filemtime para que Cloudflare/los navegadores no sirvan una versión vieja. */
:root {
    --mc-ink: #111827;
    --mc-text: #374151;
    --mc-muted: #6b7280;
    --mc-line: #e5e7eb;
    --mc-bg: #f5f6f8;
    --mc-card: #ffffff;
    --mc-brand: #0b5cb5;
    --mc-alert: #c81e1e;
    --mc-radius: 14px;
    --mc-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 2px 8px rgba(16, 24, 40, .06);
}
body { background: var(--mc-bg) !important; }
.mc-main { padding-top: 1.25rem; padding-bottom: 3.5rem; }
.mc-card { background: var(--mc-card); border-radius: var(--mc-radius); box-shadow: var(--mc-shadow); overflow: hidden; }
.mc-kicker { font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; line-height: 1; }
.mc-meta { font-size: .78rem; color: var(--mc-muted); }
.mc-meta .sep { margin: 0 .35em; opacity: .6; }
.mc-section { display: flex; align-items: center; gap: .9rem; margin: 2rem 0 .25rem; }
.mc-section h2 { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mc-ink); margin: 0; }
.mc-section::after { content: ""; flex: 1; border-bottom: 1px solid var(--mc-line); }

/* Distribución: una columna en celular; en ordenador, notas + columna lateral fija */
.mc-layout { display: block; }
@media (min-width: 992px) {
    .mc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.25rem; align-items: start; }   /* ocupa todo el contenedor del sitio (1200 px), igual que el resto de las secciones */
    .mc-side { position: sticky; top: 96px; flex-direction: column; gap: 1.25rem; }
}
.mc-side .d-flex.justify-content-center { justify-content: stretch !important; }
.mc-side .mc-rdv { max-width: none; }


/* Nota destacada */
.mc-hero { display: block; text-decoration: none; color: inherit; }
.mc-hero .img { display: block; aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; border-radius: var(--mc-radius); background: #e5e7eb; box-shadow: var(--mc-shadow); }
.mc-hero h2 { font-size: clamp(1.55rem, 3.3vw, 2.3rem); line-height: 1.14; font-weight: 800; letter-spacing: -.022em; color: var(--mc-ink); margin: .55rem 0 .6rem; }
.mc-hero p { font-size: 1.05rem; line-height: 1.5; color: var(--mc-text); margin: 0 0 .6rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 768px) { .mc-hero p { -webkit-line-clamp: 5; } }
.mc-hero:hover h2 { color: var(--mc-brand); }

/* Dos notas secundarias */
.mc-duo { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .mc-duo { grid-template-columns: 1fr 1fr; } }
.mc-card-n { display: block; text-decoration: none; color: inherit; }
.mc-card-n .img { display: block; aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; border-radius: 12px; background: #e5e7eb; }
.mc-card-n h3 { font-size: 1.15rem; line-height: 1.25; font-weight: 750; letter-spacing: -.012em; color: var(--mc-ink); margin: .5rem 0 .4rem; }
.mc-card-n:hover h3 { color: var(--mc-brand); }

/* Lista de noticias: fila con miniatura */
.mc-row { display: flex; gap: 1rem; padding: 1.05rem 0; border-top: 1px solid var(--mc-line); text-decoration: none; color: inherit; }
.mc-row:first-child { border-top: 0; }
.mc-row .th { flex: 0 0 108px; align-self: flex-start; }
.mc-row .th img { display: block; width: 108px; height: 76px; object-fit: cover; border-radius: 10px; background: #e5e7eb; }
.mc-row .bd { min-width: 0; flex: 1; }
.mc-row h3 { font-size: 1.02rem; line-height: 1.28; font-weight: 700; letter-spacing: -.01em; color: var(--mc-ink); margin: .4rem 0 .35rem; }
.mc-row p { display: none; font-size: .92rem; line-height: 1.45; color: var(--mc-text); margin: 0 0 .35rem; }
.mc-row:hover h3 { color: var(--mc-brand); }
@media (min-width: 768px) {
    .mc-row { gap: 1.25rem; padding: 1.2rem 0; }
    .mc-row .th { flex-basis: 210px; }
    .mc-row .th img { width: 210px; height: 128px; border-radius: 12px; }
    .mc-row h3 { font-size: 1.2rem; }
    .mc-row p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
.mc-alerta { border-left: 3px solid var(--mc-alert); padding-left: .85rem; }
.mc-alerta .mc-alerta-tag { color: var(--mc-alert); font-weight: 800; }

/* Columna lateral */
.mc-side-title { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mc-ink); margin: 0; padding: 1rem 1.15rem .35rem; }
.mc-hoy-item { display: flex; align-items: center; gap: .85rem; padding: .7rem 1.15rem; text-decoration: none; color: inherit; border-top: 1px solid var(--mc-line); transition: background .15s ease; }
.mc-hoy-item:first-of-type { border-top: 0; }
.mc-hoy-item:hover { background: #f8fafc; }
.mc-hoy-item .ic { font-size: 1.45rem; width: 2rem; text-align: center; flex: none; }
.mc-hoy-item .tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mc-hoy-item b { font-size: .95rem; color: var(--mc-ink); font-weight: 750; }
.mc-hoy-item small { font-size: .8rem; color: var(--mc-muted); }
.mc-hoy-item small strong { font-weight: 650; color: var(--mc-text); }
.mc-hoy-item .tx small + small { margin-top: .1rem; }
.mc-hoy-item:has(small + small) { align-items: flex-start; }
.mc-hoy-item:has(small + small) .ic { padding-top: .1rem; }
.mc-lat { padding: .35rem 1.15rem .6rem; }
.mc-lat .mc-row { padding: .8rem 0; }
.mc-lat .mc-row .th, .mc-lat .mc-row .th img { flex-basis: 84px; width: 84px; height: 60px; border-radius: 8px; }
.mc-lat .mc-row h3 { font-size: .93rem; margin: .1rem 0 .2rem; }
.mc-lat .mc-row p { display: none; }

/* Tarjeta de canales */
.mc-canales { padding: 1rem 1.15rem 1.15rem; }
/* 5 canales en dos columnas (el último ocupa todo el ancho): ~130 px en vez de ~270 */
.mc-canales { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.mc-canales .mc-side-title { grid-column: 1 / -1; padding-bottom: .35rem; }
.mc-canales .mc-canal:last-child { grid-column: 1 / -1; }
.mc-canal { display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; margin-top: 0; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: .86rem; color: #fff; transition: filter .15s ease; min-width: 0; }
.mc-canal:hover { filter: brightness(1.08); color: #fff; }
.mc-canal svg { width: 18px; height: 18px; flex: none; }

/* Lectura de notas */
.mc-lectura .article-content { font-size: 1.14rem; line-height: 1.78; color: #1f2937; }
.mc-lectura .article-content p { margin-bottom: 1.25rem; }
@media (min-width: 992px) { .mc-lectura .article-content { font-size: 1.2rem; } }
@media (prefers-reduced-motion: reduce) { .mc-hoy-item, .mc-canal { transition: none; } }

/* La radio compacta en la columna lateral (340 px): botón redondo, sin lema, título más chico */
.mc-side .mc-rdv-c .mc-rdv-boton { width: 40px; height: 40px; padding: 0; }
.mc-side .mc-rdv-c .mc-rdv-boton b { display: none; }
.mc-side .mc-rdv-c .mc-rdv-vivo span { display: none; }
.mc-side .mc-rdv-c .mc-rdv-linea { font-size: 1.08rem; }
