/*
 * Bir İnsan Hikâyesi — post 3964
 * Isolated editorial treatment. Loaded only on this post.
 */

.post-3964.nd-single {
    --story-paper: #f4f0e8;
    --story-paper-deep: #e8e0d3;
    --story-ink: #211f1c;
    --story-muted: #746d63;
    --story-line: rgba(56, 49, 41, .18);
    --story-dark: #171715;
    --story-warm: #9a7650;
    background:
        radial-gradient(circle at 12% 12%, rgba(255,255,255,.9), transparent 32rem),
        linear-gradient(180deg, #faf8f3 0%, var(--story-paper) 30%, #efe9df 100%);
    color: var(--story-ink);
    overflow: hidden;
}

.post-3964 .nd-v3-single-header {
    position: relative;
    padding: clamp(4.5rem, 9vw, 8.5rem) 0 clamp(2.7rem, 5vw, 4.6rem);
    background: transparent;
}

.post-3964 .nd-v3-single-header::before {
    content: "BİR İNSAN HİKÂYESİ";
    display: block;
    width: min(720px, calc(100% - 40px));
    margin: 0 auto 1.7rem;
    font-family: Inter, sans-serif;
    font-size: .68rem;
    line-height: 1;
    letter-spacing: .32em;
    font-weight: 700;
    color: var(--story-warm);
}

.post-3964 .nd-v3-single-header .nd-reading-shell {
    max-width: 760px;
}

.post-3964 .nd-v3-single-header .nd-single-meta {
    margin-bottom: 1.5rem;
    color: var(--story-muted);
}

.post-3964 .nd-v3-single-header h1 {
    max-width: 720px;
    margin: 0;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(3.3rem, 7.3vw, 6.7rem);
    line-height: .95;
    letter-spacing: -.045em;
    font-weight: 500;
    text-wrap: balance;
    color: var(--story-ink);
}

.post-3964 .nd-single-authorline {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--story-line);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--story-muted);
}

.post-3964 .nd-v3-single-featured {
    position: relative;
    max-width: 1440px;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    background: #1c1a18;
    box-shadow: 0 28px 80px rgba(42, 34, 27, .13);
}

.post-3964 .nd-v3-single-featured::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(14,13,12,.05) 22%, rgba(14,13,12,.20) 65%, rgba(14,13,12,.72) 100%),
        radial-gradient(circle at center, transparent 45%, rgba(17,15,13,.22) 100%);
}

.post-3964 .nd-v3-single-featured img {
    display: block;
    width: 100%;
    min-height: clamp(390px, 52vw, 700px);
    object-fit: cover;
    filter: saturate(.72) sepia(.08) contrast(1.04);
}

.post-3964 .nd-v3-entry-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding-bottom: clamp(5rem, 9vw, 9rem);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(1.15rem, 1.6vw, 1.34rem);
    line-height: 1.9;
    color: #2d2925;
}

.post-3964 .nd-v3-entry-content > p {
    margin-top: 0;
    margin-bottom: 1.35rem;
}

.post-3964 .nd-v3-entry-content > p strong {
    font-weight: 500;
}

/* Opening question sits on the lower edge of the cover image. */
.post-3964 .nd-v3-entry-content > p:nth-of-type(1) {
    position: relative;
    z-index: 3;
    width: fit-content;
    max-width: 92%;
    margin: -3.25rem 0 0;
    padding: .2rem 0 .65rem;
    font-size: clamp(2rem, 3.8vw, 3.45rem);
    line-height: 1;
    letter-spacing: -.03em;
    color: #fffaf0;
    text-shadow: 0 2px 22px rgba(0,0,0,.42);
}

.post-3964 .nd-v3-entry-content > p:nth-of-type(2) {
    margin-top: clamp(1.75rem, 2.7vw, 2.35rem);
    margin-bottom: clamp(1.45rem, 2.4vw, 1.9rem);
    max-width: 620px;
    font-size: clamp(1.16rem, 1.5vw, 1.42rem);
    line-height: 1.5;
    color: #4e4841;
}

.post-3964 .nd-v3-entry-content > p:nth-of-type(3),
.post-3964 .nd-v3-entry-content > p:nth-of-type(4),
.post-3964 .nd-v3-entry-content > p:nth-of-type(5) {
    margin-bottom: .22rem;
    font-size: clamp(1.28rem, 1.9vw, 1.7rem);
    line-height: 1.2;
    letter-spacing: -.012em;
    color: var(--story-ink);
}

.post-3964 .nd-v3-entry-content > p:nth-of-type(5) {
    margin-bottom: .8rem;
}

.post-3964 .nd-v3-entry-content > p:nth-of-type(6) {
    margin: 0 0 1.25rem;
    font-size: 1.1rem;
    letter-spacing: .26em;
    color: var(--story-warm);
}

/* Dostoyevski cemetery photograph as an archival object. */
.post-3964 .nd-v3-entry-content > p:nth-of-type(7) {
    position: relative;
    width: min(460px, 84vw);
    margin: 0 auto clamp(3rem, 4.5vw, 4.1rem);
    padding: 13px 13px 50px;
    background: #f8f4ec;
    border: 1px solid rgba(70, 60, 50, .14);
    box-shadow: 0 20px 42px rgba(53, 45, 38, .13);
    transform: rotate(-.35deg);
}

