/* ==========================================================================
   Orderly — Kurumsal sayfalar
   Yüklendiği yerler: /hakkimizda/, /iletisim/, /sss/, /yasal/*, /rehber/, /rehber/*, 404
   main.css'ten SONRA yüklenir (head.php → pageCssFile(), aynı ?v= damgası).
   Önce main.css'teki ortak bileşenlere bakın (tasarim-sistemi.md); buraya yalnız bu
   sayfa grubuna özel kurallar yazılır. Token'lar (--brand, --r-card, --sh-card, --sp-*)
   main.css'te tanımlı; yeni renk/gölge/yarıçap tanımlanmaz.

   17 Ekim 2026 — kurumsal sayfalar yenilemesi. Sınıflar "k-" ön ekli:
     ortak   .k-label .k-meta .k-mono .k-dl .k-tel
     hakkımızda  .k-firm (firma kartı) .k-logos (logo duvarı) .k-doccard/.k-clauses (sözleşme maddeleri)
     iletişim    .k-hours/.k-days (saatler) .k-topics (konuya göre WhatsApp) .k-trial .k-map
     sss         .k-faq (konu listesi + arama + akordiyon) .k-search
     rehber/yasal .k-doc (içindekiler + metin) .k-toc .k-prose .k-inline .k-endbox
     rehber dizini .k-jump .k-gg .k-gcard
   ========================================================================== */

/* ---------- Ortak ---------- */
.k-label { margin: 0 0 8px; font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.k-mono { font-family: var(--font-mono); font-size: .9375em; letter-spacing: .02em; }
.k-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .9375rem; color: var(--muted); }
.k-meta span:not(:last-child)::after { content: '\00a0·'; color: var(--muted-2); }

/* Tanım listesi (firma kartı, ofis bilgisi) */
.k-dl { margin: 0; }
.k-dl > div { display: grid; grid-template-columns: 152px minmax(0, 1fr); gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.k-dl > div:last-child { border-bottom: 0; }
.k-dl dt { font-size: .875rem; line-height: 1.5; color: var(--muted); }
.k-dl dd { margin: 0; font-size: .9375rem; font-weight: 650; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.k-dl a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; color: var(--brand-700); }
.k-dl a:hover { color: var(--brand); }
.k-dl--card { padding: 4px 24px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 480px) {
    .k-dl > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .k-dl a { margin-block: -10px -12px; }
}

/* Büyük telefon bağlantısı */
.k-tel { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.k-tel svg { flex: none; color: var(--brand); }
.k-tel:hover { color: var(--brand-700); }

/* Açık gri zeminli yorum bölümü (Hakkımızda): kartlar beyaz kalır */
.k-rv-alt { background: var(--surface-2); }

/* Uzun belge başlığı (rehber, yasal): sayfa girişindeki H1 biraz küçük, satır biraz uzun */
.k-ph-doc h1 { font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.75rem); max-width: 28ch; line-height: 1.15; }
.k-ph-doc .ph-lead { max-width: 64ch; }
.k-ph-doc .ph-note { margin-top: 16px; }

/* ==========================================================================
   HAKKIMIZDA
   ========================================================================== */

/* Firma kartı (sayfa girişinin sağ sütunu) */
.k-firm { margin: 0; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-card); overflow: hidden; }
.k-firm-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding: 16px 24px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.k-firm-mark { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 800; color: var(--ink); }
.k-firm-tag { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); }
.k-firm .k-dl { padding: 4px 24px 8px; }
@media (max-width: 640px) {
    .k-firm-head { padding: 14px 20px; }
    .k-firm .k-dl { padding: 2px 20px 6px; }
}

