/*
Theme Name: Ronnie McNutt - Sky News Style
Theme URI: https://ronniemcnutt.com
Author: Ronnie McNutt
Author URI: https://ronniemcnutt.com
Description: Tema estilo Sky News - Professional Magazine Layout con diseño de noticias moderno
Version: 4.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ronniemcnutt
Tags: news, magazine, blog, entertainment, responsive, professional
*/

/* =================================================================
   Reset y Variables
   ================================================================= */

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

:root {
    /* Colores Sky News Style */
    --primary-red: #e11d22;
    --dark-blue: #003063;
    --light-blue: #0078bf;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light-gray: #f5f5f5;
    --bg-dark: #1a1a1a;
    --border-color: #e6e6e6;
    --hover-red: #c41115;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Transiciones */
    --transition: all 0.3s ease;
    
    /* Ancho máximo */
    --max-width: 1280px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-light-gray);
}

/* =================================================================
   Header Estilo Sky News
   ================================================================= */

.site-header {
    background: var(--bg-white);
    border-bottom: 3px solid var(--primary-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-bar {
    background: var(--dark-blue);
    padding: 0.5rem 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.top-bar-links a {
    color: white;
    font-size: 0.875rem;
    margin-right: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar-links a:hover {
    color: var(--primary-red);
}

.header-main {
    padding: 1rem 0;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-red);
    text-decoration: none;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.site-logo span {
    background: var(--primary-red);
    color: white;
    padding: 0.25rem 0.5rem;
    margin-left: 0.25rem;
    font-size: 0.8em;
}

/* Navegación Principal */
.main-navigation {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    gap: 2rem;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 1rem 0;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--primary-red);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-red);
    transition: var(--transition);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-toggle,
.watch-live-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.watch-live-btn {
    background: var(--primary-red);
    color: white;
}

.search-toggle:hover,
.watch-live-btn:hover {
    background: var(--hover-red);
    color: white;
    border-color: var(--hover-red);
}

/* =================================================================
   Breaking News Bar
   ================================================================= */

.breaking-news-bar {
    background: var(--primary-red);
    color: white;
    padding: 0.75rem 0;
}

.breaking-news-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.breaking-label {
    background: white;
    color: var(--primary-red);
    padding: 0.25rem 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.breaking-text {
    flex: 1;
    font-weight: 600;
}
/* =================================================================
   FOOTER STYLES - Add this to the end of your style.css
   ================================================================= */

/* Footer Main */
#colophon.site-footer {
    margin-top: 4rem;
}

#colophon.site-footer .footer-main {
    background: #1a1a2e !important;
    padding: 4rem 0 3rem;
    color: #ffffff;
}

#colophon.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

/* Footer Brand Column */
#colophon.site-footer .footer-brand {
    max-width: 350px;
}

#colophon.site-footer .footer-logo {
    margin: 0 0 1rem 0;
    line-height: 1;
}

#colophon.site-footer .footer-logo a {
    display: inline-block;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

#colophon.site-footer .logo-part-1 {
    color: #e11d22;
    text-transform: lowercase;
}

#colophon.site-footer .logo-part-2 {
    background: #e11d22;
    color: #ffffff;
    padding: 0.35rem 0.6rem;
    margin-left: 0.15rem;
    text-transform: lowercase;
}

#colophon.site-footer .footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

/* Footer Social Icons */
#colophon.site-footer .footer-socials {
    display: flex;
    gap: 0.625rem;
}

#colophon.site-footer .footer-socials a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9375rem;
}

#colophon.site-footer .footer-socials a:hover {
    background: #e11d22;
    transform: translateY(-2px);
}

/* Footer Columns */
#colophon.site-footer .footer-col {
    display: flex;
    flex-direction: column;
}

#colophon.site-footer .footer-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.25rem 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.625rem;
}

#colophon.site-footer .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: #e11d22;
}

#colophon.site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#colophon.site-footer .footer-links li {
    margin: 0;
}

#colophon.site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9375rem;
    line-height: 1.6;
    transition: all 0.25s ease;
    display: inline-block;
}

#colophon.site-footer .footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

/* Footer Bottom */
#colophon.site-footer .footer-bottom {
    background: #0f0f1e;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#colophon.site-footer .footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

#colophon.site-footer .footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin: 0;
}

