/* Blog yazıları (ortak) */
.post-hero{padding-bottom:clamp(7rem,5rem + 6vw,10rem)}
.post-hero .page-hero__title{max-width:22ch;font-size:clamp(2.05rem,1.3rem + 2.7vw,3.35rem)}
.post-hero .lead{max-width:62ch}
.post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem;margin-top:var(--s6);font-size:.9rem;font-weight:600;color:var(--on-dark-2)}
.post-meta__author{display:flex;align-items:center;gap:.65rem;color:#fff;font-weight:700}
.post-meta__av{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--g800);box-shadow:inset 0 0 0 1px rgba(200,241,105,.4);flex:none}
.post-meta__av img{width:22px;height:22px}
.post-meta__author small{display:block;font-weight:600;color:var(--on-dark-3);font-size:.78rem}
.post-meta > span:not(.post-meta__author){display:inline-flex;align-items:center;gap:.45em}
.post-meta .ic{width:1.05em;height:1.05em;color:var(--lime)}

/* kapak */
.post-cover{position:relative;border-radius:var(--r-xl);overflow:hidden;box-shadow:var(--sh-xl);aspect-ratio:21/9;background:var(--g900)}
.post-cover > picture,.post-cover > picture img{display:block;width:100%;height:100%;object-fit:cover}
.post-cover__tags{position:absolute;left:clamp(1rem,.5rem + 2vw,2rem);bottom:clamp(1rem,.5rem + 2vw,2rem);display:flex;flex-wrap:wrap;gap:.5rem;max-width:calc(100% - 2rem)}
@media (max-width:639.98px){.post-cover{aspect-ratio:4/3}.post-cover__tags .seo-tag:nth-child(n+3){display:none}}

/* AI yanıtı illüstrasyonu (AI SEO kapağı) */
.ai-cover{display:grid;place-items:center;padding:clamp(1rem,.5rem + 3vw,3rem);background:radial-gradient(60% 80% at 80% 10%,rgba(22,168,110,.45),transparent 70%),radial-gradient(50% 60% at 0% 100%,rgba(200,241,105,.12),transparent 70%),linear-gradient(160deg,var(--g800),var(--g950))}
.ai-cover .bg-grid{z-index:0}
.ai-chat{position:relative;z-index:1;width:min(100%,780px);display:grid;gap:clamp(.6rem,.4rem + .6vw,1.1rem);font-size:clamp(.78rem,.55rem + .7vw,1.2rem);margin-bottom:clamp(0rem,-1rem + 3vw,2rem)}
.ai-chat__q{justify-self:end;max-width:82%;padding:.8em 1.1em;border-radius:18px 18px 4px 18px;background:var(--lime);color:var(--g950);font-weight:700;line-height:1.4;box-shadow:0 12px 30px -12px rgba(200,241,105,.5)}
.ai-chat__a{max-width:92%;padding:1em 1.15em;border-radius:18px 18px 18px 4px;background:rgba(255,255,255,.97);color:var(--ink);line-height:1.5;box-shadow:var(--sh-xl)}
.ai-chat__h{display:flex;align-items:center;gap:.45em;font-weight:800;font-size:.85em;color:var(--g700);margin-bottom:.4em}
.ai-chat__h .ic{width:1.2em;height:1.2em;color:var(--g500)}
.ai-chat__a p{color:var(--ink-2);font-weight:500}
.ai-chat__src{display:flex;flex-wrap:wrap;gap:.4em;margin-top:.7em}
.ai-chat__src span{display:inline-flex;align-items:center;gap:.35em;padding:.3em .7em;border-radius:var(--r-pill);background:var(--g50);box-shadow:inset 0 0 0 1px var(--line);font-weight:800;font-size:.82em;color:var(--g700)}
.ai-chat__src span:first-child{background:var(--g900);color:var(--lime);box-shadow:none}
.ai-chat__src .ic{width:1em;height:1em}
.ai-chat__typing{display:flex;gap:4px;padding:.2em 0}
@media (max-width:539.98px){.ai-chat__q,.ai-chat__a{max-width:100%}}

/* yerleşim */
.post-body{padding-top:clamp(2.5rem,1.5rem + 3vw,4.5rem)}
.post-layout{display:grid;gap:var(--s7);align-items:start}
@media (min-width:1120px){.post-layout{grid-template-columns:250px minmax(0,72ch);justify-content:center;column-gap:clamp(3rem,2rem + 3vw,5rem)}}

