/* ==========================================================================
   BLOG YAZISI DETAY SAYFASINA ÖZEL STİLLER
   ========================================================================== */

/* Bu sayfa, blog.css'teki .blog-layout yapısını kullanır */

.blog-post-content {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

/* Yazı Başlığı Alanı */
.post-header {
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}
.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.post-category {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    text-decoration: none;
}
.post-date {
    font-size: 0.8rem;
    color: var(--text-dark);
}
.post-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--text-light);
    line-height: 1.3;
    margin-bottom: 15px;
}
.post-excerpt {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
}

/* Yazı Ana Görseli */
.post-full-image {
    margin: 0 0 40px 0;
    border-radius: 12px;
    overflow: hidden;
}
.post-full-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Yazı İçeriği */
.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.post-body p,
.post-body h2,
.post-body h3,
.post-body ul,
.post-body blockquote {
    margin-bottom: 25px;
    max-width: 700px; /* Okunabilirlik için satır uzunluğunu kısıtla */
    margin-left: auto;
    margin-right: auto;
}
.post-body h2, .post-body h3 {
    font-family: var(--font-heading);
    color: var(--text-light);
    line-height: 1.4;
}
.post-body h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}
.post-body ul { list-style-position: inside; padding-left: 20px; }
.post-body blockquote { border-left: 4px solid var(--primary); padding-left: 25px; font-style: italic; font-size: 1.2rem; color: var(--text-dark); margin-top: 30px; margin-bottom: 30px; }

/* Yazı Sonu Elementleri */
.post-footer {
    max-width: 700px;
    margin: 40px auto 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

/* Paylaşım Butonları */
.post-sharing { text-align: center; }
.post-sharing h4 { margin-bottom: 15px; font-size: 1rem; color: var(--text-dark); font-weight: 500; }
.share-links a { display: inline-block; margin: 0 10px; font-size: 1.2rem; color: var(--text-dark); transition: color 0.3s ease, transform 0.3s ease; }
.share-links a:hover { color: var(--primary); transform: scale(1.1); }

/* Yazar Kutusu */
.author-box {
    margin-top: 40px;
    background-color: var(--bg-dark);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.author-avatar img { width: 70px; height: 70px; border-radius: 50%; }
.author-info h4 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 5px; }
.author-info p { font-size: 0.9rem; color: var(--text-dark); margin: 0; line-height: 1.6; }

/* İlgili Yazılar */
.related-posts {
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}
.related-posts h3 { text-align: center; font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 30px; }
.related-posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
/* İlgili yazı kartları, blog.css'teki .blog-card-alt stilini kullanabilir */

@media (max-width: 768px) {
    .blog-post-content { padding: 25px; }
    .related-posts-grid { grid-template-columns: 1fr; }
    .author-box { flex-direction: column; text-align: center; }
}
/* ==========================================================================
   GELİŞTİRİLMİŞ BLOG YAZISI SAYFASI STİLLERİ (FİNAL SÜRÜM)
   ========================================================================== */

.blog-post-content {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    /* ÖNEMLİ: Geri butonu için padding-top'u artırıyoruz */
    padding-top: 20px;
}

/* YAZI İÇİ "GERİ DÖN" BUTONU (YENİ STİL) */
.post-navigation.top {
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.post-navigation.top .cta-button {
    padding: 12px 25px;
    font-size: 0.95rem;
}
.post-navigation.top .cta-button i {
    margin-right: 8px;
}

/* Yazı Başlığı Alanı */
.post-header {
    margin-bottom: 30px;
    text-align: center;
}
.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.post-category {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    text-decoration: none;
}
.post-date {
    font-size: 0.8rem;
    color: var(--text-dark);
}
.post-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--text-light);
    line-height: 1.3;
    margin-bottom: 15px;
}
.post-excerpt {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
}

/* Yazı Ana Görseli */
.post-full-image {
    margin: 0 0 40px 0;
    border-radius: 12px;
    overflow: hidden;
}
.post-full-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Yazı İçeriği */
.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}
.post-body p,
.post-body h2,
.post-body h3,
.post-body ul,
.post-body blockquote {
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.post-body h2, .post-body h3 {
    font-family: var(--font-heading);
    color: var(--text-light);
    line-height: 1.4;
}
.post-body h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}
.post-body ul { list-style-position: inside; padding-left: 20px; }
.post-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 25px;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 30px auto;
}

/* YENİ: YAZI SONU ELEMENTLERİ */
.post-footer {
    max-width: 700px;
    margin: 40px auto 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

/* Paylaşım Butonları */
.post-sharing { text-align: center; }
.post-sharing h4 { margin-bottom: 20px; font-size: 1.1rem; color: var(--text-dark); font-weight: 500; }
.share-links { display: flex; justify-content: center; gap: 15px; }
.share-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    color: var(--text-dark);
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}
.share-links a:hover {
    color: #FFF;
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Yazar Kutusu */
.author-box {
    margin-top: 40px;
    background-color: var(--bg-dark);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.author-avatar img { width: 70px; height: 70px; border-radius: 50%; }
.author-info h4 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 5px; }
.author-info p { font-size: 0.9rem; color: var(--text-dark); margin: 0; line-height: 1.6; }
.author-info small { font-size: 0.8rem; color: var(--primary); font-weight: 600; }

/* YENİ: YAZI ALTI "GERİ DÖN" BUTONU */
.post-navigation.bottom {
    text-align: center;
    margin-top: 60px;
}

/* YENİ: İLGİLİ YAZILAR BÖLÜMÜ */
.related-posts {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}
.related-posts h3 { text-align: center; font-family: var(--font-heading); font-size: 2rem; margin-bottom: 40px; }
.related-posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }

@media (max-width: 768px) {
    .blog-post-content { padding: 20px; }
    .author-box { flex-direction: column; text-align: center; }
}