/* =========================================
   News Page Styles
   ========================================= */

.news-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

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

.news-header h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    margin: 10px 0 20px;
}

.news-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured News */
.featured-news {
    margin-bottom: 60px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.featured-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.featured-image {
    position: relative;
    min-height: 300px;
    background: #000;
    overflow: hidden;
}

.news-visual-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.15) 0%, #050508 80%);
}

.news-visual-placeholder.main i {
    font-size: 5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
}

.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.news-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid rgba(0, 240, 255, 0.2);
    font-size: 0.85rem;
    line-height: 1;
}

.news-tag.secondary {
    background: rgba(157, 70, 255, 0.1);
    color: var(--secondary);
    border-color: rgba(157, 70, 255, 0.2);
}

.news-tag.accent {
    background: rgba(255, 46, 99, 0.1);
    color: var(--accent);
    border-color: rgba(255, 46, 99, 0.2);
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    line-height: 1;
}

.news-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.news-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.featured-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--text-main);
}

.featured-content p {
    color: var(--text-body);
    margin-bottom: 30px;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.read-more-btn:hover {
    gap: 15px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.news-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.news-card-image {
    height: 200px;
    background: #000;
    position: relative;
}

.news-card-image .news-visual-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

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

.news-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-main);
    line-height: 1.4;
}

.news-card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}

.read-more-link {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    width: fit-content;
}

.read-more-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.news-card:hover .read-more-link::after {
    width: 100%;
}

.news-card:hover .read-more-link {
    color: var(--primary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-btn:hover, .page-btn.active {
    background: var(--primary);
    color: #000;
    font-weight: 700;
}

.page-dots {
    color: var(--text-secondary);
    padding: 0 10px;
}

/* Responsive */
@media (max-width: 900px) {
    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 200px;
    }

    .news-header h1 {
        font-size: 2.5rem;
    }
}

/* Mobile Devices (max 768px) */
@media (max-width: 768px) {
    .news-page {
        padding-top: 20px;
        padding-bottom: 60px;
    }

    .news-header {
        margin-bottom: 40px;
    }

    .news-header h1 {
        font-size: 2rem;
    }

    .news-header p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .featured-news {
        margin-bottom: 40px;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 250px;
    }

    .featured-content {
        padding: 24px;
    }

    .featured-content h2 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .news-meta {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 16px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .news-card {
        padding: 20px;
    }

    .news-card h3 {
        font-size: 1.25rem;
    }

    .filter-bar {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .filter-pills {
        flex-wrap: wrap;
        gap: 8px;
    }

    .filter-pill {
        font-size: 0.85rem;
        padding: 6px 14px;
    }

    .search-box {
        width: 100%;
    }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
    .news-header h1 {
        font-size: 1.75rem;
    }

    .featured-image {
        min-height: 200px;
    }

    .featured-content {
        padding: 20px;
    }

    .featured-content h2 {
        font-size: 1.35rem;
    }

    .news-card {
        padding: 16px;
    }

    .news-card h3 {
        font-size: 1.15rem;
    }

    .filter-pill {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}
