﻿/* =========================================
   BLOG DETAY SAYFASI (OKUMA MODU)
   ========================================= */
.blog-detail-hero {
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 100vh;
    background-color: #f8fafc;
}

.blog-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.back-to-home {
    display: inline-block;
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 30px;
    transition: transform 0.3s ease, color 0.3s ease;
}

    .back-to-home:hover {
        transform: translateX(-8px);
        color: #0f172a;
    }

.blog-detail-date {
    display: block;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-size: 13px;
    text-transform: uppercase;
}

.blog-detail-title {
    font-size: 3.2rem;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.blog-detail-image {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

    .blog-detail-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.blog-detail-content {
    color: #334155;
    font-size: 17px;
    line-height: 1.8;
}

    .blog-detail-content h3 {
        color: #0f172a;
        font-size: 1.8rem;
        margin-top: 50px;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .blog-detail-content h2 {
        color: #0f172a;
        font-size: 1.8rem;
        margin-top: 50px;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .blog-detail-content p {
        margin-bottom: 20px;
    }

    .blog-detail-content blockquote {
        border-left: 4px solid var(--primary);
        margin: 40px 0;
        font-style: italic;
        font-size: 1.25rem;
        color: #1e293b;
        background: rgba(59, 130, 246, 0.05);
        padding: 25px 30px;
        border-radius: 0 16px 16px 0;
        line-height: 1.6;
    }

/* =========================================
   MAKALE İÇİ GÖRSEL DÜZENLERİ
   ========================================= */
.blog-inline-images {
    display: flex;
    gap: 20px;
    margin: 40px 0;
}

    .blog-inline-images img {
        width: calc(50% - 10px);
        height: 220px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

.blog-wide-image {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    margin: 40px 0;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .blog-wide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* =========================================
   YAZAR KARTI TASARIMI
   ========================================= */
.blog-author-card {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.author-image {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

    .author-image img {
        width: 100%;
        height: auto;
        display: block;
    }

.author-info {
    display: flex;
    flex-direction: column;
}

.author-label {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.author-name {
    color: #0f172a;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
}

.author-bio {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   BLOG YAZARLIĞI DAVET ALANI (BEYAZ TEMA İÇİN)
   ========================================= */
.blog-contribution-text {
    margin-top: 60px;
    margin-bottom: 20px;
    padding: 40px;
    background: rgba(59, 130, 246, 0.03); /* Açık temaya uygun çok hafif mavimsi arka plan */
    border: 1px dashed rgba(59, 130, 246, 0.3); /* Açık temaya uygun mavi kesik çizgili kenarlık */
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

    .blog-contribution-text:hover {
        background: rgba(59, 130, 246, 0.08);
        border-color: var(--primary);
    }

    .blog-contribution-text h4 {
        color: #0f172a; /* Açık temada okunabilen koyu lacivert başlık */
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .blog-contribution-text p {
        color: #475569; /* Açık temada okunabilen koyu gri metin */
        font-size: 1.05rem;
        line-height: 1.6;
        max-width: 700px;
        margin: 0 auto;
    }

    .blog-contribution-text .blog-invite-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 22px;
        padding: 12px 24px;
        border-radius: 999px;
        background: var(--primary);
        color: #fff;
        font-weight: 700;
        text-decoration: none;
        transition: transform .2s ease, filter .2s ease;
    }

    .blog-contribution-text .blog-invite-button:hover {
        transform: translateY(-2px);
        filter: brightness(.92);
    }

/* Mobilde (Telefonda) Ortalama ve Görsel Düzenleri */
@media (max-width: 768px) {
    .blog-inline-images {
        flex-direction: column;
    }

        .blog-inline-images img {
            width: 100%;
        }

    .blog-author-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .blog-contribution-text {
        padding: 30px 20px;
        margin-top: 50px;
        margin-bottom: 40px;
    }

        .blog-contribution-text h4 {
            font-size: 1.25rem;
        }

        .blog-contribution-text p {
            font-size: 0.95rem;
        }
}
