/* Ana Wrapper */
.nyw-wrapper {
    width: 100%;
    position: relative;
    padding: 10px 0;
}

/* KART TASARIMI */
.nyw-item {
    /* DEĞİŞTİ: Bembeyaz (#fff) yerine çok hafif gri (#fcfcfc) */
    background: #fcfcfc; 
    
    border: 1px solid #e0e0e0; /* İnce gri çerçeve */
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    height: auto;
    display: flex;
}

/* Hover durumunda hafifçe parlasın */
.nyw-item:hover {
    border-color: #b71c1c; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    background: #ffffff; /* Üzerine gelince tam beyaz olsun ki öne çıksın */
}

.nyw-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px;
    text-decoration: none !important;
    color: inherit;
}

/* SOL: Profil Resmi */
.nyw-left {
    flex-shrink: 0;
    margin-right: 12px;
}

.nyw-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff; /* Resim etrafına beyaz halka (gri zeminde güzel durur) */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* SAĞ: Bilgiler */
.nyw-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.nyw-author-name {
    font-size: 12px;
    text-transform: uppercase;
    color: #b71c1c;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.nyw-post-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.3;
    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nyw-date {
    font-size: 11px;
    color: #999;
}

/* --- RESPONSIVE AYARLAR --- */

/* MASAÜSTÜ (Grid Görünüm) */
@media (min-width: 768px) {
    .nyw-wrapper.swiper {
        overflow: visible;
    }
    
    .nyw-wrapper .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 4'lü yan yana */
        gap: 15px;
        transform: none !important;
    }

    .nyw-item.swiper-slide {
        width: auto !important;
        margin-right: 0 !important;
    }
}

/* Tablet (2'li Grid) */
@media (min-width: 768px) and (max-width: 1024px) {
    .nyw-wrapper .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}