/* === DISEÑO ESPECTACULAR PARA PÁGINA DE ARTÍCULO === */

.single-article-page .article-header {
    position: relative;
    padding: 150px 0;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    min-height: 60vh;
    margin-top: -80px;
}
.single-article-page .header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
}
.single-article-page .header-content {
    position: relative;
    z-index: 2;
}
.single-article-page .article-category {
    background-color: var(--lr-green);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}
.single-article-page .article-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 20px 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    line-height: 1.3;
}
.single-article-page .article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}
.single-article-page .author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.single-article-page .author-info img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.5);
}

/* --- CUERPO DEL ARTÍCULO (NUEVO DISEÑO OSCURO) --- */
.single-article-page .article-body {
    padding: 80px 0;
    background-color: #2a2d30;
    color: #e0e5ec;
}
.single-article-page .article-content-main {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

/* --- ESTILOS PARA EL CHECKLIST INTERACTIVO --- */
.single-article-page .article-content-main h3 {
    background: #303338;
    padding: 20px;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    padding-right: 50px; /* Espacio para el ícono + */
}
.single-article-page .article-content-main h3::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--lr-green);
    transition: transform 0.3s ease;
}
.single-article-page .article-content-main h3.active::after {
    transform: translateY(-50%) rotate(45deg);
}
.single-article-page .article-content-main h3:hover {
    background-color: #383c41;
}

.single-article-page .article-content-main p {
    background: #26292c;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
    padding: 0 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.single-article-page .article-content-main p.active {
    padding: 20px;
    max-height: 1000px; /* Altura máxima para la animación */
}

.single-article-page .article-content-main p strong {
    color: var(--lr-green);
    font-weight: 600;
}


/* --- ETIQUETAS Y CAJA DE AUTOR (NUEVO DISEÑO) --- */
.single-article-page .article-tags {
    margin: 40px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.single-article-page .article-tags h4 { font-size: 1rem; font-weight: 600; margin-bottom: 15px; color: #fff; }
.single-article-page .article-tags a {
    display: inline-block;
    background-color: #303338;
    color: #ccc;
    padding: 5px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.8rem;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.3s;
}
.single-article-page .article-tags a:hover { background-color: var(--lr-green); color: #fff; }

.single-article-page .author-box {
    margin-top: 50px;
    padding: 30px;
    background-color: #303338;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.single-article-page .author-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}
.single-article-page .author-box h4 { font-size: 1.2rem; font-weight: 600; margin-bottom: 5px; color: #fff; }
.single-article-page .author-box p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); margin: 0; }

@media (max-width: 768px) {
    .single-article-page .article-title { font-size: 2.2rem; }
    .single-article-page .author-box { flex-direction: column; text-align: center; }
}