/* assets/css/article.css */

/* ----------------------------------------------------------------------
 * ARTICLE CSS - Köşe Yazısı Detay Sayfası Tasarımı
 * ---------------------------------------------------------------------- */

/* --- ANA KAPLAYICI --- */
.article-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* --- BAŞLIK VE META ALANI --- */
.article-header {
    margin-bottom: 35px;
}

.article-badge {
    margin-bottom: 15px;
    display: inline-block;
}

.badge-dark {
    background-color: #1e293b; /* Koyu lacivert/siyah */
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.badge-dark:hover {
    background-color: #0f172a;
}

.article-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-heading, #111);
    line-height: 1.25;
    margin: 0 0 20px 0;
    letter-spacing: -0.8px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: var(--text-muted, #64748b);
    font-family: var(--font-primary, sans-serif);
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-heading, #111);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.meta-author:hover {
    color: var(--primary-color, #2563eb);
}

.meta-author img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-surface, #f8fafc);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sep {
    opacity: 0.3;
    font-size: 12px;
}

.meta-date, .meta-views {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

/* --- ÖNE ÇIKAN GÖRSEL --- */
.article-image {
    margin-bottom: 40px;
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
    background: var(--bg-surface, #f1f5f9);
    position: relative;
    z-index: 1;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- İÇERİK METNİ (TİPOGRAFİ) --- */
.article-body {
    font-size: 19px; /* Okunabilirlik için ideal boyut */
    line-height: 1.8;
    color: var(--text-body, #334155);
    font-family: 'Inter', system-ui, -apple-system, sans-serif; /* Okuma fontu */
}

/* Özet / Giriş Paragrafı */
.article-lead {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-heading, #0f172a);
    margin-bottom: 35px;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    padding-bottom: 30px;
}

/* İçerik İçi Elementler (content-style) */
.content-style p {
    margin-bottom: 25px;
}

.content-style h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 45px 0 20px;
    color: var(--text-heading, #111);
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.content-style h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 35px 0 15px;
    color: var(--text-heading, #111);
}

.content-style ul, 
.content-style ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.content-style li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.content-style a {
    color: var(--primary-color, #2563eb);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.content-style a:hover {
    color: var(--text-heading, #111);
}

.content-style blockquote {
    background: var(--bg-surface, #f8fafc);
    border-left: 5px solid var(--primary-color, #2563eb);
    padding: 25px 30px;
    margin: 35px 0;
    font-style: italic;
    color: var(--text-heading, #1e293b);
    font-size: 20px;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.content-style img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* --- AYIRICI ÇİZGİ --- */
.article-divider {
    margin: 60px 0 50px;
    border: 0;
    border-top: 1px solid var(--border-color, #e2e8f0);
}

/* --- YAZAR KARTI (ALT) --- */
.article-author-card {
    background: var(--bg-card, #fff);
    padding: 35px;
    border-radius: var(--radius-lg, 12px);
    display: flex;
    align-items: center;
    gap: 30px;
    border: 1px solid var(--border-color, #e2e8f0);
    box-shadow: var(--shadow-sm, 0 1px 2px 0 rgba(0, 0, 0, 0.05));
    transition: transform 0.2s;
}

.article-author-card:hover {
    border-color: var(--primary-color, #2563eb);
}

.author-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-surface, #f8fafc);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.author-info {
    flex: 1;
}

.author-name {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.author-name a {
    color: var(--text-heading, #111);
    text-decoration: none;
    transition: color 0.2s;
}

.author-name a:hover {
    color: var(--primary-color, #2563eb);
}

.author-bio {
    font-size: 15px;
    color: var(--text-body, #64748b);
    margin: 0 0 15px;
    line-height: 1.6;
    max-width: 600px;
}

.author-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color, #2563eb);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap 0.2s;
}

.author-link:hover {
    gap: 10px;
    text-decoration: underline;
}

/* --- RESPONSIVE / MOBİL --- */
@media (max-width: 768px) {
    .article-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .article-meta {
        gap: 10px;
        font-size: 12px;
    }
    
    .meta-author img {
        width: 30px;
        height: 30px;
    }

    .article-body {
        font-size: 17px;
        line-height: 1.7;
    }
    
    .article-lead {
        font-size: 19px;
    }
    
    .content-style blockquote {
        padding: 20px;
        font-size: 18px;
    }
    
    .article-author-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 20px;
    }
    
    .author-avatar img {
        width: 80px;
        height: 80px;
    }
    
    .author-bio {
        font-size: 14px;
    }
}