/*
Theme Name: Editorial News
Theme URI: https://example.com/editorial-news
Author: Tu Nombre
Author URI: https://example.com
Description: Plantilla profesional para sitios de noticias con diseño editorial estilo El País y New York Times. Compatible con Elementor, incluye separadores verticales y horizontales, tipografía premium y diseño responsive.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: editorial-news
Tags: news, blog, editorial, newspaper, magazine, two-columns, three-columns, custom-menu, featured-images, threaded-comments, translation-ready, elementor
*/

/* ============================================
   RESET Y ESTILOS BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #121212;
    background: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #d32f2f;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */
.site-header {
    background: #ffffff;
    border-bottom: 4px solid #121212;
    padding: 20px 0;
    margin-bottom: 40px;
}

.site-header .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -1px;
    margin: 0;
}

.site-title a {
    color: #121212;
    text-decoration: none;
}

.site-description {
    font-size: 14px;
    color: #666666;
    font-style: italic;
    margin-top: 4px;
}

.main-navigation {
    margin-top: 20px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #121212;
    text-decoration: none;
}

.main-navigation a:hover {
    color: #d32f2f;
}

.site-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-footer {
    background: #121212;
    color: #ffffff;
    padding: 40px 0;
    margin-top: 80px;
    text-align: center;
}

.site-footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   ESTILOS DE CONTENIDO
   ============================================ */
.entry-header {
    margin-bottom: 32px;
}

.entry-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.entry-meta {
    font-size: 14px;
    color: #666666;
    display: flex;
    gap: 16px;
    align-items: center;
}

.entry-content {
    font-size: 18px;
    line-height: 1.8;
    max-width: 720px;
}

.entry-content p {
    margin-bottom: 24px;
}

.entry-content h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 32px;
    margin: 40px 0 16px;
}

.entry-content h3 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 24px;
    margin: 32px 0 16px;
}

/* ============================================
   WIDGETS
   ============================================ */
.widget {
    margin-bottom: 40px;
}

.widget-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #121212;
}

.editorial-widget-list {
    list-style: none;
}

.editorial-widget-item {
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
}

.editorial-widget-item:last-child {
    border-bottom: none;
}

.editorial-widget-item a {
    font-weight: 600;
    color: #121212;
    display: block;
    margin-bottom: 4px;
}

.editorial-widget-item time {
    font-size: 12px;
    color: #666666;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .site-title {
        font-size: 32px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 16px;
    }
    
    .entry-title {
        font-size: 32px;
    }
    
    .entry-content {
        font-size: 16px;
    }
}
