/* =============================================================================
   ESTILOS HÍBRIDOS: Ruta Conecta + Blog (VERSIÓN CORRECTA PARA PÚBLICO)
   ============================================================================= */

:root {
    --brand: #21a607;
    --bg: #0f1115;
    --elev: #141823;
    --stroke: #1f2430;
    --muted: #9aa3b2;
    --text: #e6ebf5;
    --accent: var(--brand);
    --radius: 18px;
    --shadow: 0 10px 25px rgba(0,0,0,.25);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Arial;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    transition: all 0.2s ease;
}

a:hover {
    color: #34e27b;
    text-decoration-color: #34e27b;
    text-shadow: 0 0 8px color-mix(in srgb, #34e27b 30%, transparent);
}

a:active {
    color: #1a8506;
    text-decoration-color: #1a8506;
    font-weight: 600;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Navbar (Estilo Ruta Conecta) --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(8px);
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    border-bottom: 1px solid var(--stroke);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.brand img {
    height: 32px;
    width: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn, button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    background: var(--elev);
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), #34e27b);
    color: #fff;
    border-color: transparent;
}

.btn-ghost {
    background: transparent;
}

/* --- Menú Móvil --- */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: var(--text);
    padding: 0.4rem 0.5rem;
    border-radius: 10px;
    cursor: pointer;
}

@media (max-width: 920px) {
    .nav-toggle { display: inline-flex; }
    .nav-actions {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--bg); border-bottom: 1px solid var(--stroke);
        display: none; flex-direction: column; align-items: stretch;
        padding: 0.6rem; gap: 0.2rem;
    }
    .nav-actions.show { display: flex; }
    .nav-actions .btn, .nav-actions a { width: 100%; justify-content: flex-start; }
}

/* --- Hero Section del Blog --- */
.hero {
    padding: 3rem 0;
    text-align: center;
    background: radial-gradient(1200px 600px at 90% -10%, color-mix(in srgb, var(--brand) 15%, transparent) 0%, transparent 60%),
                radial-gradient(1200px 600px at -10% 10%, color-mix(in srgb, #34e27b 12%, transparent) 0%, transparent 60%);
}

/* --- Hero Compact para Artículos (sin título innecesario) --- */
.hero-compact {
    padding: 1rem 0; /* Reducido de 3rem a 1rem para ahorrar espacio */
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 8%, transparent) 0%, transparent 50%);
    border-bottom: 1px solid var(--stroke);
}

.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.4rem);
    line-height: 1.15;
    margin: 0 0 1rem 0;
}

.hero p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* --- Layout Principal del Blog --- */
.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* --- Estilos de Artículos (Cards) --- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.post-card {
    background: var(--elev);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.post-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #333;
}

.post-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-card-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    line-height: 1.4;
}

.post-card-content h3 a {
    color: var(--text);
}

.post-card-content h3 a:hover {
    color: var(--accent);
}

.post-meta {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-card-excerpt {
    color: var(--muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    color: var(--accent);
    font-weight: bold;
    align-self: flex-start;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--text);
}

/* --- Artículo Destacado --- */
.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--elev);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2rem;
}

.featured-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-post-content h2 {
    font-size: 2.2rem;
    margin-top: 0;
}

/* --- Sidebar --- */
.sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar-widget {
    background: var(--elev);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    margin-top: 0;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* --- Anuncios --- */
.ad-container {
    text-align: center;
    padding: 1rem;
    border: 1px dashed var(--stroke);
    border-radius: 8px;
    background-color: var(--bg);
}

.ad-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.ad-container .cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: var(--bg);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.ad-container .cta-button:hover {
    background-color: var(--brand);
}

/* --- Paginación --- */
.pagination {
    margin-top: 2rem;
    text-align: center;
}

.pagination .btn {
    margin: 0 5px;
}

/* --- Footer --- */
footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid var(--stroke);
    color: var(--muted);
    font-size: 0.9rem;
}

footer a {
    color: var(--accent);
}

/* --- Estilos para el Contenido de un Artículo Individual --- */
.post-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--stroke);
}