/* Footer Legal Menu */
#colophon.site-footer .footer-legal-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0 1.5rem;
    margin: 0;
    padding: 0;
}

#colophon.site-footer .footer-legal-menu li {
    margin: 0;
    padding: 0;
}

#colophon.site-footer .footer-legal-menu a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.25s ease;
}

#colophon.site-footer .footer-legal-menu a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #e11d22;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(225, 29, 34, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: #c41115;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(225, 29, 34, 0.4);
}

.scroll-top-btn i {
    font-size: 1.125rem;
}

/* Responsive Design - Footer */
@media (max-width: 1024px) {
    #colophon.site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    #colophon.site-footer .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    #colophon.site-footer .footer-main {
        padding: 3rem 0 2rem;
    }
    
    #colophon.site-footer .footer-grid {
        gap: 2.5rem;
    }
    
    #colophon.site-footer .footer-logo a {
        font-size: 1.75rem;
    }
    
    #colophon.site-footer .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    #colophon.site-footer .footer-legal-menu {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    #colophon.site-footer .footer-main {
        padding: 2.5rem 0 2rem;
    }
    
    #colophon.site-footer .footer-logo a {
        font-size: 1.5rem;
    }
    
    #colophon.site-footer .footer-socials {
        gap: 0.5rem;
    }
    
    #colophon.site-footer .footer-socials a {
        width: 38px;
        height: 38px;
        font-size: 0.875rem;
    }
}

/* =================================================================
   Layout Principal - Estilo Magazine
   ================================================================= */

.site-content {
    max-width: var(--max-width);
    margin: 2rem auto;
    padding: 0 1rem;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* =================================================================
   Top Stories Grid - Estilo Sky News
   ================================================================= */

.section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-red);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.top-stories-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Featured Story (Grande) */
.featured-story {
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}

.featured-story img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: var(--transition);
}

.featured-story:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 2rem;
    color: white;
}

.story-category {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.featured-overlay h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.featured-overlay h2 a {
    color: white;
    text-decoration: none;
}

.story-meta {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Sidebar Stories */
.sidebar-stories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.story-card-small {
    background: white;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.story-card-small:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.story-card-small img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.story-card-content {
    padding: 1rem;
}

.story-card-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.story-card-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.story-card-content h3 a:hover {
    color: var(--primary-red);
}

.story-excerpt {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* =================================================================
   Stories Grid - 3 Columnas
   ================================================================= */

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.story-card {
    background: white;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.story-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.story-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.story-card:hover img {
    transform: scale(1.05);
}

.story-card .story-card-content {
    padding: 1.25rem;
}

/* =================================================================
   Video Section
   ================================================================= */

.video-section {
    background: var(--dark-blue);
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.video-section .section-title {
    color: white;
    border-bottom-color: var(--primary-red);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.video-card {
    position: relative;
    overflow: hidden;
}

.video-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 1rem;
    color: white;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(225, 29, 34, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.video-card:hover .play-icon {
    background: var(--primary-red);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
}

/* =================================================================
   List Layout - Artículos con Texto
   ================================================================= */

.stories-list {
    background: white;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.story-list-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.story-list-item:last-child {
    border-bottom: none;
}

.story-list-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.story-list-item h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.story-list-item h3 a:hover {
    color: var(--primary-red);
}

.story-list-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.read-more-link {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more-link:hover {
    gap: 0.75rem;
}



/* =================================================================
   Responsive Design
   ================================================================= */

@media (max-width: 1024px) {
    .top-stories-grid {
        grid-template-columns: 1fr;
    }
    
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-nav-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-navigation ul {
        display: none;
    }
    
    .top-bar {
        padding: 0.5rem 0;
    }
    
    .top-bar-links a {
        font-size: 0.813rem;
        margin-right: 1rem;
    }
    
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .site-logo {
        font-size: 1.5rem;
    }
    
    .stories-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        padding: 0 1rem;
        gap: 2.5rem;
    }
    
    .footer-nav-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-heading {
        font-size: 0.9375rem;
    }
    
    .footer-logo {
        font-size: 1.875rem;
    }
    
    .legal-menu {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .single-post-article {
        padding: 1.5rem;
    }
    
    .featured-overlay h2 {
        font-size: 1.5rem;
    }
    
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-main {
        padding: 2.5rem 0 2rem;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .footer-social {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
}

/* =================================================================
   Utilidades
   ================================================================= */

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
}
