/* ==================== VARIABLES Y RESET ==================== */
:root {
    --primary: #c41e3a;
    --primary-dark: #9a1830;
    --secondary: #1e3a5f;
    --accent: #f4a024;
    --light: #f8f9fa;
    --dark: #1a1a2e;
    --gray: #6c757d;
    --white: #ffffff;
    --shadow: 0 3px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ==================== LAYOUT ==================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.two-column { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.single-column { grid-template-columns: 1fr !important; }

/* ==================== TOP BAR ==================== */
.top-bar { background: var(--dark); color: var(--white); padding: 8px 0; font-size: 0.85rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--white); margin-left: 15px; transition: var(--transition); }
.top-bar a:hover { color: var(--accent); }

/* ==================== HEADER ==================== */
header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; }
.header-main { padding: 15px 0; border-bottom: 3px solid var(--primary); }
.header-main .container { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 50px; height: 50px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.logo h1 { font-family: 'Oswald', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--primary); letter-spacing: 2px; }
.logo h1 span { color: var(--secondary); }

.search-box { display: flex; align-items: center; background: var(--light); border-radius: 25px; padding: 8px 15px; width: 300px; }
.search-box input { border: none; background: transparent; padding: 5px 10px; font-size: 0.95rem; width: 100%; outline: none; }
.search-box button { background: var(--primary); border: none; color: var(--white); padding: 8px 15px; border-radius: 20px; cursor: pointer; transition: var(--transition); }
.search-box button:hover { background: var(--primary-dark); }

/* ==================== NAVIGATION ==================== */
nav { background: var(--secondary); }
nav .container { display: flex; justify-content: center; }
nav ul { display: flex; list-style: none; }
nav ul li a { display: block; color: var(--white); padding: 15px 25px; font-family: 'Oswald', sans-serif; font-size: 1.1rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); }
nav ul li a:hover, nav ul li a.active { background: var(--primary); }
nav ul li a.nav-live { background: var(--primary); animation: pulse-nav 2s infinite; }
@keyframes pulse-nav { 0%, 100% { opacity: 1; } 50% { opacity: 0.8; } }

/* ==================== TICKER ==================== */
.ticker { background: var(--primary); color: var(--white); padding: 10px 0; overflow: hidden; }
.ticker-content { display: flex; align-items: center; overflow: hidden; }
.ticker-label { background: var(--accent); color: var(--dark); padding: 5px 15px; font-weight: 700; font-family: 'Oswald', sans-serif; text-transform: uppercase; margin-right: 20px; flex-shrink: 0; border-radius: 4px; z-index: 2; position: relative; }
.ticker-text { animation: ticker 25s linear infinite; white-space: nowrap; }
@keyframes ticker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* ==================== HERO ==================== */
.hero { padding: 40px 0; background: var(--white); }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }

.hero-main { position: relative; border-radius: var(--radius); overflow: hidden; height: 500px; }
.hero-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-main .overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.9)); padding: 40px 30px; color: var(--white); }
.hero-main .category { background: var(--primary); color: var(--white); padding: 5px 15px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; display: inline-block; margin-bottom: 15px; border-radius: 4px; }
.hero-main h2 { font-family: 'Oswald', sans-serif; font-size: 2rem; margin-bottom: 10px; line-height: 1.3; }
.hero-main h2 a { color: var(--white); transition: var(--transition); }
.hero-main h2 a:hover { color: var(--accent); }
.hero-main p { font-size: 1rem; opacity: 0.9; }

.hero-sidebar { display: flex; flex-direction: column; gap: 15px; }
.hero-sidebar-item { position: relative; border-radius: var(--radius); overflow: hidden; height: calc(50% - 7.5px); }
.hero-sidebar-item img { width: 100%; height: 100%; object-fit: cover; }
.hero-sidebar-item .overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.85)); padding: 20px; color: var(--white); }
.hero-sidebar-item .category { background: var(--accent); color: var(--dark); padding: 3px 10px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; display: inline-block; margin-bottom: 10px; border-radius: 4px; }
.hero-sidebar-item h3 { font-family: 'Oswald', sans-serif; font-size: 1.2rem; line-height: 1.3; }
.hero-sidebar-item h3 a { color: var(--white); transition: var(--transition); }
.hero-sidebar-item h3 a:hover { color: var(--accent); }