.post-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: var(--text);
    font-weight: 700;
}

.post-featured-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 70ch; /* Ancho óptimo para lectura */
    margin: 0 auto;
    color: var(--text);
}

/* Enlaces dentro del contenido del artículo - ALTA ESPECIFICIDAD */
.post-content * a,
.post-content a,
.post-content p a,
.post-content li a,
.post-content div a {
    color: #21a607 !important;
    text-decoration: underline !important;
    text-decoration-color: #21a607 !important;
    text-underline-offset: 3px !important;
    text-decoration-thickness: 2px !important;
    transition: all 0.2s ease;
    font-weight: 500;
}

.post-content * a:hover,
.post-content a:hover,
.post-content p a:hover,
.post-content li a:hover,
.post-content div a:hover {
    color: #34e27b !important;
    text-decoration-color: #34e27b !important;
    text-shadow: 0 0 6px rgba(33, 166, 7, 0.3);
}

.post-content * a:active,
.post-content a:active,
.post-content p a:active,
.post-content li a:active,
.post-content div a:active {
    color: #1a8506 !important;
    text-decoration-color: #1a8506 !important;
    font-weight: 600;
}

.post-content * a:visited,
.post-content a:visited,
.post-content p a:visited,
.post-content li a:visited,
.post-content div a:visited {
    color: #1a8c05 !important;
    text-decoration-color: #1a8c05 !important;
}

.post-content h1 { 
    font-size: 2.5rem; 
    margin: 3rem 0 1.5rem 0; 
    color: var(--text); 
    line-height: 1.2;
    font-weight: 700;
}

.post-content h2 { 
    font-size: 2rem; 
    margin: 3rem 0 1.5rem 0; 
    color: var(--text); 
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem; 
    line-height: 1.3;
    font-weight: 600;
}

.post-content h3 { 
    font-size: 1.5rem; 
    margin: 2.5rem 0 1rem 0; 
    color: var(--text); 
    line-height: 1.4;
    font-weight: 600;
}

.post-content p { 
    margin-bottom: 1.5rem; 
    color: var(--text);
    text-align: justify;
}

.post-content p:first-of-type {
    font-size: 1.25rem;
    color: var(--muted);
    font-weight: 300;
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--elev);
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.post-content ul, .post-content ol { 
    padding-left: 2.5rem; 
    margin-bottom: 1.5rem; 
}

.post-content li { 
    margin-bottom: 0.8rem; 
    line-height: 1.7;
}

.post-content li::marker {
    color: var(--accent);
    font-weight: bold;
}

.post-content blockquote { 
    margin: 2rem 0; 
    padding: 1.5rem 2rem; 
    border-left: 4px solid var(--accent); 
    background: color-mix(in srgb, var(--elev) 80%, var(--accent) 5%); 
    color: var(--muted); 
    font-style: italic; 
    border-radius: 0 12px 12px 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.post-content pre { 
    background: var(--bg); 
    border: 1px solid var(--stroke); 
    border-radius: 12px; 
    padding: 1.5rem; 
    overflow-x: auto; 
    margin: 2rem 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.post-content code { 
    background: var(--stroke); 
    color: var(--text); 
    padding: 0.3rem 0.6rem; 
    border-radius: 6px; 
    font-family: 'Courier New', Courier, monospace; 
    font-size: 0.9em;
}

.post-content pre code { 
    background: transparent; 
    padding: 0; 
    color: var(--text);
}

.post-content img { 
    max-width: 100%; 
    height: auto; 
    border-radius: 12px; 
    margin: 2rem 0; 
    box-shadow: var(--shadow);
}

.post-content .alignleft { 
    float: left; 
    margin-right: 2rem; 
    margin-bottom: 1rem; 
    max-width: 40%;
}

.post-content .alignright { 
    float: right; 
    margin-left: 2rem; 
    margin-bottom: 1rem; 
    max-width: 40%;
}

.post-content .aligncenter { 
    display: block; 
    margin-left: auto; 
    margin-right: auto; 
    margin-bottom: 2rem; 
    max-width: 100%;
}

/* Tablas mejoradas */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.post-content th,
.post-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--stroke);
}

