/* ---------------------------------------------------------
   Cyber Intelligence
   --------------------------------------------------------- */

.cyber-intelligence-section {
    padding: 100px 0;
}

.cyber-intelligence-heading {
    margin-bottom: 45px;
}

.live-news-panel {
    background:
        linear-gradient(145deg,
            rgba(165, 255, 238, 0.075),
            rgba(255, 255, 255, 0.018));
    border: 1px solid rgba(165, 255, 238, 0.25);
    border-radius: 8px;
    overflow: hidden;
}

.live-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(165, 255, 238, 0.12);
    background-color: rgba(0, 0, 0, 0.2);
}

.live-news-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-indicator {
    width: 9px;
    height: 9px;
    display: inline-block;
    flex: 0 0 9px;
    border-radius: 50%;
    background-color: #ff4d4d;

    box-shadow:
        0 0 8px rgba(255, 77, 77, 0.65);

    animation:
        live-breathe 2.2s ease-in-out infinite;
}

@keyframes live-breathe {

    0%,
    100% {
        opacity: 0.45;

        box-shadow:
            0 0 4px rgba(255, 77, 77, 0.35);
    }

    50% {
        opacity: 1;

        box-shadow:
            0 0 12px rgba(255, 77, 77, 0.85);
    }

}

.live-news-status,
.live-news-updated {
    color: #777;
    font-size: 12px;
}

.live-news-status {
    margin-top: 6px;
}

/* ---------------------------------------------------------
   Live News Items
   --------------------------------------------------------- */

.cyber-news-item {
    display: block;
    padding: 25px 30px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    color: inherit;
    text-decoration: none;

    transition:
        background-color 0.25s ease;
}

.cyber-news-item:last-child {
    border-bottom: none;
}

.cyber-news-item:hover {
    background-color:
        rgba(165, 255, 238, 0.035);
}

.cyber-news-item h3 {
    margin-bottom: 8px;
    color: white;
    font-size: 21px;
    line-height: 1.3;

    transition:
        color 0.2s ease;
}

.cyber-news-item:hover h3 {
    color: #A5FFEE;
}

.cyber-news-item p {
    margin-bottom: 0;
    color: #aaa;
    font-size: 15px;
    line-height: 1.6;
}

.cyber-news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;

    color: #777;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.cyber-news-category {
    color: #A5FFEE;
}

.cyber-news-loading {
    opacity: 0.65;
    transition: opacity 0.25s ease;
}


/* ---------------------------------------------------------
   News Expand Button
   --------------------------------------------------------- */

.news-expand-button {
    padding: 0;

    background: transparent;
    border: none;

    color: #A5FFEE;

    font-size: 12px;
    font-weight: bold;

    white-space: nowrap;

    cursor: pointer;

    transition:
        color 0.25s ease,
        transform 0.2s ease;
}

.news-expand-button:hover {
    color: white;
}

.news-expand-button:focus-visible {
    outline: 2px solid #A5FFEE;
    outline-offset: 4px;
}

.cyber-news-item.news-hidden {
    display: none;
}

.cyber-news-list.news-expanded .cyber-news-item.news-hidden {
    display: block;
}


/* ---------------------------------------------------------
   Live News Footer
   --------------------------------------------------------- */

.live-news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 20px 30px;

    border-top:
        1px solid rgba(165, 255, 238, 0.12);

    color: #777;
    font-size: 12px;
}

/* ---------------------------------------------------------
   Responsive Live News
   --------------------------------------------------------- */

@media screen and (max-width: 500px) {

    .live-news-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .cyber-news-item {
        padding: 22px;
    }

    .live-news-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 22px;
    }

}


/* ---------------------------------------------------------
   Accessibility
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .live-indicator {
        animation: none;
        opacity: 0.8;
    }

}
