/* News Panel Component */
.news-panel {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
    margin: 0 auto 24px;
    max-width: 1240px;
    border-top: 4px solid #f59e0b;
}

.news-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.news-header i {
    font-size: 1.2rem;
    color: #f59e0b;
}

.news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 992px) {
    .news-list {
        grid-template-columns: 1fr 1fr;
    }
}

.news-item {
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.news-item:hover {
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-source {
    font-size: 0.7rem;
    font-weight: 500;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-meta {
    font-size: 0.7rem;
    color: #64748b;
}

.news-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #cbd5e1;
    line-height: 1.4;
    margin-top: 6px;
}

.news-item:hover .news-title {
    color: #fff;
}

.news-empty {
    text-align: center;
    padding: 24px;
    color: #64748b;
    font-size: 0.9rem;
    font-style: italic;
    grid-column: 1 / -1;
}

/* Skeleton Loading */
.news-skeleton {
    height: 72px;
    background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.02) 75%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 10px;
    margin-bottom: 0px;
}

@keyframes skeleton-loading {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* ── Deep Analysis & FAQ Panel (Insight Engine) ── */
.insight-panel {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(20, 30, 55, 0.9));
    border: 1px solid rgba(74, 144, 226, 0.15);
    border-radius: 16px;
    padding: 32px;
    margin-top: 24px;
    backdrop-filter: blur(12px);
}
.insight-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.insight-header i { font-size: 1.4rem; color: #f59e0b; }
.insight-header h2 { font-size: 1.2rem; font-weight: 700; color: #e2e8f0; margin: 0; }



.insight-faq-section h3, .insight-deep-section h3 {
    font-size: 1rem; font-weight: 600; color: #cbd5e1;
    margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.insight-faq-section h3 i { color: #22c55e; }
.insight-deep-section h3 i { color: #8b5cf6; }

.insight-faq-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.insight-faq-item[open] { border-color: rgba(74, 144, 226, 0.3); }
.insight-faq-item summary {
    padding: 14px 18px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.insight-faq-item summary::after { content: '+'; color: #4a90e2; font-size: 1.2rem; transition: transform 0.3s; }
.insight-faq-item[open] summary::after { content: '−'; }
.insight-faq-answer {
    padding: 0 18px 16px;
    font-size: 0.85rem;
    line-height: 1.75;
    color: #a0aec0;
}

.insight-article h4, .insight-article h1 { font-size: 1.1rem; font-weight: 700; color: #e2e8f0; margin-bottom: 16px; margin-top: 0; }
.insight-article p { font-size: 0.85rem; line-height: 1.8; color: #a0aec0; margin-bottom: 12px; }

.insight-deep-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px dashed rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
    .insight-panel { padding: 20px; margin-top: 16px; }
    .insight-header h2 { font-size: 1rem; }
}
