/* Estilos para Pantallas de Artículos Modernos (Heredados de Blog) */
:root {
    --primary-bg: #faf9f5;
    --card-bg: #ffffff;
    --text-main: #2c3e50;
    --text-muted: #6c757d;
    --accent-gold: #c5b358;
    --accent-gold-light: rgba(197, 179, 88, 0.1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
    --radius-lg: 20px;
    --radius-md: 12px;
}

/* Layout de Artículo tipo Medium/Substack */
.article-modern-layout {
    max-width: 740px;
    /* Ancho de lectura óptimo */
    margin: 8rem auto 6rem auto;
    padding: 0 1.5rem;
    font-family: 'Poppins', sans-serif;
    /* Fallback limpia */
}

/* Header del Artículo */
.article-header-modern {
    text-align: center;
    margin-bottom: 3rem;
}

.article-category {
    display: inline-block;
    background: var(--accent-gold-light);
    color: #8a7a2e;
    /* Gold más oscuro para contraste */
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.article-title-modern {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.article-meta-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.article-meta-modern img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Cuerpo del Texto */
.article-content-modern {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #2c3e50;
    /* Gris muy oscuro para lectura cómoda */
}

.article-content-modern p {
    margin-bottom: 1.8rem;
}

.article-content-modern h2,
.article-content-modern h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
    margin-top: 3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content-modern h2 {
    font-size: 2rem;
}

.article-content-modern h3 {
    font-size: 1.6rem;
}

.article-content-modern blockquote {
    background: #fff;
    border-left: 4px solid var(--accent-gold);
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    font-style: italic;
    font-size: 1.25rem;
    color: #555;
    font-family: 'Playfair Display', serif;
    box-shadow: var(--shadow-sm);
    border-radius: 0 12px 12px 0;
}

.article-content-modern strong {
    color: #111;
    font-weight: 700;
}

.article-content-modern ul,
.article-content-modern ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.article-content-modern li {
    margin-bottom: 0.8rem;
}

/* Drop cap (Letra capital) opcional */
.drop-cap-text>p:first-of-type::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 0.8;
    float: left;
    margin-right: 0.8rem;
    color: var(--accent-gold);
    font-weight: 700;
}

/* Call to Action Box Mejorado */
.article-cta-box {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 4rem 0;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.article-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gold);
}

.article-cta-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #fff;
    margin-top: 0;
    margin-bottom: 1rem;
}

.article-cta-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.article-cta-box .btn {
    background: var(--accent-gold);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 600;
}

.article-cta-box .btn:hover {
    background: #d4c264;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .article-modern-layout {
        margin-top: 6rem;
        padding: 0 1rem;
        /* More space on sides */
    }

    .article-title-modern {
        font-size: 1.8rem;
        /* Smaller title */
        line-height: 1.25;
    }

    .article-content-modern {
        font-size: 1.05rem;
        /* Slightly smaller body text */
    }

    .article-content-modern h2 {
        font-size: 1.6rem;
    }

    .article-content-modern h3 {
        font-size: 1.35rem;
    }
}