.post-content th {
    background: var(--elev);
    color: var(--text);
    font-weight: 600;
}

.post-content tr:hover {
    background: color-mix(in srgb, var(--elev) 50%, var(--accent) 10%);
}

/* Estilos para botones y elementos interactivos */
.post-content .btn {
    display: inline-block;
    background: var(--accent);
    color: var(--bg);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 1rem 0;
    border: none;
}

.post-content .btn:hover {
    background: #34e27b;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .post-container {
        padding: 1rem 0;
    }
    
    .post-content {
        font-size: 1rem !important;
        padding: 0 1rem !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    .post-content .alignleft, 
    .post-content .alignright { 
        float: none; 
        display: block; 
        margin-left: auto; 
        margin-right: auto; 
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .post-content table {
        font-size: 0.9rem;
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
    }
    
    .post-content table thead,
    .post-content table tbody,
    .post-content table tr,
    .post-content table th,
    .post-content table td {
        display: block;
        width: 100%;
    }
    
    .post-content table thead {
        display: none;
    }
    
    .post-content table tr {
        background: var(--elev);
        border: 1px solid var(--stroke);
        border-radius: 12px;
        margin-bottom: 1rem;
        padding: 1.5rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        transition: all 0.3s ease;
    }
    
    .post-content table tr:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    }
    
    .post-content table th,
    .post-content table td {
        padding: 0.8rem 0;
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
        border-bottom: 1px solid color-mix(in srgb, var(--stroke) 30%, var(--accent) 15%);
        background: transparent;
        border-radius: 0;
    }
    
    .post-content table th:last-child,
    .post-content table td:last-child {
        border-bottom: none;
    }
    
    .post-content table th:before,
    .post-content table td:before {
        /* ELIMINADO: No mostrar data-label como pseudo-elementos */
        /* content: attr(data-label); */
    }
    
    .post-content table th,
    .post-content table td {
        position: relative;
        padding-left: 0;
    }
    
    /* Fallback para celdas sin data-label - ELIMINADO */
    /* .post-content table td:not([data-label]):before {
        content: "Información";
        color: var(--muted);
        font-style: italic;
    } */
    
    /* ASEGURAR que todas las tablas se transformen */
    .post-content table {
        display: block !important;
        width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
    }
    
    .post-content table * {
        display: block !important;
        width: 100% !important;
    }
    
    .post-content table tr {
        margin-bottom: 1rem !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }
}
}

/* SOLUCIÓN AGRESIVA PARA MÓVILES - COLUMNAS PROBLEMÁTICAS */
@media (max-width: 768px) {
    /* Forzar que todo el contenido se expanda */
    .post-content * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Forzar párrafos específicos */
    .post-content p {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        clear: both !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: justify !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Forzar que cualquier elemento que pueda estar en columnas se expanda */
    .post-content div:not([class]):not([id]) {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }
    
    /* Contenedores de texto */
    .post-content .wp-block-columns,
    .post-content .wp-block-column,
    .post-content .entry-content > * {
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: column !important;
    }
    
    /* Cualquier span o div sin clase que contenga texto */
    .post-content span:not([class]):not([style*="display"]):not([style*="width"]) {
        display: inline !important;
        max-width: 100% !important;
    }
}

/* Estilos adicionales para elementos de contenido */
.post-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 3rem 0;
    border-radius: 1px;
}

.post-content mark {
    background: color-mix(in srgb, var(--accent) 20%, yellow 30%);
    color: var(--text);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.post-content sup,
.post-content sub {
    color: var(--accent);
    font-weight: 600;
}

.post-content abbr {
    text-decoration: none;
    border-bottom: 1px dotted var(--accent);
    cursor: help;
}

.post-content cite {
    color: var(--muted);
    font-style: italic;
}

.post-content .highlight-box {
    background: color-mix(in srgb, var(--elev) 70%, var(--accent) 10%);
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
}

.post-content .highlight-box::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--bg);
    padding: 0 0.5rem;
    font-size: 1.2rem;
}

