/* kurumilan.com — editoryal makale (rehber yazıları) tasarım sistemi
   Ekran + yazdırma stilleri. static-page.css'ten sonra yüklenir. */

:root {
    --mk-ink:    #16233b;
    --mk-soft:   #4a5a72;
    --mk-line:   #e5eaf1;
    --mk-accent: #1d4ed8;
    --mk-accent-d: #0f2557;
}

/* ── Gövde tipografisi ─────────────────────────────────────────────── */
body.makale { background: #fbfcfe; }
.mk-shell { max-width: 1080px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 260px; gap: 44px; align-items: start; }
.mk-main { min-width: 0; max-width: 740px; }

/* ── Üst künye (masthead) ──────────────────────────────────────────── */
.mk-top { border-bottom: 1px solid var(--mk-line); background: #fff; }
.mk-top-inner { max-width: 1080px; margin: 0 auto; padding: 26px 24px 24px; }
.mk-crumb { font-size: 12.5px; color: #8a97a8; margin-bottom: 16px; }
.mk-crumb a { color: #8a97a8; text-decoration: none; }
.mk-crumb a:hover { color: var(--mk-accent); }
.mk-crumb span { margin: 0 7px; opacity: .6; }
.mk-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--mk-accent); margin-bottom: 14px; }
.mk-eyebrow .mk-cat-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mk-accent); }
.mk-title { font-size: 2.3rem; line-height: 1.14; font-weight: 800; letter-spacing: -.8px; color: var(--mk-ink); margin: 0 0 16px; max-width: 820px; }
.mk-deck { font-size: 1.12rem; line-height: 1.6; color: var(--mk-soft); margin: 0 0 22px; max-width: 760px; font-weight: 400; }
.mk-meta { display: flex; align-items: center; gap: 18px 22px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--mk-line); }
.mk-meta-item { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--mk-soft); font-weight: 600; }
.mk-meta-item i { color: #aab6c6; }
.mk-meta-spacer { flex: 1; }

@media (max-width: 760px) {
    .mk-title { font-size: 1.7rem; }
    .mk-deck { font-size: 1rem; }
    .mk-meta-spacer { display: none; }
}

/* ── Gövde ─────────────────────────────────────────────────────────── */
.mk-body { padding: 34px 0 10px; font-size: 16.5px; line-height: 1.8; color: #27364d; }
.mk-body > p { margin: 0 0 20px; }
.mk-body > p:first-child { font-size: 17.5px; color: var(--mk-ink); }
.mk-body a { color: var(--mk-accent); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid #c7d7fb; }
.mk-body a:hover { border-bottom-color: var(--mk-accent); }
.mk-body strong { color: var(--mk-ink); font-weight: 700; }

.mk-h2 {
    font-size: 1.5rem; font-weight: 800; letter-spacing: -.4px; color: var(--mk-ink);
    margin: 42px 0 16px; padding-left: 15px; border-left: 4px solid var(--mk-accent); line-height: 1.25;
    scroll-margin-top: 80px;
}
.mk-h3 { font-size: 1.12rem; font-weight: 800; color: var(--mk-ink); margin: 28px 0 10px; }

.mk-body ul, .mk-body ol { margin: 0 0 20px; padding-left: 4px; list-style: none; }
.mk-body ul > li { position: relative; padding-left: 26px; margin-bottom: 11px; }
.mk-body ul > li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 2px; background: var(--mk-accent); transform: rotate(45deg); }
.mk-body ol { counter-reset: mk-ol; }
.mk-body ol > li { position: relative; padding-left: 34px; margin-bottom: 11px; counter-increment: mk-ol; }
.mk-body ol > li::before { content: counter(mk-ol); position: absolute; left: 0; top: 1px; width: 23px; height: 23px; border-radius: 7px; background: #eaf1ff; color: var(--mk-accent); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* ── Adım kartları (numaralı süreç) ────────────────────────────────── */
.mk-steps { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 26px; counter-reset: mk-step; }
.mk-step { display: flex; gap: 16px; background: #fff; border: 1px solid var(--mk-line); border-radius: 14px; padding: 18px 20px; counter-increment: mk-step; }
.mk-step::before { content: counter(mk-step); flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--mk-accent) 0%, var(--mk-accent-d) 100%); color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.mk-step-ic h4 { font-size: 15px; font-weight: 800; color: var(--mk-ink); margin: 3px 0 5px; }
.mk-step-ic p { font-size: 14.5px; line-height: 1.65; color: var(--mk-soft); margin: 0; }

/* ── Renkli bilgi kutuları ─────────────────────────────────────────── */
.mk-note { display: flex; gap: 14px; border-radius: 14px; padding: 16px 18px; margin: 24px 0; font-size: 14.5px; line-height: 1.7; }
.mk-note i { flex-shrink: 0; font-size: 1.05rem; margin-top: 2px; }
.mk-note b { display: block; margin-bottom: 3px; font-size: 13.5px; letter-spacing: .2px; text-transform: uppercase; }
.mk-note.ipucu   { background: #eef6ff; border: 1px solid #cfe0ff; color: #1e40af; }
.mk-note.ipucu i { color: #2563eb; }
.mk-note.dikkat  { background: #fff8ec; border: 1px solid #fce3b4; color: #92610a; }
.mk-note.dikkat i { color: #d97706; }
.mk-note.bilgi   { background: #eefbf4; border: 1px solid #c3efd6; color: #11704a; }
.mk-note.bilgi i { color: #10b981; }

/* ── Karşılaştırma / veri tablosu ──────────────────────────────────── */
.mk-table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--mk-line); border-radius: 14px; }
.mk-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 460px; }
.mk-table th, .mk-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--mk-line); vertical-align: top; }
.mk-table thead th { background: #f4f7fc; font-weight: 800; color: var(--mk-ink); font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; }
.mk-table tbody tr:last-child td { border-bottom: none; }
.mk-table td:first-child { font-weight: 700; color: var(--mk-ink); }

/* ── İçindekiler (TOC) ─────────────────────────────────────────────── */
.mk-aside { position: sticky; top: 76px; }
.mk-toc { background: #fff; border: 1px solid var(--mk-line); border-radius: 14px; padding: 18px 20px; }
.mk-toc h4 { font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #8a97a8; margin: 0 0 12px; }
.mk-toc a { display: block; font-size: 13.5px; line-height: 1.45; color: var(--mk-soft); text-decoration: none; padding: 6px 0 6px 12px; border-left: 2px solid var(--mk-line); transition: all .15s; }
.mk-toc a:hover { color: var(--mk-accent); border-left-color: var(--mk-accent); }
.mk-aside .paylas-bar { margin-top: 16px; }

@media (max-width: 960px) {
    .mk-shell { grid-template-columns: 1fr; gap: 0; }
    .mk-main { max-width: 740px; margin: 0 auto; }
    .mk-aside { display: none; }
}

/* ── SSS ───────────────────────────────────────────────────────────── */
.mk-faq { margin: 20px 0 10px; }
.mk-faq details { border: 1px solid var(--mk-line); border-radius: 12px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.mk-faq summary { list-style: none; cursor: pointer; padding: 15px 18px; font-size: 14.5px; font-weight: 700; color: var(--mk-ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: '\002B'; font-size: 1.2rem; color: var(--mk-accent); font-weight: 400; flex-shrink: 0; }
.mk-faq details[open] summary::after { content: '\2212'; }
.mk-faq details[open] summary { border-bottom: 1px solid var(--mk-line); }
.mk-faq .mk-faq-a { padding: 14px 18px; font-size: 14.5px; line-height: 1.7; color: var(--mk-soft); }

/* ── Yazının altı: kaynak + ilgili CTA ─────────────────────────────── */
.mk-kaynak { font-size: 12.5px; color: #8a97a8; line-height: 1.6; border-top: 1px solid var(--mk-line); margin-top: 34px; padding-top: 18px; }
.mk-cta { background: linear-gradient(135deg, var(--mk-accent-d) 0%, var(--mk-accent) 100%); border-radius: 16px; padding: 24px 26px; margin: 30px 0 6px; color: #fff; }
.mk-cta h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 6px; color: #fff; }
.mk-cta p { font-size: 14px; color: rgba(255,255,255,.82); margin: 0 0 14px; line-height: 1.6; }
.mk-cta a { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--mk-accent-d); border-radius: 10px; padding: 10px 18px; font-size: 13.5px; font-weight: 800; text-decoration: none; }

/* ── YAZDIRMA ──────────────────────────────────────────────────────── */
@media print {
    @page { margin: 1.6cm 1.4cm; }
    body.makale { background: #fff !important; font-size: 11.5pt; color: #000; }
    .nav-wrap, .mobile-drawer, .site-footer, .paylas-bar, .ki-push-btn,
    .mk-aside, .mk-cta, .mk-crumb, .adsbygoogle, .ad-unit, .ad-sidebar,
    .mk-meta .paylas-bar { display: none !important; }
    .mk-shell { display: block; max-width: 100%; padding: 0; }
    .mk-main { max-width: 100%; }
    .mk-top { border: none; }
    .mk-top-inner { padding: 0 0 10px; }
    .mk-print-head { display: block !important; font-size: 10pt; color: #555; margin-bottom: 6px; border-bottom: 1.5px solid #000; padding-bottom: 6px; }
    .mk-eyebrow { color: #000; margin-bottom: 8px; }
    .mk-title { font-size: 20pt; color: #000; }
    .mk-deck { font-size: 12pt; color: #333; }
    .mk-meta { border: none; padding-top: 4px; color: #555; }
    .mk-meta-item { color: #555; font-size: 9.5pt; }
    .mk-body { font-size: 11.5pt; color: #111; padding-top: 14px; }
    .mk-h2 { font-size: 14pt; color: #000; border-left-color: #000; page-break-after: avoid; }
    .mk-h3 { font-size: 12pt; page-break-after: avoid; }
    .mk-step, .mk-note, .mk-table-wrap, .mk-faq details { page-break-inside: avoid; border-color: #bbb !important; }
    .mk-step::before { background: #333 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .mk-note { background: #f5f5f5 !important; color: #222 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .mk-body a { color: #000; border: none; }
    .mk-faq details { border: 1px solid #bbb; }
    .mk-faq details:not([open]) { page-break-inside: avoid; }
    .mk-faq summary::after { display: none; }
    .mk-print-foot { display: block !important; margin-top: 18px; border-top: 1.5px solid #000; padding-top: 8px; font-size: 9pt; color: #555; }
}
.mk-print-head, .mk-print-foot { display: none; }
