/* Genel grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

/* Kart */
.news-grid .card {
    border: none;
    border-radius: 1rem;
    background: #1e1f25;
    /* koyu gri */
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-grid .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Kart resmi */
.news-grid .thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 3px solid #ff9800;
    /* accent */
    transition: opacity 0.25s;
}

.news-grid .card:hover .thumb {
    opacity: 0.9;
}

/* Kart içerik */
.news-grid .body {
    padding: 1rem 1.25rem;
    color: #ddd;
}

.news-grid .title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.3;
}

.news-grid .title:hover {
    color: #ff9800;
}

.news-grid .excerpt {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* Tarih kısmı */
.news-grid .news-date {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-grid .news-date svg {
    width: 14px;
    height: 14px;
    color: #ff9800;
}

/* Arama kutusu */
.news-search {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.news-search input[type="text"] {
    flex: 1;
    border: none;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    background: #2a2c34;
    color: #fff;
}

.news-search input::placeholder {
    color: #888;
}

.news-search button,
.news-search .clear {
    padding: 0.65rem 1.2rem;
    border-radius: 0.5rem;
    border: none;
    background: #ff9800;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.news-search .clear {
    background: #6c757d;
}

.news-search button:hover {
    background: #e68900;
}

/* Pagination */
.pagination-wrap {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.pagination .page-link {
    background: #2a2c34;
    color: #ddd;
    border: none;
    margin: 0 2px;
}

.pagination .page-item.active .page-link {
    background: #ff9800;
    color: #fff;
}