/* =============================================================
   blog-article.css
   Tüm blog/duyuru/haber/rehber makalelerinde kullanılır.
   Bu dosyayı /assets/css/ klasörüne ekleyin ve
   anaSayfa.Master içinde <link rel="stylesheet" href="/assets/css/blog-article.css" /> olarak referans verin.
   ============================================================= */

/* ── Sayfa Sarıcı ── */
.blog-article-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 36px 20px 80px;
}
.blog-article-inner {
    position: relative;
}

/* ── Breadcrumb ── */
.breadcrumb {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 24px;
}
.breadcrumb a {
    color: #64748b;
    text-decoration: none;
}
.breadcrumb a:hover { color: #2563eb; }

/* ── Makale Başlığı Bölümü ── */
.article-header { margin-bottom: 28px; }

.article-kapak {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 20px;
}

/* Kategori badge */
.article-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 12px;
}
.article-badge.duyuru       { background: #dbeafe; color: #1d4ed8; }
.article-badge.haber        { background: #dcfce7; color: #15803d; }
.article-badge.bilgirehberi { background: #f3e8ff; color: #7e22ce; }

.article-title {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 14px;
}

.article-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #64748b;
}

/* ── Özet Kutusu ── */
.article-ozet {
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    font-size: 15px;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 28px;
    font-style: italic;
}

/* ── Makale İçeriği ── */
.article-content {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}
.article-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 32px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}
.article-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 24px 0 10px;
}
.article-content p    { margin: 0 0 16px; }
.article-content ul,
.article-content ol   { padding-left: 24px; margin: 0 0 16px; }
.article-content li   { margin-bottom: 6px; }
.article-content a    { color: #2563eb; }
.article-content a:hover { text-decoration: underline; }
.article-content blockquote {
    margin: 20px 0;
    padding: 14px 20px;
    background: #f8fafc;
    border-left: 4px solid #e2e8f0;
    border-radius: 0 8px 8px 0;
    color: #475569;
    font-style: italic;
}
.article-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 12px 0;
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.article-content th, 
.article-content td {
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    text-align: left;
}
.article-content th {
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
}

/* ── Makale Footer ── */
.article-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}
.btn-geri-kategori {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 500;
    transition: background .15s;
}
.btn-geri-kategori:hover { background: #e2e8f0; }

/* ── Mobil Uyum ── */
@media (max-width: 640px) {
    .article-title  { font-size: 22px; }
    .blog-article-wrap { padding: 24px 16px 60px; }
}
