/* KOBİ Satış Yardım Merkezi
   Uygulamanın marka paletiyle (navy/blue) uyumlu, açık ve koyu temalı
   dokümantasyon arayüzü. Tek dosya; harici font veya kütüphane yüklenmez. */

:root {
  --navy-950: #0b1220;
  --navy-900: #101a2e;
  --navy-800: #17233b;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-500: #3b82f6;
  --teal-600: #007f7a;
  --cyan-400: #22d3ee;

  --bg: #f6f8fc;
  --bg-elev: #ffffff;
  --bg-sunken: #eef2f9;
  --border: #dbe3ef;
  --border-soft: #e8eef7;
  --text: #172033;
  --text-strong: #0b1220;
  --muted: #5a6879;
  --accent: var(--blue-600);
  --accent-soft: #e8f0ff;
  --danger: #b42318;
  --danger-soft: #fef3f2;
  --success: #059669;
  --success-soft: #ecfdf5;
  --warn: #b54708;
  --warn-soft: #fffaeb;

  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 18px;
  --shadow-s: 0 1px 2px rgba(11, 18, 32, .06), 0 1px 3px rgba(11, 18, 32, .05);
  --shadow: 0 4px 12px rgba(11, 18, 32, .07), 0 1px 3px rgba(11, 18, 32, .05);
  --shadow-l: 0 18px 40px rgba(11, 18, 32, .14);
  --maxw: 1280px;
  --topbar-h: 60px;

  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

:root[data-theme="dark"],
html:not([data-theme="light"]) {
  /* koyu değerler aşağıdaki bloklarda tanımlanır */
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220;
    --bg-elev: #121c2e;
    --bg-sunken: #0e1727;
    --border: #24324a;
    --border-soft: #1c2840;
    --text: #dce5f2;
    --text-strong: #f4f8ff;
    --muted: #93a3b8;
    --accent: #6ea8fe;
    --accent-soft: #17253f;
    --danger: #fda29b;
    --danger-soft: #2a1615;
    --success: #6ee7b7;
    --success-soft: #10251f;
    --warn: #fec84b;
    --warn-soft: #2a2011;
    --shadow-s: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 6px 16px rgba(0, 0, 0, .45);
    --shadow-l: 0 20px 46px rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0b1220;
  --bg-elev: #121c2e;
  --bg-sunken: #0e1727;
  --border: #24324a;
  --border-soft: #1c2840;
  --text: #dce5f2;
  --text-strong: #f4f8ff;
  --muted: #93a3b8;
  --accent: #6ea8fe;
  --accent-soft: #17253f;
  --danger: #fda29b;
  --danger-soft: #2a1615;
  --success: #6ee7b7;
  --success-soft: #10251f;
  --warn: #fec84b;
  --warn-soft: #2a2011;
  --shadow-s: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 6px 16px rgba(0, 0, 0, .45);
  --shadow-l: 0 20px 46px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--bg-sunken);
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  padding: .1em .38em;
}

.hc-skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.hc-skip:focus { left: 0; }

/* ---------------------------------------------------------------- üst bar */

.hc-top {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.hc-top__inner {
  max-width: var(--maxw); margin: 0 auto; height: var(--topbar-h);
  display: flex; align-items: center; gap: 14px; padding: 0 20px;
}
.hc-brand { display: flex; align-items: center; gap: 10px; color: var(--text-strong); flex: none; }
.hc-brand:hover { text-decoration: none; }
.hc-brand img { border-radius: 7px; }
.hc-brand span { display: flex; flex-direction: column; line-height: 1.12; }
.hc-brand b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.hc-brand small { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }

.hc-search { position: relative; flex: 1 1 auto; max-width: 520px; margin: 0 auto; }
.hc-search input {
  width: 100%; height: 38px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-sunken);
  padding: 0 38px 0 36px; font: inherit; font-size: 14px; color: var(--text);
}
.hc-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; background: var(--bg-elev); }
.hc-search__icon {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; fill: var(--muted); pointer-events: none;
}
.hc-search__kbd {
  position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  font: 600 11px/1 var(--mono); color: var(--muted);
  border: 1px solid var(--border); border-radius: 5px; padding: 3px 6px; background: var(--bg-elev);
}
.hc-search input:focus ~ .hc-search__kbd { display: none; }

