/* adem.config teması */

:root {
    --ghost-accent-color: #1972ff;
    --accent: var(--ghost-accent-color, #1972ff);
    --bg: #f7f8fa;
    --surface: #ffffff;
    --surface-2: #f1f3f7;
    --text: #0f172a;
    --text-2: #3b4658;
    --muted: #6b7587;
    --border: #e4e8ef;
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
    --shadow-hover: 0 2px 4px rgba(15, 23, 42, .05), 0 22px 40px -18px rgba(15, 23, 42, .28);
    --code-bg: #0d1117;
    --code-bar: #161b22;
    --code-text: #e6edf3;
    --inline-code-bg: #eef2f8;
    --inline-code-text: #c2255c;
    --radius: 14px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --wrap: 1180px;
    --narrow: 740px;
}

html.dark {
    --bg: #0b0f17;
    --surface: #121823;
    --surface-2: #19202d;
    --text: #e8edf5;
    --text-2: #b7c1d1;
    --muted: #8591a5;
    --border: #232c3b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .5);
    --shadow-hover: 0 2px 4px rgba(0, 0, 0, .3), 0 22px 40px -18px rgba(0, 0, 0, .7);
    --code-bg: #0a0e14;
    --code-bar: #111722;
    --inline-code-bg: #1c2433;
    --inline-code-text: #ff8fb1;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--gh-font-body, var(--font));
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.ac-mono { font-family: var(--mono); }
.viewport { min-height: 100vh; display: flex; flex-direction: column; }
.site-content { flex: 1; }

.ac-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ac-wrap-narrow { width: 100%; max-width: calc(var(--narrow) + 48px); margin: 0 auto; padding: 0 24px; }
.ac-wrap-wide { width: 100%; max-width: 1100px; margin-left: auto; margin-right: auto; padding: 0 24px; }

/* ---------- Butonlar ---------- */
.ac-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
    background: var(--accent); color: #fff; font-weight: 600; font-size: 15px;
    cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.ac-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px var(--accent); }
.ac-btn-sm { padding: 7px 14px; font-size: 14px; }
.ac-btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.ac-btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.ac-icon-btn {
    display: inline-grid; place-items: center; width: 38px; height: 38px;
    border-radius: 10px; border: 0; background: transparent; color: var(--text-2); cursor: pointer;
    transition: background .15s, color .15s;
}
.ac-icon-btn:hover { background: var(--surface-2); color: var(--text); }
.ac-icon-btn svg { width: 19px; height: 19px; }

/* ---------- Üst bar ---------- */
.ac-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.ac-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #22d3ee); transform: scaleX(0); transform-origin: 0 50%; }
.ac-head {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.ac-head.is-scrolled { border-bottom-color: var(--border); }
.ac-head-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.ac-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.ac-brand-icon { width: 32px; height: 32px; border-radius: 8px; }
html.dark .ac-brand-icon { filter: invert(1); }
.ac-brand-text { font-family: var(--mono); font-weight: 700; }
.ac-nav { flex: 1; }
.ac-nav .nav { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ac-nav .nav a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--text-2); transition: background .15s, color .15s; }
.ac-nav .nav a:hover { color: var(--text); background: var(--surface-2); }
.ac-nav .nav-current a { color: var(--accent); }
.ac-head-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.ac-moon { display: none; }
html.dark .ac-sun { display: none; }
html.dark .ac-moon { display: block; }
.ac-burger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.ac-burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.ac-menu-open .ac-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.ac-menu-open .ac-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.ac-hero {
    position: relative; overflow: hidden; color: #e8edf5;
    background: #0a101c;
    padding: 72px 0 80px;
    margin-top: -68px; padding-top: 140px;
}
.ac-hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(600px 300px at 15% 20%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%),
        radial-gradient(520px 320px at 90% 80%, rgba(34, 211, 238, .22), transparent 70%),
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 32px 32px;
    -webkit-mask-image: linear-gradient(#000 60%, transparent);
            mask-image: linear-gradient(#000 60%, transparent);
}
.home-template:not(.paged) .ac-head:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home-template:not(.paged) .ac-head:not(.is-scrolled) .ac-brand,
.home-template:not(.paged) .ac-head:not(.is-scrolled) .ac-nav .nav a,
.home-template:not(.paged) .ac-head:not(.is-scrolled) .ac-icon-btn { color: #e8edf5; }
.home-template:not(.paged) .ac-head:not(.is-scrolled) .ac-nav .nav a:hover,
.home-template:not(.paged) .ac-head:not(.is-scrolled) .ac-icon-btn:hover { background: rgba(255,255,255,.08); }
.home-template:not(.paged) .ac-head:not(.is-scrolled) .ac-brand-icon { filter: invert(1); }

.ac-hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.ac-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; letter-spacing: .04em; color: #9fb3d1; }
.ac-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.ac-hero-title {
    margin: 0; font-family: var(--mono); font-weight: 700; letter-spacing: -.04em;
    font-size: clamp(42px, 6vw, 72px); line-height: 1.02;
    background: linear-gradient(120deg, #fff 30%, #9cc2ff 70%, #67e8f9);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ac-hero-desc { margin: 20px 0 26px; max-width: 520px; font-size: 19px; line-height: 1.55; color: #c3cee0; }
.ac-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    font-size: 14px; font-weight: 500; color: #e8edf5; transition: background .15s, border-color .15s;
}
.ac-chip span { font-family: var(--mono); font-size: 12px; color: #8fa3c2; }
.ac-chip:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.ac-hero-stats { margin: 24px 0 0; font-size: 13px; color: #7f91ad; }

/* Terminal kartı */
.ac-term {
    border-radius: 14px; overflow: hidden;
    background: rgba(13, 17, 23, .88); border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.2);
    backdrop-filter: blur(8px);
}
.ac-term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.07); }
.ac-term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.ac-term-bar i:nth-child(2) { background: #febc2e; }
.ac-term-bar i:nth-child(3) { background: #28c840; }
.ac-term-bar span { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: #8b97ab; }
.ac-term-body { padding: 18px 20px 20px; font-size: 13.5px; line-height: 1.75; color: #c9d4e5; }
.ac-term-body p { margin: 0; }
.ac-p { color: #34d399; margin-right: 6px; }
.ac-term-line { display: block; padding: 3px 8px; margin: 0 -8px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #e6edf3; transition: background .15s; }
.ac-term-line:hover { background: rgba(255,255,255,.07); }
.ac-term-tag { color: #79c0ff; }
.ac-caret { display: inline-block; width: 8px; height: 16px; background: #c9d4e5; vertical-align: -3px; animation: ac-blink 1.1s steps(1) infinite; }
@keyframes ac-blink { 50% { opacity: 0; } }

/* ---------- Akış ---------- */
.ac-main { padding: 56px 0 80px; }
.ac-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ac-section-head h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.ac-section-head span { font-size: 13px; color: var(--muted); }
.ac-feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

.ac-card {
    display: flex; flex-direction: column; min-width: 0;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.ac-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.ac-card-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.ac-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ac-card:hover .ac-card-media img, .ac-card:hover .ac-fb-glyph { transform: scale(1.04); }
.ac-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.ac-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ac-tag {
    display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px;
    font-size: 12px; font-weight: 600; letter-spacing: .01em;
    background: color-mix(in srgb, var(--accent) 11%, transparent); color: var(--accent);
}
.ac-tag-linux { background: rgba(245, 158, 11, .14); color: #b45309; }
.ac-tag-kubernetes, .ac-tag-k8s { background: rgba(50, 108, 229, .13); color: #326ce5; }
.ac-tag-devops { background: rgba(16, 185, 129, .14); color: #047857; }
.ac-tag-star { background: rgba(244, 63, 94, .12); color: #e11d48; }
html.dark .ac-tag-linux { color: #fbbf24; }
html.dark .ac-tag-kubernetes { color: #8fb1ff; }
html.dark .ac-tag-devops { color: #34d399; }
.ac-card-title { margin: 0 0 10px; font-size: 19px; line-height: 1.32; font-weight: 700; letter-spacing: -.015em; }
.ac-card-title a { background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
.ac-card:hover .ac-card-title a { background-size: 100% 2px; }
.ac-card-title a::after { content: ""; position: absolute; inset: 0; }
.ac-card { position: relative; }
.ac-card-excerpt { margin: 0 0 16px; color: var(--text-2); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ac-card-foot { margin-top: auto; display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); }

/* Öne çıkan ilk kart */
.ac-feed-home > .ac-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.ac-feed-home > .ac-card:first-child .ac-card-media { aspect-ratio: auto; min-height: 340px; }
.ac-feed-home > .ac-card:first-child .ac-card-body { padding: 40px 44px; justify-content: center; }
.ac-feed-home > .ac-card:first-child .ac-card-title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -.025em; }
.ac-feed-home > .ac-card:first-child .ac-card-excerpt { font-size: 17px; -webkit-line-clamp: 4; }
.ac-feed-home > .ac-card:first-child .ac-card-foot { margin-top: 8px; }

/* Görselsiz yazılar için kapak */
.ac-fallback {
    position: absolute; inset: 0; overflow: hidden; color: #fff;
    background: linear-gradient(135deg, #0f1b33 0%, #16325e 55%, #1972ff 130%);
}
.ac-fb-linux { background: linear-gradient(135deg, #1a1208 0%, #3a2408 50%, #d97706 140%); }
.ac-fb-kubernetes, .ac-fb-k8s { background: linear-gradient(135deg, #0b1630 0%, #17306b 50%, #326ce5 130%); }
.ac-fb-devops { background: linear-gradient(135deg, #04201a 0%, #064e3b 50%, #10b981 140%); }
.ac-fb-grid {
    position: absolute; inset: 0;
    background:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 24px 24px,
        linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 24px 24px;
    -webkit-mask-image: radial-gradient(circle at 80% 20%, #000, transparent 75%);
            mask-image: radial-gradient(circle at 80% 20%, #000, transparent 75%);
}
.ac-fb-inner { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.ac-fb-prompt { font-size: 12px; color: rgba(255,255,255,.7); }
.ac-fb-title { font-size: 15px; font-weight: 700; line-height: 1.35; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ac-fb-glyph { position: absolute; top: 10px; right: 20px; font-size: 64px; font-weight: 700; color: rgba(255,255,255,.16); transition: transform .5s ease; }
.ac-feed-home > .ac-card:first-child .ac-fb-glyph { font-size: 120px; top: 16px; right: 32px; }
.ac-feed-home > .ac-card:first-child .ac-fb-inner { left: 36px; bottom: 32px; right: 36px; }
.ac-feed-home > .ac-card:first-child .ac-fb-title { font-size: 22px; -webkit-line-clamp: 3; }
.ac-feed-home > .ac-card:first-child .ac-fb-prompt { font-size: 14px; }

/* Sayfalama */
.ac-pagination { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; font-size: 14px; color: var(--muted); }

/* Arşiv başlığı (etiket/yazar) */
.ac-archive-head { position: relative; color: #fff; background: linear-gradient(135deg, #0f1b33, #16325e 60%, #1972ff 140%); padding: 64px 0 56px; }
.ac-archive-head h1 { margin: 0 0 8px; font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; }
.ac-archive-head p { margin: 0; max-width: 620px; font-size: 17px; color: rgba(255,255,255,.8); }
.ac-archive-head .ac-kicker { color: rgba(255,255,255,.7); margin-bottom: 12px; }
.ac-author-head { text-align: center; }
.ac-author-head p { margin: 0 auto; }
.ac-author-pic { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 3px solid rgba(255,255,255,.3); }
.ac-author-links { display: flex; justify-content: center; gap: 16px; margin-top: 12px !important; font-size: 13px; }
.ac-author-links a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Yazı ---------- */
.ac-article-head { padding: 48px 0 8px; }
.ac-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.ac-crumbs a:hover { color: var(--accent); }
.ac-crumb-cur { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.ac-article-title { margin: 6px 0 16px; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.14; font-weight: 800; letter-spacing: -.03em; }
.ac-article-excerpt { margin: 0 0 24px; font-size: 20px; line-height: 1.55; color: var(--text-2); }
.ac-byline { display: flex; align-items: center; gap: 12px; padding: 16px 0 8px; border-top: 1px solid var(--border); }
.ac-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; font-weight: 700; flex: none; }
.ac-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ac-avatar span { font-size: 0; }
.ac-avatar span::first-letter { font-size: 18px; }
.ac-byline-name { font-weight: 600; font-size: 15px; }
.ac-byline-name a:hover { color: var(--accent); }
.ac-byline-meta { display: flex; gap: 8px; font-size: 13px; color: var(--muted); }
.ac-article-image { margin: 28px auto 0; }
.ac-article-image img { width: 100%; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); max-height: 560px; object-fit: cover; }
.ac-article-image figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: var(--muted); }

.ac-article-layout { position: relative; }
.ac-toc { display: none; }
@media (min-width: 1280px) {
    .has-toc .ac-toc {
        display: block; position: absolute; top: 0; bottom: 0;
        left: calc(50% + var(--narrow) / 2 + 24px); width: 240px;
    }
    .ac-toc-title { position: sticky; top: 96px; margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
    .ac-toc-list { position: sticky; top: 124px; display: flex; flex-direction: column; border-left: 1px solid var(--border); max-height: calc(100vh - 160px); overflow: auto; }
    .ac-toc-list a { padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.4; color: var(--muted); transition: color .15s, border-color .15s; }
    .ac-toc-list a.lvl-h3 { padding-left: 26px; font-size: 13px; }
    .ac-toc-list a:hover { color: var(--text); }
    .ac-toc-list a.active { color: var(--accent); border-left-color: var(--accent); }
}

/* İçerik tipografisi */
.gh-canvas, .ac-content {
    display: grid;
    grid-template-columns: [full-start] minmax(24px, 1fr) [wide-start] minmax(0, 120px) [main-start] min(var(--narrow), calc(100% - 48px)) [main-end] minmax(0, 120px) [wide-end] minmax(24px, 1fr) [full-end];
}
.gh-canvas > * { grid-column: main-start / main-end; }
.kg-width-wide { grid-column: wide-start / wide-end; }
.kg-width-full { grid-column: full-start / full-end; }
.kg-width-full img { width: 100%; }

.ac-content { padding: 32px 0 24px; font-size: 18px; line-height: 1.75; color: var(--text-2); }
.ac-content > * + * { margin-top: 1.25em; margin-bottom: 0; }
.ac-content > :first-child { margin-top: 0; }
.ac-content p, .ac-content ul, .ac-content ol { margin-bottom: 0; }
.ac-content h2, .ac-content h3, .ac-content h4 { color: var(--text); font-weight: 750; letter-spacing: -.02em; line-height: 1.3; }
.ac-content h2 { margin-top: 2.2em; font-size: 28px; padding-top: .2em; }
.ac-content h3 { margin-top: 1.8em; font-size: 22px; }
.ac-content h4 { margin-top: 1.6em; font-size: 19px; }
.ac-content h2 + *, .ac-content h3 + *, .ac-content h4 + * { margin-top: .7em; }
.ac-content a:not(.kg-bookmark-container):not(.kg-btn) { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ac-content a:hover { text-decoration-thickness: 2px; }
.ac-content strong { color: var(--text); font-weight: 650; }
.ac-content ul, .ac-content ol { padding-left: 1.4em; }
.ac-content li + li { margin-top: .4em; }
.ac-content li::marker { color: var(--accent); }
.ac-content hr { border: 0; height: 1px; background: var(--border); margin: 2.2em 0 0; }
.ac-content hr + h2 { margin-top: 1.4em; }
.ac-content blockquote {
    margin-left: 0; margin-right: 0; padding: 16px 22px; border-left: 3px solid var(--accent);
    background: color-mix(in srgb, var(--accent) 6%, var(--surface)); border-radius: 0 12px 12px 0; color: var(--text);
}
.ac-content blockquote p { margin: 0; }
.ac-content figure img { border-radius: 12px; }
.ac-content figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: var(--muted); }

.ac-content :not(pre) > code {
    font-family: var(--mono); font-size: .84em; padding: .15em .42em; border-radius: 6px;
    background: var(--inline-code-bg); color: var(--inline-code-text); word-break: break-word;
}

/* Tablolar */
.ac-table { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); -webkit-overflow-scrolling: touch; }
.ac-content table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.ac-content th { text-align: left; font-weight: 650; color: var(--text); background: var(--surface-2); }
.ac-content th, .ac-content td { padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.ac-content tr:last-child td { border-bottom: 0; }
.ac-content tbody tr:hover td { background: color-mix(in srgb, var(--accent) 4%, transparent); }

/* ---------- Kod blokları ---------- */
.ac-code { grid-column: wide-start / wide-end; margin-top: 1.5em; border-radius: 12px; overflow: hidden; background: var(--code-bg); border: 1px solid rgba(255,255,255,.06); box-shadow: 0 12px 30px -18px rgba(2, 6, 23, .6); }
@media (min-width: 1000px) { .ac-code { grid-column: main-start / main-end; margin-left: -24px; margin-right: -24px; } }
.ac-code-bar { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 14px; background: var(--code-bar); border-bottom: 1px solid rgba(255,255,255,.06); }
.ac-code-dots { display: inline-flex; gap: 6px; }
.ac-code-dots i { width: 10px; height: 10px; border-radius: 50%; background: #3b4452; }
.ac-code-lang { font-family: var(--mono); font-size: 12px; color: #8b97ab; text-transform: lowercase; }
.ac-code-copy { margin-left: auto; padding: 4px 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,.12); background: transparent; color: #c9d4e5; font-family: var(--mono); font-size: 12px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ac-code-copy:hover { background: rgba(255,255,255,.08); }
.ac-code-copy.ok { color: #34d399; border-color: rgba(52, 211, 153, .4); }
.ac-content pre, .ac-code pre {
    margin: 0; padding: 18px 20px; overflow-x: auto; background: transparent;
    font-family: var(--mono); font-size: 14px; line-height: 1.7; color: var(--code-text); tab-size: 4;
}
.ac-content > pre { grid-column: wide-start / wide-end; background: var(--code-bg); border-radius: 12px; margin-top: 1.5em; }
.ac-content pre code { font-family: inherit; font-size: inherit; background: none; color: inherit; padding: 0; white-space: pre; }
.ac-content pre::-webkit-scrollbar { height: 8px; }
.ac-content pre::-webkit-scrollbar-thumb { background: #2b3442; border-radius: 8px; }

/* Prism renkleri */
.token.comment, .token.prolog, .token.doctype, .token.cdata { color: #8b949e; font-style: italic; }
.token.punctuation { color: #c9d1d9; }
.token.property, .token.tag, .token.constant, .token.symbol, .token.deleted { color: #79c0ff; }
.token.boolean, .token.number { color: #79c0ff; }
.token.selector, .token.attr-name, .token.string, .token.char, .token.builtin, .token.inserted { color: #a5d6ff; }
.token.operator, .token.entity, .token.url { color: #ff7b72; }
.token.atrule, .token.attr-value, .token.keyword { color: #ff7b72; }
.token.function, .token.class-name { color: #d2a8ff; }
.token.regex, .token.important, .token.variable { color: #ffa657; }
.token.key, .token.atrule.key { color: #7ee787; }
.language-yaml .token.key { color: #7ee787; }
.language-bash .token.function { color: #7ee787; }
.token.parameter { color: #ffa657; }
.token.important, .token.bold { font-weight: 700; }

/* Yazı sonu */
.ac-article-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 8px; margin-top: 24px; }
.ac-article-end { border-top: 1px solid var(--border); max-width: var(--narrow); padding-left: 0; padding-right: 0; }
.ac-comments { margin-top: 40px; }
.ac-cta { margin-top: 48px; padding: 36px; border-radius: 16px; text-align: center; background: var(--surface); border: 1px solid var(--border); max-width: var(--narrow); }
.ac-cta h2 { margin: 0 0 6px; font-size: 24px; }
.ac-cta p { margin: 0 0 18px; color: var(--text-2); }
.ac-related { margin-top: 64px; padding: 56px 0 72px; background: var(--surface-2); border-top: 1px solid var(--border); }

/* Sayfa (Hakkımda vb.) */
.ac-page .ac-article-head { padding-bottom: 0; }

/* 404 */
.ac-error { padding: 64px 0 24px; text-align: center; }
.ac-error .ac-term { text-align: left; max-width: 520px; margin: 0 auto 28px; }
.ac-error h1 { margin: 0; font-family: var(--mono); font-size: 72px; letter-spacing: -.04em; }
.ac-error p { color: var(--text-2); font-size: 18px; }
.ac-err { color: #ff7b72; }

/* ---------- Altbilgi ---------- */
.ac-footer { margin-top: auto; border-top: 1px solid var(--border); background: var(--surface); }
.ac-related + .ac-footer, .ac-main + .ac-footer { margin-top: 0; }
.ac-footer-inner { display: flex; justify-content: space-between; gap: 40px; padding-top: 44px; padding-bottom: 28px; }
.ac-footer-brand p { margin: 12px 0 0; max-width: 380px; color: var(--muted); font-size: 15px; }
.ac-footer-nav { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 22px; }
.ac-footer-nav .nav { display: contents; list-style: none; }
.ac-footer-nav li { list-style: none; }
.ac-footer-nav a { font-size: 15px; color: var(--text-2); }
.ac-footer-nav a:hover { color: var(--accent); }
.ac-rss { display: inline-flex; align-items: center; gap: 6px; }
.ac-rss svg { width: 14px; height: 14px; fill: currentColor; }
.ac-footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1080px) {
    .ac-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
    .ac-hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .ac-term { max-width: 640px; }
}
@media (max-width: 860px) {
    .ac-feed-home > .ac-card:first-child { grid-template-columns: 1fr; display: flex; }
    .ac-feed-home > .ac-card:first-child .ac-card-media { min-height: 0; aspect-ratio: 16 / 9; }
    .ac-feed-home > .ac-card:first-child .ac-card-body { padding: 24px; }
    .ac-feed-home > .ac-card:first-child .ac-fb-glyph { font-size: 64px; top: 10px; right: 20px; }
    .ac-feed-home > .ac-card:first-child .ac-fb-inner { left: 22px; right: 22px; bottom: 20px; }
    .ac-feed-home > .ac-card:first-child .ac-fb-title { font-size: 16px; -webkit-line-clamp: 2; }
    .ac-feed-home > .ac-card:first-child .ac-fb-prompt { font-size: 12px; }
}
@media (max-width: 760px) {
    .ac-head-inner { height: 60px; gap: 12px; }
    .ac-hero { margin-top: -60px; padding-top: 104px; padding-bottom: 56px; }
    .ac-burger { display: inline-flex; }
    .ac-nav {
        position: fixed; top: 60px; left: 0; right: 0; z-index: 49;
        background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
        padding: 8px 16px 16px; display: none;
    }
    .ac-menu-open .ac-nav { display: block; }
    .ac-nav .nav { flex-direction: column; }
    .ac-nav .nav a, .home-template:not(.paged) .ac-head:not(.is-scrolled) .ac-nav .nav a { padding: 12px; font-size: 17px; color: var(--text); }
    .ac-menu-open .ac-head { background: var(--surface) !important; border-bottom-color: var(--border); }
    .ac-menu-open.home-template .ac-head .ac-brand, .ac-menu-open.home-template .ac-head .ac-icon-btn { color: var(--text) !important; }
    .ac-menu-open.home-template .ac-head .ac-brand-icon { filter: none; }
    html.dark .ac-menu-open.home-template .ac-head .ac-brand-icon { filter: invert(1); }
    .ac-feed { grid-template-columns: 1fr; gap: 20px; }
    .ac-main { padding: 36px 0 56px; }
    .ac-hero-desc { font-size: 17px; }
    .ac-hero .ac-term { display: none; }
    .ac-hero-stats { display: none; }
    .ac-content { font-size: 17px; }
    .gh-canvas, .ac-content { grid-template-columns: [full-start] 18px [wide-start] 0 [main-start] minmax(0, 1fr) [main-end] 0 [wide-end] 18px [full-end]; }
    .ac-content h2 { font-size: 24px; }
    .ac-content h3 { font-size: 20px; }
    .ac-code { grid-column: full-start / full-end; border-radius: 0; border-left: 0; border-right: 0; }
    .ac-content > pre { grid-column: full-start / full-end; border-radius: 0; }
    .ac-content pre { font-size: 13px; padding: 16px; }
    .ac-article-head { padding-top: 32px; }
    .ac-article-excerpt { font-size: 18px; }
    .ac-footer-inner { flex-direction: column; gap: 24px; }
    .ac-footer-bottom { flex-direction: column; gap: 6px; }
    .ac-wrap, .ac-wrap-narrow, .ac-wrap-wide { padding: 0 18px; }
    .ac-article-end, .ac-cta { margin-left: 18px; margin-right: 18px; width: auto; }
    .ac-section-head span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
