/*
Theme Name: Diario PC Pro
Theme URI: https://diariopc.com/
Author: Diario PC Media
Author URI: https://diariopc.com/
Description: Tema editorial profesional para periódico digital y portal de noticias con soporte modular de categorías y gestión de banners publicitarios.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: diariopc
Tags: news, editorial, newspaper, grid-layout, custom-widgets, ad-ready
*/

:root {
  --primary-red: #b91c1c;
  --primary-red-hover: #991b1b;
  --dark-text: #111827;
  --muted-text: #6b7280;
  --light-bg: #f9fafb;
  --border-color: #e5e7eb;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--dark-text);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.headline-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
}

/* Contenedores de Banners */
.ad-slot-leaderboard {
  max-width: 970px;
  min-height: 90px;
  margin: 1.5rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8fafc;
  border: 1px dashed var(--border-color);
}

.ad-slot-mpu {
  width: 300px;
  min-height: 250px;
  margin: 1rem auto;
  background: #f8fafc;
  border: 1px dashed var(--border-color);
}

/* Responsive content and banners; supplement the supplied Tailwind layout. */
* { box-sizing: border-box; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
.logo img { max-width: 240px; max-height: 120px; width: auto; }
.ad-slot-header { max-width: 100%; min-width: 0; }
.ad-slot-header > div { max-width: 100%; }
.ad-container img { display: block; margin: auto; }
.editorial-content { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.8; overflow-wrap: anywhere; }
.editorial-content p, .editorial-content figure { margin-bottom: 1.4rem; }
.editorial-content a { color: var(--primary-red); text-decoration: underline; }
.editorial-content h2 { font-size: 1.6rem; font-weight: 700; margin: 1.5rem 0 1rem; }
.editorial-content ul { list-style: disc; padding-left: 1.5rem; }
.editorial-content ol { list-style: decimal; padding-left: 1.5rem; }
.editorial-content .aligncenter { display: block; margin: 1rem auto; }
.editorial-content figcaption { font-family: var(--font-sans); font-size: .8rem; color: var(--muted-text); }
@media (max-width: 767px) { nav > div { flex-wrap: wrap; gap: 8px; padding-bottom: 12px; } .ad-slot-header { width: 100%; } }

body { background: #fcf9f8; }
body.admin-bar header.sticky { top:32px; }
@media(max-width:782px){body.admin-bar header.sticky{top:46px;}}
@media(max-width:767px){header.sticky{position:static;}header .text-[11px]{flex-wrap:wrap;} }
.font-serif{font-family:var(--font-serif);}
.ad-leaderboard-top{max-width:970px;min-width:0;} .ad-leaderboard-top img{max-width:100%;height:auto;}
audio,iframe{max-width:100%;}
