/*
Theme Name: Fuego24
Theme URI: https://fuego24.com
Author: Equipo Fuego24
Description: Tema propio a medida para el portal de noticias Fuego24. Reemplaza a Elementor: liviano, robusto y pensado para que la redacción cargue contenido sin tocar el diseño.
Version: 0.2.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: fuego24
*/

/* ============================================================
   Tokens de marca (relevados del sitio real)
   ============================================================ */
:root {
  --f24-red: #EC1C24;
  --f24-red-dark: #c4151c;
  --f24-black: #000000;
  --f24-ink: #1a1a1a;
  --f24-white: #ffffff;
  --f24-muted: #7A7A7A;
  --f24-line: #e1dada;
  --f24-topbar: #444444;    /* barra superior */
  --f24-bar: #DDD5D5;       /* barra de navegación (taupe del original) */
  --f24-bg: #ffffff;
  --f24-bg-alt: #f1ebeb;

  --f24-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f24-font-alt: "Roboto Slab", Georgia, serif;

  --f24-maxw: 1440px;
  --f24-gap: 26px;
  --f24-radius: 10px;       /* redondeado sutil (preferencia del cliente) */
  --f24-shadow: 0 6px 20px rgba(0,0,0,.07);
}

/* ============================================================ Reset ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f24-font); color: var(--f24-ink); background: var(--f24-bg); line-height: 1.55; }
img, picture, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--f24-red); }
h1,h2,h3,h4 { font-family: var(--f24-font); font-weight: 700; line-height: 1.22; margin: 0 0 .5em; }
ul { margin: 0; padding: 0; list-style: none; }

.f24-container { max-width: var(--f24-maxw); margin-inline: auto; padding-inline: 18px; }
.f24-main { min-height: 50vh; padding-block: 28px; }

/* ============================================================ Header ============================================================ */
.f24-header { position: relative; z-index: 50; background: var(--f24-white); }