.hc-platforms { display: flex; gap: 2px; flex: none; background: var(--bg-sunken); padding: 3px; border-radius: 10px; }
.hc-platforms a {
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  padding: 6px 12px; border-radius: 7px;
}
.hc-platforms a:hover { color: var(--text); text-decoration: none; }
.hc-platforms a.is-active { background: var(--bg-elev); color: var(--text-strong); box-shadow: var(--shadow-s); }

.hc-theme, .hc-menu {
  flex: none; width: 36px; height: 36px; border-radius: 9px;
  border: 1px solid var(--border); background: var(--bg-elev); cursor: pointer;
  display: grid; place-items: center; color: var(--muted);
}
.hc-theme svg { width: 18px; height: 18px; fill: currentColor; }
.hc-theme:hover, .hc-menu:hover { color: var(--text); border-color: var(--accent); }
.hc-menu { display: none; }
.hc-menu span { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
.hc-menu span + span { margin-top: 3px; }

/* ------------------------------------------------------------ öneri kutusu */

.hc-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-l); overflow: hidden; max-height: min(70vh, 460px); overflow-y: auto;
}
.hc-suggest a {
  display: block; padding: 10px 14px; border-bottom: 1px solid var(--border-soft); color: var(--text);
}
.hc-suggest a:last-child { border-bottom: 0; }
.hc-suggest a:hover, .hc-suggest a.is-cursor { background: var(--accent-soft); text-decoration: none; }
.hc-suggest b { display: block; font-size: 14px; font-weight: 650; color: var(--text-strong); }
.hc-suggest span { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-suggest em {
  font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent); margin-right: 6px;
}
.hc-suggest mark { background: transparent; color: var(--accent); font-weight: 700; }
.hc-suggest__empty { padding: 14px; font-size: 13.5px; color: var(--muted); }

/* ------------------------------------------------------------------- hero */

