/* Son Haberler - 4'lü Grid Kartlar */
.latest-news-grid-section {
    margin: 50px 0;
}

.latest-news-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.latest-news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e0e0e0;
}

.latest-news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #000;
}

.latest-news-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.latest-news-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}

.latest-news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.latest-news-card:hover .latest-news-card-image img {
    transform: scale(1.05);
}

.latest-news-card-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: #f0f0f0;
}

.latest-news-card-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.latest-news-card-content h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.latest-news-card:hover .latest-news-card-content h3 {
    color: #000;
}

.latest-news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    font-size: 12px;
}

.latest-news-card-time {
    color: #999;
}

.latest-news-card-category {
    color: #666;
    font-weight: 500;
    padding: 2px 8px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 11px;
}

/* Responsive */
@media (max-width: 1200px) {
    .latest-news-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .latest-news-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .latest-news-card-image {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .latest-news-grid-4 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .latest-news-card-image {
        height: 200px;
    }
    
    .latest-news-card-content h3 {
        font-size: 16px;
    }
}

