/* Contenedor de lectura enfocado (Máximo ancho confortable de lectura) */
.article-reading-container {
    max-width: 820px;
    margin: 0 auto;
}

/* Caja Glassmorphic para el Post */
.article-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Botón Volver */
.btn-back-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
    margin-bottom: 30px;
}

.btn-back-blog:hover {
    background: #9acd32;
    color: #101010;
    border-color: #9acd32;
    text-decoration: none;
    transform: translateX(-4px);
}

/* Encabezado del Post */
.article-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    padding-bottom: 25px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-meta i {
    color: #9acd32;
    margin-right: 6px;
}

.tag-badge {
    background: rgba(154, 205, 50, 0.12);
    border: 1px solid rgba(154, 205, 50, 0.25);
    color: #9acd32;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

/* Imagen Destacada */
.article-featured-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 35px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Estilos del Cuerpo del Artículo (Gutenberg / HTML Content) */
.article-content {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.8;
    font-family: 'Open Sans', sans-serif;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content p.lead {
    font-size: 18px;
    font-weight: 400;
    color: #f3f3f3;
    line-height: 1.7;
}

.article-content h2 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-content h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: #9acd32;
    border-radius: 999px;
}

.article-content h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 14px;
}

/* Estilo de Citas (Blockquotes) */
.article-content blockquote {
    position: relative;
    background: rgba(154, 205, 50, 0.05);
    border-left: 4px solid #9acd32;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 30px 0;
    font-style: italic;
    color: #f0f0f0;
}

.article-content blockquote p {
    margin: 0;
    font-size: 16.5px;
}

/* Estilo para Código (<pre> <code>) */
.article-content pre {
    background: #141414 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px !important;
    overflow-x: auto;
    margin: 28px 0;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.article-content code {
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 13.5px;
    color: #22d3ee;
}

.article-content p code, 
.article-content li code {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 3px 8px;
    border-radius: 6px;
    color: #9acd32;
    font-size: 13px;
}

.article-content ul, 
.article-content ol {
    padding-left: 20px;
    margin-bottom: 24px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 40px 0;
}

/* Responsive Mobile */
@media (max-width: 767.98px) {
    .article-card {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .article-title {
        font-size: 24px;
    }

    .article-content {
        font-size: 15px;
    }
}