#noticias-container.noticia-individual {
    display: contents !important;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh; /* Asegura que ocupe toda la pantalla */
    padding: 40px 20px; /* Algo de espacio a los lados en pantallas chicas */
    box-sizing: border-box;
}

/* Estilo mejorado para noticia detallada */
.news-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.news-detail-header {
    margin-bottom: 2rem;
}

/* Título destacado */
.news-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

/* Categoría con estilo moderno */
.news-detail-category {
    display: inline-block;
    color: #000;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    background-color: rgba(255, 0, 0, 0.24);
    border-radius: 1rem;
}

/* Carrusel de imágenes */
.news-detail-container .carousel {
    margin: 2rem 0;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-detail-container .carousel img {
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
}

/* Contenido legible */
.news-detail-content {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #333;
    margin: 2.5rem 0;
}

.news-detail-content p {
    margin-bottom: 1.5em;
}

/* Pie de noticia mejorado */
.news-detail-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.news-detail-date {
    color: #666;
    font-size: 0.95rem;
}

/* Botón de volver moderno */
.news-back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #007bff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.news-back-button:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.news-back-button svg {
    transition: transform 0.2s ease;
}

.news-back-button:hover svg {
    transform: translateX(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .news-detail-container {
        padding: 1.5rem;
    }
    
    .news-detail-title {
        font-size: 2rem;
    }
    
    .news-detail-content {
        font-size: 1rem;
    }
    
    .news-detail-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .news-back-button {
        margin-top: 1rem;
    }
}




