/**
 * İcon Emlak - Tekil Blog Yazısı CSS
 */

/* Başlık Alanı (Liste sayfasıyla aynı stil için) */
.page-title-section.bg-light {
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

/* Genel İçerik Alanı */
.blog-single-content {
    /* padding-top: 40px; */ /* Başlık alanı varsa bu azaltılabilir */
}

/* Öne Çıkan Görsel */
.featured-image img {
    max-height: 500px; /* Maksimum yükseklik */
    object-fit: cover;
}

/* Yazı Başlığı */
.post-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

/* Meta Bilgileri */
.post-meta {
    font-size: 0.9rem;
    margin-bottom: 30px !important;
}

.post-meta i {
    color: var(--secondary-color);
}

.post-meta a {
    color: inherit; /* text-muted rengini koru */
    text-decoration: none;
}

.post-meta a:hover {
    color: var(--primary-color);
}

/* Yazı İçeriği */
.entry-content {
    font-size: 1.1rem; /* Daha okunaklı font boyutu */
    line-height: 1.8;
    color: #333; /* Biraz daha koyu metin */
}

.entry-content h2, 
.entry-content h3, 
.entry-content h4, 
.entry-content h5, 
.entry-content h6 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.entry-content h2 { font-size: 1.8rem; }
.entry-content h3 { font-size: 1.6rem; }
.entry-content h4 { font-size: 1.4rem; }

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul, 
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.8rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background-color: var(--light-color);
    font-style: italic;
    color: #555;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1.5rem 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Etiketler */
.post-tags .tag-badge {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-tags .tag-badge:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Paylaşım Butonları */
.post-share h5 {
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* İlgili Yazılar */
.related-posts h3 {
    color: var(--primary-color);
}

.related-post-card {
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow) !important;
}

.related-post-img {
    height: 150px;
    object-fit: cover;
}

.related-post-card h5 a {
    text-decoration: none;
}

.related-post-card h5 a:hover {
    color: var(--secondary-color) !important;
}

/* Mobil Uyumluluk */
@media (max-width: 767.98px) {
    .post-title {
        font-size: 2rem;
    }
    .entry-content {
        font-size: 1rem;
    }
    .featured-image img {
        max-height: 300px;
    }
} 