/* =====================================================
   📰 ESTILOS PARA POST INDIVIDUAL (single.php) - V3 (FINAL)
   ===================================================== */

/* 🔹 Estilo de la Categoría (Badge/Etiqueta) */
.single-post .post-meta-header {
    margin-bottom: 15px;
    text-align: center;
}

.single-post .post-category {
    display: inline-block;
    padding: 6px 15px;
    background: var(--verde-claro); /* Fondo verde claro */
    color: var(--verde-oscuro);     /* Texto verde oscuro (Fallback) */
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 🔑 CLAVE: Regla para el enlace <a> DENTRO de la categoría */
.single-post .post-category a {
    color: var(--verde-oscuro) !important; /* FUERZA COLOR VERDE */
    text-decoration: none !important; /* FUERZA QUITAR SUBRAYADO AZUL */
}

.single-post .post-category a:hover {
    color: var(--verde-oscuro) !important;
    text-decoration: none !important; /* Asegura que no se muestre ningún subrayado en hover */
}


/* 🔹 Separadores y Autor (Meta-info) */
.single-post .meta-info {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
    font-size: 15px;
}

.single-post .meta-info .separator {
    margin: 0 10px;
    color: #ccc;
}

/* Enlace del Autor */
.single-post .meta-info a {
    color: #555 !important; /* Fuerza color sutil */
    text-decoration: none !important; /* FUERZA QUITAR SUBRAYADO AZUL */
    font-weight: 500;
    transition: color 0.2s ease;
}

.single-post .meta-info a:hover {
    color: var(--verde-oscuro) !important; /* Hover al verde principal */
    text-decoration: underline !important; /* Re-añade subrayado en hover */
}

/* 🔹 Navegación Prev/Next (Quitar azul clásico y línea) */
.post-navigation a {
    color: var(--verde-oscuro) !important; /* FUERZA COLOR VERDE */
    text-decoration: none !important; /* FUERZA QUITAR SUBRAYADO AZUL */
    font-weight: 600;
    transition: color 0.2s ease;
    padding: 10px 0;
}
.post-navigation a:hover {
    color: var(--verde-medio) !important;
    text-decoration: underline !important;
}
.post-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--gris-claro);
    display: flex;
    justify-content: space-between;
}

/* 🔹 Enlaces dentro del Contenido (Atribución IA) */
.single-post .entry-content a {
    color: var(--verde-oscuro) !important; 
    text-decoration: underline !important; 
    font-weight: 500;
}
.single-post .entry-content a:hover {
    color: var(--verde-medio) !important;
}


/* 🔹 Contenido Expandido */
.single-post .entry-content {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* 🔹 Estilo para CTA Newsletter */
.single-post .post-cta-newsletter {
    margin-top: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--verde-oscuro), var(--verde-medio));
    color: white;
    text-align: center;
    border-radius: 12px;
}

.single-post .post-cta-newsletter h2 {
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
}

.single-post .post-cta-newsletter p {
    margin-bottom: 25px;
}