/* içindekiler */
.toc{border-radius:var(--r-lg);background:var(--g50);border:1px solid var(--line);padding:1.25rem 1.35rem}
.toc__t{display:flex;align-items:center;gap:.5rem;font-size:var(--fs-xs);font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--g700);margin-bottom:.75rem}
.toc__t .ic{width:16px;height:16px}
.toc ol{list-style:none;padding:0;margin:0;counter-reset:toc;display:grid;gap:.1rem}
.toc li{counter-increment:toc}
.toc a{display:grid;grid-template-columns:1.9em 1fr;gap:.2rem;padding:.38rem .5rem;border-radius:8px;font-size:.9rem;font-weight:600;line-height:1.4;color:var(--ink-2);text-decoration:none;transition:background-color .2s,color .2s}
.toc a::before{content:counter(toc,decimal-leading-zero);font-weight:800;font-size:.78rem;color:var(--g500);padding-top:.12em}
.toc a:hover{background:#fff;color:var(--g700)}
.toc a.is-active{background:#fff;color:var(--g700);box-shadow:var(--sh-xs)}
@media (min-width:1120px){.toc{position:sticky;top:calc(var(--header-h) + 1.5rem);max-height:calc(100vh - var(--header-h) - 3rem);overflow:auto}}
@media (max-width:1119.98px){.toc{max-width:72ch}}

/* makale */
.article{min-width:0}
.article.prose{max-width:72ch}
.article > p:first-child{font-size:1.2rem;line-height:1.65;color:var(--ink)}
.article h2{scroll-margin-top:calc(var(--header-h) + 1.5rem);letter-spacing:-.03em}
.article h3{scroll-margin-top:calc(var(--header-h) + 1.5rem)}
.article strong{color:var(--ink)}
.article ul,.article ol{padding-left:1.25em}

.callout{display:grid;grid-template-columns:40px 1fr;gap:.25rem 1rem;padding:1.15rem 1.25rem;border-radius:var(--r-md);background:var(--g50);border:1px solid var(--g100);margin-top:1.6em!important;margin-bottom:.4em}
.callout__ic{grid-row:span 2;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--lime);color:var(--g950)}
.callout__ic .ic{width:20px;height:20px}
.callout__t{font-weight:800;color:var(--ink);font-size:.95rem;letter-spacing:-.01em}
.callout p:last-child{font-size:.98rem;line-height:1.65}
.callout--warn{background:#fbfcf3;border-color:#e8f0c8}
.callout--warn .callout__ic{background:var(--g900);color:var(--lime)}

.checkbox{padding:1.35rem 1.4rem;border-radius:var(--r-lg);border:1.5px dashed var(--g200);background:#fff;margin-top:1.6em!important}
.checkbox__t{display:flex;align-items:center;gap:.5rem;font-weight:800;color:var(--g700);font-size:.8rem;letter-spacing:.12em;text-transform:uppercase}
.checkbox__t .ic{width:18px;height:18px}
.prose .checks{list-style:none;padding:0;margin-top:.8rem;display:grid;gap:.55rem}
.prose .checks li{position:relative;padding-left:2rem;line-height:1.55;margin:0}
.prose .checks li::before{content:"";position:absolute;left:0;top:.15em;width:1.25rem;height:1.25rem;border-radius:6px;box-shadow:inset 0 0 0 2px var(--g500);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f8558' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat}

.codeblock{border-radius:var(--r-md);overflow:hidden;background:#0b1f17;box-shadow:var(--sh-md);margin-top:1.4em!important}
.codeblock__bar{display:flex;align-items:center;gap:.5rem;padding:.6rem 1rem;background:#0f2a1f;border-bottom:1px solid rgba(255,255,255,.06);font-size:.78rem;font-weight:800;letter-spacing:.06em;color:var(--on-dark-3)}
.codeblock__bar i{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.18)}
.codeblock__bar b{margin-left:.35rem;color:var(--lime);font-weight:800}
.codeblock pre{margin:0;padding:1rem 1.15rem;overflow-x:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.84rem;line-height:1.65;color:#d7efe2;tab-size:2}
.codeblock code{background:none;border:0;padding:0;font-size:inherit;color:inherit}
.codeblock .k{color:#9fd8bd}.codeblock .s{color:#e4f7b0}.codeblock .c{color:#6f9583}
.codeblock__cap{padding:.55rem 1rem;font-size:.8rem;color:var(--on-dark-3);border-top:1px solid rgba(255,255,255,.06)}

.prose table{border:1px solid var(--line);border-radius:var(--r-sm);overflow:hidden;display:block;overflow-x:auto}
.prose table th{white-space:nowrap}

/* Acenta Center kutusu */
.ac-box{position:relative;isolation:isolate;overflow:hidden;margin-top:2.6em!important;padding:clamp(1.4rem,1rem + 1.8vw,2.4rem);border-radius:var(--r-xl);background:linear-gradient(155deg,var(--g800),var(--g950));color:#fff;box-shadow:var(--sh-lg);--focus:var(--lime)}
.ac-box::before{content:"";position:absolute;z-index:-1;right:-20%;top:-50%;width:70%;height:140%;background:radial-gradient(closest-side,rgba(22,168,110,.45),transparent)}
.ac-box__brand{display:flex;align-items:center;gap:.6rem;font-size:.8rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--lime)}
.ac-box__brand img{width:26px;height:26px;border-radius:7px}
.prose .ac-box h2{margin-top:.6rem;color:#fff;font-size:clamp(1.4rem,1.15rem + 1vw,1.9rem)}
.ac-box > * + *{margin-top:.75rem}
.ac-box > p{color:var(--on-dark-2)}
.ac-box__grid{display:grid;gap:1rem;margin-top:1.2rem}
@media (min-width:640px){.ac-box__grid{grid-template-columns:1.25fr 1fr}}
.ac-box__col{padding:1rem 1.1rem;border-radius:var(--r-md);background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.ac-box__col b{display:block;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--lime);margin-bottom:.55rem}
.ac-box__col ul{list-style:none;padding:0;margin:0;display:grid;gap:.4rem;font-size:.94rem;line-height:1.45;color:var(--on-dark-2)}
.ac-box__col li{position:relative;padding-left:1.45rem;margin:0}
.ac-box__col li::before{content:"";position:absolute;left:0;top:.2em;width:1rem;height:1rem;border-radius:50%;background:rgba(200,241,105,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8f169' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/64% no-repeat}
.ac-box__col--you li::before{background:rgba(255,255,255,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/60% no-repeat}
.ac-box .actions{margin-top:1.4rem}
.prose .ac-box a.btn{color:var(--g950);font-weight:700}
.prose .ac-box a.btn--ghost{color:#fff}

/* yazar + ilgili yazı */
.post-end{display:grid;gap:var(--gap);margin-top:clamp(3rem,2rem + 3vw,4.5rem)}
@media (min-width:860px){.post-end{grid-template-columns:1fr 1fr}}
.author-box{display:flex;gap:1rem;align-items:flex-start;padding:1.4rem;border-radius:var(--r-lg);background:var(--g50);border:1px solid var(--line)}
.author-box__av{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:var(--g900);flex:none}
.author-box__av img{width:30px;height:30px}
.author-box b{display:block;font-size:1.05rem;font-weight:800}
.author-box p{color:var(--muted);font-size:.93rem;margin-top:.3rem}
.related{display:grid;grid-template-columns:96px 1fr;gap:1rem;align-items:center;padding:1rem;border-radius:var(--r-lg);border:1px solid var(--line);background:#fff;text-decoration:none;color:var(--ink);box-shadow:var(--sh-sm);transition:transform .3s var(--ease),box-shadow .3s var(--ease)}
.related:hover{transform:translateY(-3px);box-shadow:var(--sh-md)}
.related__media{aspect-ratio:1;border-radius:12px;overflow:hidden;background:linear-gradient(150deg,var(--g700),var(--g950));display:grid;place-items:center;color:var(--lime)}
.related__media picture,.related__media img{width:100%;height:100%;object-fit:cover}
.related__media .ic{width:36px;height:36px}
.related small{display:block;font-size:.75rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--g600)}
.related b{display:block;font-size:1.05rem;font-weight:800;letter-spacing:-.015em;line-height:1.3;margin-top:.25rem}
.related span.card__link{padding-top:.35rem;font-size:.88rem}

/* okuma ilerleme çubuğu */
.read-bar{position:fixed;left:0;top:0;z-index:120;height:3px;width:100%;transform-origin:left;transform:scaleX(0);background:linear-gradient(90deg,var(--g500),var(--lime));pointer-events:none}
@media (max-width:639.98px){.ai-cover .post-cover__tags{display:none}}
