/* =========================================================
   BLOG ARTICLE
========================================================= */

.article-page{
    padding-bottom:120px;
}


/* =========================================================
   ARTICLE HEADER
========================================================= */

.article-header{
    max-width:900px;
    padding-top:55px;
    padding-bottom:55px;
}

.article-category{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--accent);
    font-size:8px;
    font-weight:700;
    letter-spacing:.14em;
}

.article-category::before{
    content:"";
    width:6px;
    height:6px;
    flex:0 0 6px;
    border-radius:50%;
    background:var(--accent);
}

.article-header h1{
    max-width:900px;
    margin:18px 0 0;
    font-family:"Manrope",sans-serif;
    font-size:clamp(42px,6vw,76px);
    line-height:.98;
    letter-spacing:-.065em;
}

.article-header h1 span{
    color:var(--accent);
}

.article-lead{
    max-width:760px;
    margin-top:28px;
    color:var(--text-muted);
    font-size:14px;
    line-height:1.9;
}

.article-meta-row{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
    margin-top:25px;
    color:var(--text-muted);
    font-size:9px;
    letter-spacing:.03em;
}


/* =========================================================
   ARTICLE LAYOUT
========================================================= */

.article-layout{
    display:grid;
    grid-template-columns:220px minmax(0,820px);
    gap:65px;
    align-items:start;
}

.article-sidebar{
    min-width:0;
}

.toc{
    position:sticky;
    top:105px;
    display:flex;
    flex-direction:column;
    gap:3px;
    padding:20px 0;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
}