/* Logo duvarı: masaüstünde hepsi, telefonda ilk 16 + "hepsini göster" (JS varsa) */
.k-logos { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 16px; max-width: 1080px; margin-inline: auto; }
.k-logos li { display: grid; place-items: center; aspect-ratio: 1; }
.k-logos img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.k-logos-more { display: none; margin-top: 24px; text-align: center; }
@media (max-width: 1080px) { .k-logos { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
@media (max-width: 760px) { .k-logos { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 640px) {
    .k-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
    .k-logos img { border-radius: 12px; }
    .k-js .k-logos:not(.is-all) > li:nth-child(n+17) { display: none; }
    .k-js .k-logos-more { display: block; }
}

/* Satıştan sonra: dört adım masaüstünde tek satır */
/* Destek adımı kaldırıldı (hemen altındaki destek bandı aynı şeyi söylüyor): 3 adım, varsayılan 3 sütun */

/* Sözleşmeden maddeler — belge görünümü */
.k-doccard { max-width: 860px; margin-inline: auto; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-card); overflow: hidden; }
.k-doccard-head { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; padding: 20px 28px; border-bottom: 1px solid var(--line); }
.k-doccard-head strong { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 800; color: var(--ink); }
.k-doccard-head span { font-size: .875rem; color: var(--muted); }
.k-clauses li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 16px 28px; border-bottom: 1px solid var(--line-2); }
.k-clause-no { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; font-family: var(--font-mono); font-size: .875rem; font-weight: 600; color: var(--brand-700); white-space: nowrap; }
.k-clause-no:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.k-clauses p { font-size: 1rem; line-height: 1.55; color: var(--ink-2); }
.k-doccard-foot { padding: 8px 28px 12px; }
@media (max-width: 640px) {
    .k-doccard-head { padding: 16px 20px; }
    .k-clauses li { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 14px 20px; }
    .k-clause-no { min-height: 44px; margin-block: -12px -8px; }
    .k-doccard-foot { padding: 4px 20px 8px; }
}

/* ==========================================================================
   İLETİŞİM
   ========================================================================== */

/* Saatler kartı: haftanın günleri, satış ve teknik destek ayrı satır, bugün işaretli */
.k-hours { margin: 0; padding: 24px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-card); }
.k-hours-head { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; }
.k-hours-h { font-family: var(--font-display); font-size: 1.125rem; font-weight: 800; color: var(--ink); }
.k-hours-today { font-size: .875rem; font-weight: 650; color: var(--brand-700); }
.k-hrow { margin-top: 20px; }
.k-hrow-t { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; font-size: .9375rem; }
.k-hrow-t strong { color: var(--ink); }
.k-hrow-t span { color: var(--muted); font-variant-numeric: tabular-nums; }
.k-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.k-day { position: relative; display: grid; place-items: center; height: 40px; border-radius: var(--r-inner); border: 1px dashed var(--line); font-size: .8125rem; font-weight: 700; color: var(--muted-2); }
.k-day.is-on { border: 1px solid var(--ink); background: var(--ink); color: #fff; }
.k-hrow--destek .k-day.is-on { border-color: var(--green-50); background: var(--green-50); color: var(--green-ink); }
.k-day.is-today { outline: 2px solid var(--brand); outline-offset: 2px; }
.k-hours-foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.k-hours-foot p { margin-top: 2px; font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.k-hours-foot p a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; color: var(--brand-700); font-weight: 600; }
@media (max-width: 640px) {
    .k-hours { padding: 20px 16px; }
    .k-days { gap: 4px; }
    .k-tel { font-size: 1.375rem; }
}

/* Konuya göre WhatsApp: satır listesi (kart ızgarası değil) */
.k-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; max-width: 1080px; margin-inline: auto; border-top: 1px solid var(--line); }
.k-topic { display: grid; grid-template-columns: minmax(0, 1fr) 40px; grid-template-rows: auto auto; align-items: center; column-gap: 16px; height: 100%; min-height: 88px; padding: 16px 0; border-bottom: 1px solid var(--line); color: inherit; }
.k-topic strong { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 750; line-height: 1.3; color: var(--ink); align-self: end; }
.k-topic > span { grid-column: 1; font-size: .9375rem; line-height: 1.45; color: var(--muted); align-self: start; margin-top: 2px; }
.k-topic-ic { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #E7F9EF; color: #1FA855; font-style: normal; transition: background var(--t-fast), color var(--t-fast); }
.k-topic:hover strong { color: var(--brand-700); }
.k-topic:hover .k-topic-ic { background: #22B25B; color: #fff; }
.k-topic:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 960px) { .k-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .k-topics { grid-template-columns: minmax(0, 1fr); }
    .k-topic { min-height: 76px; padding: 14px 0; }
}

/* Deneme kutusu */
.k-trial { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px 24px; max-width: 1080px; margin: 40px auto 0; padding: 24px 28px; border-radius: var(--r-card); background: var(--brand-50); border: 1px solid var(--brand-100); }
.k-trial .icon-tile { background: var(--surface); }
.k-trial-t strong { display: block; font-family: var(--font-display); font-size: 1.1875rem; font-weight: 800; color: var(--ink); }
.k-trial-t p { margin-top: 4px; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 760px) {
    .k-trial { grid-template-columns: 44px minmax(0, 1fr); align-items: start; padding: 20px; }
    .k-trial .icon-tile--lg { width: 44px; height: 44px; }
    .k-trial .btn { grid-column: 1 / -1; width: 100%; white-space: normal; }
}

/* Ofis: harita */
.k-map { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-card); }
.k-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .k-map { aspect-ratio: 1 / 1; } }
.k-office .split-body .info-note { margin-top: 16px; }
.k-office .split-body .link-row { margin-top: 8px; }

