/* Haberler Page specific CSS */

.news-featured-slider {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    position: relative;
    height: 500px;
}

.news-featured-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: transform 1.5s ease;
}

.news-featured-slider:hover img {
    transform: scale(1.05);
}

.news-featured-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0) 100%);
    padding: 60px 50px;
    color: #fff;
}

.news-category-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Filter Tabs */
.filter-tab-btn {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.08);
    color: #475569;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-tab-btn:hover {
    background-color: #f1f5f9;
    color: #0f172a;
    border-color: rgba(0,0,0,0.15);
}

.filter-tab-btn.active {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

/* News Cards */
.custom-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -20px rgba(15, 23, 42, 0.15);
}

.custom-card .img-cover {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-card:hover .img-cover {
    transform: scale(1.1);
}

.custom-card h5 a {
    transition: color 0.2s ease;
}

.custom-card:hover h5 a {
    color: #c91b3f !important;
}

.categories-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    font-size: 1.25rem;
    font-weight: 800;
    text-align: left;
}

.categories-toggle i {
    color: #64748b;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.categories-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.categories-list {
    padding-top: 1rem;
}

@media (min-width: 992px) {
    .categories-toggle {
        pointer-events: none;
    }

    .categories-toggle i {
        display: none;
    }

    .categories-collapse {
        display: block !important;
    }
}

@media (max-width: 991.98px) {
    .categories-card {
        padding: 1.25rem !important;
    }

    .categories-toggle {
        font-size: 1.1rem;
    }

    .categories-list .btn {
        width: 100%;
    }
}
