/* ==========================================================================
   Kalem 2 — daghan.com Ghost teması
   Tipografi: Geist (başlıklar) + Inter (metin). Sade beyaz/siyah, gri paneller.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --accent: var(--ghost-accent-color, #c8102e);
    --bg: #f6f7f9;
    --surface: #ffffff;
    --panel: #f1f2f5;
    --panel-2: #e9e9eb;
    --ink: #0a0a0a;
    --ink-2: #3f3f46;
    --muted: #6b6b73;
    --line: #e4e4e7;
    --btn: #0a0a0a;
    --btn-ink: #ffffff;
    --grid: rgba(15, 23, 42, .055);
    --grid-hot: rgba(200, 16, 46, .38);
    --trace: rgba(15, 23, 42, .16);
    --box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 18px 40px -30px rgba(15, 23, 42, .28);
    --brand: #c8102e;
    --brand-hover: #ad0d27;
    --ink-on-dark: #f5f5f7;
    --dur-1: 120ms; --dur-2: 200ms; --dur-3: 300ms;
    --ease: cubic-bezier(.2, 0, 0, 1);
    --fs-xs: 12px; --fs-sm: 14px; --fs-md: 16px; --fs-lg: 18px; --fs-xl: 20px; --fs-2xl: 24px; --fs-3xl: 28px; --fs-4xl: 32px;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

    --font-body: var(--gh-font-body, "Inter"), ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    --font-heading: var(--gh-font-heading, "Geist"), "Inter", ui-sans-serif, system-ui, Helvetica, Arial, sans-serif;

    /* Keskin köşeler: ciddi, editoryal görünüm (yuvarlaklık yalnızca avatar/gösterge gibi doğası gereği dairesel öğelerde) */
    --radius-lg: 0;
    --radius: 0;
    --radius-sm: 0;
    --container: 1200px;
    --narrow: 720px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 80px;

    color-scheme: light;
}
@media (prefers-color-scheme: dark) {
    :root[data-scheme="auto"] {
        --bg: #09090b; --surface: #111114; --panel: #18181b; --panel-2: #232327;
        --ink: #e8e8eb; --ink-2: #c9c9cf; --muted: #9a9aa3; --line: #27272a;
        --btn: #f5f5f5; --btn-ink: #0b0b0c;
        --grid: rgba(255, 255, 255, .045); --grid-hot: rgba(232, 40, 70, .5); --trace: rgba(255, 255, 255, .14);
        --box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px -30px rgba(0, 0, 0, .8);
        color-scheme: dark;
    }
}
:root[data-scheme="dark"] {
    --bg: #09090b; --surface: #111114; --panel: #18181b; --panel-2: #232327;
    --ink: #e8e8eb; --ink-2: #c9c9cf; --muted: #9a9aa3; --line: #27272a;
    --btn: #f5f5f5; --btn-ink: #0b0b0c;
    --grid: rgba(255, 255, 255, .045); --grid-hot: rgba(232, 40, 70, .5); --trace: rgba(255, 255, 255, .14);
    --box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px -30px rgba(0, 0, 0, .8);
    color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--fs-md);
    line-height: 1.65;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 0; }
h1, h2, h3, h4 {
    font-family: var(--font-heading); font-weight: 500; line-height: 1.15; letter-spacing: -0.05em; margin: 0;
    text-wrap: balance;
}
p { text-wrap: pretty; }

