/* =====================================================================
   (Üst menü ve alt bilgi stilleri: ig-header.css)
   İşimi Gör — ortak stil (belge, kategori ve iç sayfalar)
   Ana sayfadaki tasarım dili temel alınmıştır. Aydınlık/karanlık tema
   [data-theme] ile değişir; renkler yalnızca değişkenlerden okunur.
   ===================================================================== */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --navy: #0b1736;
    --navy-2: #10285f;
    --cyan: #38bdf8;
    --green: #16a34a;
    --green-dark: #15803d;
    --amber: #b45309;

    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --surface-blue: #eff6ff;
    --border: #e2e8f0;
    --border-blue: #bfdbfe;
    --text: #172033;
    --text-soft: #334155;
    --muted: #64748b;

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .05);
    --shadow: 0 10px 30px rgba(15, 23, 42, .07);
    --radius: 16px;
}

[data-theme="dark"] {
    --bg: #050a15;
    --surface: #0c1425;
    --surface-2: #111c31;
    --surface-blue: #0f1d3a;
    --border: #1e2a40;
    --border-blue: #1e3a6e;
    --text: #f1f5f9;
    --text-soft: #cbd5e1;
    --muted: #94a3b8;
    --shadow: 0 10px 30px rgba(0, 0, 0, .30);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .22);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at 20% 0%, rgba(37, 99, 235, .06), transparent 28%), var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.ig-wrapper {
    width: min(1280px, calc(100% - 34px));
    margin: 0 auto;
}


:focus-visible { outline: 3px solid rgba(56, 189, 248, .6); outline-offset: 2px; }

/* ---------------------------------------------------------------- GENEL BİLEŞENLER */
.page-main { padding: 18px 0 10px; }

.ig-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    font-size: .8rem;
    color: var(--muted);
}
.ig-breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 700; }
.ig-breadcrumb a:hover { text-decoration: underline; }
.ig-breadcrumb .sep { font-size: .6rem; color: var(--muted); opacity: .7; }
.ig-breadcrumb [aria-current] { color: var(--muted); }

.ig-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.layout-2col > aside { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 18px; }

.side-box { padding: 18px; }
.side-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    font-size: .92rem;
    font-weight: 800;
    color: var(--text);
}
.side-title i { color: var(--primary); }
.side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.side-list a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 9px;
    border-radius: 9px;
    color: var(--text-soft);
    text-decoration: none;
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.4;
}
.side-list a:hover { background: var(--surface-2); color: var(--primary); }
.side-list a i { margin-top: 3px; color: var(--muted); font-size: .8rem; }
.side-list .count { margin-left: auto; color: var(--muted); font-size: .75rem; font-weight: 700; }
.side-summary { margin: 2px 9px 6px 31px; color: var(--muted); font-size: .74rem; line-height: 1.45; }