/* ==================== SECTION TITLES ==================== */
.section-title { display: flex; align-items: center; margin-bottom: 30px; border-bottom: 3px solid var(--primary); padding-bottom: 10px; }
.section-title .icon { width: 40px; height: 40px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; font-size: 1.2rem; }
.section-title h2 { font-family: 'Oswald', sans-serif; font-size: 1.8rem; color: var(--dark); text-transform: uppercase; letter-spacing: 1px; }
.section-title .ver-mas { margin-left: auto; color: var(--primary); font-weight: 600; font-size: 0.9rem; transition: var(--transition); }
.section-title .ver-mas:hover { color: var(--primary-dark); }

/* ==================== NEWS SECTIONS ==================== */
.news-section { padding: 50px 0; }
.news-section.alt-bg { background: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

/* ==================== NEWS CARDS ==================== */
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.news-card img, .news-card-image img { width: 100%; height: 180px; object-fit: cover; transition: var(--transition); }
.news-card:hover img { transform: scale(1.05); }
.news-card-image { overflow: hidden; }
.news-card-content { padding: 20px; }
.news-card .category { background: var(--light); color: var(--primary); padding: 3px 10px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; display: inline-block; margin-bottom: 10px; border-radius: 3px; transition: var(--transition); }
.news-card .category:hover { background: var(--primary); color: var(--white); }
.news-card h3 { font-family: 'Oswald', sans-serif; font-size: 1.1rem; margin-bottom: 10px; line-height: 1.4; color: var(--dark); }
.news-card h3 a { transition: var(--transition); }
.news-card h3 a:hover { color: var(--primary); }
.news-card .meta { display: flex; align-items: center; gap: 15px; font-size: 0.85rem; color: var(--gray); }

/* ==================== FEATURED CARDS ==================== */
.featured-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.featured-card { display: grid; grid-template-columns: 200px 1fr; gap: 20px; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.featured-card:hover { box-shadow: var(--shadow-hover); }
.featured-card-image { overflow: hidden; }
.featured-card img { width: 100%; height: 100%; object-fit: cover; min-height: 150px; transition: var(--transition); }
.featured-card:hover img { transform: scale(1.05); }
.featured-card-content { padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.featured-card .category { background: var(--secondary); color: var(--white); padding: 3px 10px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; display: inline-block; margin-bottom: 10px; border-radius: 3px; width: fit-content; }
.featured-card h3 { font-family: 'Oswald', sans-serif; font-size: 1.2rem; margin-bottom: 10px; line-height: 1.4; }
.featured-card h3 a { color: var(--dark); transition: var(--transition); }
.featured-card h3 a:hover { color: var(--primary); }
.featured-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.5; }

/* ==================== SIDEBAR WIDGETS ==================== */
.sidebar-widget { background: var(--white); border-radius: var(--radius); padding: 25px; box-shadow: var(--shadow); margin-bottom: 30px; }
.widget-title { font-family: 'Oswald', sans-serif; font-size: 1.3rem; color: var(--dark); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); }
.widget-link { display: block; text-align: center; margin-top: 15px; color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* Standings Table */
.standings-table { width: 100%; border-collapse: collapse; }
.standings-table th, .standings-table td { padding: 10px 8px; text-align: left; font-size: 0.9rem; }
.standings-table th { background: var(--light); font-weight: 600; color: var(--secondary); }
.standings-table tr:not(:last-child) { border-bottom: 1px solid var(--light); }
.standings-table .team { display: flex; align-items: center; gap: 8px; }
.standings-table .position { font-weight: 700; color: var(--primary); min-width: 20px; }
.standings-table a { color: var(--dark); transition: var(--transition); }
.standings-table a:hover { color: var(--primary); }
.standings-table.full { font-size: 1rem; }
.standings-table.full th, .standings-table.full td { padding: 15px 12px; }
.standings-table .playoff-spot { background: rgba(196, 30, 58, 0.05); }
.standings-note { margin-top: 15px; font-size: 0.85rem; color: var(--gray); font-style: italic; }

/* Most Read Widget */
.most-read-list { list-style: none; }
.most-read-list li { padding: 12px 0; border-bottom: 1px solid var(--light); display: flex; align-items: flex-start; gap: 12px; }
.most-read-list li:last-child { border-bottom: none; }
.most-read-list .number { background: var(--primary); color: var(--white); font-family: 'Oswald', sans-serif; font-weight: 700; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.85rem; }
.most-read-list a { color: var(--dark); font-weight: 500; font-size: 0.95rem; line-height: 1.4; transition: var(--transition); }
.most-read-list a:hover { color: var(--primary); }

/* ==================== VIDEOS SECTION ==================== */
.videos-section { background: linear-gradient(135deg, var(--dark) 0%, #2d2d44 100%); }
.videos-section .section-title h2 { color: var(--white); }
.videos-section .section-title { border-bottom-color: var(--accent); }
.videos-section .section-title .ver-mas { color: var(--accent); }
.videos-section .section-title .ver-mas:hover { color: var(--white); }

.videos-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; }
.videos-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.videos-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.video-card { background: rgba(255,255,255,0.05); border-radius: 12px; overflow: hidden; transition: var(--transition); }
.video-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); }
.video-thumbnail { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.video-card:hover .video-thumbnail img { transform: scale(1.05); }
.video-featured .video-thumbnail { aspect-ratio: 16/9; }

.play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 20px rgba(196, 30, 58, 0.5); }
.play-button svg { width: 25px; height: 25px; fill: var(--white); margin-left: 5px; }
.play-button:hover { transform: translate(-50%, -50%) scale(1.1); background: var(--primary-dark); }
.play-button.small { width: 45px; height: 45px; }
.play-button.small svg { width: 16px; height: 16px; }
.play-button.large { width: 90px; height: 90px; }
.play-button.large svg { width: 35px; height: 35px; }

.video-duration { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.8); color: var(--white); padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; }
.video-live { position: absolute; top: 10px; left: 10px; background: var(--primary); color: var(--white); padding: 5px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

.video-info { padding: 20px; color: var(--white); }
.video-featured .video-info { padding: 25px; }
.video-info .category { background: var(--accent); color: var(--dark); padding: 4px 12px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; display: inline-block; margin-bottom: 12px; border-radius: 4px; }
.video-info h3 { font-family: 'Oswald', sans-serif; font-size: 1.5rem; line-height: 1.3; margin-bottom: 15px; }
.video-info h3 a, .video-info h4 a { color: var(--white); transition: var(--transition); }
.video-info h3 a:hover, .video-info h4 a:hover { color: var(--accent); }
.video-info h4 { font-family: 'Oswald', sans-serif; font-size: 1rem; line-height: 1.3; margin-bottom: 10px; font-weight: 500; }
.video-meta { display: flex; gap: 15px; font-size: 0.85rem; color: #aaa; }

.videos-sidebar { display: flex; flex-direction: column; gap: 15px; }
.video-small { display: grid; grid-template-columns: 140px 1fr; gap: 15px; }
.video-small .video-thumbnail { height: 90px; border-radius: 8px; }
.video-small .video-info { padding: 5px 0; display: flex; flex-direction: column; justify-content: center; }
.video-small .video-meta { font-size: 0.75rem; }

/* ==================== FOOTER ==================== */
footer { background: var(--dark); color: var(--white); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { font-family: 'Oswald', sans-serif; font-size: 2rem; margin-bottom: 15px; color: var(--primary); }
.footer-brand p { color: #aaa; line-height: 1.8; }
.footer-links h4 { font-family: 'Oswald', sans-serif; font-size: 1.2rem; margin-bottom: 20px; color: var(--white); }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: #aaa; transition: var(--transition); }
.footer-links ul li a:hover { color: var(--primary); }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); transition: var(--transition); }
.social-links a:hover { background: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; color: #aaa; font-size: 0.9rem; }

/* ==================== BREADCRUMB ==================== */
.breadcrumb { background: var(--white); padding: 15px 0; border-bottom: 1px solid var(--light); }
.breadcrumb a { color: var(--gray); transition: var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .separator { margin: 0 10px; color: var(--gray); }
.breadcrumb .current { color: var(--dark); font-weight: 600; }

/* ==================== ARTICLE PAGE ==================== */
.article-page { padding: 40px 0; }
.article-header { margin-bottom: 30px; }
.article-header .category { background: var(--primary); color: var(--white); padding: 5px 15px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; display: inline-block; margin-bottom: 15px; border-radius: 4px; }
.article-header h1 { font-family: 'Oswald', sans-serif; font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; color: var(--dark); }
.article-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.meta-info { display: flex; gap: 20px; color: var(--gray); font-size: 0.9rem; }
.article-image { margin-bottom: 30px; border-radius: var(--radius); overflow: hidden; }
.article-image img { width: 100%; height: auto; max-height: 500px; object-fit: cover; }
.article-body { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.article-content { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-content p { margin-bottom: 20px; font-size: 1.1rem; line-height: 1.8; }
.article-content h3 { font-family: 'Oswald', sans-serif; font-size: 1.5rem; margin: 30px 0 15px; color: var(--dark); }
.article-tags { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--light); }
.tag { display: inline-block; background: var(--light); color: var(--secondary); padding: 5px 12px; border-radius: 20px; font-size: 0.85rem; margin: 5px 5px 5px 0; transition: var(--transition); }
.tag:hover { background: var(--secondary); color: var(--white); }
.share-buttons { margin-top: 20px; display: flex; align-items: center; gap: 10px; }
.share-buttons span { font-weight: 600; color: var(--gray); }
.share-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; transition: var(--transition); }
.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #1877f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn:hover { transform: scale(1.1); }
.related-articles { margin-top: 50px; }

/* ==================== AUTHOR BOX ==================== */
.author-box { display: flex; align-items: center; gap: 15px; }
.author-avatar { width: 50px; height: 50px; background: var(--light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; overflow: hidden; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-avatar.large { width: 100px; height: 100px; font-size: 3rem; }
.author-info { display: flex; flex-direction: column; }
.author-name { font-weight: 600; color: var(--dark); transition: var(--transition); }
.author-name:hover { color: var(--primary); }
.author-role { font-size: 0.85rem; color: var(--gray); }

/* ==================== OTHER PAGES ==================== */
.category-page, .search-page, .video-page, .standings-page, .author-page { padding: 40px 0; }
.category-header, .page-header { text-align: center; margin-bottom: 40px; }
.category-icon { font-size: 4rem; display: block; margin-bottom: 15px; }
.category-header h1, .page-header h1 { font-family: 'Oswald', sans-serif; font-size: 2.5rem; color: var(--dark); margin-bottom: 10px; }
.category-header p, .page-header p { color: var(--gray); margin-bottom: 20px; }
.articles-list { display: flex; flex-direction: column; gap: 25px; }

.search-form { display: flex; max-width: 600px; margin: 0 auto; background: var(--white); border-radius: 30px; padding: 10px; box-shadow: var(--shadow); }
.search-form input { flex: 1; border: none; padding: 15px 20px; font-size: 1rem; outline: none; background: transparent; }
.search-form button { background: var(--primary); color: var(--white); border: none; padding: 15px 30px; border-radius: 25px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.search-form button:hover { background: var(--primary-dark); }
.search-results-count { margin-bottom: 30px; color: var(--gray); }
.search-prompt { text-align: center; color: var(--gray); font-size: 1.1rem; }

.video-player { margin-bottom: 30px; }
.video-placeholder { position: relative; background: var(--dark); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; }
.video-placeholder img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.video-placeholder iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.play-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--white); cursor: pointer; }
.play-overlay p { margin-top: 15px; font-size: 1.1rem; }
.video-details { background: var(--white); padding: 30px; border-radius: var(--radius); margin-bottom: 40px; }
.video-details h1 { font-family: 'Oswald', sans-serif; font-size: 2rem; margin-bottom: 15px; }
.video-details .video-meta { color: var(--gray); margin-bottom: 20px; }
.related-videos { margin-top: 40px; }

.standings-full { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }

.author-header { display: flex; align-items: center; gap: 30px; background: var(--white); padding: 40px; border-radius: var(--radius); margin-bottom: 40px; box-shadow: var(--shadow); }
.author-details h1 { font-family: 'Oswald', sans-serif; font-size: 2rem; margin-bottom: 5px; }
.author-details .author-role { font-size: 1rem; margin-bottom: 15px; display: block; }
.author-bio { color: var(--gray); line-height: 1.6; }
.author-articles h2 { font-family: 'Oswald', sans-serif; font-size: 1.5rem; margin-bottom: 25px; color: var(--dark); }

/* ==================== ERROR PAGE ==================== */
.error-page { padding: 100px 0; text-align: center; }
.error-page h1 { font-family: 'Oswald', sans-serif; font-size: 8rem; color: var(--primary); line-height: 1; }
.error-page h2 { font-family: 'Oswald', sans-serif; font-size: 2rem; margin-bottom: 15px; }
.error-page p { color: var(--gray); margin-bottom: 30px; }

/* ==================== UTILITIES ==================== */
.btn { display: inline-block; padding: 12px 30px; border-radius: 25px; font-weight: 600; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }

.empty-state { text-align: center; padding: 60px 20px; background: var(--white); border-radius: var(--radius); }
.empty-state .icon { font-size: 4rem; display: block; margin-bottom: 15px; }
.empty-state p { color: var(--gray); font-size: 1.1rem; }

.loader { text-align: center; padding: 60px 20px; }
.loader-spinner { width: 50px; height: 50px; border: 4px solid var(--light); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 20px; }
@keyframes spin { to { transform: rotate(360deg); } }

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.page-link { padding: 10px 15px; background: var(--white); border-radius: 5px; color: var(--dark); transition: var(--transition); }
.page-link:hover, .page-link.active { background: var(--primary); color: var(--white); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-sidebar { flex-direction: row; }
    .hero-sidebar-item { height: 250px; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .two-column { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .videos-grid { grid-template-columns: 1fr; }
    .video-featured .video-thumbnail { aspect-ratio: 16/9; }
    .videos-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .video-small { grid-template-columns: 1fr; }
    .video-small .video-thumbnail { height: 150px; }
    .article-body { grid-template-columns: 1fr; }
    .featured-grid { grid-template-columns: 1fr; }
    .videos-full-grid { grid-template-columns: repeat(2, 1fr); }
    .videos-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-main .container { flex-direction: column; gap: 15px; }
    .search-box { width: 100%; }
    nav ul { flex-wrap: wrap; justify-content: center; }
    nav ul li a { padding: 10px 15px; font-size: 0.95rem; }
    .hero-main { height: 350px; }
    .hero-sidebar { flex-direction: column; }
    .news-grid { grid-template-columns: 1fr; }
    .featured-card { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .videos-sidebar { grid-template-columns: 1fr; }
    .video-small { grid-template-columns: 120px 1fr; }
    .video-small .video-thumbnail { height: 80px; }
    .article-header h1 { font-size: 1.8rem; }
    .article-content { padding: 25px; }
    .article-meta { flex-direction: column; align-items: flex-start; }
    .author-header { flex-direction: column; text-align: center; }
    .videos-full-grid, .videos-grid-4 { grid-template-columns: 1fr; }
    .logo h1 { font-size: 2rem; }
    .top-bar .container { flex-direction: column; gap: 10px; text-align: center; }
}


/* ==================== NEWSLETTER PAGE ==================== */
.newsletter-page { padding: 60px 0; }
.newsletter-box { max-width: 500px; margin: 0 auto; background: var(--white); padding: 50px 40px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.newsletter-icon { font-size: 4rem; margin-bottom: 20px; }
.newsletter-box h1 { font-family: "Oswald", sans-serif; font-size: 2rem; margin-bottom: 15px; color: var(--dark); }
.newsletter-box > p { color: var(--gray); margin-bottom: 30px; line-height: 1.6; }
.newsletter-form { margin-bottom: 20px; }
.newsletter-form .form-row { margin-bottom: 15px; }
.newsletter-form input { width: 100%; padding: 15px; border: 2px solid var(--light); border-radius: var(--radius); font-size: 1rem; transition: var(--transition); }
.newsletter-form input:focus { border-color: var(--primary); outline: none; }
.newsletter-privacy { font-size: 0.85rem; color: var(--gray); margin-top: 20px; }
.newsletter-message { margin-top: 20px; }
.newsletter-message .success { background: #d4edda; color: #155724; padding: 15px; border-radius: var(--radius); }
.newsletter-message .error { background: #f8d7da; color: #721c24; padding: 15px; border-radius: var(--radius); }

/* ==================== CONTACTO PAGE ==================== */
.contacto-page { padding: 60px 0; }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contacto-info h1 { font-family: "Oswald", sans-serif; font-size: 2.5rem; margin-bottom: 20px; color: var(--dark); }
.contacto-info > p { color: var(--gray); line-height: 1.7; margin-bottom: 40px; }
.contacto-methods { display: flex; flex-direction: column; gap: 25px; }
.contacto-item { display: flex; align-items: flex-start; gap: 15px; }
.contacto-icon { font-size: 2rem; }
.contacto-item strong { display: block; margin-bottom: 5px; color: var(--dark); }
.contacto-item a { color: var(--primary); text-decoration: none; }
.contacto-item a:hover { text-decoration: underline; }
.contacto-item p { color: var(--gray); margin: 0; }
.social-links { display: flex; gap: 15px; flex-wrap: wrap; }
.contacto-form-box { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contacto-form-box h2 { font-family: "Oswald", sans-serif; font-size: 1.5rem; margin-bottom: 25px; color: var(--dark); }
.contacto-form-box .form-group { margin-bottom: 20px; }
.contacto-form-box input,
.contacto-form-box select,
.contacto-form-box textarea { width: 100%; padding: 15px; border: 2px solid var(--light); border-radius: var(--radius); font-size: 1rem; font-family: inherit; transition: var(--transition); }
.contacto-form-box input:focus,
.contacto-form-box select:focus,
.contacto-form-box textarea:focus { border-color: var(--primary); outline: none; }

@media (max-width: 768px) {
    .newsletter-box { padding: 30px 20px; }
    .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
    .contacto-form-box { padding: 30px 20px; }
}
