/* =================================================================
   MÓDULO BLOG DE NOTICIAS - FUNDECIMA
   Estilos optimizados (Página en Construcción)
   ================================================================= */

/* --- RESET Y ELIMINACIÓN DE ESPACIO SUPERIOR --- */
main.blog-noticias-main {
    margin-top: 0 !important;       /* Anula el margin-top de 70px heredado */
    padding-top: 10px !important;    /* Ajuste inmediato debajo de la navegación */
    padding-bottom: 50px !important;
    background-color: #f8fafc;
    min-height: calc(100vh - 220px);
}

.highlight-blue {
    color: #1e3a8a;
}

.highlight-green {
    color: #059669;
}

/* --- BREADCRUMB --- */
.blog-breadcrumb {
    font-size: 0.88rem;
    font-weight: 500;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.blog-breadcrumb a {
    color: #1e3a8a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-breadcrumb a:hover {
    color: #059669;
}

.blog-breadcrumb .parent {
    color: #475569;
}

.blog-breadcrumb .separator {
    font-size: 0.72rem;
    color: #cbd5e1;
}

.blog-breadcrumb .current {
    color: #0f172a;
    font-weight: 600;
}

/* --- ENCABEZADO --- */
.blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: #eff6ff;
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 9999px;
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    animation: pulseRadarNews 2s infinite;
}

@keyframes pulseRadarNews {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.blog-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.blog-subtitle {
    font-size: 1.05rem;
    color: #475569;
    max-width: 800px;
    line-height: 1.65;
}

/* --- TARJETA PRINCIPAL EN CONSTRUCCIÓN --- */
.blog-card-hero {
    background: #ffffff;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    padding: 45px 40px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.blog-card-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(90deg, #1e3a8a 0%, #0284c7 50%, #059669 100%);
}

.construction-icon-wrapper {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon-circle-pulse {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(2, 132, 199, 0.08);
    z-index: 1;
    animation: iconPulseNews 3s ease-in-out infinite;
}

@keyframes iconPulseNews {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

.construction-icon {
    font-size: 4.5rem;
    color: #0284c7;
    position: relative;
    z-index: 2;
    padding: 24px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 50%;
    border: 2px solid rgba(2, 132, 199, 0.25);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.15);
}

.badge-phase {
    margin-top: 18px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0369a1;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0284c7;
    margin-bottom: 12px;
}

.status-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #0284c7;
}

.construction-heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 14px;
}

.construction-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

/* Barra de progreso */
.progress-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
}

.progress-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
}

.progress-percent {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0284c7;
}

.custom-progress-bar {
    height: 10px;
    background-color: #e2e8f0;
    border-radius: 8px;
}

.custom-progress-bar .progress-bar {
    background: linear-gradient(90deg, #1e3a8a 0%, #0284c7 50%, #059669 100%);
    border-radius: 8px;
}

/* Botones de acción */
.btn-institucional-direct {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e3a8a 0%, #059669 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
    transition: all 0.25s ease;
}

.btn-institucional-direct:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30, 58, 138, 0.35);
    color: #ffffff;
}

.btn-volver-inicio {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 10px;
    background: #f8fafc;
    color: #334155;
    border: 1.5px solid #cbd5e1;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-volver-inicio:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-2px);
}

/* --- TARJETAS PREVIEW (COMPONENTES FUTUROS) --- */
.section-tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #0284c7;
    background: #f0f9ff;
    padding: 4px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 8px;
}

.preview-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
}

.preview-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px 22px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.preview-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.preview-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.preview-card-icon.blue  { background: #eff6ff; color: #1e3a8a; }
.preview-card-icon.green { background: #ecfdf5; color: #059669; }
.preview-card-icon.teal  { background: #f0fdfa; color: #0d9488; }
.preview-card-icon.amber { background: #fffbeb; color: #d97706; }

.preview-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.preview-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.card-status-badge {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #0369a1;
    background: #f0f9ff;
    padding: 4px 10px;
    border-radius: 6px;
    width: fit-content;
}

/* --- TARJETA CALLOUT DE CONTACTO --- */
.blog-callout-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.btn-contactar-prensa {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 10px;
    background: #0284c7;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-contactar-prensa:hover {
    background: #0369a1;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .blog-card-hero {
        padding: 30px 24px;
    }

    .construction-icon {
        font-size: 3.5rem;
        padding: 18px;
    }

    .icon-circle-pulse {
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 576px) {
    .construction-actions {
        flex-direction: column;
    }

    .btn-institucional-direct,
    .btn-volver-inicio,
    .btn-contactar-prensa {
        width: 100%;
        justify-content: center;
    }
}