/* NEWS PAGE STYLES */

.news-page {
    min-height: 100vh;
    background: #f8f9fa;
}

.news-page .filters-section {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.news-page .search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.news-page .search-box::before {
    content: '🔍';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    pointer-events: none;
}

.news-page .search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.news-page .search-input:focus {
    border-color: #005EB4;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 94, 180, 0.1);
}

.news-page .category-filter {
    min-width: 200px;
}

.news-page .filter-select {
    width: 100%;
    padding: 15px 45px 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.news-page .filter-select:focus {
    border-color: #005EB4;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(0, 94, 180, 0.1);
}

.news-page .featured-news {
    margin-bottom: 50px;
}

.news-page .featured-news {
    margin-bottom: 60px;
}

.news-page .featured-news h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.news-page .featured-news h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #005EB4, #003d7a);
    border-radius: 2px;
}

.news-page .featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.news-page .featured-article {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
}

.news-page .featured-article:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: #e0e7ff;
}

.news-page .featured-article .article-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #005EB4 0%, #003d7a 100%);
}

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

.news-page .featured-article:hover .article-image img {
    transform: scale(1.1);
}

.news-page .featured-article .article-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.news-page .featured-article .article-image-overlay .article-category {
    background: rgba(255,255,255,0.95);
    color: #005EB4;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.news-page .featured-article .article-image-overlay .article-date {
    color: rgba(255,255,255,0.95);
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.news-page .featured-article .article-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-page .featured-article .article-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-page .featured-article:hover .article-title {
    color: #005EB4;
}

.news-page .featured-article .article-excerpt {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
    flex: 1;
}

.news-page .featured-article .article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.news-page .featured-article .article-stats {
    display: flex;
    gap: 18px;
    font-size: 0.9rem;
    color: #64748b;
}

.news-page .regular-news {
    margin-top: 60px;
}

.news-page .regular-news h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.news-page .regular-news h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #005EB4, #003d7a);
    border-radius: 2px;
}

.news-page .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.news-page .news-article {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.news-page .news-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #e0e7ff;
}

.news-page .news-article .article-header {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.news-page .news-article .article-image-small {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #005EB4 0%, #003d7a 100%);
}

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

.news-page .news-article:hover .article-image-small img {
    transform: scale(1.08);
}

.news-page .news-article .article-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.news-page .news-article .article-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.news-page .news-article .article-category {
    background: rgba(255,255,255,0.95);
    color: #005EB4;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    width: fit-content;
    backdrop-filter: blur(10px);
}

.news-page .news-article .article-date {
    color: rgba(255,255,255,0.95);
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.news-page .news-article .article-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-page .news-article .article-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-page .news-article:hover .article-title {
    color: #005EB4;
}

.news-page .news-article .article-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex: 1;
}

.news-page .news-article .article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px 25px;
    margin-top: auto;
}

.news-page .news-article .article-stats {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: #64748b;
}

.article-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, #005EB4 0%, #003d7a 100%);
    color: rgba(255,255,255,0.3);
}

.article-image-placeholder-small {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, #005EB4 0%, #003d7a 100%);
    color: rgba(255,255,255,0.3);
}

.news-page .btn-primary,
.news-page .btn-outline {
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.news-page .btn-primary {
    background: linear-gradient(135deg, #005EB4 0%, #003d7a 100%);
    color: white;
    border: none;
}

.news-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 94, 180, 0.3);
}

.news-page .btn-outline {
    background: transparent;
    color: #005EB4;
    border: 2px solid #005EB4;
}

.news-page .btn-outline:hover {
    background: #005EB4;
    color: white;
    transform: translateY(-2px);
}

.news-page .btn-small {
    padding: 8px 20px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .news-hero-section {
        padding: 60px 0 50px;
    }
    
    .news-hero-title {
        font-size: 2.2rem;
    }
    
    .news-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .news-content-section {
        padding: 40px 0;
    }
    
    .news-page .filters-section {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    
    .news-page .search-box,
    .news-page .category-filter {
        min-width: 100%;
    }
    
    .news-page .featured-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .news-page .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-page .featured-article .article-image {
        height: 220px;
    }
    
    .news-page .featured-article .article-content {
        padding: 20px;
    }
    
    .news-page .featured-article .article-title {
        font-size: 1.3rem;
    }
    
    .news-page .featured-article .article-image-overlay {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-page .news-article .article-image-small {
        height: 180px;
    }
    
    .news-page .news-article .article-content {
        padding: 20px;
    }
    
    .news-page .news-article .article-title {
        font-size: 1.15rem;
    }
    
    .news-page .featured-article .article-footer,
    .news-page .news-article .article-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .news-page .featured-article .article-stats,
    .news-page .news-article .article-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .news-page .featured-news h2,
    .news-page .regular-news h2 {
        font-size: 1.8rem;
    }
}

