/* News Page Specific Styles */

/* Hero Section */
.news-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(0,0,0,0.2), rgba(0,0,0,0.08)), url('/assets/images/news-hero2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid rgba(184, 134, 11, 0.1);
    color: white;
}

.news-hero h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.news-hero p {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* News List Section */
.news-list {
    padding: 4rem 0;
    background: #fff;
}

.news-items {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

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

.news-item:hover {
    background: rgba(248, 249, 250, 0.5);
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 8px;
    margin: 0 -1rem;
}

.news-date {
    display: inline-block;
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.news-title {
    margin-bottom: 1rem;
}

.news-title a {
    color: #333;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.news-title a:hover {
    color: #007bff;
    text-decoration: none;
}

.news-title a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.news-title a:hover::after {
    width: 100%;
}

.news-title a::before {
    content: '📰';
    margin-right: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.news-item:hover .news-title a::before {
    opacity: 1;
    transform: translateX(0);
}

.news-excerpt {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Empty State */
.news-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #888;
}

.news-empty h3 {
    color: #B8860B;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.news-empty p {
    font-size: 1.1rem;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .news-hero {
        height: 70vh;
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .news-hero h1 {
        font-size: 2.5rem;
    }
    
    .news-hero p {
        font-size: 1.1rem;
    }
    
    .news-list {
        padding: 3rem 0;
    }
    
    .news-item {
        padding: 1.5rem 0;
    }
    
    .news-item:hover {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }
    
    .news-title a {
        font-size: 1.2rem;
    }
    
    .news-excerpt {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .news-hero h1 {
        font-size: 2rem;
    }
    
    .news-hero p {
        font-size: 1rem;
    }
    
    .news-item {
        padding: 1rem 0;
    }
    
    .news-title a {
        font-size: 1.1rem;
    }
    
    .news-date {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }

    /* News Detail Mobile */
    .news-detail {
        padding: 2rem 0;
    }

    .news-detail-content {
        margin: 0 1rem;
        border-radius: 8px;
    }

    .breadcrumb {
        padding: 1rem 1.5rem 0;
        font-size: 0.8rem;
    }

    .news-article {
        padding: 1rem 1.5rem 1.5rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-text p {
        font-size: 1rem;
    }

    .back-to-news {
        padding: 1rem 1.5rem;
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure Sticky Navigation Consistency */
body .sticky-nav .sticky-nav-links a {
    font-weight: 700 !important;
    color: #4b4b4b !important;
    font-size: 0.9rem !important;
    font-family: inherit !important;
}

body .sticky-nav .sticky-nav-links a:hover {
    color: #B8860B !important;
    font-weight: 700 !important;
}

body .sticky-nav .sticky-nav-links a.active {
    color: #B8860B !important;
    font-weight: 800 !important;
}

/* News Detail Page */
.news-detail {
    padding: 3rem 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.news-detail-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1.5rem 2rem 0;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #ccc;
}

.breadcrumb-current {
    color: #333;
}

/* Article */
.news-article {
    padding: 1.5rem 2rem 2rem;
}

.article-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.article-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-date {
    color: #888;
    font-size: 0.95rem;
    font-weight: 500;
}

.article-content {
    line-height: 1.8;
}

.article-image {
    margin-bottom: 2rem;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.article-text p {
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 1.1rem;
}

.article-text p:last-child {
    margin-bottom: 0;
}

/* Back to News */
.back-to-news {
    padding: 1.5rem 2rem;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.back-btn {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-btn:hover {
    color: #0056b3;
    text-decoration: underline;
}