/* ==========================================================================
   SSS
   ========================================================================== */
.k-faq { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 64px; align-items: start; }
.k-faq-side-in { position: sticky; top: 96px; display: grid; gap: 24px; max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; padding: 2px 4px 2px 2px; }
.k-faq-main { min-width: 0; max-width: 780px; }

/* Arama */
.k-search-box { position: relative; }
.k-search-box > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.k-search input { width: 100%; min-height: 52px; padding: 12px 48px 12px 48px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: 1rem; color: var(--ink); box-shadow: var(--sh-xs); -webkit-appearance: none; appearance: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.k-search input::placeholder { color: var(--muted-2); }
.k-search input::-webkit-search-cancel-button { display: none; }
.k-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.k-search-x { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.k-search-x:hover { color: var(--ink); background: var(--surface-2); }
.k-search-n { min-height: 1.5em; margin-top: 8px; font-size: .9375rem; color: var(--muted); }

/* Konu listesi */
.k-faq-nav ul { display: grid; gap: 2px; }
.k-faq-nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: var(--r-inner); font-size: .9375rem; font-weight: 600; line-height: 1.3; color: var(--ink-2); transition: background var(--t-fast), color var(--t-fast); }
.k-faq-nav a span { flex: none; min-width: 26px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--surface-2); font-size: .8125rem; font-weight: 700; text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }
.k-faq-nav a:hover { background: var(--surface-2); color: var(--ink); }
.k-faq-nav a.is-cur { background: var(--brand-50); color: var(--brand-700); }
.k-faq-nav a.is-cur span { background: var(--surface); color: var(--brand-700); }
.k-faq-nav a.is-bos { opacity: .45; }
@media (min-width: 961px) { .k-faq-nav a { min-height: 40px; padding-block: 6px; } }

/* "Sorunuz burada yok mu" */
.k-faq-ask { padding: 20px; border-radius: var(--r-card); background: var(--surface-2); border: 1px solid var(--line); }
.k-faq-ask strong { display: block; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 800; color: var(--ink); }
.k-faq-ask p { margin: 4px 0 16px; font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.k-faq-ask .btn { white-space: normal; }

/* Gruplar */
.k-faq-group + .k-faq-group { margin-top: 56px; }
.k-faq-gh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
.k-faq-gh h2 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); line-height: 1.2; }
.k-faq-gh span { flex: none; font-size: .875rem; font-weight: 650; color: var(--muted); }
.k-faq .acc { border-top: 2px solid var(--ink); }
.k-faq .acc-btn { min-height: 64px; padding: 18px 0; font-size: 1.0625rem; line-height: 1.4; }
.k-faq .acc-item.is-open .acc-btn { color: var(--brand-700); }
.k-faq .acc-panel { font-size: 1rem; line-height: 1.65; color: var(--ink-2); padding-right: 44px; }
.k-faq .acc-panel p + p, .k-faq .acc-panel ul + p, .k-faq .acc-panel p + ul { margin-top: 12px; }
.k-faq .acc-panel ul { display: grid; gap: 4px; padding: 12px 16px; border-radius: var(--r-inner); background: var(--surface-2); }
.k-faq .acc-panel ul li { font-variant-numeric: tabular-nums; }
.k-faq .acc-panel a, .k-doc-faq .acc-panel a { color: var(--brand-700); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.k-faq .acc-panel a:hover { color: var(--brand); }

/* Arama sonucu yok */
.k-faq-empty { margin-bottom: 32px; padding: 24px; border-radius: var(--r-card); background: var(--surface-2); border: 1px solid var(--line); }
.k-faq-empty strong { display: block; font-family: var(--font-display); font-size: 1.1875rem; font-weight: 800; color: var(--ink); }
.k-faq-empty p { margin: 4px 0 16px; color: var(--muted); }

@media (max-width: 960px) {
    .k-faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .k-faq-side-in { position: static; gap: 20px; max-height: none; overflow: visible; padding: 0; }
    .k-faq-main { max-width: none; }
    .k-faq-nav ul { display: flex; flex-wrap: wrap; gap: 8px; }
    .k-faq-nav a { min-height: 44px; padding: 8px 8px 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); }
    .k-faq-nav a.is-cur { border-color: var(--brand-200); }
    .k-faq-ask { display: none; }
}
@media (max-width: 640px) {
    .k-faq-group + .k-faq-group { margin-top: 40px; }
    .k-faq .acc-btn { font-size: 1rem; }
    .k-faq .acc-panel { padding-right: 0; }
}

