/* css/style.css */
:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --accent-red: #cc0000;
    --border-color: #e0e0e0;
    --footer-bg: #1a1a1a;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #f5f5f5;
    --border-color: #333333;
    --footer-bg: #0a0a0a;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body { background-color: var(--bg-color); color: var(--text-color); transition: background 0.3s, color 0.3s; }

header { padding: 15px 20px; border-bottom: 3px solid var(--accent-red); background: var(--bg-color); }
.header-top { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
.logo-area { text-align: center; flex-grow: 1; }
.logo-area img { max-height: 75px; width: auto; }

.theme-toggle-btn { background: var(--text-color); color: var(--bg-color); border: none; padding: 8px 14px; cursor: pointer; border-radius: 4px; font-size: 12px; font-weight: bold; }

nav.menu-barra { background: #000; padding: 10px 0; }
nav.menu-barra ul { display: flex; justify-content: center; list-style: none; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
nav.menu-barra ul li a { color: #fff; text-decoration: none; padding: 8px 15px; font-size: 13px; font-weight: 700; text-transform: uppercase; }
nav.menu-barra ul li a:hover { color: var(--accent-red); }

.container { max-width: 1200px; margin: 20px auto; padding: 0 15px; display: block; }
.layout-portal { display: table; width: 100%; table-layout: fixed; }
.col-principal { display: table-cell; width: 75%; vertical-align: top; padding-right: 20px; }
.col-lateral { display: table-cell; width: 25%; vertical-align: top; background: var(--border-color); padding: 15px; border-radius: 4px; }

.card-noticia { border-bottom: 1px solid var(--border-color); padding: 15px 0; }
.card-noticia h2 a { color: var(--text-color); text-decoration: none; font-size: 20px; }
.card-noticia h2 a:hover { color: var(--accent-red); }
.tag-categoria { display: inline-block; background: var(--accent-red); color: white; padding: 2px 6px; font-size: 11px; font-weight: bold; text-transform: uppercase; margin-bottom: 5px; }

/* Sistema Rotativo de Banners */
.banner-adv { width: 100%; background: #eaeaea; text-align: center; margin: 15px 0; position: relative; overflow: hidden; border: 1px solid var(--border-color); min-height: 90px; }
.banner-slot { display: none; width: 100%; height: auto; }
.banner-slot.active { display: block; }
.banner-slot img { max-width: 100%; height: auto; display: block; margin: 0 auto; }

footer { background: var(--footer-bg); color: #888888; padding: 30px 20px; margin-top: 40px; font-size: 13px; border-top: 4px solid var(--accent-red); }
.footer-container { max-width: 1200px; margin: 0 auto; display: table; width: 100%; }
.footer-left { display: table-cell; width: 30%; vertical-align: middle; }
.footer-right { display: table-cell; width: 70%; text-align: right; vertical-align: middle; }
.footer-links a { color: #bbbbbb; text-decoration: none; margin-left: 15px; }
.footer-links a:hover { color: #ffffff; }

/* Player de TV */
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; background: #000; margin-bottom: 20px; }
.video-container iframe, .video-container video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }