/* Blog Yazilimi v0.2.2 - article experience */
.page-article {
    --story-line: rgba(114, 255, 143, 0.13);
    --story-panel: rgba(15, 28, 20, 0.76);
    background:
        radial-gradient(circle at 12% 3%, rgba(114, 255, 143, 0.08), transparent 29rem),
        radial-gradient(circle at 92% 9%, rgba(255, 72, 88, 0.07), transparent 25rem),
        #060d09;
}

.page-article .site-shell {
    width: min(1260px, calc(100% - 48px));
}

.story-page {
    overflow: clip;
}

.story-progress {
    position: fixed;
    z-index: 90;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    pointer-events: none;
}

.story-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--green), #d8ffdf 60%, var(--red));
    box-shadow: 0 0 15px rgba(114, 255, 143, 0.4);
}

.story-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-top: 44px;
    color: #71867a;
    font-size: 0.65rem;
    font-weight: 750;
}

.story-breadcrumb a:hover {
    color: var(--green);
}

.story-breadcrumb span {
    color: #3d5145;
}

.story-breadcrumb em {
    overflow: hidden;
    color: #93a79a;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.story-intro {
    max-width: 1100px;
    padding-top: clamp(55px, 8vw, 100px);
    padding-bottom: 52px;
    text-align: center;
}

.story-intro__categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}

.story-intro__categories span {
    padding: 6px 10px;
    border: 1px solid rgba(114, 255, 143, 0.18);
    border-radius: 999px;
    color: var(--green);
    background: rgba(114, 255, 143, 0.045);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.story-intro h1 {
    max-width: 1080px;
    margin: 22px auto;
    font-size: clamp(3.2rem, 7.6vw, 7.5rem);
    line-height: 0.96;
    letter-spacing: -0.07em;
}

.story-intro > p {
    max-width: 820px;
    margin: 0 auto;
    color: #9db0a3;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    line-height: 1.7;
}

.story-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 17px;
    margin-top: 31px;
    color: #788d80;
    font-size: 0.68rem;
}

.story-byline > div:nth-child(2) {
    display: grid;
    gap: 1px;
    padding-right: 17px;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
    text-align: left;
}

.story-byline strong {
    color: #eaffee;
    font-size: 0.72rem;
}

.story-byline div span {
    font-size: 0.58rem;
}

