/* ============================================
   BLOG MODERN GRID - Kart Tasarımı
   ============================================ */

.blog-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-modern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .blog-modern-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Blog Kartı */
.blog-modern-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.blog-modern-card:hover {
    box-shadow: 0 8px 25px rgba(61, 97, 141, 0.18);
    border-color: rgba(61, 97, 141, 0.15);
}

.blog-modern-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Resim Alanı */
.blog-modern-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.blog-modern-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-modern-card:hover .blog-modern-image::after {
    opacity: 1;
}

.blog-modern-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Badge'ler */
.blog-modern-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
}

.blog-modern-level {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* İçerik Alanı */
.blog-modern-content {
    padding: 18px;
}

/* Kategori */
.blog-modern-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #3d618d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Başlık */
.blog-modern-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-modern-card:hover .blog-modern-title {
    color: #3d618d;
}

/* Özet */
.blog-modern-excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta Bilgileri */
.blog-modern-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.blog-modern-date,
.blog-modern-read {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #94a3b8;
}

.blog-modern-date i,
.blog-modern-read i {
    font-size: 11px;
}

/* Featured/Öne Çıkan Kart */
.blog-modern-card.featured {
    grid-column: span 2;
}

.blog-modern-card.featured .blog-modern-image {
    height: 250px;
}

.blog-modern-card.featured .blog-modern-title {
    font-size: 20px;
}

@media (max-width: 576px) {
    .blog-modern-card.featured {
        grid-column: span 1;
    }

    .blog-modern-card.featured .blog-modern-image {
        height: 180px;
    }

    .blog-modern-card.featured .blog-modern-title {
        font-size: 16px;
    }
}

/* Skeleton Loading */
.blog-modern-card.loading .blog-modern-image {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================
   BLOG DETAY SAYFASI - Detail Page Styles
   ============================================ */

/* Blog Detay Container */
.blog-detay-container {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Blog Detay Başlık Alanı */
.ki_baslik .hh_baslik1,
.ki_baslik_bass .hh_baslik1 {
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 12px;
    padding: 0 10px;
}

/* Blog Açıklama/Özet */
.ki_baslik .senaryo_onsuz,
.ki_baslik_bass .senaryo_onsuz {
    font-size: 13px;
    color: #64748b;
    text-align: center;
    line-height: 1.6;
    padding: 0 15px;
    margin-bottom: 15px;
}

/* Blog Meta Bilgileri */
.ki_baslik .senaryo_bilgic,
.ki_baslik_bass .senaryo_bilgic {
    font-size: 13px;
    color: #94a3b8;
    text-align: center;
    padding: 8px 0;
    border-top: 1px solid #f1f5f9;
    margin-top: 10px;
}

/* Blog Özet Kutuları */
.book_ozet {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.book_ozet_baslik {
    font-size: 14px;
    font-weight: 600;
    color: #3d618d;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.book_ozet_ic {
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}

.book_ozet_ic a {
    color: #3d618d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.book_ozet_ic a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Analiz Yan Panel */
.analiz-yan-panel {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.analiz-yan-baslik {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analiz-yan-baslik i {
    color: #f59e0b;
}

.analiz-yan-icerik {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .blog-modern-card {
        background: #1e293b;
    }

    .blog-modern-title {
        color: #f1f5f9;
    }

    .blog-modern-excerpt {
        color: #94a3b8;
    }

    .blog-modern-meta {
        border-top-color: #334155;
    }

    .ki_baslik .hh_baslik1,
    .ki_baslik_bass .hh_baslik1 {
        color: #f1f5f9;
    }

    .book_ozet {
        background: #1e293b;
    }

    .book_ozet_baslik {
        color: #94a3b8;
        border-bottom-color: #334155;
    }

    .book_ozet_ic {
        color: #94a3b8;
    }
}

