/* assets/css/haberler-arsiv.css - Tüm Haberler & Blog Listeleme Sayfası */

/* --- HERO SECTION --- */
.news-hero-section {
    background: linear-gradient(135deg, #1f061b 0%, #782b90 55%, #3d0a36 100%);
    padding: 130px 5% 65px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.news-hero-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.news-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.news-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.news-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.news-hero-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.news-hero-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    font-family: "Inter", sans-serif;
}

.news-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    line-height: 1.6;
    margin: 0;
}

.news-stat-chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.news-stat-chip {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

.news-stat-chip i {
    color: #fbcfe8;
    font-size: 1.1rem;
}

/* --- FILTER & SEARCH SECTION --- */
.news-filter-section {
    background: #f8fafc;
    padding: 35px 5% 25px;
    border-bottom: 1px solid #e2e8f0;
}

.news-filter-container {
    max-width: 1300px;
    margin: 0 auto;
}

.news-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.news-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-pill-btn {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.news-pill-btn:hover {
    border-color: #782b90;
    color: #782b90;
    background: #fdf2f8;
    transform: translateY(-2px);
}

.news-pill-btn.active {
    background: linear-gradient(135deg, #782b90 0%, #9B2C8C 100%);
    border-color: #782b90;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(120, 43, 144, 0.3);
}

.news-pill-count {
    background: rgba(0, 0, 0, 0.08);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}
.news-pill-btn.active .news-pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.news-search-wrapper {
    position: relative;
    min-width: 300px;
}

.news-search-input {
    width: 100%;
    padding: 11px 18px 11px 44px;
    border-radius: 30px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.9rem;
    background: #ffffff;
    transition: all 0.25s ease;
    outline: none;
    box-sizing: border-box;
}

.news-search-input:focus {
    border-color: #782b90;
    box-shadow: 0 0 0 4px rgba(120, 43, 144, 0.12);
}

.news-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

/* --- BLOG ARCHIVE GRID --- */
.news-archive-section {
    padding: 50px 5% 80px;
    background: #ffffff;
}

.news-archive-container {
    max-width: 1300px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}

.news-card-item {
    background: #ffffff;
    border: 1.5px solid #eef2f6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.news-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(120, 43, 144, 0.12);
    border-color: #fbcfe8;
}

.news-card-img-box {
    position: relative;
    width: 100%;
    height: 230px;
    background: #f1f5f9;
    overflow: hidden;
}

.news-card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card-item:hover .news-card-img-box img {
    transform: scale(1.08);
}

.news-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(120, 43, 144, 0.9);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    z-index: 2;
}

.news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.82rem;
    color: #782b90;
    font-weight: 600;
    margin-bottom: 12px;
}

.news-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-card-title {
    font-family: "Inter", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color 0.25s ease;
}

.news-card-item:hover .news-card-title {
    color: #782b90;
}

.news-card-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 700;
    color: #782b90;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s ease;
}

.news-card-item:hover .news-read-more {
    gap: 10px;
}

/* --- EMPTY STATE --- */
.news-empty-state {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
    background: #f8fafc;
    border-radius: 20px;
    border: 2px dashed #e2e8f0;
}
.news-empty-state i {
    font-size: 3.5rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

/* --- CTA BANNER --- */
.news-cta-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 45px 40px;
    margin-top: 55px;
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.15);
    position: relative;
    overflow: hidden;
}
.news-cta-banner::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(120, 43, 144, 0.45) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}
.news-cta-btn {
    background: linear-gradient(135deg, #782b90 0%, #9B2C8C 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(120, 43, 144, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}
.news-cta-btn:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(120, 43, 144, 0.5);
}

/* --- SAYFALAMA (PAGINATION) --- */
.custom-pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 50px 0 30px;
    flex-wrap: wrap;
    user-select: none;
}

.pagination-btn {
    height: 48px;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    font-family: "Inter", sans-serif;
    box-sizing: border-box;
    text-decoration: none;
}

.pagination-num-btn,
.pagination-icon-btn {
    width: 48px;
    min-width: 48px;
    padding: 0;
}

.pagination-text-btn {
    padding: 0 22px;
    gap: 10px;
}

.pagination-text-btn span {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.pagination-btn:hover:not(.active) {
    border-color: #7e248b;
    color: #7e248b;
    background: #faf5ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(126, 36, 139, 0.12);
}

.pagination-btn.active {
    background: #7e248b;
    color: #ffffff;
    border-color: #7e248b;
    font-weight: 700;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(126, 36, 139, 0.32);
}

.pagination-ellipsis {
    min-width: 32px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .news-hero-section {
        padding: 100px 5% 45px;
    }
    .news-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .news-search-wrapper {
        min-width: 100%;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .custom-pagination-container {
        gap: 6px;
        margin: 35px 0 15px;
    }
    .pagination-btn {
        height: 42px;
        border-radius: 12px;
        font-size: 0.9rem;
    }
    .pagination-num-btn,
    .pagination-icon-btn {
        width: 42px;
        min-width: 42px;
    }
    .pagination-text-btn {
        padding: 0 14px;
        gap: 6px;
    }
    .pagination-ellipsis {
        min-width: 24px;
        height: 42px;
    }
    .news-cta-banner {
        padding: 30px 24px;
        flex-direction: column;
        align-items: flex-start;
    }
}