.story-author-avatar {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(114, 255, 143, 0.3);
    border-radius: 12px;
    color: #071009;
    background: linear-gradient(145deg, var(--green), #d7ffde);
    font-size: 0.9rem;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(114, 255, 143, 0.12);
}

.story-hero-media {
    position: relative;
    margin-bottom: 76px;
}

.story-hero-media::before {
    position: absolute;
    z-index: -1;
    inset: -18px;
    border: 1px solid rgba(114, 255, 143, 0.08);
    border-radius: 39px;
    content: "";
}

.story-hero-media img {
    display: block;
    width: 100%;
    height: clamp(390px, 57vw, 720px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 30px;
    object-fit: cover;
    box-shadow: 0 42px 110px rgba(0, 0, 0, 0.38);
}

.story-hero-media::after {
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: linear-gradient(to top, rgba(5, 12, 8, 0.22), transparent 35%);
    pointer-events: none;
    content: "";
}

.story-hero-media figcaption {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 16px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(5, 12, 8, 0.64);
    backdrop-filter: blur(10px);
    font-size: 0.55rem;
}

.story-hero-media figcaption a {
    color: #fff;
}

.story-layout {
    display: grid;
    grid-template-columns: 70px minmax(0, 760px) 245px;
    justify-content: center;
    gap: clamp(28px, 5vw, 68px);
    align-items: start;
    padding-bottom: 120px;
}

.story-tools,
.story-toc {
    position: sticky;
    top: 112px;
}

.story-tools {
    display: grid;
    justify-items: center;
    gap: 9px;
}

.story-tools > span,
.story-toc > span,
.story-tags > span,
.story-author-card span,
.related-stories header > span {
    color: var(--red);
    font-size: 0.54rem;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.story-tools button {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--story-line);
    border-radius: 12px;
    color: #8ca094;
    background: rgba(14, 28, 19, 0.7);
    cursor: pointer;
    transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.story-tools button:hover,
.story-tools button:focus-visible {
    border-color: rgba(114, 255, 143, 0.34);
    color: var(--green);
    transform: translateY(-2px);
}

.story-tools svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.story-tools small {
    min-height: 31px;
    color: var(--green);
    font-size: 0.5rem;
    line-height: 1.25;
    text-align: center;
}

.story-content {
    min-width: 0;
    color: #d7e4da;
    font-size: clamp(1.02rem, 1.4vw, 1.12rem);
    line-height: 1.92;
}

.story-content > p:first-child {
    color: #eef8f0;
    font-size: clamp(1.16rem, 1.8vw, 1.35rem);
    line-height: 1.75;
}

.story-content p {
    margin: 0 0 28px;
}

.story-content h2 {
    margin: 63px 0 20px;
    color: #f4fff6;
    font-size: clamp(1.9rem, 3.5vw, 2.9rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
    scroll-margin-top: 115px;
}

.story-content h2::before {
    display: block;
    width: 34px;
    height: 2px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--green), var(--red));
    content: "";
}

.story-content h3 {
    margin: 42px 0 16px;
    color: #f4fff6;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
    scroll-margin-top: 115px;
}

.story-content ul {
    display: grid;
    gap: 12px;
    margin: 8px 0 34px;
    padding: 0;
    list-style: none;
}

.story-content li {
    position: relative;
    padding-left: 28px;
}

.story-content li::before {
    position: absolute;
    top: 0.84em;
    left: 3px;
    width: 8px;
    height: 8px;
    border: 1px solid rgba(114, 255, 143, 0.55);
    border-radius: 3px;
    transform: rotate(45deg);
    content: "";
}

.story-content blockquote {
    position: relative;
    margin: 42px 0;
    padding: 30px 34px 30px 48px;
    border: 1px solid rgba(255, 72, 88, 0.18);
    border-radius: 20px;
    color: #f2fff5;
    background: linear-gradient(120deg, rgba(114, 255, 143, 0.07), rgba(255, 72, 88, 0.07));
    font-size: clamp(1.15rem, 2.1vw, 1.45rem);
    font-weight: 720;
    line-height: 1.55;
}

.story-content blockquote::before {
    position: absolute;
    top: 15px;
    left: 18px;
    color: var(--red);
    font-size: 2.7rem;
    line-height: 1;
    content: "“";
}

.story-content__footer {
    margin-top: 75px;
    padding-top: 30px;
    border-top: 1px solid var(--story-line);
}

.story-tags {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.story-tags > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.story-tags small {
    padding: 6px 9px;
    border: 1px solid var(--story-line);
    border-radius: 999px;
    color: #8ea195;
    background: rgba(114, 255, 143, 0.035);
    font-size: 0.62rem;
}

.story-author-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;
    margin-top: 30px;
    padding: 24px;
    border: 1px solid var(--story-line);
    border-radius: 20px;
    background: var(--story-panel);
}

.story-author-avatar--large {
    width: 64px;
    height: 64px;
    border-radius: 19px;
    font-size: 1.35rem;
}

.story-author-card strong {
    display: block;
    margin: 3px 0;
    color: #f4fff6;
    font-size: 1rem;
}

.story-author-card p {
    margin: 0;
    color: #83978a;
    font-size: 0.72rem;
    line-height: 1.6;
}

.story-toc {
    padding: 22px;
    border: 1px solid var(--story-line);
    border-radius: 18px;
    background: var(--story-panel);
}

.story-toc > span {
    color: var(--green);
}

.story-toc > strong {
    display: block;
    margin-top: 3px;
    font-size: 1rem;
}

.story-toc nav {
    display: grid;
    gap: 0;
    margin-top: 15px;
}

.story-toc nav:empty::before {
    color: #72867a;
    font-size: 0.68rem;
    content: "Başlıklar hazırlanıyor.";
}

.story-toc nav a {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    color: #7f9386;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.4;
}

.story-toc nav a:hover,
.story-toc nav a.is-active {
    color: var(--green);
}

.story-toc__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
    color: #687b6f;
}

.story-toc__meta i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 11px var(--green);
}

.story-toc__meta small {
    font-size: 0.57rem;
}

.related-stories {
    padding: 90px 0 120px;
    border-top: 1px solid var(--story-line);
    background: rgba(9, 19, 13, 0.62);
}

.related-stories header {
    margin-bottom: 30px;
}

.related-stories header h2 {
    margin: 6px 0 0;
    font-size: clamp(2.3rem, 4.5vw, 4rem);
    letter-spacing: -0.055em;
}