/* Mejoras para la navegación de lectura */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    z-index: 100;
    transition: width 0.3s ease;
}

.post-toc {
    background: var(--elev);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    /* position: sticky; - ELIMINADO: Ya no es sticky para no ocupar espacio de lectura */
    max-height: 400px;
    overflow-y: auto;
}

.post-toc h4 {
    margin: 0 0 1rem 0;
    color: var(--accent);
    font-size: 1rem;
}

.post-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-toc li {
    margin: 0.5rem 0;
    padding-left: 1rem;
    border-left: 2px solid transparent;
}

.post-toc li.active {
    border-left-color: var(--accent);
}

.post-toc a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.post-toc a:hover {
    color: var(--accent);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .main-content { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .featured-post { grid-template-columns: 1fr; }
    .featured-post-image { height: 250px; }
}


/* =============================================================================
   BOTONES DE COMPARTIR MODERNOS
   ============================================================================= */

.share-buttons-section {
    margin: 3rem 0 0 0;
    padding: 2rem 0;
    border-top: 1px solid var(--stroke);
    text-align: center;
}

.share-buttons-section h3 {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 120px;
    justify-content: center;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.share-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Colores de marca oficiales */
.share-btn.facebook {
    background: linear-gradient(135deg, #1877F2, #42A5F5);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0D8BD9);
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #0A66C2, #0E76A8);
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.share-btn.telegram {
    background: linear-gradient(135deg, #0088CC, #229ED9);
}

.share-btn.copy-link {
    background: linear-gradient(135deg, #6B7280, #9CA3AF);
}

.share-btn.email {
    background: linear-gradient(135deg, #EA4335, #FBBC04);
}

/* Efectos hover específicos */
.share-btn.facebook:hover {
    background: linear-gradient(135deg, #166FE5, #3B82F6);
}

.share-btn.twitter:hover {
    background: linear-gradient(135deg, #1A91DA, #0284C7);
}

.share-btn.linkedin:hover {
    background: linear-gradient(135deg, #095AAC, #0B66B3);
}

.share-btn.whatsapp:hover {
    background: linear-gradient(135deg, #22C55E, #16A34A);
}

.share-btn.telegram:hover {
    background: linear-gradient(135deg, #0077B5, #0066CC);
}

.share-btn.copy-link:hover {
    background: linear-gradient(135deg, #4B5563, #6B7280);
}

.share-btn.email:hover {
    background: linear-gradient(135deg, #DC2626, #F59E0B);
}

/* Animación de copiado */
.share-btn.copied {
    background: linear-gradient(135deg, #10B981, #059669) !important;
    transform: scale(0.95);
}

.share-btn.copied::after {
    content: "✓";
    position: absolute;
    right: 0.5rem;
    font-weight: bold;
}

/* Responsive para botones de compartir */
@media (max-width: 768px) {
    .share-buttons {
        gap: 0.5rem;
    }
    
    .share-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .share-btn span {
        display: none;
    }
    
    .share-btn {
        min-width: 48px;
        padding: 0.6rem;
    }
    
    .share-buttons-section {
        margin: 2rem 0 0 0;
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .share-buttons {
        justify-content: center;
        gap: 0.4rem;
    }
    
    .share-btn {
        padding: 0.5rem;
        min-width: 44px;
    }
    
    .share-icon {
        width: 16px;
        height: 16px;
    }
    
    /* ULTRA AGRESIVO PARA PANTALLAS MUY PEQUEÑAS */
    .post-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 0.5rem !important;
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    .post-content * {
        max-width: 100% !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }
    
    .post-content p {
        text-align: left !important;
        margin-bottom: 1rem !important;
    }
    
    /* Asegurar que las tablas se vean como listas */
    .post-content table tr {
        margin-bottom: 1.5rem !important;
        border: 1px solid var(--stroke) !important;
        border-radius: 8px !important;
        padding: 1rem !important;
        background: var(--elev) !important;
    }
    
    .post-content table th:before,
    .post-content table td:before {
        font-size: 0.85rem !important;
        min-width: 60px !important;
    }
}