.ig-ad {
    position: relative;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: 12px;
    padding: 8px;
    text-align: center;
    overflow: hidden;
    margin: 18px 0;
}
.ig-ad-label { display: block; margin: 0 0 6px; color: var(--muted); font-size: .6rem; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
aside .ig-ad { margin: 0; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.2;
    background: rgba(37, 99, 235, .09);
    color: var(--primary);
    white-space: nowrap;
}
.badge.word { background: rgba(37, 99, 235, .10); color: #2563eb; }
.badge.pdf { background: rgba(220, 38, 38, .10); color: #dc2626; }
.badge.excel { background: rgba(22, 163, 74, .11); color: #15803d; }
[data-theme="dark"] .badge.word { color: #93c5fd; }
[data-theme="dark"] .badge.pdf { color: #fca5a5; }
[data-theme="dark"] .badge.excel { color: #86efac; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn-download {
    background: var(--green);
    color: #fff;
    padding: 14px 28px;
    font-size: 1rem;
    box-shadow: 0 6px 18px rgba(22, 163, 74, .30);
}
.btn-download:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; padding: 9px 16px; font-size: .82rem; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); padding: 9px 16px; font-size: .82rem; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ---------------------------------------------------------------- BELGE SAYFASI */
.doc-card { padding: 26px 28px; }
.doc-title { margin: 0 0 12px; font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.25; font-weight: 800; letter-spacing: -.4px; color: var(--text); }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: .8rem; color: var(--muted); }
.doc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.doc-lead { margin: 14px 0 0; color: var(--text-soft); font-size: .95rem; }

.download-box {
    margin: 22px 0 6px;
    padding: 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(22, 163, 74, .07), rgba(37, 99, 235, .06));
    border: 1px solid rgba(22, 163, 74, .25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.download-info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.download-icon {
    flex: 0 0 52px;
    height: 52px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
}
.download-icon.word { color: #2563eb; }
.download-icon.pdf { color: #dc2626; }
.download-icon.excel { color: #16a34a; }
.download-info strong { display: block; font-size: .98rem; color: var(--text); }
.download-info span { display: block; font-size: .8rem; color: var(--muted); }
.download-wait { font-weight: 700; color: var(--primary); font-size: .92rem; }
.download-wait b { color: #ef4444; font-size: 1.15rem; }
.download-missing { margin: 0; color: var(--amber); font-weight: 700; font-size: .9rem; }
[data-theme="dark"] .download-missing { color: #fbbf24; }

.doc-section { margin-top: 28px; }
.doc-section > h2 { margin: 0 0 12px; font-size: 1.15rem; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 9px; }
.doc-section > h2 i { color: var(--primary); font-size: 1rem; }

.doc-content { color: var(--text-soft); font-size: .95rem; line-height: 1.75; }
.doc-content h2 { margin: 26px 0 10px; font-size: 1.12rem; font-weight: 800; color: var(--text); }
.doc-content h2:first-child { margin-top: 0; }
.doc-content h3 { margin: 20px 0 8px; font-size: 1rem; color: var(--text); }
.doc-content p { margin: 0 0 12px; }
.doc-content ul, .doc-content ol { margin: 0 0 14px; padding-left: 22px; }
.doc-content li { margin-bottom: 6px; }
.doc-content strong { color: var(--text); }
.doc-content hr { display: none; }
.doc-content blockquote.note { margin: 18px 0; padding: 12px 16px; border-left: 4px solid var(--primary); background: var(--surface-2); border-radius: 0 10px 10px 0; font-size: .88rem; color: var(--text-soft); }

.usage-guide { padding: 20px 22px; background: var(--surface-blue); border: 1px solid var(--border-blue); border-radius: 14px; color: var(--text-soft); font-size: .9rem; }
.usage-guide h2 { margin: 0 0 8px; font-size: 1.02rem; color: var(--text); display: flex; gap: 8px; align-items: center; }
.usage-guide ol { margin: 8px 0 12px; padding-left: 22px; }
.usage-guide p { margin: 0 0 8px; }

.doc-preview {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    padding: 22px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.04rem;
    line-height: 1.75;
    color: var(--text);
    white-space: pre-line;
    max-height: 640px;
    overflow: auto;
}
.doc-preview p { margin: 0 0 10px; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 14px 16px;
    font-weight: 700;
    font-size: .92rem;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--primary); font-size: 1.2rem; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 16px 14px; color: var(--text-soft); font-size: .9rem; }

.doc-disclaimer { margin-top: 26px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); font-size: .8rem; }
.doc-disclaimer a { color: var(--primary); font-weight: 700; text-decoration: none; }

/* Mobilde ekranın altında sabit indirme çubuğu */
.sticky-download {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, .12);
    transform: translateY(110%);
    transition: transform .25s ease;
}
.sticky-download.show { transform: translateY(0); }
.sticky-download .sd-title { flex: 1; min-width: 0; font-size: .8rem; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-download .btn-download { padding: 11px 18px; font-size: .9rem; }

/* ---------------------------------------------------------------- KATEGORİ SAYFASI */
.cat-hero {
    position: relative;
    overflow: hidden;
    padding: 26px 30px;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(56, 189, 248, .22), transparent 25%),
        radial-gradient(circle at 10% 100%, rgba(37, 99, 235, .35), transparent 35%),
        linear-gradient(135deg, #08132f 0%, #10285f 54%, #1d4ed8 100%);
    box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
    margin-bottom: 20px;
}
.cat-hero .kicker { display: inline-flex; gap: 7px; align-items: center; padding: 5px 11px; border-radius: 50px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .13); color: #bae6fd; font-size: .72rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.cat-hero h1 { margin: 12px 0 8px; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.2; font-weight: 800; letter-spacing: -.5px; }
.cat-hero p { margin: 0; max-width: 760px; color: #cbd5e1; font-size: .92rem; }
.cat-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cat-stats span { display: inline-flex; gap: 6px; align-items: center; padding: 6px 11px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: .78rem; font-weight: 700; color: #e0f2fe; }

.cat-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cat-filter { position: relative; flex: 1 1 320px; max-width: 460px; }
.cat-filter i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.cat-filter input {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: .88rem;
}
.cat-filter input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.cat-sort { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-sort a { padding: 8px 12px; border-radius: 10px; font-size: .78rem; font-weight: 700; text-decoration: none; color: var(--muted); border: 1px solid var(--border); background: var(--surface); }
.cat-sort a.active, .cat-sort a:hover { color: var(--primary); border-color: var(--primary); }

.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.doc-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.doc-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(37, 99, 235, .35); }
.doc-item h2 { margin: 0; font-size: 1rem; line-height: 1.35; font-weight: 800; }
.doc-item h2 a { color: var(--text); text-decoration: none; }
.doc-item h2 a:hover { color: var(--primary); }
.doc-item p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.doc-item-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.doc-item-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .78rem; color: var(--muted); }
.doc-item-foot .stats { display: flex; gap: 12px; }
.doc-item-foot .stats span { display: inline-flex; gap: 5px; align-items: center; }
.doc-empty { padding: 30px; text-align: center; color: var(--muted); grid-column: 1 / -1; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 24px 0 6px; }
.pagination a, .pagination span {
    min-width: 40px;
    padding: 9px 12px;
    border-radius: 10px;
    text-align: center;
    font-size: .84rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); border-color: var(--primary); color: #fff; }

.cat-about { margin-top: 24px; padding: 22px 24px; }
.cat-about h2 { margin: 0 0 8px; font-size: 1.05rem; color: var(--text); }
.cat-about p { margin: 0 0 10px; color: var(--text-soft); font-size: .9rem; }


/* ---------------------------------------------------------------- REHBER (BLOG) LİSTESİ */
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.topic-chips button {
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-soft);
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}
.topic-chips button:hover { border-color: var(--primary); color: var(--primary); }
.topic-chips button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }

.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.post-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(37, 99, 235, .35); }
.post-card.featured { grid-column: 1 / -1; padding: 26px; background: linear-gradient(135deg, var(--surface) 60%, var(--surface-blue)); }
.post-card.featured h2 { font-size: 1.35rem; }
.post-card h2 { margin: 0; font-size: 1.08rem; line-height: 1.35; font-weight: 800; }
.post-card h2 a { color: var(--text); text-decoration: none; }
.post-card h2 a:hover { color: var(--primary); }
.post-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .76rem; color: var(--muted); }
.post-meta span { display: inline-flex; gap: 6px; align-items: center; }
.post-card .read-more { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: .82rem; font-weight: 800; color: var(--primary); text-decoration: none; }
.post-card .read-more:hover { color: var(--primary-dark); }

/* ---------------------------------------------------------------- İLETİŞİM FORMU */
.contact-form-box { margin: 22px 0 6px; padding: 22px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.contact-form-box h2 { margin: 0 0 14px; font-size: 1.12rem; color: var(--text); }
.contact-form { display: grid; gap: 14px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: .84rem; font-weight: 700; color: var(--text); }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 11px 13px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: .92rem;
    font-weight: 400;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.form-note a { color: var(--primary); }
.form-alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-size: .88rem; font-weight: 600; }
.form-alert.ok { background: rgba(22, 163, 74, .10); color: #15803d; border: 1px solid rgba(22, 163, 74, .3); }
.form-alert.err { background: rgba(220, 38, 38, .08); color: #b91c1c; border: 1px solid rgba(220, 38, 38, .25); }
[data-theme="dark"] .form-alert.ok { color: #86efac; }
[data-theme="dark"] .form-alert.err { color: #fca5a5; }
@media (max-width: 680px) { .contact-form .form-row { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- SÖZLÜK */
.letter-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-soft); font-size: .8rem; font-weight: 700; text-decoration: none; }
.letter-chip:hover { border-color: var(--primary); color: var(--primary); }
.letter-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.term-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.term-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.term-item h2 { margin: 0 0 6px; font-size: 1rem; font-weight: 800; }
.term-item h2 a { color: var(--primary); text-decoration: none; }
.term-item h2 a:hover { text-decoration: underline; }
.term-item p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }
@media (max-width: 680px) { .term-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- REHBER YAZISI */
.article-card { padding: 30px 34px; }
.article-card .doc-title { font-size: clamp(1.45rem, 3vw, 2.1rem); }
.article-summary { margin: 14px 0 0; font-size: 1.04rem; color: var(--text-soft); line-height: 1.65; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--border); font-size: .8rem; color: var(--muted); }
.article-meta span { display: inline-flex; gap: 6px; align-items: center; }
.article-meta .author { color: var(--text); font-weight: 700; }

.toc { margin: 22px 0 6px; padding: 16px 18px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.toc summary { cursor: pointer; font-weight: 800; font-size: .92rem; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "−"; color: var(--primary); }
.toc:not([open]) summary::after { content: "+"; }
.toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.toc li { font-size: .86rem; }
.toc li.sub { margin-left: 14px; list-style: circle; }
.toc a { color: var(--text-soft); text-decoration: none; }
.toc a:hover { color: var(--primary); text-decoration: underline; }

.article-content { margin-top: 24px; font-size: 1.02rem; line-height: 1.85; }
.article-content h2 { scroll-margin-top: 90px; margin-top: 32px; padding-top: 4px; font-size: 1.28rem; line-height: 1.35; }
.article-content h3 { scroll-margin-top: 90px; line-height: 1.4; }
.article-content a { color: var(--primary); font-weight: 600; }

.article-cta {
    margin-top: 30px;
    padding: 20px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(56, 189, 248, .08));
    border: 1px solid var(--border-blue);
}
.article-cta h2 { margin: 0 0 12px; font-size: 1.05rem; color: var(--text); display: flex; gap: 8px; align-items: center; }
.article-cta h2 i { color: var(--primary); }
.cta-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cta-doc {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.35;
}
.cta-doc:hover { border-color: var(--primary); color: var(--primary); }
.cta-doc i { font-size: 1.2rem; }
.cta-doc .word { color: #2563eb; } .cta-doc .pdf { color: #dc2626; } .cta-doc .excel { color: #16a34a; }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.article-nav a { display: block; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); text-decoration: none; color: var(--text); font-weight: 700; font-size: .88rem; line-height: 1.4; }
.article-nav a small { display: block; color: var(--muted); font-weight: 600; font-size: .72rem; margin-bottom: 4px; }
.article-nav a:hover { border-color: var(--primary); color: var(--primary); }
.article-nav a.next { text-align: right; }

.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, #38bdf8, #2563eb); z-index: 1100; transition: width .1s linear; }

@media (max-width: 680px) {
    .post-grid, .cta-docs, .article-nav { grid-template-columns: 1fr; }
    .article-card { padding: 20px 16px; border-radius: 14px; }
    .article-content { font-size: .98rem; }
}

/* ---------------------------------------------------------------- DUYARLI TASARIM */
@media (max-width: 980px) {
    .layout-2col { grid-template-columns: 1fr; }
    .layout-2col > aside { position: static; }
}

@media (max-width: 680px) {
    body { font-size: 14.5px; }
    .ig-wrapper { width: min(100% - 22px, 1280px); }

    .page-main { padding-top: 12px; }
    .doc-card { padding: 18px 16px; border-radius: 14px; }
    .download-box { padding: 16px; flex-direction: column; align-items: stretch; text-align: left; }
    .download-box .btn-download { width: 100%; }
    .sticky-download { display: flex; }
    body.has-sticky-download { padding-bottom: 72px; }

    .cat-hero { padding: 20px 18px; border-radius: 18px; }
    .doc-grid { grid-template-columns: 1fr; }
}

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

@media print {
    .site-header, .site-footer, aside, .ig-ad, .download-box, .sticky-download, .ig-breadcrumb { display: none !important; }
    body { background: #fff; color: #000; }
    .layout-2col { display: block; }
    .ig-card { border: 0; box-shadow: none; }
    .doc-preview { max-height: none; overflow: visible; border: 0; }
}