/* ==========================================================================
   REHBER YAZISI ve YASAL METİN — içindekiler + okunur metin
   ========================================================================== */
.k-doc-sec { padding-top: clamp(40px, 5vw, 72px); }
.k-doc { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 72px; align-items: start; }
.k-doc--tek { grid-template-columns: minmax(0, 1fr); }
/* width: 100% şart: yalnız auto kenar boşluğu verilirse ızgara öğesi en geniş içeriğe (520 px'lik tablo) göre büyür */
.k-doc-main { width: 100%; min-width: 0; max-width: 720px; }
.k-doc--tek .k-doc-main { margin-inline: auto; }
.k-doc-aside { position: sticky; top: 96px; }
.k-doc-aside-in { display: grid; gap: 24px; max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }

/* İçindekiler */
.k-toc-list { display: grid; gap: 2px; }
.k-toc-list a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--line); font-size: .9375rem; line-height: 1.4; color: var(--muted); transition: color var(--t-fast), border-color var(--t-fast); }
.k-toc-list a:hover { color: var(--ink); border-left-color: var(--muted-2); }
.k-toc-list a.is-cur { color: var(--ink); font-weight: 650; border-left-color: var(--brand); }
.k-toc-list ol { display: grid; gap: 0; margin-bottom: 4px; }
.k-toc-list ol a { padding-left: 28px; font-size: .875rem; }

