/*
 Theme Name:   Imgelem - Edebiyat Kafe
 Theme URI:    https://imgelem.com.tr
 Description:  LitHub tarzı minimalist, tipografi odaklı edebiyat ve arşiv teması.
 Author:       Sizin Adınız
 Template:     astra
 Version:      1.0.1
*/

/* 1. Genel Sayfa Yapısı */
body {
    background-color: #fdfbf7; /* Gözü yormayan hafif kitap kağıdı rengi */
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
}

/* 2. Tipografi - LitHub Esintisi */
h1, h2, h3, h4, .entry-title, .entry-title a {
    font-family: 'Lora', serif !important;
    font-weight: 700 !important;
    line-height: 1.2;
    color: #111;
    letter-spacing: -0.02em;
    text-decoration: none;
}

body, p, .entry-content p {
    font-family: 'Inter', sans-serif !important;
    font-size: 19px; /* Okunabilirliği yüksek tutmak için ideal punto */
    line-height: 1.75;
    color: #2c2c2c;
}

/* 3. Tarih ve Meta Bilgileri (Functions.php'den gelen kısımlar) */
.updated-date, .published-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #888;
    font-style: normal;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.updated-date {
    color: #d35400; /* Güncellenen içerikler için 'Edebiyat Kafe' turuncusu */
}

/* 4. Linkler ve Etkileşim */
a {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: #d35400;
    text-decoration-color: #d35400;
}

/* Menü ve Butonlarda Alt Çizgiyi Kaldıralım */
.main-navigation a, .ast-button, .elementor-button {
    text-decoration: none !important;
}

/* 5. Alıntılar (Blockquotes) */
blockquote {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.3rem;
    border-left: 4px solid #d35400;
    padding: 10px 30px;
    margin: 40px 0;
    background: rgba(211, 84, 0, 0.03);
    color: #333;
}

/* 6. Astra Konteyner Ayarı - Tam Genişlik ve Esneklik */

/* Konteyner sınırlayıcılarını kırıyoruz */
.ast-container, 
.site-content .ast-container, 
.ast-separate-container .ast-article-post, 
.ast-separate-container .ast-article-single {
    max-width: 1400px !important; 
    margin: 0 auto !important;
    width: 95% !important;
    padding: 0 !important; /* İç boşluğu sıfırlayarak genişlettik */
}

/* Elementor kullanılan sayfalarda tam genişliği serbest bırakıyoruz */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1300px !important;
}

/* Sadece yazı okuma sayfalarında (Single Post) metin bloğunu ortalı ve dar tutalım */
.single-post .entry-content {
    max-width: 800px !important;
    margin: 40px auto !important;
    float: none !important;
    padding: 0 20px !important;
}

/* Header ve Footer Genişliği */
.site-header-inner, .site-footer-inner {
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* Sidebar varsa genişliği ona göre ayarla */
#primary {
    width: 100% !important;
}