p {
    text-align: justify;
    text-indent: 1.5em; 
}

html.dark-mode body .blog-post-page {
    --article-bg: #1b1715;
    --article-paper: #27211e;
    --article-text: #eee7df;
    --article-muted: #a99d94;
    --article-accent: #c5a98f;
    --article-border: rgba(197, 169, 143, 0.2);
    background: var(--article-bg);
}

html.dark-mode body .article {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

html.dark-mode body .article-lead {
    color: #c9beb5;
}

.blog-post-page {
    --article-bg: #f7f3ed;
    --article-paper: #fffdf9;
    --article-text: #332d28;
    --article-muted: #85786e;
    --article-accent: #8f6b4f;
    --article-border: rgba(143, 107, 79, 0.2);
    background: var(--article-bg);
    min-height: 100vh;
    padding: 5rem 1.5rem 7rem;
}

/* Yazının ana kâğıdı */

.article {
    max-width: 850px;
    margin: 0 auto;
    background: var(--article-paper);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(60, 45, 30, 0.08);
}


/* başlık */

.article-header {
    padding: 2rem 5rem 3rem;
    text-align: center;
}


/* Bloga dön */

.article-back {
    display: inline-block;
    margin-bottom: 3rem;
    color: var(--article-accent);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.article-back:hover {
    transform: translateX(-4px);
}


/* Kategori */

.article-category {
    display: block;
    margin-bottom: 1rem;
    color: var(--article-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}


/* Başlık */

.article-header h1 {
    margin-bottom: 1rem;
    font-family:Georgia,'Times New Roman',serif;
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.15;
    color: var(--article-text);
}


/* Tarih */

.article-date {
    margin-bottom: 2rem;
    color: var(--article-muted);
    font-size: 0.9rem;
}


/* Özet */

.article-lead {
    max-width: 650px;
    margin: 0 auto;
    font-family: Georgia,'Times New Roman', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #665a50;
}


/* görsel */

.article-image {
    width: 100%;
    /*max-height: 500px;*/
    overflow: hidden;
    /*display: block;
    margin-left: auto;
    margin-right: auto;*/
}

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


/* metin*/

.article-content {
    padding: 4rem 5rem;
}

.article-content p {
    margin-bottom: 1.6rem;
    font-family:Georgia,'Times New Roman',serif;
    font-size: 1.08rem;
    line-height: 1.95;
    color: var(--article-text);
}


/* ara başlık */

.article-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    font-family:Georgia,'Times New Roman',serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--article-accent);
}


/* alıntı */

.article-content blockquote {
    margin: 3rem 1rem;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--article-accent);
    font-family:Georgia,'Times New Roman',serif;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--article-accent);
}


/* yazı sonu */

.article-footer {
    margin: 0 5rem;
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--article-border);
    text-align: center;
}


/* etiketler */

.article-tags {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.article-tags span {
    padding: 0.45rem 1rem;
    border: 1px solid var(--article-border);
    border-radius: 20px;
    color: var(--article-accent);
    font-size: 0.8rem;
}


/* alta dön */

.article-back-bottom {
    display: inline-block;
    color: var(--article-accent);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.article-back-bottom:hover {
    transform: translateY(-2px);
}


/* koyu tema */

body {
    background-color: #F8F6FC;
    color: #2D2640;
}

body.dark-mode {
    background-color: #301b55;
    color: #E8E0F0;
}

body.dark-mode .blog-post-page {
    --article-bg: #1b1715;
    --article-paper: #27211e;
    --article-text: #eee7df;
    --article-muted: #a99d94;
    --article-accent: #c5a98f;
    --article-border: rgba(197, 169, 143, 0.2);
    background: var(--article-bg);
}

body.dark-mode .article {
    box-shadow:0 10px 40px rgba(0, 0, 0, 0.3);
}

body.dark-mode .article-lead {
    color: #c9beb5;
}


/* mobil */

@media (max-width: 768px) {
    .blog-post-page {
        padding: 2rem 0 4rem;
    }

    .article {
        border-radius: 0;
    }

    .article-header {
        padding: 3rem 1.5rem 2.5rem;
    }

    .article-header h1 {
        font-size: 2.3rem;
    }

    .article-lead {
        font-size: 1rem;
    }

    .article-content {
        padding: 2.5rem 1.5rem;
    }

    .article-content p {
        font-size: 1rem;
        line-height: 1.85;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content blockquote {
        margin: 2rem 0;
        padding: 1rem 1.2rem;
        font-size: 1.1rem;
    }

    .article-footer {
        margin: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
    }

    .blog-post-page {
        padding: 1.5rem 0 3rem;
    }

    .article-header {
        padding: 2rem 1rem 2rem;
    }

    .article-header h1 {
        font-size: 1.85rem;
    }

    .article-content {
        padding: 1.75rem 1rem;
    }

    .article-content blockquote {
        margin: 1.5rem 0;
        padding: 0.85rem 1rem;
        font-size: 1rem;
    }

    .article-footer {
        margin: 0 1rem;
        padding: 1.5rem 0 2rem;
    }
}