/*
 * News Page Styles
 */

.news-page-section {
    padding: 140px 0 80px;
    min-height: 80vh;
}

.news-page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.news-page-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark, #0f172a);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.news-page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light, #64748b);
    max-width: 600px;
    margin: 0 auto;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-light, #cbd5e1);
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--text-dark, #0f172a);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-light, #64748b);
    font-size: 1rem;
}

.news-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card-page {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card-page:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.news-image-page {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.news-image-page img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-page:hover .news-image-page img {
    transform: scale(1.05);
}

.news-date-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-color, #4F46E5);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.news-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.news-month {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 2px;
}

.news-content-page {
    padding: 1.5rem;
}

.news-title-page {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark, #0f172a);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-title-page a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-title-page a:hover {
    color: var(--primary-color, #4F46E5);
}

.news-excerpt-page {
    color: var(--text-light, #64748b);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta-page {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.news-date-page {
    color: var(--text-light, #64748b);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-date-page i {
    font-size: 0.875rem;
}

.news-read-more {
    color: var(--primary-color, #4F46E5);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
}

.news-read-more:hover {
    gap: 0.75rem;
}

.news-read-more i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.news-read-more:hover i {
    transform: translateX(2px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-link {
    padding: 0.75rem 1.25rem;
    background: #fff;
    color: var(--text-dark, #0f172a);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-link:hover {
    background: var(--primary-color, #4F46E5);
    color: #fff;
    border-color: var(--primary-color, #4F46E5);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-number {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--text-dark, #0f172a);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination-number:hover {
    background: var(--primary-color, #4F46E5);
    color: #fff;
    border-color: var(--primary-color, #4F46E5);
}

.pagination-number.active {
    background: var(--primary-color, #4F46E5);
    color: #fff;
    border-color: var(--primary-color, #4F46E5);
}

.pagination-dots {
    color: var(--text-light, #64748b);
    padding: 0 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .news-page-section {
        padding: 120px 0 60px;
    }
    
    .news-page-title {
        font-size: 2rem;
    }
    
    .news-page-subtitle {
        font-size: 1rem;
    }
    
    .news-grid-page {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-image-page {
        height: 200px;
    }
    
    .pagination {
        gap: 0.25rem;
    }
    
    .pagination-link {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .pagination-number {
        min-width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .news-page-header {
        margin-bottom: 2rem;
    }
    
    .news-meta-page {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .pagination-numbers {
        flex-wrap: wrap;
    }
}