/* Kenar sütunundaki küçük deneme kutusu */
.k-aside-cta { padding: 20px; border-radius: var(--r-card); background: var(--surface-2); border: 1px solid var(--line); }
.k-aside-cta strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 800; line-height: 1.35; color: var(--ink); }
.k-aside-cta p { margin: 4px 0 14px; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.k-aside-cta .btn { white-space: normal; }

/* Telefonda içindekiler: açılır kutu */
.k-toc-m { display: none; margin-bottom: 32px; border-radius: var(--r-inner); border: 1px solid var(--line); background: var(--surface-2); }
.k-toc-m > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 16px; font-family: var(--font-display); font-weight: 750; color: var(--ink); cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.k-toc-m > summary::-webkit-details-marker { display: none; }
.k-toc-m > summary::marker { content: ''; }
.k-toc-m > summary span { margin-left: auto; font-family: var(--font-body); font-size: .875rem; font-weight: 500; color: var(--muted); }
.k-toc-m > summary::after { content: ''; flex: none; width: 8px; height: 8px; margin: -4px 4px 0 0; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform var(--t-fast); }
.k-toc-m[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.k-toc-m .k-toc { max-height: 60vh; overflow-y: auto; padding: 0 16px 12px; }
.k-toc-m .k-toc-list a { min-height: 44px; display: flex; align-items: center; padding-block: 8px; }

@media (max-width: 960px) {
    .k-doc { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .k-doc-aside { display: none; }
    .k-toc-m { display: block; }
    .k-doc-main { max-width: 720px; margin-inline: auto; }
}

/* ---------- Okunur metin ---------- */
.k-prose { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); overflow-wrap: break-word; }
.k-prose > * + * { margin-top: 20px; }
.k-prose > :first-child { margin-top: 0; }
.k-prose h2 { margin-top: 56px; font-size: clamp(1.375rem, 1.2rem + .8vw, 1.875rem); line-height: 1.25; letter-spacing: -.02em; }
.k-prose h3 { margin-top: 40px; font-size: 1.1875rem; line-height: 1.35; letter-spacing: -.012em; }
.k-prose h2 + *, .k-prose h3 + * { margin-top: 12px; }
.k-prose strong { color: var(--ink); }
.k-prose a { color: var(--brand-700); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.k-prose a:hover { color: var(--brand); }
.k-prose code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: .875em; color: var(--ink); word-break: break-word; }
.k-prose p.lead { font-size: 1.1875rem; line-height: 1.6; color: var(--muted); }

/* Listeler */
.k-prose ul:not([class]), .k-prose ol:not([class]) { padding-left: 24px; }
.k-prose ul:not([class]) { list-style: disc; }
.k-prose ol:not([class]) { list-style: decimal; }
.k-prose ul:not([class]) > li, .k-prose ol:not([class]) > li { display: list-item; padding-left: 4px; }
.k-prose ul:not([class]) > li + li, .k-prose ol:not([class]) > li + li { margin-top: 8px; }
.k-prose ul:not([class]) > li::marker, .k-prose ol:not([class]) > li::marker { color: var(--brand); font-weight: 700; }
.k-prose ul.checks { gap: 12px; padding: 20px 24px; border-radius: var(--r-inner); background: var(--surface-2); border: 1px solid var(--line-2); }
.k-prose ul.checks li { font-size: 1rem; line-height: 1.6; }

/* Numaralı adımlar */
.k-prose ol.k-steps { display: grid; gap: 16px; counter-reset: k-adim; }
.k-prose ol.k-steps > li { position: relative; min-height: 32px; padding-left: 48px; counter-increment: k-adim; }
.k-prose ol.k-steps > li::before { content: counter(k-adim); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); font-family: var(--font-display); font-size: .9375rem; font-weight: 800; line-height: 1; }
.k-prose ol.k-steps em { font-style: normal; font-weight: 700; color: var(--green-ink); }

/* Rutin tablosu (tanım listesi) */
.k-prose dl.k-rutin { border-radius: var(--r-inner); border: 1px solid var(--line); overflow: hidden; }
.k-rutin > div { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 4px 16px; padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.k-rutin > div:last-child { border-bottom: 0; }
.k-rutin dt { font-family: var(--font-display); font-weight: 750; color: var(--ink); }
.k-rutin dd { margin: 0; line-height: 1.6; }

/* Tablolar */
.k-prose .k-table, .k-prose .table-wrap { overflow-x: auto; border-radius: var(--r-inner); border: 1px solid var(--line); background: var(--surface); }
.k-prose .k-table table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.k-prose .k-table th, .k-prose .k-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-2); }
.k-prose .k-table thead th { background: var(--surface-2); font-family: var(--font-display); font-size: .8125rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.k-prose .k-table td:last-child, .k-prose .k-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.k-prose .k-table tfoot th, .k-prose .k-table tfoot td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 800; color: var(--ink); }
.k-prose .table-wrap table.tbl { min-width: 520px; font-size: .9375rem; }

/* Örnek hesap */
.k-prose table.k-calc { width: 100%; max-width: 480px; border-collapse: collapse; border-radius: var(--r-inner); overflow: hidden; background: var(--surface-2); font-size: 1rem; }
.k-calc th, .k-calc td { padding: 12px 20px; border-bottom: 1px solid var(--line); }
.k-calc th { text-align: left; font-weight: 500; color: var(--ink-2); }
.k-calc td { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.k-calc tr.is-sum th, .k-calc tr.is-sum td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 800; color: var(--ink); }
.k-prose .k-formula { display: inline-block; padding: 12px 20px; border-radius: var(--r-inner); border: 1px dashed var(--line); background: var(--surface-2); font-family: var(--font-mono); font-size: 1.0625rem; color: var(--ink); }
.k-prose .k-formula strong { color: var(--green-ink); }