/* Barra sticky compacta (réplica del header sticky original) */
.f24-stickybar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: var(--f24-bar); transform: translateY(-100%); transition: transform .3s ease; box-shadow: 0 2px 10px rgba(0,0,0,.13); }
.f24-stickybar.is-visible { transform: translateY(0); }
.f24-stickybar__top { display: flex; align-items: center; justify-content: space-between; padding-top: 7px; }
.f24-stickybar__live { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.f24-stickybar__live a { color: var(--f24-black); }
.f24-stickybar__live a:hover { color: var(--f24-red); }
.f24-stickybar__live span { color: #9b9090; }
.f24-stickybar .f24-social a { background: var(--f24-red); width: 26px; height: 26px; }
.f24-stickybar .f24-social svg { width: 13px; height: 13px; }
.f24-stickybar__main { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 5px; }
.f24-logo-compact { font-weight: 800; font-style: italic; font-size: 34px; line-height: 1; letter-spacing: -.02em; color: var(--f24-black); display: inline-block; }
.f24-logo-compact span { color: var(--f24-red); }
.f24-logo-compact img { display: block; height: 40px; width: auto; }
.f24-logo-compact--xl img { height: 82px; }
.f24-stickybar .f24-nav__menu a { padding: 9px 14px; font-size: 14px; }

/* Barra superior #444 */
.f24-topbar { background: var(--f24-topbar); color: #fff; }
.f24-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.f24-topbar__date { font-weight: 500; font-size: 15px; }

/* Redes: cuadrados con color de marca */
.f24-social { display: flex; align-items: center; gap: 6px; }
.f24-social a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; background: var(--c, #555); color: #fff; }
.f24-social a:hover { filter: brightness(1.12); }

/* Header principal: buscador | logo | Radio-Streaming */
.f24-header__main { padding-block: 18px; }
.f24-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.f24-header__search { justify-self: start; max-width: 340px; width: 100%; }
.f24-header__logo { justify-self: center; }
.f24-header__logo img { height: 62px; width: auto; }
.f24-header__live { justify-self: end; }

/* Logo wordmark (fallback de texto) */
.f24-logo { font-weight: 800; font-style: italic; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.02em; color: var(--f24-black); line-height: 1; display: inline-block; }
.f24-logo span { color: var(--f24-red); }
.f24-logo img { display: block; }

/* Buscador: input redondeado + botón gris */
.f24-header__search form { display: flex; gap: 8px; }
.f24-header__search input[type="search"] { flex: 1; border: 1px solid #cdcdcd; border-radius: 10px; padding: 11px 16px; font: inherit; font-size: 14px; outline: none; background: #fff; }
.f24-header__search input[type="search"]:focus { border-color: #999; }
.f24-header__search button { border: 0; background: var(--f24-ui-grey); color: #555; padding: 0 16px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.f24-header__search button:hover { background: var(--f24-red); color: #fff; }
.f24-header__search button svg { width: 18px; height: 18px; }

/* Caja Radio | Streaming (borde 2px #333, textos rojos, divisor) */
.f24-header__live { display: inline-flex; align-items: stretch; border: 2px solid #333; }
.f24-header__live a { display: grid; place-items: center; padding: 10px 20px; color: var(--f24-red); font-weight: 600; font-size: 15px; }
.f24-header__live a:hover { background: var(--f24-red); color: #fff; }
.f24-header__live span { width: 2px; background: #333; align-self: stretch; font-size: 0; color: transparent; }

/* Botón hamburguesa (solo mobile) */
.f24-navtoggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 40px; padding: 8px 9px; background: transparent; border: 0; cursor: pointer; justify-self: end; }
.f24-navtoggle__bar { display: block; width: 100%; height: 3px; background: var(--f24-red); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.f24-navtoggle.is-open .f24-navtoggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.f24-navtoggle.is-open .f24-navtoggle__bar:nth-child(2) { opacity: 0; }
.f24-navtoggle.is-open .f24-navtoggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.f24-nav__mlive { display: none; }

/* Navegación: barra taupe, menú negro 700, hover/activo rojo */
.f24-nav { background: var(--f24-bar); }
.f24-nav__menu { display: flex; flex-wrap: wrap; justify-content: center; }
.f24-nav__menu a { display: block; padding: 13px 20px; font-size: 15px; font-weight: 700; color: var(--f24-black); }
.f24-nav__menu a:hover { color: var(--f24-red); }
.f24-nav__menu .current-menu-item > a, .f24-nav__menu .current-menu-parent > a { background: var(--f24-red); color: #fff; }

/* ============================================================ Títulos de sección ============================================================ */
.f24-section-title { font-size: 20px; font-weight: 600; color: var(--f24-black); padding-bottom: 10px; margin: 0 0 18px; border-bottom: 2px solid var(--f24-red); }
.f24-section-title a { color: inherit; }

/* ============================================================ Tarjeta de noticia ============================================================ */
.f24-card { display: flex; flex-direction: column; background: #fff; }
.f24-card__thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #f0eaea, #e0d7d7); border-radius: var(--f24-radius); }
.f24-card__thumb::before { content: "FUEGO24"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-style: italic; font-size: 1.5rem; letter-spacing: -.02em; color: rgba(17,17,17,.10); }
.f24-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.f24-card:hover .f24-card__thumb img { transform: scale(1.05); }
.f24-card__cat { position: absolute; top: 10px; left: 10px; background: var(--f24-red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 9px; border-radius: 3px; text-transform: uppercase; }
.f24-card__title { font-size: 1.02rem; font-weight: 600; line-height: 1.32; margin: 12px 0 10px; }
.f24-card__meta { font-size: .76rem; color: var(--f24-muted); margin-top: auto; }

/* Tarjetas en grilla: borde redondeado + pie de fecha con separador (como el original) */
.f24-grid .f24-card { border: 0; background: transparent; border-radius: 0; overflow: visible; }
.f24-grid .f24-card .f24-card__thumb { border-radius: 10px; }
.f24-grid .f24-card .f24-card__title { margin: 14px 0 12px; }
.f24-grid .f24-card .f24-card__meta { margin-top: auto; padding: 12px 0 0; border-top: 1px solid var(--f24-line); }

/* Tarjeta destacada (hero de columna) */
.f24-card--feature .f24-card__thumb { aspect-ratio: 16 / 11; }
.f24-card--feature .f24-card__title { font-size: 1.5rem; font-weight: 700; }

/* Tarjeta con título sobre la imagen */
.f24-card--overlay .f24-card__thumb { aspect-ratio: 16 / 10; }
.f24-card--overlay .f24-card__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.15) 55%, transparent 100%); }
.f24-card--overlay .f24-card__body { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 18px; }
.f24-card--overlay .f24-card__title { color: #fff; margin: 0; font-size: 1.4rem; font-weight: 700; }
.f24-card--overlay .f24-card__title a { color: #fff; }
.f24-card--overlay.f24-card { position: relative; }

/* ============================================================ Grillas ============================================================ */
.f24-grid { display: grid; gap: var(--f24-gap); }
.f24-grid--4 { grid-template-columns: repeat(4, 1fr); }
.f24-grid--3 { grid-template-columns: repeat(3, 1fr); }
.f24-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ============================================================ Home ============================================================ */
.f24-home { padding-block: 28px; }
/* La 3ª columna (Nac.e Int. + ad) mide 350px = igual que el riel del cuerpo, con el
   mismo gap, para que la línea contenido↔publicidad NO salte entre destacadas y el resto. */
.f24-home__top { display: grid; grid-template-columns: 1.55fr 1.05fr 350px; gap: var(--f24-gap); margin-bottom: 40px; align-items: stretch; }
/* MOD EXPLÍCITA DEL CLIENTE: la fila superior (Locales / Prov.+Reg. / Nac.e Int.) ocupa
   justo lo que queda de pantalla bajo el header, y termina en el borde inferior del viewport.
   El JS (initTopFit) mide y pone la altura inline; acá hacemos que la única fila la llene. */
@media (min-width: 1001px) {
  .f24-home__top { grid-template-rows: minmax(0, 1fr); }
  /* Nac.e Int.: lista arriba (recorta lo que no entra vía JS) + aviso pegado abajo. */
  .f24-home__top .f24-col--list { display: flex; flex-direction: column; min-height: 0; }
  .f24-home__top .f24-col--list .f24-list { flex: 1 1 auto; min-height: 0; overflow: hidden; }
  .f24-home__top .f24-col--list .f24-col__ad { flex: 0 0 auto; }
}
/* MOD EXPLÍCITA DEL CLIENTE: columnas Locales (1) y Provinciales+Regionales (2)
   llenan la altura para que sus fondos se alineen. */
.f24-home__top > .f24-col:nth-child(1),
.f24-home__top > .f24-col:nth-child(2) { display: flex; flex-direction: column; }
.f24-home__top > .f24-col:nth-child(1) .f24-slider,
.f24-home__top > .f24-col:nth-child(2) .f24-slider { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
.f24-home__top > .f24-col:nth-child(1) .f24-slider__viewport,
.f24-home__top > .f24-col:nth-child(2) .f24-slider__viewport { flex: 1 1 0; min-height: 0; }
.f24-home__top > .f24-col:nth-child(1) .f24-slider__track,
.f24-home__top > .f24-col:nth-child(1) .f24-slide,
.f24-home__top > .f24-col:nth-child(1) .f24-slide__link,
.f24-home__top > .f24-col:nth-child(2) .f24-slider__track,
.f24-home__top > .f24-col:nth-child(2) .f24-slide,
.f24-home__top > .f24-col:nth-child(2) .f24-slide__link { height: 100%; }
.f24-home__top > .f24-col:nth-child(1) .f24-slide__link,
.f24-home__top > .f24-col:nth-child(2) .f24-slide__link { display: block; }
.f24-col { min-width: 0; }
.f24-col + .f24-col .f24-section-title { margin-top: 0; }
.f24-col__stack > * + * { margin-top: 22px; }

/* Lista de titulares (columna Nac. e Int.) */
.f24-list__item { padding: 12px 0; border-bottom: 1px solid var(--f24-line); }
.f24-list__item:first-child { padding-top: 0; }
.f24-list__item a { font-weight: 600; font-size: .98rem; display: block; }
.f24-list__date { font-size: .74rem; color: var(--f24-muted); display: block; margin-top: 4px; }

.f24-cat-section { margin-top: 36px; }
.f24-latest { margin-top: 8px; }

/* Home inferior: UNA columna de contenido + un RIEL de publicidad CONTINUO a la derecha.
   (Antes cada sección tenía su sidebar; al tener alturas independientes, las columnas no
   se alineaban y el lado más corto dejaba blancos —ej. debajo del botón de Farmacias.) */
.f24-home__body { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: var(--f24-gap); align-items: start; }
.f24-home__content { min-width: 0; }
.f24-home__content > .f24-secrow__main { margin-top: 40px; }
.f24-home__content > .f24-secrow__main:first-child { margin-top: 0; }
.f24-secrow__main { min-width: 0; }
.f24-secrow__main > .f24-secfeat:first-child,
.f24-secrow__main > .f24-section-title:first-child,
.f24-secrow__main > .f24-weather:first-child { margin-top: 0; }
/* El riel se estira a la altura del contenido y reparte los avisos parejos,
   así no queda la columna derecha vacía en las últimas secciones. */
.f24-home__rail { display: flex; flex-direction: column; gap: 22px; align-items: center; justify-content: flex-start; }
.f24-home__rail .f24-banner { width: 100%; max-width: 350px; }

/* Botón "Farmacias de turno" — valores EXACTOS del original (post-798.css): #AFBF34, Montserrat 600/25px, pastilla 25px, padding 12px 150px, centrado, hover blanco/negro */
.f24-farm-btn { display: flex; width: fit-content; max-width: 100%; margin: 24px auto 12px; align-items: center; justify-content: center; gap: 10px; background: #AFBF34; color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 25px; line-height: 1.2; padding: 12px 150px 10px; border: 3px solid #AFBF34; border-radius: 25px; transition: background .15s, color .15s; white-space: nowrap; }
.f24-farm-btn:hover, .f24-farm-btn:focus { background: #fff; color: #000; }
.f24-farm-btn span { font-size: 1em; line-height: 1; }
@media (max-width: 1024px) { .f24-farm-btn { font-size: 20px; } }
@media (max-width: 767px) { .f24-farm-btn { padding: 17px 42px 15px; } }

/* Página Farmacias de turno */
.f24-farmpage { padding-block: 36px; }
.f24-farmpage__title { font-size: 2rem; font-weight: 700; border-bottom: 2px solid var(--f24-red); padding-bottom: 12px; margin: 0 0 24px; }
.f24-farmpage__topad { text-align: center; margin-bottom: 28px; }
.f24-farmpage__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; }
.f24-farmpage__main { min-width: 0; }
.f24-farmpage__ads { display: flex; flex-direction: column; gap: 22px; align-items: center; }
.f24-farmpage__ads .f24-banner { width: 100%; max-width: 320px; }
.f24-farmpage__city { margin-bottom: 40px; }
.f24-farmpage__cityname { font-size: 1.5rem; font-weight: 700; color: #fff; background: var(--f24-red); padding: 9px 18px; border-radius: 10px; margin: 0 0 4px; }
.f24-farmpage__period { margin-bottom: 22px; }
.f24-farmpage__periodtitle { font-size: 1.05rem; font-weight: 700; color: var(--f24-red); margin: 18px 0 8px; }
.f24-farmpage__table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; border: 1px solid var(--f24-line); border-radius: 10px; overflow: hidden; }
.f24-farmpage__table th { background: #333; color: #fff; text-align: left; font-weight: 600; padding: 10px 14px; }
.f24-farmpage__th-date { width: 130px; }
.f24-farmpage__table td { padding: 10px 14px; border-top: 1px solid var(--f24-line); vertical-align: top; }
.f24-farmpage__table tbody tr:nth-child(even) td { background: #faf7f7; }
.f24-farmpage__date { font-weight: 700; color: #333; white-space: nowrap; }
.f24-farmpage__name { font-weight: 700; }
.f24-farmpage__addr { color: #555; }
.f24-farmpage__addr::before { content: " — "; color: var(--f24-muted); }
.f24-farmpage__phone { margin-left: 8px; font-weight: 600; }
/* Banners publicitarios al final de cada ciudad (llenan el ancho del main) */
.f24-farmpage__cityads { margin: 24px 0 8px; flex-wrap: nowrap; gap: 20px; }
.f24-farmpage__cityads .f24-banner { flex: 1 1 0; min-width: 0; max-width: none !important; }
@media (max-width: 768px) { .f24-farmpage__cityads { flex-wrap: wrap; } }

/* Clima (3 ciudades) */
.f24-weather { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 6px 0 10px; }
.f24-weather__card { background: #fff; border: 1px solid var(--f24-line); border-radius: 10px; padding: 18px; text-align: center; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.f24-weather__city { font-size: 1.4rem; font-weight: 700; margin: 0 0 4px; }
.f24-weather__date { font-size: .8rem; color: var(--f24-muted); margin-bottom: 10px; }
.f24-weather__main { display: flex; align-items: center; justify-content: center; gap: 8px; }
.f24-weather__icon { font-size: 2rem; line-height: 1; }
.f24-weather__temp { font-size: 2.6rem; font-weight: 700; line-height: 1; }
.f24-weather__unit { font-size: 1rem; align-self: flex-start; margin-top: 6px; color: var(--f24-muted); }
.f24-weather__cond { font-weight: 600; color: #555; margin: 4px 0 12px; }
.f24-weather__stats { display: flex; justify-content: center; gap: 16px; font-size: .82rem; color: var(--f24-muted); border-top: 1px solid var(--f24-line); padding-top: 12px; }
.f24-weather__stats b { color: var(--f24-ink); font-weight: 600; }

/* ===== Banners publicitarios reales ===== */
.f24-banner { display: block; margin: 0 auto; max-width: 100%; }
.f24-banner img { display: block; width: 100%; height: auto; }
/* Rotador: varios banners en un mismo espacio, rotan cada X seg (JS); con 1 banner queda estático */
.f24-rotate__item { display: none; }
.f24-rotate__item.is-active { display: block; }
.f24-banner-full { margin: 28px 0; text-align: center; }
.f24-banner-pair { display: flex; gap: 20px; margin: 28px 0; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.f24-col__ad { margin-top: 24px; }
.f24-home__sidebar .f24-banner { width: 100%; max-width: 100%; }
/* Banner ancho (970x250) DENTRO del main de una sección (Nor Juan, radiofuego, Crediquen) */
.f24-banner-wide { margin-top: 28px; }
.f24-banner-wide--center .f24-banner { margin-inline: auto; }
/* Teléfonos clickeables del footer (heredan el estilo del texto del pie) */
.f24-tel-link { color: inherit; text-decoration: none; }
.f24-tel-link:hover, .f24-tel-link:focus { text-decoration: underline; }
/* Par de banners 600x150 que llenan el ancho del main (Optimax/Visual, STOP/ShowReales) — como en el original */
.f24-secrow__main .f24-banner-pair { margin: 28px 0 0; flex-wrap: nowrap; gap: 20px; }
.f24-secrow__main .f24-banner-pair .f24-banner { flex: 1 1 0; min-width: 0; max-width: none !important; }
@media (max-width: 768px) { .f24-secrow__main .f24-banner-pair { flex-wrap: wrap; } }
/* Deporte: lista a la izquierda + destacada a la derecha (invertido respecto a Cultura) */
.f24-secfeat--reverse .f24-secfeat__grid { grid-template-columns: 1fr 1.15fr; }
.f24-secfeat--reverse .f24-secfeat__feat { order: 2; }
.f24-secfeat--reverse .f24-secfeat__list { order: 1; }

/* ===== Sección destacada + lista de titulares ===== */
.f24-secfeat { margin-top: 36px; }
.f24-secfeat__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.f24-secfeat__featthumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: linear-gradient(135deg,#f0eaea,#e0d7d7); }
.f24-secfeat__featthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.f24-secfeat__feat:hover .f24-secfeat__featthumb img { transform: scale(1.04); }
.f24-secfeat__feattitle { font-size: 1.35rem; font-weight: 600; line-height: 1.3; margin: 14px 0 8px; }
.f24-secfeat__featmeta { font-size: .78rem; color: var(--f24-muted); }
.f24-secfeat__list { display: flex; flex-direction: column; gap: 0; }
.f24-secfeat__item { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--f24-line); }
.f24-secfeat__item:first-child { padding-top: 0; }
.f24-secfeat__item:last-child { border-bottom: 0; }
.f24-secfeat__thumb { flex: 0 0 96px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: linear-gradient(135deg,#f0eaea,#e0d7d7); }
.f24-secfeat__thumb img { width: 100%; height: 100%; object-fit: cover; }
.f24-secfeat__txt a { font-weight: 600; font-size: .95rem; line-height: 1.3; display: block; }
.f24-secfeat__date { font-size: .74rem; color: var(--f24-muted); display: block; margin-top: 5px; }

/* ===== Farmacias de turno ===== */
.f24-farmacias { margin-top: 36px; }
.f24-farmacias__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.f24-farmacia { background: #fff; border: 1px solid var(--f24-line); border-radius: 10px; padding: 22px; text-align: center; }
.f24-farmacia__city { font-weight: 700; font-size: 1.25rem; color: var(--f24-red); margin-bottom: 8px; }
.f24-farmacia__name { font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.f24-farmacia__info { color: var(--f24-muted); font-size: .9rem; line-height: 1.5; }

/* ============================================================ Slider de destacadas ============================================================ */
.f24-slider { position: relative; overflow: hidden; }
.f24-slider__viewport { overflow: hidden; border-radius: 10px; }
.f24-slider__track { display: flex; transition: transform .5s ease; will-change: transform; }
.f24-slide { min-width: 100%; }
.f24-slide__link { position: relative; display: block; }
.f24-slide__media { aspect-ratio: 16 / 11; overflow: hidden; background: linear-gradient(135deg, #f0eaea, #e0d7d7); }
.f24-slide__media img { width: 100%; height: 100%; object-fit: cover; }
.f24-slide__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.18) 52%, transparent 100%); }
.f24-slide .f24-card__cat { z-index: 2; }
.f24-slide__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px; }
.f24-slide__title { color: #fff; font-weight: 600; font-size: clamp(1.1rem, 1.5vw, 1.65rem); line-height: 1.26; margin: 0; }
.f24-slide__title, .f24-slide__link:hover .f24-slide__title { color: #fff; }
/* Locales (col 1) más alto; Provinciales/Regionales (col 2) más bajos */
.f24-home__top > .f24-col:nth-child(1) .f24-slide__media,
.f24-home__top > .f24-col:nth-child(2) .f24-slide__media { aspect-ratio: auto; height: 100%; width: 100%; }
.f24-slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; color: rgba(238,238,238,.9); font-size: 30px; line-height: 1; cursor: pointer; text-shadow: 0 1px 5px rgba(0,0,0,.45); transition: color .15s ease; }
.f24-slider__arrow:hover { background: transparent; color: #fff; }
.f24-slider__arrow--prev { left: 4px; }
.f24-slider__arrow--next { right: 4px; }
.f24-slider__dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3; display: flex; justify-content: center; gap: 6px; }
.f24-slider__dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; transition: background .15s ease; }
.f24-slider__dots button.is-active { background: #fff; }

/* ============================================================ Contenido aislado (anti-RSS) ============================================================ */
.entry-content { font-size: 1.06rem; line-height: 1.7; overflow-wrap: anywhere; }
.entry-content > * { max-width: 100%; }
.entry-content img, .entry-content iframe, .entry-content video { max-width: 100%; height: auto; border-radius: var(--f24-radius); }
/* Imágenes importadas: centradas por defecto (clase aligncenter del saneador) */
.entry-content img.aligncenter, .entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
/* Epígrafe de foto: superpuesto abajo a la derecha, con fondo oscuro tenue para asegurar el contraste sobre cualquier imagen */
.entry-content figure { position: relative; width: -moz-fit-content; width: fit-content; max-width: 100%; margin: 1.1em auto; }
.entry-content figure img { display: block; margin: 0; }
.entry-content figure figcaption {
	position: absolute; right: 10px; bottom: 10px; max-width: calc(100% - 20px); margin: 0;
	padding: 4px 10px; background: rgba(20, 20, 22, .62); color: #fff;
	font-size: .78rem; line-height: 1.35; font-weight: 500; text-align: right;
	border-radius: 8px; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
	text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.entry-content figure figcaption p { margin: 0; font-size: inherit; line-height: inherit; }
.entry-content figure figcaption a { color: #fff; }
@media (max-width: 520px) { .entry-content figure figcaption { font-size: .72rem; right: 6px; bottom: 6px; padding: 3px 8px; } }
.entry-content table { display: block; overflow-x: auto; border-collapse: collapse; width: 100%; }
.entry-content p { margin: 0 0 1.1em; }

/* ============================================================ Nota individual ============================================================ */
.f24-single { padding-block: 0; }
.f24-single__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding-top: 30px; }
.f24-single__main { min-width: 0; }
.f24-single__head { text-align: center; margin-bottom: 22px; }
.f24-single__title { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; margin: 0 0 14px; }
.f24-single__meta { color: var(--f24-muted); font-size: .9rem; }
.f24-single__meta a { color: var(--f24-muted); font-weight: 700; text-transform: uppercase; font-size: .82rem; letter-spacing: .03em; }
.f24-single__meta a:hover { color: var(--f24-red); }
.f24-single__meta .sep { margin: 0 12px; color: #cbc4c4; }
.f24-single__media { position: relative; margin: 0 auto 26px; max-width: 900px; width: -moz-fit-content; width: fit-content; }
.f24-single__media img { width: 100%; border-radius: var(--f24-radius); display: block; }
/* Epígrafe de la foto destacada: superpuesto abajo a la derecha, con fondo oscuro tenue (contraste) */
.f24-single__media figcaption {
	position: absolute; right: 12px; bottom: 12px; max-width: calc(100% - 24px); margin: 0;
	padding: 5px 12px; background: rgba(20, 20, 22, .62); color: #fff;
	font-size: .82rem; line-height: 1.35; font-weight: 500; text-align: right;
	border-radius: 8px; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
	text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
@media (max-width: 520px) { .f24-single__media figcaption { font-size: .74rem; right: 8px; bottom: 8px; padding: 4px 9px; } }
.entry-content h2 { font-size: 1.5rem; margin: 1.4em 0 .5em; }
.entry-content h3 { font-size: 1.2rem; margin: 1.3em 0 .5em; }
.entry-content strong { font-weight: 700; }
.entry-content a { color: var(--f24-red); text-decoration: underline; }
.entry-content ul, .entry-content ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--f24-red); color: #444; font-style: italic; }
.f24-single__tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.f24-single__tags a { background: var(--f24-bg-alt); padding: 5px 11px; border-radius: 4px; font-size: .82rem; font-weight: 600; color: var(--f24-muted); }
.f24-single__tags a:hover { background: var(--f24-red); color: #fff; }
.f24-single__share { margin-top: 24px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.f24-single__share span { font-weight: 700; }
.f24-single__share a { background: var(--f24-black); color: #fff; padding: 8px 14px; border-radius: 4px; font-size: .85rem; font-weight: 600; }
.f24-single__share a:hover { background: var(--f24-red); color: #fff; }
.f24-related { margin-top: 44px; }

/* ============================================================ Archivo de categoría + publicidad ============================================================ */
.f24-archive { padding-block: 30px; }
.f24-archive__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
.f24-archive__sidebar { display: flex; flex-direction: column; gap: 24px; }
/* Slots de publicidad: cada uno con su TAMAÑO REAL (lo que verá la marca), centrado y redondeado */
.f24-ad { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 20px 14px; background: #f7c4c6; position: relative; border-radius: 0; margin-inline: auto; max-width: 100%; }
.f24-ad--300x300 { width: 300px; aspect-ratio: 1 / 1; }
.f24-ad--300x600 { width: 300px; aspect-ratio: 1 / 2; }
.f24-ad--970x90 { width: 970px; aspect-ratio: 970 / 90; gap: 2px; padding: 8px; }
.f24-ad__logo { position: absolute; top: 12px; right: 16px; font-weight: 800; font-style: italic; font-size: 22px; color: var(--f24-black); }
.f24-ad__logo b { color: var(--f24-red); }
.f24-ad__size { font-weight: 600; color: #555; font-size: .95rem; }
.f24-ad__cta { font-size: 1.7rem; font-weight: 700; color: var(--f24-black); line-height: 1.1; }
.f24-ad__phone { font-weight: 700; color: var(--f24-black); }
/* Banner 970x90: texto compacto para entrar en 90px de alto, logo más chico */
.f24-ad--970x90 .f24-ad__size { font-size: .72rem; }
.f24-ad--970x90 .f24-ad__cta { font-size: 1.35rem; }
.f24-ad--970x90 .f24-ad__phone { font-size: .85rem; }
.f24-ad--970x90 .f24-ad__logo { top: 8px; right: 14px; font-size: 18px; }
/* Placeholders que faltaban (con los espacios con nombre pueden aparecer en cualquier medida) */
.f24-ad--300x650 { width: 300px; aspect-ratio: 300 / 650; }
.f24-ad--970x250 { width: 970px; aspect-ratio: 970 / 250; }
.f24-ad--600x150 { width: 600px; aspect-ratio: 600 / 150; gap: 2px; padding: 8px; }
.f24-ad--600x150 .f24-ad__size { font-size: .72rem; }
.f24-ad--600x150 .f24-ad__cta { font-size: 1.25rem; }
.f24-ad--600x150 .f24-ad__phone { font-size: .82rem; }
.f24-ad--600x150 .f24-ad__logo { top: 8px; right: 12px; font-size: 16px; }
/* En un par, el placeholder ocupa media columna igual que el banner (no se agranda el que queda) */
.f24-secrow__main .f24-banner-pair .f24-ad { flex: 1 1 0; min-width: 0; width: auto; max-width: none; }
.f24-farmpage__cityads .f24-ad { flex: 1 1 0; min-width: 0; width: auto; max-width: none; }
/* En columnas laterales, el placeholder al ancho de la columna */
.f24-home__rail .f24-ad { width: 100%; max-width: 350px; margin-inline: auto; }
.f24-farmpage__ads .f24-ad { width: 100%; max-width: 320px; margin-inline: auto; }

/* ===== Placeholder "Publicite aquí" — suave, con contacto (Variante A) ===== */
.f24-ph { display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; border: 1.5px dashed #7a7a82; border-radius: 10px; background: rgba(236,28,36,.07); color: #9a9aa2; transition: border-color .18s, background .18s, color .18s, box-shadow .18s; margin-inline: auto; max-width: 100%; }
.f24-ph__in { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 14px; width: 100%; height: 100%; }
.f24-ph__ico { color: #c8c8d0; display: flex; transition: color .18s; }
.f24-ph__t { font-weight: 600; font-size: .82rem; color: #9a9aa2; letter-spacing: .01em; transition: color .18s; }
.f24-ph__c { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; color: #b0b0b8; font-weight: 600; transition: color .18s; }
.f24-ph__c svg { display: block; }
.f24-ph:hover { border-color: #47474e; background: rgba(236,28,36,.12); box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.f24-ph:hover .f24-ph__t { color: #6c6c78; }
.f24-ph:hover .f24-ph__ico { color: #bcbcc6; }
.f24-ph--wa:hover .f24-ph__c { color: #25D366; }
.f24-ph--mail:hover .f24-ph__c { color: #2563eb; }
.f24-ph__ch { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; color: #b0b0b8; font-weight: 600; transition: color .15s; }
.f24-ph__c a + a { margin-left: 12px; }
.f24-ph__ch--wa:hover { color: #25D366; }
.f24-ph__ch--mail:hover { color: #2563eb; }
.f24-ph--300x300 { width: 300px; aspect-ratio: 1 / 1; }
.f24-ph--300x650 { width: 300px; aspect-ratio: 300 / 650; }
.f24-ph--600x150 { width: 600px; aspect-ratio: 600 / 150; }
.f24-ph--970x250 { width: 970px; aspect-ratio: 970 / 250; }
.f24-ph--970x90 { width: 970px; aspect-ratio: 970 / 90; }
.f24-ph--wide .f24-ph__in { flex-direction: row; gap: 16px; }
.f24-ph--wide .f24-ph__t { font-size: .95rem; }
.f24-ph--h90 .f24-ph__in { gap: 12px; padding: 6px 14px; }
.f24-ph--h90 .f24-ph__ico svg { width: 18px; height: 18px; }
.f24-home__rail .f24-ph, .f24-farmpage__ads .f24-ph { width: 100%; max-width: 350px; }
.f24-secrow__main .f24-banner-pair .f24-ph, .f24-farmpage__cityads .f24-ph { flex: 1 1 0; min-width: 0; width: auto; max-width: none; }

/* Título de archivo (búsqueda) y 404 */
.f24-archive__title { font-size: 22px; font-weight: 600; color: var(--f24-black); border-bottom: 2px solid var(--f24-red); padding-bottom: 10px; margin: 0 0 24px; }
.f24-archive__title em { font-style: normal; color: var(--f24-red); }
.f24-noresults { padding: 16px 0; }
.f24-404 { text-align: center; padding-block: 80px; max-width: 620px; margin-inline: auto; }
.f24-404__code { font-size: clamp(80px, 14vw, 150px); font-weight: 800; font-style: italic; color: var(--f24-red); line-height: 1; }
.f24-404__title { font-size: 1.8rem; margin: 8px 0; }
.f24-404__text { color: var(--f24-muted); margin-bottom: 24px; }
.f24-404 form { max-width: 420px; margin: 0 auto 22px; }
.f24-btn { display: inline-block; background: var(--f24-black); color: #fff; padding: 12px 28px; font-weight: 600; }
.f24-btn:hover { background: var(--f24-red); color: #fff; }

/* Formulario de búsqueda (genérico, fuera del header) */
.f24-searchform { display: flex; gap: 8px; }
.f24-searchform input[type="search"] { flex: 1; border: 1px solid #cdcdcd; border-radius: 10px; padding: 11px 16px; font: inherit; font-size: 14px; outline: none; }
.f24-searchform input[type="search"]:focus { border-color: #999; }
.f24-searchform button { border: 0; background: var(--f24-ui-grey); color: #555; padding: 0 16px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.f24-searchform button:hover { background: var(--f24-red); color: #fff; }
.f24-searchform button svg { width: 18px; height: 18px; }

/* ============================================================ Paginación ============================================================ */
.f24-pagination { margin-top: 32px; }
.f24-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; margin: 0 3px; border: 1px solid var(--f24-line); border-radius: 4px; font-weight: 600; }
.f24-pagination .page-numbers.current { background: var(--f24-red); color: #fff; border-color: var(--f24-red); }

/* ============================================================ Páginas full-screen (Radio / Streaming) ============================================================ */
.f24-fullscreen { margin: 0; }
.f24-radio { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 50px 20px; background: #160b09 url('https://fuego24.com/wp-content/uploads/2024/12/fondofuego2-1.png') center/cover no-repeat; color: #fff; position: relative; }
.f24-radio__home { position: absolute; top: 20px; left: 24px; color: #fff; font-weight: 600; opacity: .85; }
.f24-radio__home:hover { color: #fff; opacity: 1; }
.f24-radio__logo { width: 210px; max-width: 60vw; height: auto; margin-bottom: 6px; }
.f24-radio__title1 { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 600; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.f24-radio__title2 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; margin: 0 0 12px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.f24-player { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 40px; padding: 10px 20px; min-width: 380px; max-width: 92vw; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.f24-player__toggle { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--f24-red); cursor: pointer; display: grid; place-items: center; }
.f24-player__toggle svg { width: 20px; height: 20px; fill: #fff; }
.f24-player__toggle .icon-pause { display: none; }
.f24-player__toggle.is-playing .icon-play { display: none; }
.f24-player__toggle.is-playing .icon-pause { display: block; }
.f24-player__live { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12px; color: var(--f24-red); letter-spacing: .06em; }
.f24-player__live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--f24-red); animation: f24blink 1.2s infinite; }
@keyframes f24blink { 50% { opacity: .25; } }
.f24-player__vol { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.f24-player__vol input { width: 90px; accent-color: var(--f24-red); }
.f24-radio__social { margin-top: 6px; }
.f24-radio__social .f24-social a { background: rgba(255,255,255,.18); }
.f24-radio__social .f24-social a:hover { background: var(--f24-red); }

/* Streaming (YouTube) */
.f24-stream { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 30px 20px 50px; background: #ececec; }
.f24-stream__logo { width: 230px; max-width: 70vw; margin: 6px 0 18px; }
.f24-stream__channel { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: #324A6D; margin-bottom: 16px; }
.f24-stream__channel img { width: 38px; height: 38px; border-radius: 50%; }
.f24-stream__video { width: 100%; max-width: 1100px; aspect-ratio: 16 / 9; background: #000; }
.f24-stream__video iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================ Footer ============================================================ */
.f24-footer { background: #f5f5f5; color: #324A6D; margin-top: 0; }
.f24-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-block: 50px; align-items: start; }
.f24-footer__title { color: #1C244B; font-family: "Poppins", var(--f24-font); font-size: 22px; font-weight: 600; margin-bottom: 18px; }
.f24-footer__brand { display: flex; flex-direction: column; gap: 24px; }
.f24-logo-compact--xl { font-size: 78px; }
.f24-footer .f24-social { gap: 14px; }
.f24-footer .f24-social a { background: transparent; color: var(--f24-red); width: auto; height: auto; border-radius: 0; }
.f24-footer .f24-social svg { width: 26px; height: 26px; }
.f24-footer .f24-social a:hover { filter: none; color: var(--f24-red-dark); }
.f24-footer__menu a { display: block; padding: 8px 0; color: #324A6D; font-weight: 400; font-size: 16px; }
.f24-footer__menu a:hover { color: var(--f24-red); }
.f24-footer__contact p { margin: 0 0 8px; font-size: 15px; line-height: 1.55; color: #324A6D; }
.f24-footer__contact .f24-tel { color: var(--f24-red); vertical-align: middle; margin-right: 4px; }
.f24-footer__legal { background: #000; color: #fff; }
.f24-footer__legal-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; font-size: 15px; flex-wrap: wrap; gap: 8px; }
.f24-footer__legal a { color: #fff; }
.f24-footer__legal a:hover { color: var(--f24-red); }

/* ============================================================ Responsive ============================================================ */
@media (max-width: 1000px) {
  .f24-home__top { grid-template-columns: 1fr 1fr; }
  .f24-home__top .f24-col--list { grid-column: 1 / -1; }
  /* Sliders del top: apilados no tienen altura de columna que llenar → usar aspect-ratio normal (si no, colapsan a 0) */
  .f24-home__top > .f24-col:nth-child(1),
  .f24-home__top > .f24-col:nth-child(2) { display: block; }
  .f24-home__top > .f24-col:nth-child(1) .f24-slider,
  .f24-home__top > .f24-col:nth-child(2) .f24-slider,
  .f24-home__top > .f24-col:nth-child(1) .f24-slider__viewport,
  .f24-home__top > .f24-col:nth-child(2) .f24-slider__viewport { flex: none; min-height: 0; }
  .f24-home__top > .f24-col:nth-child(1) .f24-slider__track,
  .f24-home__top > .f24-col:nth-child(1) .f24-slide,
  .f24-home__top > .f24-col:nth-child(1) .f24-slide__link,
  .f24-home__top > .f24-col:nth-child(2) .f24-slider__track,
  .f24-home__top > .f24-col:nth-child(2) .f24-slide,
  .f24-home__top > .f24-col:nth-child(2) .f24-slide__link { height: auto; }
  .f24-home__top > .f24-col:nth-child(1) .f24-slide__media,
  .f24-home__top > .f24-col:nth-child(2) .f24-slide__media { aspect-ratio: 16 / 11; height: auto; }
  .f24-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .f24-archive__layout, .f24-single__layout, .f24-home__body { grid-template-columns: 1fr; }
  .f24-archive__sidebar { flex-direction: row; flex-wrap: wrap; justify-content: center; position: static; }
  .f24-home__rail { flex-direction: row; flex-wrap: wrap; }
  .f24-secfeat__grid, .f24-farmpage__layout, .f24-farmacias__grid { grid-template-columns: 1fr; }
  .f24-ad--300x600 { aspect-ratio: 1 / 1; }
  .f24-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  /* Header mobile: logo + hamburguesa (como el original) */
  .f24-topbar { display: none; }
  .f24-header__live { display: none; }
  .f24-header__search { display: none; }
  .f24-header__main { padding-block: 12px; }
  .f24-header__inner { grid-template-columns: 1fr auto; gap: 10px; }
  .f24-header__logo { justify-self: start; }
  .f24-header__logo img { height: 42px; }
  .f24-navtoggle { display: inline-flex; }
  .f24-nav { display: none; }
  .f24-nav.is-open { display: block; }
  .f24-nav__menu { flex-direction: column; align-items: stretch; }
  .f24-nav__menu a { padding: 14px 18px; border-top: 1px solid #cfc6c6; }
  .f24-nav__mlive { display: flex; }
  .f24-nav__mlive a { flex: 1; text-align: center; padding: 13px 10px; font-weight: 700; color: var(--f24-red); border-top: 1px solid #cfc6c6; }
  .f24-nav__mlive a:first-child { border-right: 1px solid #cfc6c6; }
  .f24-stickybar { display: none; } /* en mobile alcanza con el header de arriba + hamburguesa */
  .f24-home__top { grid-template-columns: 1fr; }
  .f24-grid--4, .f24-grid--3, .f24-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .f24-footer__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 460px) {
  .f24-grid--4, .f24-grid--3, .f24-grid--2 { grid-template-columns: 1fr; }
}

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