.hc-hero {
  background:
    radial-gradient(1100px 420px at 12% -10%, rgba(34, 211, 238, .22), transparent 60%),
    radial-gradient(900px 380px at 88% 0%, rgba(37, 99, 235, .32), transparent 62%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: #eef4ff;
  padding: 62px 20px 68px;
  border-bottom: 1px solid var(--border);
}
.hc-hero__inner { max-width: 860px; margin: 0 auto; text-align: center; }
.hc-eyebrow {
  margin: 0 0 12px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .16em; color: var(--cyan-400);
}
.hc-hero h1 {
  margin: 0 0 14px; font-size: clamp(28px, 4.6vw, 44px); line-height: 1.14;
  letter-spacing: -.025em; font-weight: 780; color: #fff;
}
.hc-hero__lede { margin: 0 auto; max-width: 640px; font-size: 17px; color: #b9c8e0; }
.hc-hero__hint { margin: 16px 0 0; font-size: 13px; color: #8fa3c2; }
.hc-hero__hint code { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.16); color: #d7e4fb; }

.hc-hero--platform { padding: 44px 20px 48px; }
.hc-hero--platform .hc-hero__inner { text-align: left; max-width: var(--maxw); }
.hc-hero--platform h1 { font-size: clamp(26px, 3.4vw, 36px); }

.hc-bigsearch {
  position: relative; display: flex; align-items: center; gap: 8px;
  margin: 28px auto 0; max-width: 680px;
  background: #fff; border-radius: 14px; padding: 7px 7px 7px 44px;
  box-shadow: 0 18px 44px rgba(4, 10, 24, .4);
}
.hc-bigsearch > svg { position: absolute; left: 15px; width: 20px; height: 20px; fill: #64748b; }
.hc-bigsearch input {
  flex: 1; border: 0; background: transparent; font: inherit; font-size: 15.5px;
  color: #172033; height: 42px; min-width: 0;
}
.hc-bigsearch input:focus { outline: none; }
.hc-bigsearch input::placeholder { color: #94a3b8; }
.hc-bigsearch button {
  flex: none; border: 0; border-radius: 9px; background: var(--blue-600); color: #fff;
  font: inherit; font-weight: 650; font-size: 14.5px; padding: 0 20px; height: 42px; cursor: pointer;
}
.hc-bigsearch button:hover { background: var(--blue-700); }
.hc-bigsearch .hc-suggest { text-align: left; }

/* ------------------------------------------------------------ ana sayfa */

.hc-wrap { max-width: var(--maxw); margin: 0 auto; padding: 40px 20px 72px; }
.hc-section + .hc-section { margin-top: 52px; }
.hc-section > h2 {
  margin: 0 0 18px; font-size: 20px; font-weight: 700; letter-spacing: -.015em; color: var(--text-strong);
}
.hc-section--split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }

.hc-platcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hc-platcard {
  display: flex; flex-direction: column; gap: 8px; padding: 22px;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-l);
  color: var(--text); box-shadow: var(--shadow-s); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.hc-platcard:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.hc-platcard__icon { font-size: 26px; line-height: 1; }
.hc-platcard__title { font-size: 17px; font-weight: 700; color: var(--text-strong); }
.hc-platcard__text { font-size: 14px; color: var(--muted); flex: 1; }
.hc-platcard__more { font-size: 13.5px; font-weight: 650; color: var(--accent); }

.hc-popular { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hc-popular a {
  display: block; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-elev); color: var(--text);
}
.hc-popular a:hover { text-decoration: none; border-color: var(--accent); background: var(--accent-soft); }
.hc-popular b { display: block; font-size: 14.5px; font-weight: 650; color: var(--text-strong); }
.hc-popular span { display: block; font-size: 13px; color: var(--muted); }

.hc-startcards { display: grid; gap: 10px; }
.hc-startcard {
  display: block; padding: 14px 16px; border-radius: var(--radius);
  background: var(--bg-sunken); border: 1px solid var(--border-soft); color: var(--text);
}
.hc-startcard:hover { text-decoration: none; border-color: var(--accent); }
.hc-startcard b { display: block; font-size: 14.5px; font-weight: 650; color: var(--text-strong); }
.hc-startcard span { display: block; font-size: 13px; color: var(--muted); }

.hc-seccards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.hc-seccard {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-l);
  padding: 22px; box-shadow: var(--shadow-s);
}
.hc-seccard h2 { margin: 0 0 6px; font-size: 16.5px; font-weight: 700; color: var(--text-strong); }
.hc-seccard p { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); }
.hc-seccard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hc-seccard li a { display: block; padding: 6px 10px; margin: 0 -10px; border-radius: 7px; font-size: 14.5px; color: var(--text); }
.hc-seccard li a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }

/* -------------------------------------------------------------- makale */

.hc-layout {
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 44px; align-items: start;
}

.hc-side {
  position: sticky; top: var(--topbar-h); align-self: start;
  max-height: calc(100vh - var(--topbar-h)); overflow-y: auto;
  padding: 28px 0 48px; border-right: 1px solid var(--border-soft);
}
.hc-side__inner { padding-right: 18px; }
.hc-side__home {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.hc-side__group + .hc-side__group { margin-top: 22px; }
.hc-side__group h3 {
  margin: 0 0 7px; font-size: 12px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted);
}
.hc-side__group ul { list-style: none; margin: 0; padding: 0; }
.hc-side__group li a {
  display: block; padding: 5px 10px; margin-left: -10px; border-radius: 7px;
  font-size: 14px; color: var(--text); border-left: 2px solid transparent;
}
.hc-side__group li a:hover { background: var(--bg-sunken); text-decoration: none; }
.hc-side__group li a.is-active {
  background: var(--accent-soft); color: var(--accent); font-weight: 650; border-left-color: var(--accent);
}

.hc-article { padding: 28px 0 80px; min-width: 0; max-width: 820px; }

.hc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.hc-crumbs a { color: var(--muted); }
.hc-crumbs a:hover { color: var(--accent); }
.hc-crumbs > * + *::before { content: "›"; margin-right: 7px; color: var(--border); }

.hc-article h1 {
  margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.2;
  letter-spacing: -.024em; font-weight: 760; color: var(--text-strong);
}
.hc-lede { margin: 0 0 16px; font-size: 17.5px; line-height: 1.55; color: var(--muted); }

.hc-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 26px; }
.hc-chip {
  font-size: 11.5px; font-weight: 650; letter-spacing: .02em;
  padding: 4px 9px; border-radius: 999px;
  background: var(--bg-sunken); border: 1px solid var(--border); color: var(--muted);
}
.hc-chip--code { font-family: var(--mono); background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.hc-chip--perm { font-family: var(--mono); background: var(--success-soft); border-color: transparent; color: var(--success); }

.hc-toc {
  margin: 0 0 30px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--bg-sunken); border: 1px solid var(--border-soft);
}
.hc-toc h2 { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.hc-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hc-toc a { font-size: 14px; }

.hc-body > * + * { margin-top: 18px; }
.hc-body h2 {
  margin: 44px 0 4px; padding-top: 6px; font-size: 22px; font-weight: 720;
  letter-spacing: -.018em; color: var(--text-strong);
}
.hc-body h2:first-child { margin-top: 0; }
.hc-body h3 { margin: 30px 0 2px; font-size: 17px; font-weight: 700; color: var(--text-strong); }
.hc-body p { margin: 0; }

.hc-list, .hc-steps { margin: 0; padding-left: 1.35em; display: grid; gap: 7px; }
.hc-list li::marker { color: var(--accent); }
.hc-steps { counter-reset: step; list-style: none; padding-left: 0; gap: 10px; }
.hc-steps > li {
  counter-increment: step; position: relative; padding-left: 40px; min-height: 26px;
}
.hc-steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 700; display: grid; place-items: center;
}