/* Yazarkasa cihaz dizisi metin sütununda satır düzeninde */
.k-prose .k-lineup { margin-block: 24px; }
.k-lineup .lineup { grid-template-columns: minmax(0, 1fr); gap: 8px; max-width: none; }
.k-lineup .lineup-i { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 20px 10px 12px; text-align: left; }
.k-lineup .lineup-img { width: 52px; height: 72px; margin: 0; place-items: center; }
.k-lineup .lineup-img img { max-height: 72px; max-width: 52px; }
.k-lineup .lineup-i .lineup-t { margin: 0; }
.k-lineup .lineup { line-height: 1.35; }
.k-lineup .lineup-p { width: auto; margin: 0; padding: 0; border: 0; text-align: right; line-height: 1.25; }
.k-lineup .lineup-p b { font-size: 1.125rem; }
.k-lineup .lineup-note { max-width: none; margin: 12px 0 0; text-align: left; }

/* Yazının ortasında "Orderly’de" kutusu */
.k-prose > .k-inline { margin-block: 40px; }
.k-inline { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px; border-radius: var(--r-card); background: var(--surface-2); border: 1px solid var(--line); }
.k-inline-img { aspect-ratio: 16 / 10; border-radius: var(--r-inner); overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); }
.k-inline-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.k-inline-b { min-width: 0; padding-right: 8px; }
.k-inline-k { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); }
.k-inline-b strong { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 1.125rem; font-weight: 800; line-height: 1.3; color: var(--ink); }
.k-inline-b p { margin-top: 4px; font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.k-inline-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 12px; }
.k-inline-cta .btn { padding: 10px 18px; }
.k-prose .k-inline a.link-arrow { min-height: 44px; text-decoration: none; font-weight: 650; }
.k-prose .k-inline a.btn { text-decoration: none; color: #fff; }
@media (max-width: 560px) {
    .k-inline { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 12px 12px 16px; }
    .k-inline-b { padding: 0 4px; }
    .k-inline-cta { flex-direction: column; align-items: stretch; gap: 0; }
    .k-inline-cta .btn { width: 100%; padding-block: 13px; white-space: normal; }
    .k-inline-cta .link-arrow { justify-content: center; }
}

/* Yazının sonu: sık sorulanlar + deneme kutusu */
.k-doc-faq { margin-top: 56px; }
.k-doc-faq > h2 { margin-bottom: 16px; font-size: clamp(1.375rem, 1.2rem + .8vw, 1.875rem); }
.k-doc-faq .acc-btn { min-height: 60px; font-size: 1.0625rem; line-height: 1.4; }
.k-doc-faq .acc-panel { font-size: 1rem; line-height: 1.65; color: var(--ink-2); }
.k-endbox { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 32px; margin-top: 48px; padding: 28px; border-radius: var(--r-card); background: var(--brand-50); border: 1px solid var(--brand-100); }
.k-endbox-t strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; line-height: 1.3; color: var(--ink); }
.k-endbox-t p { margin-top: 6px; font-size: 1rem; line-height: 1.55; color: var(--ink-2); }
.k-endbox-cta { display: grid; gap: 8px; }
.k-endbox-cta .btn { white-space: nowrap; }
@media (max-width: 760px) {
    .k-endbox { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
    .k-endbox-cta .btn { width: 100%; white-space: normal; }
}

/* Yasal metin: daha sık satır, bölüm başlıkları ayrılır */
.k-prose--legal { font-size: 1rem; line-height: 1.7; }
.k-prose--legal > * + * { margin-top: 16px; }
.k-prose--legal h2 { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.k-prose--legal > h2:first-child { padding-top: 0; border-top: 0; }
.k-prose--legal h3 { margin-top: 32px; font-size: 1.125rem; }
.k-prose--legal h3 + * { margin-top: 8px; }

/* Yasal sayfanın kapanış bandındaki e-posta bağlantısı */
.k-cta-yasal .sec-lead a { color: #fff; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ==========================================================================
   REHBER DİZİNİ
   ========================================================================== */
.k-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.k-jump .chip { gap: 8px; padding-right: 10px; }
.k-jump .chip span { min-width: 24px; padding: 1px 7px; border-radius: var(--r-pill); background: var(--surface-2); font-size: .8125rem; font-weight: 700; text-align: center; color: var(--muted); }

.k-gg + .k-gg { margin-top: clamp(56px, 6vw, 80px); }
.k-gg-head { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 24px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.k-gg-head h2 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.875rem); line-height: 1.2; }
.k-gg-head p { font-size: 1rem; color: var(--muted); }

.k-glist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.k-glist > li { min-width: 0; }
.k-gcard { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); grid-template-rows: auto auto 1fr; grid-template-areas: "img t" "img d" "img m"; column-gap: 20px; row-gap: 6px; height: 100%; padding: 12px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); color: inherit; transition: border-color var(--t-fast), transform var(--t-fast); }
.k-gcard:hover { border-color: var(--brand); transform: translateY(-2px); }
.k-gcard:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.k-gcard-img { grid-area: img; align-self: start; aspect-ratio: 16 / 10; border-radius: var(--r-inner); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line-2); }
.k-gcard-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.k-gcard-t { grid-area: t; padding-top: 4px; padding-right: 8px; font-family: var(--font-display); font-size: 1.125rem; font-weight: 750; line-height: 1.3; letter-spacing: -.012em; color: var(--ink); }
.k-gcard-d { grid-area: d; padding-right: 8px; font-size: .9375rem; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.k-gcard-m { grid-area: m; align-self: end; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; font-size: .875rem; font-weight: 650; color: var(--brand-700); }
.k-gcard:hover .k-gcard-m svg { transform: translateX(3px); }
.k-gcard-m svg { transition: transform var(--t-fast); }
@media (max-width: 960px) { .k-glist { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
    .k-gcard { grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto auto; grid-template-areas: "img t" "d d" "m m"; column-gap: 14px; row-gap: 8px; padding: 12px; }
    .k-gcard-img { align-self: start; }
    .k-gcard-t { padding: 0; font-size: 1.0625rem; }
    .k-gcard-d { padding: 0; -webkit-line-clamp: 2; }
    .k-gcard-m { min-height: 32px; padding: 0; }
}

/* ==========================================================================
   404
   ========================================================================== */
.k-404-seg .seg-nav { margin-top: 0; }
.k-404-links { margin-top: 24px; }

/* ---------- Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
    .k-gcard:hover, .k-gcard:hover .k-gcard-m svg { transform: none; }
    .k-toc-m > summary::after { transition: none; }
}

/* SON TUR (17 Ekim 2026): rehber tabloları telefonda yana kaymasın; son sütun (tutar) ekranda kalsın */
@media (max-width: 640px) {
    .k-prose .k-table table { min-width: 0; font-size: .875rem; }
    .k-prose .k-table th, .k-prose .k-table td { padding: 10px 8px; }
    .k-prose .k-table thead th { font-size: .75rem; letter-spacing: .02em; }
}

/* ==========================================================================
   SEO turu (17 Ekim 2026) — rehber
   ========================================================================== */

/* Rehber kartı başlığı <strong> yerine <h3>: başlık kuralları (balance, 800) sıfırlanır, görünüm aynı kalır */
.k-gcard-t { margin: 0; text-wrap: wrap; }

/* Metin tablosu (karşılaştırma, cihaz listesi): son sütun tutar değil metin; sola yaslı, satır kırılır */
.k-prose .k-table--metin td:last-child, .k-prose .k-table--metin th:last-child { text-align: left; white-space: normal; font-variant-numeric: normal; }
.k-prose .k-table--metin tbody th { font-weight: 700; color: var(--ink); vertical-align: top; }
.k-prose .k-table--metin td { vertical-align: top; }
.k-prose .k-table--metin tbody tr:last-child > * { border-bottom: 0; }

/* Rehber dizini: Terimler sözlüğü (.k-dl kartı; masaüstünde iki sütun, rehber kartlarıyla aynı genişlikte) */
.k-terms dt { font-size: .9375rem; font-weight: 750; color: var(--ink); }
.k-terms dd { font-weight: 400; color: var(--ink-2); }
.k-terms > div { scroll-margin-top: 96px; }
@media (min-width: 961px) {
    .k-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
    .k-terms > div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
