/* Estilo medieval para el título Only Radio y TV */
.only-radio-title-profesional {
    font-family: 'Quintessential', sans-serif; !important;
    font-size: 3rem;
    color: #220707;
    letter-spacing: 2px;
    text-shadow: 0 4px 16px #f61313, 0 4px 0 #eec0c0;
    margin-left: 0;
    margin-top: 0;
    border: none;
    background: none;
    box-shadow: none;
    padding: 0 8px;
    font-weight: normal;
    display: inline-block;
}


 .padel-live-container {
        
         padding: 15px;
        background-color: #f8f9fa03;
        text-align: center;
    }

    .padel-live-title {
        font-weight: bold;
        color: #0d0d0d;
        margin-bottom: 15px;
    }

    .padel-links .btn {
        margin: 0 5px;
    }
    .social-btn {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    .social-btn i {
        font-size: 20px;

.news-media-container {
    width: 100%;
    max-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 10px;
}
.news-media-container img,
.news-media-container video {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background: #f8f8f8;
    border-radius: 8px;
}
/* --- Filtros de Noticias Locales Modernos --- */
.noticias-filtros-profesional {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 16px 12px 10px 12px;
    margin-bottom: 24px;
    gap: 10px !important;
}
.btn-filter {
    background: linear-gradient(90deg, #fff 60%, #f8f9fa 100%);
    border: 1.5px solid #dc2626;
    color: #dc2626;
    font-weight: 500;
    border-radius: 24px;
    padding: 8px 22px 8px 16px;
    font-size: 1.08em;
    box-shadow: 0 1px 4px rgba(220,38,38,0.04);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.18s cubic-bezier(.4,0,.2,1);
    outline: none;
}
.btn-filter i {
    font-size: 1.1em;
    margin-right: 2px;
}
.btn-filter.active, .btn-filter:focus, .btn-filter:hover {
    background: linear-gradient(90deg, #dc2626 60%, #b91c1c 100%);
    color: #fff !important;
    border-color: #b91c1c;
    box-shadow: 0 2px 8px rgba(220,38,38,0.13);
    transform: translateY(-2px) scale(1.04);
}
.btn-filter:active {
    background: #b91c1c;
    color: #fff;
}
.btn-filter:focus-visible {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}


/* Badge para noticia más leída del día */

/* 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;
    justify-content: space-between;
    align-items: center;
}

.header-clarin .top-bar .date-info {
    font-weight: bold;
}

.header-clarin .top-bar .clock-weather-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-clarin .top-bar #time {
    font-weight: bold;
    color: #faf6f6ff; /* Clarín red for time */
}

.header-clarin .top-bar #temperature {
    font-weight: bold;
    color: #007bff; /* Blue for temperature */
}

.header-clarin .main-header-content {
    padding: 15px 0;
}

.header-clarin .main-header-content .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logos {
    font-size: 6em;
    font-weight: bold;
    color: #cc0000; /* Clarín's red */
    text-shadow: 1px 1px 2px rgb(172, 10, 10);
}

.header-clarin .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Make menu items horizontal */
    gap: 20px; /* Space between menu items */
}

.header-clarin .main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
    padding: 5px 0; /* Add some padding for click area */
}

.header-clarin .main-nav a:hover {
    color: #cc0000;
}

/* Main Content Layout */
.main-content-clarin .container {
    padding: 20px 0;
}

.article-container-clarin {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Article Header */
.article-header-clarin .article-title-clarin {
    font-family: 'Georgia', serif; /* Serif font for titles */
    font-size: 2.5em;
    line-height: 1.1;
    margin-bottom: 10px;
    color: #333;
}

.article-header-clarin .article-subtitle-clarin {
    font-size: 1.3em;
    color: #555;
    margin-bottom: 20px;
}

.article-header-clarin .article-meta-clarin {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

/* Article Image */
.article-image-clarin img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
}

/* Article Body */
.article-body-clarin p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 1em;
}

