/* Blog Bölümü */
.blog-posts-section {
    padding: 6rem 0;
    background-color: var(--section-bg);
    -webkit-tap-highlight-color: transparent;
}

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Bölüm Başlığı */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -0.5rem;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(350px, 1fr));
    gap: 3rem;
    margin: 4rem auto;
    max-width: 1300px;
}

/* Blog Kartları */
.blog-posts-section .blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    border: none;
    height: 100%;
}

.blog-posts-section .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.15);
}

.blog-posts-section .blog-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    color: var(--text-muted);
}

.blog-posts-section .blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(var(--primary-rgb),0.02) 100%);
}

.blog-posts-section .blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-posts-section .blog-card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-posts-section .blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(var(--primary-rgb), 0.05);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
}

.blog-meta i {
    color: var(--primary-color);
    font-size: 1rem;
}

.blog-excerpt {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-posts-section .blog-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0,0,0,0.1);
}

/* Kategori Rozetleri */
.category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-badge.trafik { background: linear-gradient(45deg, #2ecc71, #27ae60); }
.category-badge.kasko { background: linear-gradient(45deg, #3498db, #2980b9); }
.category-badge.konut { background: linear-gradient(45deg, #e67e22, #d35400); }
.category-badge.saglik { background: linear-gradient(45deg, #e74c3c, #c0392b); }
.category-badge.dask { background: linear-gradient(45deg, #9b59b6, #8e44ad); }
.category-badge.seyahat { background: linear-gradient(45deg, #1abc9c, #16a085); }

/* Devamını Oku Butonu */
.blog-posts-section .read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    width: 100%;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid var(--primary-color);
}

.blog-posts-section .read-more:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(5px);
}

/* Sosyal Medya Paylaşım */
.blog-posts-section .social-share {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
}

.blog-posts-section .share-button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    opacity: 0.9;
    text-decoration: none;
    border: none;
}

.blog-posts-section .share-button:hover {
    opacity: 1;
    transform: translateY(-2px);
    text-decoration: none;
}

.share-button i {
    line-height: 1;
}

.share-button.facebook { background: #1877f2; }
.share-button.twitter { background: #000; }
.share-button.instagram { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
.share-button.whatsapp { background: #25d366; }
.share-button.linkedin { background: #0077b5; }

/* Responsive Tasarım */
@media screen and (max-width: 1400px) {
    .blog-container {
        max-width: 1100px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, minmax(320px, 1fr));
        gap: 2.5rem;
        max-width: 1000px;
    }
}

@media screen and (max-width: 768px) {
    .blog-posts-section {
        padding: 4rem 0;
    }

    .blog-container {
        padding: 0 2rem;
    }
    
    .blog-grid {
        grid-template-columns: minmax(300px, 600px);
        gap: 2rem;
        margin: 3rem auto;
    }

    .blog-card-content {
        padding: 1.25rem;
    }

    .blog-card-title {
        font-size: 1.15rem;
    }

    .blog-excerpt {
        font-size: 0.9rem;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-card-footer {
        flex-direction: column;
        gap: 1rem;
    }

    .social-share {
        width: 100%;
        justify-content: center;
    }
}