.fuego {
    /* DEBUG-COPILOT-2026: Si ves este comentario en el inspector, el CSS correcto está cargando */
       color: #151414 !important;
    font-weight: bold !important;
    font-size: 0.75em !important;
    padding: 0.22em 0.55em !important;
       margin-right: 0.4em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25em !important;
    box-shadow: 0 2px 6px rgba(255,87,34,0.13) !important;
    z-index: 10 !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}
.fuego .bi-fire {
    color: #ff5722 !important; /* Naranja fuego */
    font-size: 1.2em;
    /* Si quieres un degradado, usa -webkit-background-clip y color transparente */
    background: linear-gradient(90deg, #ff9800, #ff5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* General Body Styles */
body {
    font-family: 'Roboto', Arial, sans-serif; /* Clarín often uses Roboto or similar sans-serif fonts */
    line-height: 1.6;
    color: #0f0f0fff;
    background-color: #ffff;
; /* Light grey background */
    margin: 0;
}

body.has-fixed-header {
    padding-top: 90px; /* Adjust this value based on your header's height */
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header-clarin {
    background-color: #fff; /* White background for header */
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-clarin .top-bar {
    background-color: #f0f0f0; /* Light grey for top bar */
    padding: 8px 0;
    font-size: 0.85em;
    color: #666;
}

.header-clarin .top-bar .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.header-menu-block .main-nav-modern {
    width: 100%;
}
.header-menu-block .header-row-2 {
    width: 100%;
    margin-top: 2px;
    display: flex;
    justify-content: flex-start;
}
.header-menu-block .section-title {
    text-align: left;
    margin-left: 0;
    padding-left: 0;
}

@media (max-width: 992px) {
    .header-menu-block {
        align-items: stretch;
    }
    .header-menu-block .header-row-2 {
        justify-content: flex-start;
    }
    .header-menu-block .section-title {
        text-align: left;
        font-size: 1em;
    }
}
@media (max-width: 768px) {
    .header-menu-block {
        align-items: stretch;
    }
    .header-menu-block .header-row-2 {
        justify-content: center;
    }
    .header-menu-block .section-title {
        text-align: center;
        font-size: 1em;
    }
}
/* Header estructura de filas */
.header-flex-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.header-row-1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.header-logo-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 48px;
}
@media (max-width: 992px) {
    .header-logo-nav {
        gap: 28px;
    }
}

.header-row-2 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2px;
}
.header-row-2 .section-title {
    width: 100%;
    text-align: center;
    font-size: 2.0em;
    margin: 0;
    color: #000000;
}

@media (max-width: 992px) {
    .header-row-1 {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .header-logo-nav {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    .header-row-2 {
        margin-top: 4px;
    }
}

@media (max-width: 768px) {
    .header-flex-col {
        gap: 0;
    }
    .header-row-1 {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .header-logo-nav {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    .header-row-2 {
        margin-top: 2px;
    }
    .header-row-2 .section-title {
        font-size: 1em;
        padding: 0 4px;
    }
    .header-modern .logo img {
        max-height: 80px;
    }
}
/* Floating Controls: Video & Audio Player */
#floating-video-player {
    background: transparent !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
    border: none !important;
    position: fixed !important;
    bottom: 0px !important;
    right: 20px !important;
    width: 320px !important;
    height: 180px !important;
    min-width: 200px !important;
    min-height: 120px !important;
    max-width: 90vw !important;
    max-height: 50vh !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    overflow: hidden;
    z-index: 9999;
}

#floating-audio-player {
    position: fixed !important;
    bottom: 40px !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    height: 100px !important;
    min-height: 40px !important;
    max-height: 80px !important;
    padding: 5px 10px !important;
    display: flex;
    align-items: center;
    z-index: 9999;
}

#floating-video-player video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    background: transparent !important;
}
#floating-audio-player audio {
    height: 100% !important;
    max-height: 50px !important;
    width: auto;
    object-fit: contain;
    background: transparent !important;
}

/* Global Styles */
:root {
    --primary-color: #f61f1f; /* Un rojo más oscuro y serio */
    --secondary-color: #1ac84b; /* Negro suave para texto */
    --background-color: #f4f4f4; /* Un gris muy claro para el fondo */
    --card-background-color: #ffffff;
    --header-background-color: #ffffff;
    --footer-background-color: #2c2c2c;
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --border-color: #e0e0e0;

    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Lora', serif;

    --max-width: 1200px;
    --border-radius: 8px;
    --box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--text-color-dark);
    line-height: 1.6;
    margin: 0;
    
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #000;
}

.container-modern {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header-modern {
    background-color: var(--header-background-color);
    box-shadow: var(--box-shadow);
    padding: 15px 0;
    top: 0px;
    width: 100%;
    z-index: 1000;
    height: 120px;
    transition: height 0.3s;
    position:fixed;
    top:0px;
    left:0px;
    right:0px;
}

.header-modern .container-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-modern .logo {
    font-size: 1.8em;
    font-weight: bold;
    font-family: var(--font-secondary);
}

.header-modern .logo img {
    max-height: 50px;
}

.main-nav-modern ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.main-nav-modern a {
    color: var(--text-color-dark);
    font-weight: 500;
    font-size: 1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.main-nav-modern a:hover,
.main-nav-modern a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Main Content */
.main-content-modern {
    padding: 30px 0;
}

/* Hero Section */
.hero-section {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 40px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-section .hero-image-container img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.hero-section .hero-category {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-section .hero-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.hero-section .hero-title a {
    color: var(--text-color-light);
}

.hero-section .hero-excerpt {
    font-size: 1rem;
    margin-bottom: 20px;
}

.hero-section .btn-read-more {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.news-card {
    background-color: var(--card-background-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.news-card .card-image-container {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f8f8;
    border-radius: var(--border-radius);
}

.news-card .card-image-container img,
.news-card .card-image-container video {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    display: block;
    background: #f8f8f8;
    border-radius: var(--border-radius);
}

.news-card .card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card .card-category {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.news-card .card-title {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    flex-grow: 1;
}

.news-card .card-title a {
    color: var(--text-color-dark);
}

.news-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #777;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* Section Title */
.section-title-modern {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

/* Live Player Section */
.live-player-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.video-player-container {
    background-color: #000;
    border-radius: var(--border-radius);
}

.video-player-container video {
    width: 100%;
    border-radius: var(--border-radius);
}

.audio-player-card {
    background-color: var(--card-background-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}


/* --- Responsive --- */

/* Medium devices (tablets, less than 992px) */
@media (max-width: 992px) {
    .main-nav-modern {
        display: none;
    }
    .mobile-menu-button {
        display: inline-flex !important;
    }
    .hero-section {
        grid-template-columns: 1fr;
    }
    .hero-section .hero-image-container {
        order: -1; /* Mueve la imagen arriba en móviles */
    }
    .live-player-section {
        grid-template-columns: 1fr;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 768px) {
    body {
        padding-top: 205px;
    }
    /* Regla duplicada eliminada: .header-modern */
    .header-modern .container-modern {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
        width: 100%;
    }
    .header-modern .logo {
        font-size: 1.1em;
        margin-right: 6px;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .header-modern .logo img {
        max-height: 38px;
    }
    .only-radio-title-profesional {
        font-size: 1.2em;
        white-space: normal;
        display: inline-block;
    }
    .hero-section {
        padding: 10px;
        gap: 10px;
    }
    .hero-section .hero-title {
        font-size: 1.2rem;
    }
}

/* --- Mobile Navigation (Consolidated) --- */
.mobile-menu-button {
    display: none; /* Hidden by default, shown in media query */
    margin-left: auto;
    margin-right: 8px;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 44px;
    background: #f3eded00;
    border: 1px solid #ddd;
    border-radius: 8px;
        z-index: 1300;
}
.mobile-menu-button .icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-nav-panel {
    display: none;
    position: fixed;
    top: 0;
    right: 50%; /* Start off-screen */
    width: 50vw;
    max-width: 350px;
    height: 55vh;
    background: transparent !important;
    z-index: 800;
    padding: 40px 0 10px 0;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    flex-direction: column;
}
.mobile-nav-panel.is-active {
    display: flex;
    right: 0; /* Slide in */
}

.mobile-nav-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: transparent !important;
}
.mobile-nav-panel li {
    width: 100%;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 2px;
    background: transparent !important;
}
.mobile-nav-panel a {
    color: #0c0c0c !important;
    background: transparent !important;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    padding: 6px 12px;
    display: block;
    width: 50%;
    transition: background 0.2s, color 0.2s;
}
.mobile-nav-panel a:hover {
    background: #f4f4f4 !important;
    color: var(--primary-color) !important;
}

/* Scroll-to-top button */
.scroll-to-top-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    display: none; /* Hidden by default, shown via JS */
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, visibility 0.3s;
}

.scroll-to-top-button:hover {
    background-color: #65dd79;
}

@media (max-width: 600px) {
    .scroll-to-top-button {
        display: none !important;
    }
}
