/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.post-thumbnail img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-categories {
    margin-bottom: 0.5rem;
}

.post-categories a {
    color: var(--primary-accent);
    font-size: 0.85rem;
    text-decoration: none;
}

.post-title {
    font-size: 1.25rem;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.post-title a {
    color: var(--text-color);
    text-decoration: none;
}

.post-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.post-meta > * + * {
    margin-left: 1rem;
}

.post-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 500;
}

/* Tekil Yazı Stili */
.single-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.single-post-content .post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.single-post-content .post-title {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.single-post-content .post-thumbnail {
    margin: 2rem 0;
}

.single-post-content .post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-tags {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.post-tags a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin: 0.25rem;
    background: #f5f5f5;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
}

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

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-content .post-title {
        font-size: 2rem;
    }
}

/* Yorum Bölümü Ana Container */
.post-comments {
    margin-top: 4rem;
    padding-top: 2rem;
    width: 100%;
    max-width: 100%;
}

/* Grid Container */
.post-comments > .comments-list-container,
.post-comments > #respond {
    display: inline-block;
    vertical-align: top;
    width: calc(50% - 1rem);
}

/* Sol Sütun - Mevcut Yorumlar */
.comments-list-container {
    padding-right: 2rem;
}

/* Sağ Sütun - Yorum Formu */
.comment-respond {
    padding: 2rem;
    margin: 0;
    background: #f8fafc;
    border-radius: 8px;
}

/* Başlık İkonu */
.comments-title::before {
    display: none;
}

/* Yorum Listesi Boşluğu */
.comment-list {
    margin-top: 2rem;
}

.comment {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

/* İç içe yorumlar */
.children {
    list-style: none;
    padding-left: 2rem;
    margin-top: 1rem;
    position: relative;
}

/* Yorum Meta */
.comment-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

/* Yorum Yazarı */
.comment-author {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start; /* Üstten hizalama */
}

.comment-author .avatar {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    object-fit: cover;
}

/* Yazar Bilgileri */
.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 500;
    color: var(--text-color);
}

/* Tarih */
.comment-metadata {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #666;
}

.comment-metadata svg {
    color: #666;
}

/* İç içe yorumlar */
.children {
    list-style: none;
    padding-left: 2rem;
    margin-top: 1rem;
    position: relative;
}

/* Yorum İçeriği */
.comment-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin: 0.75rem 0;
}

/* Form Grid */
.comment-form {
    display: grid;
    gap: 1.5rem;
}

/* Form Label ve Input Container */
.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-comment {
    position: relative;
}

/* Label Stilleri */
.comment-form label {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.85rem;
    color: #666;
    transition: all 0.2s ease;
}

/* Input ve Textarea Stilleri */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.5rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    font-size: 1rem;
    transition: all 0.2s ease;
}

/* Textarea özel stil */
.comment-form textarea {
    min-height: 120px;
    resize: vertical;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 0.5rem 0;
}

/* Focus durumunda alt çizgi */
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-accent);
}

/* Gönder Butonu */
.form-submit {
    margin-top: 1rem;
}

.comment-form input[type="submit"] {
    background: var(--primary-accent);
    color: #fff;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.comment-form input[type="submit"]:hover {
    opacity: 0.9;
}

/* Placeholder rengi */
.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: #999;
}

/* Bağlantı Renkleri */
.comment a,
.comment-respond a {
    color: var(--primary-accent);
    text-decoration: none;
}

/* Mobil Düzenleme */
@media (max-width: 768px) {
    .post-comments > .comments-list-container,
    .post-comments > #respond {
        width: 100%;
        display: block;
        padding: 0;
    }

    .comments-list-container {
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .comment-respond {
        padding-left: 10px;
        padding-right: 10px;
    }

    .comment-author .avatar {
        width: 48px;
        height: 48px;
    }
    
    .comment-author {
        gap: 1rem;
    }
}

/* Başlık Container */
.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    padding: 1rem 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* Yorum Sayısı */
.comments-title {
    font-size: 1.25rem;
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.comments-title svg {
    color: var(--primary-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

/* Sıralama Seçici */
.comments-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comments-sort select {
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #666;
    background: #fff;
    cursor: pointer;
} 