/* News Hero */
.news-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #4a6572 100%);
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
    padding-bottom: 8rem; /* Extra space for wave */
}

.news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 1200" opacity="0.03"><path d="M0 0h1200v1200H0z" fill="none"/><circle cx="200" cy="200" r="100" fill="%23fff"/><circle cx="1000" cy="400" r="150" fill="%23fff"/><circle cx="400" cy="800" r="120" fill="%23fff"/></svg>');
    background-size: 600px;
}

.news-wave {
    height: 120px;
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8);
}

/* News Cards */
.news-card {
    transition: all 0.3s ease;
    border-radius: 16px !important;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.news-card .card-body {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Category List */
.list-group-item {
    border: none;
    border-radius: 0 !important;
    transition: all 0.2s;
}

.list-group-item.active {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    border-color: transparent;
    color: white;
}

.list-group-item:not(.active):hover {
    background-color: #f8f9fa;
    padding-left: 1.5rem;
}

/* Utility Classes */
.bg-light-subtle {
    background-color: #f8f9fa;
}

.bg-gradient-primary-subtle {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination */
.pagination .page-link {
    border: none;
    color: #6c757d;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin: 0 2px;
    transition: all 0.2s;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    color: #3498db;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    border: none;
}

/* Responsive */
@media (max-width: 992px) {
    .news-card .row {
        flex-direction: column;
    }
    
    .news-card .col-md-5 {
        height: 250px;
    }
    
    .news-card img {
        border-radius: 16px 16px 0 0 !important;
    }
    
    .sticky-top {
        position: static !important;
    }
}

@media (max-width: 768px) {
    .news-hero {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}