.gundem-section {
    background-color: var(--main-bg);
    padding: 20px 0 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--title);
    font-weight: 800;
}

/* Grid Yapısı */
.gundem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gundem-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Öne Çıkan Kart Düzenlemesi (Resim Uzamasını Engelleme) */
.gundem-card.featured {
    grid-column: span 2;
    flex-direction: row;
    min-height: 400px;
    max-height: 480px; /* Kartın devasa olmasını bu satır engeller */
}

.gundem-card.featured .card-image {
    flex: 1.1; /* Resim alanı */
    height: 100%;
}

.gundem-card.featured .card-content {
    flex: 0.9; /* Metin alanı */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Resim Alanı ve Sabit Oranlar */
.card-image {
    position: relative;
    overflow: hidden;
    height: 220px; /* Normal kartlar için sabit yükseklik */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmin sünmesini veya yamulmasını engeller */
    transition: transform 0.6s ease;
}

.date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 2;
}

/* İçerik Alanı */
.card-content {
    padding: 25px;
}

.category {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: block;
    margin-bottom: 10px;
}

.card-content h3 {
    font-size: 1.3rem;
    line-height: 1.4;
    color: var(--title);
    margin-bottom: 15px;
    font-weight: 700;
}

.card-content p {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    /* Metin çok uzunsa tasarımı bozmasın diye 4 satırla sınırla */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    text-decoration: none;
    color: var(--title);
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.read-more:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* Hover Efektleri */
.gundem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

/* Mobil Uyum */
@media (max-width: 992px) {
    .gundem-grid {
        grid-template-columns: 1fr;
    }
    .gundem-card.featured {
        grid-column: span 1;
        flex-direction: column;
        max-height: none; /* Mobilde dikey olduğu için sınırlama kalkar */
    }
    .gundem-card.featured .card-image {
        height: 220px;
    }
    .gundem-card.featured .card-content {
        padding: 25px;
    }
}