.site { position: relative; z-index: 0; isolation: isolate; min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: calc(var(--narrow) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.container-wide { width: 100%; max-width: calc(1040px + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--box-shadow); }

/* ---------- Buttons & pills ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 20px; border-radius: var(--radius-sm);
    font-size: var(--fs-md); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap;
    transition: opacity var(--dur-1) ease, background-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 40px; padding: 0 18px; }
.btn-dark { background: var(--btn); color: var(--btn-ink); }
.btn-dark:hover { opacity: .85; }
.btn-soft { background: var(--panel-2); color: var(--ink); }
.btn-soft:hover { background: var(--line); }

.icon-btn {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm);
    color: var(--ink); transition: background-color var(--dur-1);
}
.icon-btn:hover { background: var(--panel); }

.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill {
    display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 0;
    background: var(--panel-2); color: var(--ink);
    font-size: var(--fs-xs); font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
    transition: background-color var(--dur-1);
}
.tag-pill:hover { background: var(--line); }
.tag-pill-lg { height: 30px; padding: 0 12px; font-size: var(--fs-sm); }
.tag-pill-lock { padding: 0 7px; }
.panel .tag-pill, .featured .tag-pill { background: var(--panel); }
.panel .tag-pill:hover { background: var(--panel-2); }

.dot { color: var(--muted); font-size: 9px; }
.byline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--ink); font-size: var(--fs-sm); font-weight: 500; letter-spacing: -0.02em; }
.byline time { color: var(--ink); }
.avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.byline-lg { font-size: var(--fs-sm); justify-content: center; }
.byline-lg .avatar { width: 28px; height: 28px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: saturate(1.6) blur(14px);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-brand { display: inline-flex; align-items: center; min-width: 0; flex-shrink: 1; }
.site-logo { max-height: 40px; width: auto; }
/* Satır içi SVG logo: renkler temadan (koyu modda otomatik tersine döner) */
.logo-svg { display: block; height: 34px; width: auto; }
.logo-svg .lg-bg, .logo-svg .lg-word { fill: var(--ink); }
.logo-svg .lg-fg { fill: var(--bg); }
.logo-svg .lg-dot { fill: var(--brand); }
.side-card .logo-svg { height: 30px; }
.side-card .logo-svg .lg-fg { fill: var(--panel); }
.footer-brand .logo-svg { height: 38px; }
.footer-brand .logo-svg .lg-fg { fill: var(--panel); }
.site-brand:hover .logo-svg { opacity: .85; }
.site-title {
    font-family: var(--font-heading); font-size: var(--fs-2xl); font-weight: 600; letter-spacing: -0.05em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.site-nav { margin-left: auto; flex-shrink: 0; }
.site-nav .nav { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav .nav a {
    display: block; padding: 8px 11px; border-radius: var(--radius-sm);
    font-size: var(--fs-md); font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; color: var(--ink);
    transition: background-color var(--dur-1);
}
.site-nav .nav a:hover { background: var(--panel); }
.site-nav .nav-current a { background: var(--panel); }
.header-actions { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.header-cta { margin-left: 10px; }

/* İkonlar blok öğe: satır içi taban çizgisi boşluğu ikonu yukarı kaydırmasın */
.icon-btn svg { display: block; }
.icon-sun, .icon-moon, .icon-menu, .icon-close { display: block; line-height: 0; }
.icon-moon, .icon-close, .menu-toggle { display: none; }
:root[data-scheme="dark"] .icon-sun { display: none; }
:root[data-scheme="dark"] .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
    :root[data-scheme="auto"] .icon-sun { display: none; }
    :root[data-scheme="auto"] .icon-moon { display: block; }
}

.mobile-menu { display: none; background: var(--bg); border-top: 1px solid var(--line); }
.mobile-menu .nav { list-style: none; margin: 0; padding: 12px 0; }
.mobile-menu .nav a { display: block; padding: 10px 0; font-family: var(--font-heading); font-size: var(--fs-2xl); font-weight: 500; letter-spacing: -0.04em; }
.mobile-menu .nav + .nav { border-top: 1px solid var(--line); }
.mobile-menu .nav + .nav a { font-family: var(--font-body); font-size: var(--fs-md); letter-spacing: -0.02em; color: var(--ink-2); }
.mobile-signin { display: block; padding: 4px 0 20px; color: var(--muted); font-size: var(--fs-md); }
.menu-open .mobile-menu { display: block; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.menu-open .icon-menu { display: none; }
.menu-open .icon-close { display: block; }

@media (max-width: 1080px) {
    .site-nav { display: none; }
    .header-actions { margin-left: auto; }
    .menu-toggle { display: inline-grid; }
}
@media (max-width: 600px) {
    :root { --header-h: 64px; }
    .logo-svg { height: 30px; }
    .header-cta { display: none; }
    .header-inner { gap: 8px; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.top-section { padding-top: clamp(12px, 2vw, 24px); }
.top-section .featured { margin-bottom: clamp(40px, 5vw, 64px); }

/* ---------- Abonelik bölümü ---------- */
.subscribe-section { margin-bottom: clamp(56px, 8vw, 96px); }
.subscribe-hero {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center;
    padding: clamp(32px, 5vw, 64px);
    border-radius: var(--radius-lg);
    background: #0a0a0a; color: #fff;
}
:root[data-scheme="dark"] .subscribe-hero { background: var(--panel); }
@media (prefers-color-scheme: dark) { :root[data-scheme="auto"] .subscribe-hero { background: var(--panel); } }
.subscribe-hero::before {
    content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) calc(.38 * 100%), transparent), color-mix(in srgb, var(--brand) calc(0 * 100%), transparent));
}
.subscribe-kicker { margin: 0 0 12px; display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .7); font-size: var(--fs-sm); font-weight: 500; }
.subscribe-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 0; background: rgba(255, 255, 255, .55); }
.subscribe-title { color: #fff; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -0.05em; max-width: 18ch; }
.subscribe-desc { margin: 16px 0 0; color: rgba(255, 255, 255, .72); font-size: var(--fs-lg); line-height: 1.6; max-width: 46ch; }
.subscribe-row {
    display: flex; gap: 6px; padding: 6px; border-radius: 0;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
    transition: border-color var(--dur-1), background-color .15s;
}
.subscribe-row:focus-within { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .11); }
.subscribe-input {
    flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 0; outline: 0; background: transparent;
    color: #fff; font: inherit; font-size: var(--fs-md); letter-spacing: -0.02em;
}
.subscribe-input::placeholder { color: rgba(255, 255, 255, .5); }
.subscribe-btn { position: relative; height: 48px; padding: 0 22px; background: var(--brand); color: #fff; border-radius: 0; }
.subscribe-btn:hover { background: var(--brand-hover); }
.subscribe-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: kalem-spin .7s linear infinite; }
@keyframes kalem-spin { to { transform: rotate(360deg); } }
.subscribe-form.loading .subscribe-btn-label { opacity: 0; }
.subscribe-form.loading .subscribe-spinner { display: block; position: absolute; }
.subscribe-note { margin: 12px 0 0; color: rgba(255, 255, 255, .55); font-size: var(--fs-sm); }
.subscribe-msg { display: none; margin: 12px 0 0; font-size: var(--fs-sm); font-weight: 500; }
.subscribe-success { color: #86efac; }
.subscribe-error { color: #fca5a5; }
.subscribe-form.success .subscribe-success, .subscribe-form.error .subscribe-error { display: block; }
.subscribe-form.success .subscribe-row, .subscribe-form.success .subscribe-note { display: none; }
@media (max-width: 860px) {
    .subscribe-hero { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .subscribe-row { flex-direction: column; background: transparent; border: 0; padding: 0; gap: 8px; }
    .subscribe-input { flex: none; height: 48px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 0; }
    .subscribe-btn { width: 100%; }
}

/* Ghost çerçeveleri (yorumlar, arama, üyelik portalı) kendi açık temalı belgelerini çizer.
   Sayfa koyu renk şemasındayken tarayıcı bu çerçevelere opak zemin boyar (sayfa "kaybolur");
   çerçevenin şemasını içeriğiyle eşleyerek zemini şeffaf tut. */
.article-comments iframe, #sodo-search-root iframe, #ghost-portal-root iframe { color-scheme: light; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 80px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-title { max-width: 16ch; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -0.055em; }
.hero-sub { max-width: 560px; margin: 20px 0 0; color: var(--muted); font-size: var(--fs-lg); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.card-media {
    display: block; position: relative; overflow: hidden; border-radius: var(--radius);
    aspect-ratio: 4 / 3; background: var(--panel-2);
}
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-img { transform: scale(1.03); }
.card-placeholder {
    position: absolute; inset: 0; display: grid; place-items: center; padding: 20px;
    background: linear-gradient(140deg, var(--panel-2), var(--panel));
}
.card-placeholder-mark {
    font-family: var(--font-heading); font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; letter-spacing: -0.05em;
    color: var(--muted); text-align: center; line-height: 1.1;
}
.card-body { display: flex; flex-direction: column; gap: 12px; }
.card-title { font-size: var(--fs-2xl); line-height: 1.2; letter-spacing: -0.05em; }
.card-title a { transition: opacity var(--dur-1); }
.card-title a:hover { opacity: .7; }
.card-excerpt {
    margin: 0; color: var(--muted); font-size: var(--fs-md); line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Featured panel ---------- */
.featured {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px;
    padding: 8px; margin-bottom: clamp(48px, 7vw, 88px);
}


/* Öne çıkan kartlar (1 büyük + 2 yan): metin fotoğrafın üzerinde, okunabilirlik için alttan degrade */
.featured .card-large, .featured .card-side {
    display: grid; gap: 0; border-radius: var(--radius); overflow: hidden; isolation: isolate; min-width: 0;
}
.featured .card-large > *, .featured .card-side > * { grid-area: 1 / 1; }
.featured .card-large .card-media, .featured .card-side .card-media { aspect-ratio: auto; height: 100%; border-radius: 0; }
.featured .card-large .card-media::after, .featured .card-side .card-media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top,
        rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .72) 28%, rgba(0, 0, 0, .38) 55%, rgba(0, 0, 0, .08) 78%, rgba(0, 0, 0, 0) 100%);
}
.featured .card-large .card-body, .featured .card-side .card-body {
    position: relative; z-index: 1; align-self: end; pointer-events: none; color: #fff;
}
.featured .card-large .card-body a, .featured .card-large .card-tags,
.featured .card-side .card-body a, .featured .card-side .card-tags { pointer-events: auto; }
.featured .card-large .card-title, .featured .card-side .card-title { color: #fff; text-shadow: 0 1px 24px rgba(0, 0, 0, .35); }
.featured .card-large .byline, .featured .card-large .byline time,
.featured .card-side .byline, .featured .card-side .byline time { color: rgba(255, 255, 255, .85); }
.featured .card-large .tag-pill, .featured .card-side .tag-pill {
    background: rgba(255, 255, 255, .16); color: #fff;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.featured .card-large .tag-pill:hover, .featured .card-side .tag-pill:hover { background: rgba(255, 255, 255, .28); }
.featured .card-placeholder { background: linear-gradient(140deg, #3a3a40, #1a1a1d); }
.featured .card-placeholder-mark { color: rgba(255, 255, 255, .35); }

/* Büyük kart */
.featured .card-large { min-height: clamp(420px, 44vw, 620px); }
.featured .card-large .card-body { padding: clamp(24px, 3.2vw, 40px); gap: 14px; }
.card-large .card-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; max-width: 22ch; }
.card-large .card-excerpt { font-size: var(--fs-md); color: rgba(255, 255, 255, .82); max-width: 60ch; }

/* Yan kartlar: sağ sütunu eşit ikiye böler */
.featured-side { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; min-width: 0; }
.featured .card-side { min-height: 0; }
.featured .card-side .card-body { padding: clamp(18px, 2vw, 26px); gap: 10px; }
.card-side .card-title { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.18; max-width: 26ch; }
.card-side .card-img { transition-duration: .7s; }

@media (max-width: 900px) {
    .featured { grid-template-columns: 1fr; }
    .featured-side { grid-template-rows: none; }
    .featured .card-large { min-height: clamp(380px, 100vw, 480px); }
    .featured .card-side { min-height: clamp(240px, 62vw, 320px); }
}

/* ---------- Latest + sidebar ---------- */
.latest { padding-bottom: clamp(56px, 8vw, 96px); }
.latest-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.latest-main .post-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1060px) {
    .latest-layout { grid-template-columns: minmax(0, 1fr); }
}
.latest-main, .section-head { min-width: 0; }
.card.is-balanced-out { display: none; }

.section-head {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
    margin-bottom: 28px;
}
.section-title { font-size: var(--fs-3xl); letter-spacing: -0.05em; }
.tabs { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
    position: relative; padding: 4px 0; color: var(--muted); font-size: var(--fs-md); font-weight: 500; letter-spacing: -0.03em; white-space: nowrap;
    transition: color var(--dur-1);
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); }
.tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 0; background: var(--ink); }

.post-feed {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px;
    transition: opacity var(--dur-2) ease;
}
.post-feed.is-loading { opacity: .35; pointer-events: none; }
@media (max-width: 1000px) { .post-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-feed, .latest-main .post-feed { grid-template-columns: 1fr; gap: 40px; } }
.feed-empty { grid-column: 1 / -1; color: var(--muted); text-align: center; padding: 48px 0; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 56px; }
.load-more-wrap:empty { display: none; }
.load-more { background: var(--btn); color: var(--btn-ink); }
.load-more:hover { opacity: .85; }
.load-more[aria-busy="true"] { opacity: .5; }

.sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 1060px) { .sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.side-card { padding: 24px; }
.side-card .site-title { font-size: var(--fs-xl); }
.side-text { margin: 12px 0 16px; color: var(--ink-2); font-size: var(--fs-md); line-height: 1.55; }
.side-heading { font-size: var(--fs-lg); letter-spacing: -0.04em; margin-bottom: 16px; }
.mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mini-post { display: flex; gap: 12px; align-items: center; }
.mini-post img, .mini-ph { flex: 0 0 52px; width: 52px; height: 52px; border-radius: var(--radius-sm); object-fit: cover; background: var(--panel-2); }
.mini-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini-title {
    font-size: var(--fs-sm); font-weight: 500; line-height: 1.35; letter-spacing: -0.02em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mini-post:hover .mini-title { opacity: .7; }
.mini-text time { color: var(--muted); font-size: var(--fs-xs); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }

.social { display: flex; gap: 14px; align-items: center; }
.social a { display: inline-grid; place-items: center; color: var(--ink); transition: opacity var(--dur-1); }
.social a:hover { opacity: .6; }
.social svg { width: 18px; height: 18px; }

/* ---------- Konu (etiket) sayfası başlığı ---------- */
.topic-header { padding-top: clamp(12px, 2vw, 24px); margin-bottom: clamp(40px, 6vw, 64px); }
.topic-panel {
    position: relative; overflow: hidden; isolation: isolate;
    padding: clamp(36px, 6vw, 72px) clamp(28px, 5vw, 64px);
    border-radius: var(--radius-lg); background: #0a0a0a; color: #fff;
    min-height: clamp(220px, 24vw, 300px); display: flex; align-items: flex-end;
}
:root[data-scheme="dark"] .topic-panel { background: var(--panel); }
@media (prefers-color-scheme: dark) { :root[data-scheme="auto"] .topic-panel { background: var(--panel); } }
.topic-panel::before {
    content: ""; position: absolute; z-index: -1; left: -140px; bottom: -220px; width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) calc(.4 * 100%), transparent), color-mix(in srgb, var(--brand) calc(0 * 100%), transparent));
}
.topic-panel::after {   /* ince nokta ızgarası */
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.3px); background-size: 28px 28px;
    mask-image: linear-gradient(to left, #000, transparent 70%); -webkit-mask-image: linear-gradient(to left, #000, transparent 70%);
}
.topic-hash {
    position: absolute; right: clamp(16px, 5vw, 64px); top: 50%; transform: translateY(-50%); z-index: -1;
    font-family: var(--font-heading); font-weight: 500; letter-spacing: -0.06em; line-height: .8;
    font-size: clamp(180px, 26vw, 360px); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .14);
}
.topic-text { position: relative; max-width: 760px; }
.topic-kicker { margin: 0 0 12px; display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .7); font-size: var(--fs-sm); font-weight: 500; }
.topic-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 0; background: rgba(255, 255, 255, .55); }
.topic-title { color: #fff; font-size: clamp(40px, 6.4vw, 76px); line-height: 1; letter-spacing: -0.06em; }
.topic-desc { margin: 16px 0 0; color: rgba(255, 255, 255, .72); font-size: var(--fs-lg); line-height: 1.55; max-width: 56ch; }
.topic-count {
    display: inline-flex; align-items: center; height: 30px; margin: 20px 0 0; padding: 0 12px; border-radius: 0;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: var(--fs-sm); font-weight: 500;
}
.topic-nav { display: flex; align-items: center; gap: 14px; margin-top: 18px; min-width: 0; }
.topic-nav-label { flex-shrink: 0; color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.topic-nav-list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.topic-nav-list::-webkit-scrollbar { display: none; }
.topic-nav .tag-pill.is-current { background: var(--ink); color: var(--bg); }
@media (max-width: 600px) { .topic-nav-label { display: none; } .topic-panel { border-radius: var(--radius); } }

/* ---------- Archive headers ---------- */
.archive-header { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(32px, 4vw, 48px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.archive-kicker { margin: 0; color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.archive-title { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.055em; margin-top: 6px; }
.archive-desc { max-width: 60ch; margin: 14px 0 0; color: var(--muted); font-size: var(--fs-lg); }
.archive-meta { margin: 12px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.archive-meta a { text-decoration: underline; text-underline-offset: 3px; }
.author-avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.archive-top { padding-top: clamp(32px, 5vw, 56px); }

/* ---------- Article ---------- */
.article { padding-top: clamp(32px, 5vw, 64px); }
.article-header { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.article-tags { justify-content: center; }
.article-title { margin-top: 18px; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.055em; }
.article-lead { margin: 18px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 20px); line-height: 1.55; }
.article-header .byline { margin-top: 22px; }
/* Yazı sayfası: başlık ana fotoğrafın içinde */
.article-hero { margin-bottom: clamp(36px, 5vw, 64px); }
.article-hero-frame {
    position: relative; display: grid; overflow: hidden; isolation: isolate;
    border-radius: var(--radius-lg); background: #1a1a1d;
    /* Sabit yükseklik: dikey/uzun görseller ekranı kaplamasın, ortalanıp kırpılsın */
    height: clamp(420px, 46vw, 580px);
}
.article-hero-img { min-height: 0; object-position: 50% 30%; }
.article-hero-frame > * { grid-area: 1 / 1; }
.article-hero-img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-frame::after {
    content: ""; grid-area: 1 / 1; pointer-events: none;
    background: linear-gradient(to top,
        rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .74) 30%, rgba(0, 0, 0, .4) 58%, rgba(0, 0, 0, .1) 80%, rgba(0, 0, 0, 0) 100%);
}
.article-hero-body {
    position: relative; z-index: 1; align-self: end;
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    padding: clamp(24px, 4vw, 56px); color: #fff;
}
.article-hero .article-title { margin-top: 16px; max-width: 24ch; color: #fff; text-shadow: 0 1px 28px rgba(0, 0, 0, .35); }
.article-hero .article-lead { max-width: 60ch; color: rgba(255, 255, 255, .85); }
.article-hero .byline, .article-hero .byline time, .article-hero .byline-name { color: rgba(255, 255, 255, .9); justify-content: flex-start; }
.article-hero .dot { color: rgba(255, 255, 255, .6); }
.article-hero .tag-pill { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.article-hero .tag-pill:hover { background: rgba(255, 255, 255, .28); }
.article-hero-caption { margin-top: 10px; color: var(--muted); font-size: var(--fs-sm); text-align: center; }
@media (max-width: 600px) {
    .article-hero { padding-inline: 0; }
    .article-hero-frame { border-radius: 0; height: min(72vh, 540px); }
    .article-hero .article-title { font-size: clamp(28px, 8vw, 36px); }
}

.article-image { margin-bottom: clamp(32px, 5vw, 56px); }
.article-image img { width: 100%; border-radius: var(--radius-lg); }
.article-image figcaption, .gh-content figcaption { margin-top: 10px; color: var(--muted); font-size: var(--fs-sm); text-align: center; }

.gh-content { font-size: var(--fs-lg); line-height: 1.75; letter-spacing: -0.015em; color: var(--ink-2); }
.gh-content > * + * { margin-top: 1.4em; margin-bottom: 0; }
.gh-content > :first-child { margin-top: 0; }
.gh-content h2, .gh-content h3, .gh-content h4 { color: var(--ink); margin-top: 2em; }
.gh-content h2 + *, .gh-content h3 + * { margin-top: .8em; }
.gh-content h2 { font-size: 1.65em; }
.gh-content h3 { font-size: 1.35em; }
.gh-content h4 { font-size: 1.12em; letter-spacing: -0.03em; }
.gh-content a { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color var(--dur-1); }
.gh-content a:hover { text-decoration-color: var(--ink); }
.gh-content strong { color: var(--ink); font-weight: 600; }
.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content li + li { margin-top: .45em; }
.gh-content blockquote:not([class]) {
    margin-left: 0; margin-right: 0; padding: 4px 0 4px 1.1em; border-left: 3px solid var(--ink);
    font-family: var(--font-heading); font-size: 1.15em; line-height: 1.5; letter-spacing: -0.03em; color: var(--ink);
}
.gh-content blockquote.kg-blockquote-alt { text-align: center; font-family: var(--font-heading); font-size: 1.4em; line-height: 1.4; letter-spacing: -0.04em; color: var(--ink); padding: 0 1em; }
.gh-content hr { border: 0; height: 1px; background: var(--line); margin: 2.6em 0; }
.gh-content img { border-radius: var(--radius); margin-inline: auto; }
.gh-content code { font-size: .85em; padding: 2px 6px; border-radius: 0; background: var(--panel); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0; }
.gh-content pre { overflow-x: auto; padding: 18px 20px; border-radius: var(--radius); background: var(--panel); font-size: var(--fs-md); line-height: 1.55; }
.gh-content pre code { padding: 0; background: none; }
.gh-content table { display: block; overflow-x: auto; border-collapse: collapse; font-size: var(--fs-md); width: 100%; }
.gh-content th, .gh-content td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.gh-content iframe { max-width: 100%; }
.gh-content .kg-width-wide { position: relative; width: min(1040px, 100vw - 2 * var(--gutter)); left: 50%; transform: translateX(-50%); }
.gh-content .kg-width-full { position: relative; width: 100vw; left: 50%; transform: translateX(-50%); }
.gh-content .kg-width-full img { border-radius: 0; }
.gh-content .kg-image-card, .gh-content .kg-embed-card, .gh-content .kg-gallery-card { margin-top: 2em; margin-bottom: 2em; }
.gh-content .kg-bookmark-card a { color: inherit; text-decoration: none; }

.article-footer { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.share { display: flex; align-items: center; gap: 2px; }
.share-label { margin-right: 10px; color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.js-copy-link.is-copied { background: var(--panel-2); }
.article-comments { margin-top: 48px; }
.related { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }

.article { padding-bottom: clamp(56px, 8vw, 96px); }
.post-template .article { padding-bottom: 0; }

/* ---------- Kimdir / hakkında sayfası ---------- */
.about { padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(64px, 9vw, 112px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-photo { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-lg); background: var(--panel); }
.about-photo figcaption { margin-top: 10px; color: var(--muted); font-size: var(--fs-sm); }
.about-body { max-width: 680px; padding-top: 8px; }
.about-kicker { margin: 0 0 10px; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.about-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 0; background: var(--ink); }
.about-title { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.055em; }
.about-content { margin-top: 28px; }
.about-content h2, .about-content h3, .about-content h4 { margin-top: 1.6em; }
/* İçeriğin sonundaki sosyal bağlantı listesi -> buton satırı */
.about-content > ul:last-child { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2em; }
.about-content > ul:last-child li { margin: 0; }
.about-content > ul:last-child a {
    display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--radius-sm);
    background: var(--panel); color: var(--ink); font-size: var(--fs-md); font-weight: 500; text-decoration: none; transition: background-color var(--dur-1);
}
.about-content > ul:last-child a:hover { background: var(--panel-2); }
@media (max-width: 860px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-photo { position: static; max-width: 420px; }
}

/* ---------- Error ---------- */
.error-page { padding-top: clamp(64px, 10vw, 140px); padding-bottom: clamp(64px, 10vw, 140px); text-align: center; }
.error-page .archive-desc { margin-inline: auto; }
.error-page .hero-actions { justify-content: center; }
.error-code { margin: 0; font-family: var(--font-heading); font-size: 96px; font-weight: 500; letter-spacing: -0.06em; line-height: 1; }

/* ---------- Footer: tam genişlik koyu bant, ortalı ---------- */
.site-footer { margin-top: auto; background: #0a0a0a; color: #fff; }
:root[data-scheme="dark"] .site-footer { background: #050506; border-top: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root[data-scheme="auto"] .site-footer { background: #050506; border-top: 1px solid var(--line); } }
.footer-inner {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding-top: clamp(56px, 8vw, 96px); padding-bottom: calc(clamp(28px, 4vw, 40px) + env(safe-area-inset-bottom, 0px));
}
.footer-logo .logo-svg { height: 40px; }
.site-footer .logo-svg .lg-bg, .site-footer .logo-svg .lg-word { fill: #fff; }
.site-footer .logo-svg .lg-fg { fill: #0a0a0a; }
.footer-statement {
    margin: 22px 0 0; max-width: 22ch; color: #fff;
    font-family: var(--font-heading); font-size: clamp(24px, 3vw, 34px); font-weight: 500; line-height: 1.15; letter-spacing: -0.05em;
}
.footer-form { width: 100%; max-width: 420px; margin-top: 28px; }
.footer-form-row {
    display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 18px; border-radius: 0;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); transition: border-color var(--dur-1), background-color .15s;
}
.footer-form-row:focus-within { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .11); }
.footer-input { flex: 1; min-width: 0; height: 42px; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: var(--fs-md); letter-spacing: -0.02em; }
.footer-input::placeholder { color: rgba(255, 255, 255, .45); }
.footer-submit {
    position: relative; flex-shrink: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 0;
    background: var(--brand); color: #fff; transition: background-color var(--dur-1), transform .15s;
}
.footer-submit:hover { background: var(--brand-hover); transform: translateX(1px); }
.footer-form.loading .footer-submit svg { opacity: 0; }
.footer-form.loading .subscribe-spinner { display: block; position: absolute; }
.footer-form.success .footer-form-row { display: none; }
.footer-form.success .subscribe-success, .footer-form.error .subscribe-error { display: block; }
.footer-social { margin-top: 36px; }
.footer-social .social { gap: 22px; }
.footer-social .social a { color: rgba(255, 255, 255, .8); }
.footer-social .social a:hover { color: #fff; opacity: 1; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 22px; }
.footer-links a { color: rgba(255, 255, 255, .7); font-size: var(--fs-md); font-weight: 500; letter-spacing: -0.02em; transition: color var(--dur-1); }
.footer-links a:hover { color: #fff; }
.footer-copy { margin: 36px 0 0; color: rgba(255, 255, 255, .62); font-size: var(--fs-sm); }

/* ---------- İlgili yazılar: tam genişlik gri bant, ortalı kartlar ---------- */
.related-band { background: var(--panel); padding: clamp(56px, 8vw, 96px) 0; margin-top: clamp(56px, 8vw, 96px); }
.related-title { text-align: center; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.05em; margin-bottom: clamp(32px, 4vw, 48px); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.related-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; min-width: 0; }
.related-card .card-media { width: 100%; aspect-ratio: 16 / 10; margin-bottom: 8px; }
.related-card:hover .card-img { transform: scale(1.03); }
.related-cat { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.related-cat::before { content: ""; width: 7px; height: 7px; border-radius: 0; background: var(--ink); opacity: .7; }
.related-card-title { font-size: var(--fs-2xl); line-height: 1.2; letter-spacing: -0.05em; max-width: 24ch; }
.related-card-title a:hover { opacity: .7; }
.related-excerpt {
    margin: 0; max-width: 40ch; color: var(--muted); font-size: var(--fs-md); line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.related-date { color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.post-template .site-footer { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Teknolojik arka plan + kutular + etkileşim
   ========================================================================== */
.bg-decor { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 56px 56px; background-position: -1px -1px;
    -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 35%, #000 35%, transparent 90%);
            mask-image: radial-gradient(ellipse 90% 75% at 50% 35%, #000 35%, transparent 90%);
}
/* imleç çevresinde aydınlanan ızgara */
.bg-grid-hot {
    background-image: linear-gradient(var(--grid-hot) 1px, transparent 1px), linear-gradient(90deg, var(--grid-hot) 1px, transparent 1px);
    -webkit-mask-image: radial-gradient(180px circle at var(--mx, -999px) var(--my, -999px), #000, transparent 75%);
            mask-image: radial-gradient(180px circle at var(--mx, -999px) var(--my, -999px), #000, transparent 75%);
    opacity: .55; transition: opacity var(--dur-3);
}
.bg-traces { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-traces .tr-lines use, .bg-traces .tr-marks path, .bg-traces .tr-marks circle, .bg-traces .tr-marks rect {
    fill: none; stroke: var(--trace); stroke-width: 1.2; vector-effect: non-scaling-stroke;
}
.bg-traces .tr-nodes circle { fill: var(--bg); stroke: var(--trace); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.bg-traces .tr-packets circle { fill: var(--ink); opacity: .45; }
@media (prefers-reduced-motion: reduce) { .bg-traces .tr-packets { display: none; } .bg-grid-hot { display: none; } }
@media (hover: none) { .bg-grid-hot { display: none; } }

/* Kutu: ince kenarlık + yüzey + yumuşak gölge */
.post-feed .card, .related-card, .side-card, .article-box {
    background: var(--surface); border: 1px solid var(--line); border-radius: 0; box-shadow: var(--box-shadow);
}
.post-feed .card { padding: 8px; gap: 14px; transition: border-color var(--dur-2), transform .2s, box-shadow .2s; }
.post-feed .card:hover { transform: translateY(-2px); }
.post-feed .card .card-media { border-radius: 0; }
.post-feed .card .card-body { padding: 4px 10px 14px; }
.related-card { padding: 8px 8px 22px; }
.related-card .card-media { border-radius: 0; }
.related-card > :not(.card-media) { padding-inline: 14px; }
.related-band { background: transparent; border-top: 1px solid var(--line); }
.article-box { padding: clamp(24px, 4vw, 56px); }
.article-box .article-footer { margin-top: 48px; }
.article-box .article-comments { margin-top: 40px; }
@media (max-width: 600px) { .article-hero + .container-wide, .article-header + .container-wide { padding-inline: 10px; } .article-box { border-radius: 0; } }

/* İmleci takip eden kenarlık parıltısı */
.glow { position: relative; }
.glow::after {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
    background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), color-mix(in srgb, var(--brand) calc(.75 * 100%), transparent), color-mix(in srgb, var(--brand) calc(0 * 100%), transparent) 65%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0; transition: opacity var(--dur-2);
}
.glow:hover::after { opacity: 1; }
@media (hover: none) { .glow::after { display: none; } }

/* Monospace mikro tipografi */
.byline time, .related-date, .mini-text time, .subscribe-kicker, .topic-kicker, .about-kicker, .archive-kicker, .footer-copy, .topic-count {
    font-family: var(--font-mono); letter-spacing: 0; font-weight: 400;
}
.byline time, .related-date, .mini-text time { font-size: var(--fs-xs); text-transform: uppercase; }
.subscribe-kicker, .topic-kicker, .about-kicker { text-transform: uppercase; font-size: var(--fs-xs); letter-spacing: .08em; }

/* ---------- Denetim düzeltmeleri (designer-skills) ---------- */
/* Odak: form satırları klavyeyle odaklanınca net halka */
.subscribe-row:has(.subscribe-input:focus-visible), .footer-form-row:has(.footer-input:focus-visible) {
    box-shadow: 0 0 0 2px #0a0a0a, 0 0 0 4px rgba(255, 255, 255, .9);
}
.subscribe-input:focus-visible, .footer-input:focus-visible { outline: none; }
@media (max-width: 480px) { .subscribe-input:focus-visible { box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); } }
/* Görünür form etiketi (yer tutucu yalnızca ipucu) */
.subscribe-label { display: block; margin-bottom: 8px; color: rgba(255, 255, 255, .75); font-size: var(--fs-sm); font-weight: 500; }

/* Okunabilir satır uzunluğu: kutu fotoğrafla eşit genişlikte, metin sütunu ~68 karakter */
.article-box .gh-content > :not(.kg-width-wide):not(.kg-width-full):not(.kg-image-card):not(.kg-gallery-card):not(.kg-embed-card):not(.kg-video-card):not(figure):not(iframe):not(table):not(pre) {
    max-width: 33em; margin-inline: auto;   /* ~66–70 karakter (Inter 18px) */
}
.article-box .gh-content { font-size: var(--fs-lg); line-height: 1.8; }
.article-box .article-footer, .article-box .article-comments { max-width: calc(33em * 18 / 16); margin-inline: auto; }

/* Dokunmatik: 44px hedefler, etiketlerde yeterli boşluk (WCAG 2.5.8 / Fitts) */
.social a { min-width: 40px; min-height: 40px; }
.related-cat { padding-block: 6px; }
@media (pointer: coarse) {
    .icon-btn { width: 44px; height: 44px; }
    .tag-pill { min-height: 32px; padding-inline: 12px; }
    .card-tags { gap: 8px; }
    .tab { min-height: 44px; display: inline-flex; align-items: center; }
    .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
    .footer-input, .footer-submit { height: 44px; }
    .footer-submit { width: 44px; }
    .social a { min-width: 44px; min-height: 44px; }
    .mini-post { min-height: 52px; }
}

/* Yükleme durumu: "Daha fazla" düğmesinde dönen gösterge */
.load-more[aria-busy="true"] { opacity: 1; pointer-events: none; }
.load-more[aria-busy="true"]::before {
    content: ""; width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid currentColor; border-right-color: transparent; animation: kalem-spin .7s linear infinite;
}
.feed-empty { padding: 56px 16px; font-size: var(--fs-md); color: var(--muted); }

.gh-content iframe:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
