/* ==========================================================================
   noticia.css — estilos propios de la página public/noticia.php
   Extraído del <style> inline original; depende de los tokens definidos
   en variables.css (cargado antes que este archivo).
   ========================================================================== */
body {
            font-family: system-ui, -apple-system, sans-serif;
            color: var(--text-main);
            background-color: var(--white);
            margin: 0;
            line-height: 1.6;
        }
        
        .container {
            max-width: 800px;
            margin: 4rem auto;
            padding: 0 1.5rem;
        }

        /* Diseño de la Noticia Individual */
        .btn-back {
            display: inline-flex;
            align-items: center;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            margin-bottom: 2rem;
            font-size: 0.95rem;
        }
        .btn-back:hover { color: var(--primary-dark); text-decoration: underline; }
        
        .post-meta {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 0.75rem;
        }
        .post-title {
            font-size: 2.25rem;
            line-height: 1.25;
            margin: 0 0 2rem 0;
            color: var(--color-texto);
        }
        .post-banner {
            width: 100%;
            max-height: 400px;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 2.5rem;
            background-color: var(--bg-light);
            border: 1px solid var(--border);
        }
        .post-banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .post-content {
            font-size: 1.1rem;
            color: var(--color-texto-suave);
            /* Permite conservar de forma segura los saltos de línea del formulario del admin */
            white-space: pre-line; 
        }

        /* Pantalla de Error 404 */
        .error-box {
            text-align: center;
            padding: 5rem 1rem;
        }
        .error-box h2 { font-size: 2rem; color: var(--color-texto); margin-bottom: 1rem; }
        .error-box p { color: var(--text-muted); margin-bottom: 2rem; }
