/* ==========================================================================
   COMPONENTES EXTRAS Y ESTADOS EN TIEMPO REAL - GLOBAL HEALTH GROUP
   ========================================================================== */

/* Badge de Estado en Tiempo Real (Abierto / Cerrado) */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Estado ABIERTO: Verde Esmeralda Clínico */
.badge-open {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #047857;
    border: 1px solid #a7f3d0;
}

.badge-open:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* Estado CERRADO: Rojo Sutil */
.badge-closed {
    background: linear-gradient(135deg, #fef2f2 0%, #ffe4e4 100%);
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Punto indicador con animación radar */
.status-dot-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-open {
    background-color: #10b981;
}

.status-dot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #10b981;
    opacity: 0.75;
    animation: radar-pulse 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.dot-closed {
    background-color: #ef4444;
}

@keyframes radar-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    70% {
        transform: scale(2.4);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

/* ==========================================================================
   VISTA DE DETALLE DE NOTICIA / ARTÍCULO COMPLETO
   ========================================================================== */
.noticia-article-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 40px 20px 60px 20px;
}

.noticia-meta-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.noticia-categoria-tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
}

.noticia-title-single {
    font-size: 2.2rem;
    color: var(--primary-dark);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
}

.noticia-hero-image-wrapper {
    width: 100%;
    max-height: 420px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.noticia-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.noticia-body-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 40px;
}

.noticia-body-content p {
    margin-bottom: 20px;
}

.noticia-share-bar {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-share-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-share-social:hover { opacity: 0.9; }
.share-ws { background: #25d366; }
.share-fb { background: #1877f2; }