.toc strong{
    margin-bottom:9px;
    color:#fff;
    font-size:9px;
    line-height:1.4;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.toc a{
    display:block;
    padding:7px 0;
    color:var(--text-muted);
    font-size:9px;
    line-height:1.5;
    text-decoration:none;
    transition:padding-left .2s ease,color .2s ease;
}

.toc a:hover{
    padding-left:4px;
    color:var(--accent);
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.article-content{
    min-width:0;
    width:100%;
    max-width:820px;
}

.article-content section{
    scroll-margin-top:120px;
    margin:0 0 70px;
}

.article-content section:last-child{
    margin-bottom:0;
}

.article-content h2{
    margin:0 0 20px;
    color:#fff;
    font-family:"Manrope",sans-serif;
    font-size:clamp(28px,4vw,42px);
    line-height:1.08;
    letter-spacing:-.05em;
}

.article-content h3{
    margin:32px 0 12px;
    color:#fff;
    font-family:"Manrope",sans-serif;
    font-size:21px;
    line-height:1.2;
    letter-spacing:-.03em;
}

.article-content p{
    margin:0 0 18px;
    color:var(--text-muted);
    font-size:12px;
    line-height:1.95;
}

.article-content p:last-child{
    margin-bottom:0;
}

.article-content ul,
.article-content ol{
    margin:20px 0 25px;
    padding-left:22px;
}

.article-content li{
    margin-bottom:9px;
    color:var(--text-muted);
    font-size:12px;
    line-height:1.8;
}

.article-content strong{
    color:#fff;
}

.article-content a{
    color:var(--accent);
    text-decoration:underline;
    text-decoration-thickness:1px;
    text-underline-offset:3px;
}

.article-content a:hover{
    text-decoration:none;
}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.article-featured-image{
    width:100%;
    max-width:820px;
    margin:0 0 65px;
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:14px;
    background:#091524;
}

.article-featured-image img{
    display:block;
    width:100%;
    height:auto;
    max-width:100%;
    aspect-ratio:1200 / 630;
    object-fit:cover;
}


/* =========================================================
   HIGHLIGHT
========================================================= */

.article-highlight{
    margin:28px 0;
    padding:24px 26px;
    border-left:2px solid var(--accent);
    background:rgba(255,255,255,.025);
}

.article-highlight strong{
    display:block;
    margin-bottom:8px;
    color:var(--accent);
    font-size:10px;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.article-highlight p{
    margin:0;
}


/* =========================================================
   QUESTION BOX
========================================================= */

.article-question{
    margin:28px 0;
    padding:24px 26px;
    border:1px solid var(--border);
    border-radius:8px;
    background:rgba(255,255,255,.018);
    color:#fff;
    font-family:"Manrope",sans-serif;
    font-size:17px;
    line-height:1.45;
}


/* =========================================================
   CODE EXAMPLE
========================================================= */

.code-example{
    width:100%;
    margin:24px 0;
    padding:18px 20px;
    overflow-x:auto;
    border:1px solid var(--border);
    border-radius:8px;
    background:#09121f;
    color:var(--accent);
    font-family:Consolas,"Courier New",monospace;
    font-size:11px;
    line-height:1.7;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
}


/* =========================================================
   CHECKLIST
========================================================= */

.checklist{
    display:grid;
    gap:8px;
    margin-top:25px;
}

.checklist > div{
    display:grid;
    grid-template-columns:40px minmax(0,1fr);
    gap:14px;
    align-items:center;
    min-width:0;
    padding:15px 16px;
    border:1px solid var(--border);
    border-radius:8px;
    background:rgba(255,255,255,.012);
}

.checklist span{
    color:var(--accent);
    font-size:8px;
    font-weight:700;
}

.checklist strong{
    min-width:0;
    color:#fff;
    font-size:11px;
    line-height:1.5;
}


/* =========================================================
   CTA
========================================================= */

.article-cta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
    margin:80px 0;
    padding:42px;
    border:1px solid var(--border);
    border-radius:12px;
    background:#091524;
}

.article-cta > div{
    max-width:680px;
}

.article-cta > div > span{
    color:var(--accent);
    font-size:8px;
    font-weight:700;
    letter-spacing:.12em;
}

.article-cta h2{
    margin:12px 0 0;
    color:#fff;
    font-family:"Manrope",sans-serif;
    font-size:clamp(27px,4vw,42px);
    line-height:1.05;
    letter-spacing:-.05em;
}

.article-cta p{
    margin:15px 0 0;
    color:var(--text-muted);
    font-size:11px;
    line-height:1.8;
}


/* =========================================================
   FAQ
========================================================= */

.article-faq{
    margin-top:90px;
}

.article-faq > h2{
    margin-bottom:25px;
}

.article-faq details{
    border-top:1px solid var(--border);
}

.article-faq details:last-child{
    border-bottom:1px solid var(--border);
}

.article-faq summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:20px 0;
    cursor:pointer;
    list-style:none;
    color:#fff;
    font-size:12px;
    font-weight:600;
}

.article-faq summary::-webkit-details-marker{
    display:none;
}

.article-faq summary span{
    flex:0 0 auto;
    color:var(--accent);
    font-size:17px;
    font-weight:400;
    transition:transform .2s ease;
}

.article-faq details[open] summary span{
    transform:rotate(45deg);
}

.article-faq details p{
    padding:0 35px 20px 0;
}


/* =========================================================
   RELATED ARTICLES
========================================================= */

.related-articles{
    margin-top:90px;
}

.related-articles > h2{
    margin-bottom:25px;
    color:#fff;
    font-family:"Manrope",sans-serif;
    font-size:28px;
    line-height:1.1;
    letter-spacing:-.04em;
}

.related-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}

.related-grid a{
    display:flex;
    min-height:170px;
    flex-direction:column;
    justify-content:space-between;
    min-width:0;
    padding:22px;
    border:1px solid var(--border);
    border-radius:10px;
    color:inherit;
    text-decoration:none;
    transition:transform .2s ease,border-color .2s ease;
}

.related-grid a:hover{
    border-color:rgba(98,230,193,.35);
    transform:translateY(-2px);
}

.related-grid a span{
    color:var(--accent);
    font-size:8px;
    letter-spacing:.12em;
}

.related-grid a strong{
    margin-top:auto;
    color:#fff;
    font-family:"Manrope",sans-serif;
    font-size:14px;
    line-height:1.4;
}

