/* ========================================
   NOTÍCIAS DO IBDFAM - WIDGET EXTERNO
   ======================================== */

/* ==== SEPARADOR ELEGANTE (Padrão Vídeos/Transparência) ==== */
.ibdfam-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0 2rem 0;
    background: transparent;
    position: relative;
    overflow: visible;
    margin-bottom: 0;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.ibdfam-separator-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6b7280, transparent);
    position: relative;
    margin: 0;
}

.ibdfam-separator-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #6b7280, transparent);
    animation: separatorGlow 3s ease-in-out infinite;
}

.ibdfam-separator-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2rem;
    box-shadow: 0 4px 20px rgba(107, 114, 128, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ibdfam-separator-icon:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.4);
}

.ibdfam-separator-icon i {
    font-size: 24px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Animações do Separador */
@keyframes separatorGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Responsividade do Separador */
@media (max-width: 768px) {
    .ibdfam-separator {
        padding: 1.5rem 0;
    }
    
    .ibdfam-separator-line {
        margin: 0 15px;
    }
    
    .ibdfam-separator-icon {
        width: 50px;
        height: 50px;
        margin: 0 1.5rem;
    }
    
    .ibdfam-separator-icon i {
        font-size: 20px;
    }
}

/* ==== SEÇÃO PRINCIPAL ==== */
#news-ibdfam {
    margin-top: 0;
    padding-top: 2rem;
    position: relative;
    border-top: none;
    background: transparent;
}

/* Remove a linha decorativa ::before da .news-modern-section */
#news-ibdfam.news-modern-section::before {
    display: none !important;
}


.ibdfam-wrapper {
    background: #ffffff;
    border-radius: var(--news-radius-xl, 1.5rem);
    box-shadow: var(--news-shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
    overflow: hidden;
    margin: 0 auto 2rem auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.ibdfam-wrapper:hover {
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.35), 0 10px 30px -5px rgba(0, 0, 0, 0.2);
}

.ibdfam-header {
    background-color: #16324D;
    color: #FFFFFF;
    padding: 18px 20px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ibdfam-header i {
    font-size: 18px;
}

.ibdfam-iframe-container {
    position: relative;
    width: 100%;
}

.ibdfam-iframe-container iframe {
    width: 100% !important;
    border: none !important;
    display: block;
    margin: 0 auto;
    min-height: 450px;
}

.ibdfam-footer {
    background-color: #f8f9fa;
    color: #6c757d;
    padding: 12px 20px;
    font-size: 12px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}