/* 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;
    color: var(--primary-accent) !important;
}

.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: var(--primary-accent);
}

.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;
    max-width: 70%;
}

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

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

/* HR etiketi stilleri */
.single-post-content hr {
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        #e5e7eb 0,
        #e5e7eb 4px,
        transparent 4px,
        transparent 8px
    );
    border: none;
    margin: 20px 0;
}

.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;
        max-width: 90%;
    }
}

/* 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 {
    background: #f8fafc;
    border: 1px solid #f1f1f1;
    border-radius: 10px;
    padding: 18px 18px 12px 18px;
    margin: 18px 0 0 0;
    box-shadow: none;
}

.comment-respond .comment-reply-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #222;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 7px 8px;
    font-size: 0.98rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    margin-top: 2px;
    margin-bottom: 0;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.comment-form textarea {
    min-height: 70px;
    max-height: 180px;
    resize: vertical;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: var(--primary-accent, #202020);
    outline: none;
}

.comment-form label {
    font-size: 0.93rem;
    color: #666;
    margin-bottom: 2px;
    font-weight: 400;
}

.form-submit {
    margin-top: 8px;
}

.comment-form input[type="submit"] {
    background: var(--primary-accent, #202020);
    color: #fff;
    border: none;
    padding: 8px 22px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.97rem;
    transition: background 0.2s;
    box-shadow: none;
}

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

@media (max-width: 600px) {
    .comment-respond {
        padding: 10px 6px 8px 6px;
    }
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        font-size: 0.97rem;
        padding: 6px 6px;
    }
}

/* 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;
}

/* 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;
}

/* Minimal ve modern yorumlar için özel stil */
.minimal-comments .comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.basbro-minimal-comment {
  margin-bottom: 18px;
  padding: 0;
  background: none;
  border: none;
}

.basbro-minimal-comment .comment-body {
  display: flex;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #f1f1f1;
  border-radius: 10px;
  padding: 16px 18px;
  gap: 16px;
  box-shadow: none;
}

.basbro-minimal-comment .comment-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.basbro-minimal-comment .comment-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  object-fit: cover;
}

.basbro-minimal-comment .comment-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.basbro-minimal-comment .comment-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: 0.97rem;
  margin-bottom: 2px;
}

.basbro-minimal-comment .comment-author {
  font-weight: 500;
  color: #222;
  line-height: 1.1;
}

.basbro-minimal-comment .comment-date {
  color: #888;
  font-size: 0.93em;
  margin-left: 0;
  line-height: 1.1;
}

.basbro-minimal-comment .comment-content {
  font-size: 1rem;
  color: #333;
  margin: 0 0 2px 0;
  line-height: 1.6;
  word-break: break-word;
}

.basbro-minimal-comment .comment-actions {
  margin-top: 2px;
  font-size: 0.93em;
  color: var(--primary-accent, #202020);
  display: flex;
  gap: 10px;
}

.basbro-minimal-comment .comment-actions a {
  color: var(--primary-accent, #202020);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.basbro-minimal-comment .comment-actions a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Alt yorumlar (children) */
.basbro-minimal-comment ul.children {
  margin-left: 32px;
  margin-top: 10px;
  padding-left: 0;
  border-left: 2px solid #f1f1f1;
}

@media (max-width: 600px) {
  .basbro-minimal-comment .comment-body {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 10px;
    gap: 10px;
  }
  .basbro-minimal-comment ul.children {
    margin-left: 12px;
  }
}

/* Yorumlar alanı ile içerik arası boşluk ve divider */
.blog-comments {
  margin-top: 38px;
  padding-top: 0;
}

.comments-divider {
  width: 100%;
  height: 3px;
  background: #ececec;
  margin: 30px 0 30px 0;
  border: none;
}

.comments-title {
  font-size: 1.25rem;
  color: var(--text-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 18px 0;
  padding-left: 10px;
}

/* Blog arşiv grid ve kartları */
.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0 0 32px 0;
}

.blog-archive-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.18s;
  border: 1px solid #f1f1f1;
}
.blog-archive-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}

.blog-archive-thumb {
  width: 100%;
  aspect-ratio: 16/2;
  background: #f3f3f3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px 5px 0 0;
}
.blog-archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px 5px 0 0;
}
.blog-archive-thumb-placeholder {
  width: 100%;
  height: 0;
  padding-bottom: calc(100% * 6 / 16);
  background: #f3f3f3;
  border-radius: 5px 5px 0 0;
}

.blog-archive-info {
  padding: 12px 14px 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--primary-accent);
}
.blog-archive-title {
  font-size: 1.04rem;
  font-weight: 500;
  color: var(--primary-accent) !important;
  margin-bottom: 2px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.blog-archive-date {
  font-size: 0.93rem;
  color: #888;
}

@media (max-width: 900px) {
  .blog-archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .blog-archive-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.page-title {
  margin-top: 32px;
  margin-bottom: 32px;
} 