.related-grid a small{
    margin-top:18px;
    color:var(--text-muted);
    font-size:9px;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.article-breadcrumb{
    margin-top:0;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:950px){

    .article-layout{
        grid-template-columns:1fr;
        gap:40px;
    }

    .article-content{
        order:1;
        max-width:820px;
    }

    .article-sidebar{
        order:2;
    }

    .toc{
        position:static;
    }

    .related-grid{
        grid-template-columns:1fr 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:700px){

    .article-page{
        padding-bottom:80px;
    }

    .article-header{
        padding-top:35px;
        padding-bottom:40px;
    }

    .article-header h1{
        font-size:clamp(38px,11vw,58px);
    }

    .article-lead{
        margin-top:22px;
        font-size:12px;
        line-height:1.85;
    }

    .article-meta-row{
        margin-top:20px;
    }

    .article-content section{
        margin-bottom:55px;
    }

    .article-content h2{
        font-size:32px;
    }

    .article-content h3{
        font-size:19px;
    }

    .article-content p,
    .article-content li{
        font-size:11px;
    }

    .article-featured-image{
        margin-bottom:45px;
        border-radius:10px;
    }

    .article-question{
        padding:20px;
        font-size:15px;
    }

    .article-highlight{
        padding:20px;
    }

    .checklist > div{
        grid-template-columns:34px minmax(0,1fr);
        gap:10px;
        padding:13px 14px;
    }

    .article-cta{
        flex-direction:column;
        align-items:flex-start;
        gap:25px;
        margin:60px 0;
        padding:28px;
    }

    .article-cta .btn{
        width:100%;
    }

    .article-faq{
        margin-top:65px;
    }

    .related-articles{
        margin-top:65px;
    }

    .related-grid{
        grid-template-columns:1fr;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:420px){

    .article-header h1{
        font-size:38px;
    }

    .article-featured-image{
        margin-bottom:35px;
    }

    .toc{
        padding:17px 0;
    }

}

/* =========================================================
   ARTICLE BREADCRUMB
========================================================= */

.article-breadcrumb {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: min(calc(100% - 48px), 1200px);
    margin: 0 auto;
    padding-top: 135px; /* Fixed Header'ın altından başlamasını sağlar */
    padding-bottom: 15px;
    color: var(--text-muted, #7890a8);
    font-size: 11px;
    line-height: 1.5;
}

.article-breadcrumb a {
    color: var(--text-muted, #7890a8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
    color: var(--accent, #62e6c1);
}

.article-breadcrumb span {
    color: rgba(255, 255, 255, 0.25);
}

.article-breadcrumb span[aria-current="page"] {
    color: #ffffff;
    font-weight: 500;
}

@media (max-width: 760px) {
    .article-breadcrumb {
        width: calc(100% - 32px);
        padding-top: 100px;
        font-size: 9px;
    }
}

/* =========================================================
   HEADER VE SAYFA BOŞLUĞU DÜZELTMESİ
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(9, 21, 36, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Tüm içeriği header'ın altından başlatır */
body {
    padding-top: 90px;
}

/* =========================================================
   BREADCRUMB & MAKALE BAŞLIK HİZALAMASI
========================================================= */

.article-breadcrumb {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: min(calc(100% - 48px), 1200px);
    margin: 0 auto;
    padding-top: 25px;
    padding-bottom: 15px;
    color: var(--text-muted, #7890a8);
    font-size: 11px;
    line-height: 1.5;
}

.article-breadcrumb a {
    color: var(--text-muted, #7890a8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
    color: var(--accent, #62e6c1);
}

.article-breadcrumb span {
    color: rgba(255, 255, 255, 0.25);
}

.article-breadcrumb strong {
    color: #ffffff;
    font-weight: 500;
}

.article-header {
    margin-top: 15px;
    padding-bottom: 30px;
}

@media (max-width: 760px) {
    body {
        padding-top: 75px;
    }

    .article-breadcrumb {
        width: calc(100% - 32px);
        padding-top: 15px;
        padding-bottom: 10px;
        font-size: 9px;
    }
}