.news-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #fff 100%);
}

.news-preview {
    max-width: 1140px;
    margin: 0 auto;
}

.news-preview-content {
    position: relative;
    margin: 1rem 0;
}

.news-grid {
    position: relative;
    min-height: 200px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    height: 100%;
    transition: max-height 0.3s ease-in-out;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.news-card .card-body {
    padding: 1.8rem;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: #6c757d;
}

.news-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #e9ecef;
    color: #495057;
    margin-right: 1rem;
}

.news-badge.trade { background: #e3f2fd; color: #1976d2; }
.news-badge.policy { background: #e8f5e9; color: #2e7d32; }
.news-badge.events { background: #fff3e0; color: #f57c00; }

.news-date {
    font-size: 14px;
    color: #6c757d;
}

.news-title {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 12px;
    color: #212529;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a {
    color: #212529;
    text-decoration: none;
}

.news-title a:hover {
    color: #007bff;
}

.news-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

.news-excerpt.show {
    display: block;
}

.fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.news-full-content {
    display: none;
}

.news-full-content.show {
    display: block;
}

.news-actions {
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.toggle-content {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.toggle-content:hover {
    color: #0056b3;
    text-decoration: none;
}

.news-link {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.news-link:hover {
    text-decoration: none;
}

.news-link i {
    transition: transform 0.2s ease;
    margin-left: 0.5rem;
}

.news-link:hover i {
    transform: translateX(3px);
}

.loading-spinner {
    padding: 3rem 0;
    text-align: center;
}

.loading-spinner .spinner-text {
    margin-top: 1rem;
    color: #6c757d;
}

.loading-state {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.error-state {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.error-state .icon {
    font-size: 48px;
    color: #dc3545;
    margin-bottom: 16px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #007bff;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.view-all-link:hover {
    gap: 12px;
    color: #0056b3;
}

.news-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.news-content figure {
    margin: 1rem 0;
}

.news-content table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
}

.news-content table td,
.news-content table th {
    padding: 0.5rem;
    border: 1px solid #dee2e6;
}

@media (max-width: 768px) {
    .news-section {
        padding: 40px 0;
    }
    
    .news-card {
        margin-bottom: 1rem;
    }
    
    .news-title {
        font-size: 16px;
    }
    
    .news-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .news-actions .btn {
        width: 100%;
        margin: 0 !important;
    }
}
