/*
Theme Name: InfoNación
Author: InfoNación
Description: Tema editorial para InfoNación. Portal de noticias políticas con portada dinámica (destacado, secciones, más leídas), colores y logo editables desde el Personalizador, menús, widgets de publicidad y categorías listas para usar. Totalmente administrable desde el escritorio de WordPress: no se requiere tocar código para publicar noticias, cambiar el logo, los colores o los menús.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: infonacion
Tags: blog, news, one-column, two-columns, three-columns, four-columns, grid-layout, custom-colors, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready, footer-widgets

InfoNación WordPress Theme is distributed under the terms of the GNU GPL v2 or later.
*/

/* This file intentionally left as the required theme stylesheet header.
   All utility styling is generated by Tailwind CSS, loaded and configured
   in inc/enqueue.php so that colors set in Customize > Colores de marca
   apply live, without a build step. Small overrides live in
   assets/css/custom.css. */
/* ==========================================================
   1. PALETA DE COLOR Y MENÚ PRINCIPAL
   ========================================================== */
:root {
  /* Azul institucional sobrio y profundo */
  --color-primary: #0d2c4d; 
  --color-primary-hover: #081d33;
}

/* Forzar menú principal en blanco opaco */
.main-navigation,
.site-header,
.header-nav {
  background-color: #ffffff !important;
  position: relative;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ==========================================================
   2. BARRA DE COTIZACIONES / MERCADO (BLANCA Y DEBAJO)
   ========================================================== */
.market-ticker,
.ticker-bar,
.indicadores-economicos {
  background-color: #ffffff !important;
  color: #222222 !important;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  z-index: 90;
  display: block;
  width: 100%;
}

.market-ticker a,
.ticker-bar span {
  color: #333333 !important;
}

/* ==========================================================
   3. OCULTAR RECUADRO PUBLICITARIO VACÍO ("Anunciar aquí")
   ========================================================== */
.ad-banner:empty,
.ad-slot:empty,
.anunciar-aqui,
.ad-container:not(:has(img)):not(:has(iframe)):not(:has(ins)) {
  display: none !important;
}

/* ==========================================================
   4. ENTRADAS: ELIMINAR FOTO GIGANTE Y COMENTARIOS
   ========================================================== */
/* Oculta la imagen destacada superior en las notas individuales */
.single-post .post-thumbnail-large,
.single-post .entry-hero-image,
.single-post .featured-image-wrapper {
  display: none !important;
}

/* Ocultar sección completa de comentarios */
#comments,
.comments-area {
  display: none !important;
}

/* ==========================================================
   5. BOTÓN CENTRADO "CARGAR MÁS" (ÚLTIMA HORA)
   ========================================================== */
.load-more-wrapper {
  text-align: center;
  margin: 40px 0;
  width: 100%;
}

.btn-load-more {
  display: inline-block;
  background-color: var(--color-primary);
  color: #ffffff !important;
  padding: 12px 36px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-load-more:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}