.post-3964 .nd-v3-entry-content > p:nth-of-type(7)::after {
    content: "Dostoyevski’nin mezarı · Rusya";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 19px;
    font-family: Inter, sans-serif;
    font-size: .68rem;
    line-height: 1.3;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #756c62;
}

.post-3964 .nd-v3-entry-content > p:nth-of-type(7) img {
    display: block;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    filter: grayscale(.74) sepia(.16) contrast(1.08);
}

/* The ten "İnsan:" statements become a restrained manifesto. */
.post-3964 .nd-v3-entry-content {
    counter-reset: human-line;
}

.post-3964 .nd-v3-entry-content > p:nth-of-type(n+8):nth-of-type(-n+17) {
    counter-increment: human-line;
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1.2rem;
    align-items: baseline;
    margin: 0;
    padding: 1.35rem 0;
    border-top: 1px solid var(--story-line);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.45;
}

.post-3964 .nd-v3-entry-content > p:nth-of-type(n+8):nth-of-type(-n+17)::before {
    content: counter(human-line, decimal-leading-zero);
    font-family: Inter, sans-serif;
    font-size: .65rem;
    line-height: 1;
    letter-spacing: .13em;
    font-weight: 700;
    color: var(--story-warm);
}

.post-3964 .nd-v3-entry-content > p:nth-of-type(17) {
    border-bottom: 1px solid var(--story-line);
    margin-bottom: clamp(6rem, 11vw, 9rem);
}

/* Final two lines: one quiet, dark closing scene. */
.post-3964 .nd-v3-entry-content > p:nth-of-type(18),
.post-3964 .nd-v3-entry-content > p:nth-of-type(19) {
    margin-left: clamp(-5rem, -7vw, -2rem);
    margin-right: clamp(-5rem, -7vw, -2rem);
    margin-bottom: 0;
    padding-left: clamp(2rem, 7vw, 5rem);
    padding-right: clamp(2rem, 7vw, 5rem);
    background: var(--story-dark);
    color: #f5efe5;
}

.post-3964 .nd-v3-entry-content > p:nth-of-type(18) {
    padding-top: clamp(4rem, 8vw, 6.5rem);
    padding-bottom: .45rem;
    border-radius: 3px 3px 0 0;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -.035em;
}

.post-3964 .nd-v3-entry-content > p:nth-of-type(19) {
    padding-top: .35rem;
    padding-bottom: clamp(4rem, 8vw, 6.5rem);
    border-radius: 0 0 3px 3px;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1.4;
    color: #cfc5b7;
}

.post-3964 .nd-v3-entry-content > hr {
    width: 42px;
    margin: 4.5rem auto 0;
    border: 0;
    border-top: 1px solid var(--story-warm);
}

/* Keep utility blocks useful but visually subordinate to the story. */
.post-3964 .nd-article-signature,
.post-3964 .nd-v3-single-footer {
    background: transparent;
}

.post-3964 .nd-article-signature {
    margin-top: 0;
    border-top: 1px solid var(--story-line);
    border-bottom: 1px solid var(--story-line);
    box-shadow: none;
}

.post-3964 .nd-share-block,
.post-3964 .nd-tags-block,
.post-3964 .nd-comment-form-wrap {
    border-color: var(--story-line);
}

.post-3964 + .nd-related,
.post-3964 ~ .nd-related {
    background: #ebe4d9;
}

@media (max-width: 760px) {
    .post-3964 .nd-v3-single-header {
        padding-top: 3.7rem;
    }

    .post-3964 .nd-v3-single-header::before {
        width: min(100% - 32px, 720px);
        margin-bottom: 1.25rem;
        letter-spacing: .24em;
    }

    .post-3964 .nd-v3-single-header h1 {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }

    .post-3964 .nd-v3-single-featured {
        width: 100%;
        border-radius: 0;
    }

    .post-3964 .nd-v3-single-featured img {
        min-height: 58vh;
    }

    .post-3964 .nd-v3-entry-content {
        padding-left: 22px;
        padding-right: 22px;
    }

    .post-3964 .nd-v3-entry-content > p:nth-of-type(1) {
        margin-top: -2.6rem;
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .post-3964 .nd-v3-entry-content > p:nth-of-type(2) {
        margin-top: 2.4rem;
        margin-bottom: 2rem;
    }

    .post-3964 .nd-v3-entry-content > p:nth-of-type(7) {
        width: calc(100% - 8px);
        padding: 11px 11px 54px;
    }

    .post-3964 .nd-v3-entry-content > p:nth-of-type(n+8):nth-of-type(-n+17) {
        grid-template-columns: 2.25rem minmax(0, 1fr);
        gap: .7rem;
        padding: 1.1rem 0;
    }

    .post-3964 .nd-v3-entry-content > p:nth-of-type(18),
    .post-3964 .nd-v3-entry-content > p:nth-of-type(19) {
        margin-left: -22px;
        margin-right: -22px;
        border-radius: 0;
    }
}