.related-stories__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.related-stories article {
    overflow: hidden;
    border: 1px solid var(--story-line);
    border-radius: 20px;
    background: var(--story-panel);
    transition: transform 180ms ease, border-color 180ms ease;
}

.related-stories article:hover {
    border-color: rgba(114, 255, 143, 0.3);
    transform: translateY(-4px);
}

.related-story__media {
    position: relative;
    display: block;
    height: 210px;
    overflow: hidden;
    background: linear-gradient(145deg, #14291d, #09110c);
}

.related-story__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 12, 8, 0.58), transparent 55%);
    content: "";
}

.related-story__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.related-stories article:hover img {
    transform: scale(1.035);
}

.related-story__media span {
    position: absolute;
    z-index: 1;
    bottom: 14px;
    left: 14px;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    background: rgba(5, 12, 8, 0.55);
    font-size: 0.53rem;
    font-weight: 850;
    text-transform: uppercase;
}

.related-stories article > div {
    padding: 21px;
}

.related-stories article > div > small {
    color: var(--green);
    font-size: 0.55rem;
    font-weight: 850;
}

.related-stories h3 {
    margin: 9px 0 16px;
    font-size: 1.15rem;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.related-stories h3 a:hover {
    color: var(--green);
}

.related-stories article > div > a {
    color: #8fa296;
    font-size: 0.64rem;
    font-weight: 800;
}

@media (max-width: 1040px) {
    .story-layout {
        grid-template-columns: 55px minmax(0, 760px);
    }

    .story-toc {
        display: none;
    }
}

@media (max-width: 760px) {
    .page-article {
        padding-bottom: 70px;
    }

    .page-article .site-shell {
        width: min(100% - 28px, 1260px);
    }

    .story-breadcrumb {
        padding-top: 28px;
    }

    .story-intro {
        padding-top: 48px;
        padding-bottom: 36px;
        text-align: left;
    }

    .story-intro__categories {
        justify-content: flex-start;
    }

    .story-intro h1 {
        margin: 17px 0;
        font-size: clamp(2.75rem, 13vw, 4.5rem);
    }

    .story-intro > p {
        font-size: 0.94rem;
    }

    .story-byline {
        justify-content: flex-start;
        gap: 10px 12px;
        margin-top: 24px;
    }

    .story-byline > span:last-child {
        display: none;
    }

    .story-hero-media {
        width: 100%;
        margin-bottom: 52px;
    }

    .story-hero-media::before {
        display: none;
    }

    .story-hero-media img,
    .story-hero-media::after {
        height: 60vw;
        min-height: 280px;
        border-radius: 0;
    }

    .story-hero-media figcaption {
        right: 10px;
        bottom: 9px;
    }

    .story-layout {
        display: block;
        padding-bottom: 80px;
    }

    .story-tools {
        position: relative;
        top: auto;
        display: flex;
        justify-content: flex-start;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--story-line);
    }

    .story-tools > span {
        align-self: center;
        margin-right: 4px;
    }

    .story-tools small {
        align-self: center;
        min-height: 0;
        margin-left: 4px;
    }

    .story-content {
        font-size: 1rem;
        line-height: 1.82;
    }

    .story-content h2 {
        margin-top: 50px;
        font-size: 2rem;
    }

    .story-content blockquote {
        margin: 34px 0;
        padding: 27px 22px 27px 42px;
        border-radius: 17px;
        font-size: 1.12rem;
    }

    .story-tags {
        display: block;
    }

    .story-tags > div {
        margin-top: 10px;
    }

    .story-author-card {
        align-items: flex-start;
        padding: 19px;
    }

    .related-stories {
        padding: 70px 0 90px;
    }

    .related-stories__grid {
        grid-template-columns: 1fr;
    }

    .related-stories article {
        display: grid;
        grid-template-columns: 120px 1fr;
    }

    .related-story__media {
        height: 100%;
        min-height: 160px;
    }

    .related-story__media span {
        right: 8px;
        bottom: 8px;
        left: 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .related-stories article > div {
        padding: 17px;
    }

    .related-stories h3 {
        font-size: 1rem;
    }
}

@media (max-width: 430px) {
    .story-byline > time,
    .story-byline > span {
        font-size: 0.58rem;
    }

    .story-author-avatar {
        width: 36px;
        height: 36px;
    }

    .story-hero-media img,
    .story-hero-media::after {
        min-height: 245px;
    }

    .story-author-card {
        grid-template-columns: 1fr;
    }

    .story-author-avatar--large {
        width: 52px;
        height: 52px;
    }

    .related-stories article {
        grid-template-columns: 105px 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .related-story__media img,
    .related-stories article,
    .story-tools button {
        transition: none;
    }
}

/* Article comments · v0.3.2 */
.story-comments { padding: 80px 0; border-top: 1px solid rgba(255,255,255,.06); background: radial-gradient(circle at 85% 15%,rgba(114,255,143,.05),transparent 26rem),#09140e; scroll-margin-top: 90px; }
.story-comments__inner > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.story-comments__inner > header span { color: var(--green); font-size: .7rem; font-weight: 900; letter-spacing: .13em; }
.story-comments__inner > header h2 { margin: 4px 0; font-size: clamp(2rem,4vw,3.2rem); letter-spacing: -.045em; }
.story-comments__inner > header p { margin: 0; color: var(--muted); font-size: .86rem; }
.story-comments__inner > header > strong { color: var(--muted); font-size: .75rem; font-weight: 700; }
.story-comments__layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,380px); gap: 22px; align-items: start; }
.story-comment-list { display: grid; overflow: hidden; border: 1px solid rgba(255,255,255,.07); border-radius: 18px; background: rgba(14,27,19,.72); }
.story-comment-list > article { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 13px; padding: 19px; border-bottom: 1px solid rgba(255,255,255,.055); }
.story-comment-list > article:last-child { border-bottom: 0; }
.story-comment-list > article.is-reply { margin-left: 48px; border-left: 2px solid rgba(114,255,143,.18); background: rgba(114,255,143,.018); }
.story-comment-avatar { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(114,255,143,.22); border-radius: 12px; color: #06130a; background: var(--green); font-size: .8rem; font-weight: 900; }
.story-comment-list article header { display: flex; justify-content: space-between; gap: 12px; }
.story-comment-list article header strong { font-size: .83rem; }
.story-comment-list article time { color: var(--muted); font-size: .67rem; }
.story-comment-list article p { margin: 8px 0 0; color: #c2d0c5; font-size: .84rem; line-height: 1.7; }
.story-comments__empty { padding: 45px 20px; color: var(--muted); font-size: .82rem; text-align: center; }
.story-comment-form { position: sticky; top: 95px; padding: 22px; border: 1px solid rgba(114,255,143,.13); border-radius: 18px; background: linear-gradient(145deg,rgba(114,255,143,.035),rgba(12,25,17,.94)); }
.story-comment-form > span { color: var(--green); font-size: .67rem; font-weight: 900; letter-spacing: .1em; }
.story-comment-form h3 { margin: 5px 0; font-size: 1.15rem; }
.story-comment-form > p { margin: 0 0 16px; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.story-comment-form form { display: grid; gap: 11px; }
.story-comment-form label { display: grid; gap: 7px; color: #cbd9ce; font-size: .73rem; font-weight: 800; }
.story-comment-form textarea { width: 100%; padding: 12px; resize: vertical; border: 1px solid rgba(255,255,255,.09); border-radius: 11px; color: var(--text); background: #07110c; font: inherit; font-size: .84rem; line-height: 1.65; outline: none; }
.story-comment-form textarea:focus { border-color: rgba(114,255,143,.4); box-shadow: 0 0 0 3px rgba(114,255,143,.05); }
.story-comment-form button, .story-comment-form > a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 15px; border: 0; border-radius: 10px; color: #06130a; background: var(--green); font: inherit; font-size: .78rem; font-weight: 900; cursor: pointer; }
.story-comment-form > a + a { margin-top: 8px; }
.story-comment-form > a.is-secondary { border: 1px solid rgba(255,255,255,.1); color: var(--text); background: rgba(255,255,255,.035); }

@media (max-width: 850px) {
    .story-comments__layout { grid-template-columns: 1fr; }
    .story-comment-form { position: relative; top: auto; }
}

@media (max-width: 620px) {
    .story-comments { padding: 60px 0 80px; }
    .story-comments__inner > header { align-items: flex-start; flex-direction: column; }
    .story-comment-list > article { padding: 15px; }
    .story-comment-list > article.is-reply { margin-left: 20px; }
    .story-comment-list article header { align-items: flex-start; flex-direction: column; gap: 3px; }
}
