/* Blog Posts / Liste Sayfaları (Ana Sayfa + Kategori Yazıları) */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.post {
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.post-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post:hover .post-image img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-title a {
    color: var(--text-color);
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--primary-hover);
    gap: 0.75rem;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.posts-grid .post-image {
    aspect-ratio: 4 / 3;
}

.posts-grid .post-title {
    font-size: 1.25rem;
}

/* Yeni Post Kart Tasarımı (liste içinde kullanılan varyant) */
.post-new {
    display: flex;
    flex-direction: column;
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post-new:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.post-header {
    position: relative;
    padding: 1.5rem;
    min-height: 120px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.post-header-icon {
    flex-shrink: 0;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.icon-circle svg {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
}

.post-header-text {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex: 1;
    line-height: 1.4;
}

.post-new .post-content {
    padding: 2rem;
    background: var(--bg-color);
}

.post-new .post-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-color);
}

.post-new .post-title a {
    color: var(--text-color);
    transition: var(--transition);
}

.post-new .post-title a:hover {
    color: var(--primary-color);
}

.post-new .post-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.post-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.post-meta-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.post-new .post-category {
    position: static;
    background: #8b5cf6;
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    display: inline-block;
    margin: 0;
}

.featured-post.post-new .post-header {
    min-height: 140px;
}

.featured-post.post-new .post-title {
    font-size: 1.75rem;
}

.posts-grid .post-new .post-title {
    font-size: 1.25rem;
}

.posts-grid .post-new .post-header {
    min-height: 100px;
    padding: 1.25rem;
}

.posts-grid .post-new .icon-circle {
    width: 70px;
    height: 70px;
}

.posts-grid .post-new .icon-circle svg {
    width: 35px;
    height: 35px;
}

.posts-grid .post-new .post-header-text {
    font-size: 1rem;
}

/* Karanlık tema varyasyonları */
[data-theme="dark"] .post-new {
    background: var(--bg-color);
}

[data-theme="dark"] .post-new .post-content {
    background: var(--bg-color);
}

/* Responsive */
@media (max-width: 768px) {
    .post-header {
        min-height: 100px;
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
    }

    .icon-circle {
        width: 70px;
        height: 70px;
    }

    .icon-circle svg {
        width: 35px;
        height: 35px;
    }

    .post-header-text {
        font-size: 0.9375rem;
    }

    .post-new .post-title {
        font-size: 1.25rem;
    }

    .post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .post-meta-item {
        font-size: 0.8125rem;
    }
}