.hc-note {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius);
  background: var(--accent-soft); border: 1px solid transparent; border-left: 3px solid var(--accent);
  font-size: 15px;
}
.hc-note__label {
  flex: none; font-size: 11px; font-weight: 750; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent); padding-top: 3px;
}
.hc-note--warn { background: var(--warn-soft); border-left-color: var(--warn); }
.hc-note--warn .hc-note__label { color: var(--warn); }
.hc-note--tip { background: var(--success-soft); border-left-color: var(--success); }
.hc-note--tip .hc-note__label { color: var(--success); }
.hc-note--perm { background: var(--bg-sunken); border-left-color: var(--muted); }
.hc-note--perm .hc-note__label { color: var(--muted); }

/* --------------------------------------------------- ekran görüntüleri */

.hc-shot { margin: 26px 0; }
.hc-shot__link { display: block; }
.hc-shot__link:hover { text-decoration: none; }
.hc-shot img { display: block; width: 100%; }
.hc-shot figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }

.hc-shot--browser .hc-shot__link {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--bg-elev);
  position: relative; padding-top: 30px;
}
.hc-shot--browser .hc-shot__link::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 30px;
  background: var(--bg-sunken); border-bottom: 1px solid var(--border);
}
.hc-shot--browser .hc-shot__link::after {
  content: ""; position: absolute; left: 12px; top: 11px;
  width: 8px; height: 8px; border-radius: 50%; background: #ef7d7d;
  box-shadow: 14px 0 0 #f5c36b, 28px 0 0 #86d39b;
}

.hc-shot--phone { max-width: 340px; margin-inline: auto; }
.hc-shot--phone .hc-shot__link {
  border: 9px solid var(--navy-900); border-radius: 34px; overflow: hidden;
  box-shadow: var(--shadow-l); background: var(--navy-900);
}
.hc-shot--phone img { border-radius: 26px; }

.hc-shot--plain .hc-shot__link { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); }

.hc-shotrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }

/* ------------------------------------------------------------- tablolar */

.hc-tablewrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elev); }
.hc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hc-table th, .hc-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.hc-table th { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--bg-sunken); white-space: nowrap; }
.hc-table tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------------ sss */

.hc-faqs { display: grid; gap: 8px; }
.hc-faq { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elev); overflow: hidden; }
.hc-faq summary { padding: 13px 16px; cursor: pointer; font-weight: 650; font-size: 15px; color: var(--text-strong); list-style: none; position: relative; padding-right: 42px; }
.hc-faq summary::-webkit-details-marker { display: none; }
.hc-faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .15s;
}
.hc-faq[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.hc-faq > div { padding: 0 16px 15px; font-size: 15px; color: var(--text); }

.hc-minicards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.hc-minicard { display: block; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elev); color: var(--text); }
.hc-minicard:hover { text-decoration: none; border-color: var(--accent); background: var(--accent-soft); }
.hc-minicard__title { display: block; font-weight: 650; font-size: 14.5px; color: var(--text-strong); }
.hc-minicard__text { display: block; font-size: 13px; color: var(--muted); }

/* -------------------------------------------------------- ilgili & pager */

.hc-related { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--border); }
.hc-related h2 { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--text-strong); }
.hc-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.hc-related li a { display: block; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14.5px; color: var(--text); background: var(--bg-elev); }
.hc-related li a:hover { border-color: var(--accent); background: var(--accent-soft); text-decoration: none; }
.hc-related em {
  font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--accent); margin-right: 7px;
}