/* Related News Section & Most Read News Section */
.related-news-clarin, .most-read-news-clarin {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-top: 30px;
}

.related-news-clarin h3, .most-read-news-clarin h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #cc0000;
    padding-bottom: 5px;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
}

.news-item-small {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.news-item-small:hover {
    background-color: #f9f9f9;
}

.news-item-small .news-thumb-small {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
}

.news-item-small a {
    flex-grow: 1;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 0.95em;
    line-height: 1.3;
}

.news-item-small a:hover {
    color: #cc0000;
}

/* Original Footer Styles (from initial ver-noticia.php) */
/* These styles are already defined in your original styles.css or inline, 
   but I'm including them here for clarity and to ensure they are applied. */
.footer.bg-dark {
    background-color: #343a40 !important; /* Dark background */
}



.footer.pt-5 {
    padding-top: 3rem !important;
}

.footer.pb-3 {
    padding-bottom: 1rem !important;
}

.footer .mb-3 {
    margin-bottom: 1rem !important;
}

.footer img {
    height: 48px;
}

.footer p {
    font-size: 1em;
}

.footer h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .footer-highlight {
    font-weight: bold;
    color: #ffc107; /* Example highlight color */
}

.footer .text-center {
    text-align: center !important;
}

.footer .mt-3 {
    margin-top: 1rem !important;
}

/* Weather Section Styles */
#weather-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-top: 20px; /* Adjusted margin-top for new position */
    margin-bottom: 20px; /* Add margin-bottom to separate from article */
    text-align: center;
}

#weather-section h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #cc0000;
    padding-bottom: 5px;
    display: inline-block; /* To make border-bottom only under text */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-clarin .main-header-content .container {
        flex-direction: column;
    }

    .header-clarin .main-nav ul {
        flex-direction: column;
        margin-top: 10px;
    }

    .header-clarin .main-nav li {
        margin: 5px 0;
    }

    /* Adjust footer columns for smaller screens if needed, based on original structure */
    .footer .row {
        flex-direction: column;
    }
    .footer .col-md-4 {
        width: 100%;
        margin-bottom: 1rem;
    }

    .news-list-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
    }
}

.section-title {
    font-size: 1.8em; /* Adjust as needed, based on Clarín's visual */
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #cc0000;
    padding-bottom: 5px;
    display: inline-block; /* To make border-bottom only under text */
}

.news-item-card {
    border: 1px solid #eee; /* Light border */
    border-radius: 5px;
    transition: all 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
}

.news-item-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Subtle shadow on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

.news-item-card .card-body {
    padding: 15px;
    flex-grow: 1;
}

.news-item-card .card-title {
    font-family: 'Lora', serif; /* Use Lora for titles as imported */
    font-size: 1.2em;
    line-height: 1.3;
    margin-bottom: 10px;
}

.news-item-card .card-title a {
    color: #333; /* Dark text for titles */
    text-decoration: none;
}

.news-item-card .card-title a:hover {
    color: #cc0000; /* Clarín red on hover */
}

.news-item-card .news-card-excerpt {
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
}

.news-item-card .btn-outline-danger {
    color: #cc0000;
    border-color: #cc0000;
}

.news-item-card .btn-outline-danger:hover {
    background-color: #cc0000;
    color: #fff;
}

.news-item-card .text-muted {
    font-size: 0.85em;
}

.news-item-card .news-media-wrapper img,
.news-item-card .news-media-wrapper video {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: contain; /* Change cover to contain */
    border-radius: 5px 5px 0 0; /* Rounded top corners */
    background-color: #f0f0f0; /* Add a background color for letterboxing */
}

