
/* ===== NEWS PAGES REDESIGN ===== */

/* News Hero Section */
.news-hero {
    background: linear-gradient(135deg, #0C4B33 0%, #28a745 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.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 100 100"><defs><pattern id="news-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23news-pattern)"/></svg>');
    opacity: 0.3;
}

.news-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.news-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.news-hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* News Content Layout */
.news-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-section {
    margin: 80px 0;
}

.news-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.news-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0C4B33, #28a745);
    border-radius: 2px;
}

/* News Categories Grid */
.news-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.news-category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.news-category-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.news-category-content {
    padding: 25px;
}

.news-category-title {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.news-category-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* News Articles Grid */
.news-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.news-article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.news-article-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.news-article-card:hover .news-article-image img {
    transform: scale(1.05);
}

.news-article-content {
    padding: 25px;
}

.news-article-title {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.news-article-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.news-date {
    color: #0C4B33;
    font-weight: 600;
    font-size: 0.9rem;
}

.news-read-more {
    color: #0C4B33;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #0C4B33;
}

/* News Article Detail Page */
.news-breadcrumb {
    background: white;
    border-radius: 15px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.breadcrumb-link {
    color: #0C4B33;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #28a745;
}

.breadcrumb-separator {
    color: #ccc;
    margin: 0 5px;
}

.breadcrumb-current {
    color: #666;
    font-weight: 600;
}

.news-article-main {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.news-article-header {
    text-align: center;
    margin-bottom: 30px;
}

.news-article-header .news-article-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.news-article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.news-article-meta .news-date,
.news-article-meta .news-category {
    color: #0C4B33;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(68, 183, 139, 0.1);
    border-radius: 20px;
}

.news-main-image {
    text-align: center;
    margin-bottom: 30px;
}

.news-main-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news-article-body {
    margin-bottom: 40px;
}

.news-description {
    color: #333;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* News Gallery */
.news-gallery {
    margin-top: 40px;
}

.news-gallery-title {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.news-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.news-gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.news-gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.news-gallery-item:hover img {
    transform: scale(1.1);
}

/* News CTA Section */
.news-related-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
    padding: 60px 40px;
    border-radius: 20px;
    margin-top: 60px;
}

.news-related-cta h3 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 15px;
}

.news-related-cta p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.news-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.news-cta-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.news-cta-btn.primary {
    background: linear-gradient(135deg, #0C4B33, #28a745);
    color: white;
}

.news-cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(68, 183, 139, 0.4);
}

.news-cta-btn.secondary {
    background: transparent;
    color: #0C4B33;
    border-color: #0C4B33;
}

.news-cta-btn.secondary:hover {
    background: #0C4B33;
    color: white;
    transform: translateY(-2px);
}

/* News Pagination */
.news-pagination {
    margin-top: 50px;
}

.pagination {
    text-align: center;
}

.step-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.pagination-btn {
    color: #0C4B33;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    border: 2px solid #0C4B33;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination-btn:hover {
    background: #0C4B33;
    color: white;
    transform: translateY(-2px);
}

.page-number {
    background: #0C4B33;
    color: white;
    border-color: #0C4B33;
}

.current-page {
    background: #0C4B33;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    min-width: 40px;
    display: inline-block;
}

/* Empty State */
.news-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news-empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.news-empty-state h3 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.news-empty-state p {
    color: #666;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-hero h1 {
        font-size: 2.5rem;
    }
    
    .news-hero p {
        font-size: 1.1rem;
    }
    
    .news-categories-grid,
    .news-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .news-section h2 {
        font-size: 2rem;
    }
    
    .news-article-main {
        padding: 25px;
    }
    
    .news-article-header .news-article-title {
        font-size: 2rem;
    }
    
    .news-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .news-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .step-links {
        flex-direction: column;
        gap: 10px;
    }
}