.hc-pager { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hc-pager a { padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elev); color: var(--text); }
.hc-pager a:hover { border-color: var(--accent); text-decoration: none; }
.hc-pager span { display: block; font-size: 12px; color: var(--muted); }
.hc-pager b { display: block; font-size: 14.5px; font-weight: 650; color: var(--text-strong); }
.hc-pager__prev { text-align: left; }
.hc-pager__next { text-align: right; grid-column: 2; }

/* ---------------------------------------------------------- arama sayfası */

.hc-wrap--search { max-width: 860px; }
.hc-wrap--search h1 { margin: 0 0 18px; font-size: 30px; font-weight: 740; letter-spacing: -.02em; color: var(--text-strong); }
.hc-resultsearch { display: flex; gap: 8px; margin-bottom: 18px; }
.hc-resultsearch input {
  flex: 1; height: 46px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg-elev); padding: 0 16px; font: inherit; font-size: 15.5px; color: var(--text);
}
.hc-resultsearch input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.hc-resultsearch button { border: 0; border-radius: var(--radius); background: var(--accent); color: #fff; font: inherit; font-weight: 650; padding: 0 24px; cursor: pointer; }

.hc-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.hc-filters button {
  border: 1px solid var(--border); background: var(--bg-elev); color: var(--muted);
  border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.hc-filters button.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.hc-resultcount { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; }
.hc-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hc-results a { display: block; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elev); color: var(--text); }
.hc-results a:hover { border-color: var(--accent); text-decoration: none; }
.hc-results b { display: block; font-size: 16px; font-weight: 680; color: var(--text-strong); margin-bottom: 3px; }
.hc-results p { margin: 0; font-size: 14px; color: var(--muted); }
.hc-results .hc-results__path { font-size: 12px; color: var(--accent); font-weight: 650; letter-spacing: .02em; margin-bottom: 5px; }
.hc-results mark { background: color-mix(in srgb, var(--accent) 22%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.hc-noresult { font-size: 15px; color: var(--muted); }

/* ------------------------------------------------------------------ alt */

.hc-footer { border-top: 1px solid var(--border); background: var(--bg-elev); }
.hc-footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 22px 20px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: 13.5px; color: var(--muted);
}
.hc-footer p { margin: 0; }
.hc-footer__links { display: flex; flex-wrap: wrap; gap: 16px; }

/* --------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .hc-section--split { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 960px) {
  .hc-platforms { display: none; }
  .hc-menu { display: grid; }
  .hc-layout { grid-template-columns: 1fr; gap: 0; }
  .hc-side {
    position: fixed; inset: var(--topbar-h) auto 0 0; z-index: 39;
    width: min(320px, 86vw); background: var(--bg-elev); border-right: 1px solid var(--border);
    box-shadow: var(--shadow-l); transform: translateX(-102%); transition: transform .22s ease;
    padding: 24px 0 40px; max-height: none;
  }
  .hc-side__inner { padding: 0 20px; }
  body.hc-nav-open .hc-side { transform: none; }
  .hc-platcards { grid-template-columns: 1fr; }
  .hc-article { padding-top: 22px; }
}

@media (max-width: 720px) {
  .hc-search { order: 3; flex-basis: 100%; max-width: none; }
  .hc-top__inner { height: auto; padding: 10px 16px 12px; flex-wrap: wrap; }
  :root { --topbar-h: 104px; }
  .hc-brand { flex: 1; }
  .hc-pager { grid-template-columns: 1fr; }
  .hc-pager__next { grid-column: 1; text-align: left; }
  .hc-hero { padding: 42px 18px 46px; }
  /* Dar ekranda ikon mutlak konumda dikey ortalanıp kutunun ortasında kalıyordu;
     ikonu gizleyip alanı tam genişlikte iki satıra bölüyoruz. */
  .hc-bigsearch { flex-wrap: wrap; padding: 8px; gap: 8px; }
  .hc-bigsearch > svg { display: none; }
  .hc-bigsearch input { flex: 1 1 100%; padding: 0 12px; }
  .hc-bigsearch button { width: 100%; }
}

@media print {
  .hc-top, .hc-side, .hc-footer, .hc-pager, .hc-toc, .hc-menu { display: none !important; }
  .hc-layout { display: block; padding: 0; }
  .hc-article { max-width: none; padding: 0; }
  body { background: #fff; }
  .hc-shot { break-inside: avoid; }
}

/* ------------------------------------------------------------- diyagramlar */

.hc-figure { margin: 26px 0; }
.hc-figure svg { display: block; width: 100%; height: auto; }
.hc-figure figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
