/* News Hero Section */
.news-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.news-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* News Card Styling */
.news-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.news-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image-wrapper img {
    transform: scale(1.1);
}

.news-card .stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Pagination */
.pagination {
    gap: 0.5rem;
}

.pagination .page-item .page-link {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    color: #495057;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.pagination .page-item:not(.active) .page-link:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

/* Article Section */
.article-section {
    background: #f8f9fa;
}

.breadcrumb-section {
    border-bottom: 1px solid #dee2e6;
}

.article-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article-header {
    border-bottom: 3px solid #667eea;
    padding-bottom: 1.5rem;
}

.article-title {
    color: #1a202c;
    line-height: 1.3;
}

.article-excerpt {
    color: #718096;
    font-size: 1.125rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.article-featured-image img {
    border-radius: 1rem;
}

.article-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #2d3748;
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a202c;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #2d3748;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin-right: 2rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.75rem;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.article-share {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.share-buttons .btn {
    transition: all 0.2s ease;
}

.share-buttons .btn:hover {
    transform: translateY(-2px);
}

/* Related Articles */
.related-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.related-card .stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* Sidebar Widgets */
.sidebar-widget {
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-2px);
}

.avatar {
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    border-top: 3px solid #667eea;
}

/* Background Gradient Utilities */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-hero-section {
        text-align: center;
    }

    .hero-stats {
        margin-top: 2rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-meta {
        font-size: 0.875rem;
    }

    .share-buttons {
        justify-content: center;
    }

    .share-buttons .btn {
        flex: 1 1 auto;
        font-size: 0.875rem;
    }

    .news-image-wrapper {
        height: 200px;
    }
}

/* Animation on scroll */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}
