/* ============================================
   VARIABLES Y CONFIGURACIÓN BASE
   ============================================ */
:root {
    --color-red: #D32F2F;
    --color-black: #121212;
    --color-yellow: #FFD600;
    --color-white: #F5F5F5;
    --font-heading: 'Anton', 'Bebas Neue', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body, html {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-white);
    padding-top: 150px;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* ============================================
   BARRA "EN VIVO"
   ============================================ */
.live-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, var(--color-red) 0%, #B71C1C 100%);
    color: var(--color-white);
    padding: 8px 0;
    z-index: 1050;
    box-shadow: 0 2px 10px rgba(211, 47, 47, 0.5);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.live-content {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
    animation: scroll-text 30s linear infinite;
}

.live-badge {
    background-color: var(--color-yellow);
    color: var(--color-black);
    padding: 4px 12px;
    font-weight: 700;
    font-size: 12px;
    border-radius: 3px;
    animation: pulse-badge 2s ease-in-out infinite;
    flex-shrink: 0;
}

.live-text {
    font-size: 14px;
    font-weight: 600;
}

@keyframes scroll-text {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes pulse-badge {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* ============================================
   ENCABEZADO FIJO
   ============================================ */
.header-fixed {
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    background-color: var(--color-black);
    border-bottom: 3px solid var(--color-red);
    z-index: 1040;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(211, 47, 47, 0.3);
    animation: glow-text 3s ease-in-out infinite;
}

.logo-link {
    color: var(--color-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    color: var(--color-yellow);
    text-shadow: 0 0 10px var(--color-yellow);
}

.alert-icon {
    font-size: 32px;
    animation: blink-icon 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes blink-icon {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes glow-text {
    0%, 100% {
        text-shadow: 2px 2px 4px rgba(211, 47, 47, 0.3);
    }
    50% {
        text-shadow: 2px 2px 8px rgba(211, 47, 47, 0.6), 0 0 15px rgba(211, 47, 47, 0.4);
    }
}

.subtitle {
    font-size: 12px;
    color: var(--color-yellow);
    font-weight: 600;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    color: var(--color-white);
    font-size: 20px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(211, 47, 47, 0.2);
}

.social-link:hover {
    color: var(--color-yellow);
    background-color: var(--color-red);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 15px rgba(255, 214, 0, 0.5);
}

/* Estilos mejorados para Facebook */
.facebook-link {
    background: linear-gradient(135deg, #1877F2 0%, #0d5fd8 100%);
    color: var(--color-white);
    width: auto;
    height: auto;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #166FE5 0%, #0b4fc4 100%);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.5);
}

.social-text {
    font-size: 14px;
    font-weight: 600;
    margin-left: 5px;
}

.header-time {
    font-size: 14px;
    color: var(--color-yellow);
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* ============================================
   NAVEGACIÓN
   ============================================ */
.navbar {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 0;
}

.navbar-nav {
    gap: 5px;
}

.nav-link {
    color: var(--color-white) !important;
    font-weight: 600;
    padding: 12px 20px !important;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--color-yellow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-yellow) !important;
    background-color: rgba(211, 47, 47, 0.1);
}

.navbar-toggler {
    border-color: var(--color-red);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(211, 47, 47, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   CONTENIDO PRINCIPAL
   ============================================ */
.main-content {
    min-height: calc(100vh - 200px);
    padding-bottom: 50px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.container-article {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container-article {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

@media (max-width: 576px) {
    .container-article {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

.content-section {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   NOTICIA DESTACADA
   ============================================ */
.featured-news {
    background-color: rgba(18, 18, 18, 0.8);
    border: 2px solid var(--color-red);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.featured-news:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.4);
    border-color: var(--color-yellow);
}

.featured-image-wrapper {
    position: relative;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s ease;
    max-width: 100%;
}

.featured-news:hover .featured-image {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--color-yellow);
    color: var(--color-black);
    padding: 8px 15px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 5px;
    animation: pulse-badge 2s ease-in-out infinite;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.featured-content {
    background-color: rgba(18, 18, 18, 0.95);
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-white);
    margin-bottom: 15px;
    line-height: 1.2;
}

.featured-title a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: var(--color-yellow);
    text-shadow: 0 0 10px rgba(255, 214, 0, 0.5);
}

.featured-excerpt {
    color: #CCCCCC;
    font-size: 16px;
    margin-bottom: 15px;
}

.featured-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    color: var(--color-yellow);
    font-size: 14px;
    font-weight: 600;
}

.meta-item i {
    margin-right: 5px;
}

/* ============================================
   TARJETAS DE NOTICIAS
   ============================================ */
.news-card {
    background-color: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(211, 47, 47, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-red);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}

.news-image-wrapper {
    position: relative;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
    max-width: 100%;
}

.news-card:hover .news-image {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    letter-spacing: 1px;
}

.news-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: rgba(18, 18, 18, 0.95);
}

.news-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--color-white);
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-title a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--color-yellow);
}

.news-excerpt {
    color: #CCCCCC;
    font-size: 14px;
    margin-bottom: 15px;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    gap: 15px;
    color: var(--color-yellow);
    font-size: 12px;
    font-weight: 600;
    margin-top: auto;
}

.news-meta i {
    margin-right: 5px;
}

/* ============================================
   BARRA LATERAL
   ============================================ */
.sidebar-widget {
    background-color: rgba(18, 18, 18, 0.8);
    border: 2px solid var(--color-red);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--color-red);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-icon {
    font-size: 28px;
}

.widget-content {
    color: var(--color-white);
}

.trending-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(211, 47, 47, 0.3);
    transition: all 0.3s ease;
}

.trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trending-item:hover {
    transform: translateX(5px);
    padding-left: 5px;
}

.trending-image {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    overflow: hidden;
    border-radius: 5px;
    border: 2px solid var(--color-red);
}

.trending-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.3;
}

.trending-content a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.trending-content a:hover {
    color: var(--color-yellow);
}

.trending-meta {
    color: var(--color-yellow);
    font-size: 12px;
    font-weight: 600;
}

.report-item {
    padding: 15px;
    background-color: rgba(211, 47, 47, 0.1);
    border-left: 4px solid var(--color-red);
    border-radius: 5px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.report-item:hover {
    background-color: rgba(211, 47, 47, 0.2);
    transform: translateX(5px);
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.report-badge {
    background-color: var(--color-yellow);
    color: var(--color-black);
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
}

.report-time {
    color: var(--color-yellow);
    font-size: 12px;
    font-weight: 600;
}

.report-text {
    color: var(--color-white);
    font-size: 14px;
    margin-bottom: 8px;
    font-style: italic;
}

.report-location {
    color: #CCCCCC;
    font-size: 12px;
}

.report-location i {
    margin-right: 5px;
    color: var(--color-red);
}

/* ============================================
   PÁGINA DE NOTICIA INDIVIDUAL
   ============================================ */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-yellow);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    background-color: rgba(211, 47, 47, 0.2);
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.back-button:hover {
    background-color: var(--color-red);
    color: var(--color-white);
    transform: translateX(-5px);
}

.news-article {
    background-color: rgba(18, 18, 18, 0.8);
    border: 2px solid var(--color-red);
    border-radius: 8px;
    padding: 30px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

.article-header {
    border-bottom: 2px solid var(--color-red);
    padding-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-category {
    display: inline-block;
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 6px 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    margin-bottom: 15px;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-meta {
    display: flex;
    gap: 25px;
    color: var(--color-yellow);
    font-weight: 600;
}

.article-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid var(--color-red);
}

.article-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.article-body {
    margin-top: 30px;
}

.article-content {
    color: #E0E0E0;
    font-size: 16px;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-content p {
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.article-content .lead {
    font-size: 20px;
    color: var(--color-white);
    font-weight: 600;
    border-left: 4px solid var(--color-yellow);
    padding-left: 20px;
    margin-bottom: 25px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.share-buttons {
    border-top: 2px solid var(--color-red) !important;
}

.share-title {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 20px;
    text-transform: uppercase;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-facebook {
    background-color: #1877F2;
    color: var(--color-white);
}

.share-facebook:hover {
    background-color: #166FE5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.share-twitter {
    background-color: #000000;
    color: var(--color-white);
}

.share-twitter:hover {
    background-color: #333333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.share-whatsapp {
    background-color: #25D366;
    color: var(--color-white);
}

.share-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* ============================================
   PIE DE PÁGINA
   ============================================ */
.footer {
    background-color: var(--color-black);
    border-top: 3px solid var(--color-red);
    margin-top: 50px;
    padding: 30px 0;
}

.footer-text {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social-link {
    color: var(--color-white);
    font-size: 24px;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(211, 47, 47, 0.2);
}

.footer-social-link:hover {
    color: var(--color-yellow);
    background-color: var(--color-red);
    transform: scale(1.15) rotate(10deg);
}

/* Estilos mejorados para Facebook en footer */
.facebook-footer-link {
    background: linear-gradient(135deg, #1877F2 0%, #0d5fd8 100%);
    color: var(--color-white);
    width: auto;
    height: auto;
    padding: 12px 25px;
    border-radius: 30px;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.facebook-footer-link:hover {
    background: linear-gradient(135deg, #166FE5 0%, #0b4fc4 100%);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(24, 119, 242, 0.5);
}

.footer-social-text {
    font-size: 16px;
    font-weight: 600;
    margin-left: 8px;
}

/* Botón de Facebook en contacto */
.facebook-contact-btn {
    background: linear-gradient(135deg, #1877F2 0%, #0d5fd8 100%);
    border: none;
    color: var(--color-white);
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.facebook-contact-btn:hover {
    background: linear-gradient(135deg, #166FE5 0%, #0b4fc4 100%);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(24, 119, 242, 0.5);
}

.footer-disclaimer {
    color: #999999;
    font-size: 12px;
    font-style: italic;
    margin-top: 15px;
}

/* ============================================
   SECCIONES ADICIONALES
   ============================================ */
.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-red);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    border-bottom: 3px solid var(--color-red);
    padding-bottom: 15px;
}

/* ============================================
   FORMULARIO DE CONTACTO
   ============================================ */
.contact-form-wrapper {
    background-color: rgba(18, 18, 18, 0.8);
    border: 2px solid var(--color-red);
    border-radius: 8px;
}

.contact-form .form-label {
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form .form-control,
.contact-form .form-select {
    background-color: rgba(18, 18, 18, 0.9);
    border: 1px solid rgba(211, 47, 47, 0.3);
    color: var(--color-white);
    padding: 12px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background-color: rgba(18, 18, 18, 0.9);
    border-color: var(--color-red);
    color: var(--color-white);
    box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25);
}

.contact-form .btn-danger {
    background-color: var(--color-red);
    border-color: var(--color-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.contact-form .btn-danger:hover {
    background-color: #B71C1C;
    border-color: #B71C1C;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

.text-yellow {
    color: var(--color-yellow) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    body {
        padding-top: 115px;
    }
    
    /* Barra En Vivo */
    .live-bar {
        padding: 5px 0;
        height: auto;
        min-height: 25px;
    }
    
    .live-badge {
        font-size: 9px;
        padding: 2px 6px;
    }
    
    .live-text {
        font-size: 10px;
    }
    
    /* Encabezado */
    .header-fixed {
        top: 25px;
        padding: 0;
    }
    
    .header-fixed .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .header-fixed .row {
        margin: 0;
    }
    
    .header-fixed .col-12 {
        padding: 5px 0;
    }
    
    .logo-text {
        font-size: 18px;
        letter-spacing: 1px;
    }
    
    .alert-icon {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 10px;
    }
    
    /* Navegación */
    .navbar {
        padding: 0;
    }
    
    .nav-link {
        padding: 10px 15px !important;
        font-size: 11px;
        letter-spacing: 0.5px;
    }
    
    /* Contenido Principal */
    .main-content {
        padding: 10px 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .container-fluid .row {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .container-fluid .row > * {
        padding-left: 10px;
        padding-right: 10px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .col-lg-8,
    .col-lg-4 {
        max-width: 100%;
        flex: 0 0 100%;
        width: 100%;
    }
    
    .row.g-0 {
        margin-left: 0;
        margin-right: 0;
    }
    
    .row.g-0 > * {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Noticia Destacada */
    .featured-news {
        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .featured-title {
        font-size: 18px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .featured-title a {
        font-size: 18px;
    }
    
    .featured-image {
        height: 220px;
        width: 100%;
        max-width: 100%;
    }
    
    .featured-excerpt {
        font-size: 13px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .featured-content {
        padding: 15px !important;
    }
    
    /* Tarjetas de Noticias */
    .news-card {
        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .news-image {
        height: 180px;
        width: 100%;
        max-width: 100%;
    }
    
    .news-title {
        font-size: 15px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .news-title a {
        font-size: 15px;
    }
    
    .news-excerpt {
        font-size: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .news-content {
        padding: 12px !important;
    }
    
    .row.g-3,
    .row.g-4 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.75rem;
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .row.g-3 > *,
    .row.g-4 > * {
        padding-left: 5px;
        padding-right: 5px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 12px;
    }
    
    /* Artículo Individual */
    .article-title {
        font-size: 22px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 15px !important;
    }
    
    .article-header {
        padding-bottom: 15px;
        margin-bottom: 20px !important;
    }
    
    .article-content {
        font-size: 15px;
        line-height: 1.8;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
    }
    
    .article-content p {
        margin-bottom: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
    }
    
    .article-content .lead {
        font-size: 16px;
        padding-left: 12px;
        margin-bottom: 18px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
    }
    
    .news-article {
        padding: 15px 12px !important;
        margin: 0 !important;
        border-radius: 6px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .article-image-wrapper {
        margin-bottom: 15px !important;
        border-width: 2px;
        border-radius: 6px;
    }
    
    .article-body {
        margin-top: 15px;
    }
    
    .back-button {
        margin-left: 0 !important;
        margin-bottom: 15px !important;
        padding: 10px 15px;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
    }
    
    .container-article {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .container-article .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .container-article .col-lg-8 {
        padding-left: 0;
        padding-right: 0;
    }
    
    .share-title {
        font-size: 16px;
        margin-bottom: 12px !important;
    }
    
    .share-buttons {
        margin-top: 20px !important;
        padding-top: 20px !important;
    }
    
    .main-content {
        padding-bottom: 30px;
    }
    
    /* Mejoras adicionales para artículo */
    .article-image {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
    }
    
    .share-btn {
        flex: 1 1 100%;
        margin-bottom: 8px;
        text-align: center;
        justify-content: center;
    }
    
    .share-buttons .d-flex {
        flex-direction: column;
        gap: 8px !important;
    }
    
    /* Barra Lateral */
    .sidebar-widget {
        margin-bottom: 20px;
        padding: 15px;
    }
    
    .widget-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .trending-item {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .trending-content h4 {
        font-size: 13px;
    }
    
    /* Botones de Compartir */
    .share-btn {
        padding: 10px 15px;
        font-size: 13px;
        flex: 1 1 auto;
        min-width: 100px;
    }
    
    /* Footer */
    .footer {
        padding: 20px 0;
    }
    
    .footer-text {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .footer-social-link {
        width: auto;
        height: auto;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .footer-social-text {
        font-size: 14px;
    }
    
    /* Formulario de Contacto */
    .contact-form-wrapper {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .facebook-contact-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 105px;
    }
    
    /* Barra En Vivo */
    .live-bar {
        padding: 3px 0;
        height: auto;
        min-height: 20px;
        max-height: 28px;
    }
    
    .live-badge {
        font-size: 7px;
        padding: 1px 4px;
        white-space: nowrap;
    }
    
    .live-text {
        font-size: 8px;
        white-space: nowrap;
    }
    
    /* Encabezado */
    .header-fixed {
        top: 20px;
        padding: 0;
    }
    
    .header-fixed .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .header-fixed .col-12 {
        padding: 4px 0;
    }
    
    .logo-text {
        font-size: 16px;
        letter-spacing: 0.5px;
    }
    
    .alert-icon {
        font-size: 20px;
    }
    
    .subtitle {
        font-size: 9px;
    }
    
    /* Navegación */
    .nav-link {
        padding: 8px 12px !important;
        font-size: 10px;
    }
    
    /* Noticia Destacada */
    .featured-title {
        font-size: 16px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .featured-title a {
        font-size: 16px;
    }
    
    .featured-image {
        height: 180px;
        width: 100%;
        max-width: 100%;
    }
    
    .featured-excerpt {
        font-size: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .featured-content {
        padding: 12px !important;
    }
    
    /* Tarjetas de Noticias */
    .news-image {
        height: 140px;
        width: 100%;
        max-width: 100%;
    }
    
    .news-title {
        font-size: 14px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .news-title a {
        font-size: 14px;
    }
    
    .news-excerpt {
        font-size: 11px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .news-content {
        padding: 10px !important;
    }
    
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    /* Artículo Individual */
    .article-title {
        font-size: 17px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 12px !important;
    }
    
    .article-header {
        padding-bottom: 12px;
        margin-bottom: 15px !important;
    }
    
    .article-content {
        font-size: 14px;
        line-height: 1.7;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
    }
    
    .article-content p {
        margin-bottom: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
    }
    
    .article-content .lead {
        font-size: 15px;
        padding-left: 10px;
        margin-bottom: 15px;
        border-left-width: 3px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
    }
    
    .news-article {
        padding: 12px 10px !important;
        margin: 0 !important;
        border-radius: 5px;
        border-width: 1px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .article-image-wrapper {
        margin-bottom: 12px !important;
        border-width: 1px;
        border-radius: 5px;
    }
    
    .article-body {
        margin-top: 12px;
    }
    
    .back-button {
        margin-left: 0 !important;
        margin-bottom: 12px !important;
        padding: 8px 12px;
        font-size: 12px;
        display: inline-flex;
        align-items: center;
    }
    
    .container-article {
        padding-left: 8px !important;
        padding-right: 8px !important;
        width: 100%;
        max-width: 100%;
    }
    
    .container-article .row {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    
    .container-article .col-lg-8,
    .container-article .col-12 {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .main-content .container {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .main-content .container .row {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    
    .share-title {
        font-size: 14px;
        margin-bottom: 10px !important;
    }
    
    .share-buttons {
        margin-top: 15px !important;
        padding-top: 15px !important;
    }
    
    .main-content {
        padding-bottom: 25px;
    }
    
    .article-header {
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
    }
    
    .article-content .lead {
        padding-left: 10px;
        margin-bottom: 15px;
    }
    
    /* Mejoras adicionales para artículo en móvil pequeño */
    .article-image {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
    }
    
    .share-btn {
        flex: 1 1 100%;
        margin-bottom: 8px;
        text-align: center;
        justify-content: center;
        width: 100%;
    }
    
    .share-buttons .d-flex {
        flex-direction: column;
        gap: 8px !important;
    }
    
    .share-buttons .gap-2 {
        gap: 8px !important;
    }
    
    /* Barra Lateral */
    .sidebar-widget {
        padding: 12px;
    }
    
    .widget-title {
        font-size: 16px;
    }
    
    .trending-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .trending-image {
        width: 100%;
        height: 120px;
    }
    
    .trending-content h4 {
        font-size: 12px;
    }
    
    /* Botones de Compartir */
    .share-btn {
        padding: 8px 12px;
        font-size: 12px;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .share-buttons .d-flex {
        flex-direction: column;
    }
    
    /* Footer */
    .footer-social-link {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .footer-social-text {
        font-size: 12px;
    }
    
    /* Formulario de Contacto */
    .section-title {
        font-size: 20px;
    }
    
    .contact-form-wrapper {
        padding: 15px 10px;
    }
    
    .contact-form .form-control,
    .contact-form .form-select {
        padding: 10px;
        font-size: 14px;
    }
    
    .facebook-contact-btn {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    /* Grid de Noticias */
    .row.g-3,
    .row.g-4 {
        --bs-gutter-y: 0.75rem;
        --bs-gutter-x: 0.5rem;
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .row.g-3 > *,
    .row.g-4 > * {
        padding-left: 5px;
        padding-right: 5px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 12px;
    }
    
    /* Mejoras táctiles */
    .news-card,
    .featured-news,
    .share-btn,
    .back-button {
        -webkit-tap-highlight-color: rgba(211, 47, 47, 0.3);
    }
    
    /* Asegurar que los botones sean táctiles */
    button,
    .btn,
    a {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Mejorar legibilidad */
    .news-title a,
    .featured-title a {
        font-size: inherit;
    }
    
    /* Barra lateral en móvil */
    .col-lg-4 {
        margin-top: 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .sidebar-widget {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Footer */
    .footer .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .footer .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .footer .row > * {
        padding-left: 10px;
        padding-right: 10px;
    }
}

