/*
Theme Name: 5to Poder GVE
Theme URI: https://5topodergve.com
Author: 5to Poder GVE
Author URI: https://5topodergve.com
Description: Tema editorial para diario digital 5to Poder GVE.
Version: 1.0
Text Domain: 5topodergve
*/

:root {
  --rosa-mexicano: #e4007c;
  --gris-rata: #5f6368;
  --gris-oscuro: #2f3133;
  --blanco: #ffffff;
  --negro: #111111;
  --gris-claro: #ececec;
  --max-width: 1200px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: var(--gris-rata); color: var(--negro); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(100% - 32px, var(--max-width)); margin: 0 auto; }
.site-header { background: var(--gris-oscuro); color: var(--blanco); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.topbar { background: var(--rosa-mexicano); color: var(--blanco); font-size: 14px; padding: 8px 0; }
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.site-branding .site-title { font-size: 34px; font-weight: 800; letter-spacing: -.5px; color: var(--blanco); }
.site-branding .site-title span, .section-title span, .breaking-label { color: var(--rosa-mexicano); }
.site-tagline { font-size: 13px; color: #d7d7d7; margin-top: 4px; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 0; }
.main-nav a { color: var(--blanco); font-weight: 700; font-size: 14px; text-transform: uppercase; }
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--rosa-mexicano); }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin: 30px 0; }
.card, .article-card, .video-card, .widget-card, .category-block, .archive-card, .single-wrap { background: var(--blanco); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.featured-main { position: relative; }
.featured-main img { width: 100%; height: 460px; object-fit: cover; }
.featured-overlay { position: absolute; inset: auto 0 0 0; padding: 28px; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.05)); color: var(--blanco); }
.featured-overlay h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 40px); line-height: 1.05; }
.featured-side { display: grid; gap: 18px; }
.mini-post { display: grid; grid-template-columns: 110px 1fr; gap: 14px; background: var(--blanco); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.mini-post img { width: 100%; height: 100%; object-fit: cover; }
.mini-post-content { padding: 12px 14px 12px 0; }
.badge { display: inline-block; background: var(--rosa-mexicano); color: var(--blanco); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .4px; }
.breaking-bar { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; background: var(--blanco); box-shadow: var(--shadow); padding: 16px 20px; border-radius: 16px; margin: 10px 0 28px; }
.breaking-label { font-weight: 900; text-transform: uppercase; }
.section { margin: 34px 0; }
.section-title { color: var(--blanco); font-size: 30px; margin: 0 0 18px; text-transform: uppercase; }
.news-grid, .video-grid, .archive-grid, .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card img, .video-card img, .archive-card img { width: 100%; height: 230px; object-fit: cover; }
.article-card-content, .video-card-content, .archive-card-content { padding: 18px; }
.article-card h3, .video-card h3, .archive-card h3 { margin: 10px 0 8px; font-size: 23px; line-height: 1.15; }
.meta { color: #666; font-size: 13px; }
.excerpt { color: #333; font-size: 15px; line-height: 1.6; }
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.sidebar-area { display: grid; gap: 20px; }
.widget-card { padding: 20px; }
.site-footer { background: #1f2022; color: var(--blanco); margin-top: 50px; padding-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; padding-bottom: 32px; }
.footer-title { font-size: 19px; margin: 0 0 14px; color: var(--rosa-mexicano); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; font-size: 14px; color: #ccc; }
.single-wrap { padding: 0 0 24px; }
.single-hero img { width: 100%; max-height: 520px; object-fit: cover; }
.single-content { padding: 28px; }
.single-title { font-size: clamp(28px, 4vw, 48px); line-height: 1.05; margin: 12px 0; }
.author-line { font-weight: 700; color: var(--gris-rata); margin-bottom: 18px; }
.entry-content { font-size: 18px; line-height: 1.9; color: #1a1a1a; }
.entry-content p { margin: 0 0 18px; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 999px; background: var(--rosa-mexicano); color: var(--blanco); font-weight: 700; }
.contact-form-wrap, .page-wrap { background: var(--blanco); border-radius: 18px; box-shadow: var(--shadow); padding: 28px; }
input, textarea { width: 100%; padding: 14px 16px; border: 1px solid #ccc; border-radius: 12px; margin-bottom: 14px; font-size: 16px; }
button, input[type="submit"] { background: var(--rosa-mexicano); color: var(--blanco); border: 0; padding: 14px 18px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: white; display: grid; place-items: center; font-size: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.2); z-index: 9999; }
@media (max-width: 980px) {
  .hero-grid, .two-col, .footer-grid, .news-grid, .video-grid, .archive-grid, .related-grid { grid-template-columns: 1fr; }
  .header-main { flex-direction: column; align-items: flex-start; }
  .featured-main img { height: 300px; }
}
