﻿/* Haber tablosu düzeltmeleri - Eski tablo tasarımını geri getirme */
.news-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 8px 8px;
    margin-bottom: 20px;
    display: table !important;
}

.news-table tr {
    display: table-row !important;
    background: transparent;
}

.news-table td {
    display: table-cell !important;
    vertical-align: top;
    border: none;
    padding: 0;
}

/* Masaüstünde 3 sütun */
@media (min-width: 992px) {
    .news-table td {
        width: 33.33% !important;
    }
}

/* Tabletlerde 2 sütun */
@media (max-width: 991px) and (min-width: 576px) {
    .news-table td {
        width: 50% !important;
    }
    .news-table tr td:nth-child(3) {
        display: none !important;
    }
}

/* Mobilde tek sütun */
@media (max-width: 575px) {
    .news-table td {
        width: 100% !important;
        display: block !important;
        margin-bottom: 10px !important;
    }
}

/* Resim boyutlarını düzeltme */
.update-card-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.update-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 160px;
}

@media (max-width: 575px) {
    .update-card-image {
        height: 140px;
    }
    .update-card-image img {
        max-height: 140px;
    }
}

/* Kartların içeriğe göre uzayabilmesi için */
.news-table .update-card {
    height: auto;
}

.news-table .update-card-content {
    flex: initial;
}