.news-item-card .card-footer {
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    padding: 10px 15px;
}
.news-scroll-overlay {
    width: 100%;
    height: 150px; /* Aumentar altura para visibilidad */
    overflow: hidden;
    z-index: 10; /* Ensure it's above the canvas */
    background-color: rgba(249, 249, 245, 0.8); /* Fondo amarillo brillante temporal */
    color: black; /* Texto negro para contraste */
    padding: 5px;
    box-sizing: border-box;
    border: 2px solid red; /* Borde rojo para destacar */
}

.news-scroll-overlay .news-item {
    white-space: nowrap;
    padding: 2px 0;
}

.news-scroll-overlay .news-item a {
    color: black; /* Cambiar a negro para contraste con fondo amarillo */
    text-decoration: none;
}

.news-scroll-overlay .news-item a:hover {
    text-decoration: underline;
}

/* Styling for "Noticias más vistas" section */
#leidas .top-news-link {
    font-family: 'Lora', serif;
    font-size: 1.1em;
    color: #333;
    text-decoration: none; /* Remove default underline */
    font-weight: bold;
    transition: color 0.3s ease;
}

#leidas .top-news-link:hover {
    color: #cc0000; /* Clarín red on hover */
    text-decoration: underline; /* Underline on hover for clarity */
}

/* Header Right Controls */
.header-right-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.date-time-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
    color: #66666601;
}


#time-display {
    font-weight: bold;
    color: #fff;
}

.search-container {
    position: relative;
}

.search-form {
    display: none; /* Hidden by default */
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 5px;
    width: 250px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    .news-card img,
    .news-card video,
    .card-image-container img,
    .card-image-container video {
        width: 100%;
        height: 220px;
        object-fit: contain;
        border-radius: 8px;
        background: #f8f8f8;
/* Reproducir música en línea - ESTILOS REMOVIDOS - Ver index.php para estilos inline del reproductor */

/* Estilos para el título "TV en VIVO" */
.tv-vivo-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5em; /* Tamaño de fuente más grande */
    font-weight: bold; /* Negrita */
    letter-spacing: 0.05em; /* Espaciado entre letras */
    color: #333; /* Color oscuro para contraste */
    text-transform: uppercase; /* Mayúsculas para un aspecto más impactante */
    margin-top: 10px; /* Ajuste de margen superior si es necesario */
    margin-bottom: 10px; /* Ajuste de margen inferior si es necesario */
}

/* Estilos para el contenedor del video en vivo */
.live-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio (height / width = 9 / 16 = 0.5625) */
    height: 0;
    overflow: hidden;
    background-color: transparent; /* Fondo negro para el contenedor */
}

.live-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    object-fit: contain; /* Asegura que el video se ajuste dentro del contenedor */
}

.blinking-red {
    color: red;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}



/* Reading Tools Bar */
.reading-tools-bar {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #f9f9f909;
}

.reading-tool-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin: 0 5px;
}

.reading-tool-btn:hover {
    background-color: #f0f0f0;
}

/* Transparent side toolbars for article pages and responsive behavior */
body.red-header-page .accessibility-tools,
body.red-header-page .action-tools {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 8px !important;
    gap: 2px !important;
    z-index: 2000 !important;
    box-shadow: none !important;
    border: none !important;
}

body.red-header-page .accessibility-tools .reading-tool-btn,
body.red-header-page .action-tools .reading-tool-btn {
    background: rgba(0,0,0,0.05) !important;
    color: #333 !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
}

