/* Süvari Editorial Touring — Aydınlık Okuma ve Yasal Belge Sistemi (v7) */
:root {
  --doc-bg: #f4f3ee;
  --doc-surface: #ffffff;
  --doc-line: rgba(17, 19, 23, 0.11);
  --doc-line-strong: rgba(17, 19, 23, 0.22);
  --doc-ink: #111317;
  --doc-ink-2: #464d59;
  --doc-ink-3: #717885;
  --doc-amber: #b85d00;
  --doc-amber-2: #b85d00;
  --doc-max: min(1320px, 92vw);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--doc-bg);
  color: var(--doc-ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
.mono { font-variant-numeric: tabular-nums; }

.doc-shell {
  width: 100%;
  max-width: var(--doc-max);
  margin: 0 auto;
  padding: 56px 32px 96px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.doc-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 28px;
}
.doc-side-group {
  display: grid;
  gap: 2px;
}
.doc-side-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--doc-ink-3);
  margin-bottom: 8px;
  padding-left: 10px;
}
.doc-nav-link {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--doc-ink-2);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.doc-nav-link:hover {
  background: rgba(17, 19, 23, 0.05);
  color: var(--doc-ink);
}
.doc-nav-link.is-active {
  background: var(--doc-surface);
  color: var(--doc-ink);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--doc-line);
}

.doc-toc {
  display: grid;
  gap: 3px;
  border-top: 1px solid var(--doc-line);
  padding-top: 20px;
}
.doc-toc a {
  display: block;
  padding: 5px 10px;
  font-size: 13px;
  color: var(--doc-ink-3);
  text-decoration: none;
  line-height: 1.45;
}
.doc-toc a:hover { color: var(--doc-ink); }

.doc-main {
  max-width: 70ch;
}
.doc-header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--doc-line);
  margin-bottom: 38px;
}
.doc-header h1 {
  margin: 0 0 12px;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--doc-ink);
}
.doc-meta {
  font-size: 13.5px;
  color: var(--doc-ink-3);
}

.doc-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--doc-line);
  scroll-margin-top: 96px;
}
.doc-section:first-of-type { padding-top: 0; }
.doc-section:last-of-type { border-bottom: 0; }
.doc-section h2 {
  margin: 0 0 14px;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 23px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--doc-ink);
}
.doc-section h3 {
  margin: 22px 0 8px;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--doc-ink);
}
.doc-section p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--doc-ink-2);
}
.doc-section p:last-child { margin-bottom: 0; }
.doc-section strong { color: var(--doc-ink); font-weight: 700; }
.doc-section a {
  color: var(--doc-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.doc-section a:hover { color: var(--doc-amber); }
.doc-section ul,
.doc-section ol {
  margin: 12px 0 16px;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}
.doc-section li {
  font-size: 15px;
  line-height: 1.68;
  color: var(--doc-ink-2);
}
.doc-section li::marker { color: var(--doc-ink-3); }

.doc-callout {
  margin: 20px 0;
  padding: 18px 22px;
  border-radius: 8px;
  background: var(--doc-surface);
  border: 1px solid var(--doc-line-strong);
  font-size: 14.5px;
  color: var(--doc-ink);
  line-height: 1.65;
}

.doc-footer { display: none; }

@media (max-width: 960px) {
  .doc-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 18px 56px;
  }
  .doc-side {
    position: static;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--doc-line);
    gap: 10px;
  }
  .doc-side-group {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .doc-side-group::-webkit-scrollbar { display: none; }
  .doc-side-title { display: none; }
  .doc-nav-link {
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid var(--doc-line);
    background: var(--doc-surface);
  }
  .doc-toc { display: none; }
}

/* Hide native browser triangle so custom FAQ arrow doesn't double up */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

details > summary { list-style: none !important; display: flex !important; align-items: center; justify-content: space-between; gap: 12px; }
details > summary::-webkit-details-marker { display: none !important; }
details > summary::marker { content: "" !important; display: none !important; }
details > summary > span:last-child { flex-shrink: 0; }


/* === Süvari Akademi Technical Diagrams & Tables (2026-12-03) === */
.doc-diagram {
  margin: 22px 0 26px;
  background: #ffffff;
  border: 1px solid #e5e3db;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.04);
}
.doc-diagram-stage {
  padding: 16px 16px 12px;
  background: #fbfaf7;
}
.doc-diagram svg {
  width: 100%;
  height: auto;
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Inter", sans-serif;
}
.doc-diagram figcaption {
  padding: 10px 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #52525b;
  background: #ffffff;
  border-top: 1px solid #eceae2;
}
.doc-diagram figcaption strong { color: #18181b; }
.doc-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0 20px;
  border: 1px solid #e5e3db;
  border-radius: 12px;
  background: #ffffff;
}
.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.5;
}
.doc-table th, .doc-table td {
  padding: 10px 13px;
  border-bottom: 1px solid #eceae2;
  text-align: left;
  vertical-align: top;
}
.doc-table th {
  background: #f5f4ee;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #52525b;
}
.doc-table tr:last-child td { border-bottom: none; }
@media (max-width: 640px) {
  .doc-diagram-stage { padding: 10px 8px; }
}