/* Responsive: convert vertical sidebars to compact floating pill buttons on small screens */
@media (max-width: 767.98px) {
    body.red-header-page .accessibility-tools .reading-tool-btn,
    body.red-header-page .action-tools .reading-tool-btn {
        background: transparent !important;
        color: #000 !important;
        border: none !important;
    }
    body.red-header-page .accessibility-tools,
    body.red-header-page .action-tools {
        position: fixed !important;
        transform: none !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 6px 8px !important;
        gap: 2px !important;
        border-radius: 999px !important;
        background: transparent !important;
        backdrop-filter: none !important;
        z-index: 9999 !important;
        will-change: position !important;
    }
    body.red-header-page .accessibility-tools { left: 8px !important; bottom: 80px !important; top: auto !important; }
    body.red-header-page .action-tools { right: 8px !important; left: auto !important; bottom: 60px !important; top: auto !important; }
    body.red-header-page .reading-tool-btn { width: 40px !important; height: 40px !important; font-size: 18px !important; padding: 6px !important; }
    body.red-header-page .reading-tool-btn i { color: #000 !important; }
}

/* Extra small screens (320px) */
@media (max-width: 480px) {
    body.red-header-page .accessibility-tools { left: 6px !important; bottom: 100px !important; position: fixed !important; }
    body.red-header-page .action-tools { right: 6px !important; bottom: 50px !important; position: fixed !important; }
}

.reading-tool-btn i {
    transition: transform 0.2s ease-in-out;
}

/* Dark Mode Theme */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode .header, 
body.dark-mode .footer {
    background-color: #1e1e1e !important;
}

body.dark-mode .card, 
body.dark-mode .modal-content {
    background-color: #1e1e1e;
    border-color: #333;
}

body.dark-mode .text-dark,
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
    color: #f5f5f5 !important;
}

body.dark-mode .text-muted {
    color: #aaa !important;
}

body.dark-mode a {
    color: #bb86fc;
}

body.dark-mode .btn-outline-danger {
    color: #cf6679;
    border-color: #cf6679;
}

body.dark-mode .btn-outline-danger:hover {
    background-color: #cf6679;
    color: #121212;
}

body.dark-mode .reading-tools-bar {
    background-color: rgba(30, 30, 30, 0.9);
}

body.dark-mode .reading-tool-btn {
    color: #e0e0e0;
}

body.dark-mode .reading-tool-btn:hover {
    background-color: #333;
}

body.dark-mode .form-control {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border-color: #444;
}

body.dark-mode .list-group-item {
    background-color: #1e1e1e;
    border-color: #333;
}

/* Reading Mode Active */
body.reading-mode-active .header,
body.reading-mode-active .footer,
body.reading-mode-active .floating-share-bar {
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
}


#noticias-filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

#noticias-filters-container .btn {
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #dc3545;
    background-color: transparent;
    color: #dc3545;
}

#noticias-filters-container .btn:hover {
    background-color: #dc3545;
    color: #fff;
    transform: translateY(-2px);
}

#noticias-filters-container .btn.active {

    background-color: #dc3545;

    color: #fff;

    box-shadow: 0 4px 8px rgba(0,0,0,0.2);

}



.news-media-container {

    width: 350px;

    height: 300px;

    max-width: 100%; /* to make it responsive */

    margin-left: auto;

    margin-right: auto;

    margin-bottom: 15px;

    background-color: #fffdfd;

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;

    border-radius: 5px;

}



.news-media-container img,

.news-media-container video,

.news-media-container .carousel,

.news-media-container .carousel-inner,

.news-media-container .carousel-item {

    width: 100%;

    height: 100%;

}



.news-media-container img,

.news-media-container video {

    object-fit: contain;

}
/* Contenedor de la ola */
    .wave-container {
        position: relative;
        height: 150px;
        overflow: hidden;
    }

    /* SVG de la ola */
    .wave {
        position: absolute;
        bottom: 0;
        width: 200%;
        height: 100%;
        animation: waveMove 6s linear infinite;
    }

    /* Animación de desplazamiento */
    @keyframes waveMove {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
/* --- Reader Mode --- */
body.reader-mode {
    background-color: #f5f5f5 !important;
    color: #222 !important;
}
body.reader-mode .header,
body.reader-mode .footer,
body.reader-mode .action-tools,
body.reader-mode .accessibility-tools {
    display: none !important;
}
body.reader-mode .article-body {
    max-width: 800px;
    margin: 40px auto;
    font-size: 20px !important;
    line-height: 1.7;
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

