﻿@font-face {
  font-family: "FiraSans";
  src: url("fonts/Fira_Sans/FiraSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FiraSans";
  src: url("fonts/Fira_Sans/FiraSans-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "FiraSans";
  src: url("fonts/Fira_Sans/FiraSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FiraSans";
  src: url("fonts/Fira_Sans/FiraSans-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ====== ESKİ PALET (geri dönmek için: aşağıdaki :root'u bununla değiştir) ======
:root {
  --bg: #ffffff;
  --text: #222222;
  --muted: #666666;
  --line: #b8dce8;
  --header-band: #e7f1f2;
  --surface-soft: #fbfeff;
  --link: #0d6f98;
}
================================================================================ */

/* Çocuk dostu deneme paleti — Alternatif 3: canlı mavi / lacivert */
:root {
  --bg: #ffffff;
  --text: #1e2a3a;
  --muted: #5a6675;
  --line: #bcd6f5;
  --header-band: #e8f1fd;
  --surface-soft: #f6faff;
  --link: #1f6fe5;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-padding-top: 110px;
}

body {
  font-family: "FiraSans", Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "FiraSans", Helvetica, Arial, sans-serif;
  margin-top: 0;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--header-band);
  position: sticky;
  top: 0;
  z-index: 120;
}

.topbar-inner {
  display: grid;
  grid-template-columns: 140px minmax(180px, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 54px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 1.28rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #111111;
  text-decoration: none;
}

.logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-trial {
  color: #c62828;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-search input {
  width: 100%;
  height: 34px;
  border: 1px solid var(--line);
  border-right: 0;
  padding: 0 9px;
  font: inherit;
}

.site-search {
  width: min(420px, 100%);
  justify-self: center;
  display: flex;
  position: relative;
}

.site-search button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: #f7f7f7;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.site-search button:hover {
  background: #efefef;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  max-height: 60vh;
  overflow-y: auto;
  z-index: 50;
  display: none;
  font-size: 0.85rem;
}

.search-results.is-open {
  display: block;
}

.search-results li {
  margin: 0;
  border-bottom: 1px solid #eef2f3;
}

.search-results li:last-child {
  border-bottom: 0;
}

.search-results .search-empty,
.search-results .search-status {
  padding: 10px 12px;
  color: var(--muted);
}

.search-results a {
  display: block;
  padding: 8px 12px;
  color: #222222;
  text-decoration: none;
}

.search-results a:hover,
.search-results a:focus {
  background: var(--header-band);
  outline: none;
}

.search-results .search-title {
  font-weight: 600;
  color: #1a8f6a;
}

.search-results .search-section {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.search-results .search-snippet {
  font-size: 0.8rem;
  color: #333333;
  margin-top: 4px;
  line-height: 1.35;
}

.search-results mark {
  background: #fff3a8;
  color: inherit;
  padding: 0 1px;
}

.content-host mark.search-hit {
  background: #fff3a8;
  color: inherit;
  padding: 0 1px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.layout {
  padding-top: 14px;
  padding-bottom: 24px;
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  gap: 24px;
}

.toc {
  position: static;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
}

.toc-card {
  border: 1px solid var(--line);
  padding: 12px;
  background: #ffffff;
}

.toc-card h2 {
  font-size: 1.08rem;
  font-weight: 400;
  margin: -12px -12px 8px;
  padding: 8px 12px;
  background: #e8f6ec;
  border-bottom: 1px solid #a9dfba;
  color: #1f7a41;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list li {
  margin: 0;
}

.menu-item {
  border-bottom: 1px solid #eef5f8;
}

.menu-item:last-child {
  border-bottom: 0;
}

.menu-list a {
  display: block;
  position: relative;
  padding: 4px 4px 4px 20px;
  font-size: 0.86rem;
  color: #222222;
}

.menu-list > li > a {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.menu-toggle {
  width: 100%;
  border: 0;
  padding: 4px 22px 4px 20px;
  background: transparent;
  color: #222222;
  font: inherit;
  font-size: 0.86rem;
  text-align: left;
  position: relative;
  cursor: pointer;
}

.menu-toggle::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9c9c9c;
}

.menu-toggle::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.9rem;
}

.menu-item.is-open > .menu-toggle::after {
  content: "-";
}

.menu-item.is-open > .menu-toggle::before,
.menu-toggle:hover::before {
  background: #1a8f6a;
}

.menu-toggle.is-active {
  color: #1a8f6a;
  font-weight: 700;
}

.menu-list a::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9c9c9c;
}

.menu-list a:hover::before {
  background: #1a8f6a;
}

.submenu-list {
  list-style: none;
  margin: 4px 0 6px 8px;
  padding: 4px 0 4px 12px;
  display: none;
  border-left: 2px solid #a9dfba;
  background: #f1f8f3;
}

.menu-item.is-open > .submenu-list {
  display: block;
}

.menu-item.is-open > .menu-toggle {
  background: #e8f6ec;
}

.submenu-list a {
  padding: 3px 4px 3px 16px;
  font-size: 0.8rem;
  color: #4b4b4b;
}

.submenu-list a.is-active {
  color: #1a8f6a;
  font-weight: 700;
}

.submenu-list a::before {
  left: 2px;
  top: 10px;
  width: 4px;
  height: 4px;
  background: #b7b7b7;
}

.content {
  font-family: "FiraSans", Helvetica, Arial, sans-serif;
  font-size: 0.94rem;
  min-width: 0;
  max-width: 720px;
}

.content-banner {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.content-banner a {
  color: inherit;
  text-decoration: none;
}

.content-banner a:hover,
.content-banner a:focus {
  text-decoration: underline;
}

.content-host {
  min-width: 0;
  min-height: 74vh;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.68;
  font-size: calc(15px * var(--reader-scale, 1));
  background: #ffffff;
  overflow-wrap: anywhere;
  word-break: normal;
  overflow-x: auto;
  padding-top: 12px;
}

/* İlk başlığın üst boşluğunu sıfırla (Word HTML büyük margin üretir) */
.content-host > :first-child,
.content-host .WordSection1 > :first-child,
.content-host .WordSection2 > :first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.content-host h1 {
  margin-top: 0 !important;
  font-size: 1.7em !important;
}

.content-host h2 {
  font-size: 1.33em !important;
}

.content-host p,
.content-host li,
.content-host td,
.content-host th {
  overflow-wrap: anywhere;
}

.content-host h1,
.content-host h2,
.content-host h3,
.content-host h4,
.content-host h5,
.content-host h6 {
  font-family: "FiraSans", Helvetica, Arial, sans-serif;
  scroll-margin-top: 110px;
}

.content-host [id] {
  scroll-margin-top: 110px;
}

.content-host h1,
.content-host h1 * {
  font-weight: 400 !important;
}

.content-host h2,
.content-host h2 * {
  font-weight: 700 !important;
}

.content-host .WordSection1,
.content-host .WordSection2 {
  line-height: 1.62;
}

.content-host p.MsoNormal,
.content-host li.MsoNormal,
.content-host div.MsoNormal,
.content-host p.MsoFootnoteText,
.content-host li.MsoFootnoteText,
.content-host div.MsoFootnoteText {
  line-height: 1.62 !important;
  margin-bottom: 0.65rem !important;
}

.content-host h1,
.content-host h2,
.content-host h3,
.content-host h4,
.content-host h5,
.content-host h6,
.content-host .WordSection1 h1,
.content-host .WordSection1 h2,
.content-host .WordSection2 h1,
.content-host .WordSection2 h2 {
  line-height: 1.28 !important;
}

.content-host ol,
.content-host ul {
  margin-top: 0.3rem !important;
  margin-bottom: 0.8rem !important;
  padding-left: 1.35rem;
}

.content-host table {
  margin: 0.8rem 0 1.2rem;
}

.content-host table:not(.MsoNormalTable) {
  border-collapse: collapse;
  border: 1px solid #8fa9b7;
}

.content-host table:not(.MsoNormalTable) th,
.content-host table:not(.MsoNormalTable) td {
  border: 1px solid #8fa9b7;
  padding: 0.12rem 1.4rem;
  line-height: 1.25;
  text-align: center;
  vertical-align: middle;
}

.content-host table:not(.MsoNormalTable) td p,
.content-host table:not(.MsoNormalTable) th p {
  margin: 0 !important;
  line-height: 1.25 !important;
}

.content-host table.ornek-table td,
.content-host table.ornek-table td p {
  text-align: left !important;
}

.content-host table.alfabe-table th,
.content-host table.alfabe-table td {
  padding: 3px 7px;
  white-space: nowrap;
}

/* 09 - Diyalog ve adres blokları (kaynak biçimini korur) */
.content-host table.diyalog {
  border: 0 !important;
  border-collapse: collapse;
  margin: 0.3rem 0 0.7rem 1.4rem;
}
.content-host table.diyalog td {
  border: 0 !important;
  padding: 0 0 0.12rem 0 !important;
  text-align: left !important;
  vertical-align: top;
  line-height: 1.5 !important;
}
.content-host table.diyalog td.ks {
  white-space: nowrap;
  padding-right: 1.1em !important;
}
.content-host .adres-blok {
  width: fit-content;
  margin: 0.1rem 0 0.7rem 1.4rem;
}
.content-host .adres-blok p.MsoNormal {
  margin: 0 0 0.12rem !important;
}
.content-host .adres-blok p.adres-ulke {
  text-align: center;
}
.content-host table.madde-tablo {
  border: 0 !important;
  border-collapse: collapse;
  margin: 0.3rem auto 0.8rem;
}
.content-host table.madde-tablo td {
  border: 0 !important;
  text-align: left !important;
  padding: 0.06rem 2.2rem 0.06rem 0 !important;
  line-height: 1.4 !important;
}
.content-host table.madde-tablo td:last-child {
  padding-right: 0 !important;
}

/* 09 - Satır sonu bölünme örneği: sabit kutu + iki yana yaslama */
.content-host .bolunme-blok {
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0.4rem 0 0.8rem 0;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-soft);
  font-size: 0.9em;
  overflow-x: auto;
}
.content-host .bolunme-blok p {
  margin: 0 !important;
  line-height: 1.55;
  text-align: justify;
  -moz-text-align-last: justify;
  text-align-last: justify;
}
.content-host .bolunme-blok p:first-child { text-indent: 1.6em; }
.content-host .bolunme-blok p:last-child {
  text-align-last: left;
  -moz-text-align-last: left;
}
/* Noktalı (satır dolgu) bölünme örnekleri: yaslama yok, sola daya, küçük yazı */
.content-host .bolunme-blok.nokta { font-size: 0.82em; }
.content-host .bolunme-blok.nokta p {
  text-indent: 0 !important;
  text-align: left !important;
  -moz-text-align-last: left !important;
  text-align-last: left !important;
  white-space: nowrap;
}

.arama-satir {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.arama-satir .kisaltma-meta {
  margin: 0;
  text-align: left;
}

.arama-satir .dizin-opt {
  margin: 0;
  white-space: nowrap;
}

.content-host table:not(.MsoNormalTable) thead th {
  background: #e8f6ec;
  font-family: "FiraSans", Helvetica, Arial, sans-serif;
  font-weight: 700;
}

/* 14 - Noktalama İşaretleri ve Diğer İşaretler tablosu */
.content-host table.isaret-table td:nth-child(1) {
  text-align: center !important;
  font-weight: 600;
  white-space: nowrap;
  min-width: 3.5em;
}

.content-host table.isaret-table td:nth-child(2) {
  text-align: left !important;
}

.content-host table.isaret-table td:nth-child(2)::first-letter {
  text-transform: uppercase;
}

.content-host img {
  max-width: 100%;
  height: auto;
}

.content-host p.warning-paragraph,
.content-host p.warning-paragraph-trial,
.content-host .warning-box {
  border: 1px solid #a9dfba;
  background: #e8f6ec;
  border-radius: 2px;
  padding: 0.35rem 0.5rem;
  margin: 0.5rem 0;
}
.content-host .warning-box > p { margin: 0 0 0.4rem !important; }
.content-host .warning-box > p:last-child { margin-bottom: 0 !important; }

/* Word'den gelen inline renk / font-family stillerini etkisizleÅŸtir
   (Ã¶rn. 02 dosyasÄ±ndaki "DÃ¼zeltme Ä°ÅŸareti" bÃ¶lÃ¼mÃ¼nde span'lara
   gÃ¶mÃ¼lmÃ¼ÅŸ #6B6B6B / #4D4D4D ve font-family:"inherit",serif). */
.content-host p span,
.content-host li span,
.content-host h1 span,
.content-host h2 span,
.content-host h3 span,
.content-host h4 span,
.content-host h5 span,
.content-host h6 span,
.content-host b,
.content-host strong,
.content-host i,
.content-host em {
  color: inherit !important;
  font-family: inherit !important;
  background-color: transparent !important;
}

.content-host .dizin-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.6rem 0 1rem;
  align-items: center;
}

.content-host .dizin-jump a {
  display: inline-block;
  min-width: 1.4rem;
  padding: 0.1rem 0.35rem;
  border: 1px solid #d6dfe5;
  border-radius: 3px;
  text-align: center;
  font-size: 0.86rem;
  background: #fbfdff;
}

.content-host .dizin-letter {
  margin-top: 1.1rem;
  border-top: 1px solid #edf1f4;
  padding-top: 0.5rem;
}

.content-host .dizin-list {
  margin-top: 0.2rem !important;
}

.content-host .dizin-empty {
  color: #707070;
}

.content-plain {
  margin: 0;
  white-space: pre-wrap;
  font-family: inherit;
}

.signature-block {
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  text-align: center;
}

.signature-block.signature-left {
  margin-left: 0;
  text-align: left;
}

.signature-block.signature-center {
  margin-right: auto;
}

[data-content-link].is-active {
  color: #1a8f6a;
  font-weight: 700;
}

.right-panel {
  position: static;
  align-self: start;
  width: 190px;
  justify-self: end;
  display: grid;
  gap: 12px;
}

.right-card {
  border: 1px solid var(--line);
  padding: 12px;
  font-size: 0.84rem;
  background: #ffffff;
}

.right-figure {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.right-figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

.right-card h2 {
  font-size: 1.08rem;
  font-weight: 400;
  margin: -12px -12px 8px;
  padding: 8px 12px;
  background: #e8f6ec;
  border-bottom: 1px solid #a9dfba;
  color: #1f7a41;
}

.right-card h2 .ht-refresh {
  float: right;
  border: 0;
  background: transparent;
  color: var(--link);
  cursor: pointer;
  font-size: 1.1em;
  line-height: 1;
  padding: 0 2px;
  transition: transform 0.3s;
}
.right-card h2 .ht-refresh:hover { color: var(--text); transform: rotate(180deg); }

.right-card ul,
.right-card ol {
  margin: 0;
  padding-left: 18px;
}

.right-card p {
  margin: 0;
}

.right-card .action-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.right-card .action-list li {
  margin: 0;
}

.right-card .action-link {
  background: none;
  border: 0;
  padding: 2px 0;
  width: 100%;
  text-align: left;
  font: inherit;
  line-height: 1.25;
  color: var(--link, #0b5fff);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.right-card .action-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: currentColor;
}

.right-card .action-link:hover,
.right-card .action-link:focus {
  text-decoration: underline;
  outline: none;
}

.hint {
  border-left: 3px solid #bdbdbd;
  padding-left: 10px;
  color: var(--muted);
}

.site-footer {
  width: 100%;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  background: var(--header-band);
  padding: 16px 16px;
  text-align: center;
}

.footer-main {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: var(--line);
}

.footer-logo svg {
  width: 40px;
  height: 40px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.footer-info h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  font-family: Arial, sans-serif;
}

.footer-info h3 a {
  color: var(--link);
}

.footer-info h3 a:hover {
  text-decoration: underline;
}

.footer-info p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-legal {
  max-width: 760px;
  margin: 0 auto;
}

.footer-legal ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-legal li {
  margin: 0;
}

.footer-legal a {
  color: var(--link);
  font-size: 0.9rem;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-credit {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.glossary-card {
  width: min(760px, 100%);
  margin: 36px auto;
  border: 1px solid var(--line);
  padding: 20px;
  background: #ffffff;
}

.glossary-card h1 {
  font-size: 1.75rem;
  margin: 0;
}

@media (max-width: 920px) {
  .topbar-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .right-panel {
    position: static;
  }

  /* Dar ekranda kenar Ã§ubuÄŸu Ã¼stte olduÄŸu iÃ§in aÃ§Ä±lan alt menÃ¼
     iÃ§eriÄŸi aÅŸaÄŸÄ± itip baÅŸlÄ±k konumunu bozuyordu. Alt menÃ¼leri
     bu kÄ±rÄ±lÄ±m altÄ±nda gizleyerek iÃ§erik her zaman aynÄ± noktadan
     baÅŸlasÄ±n. H2 baÅŸlÄ±klarÄ±na sayfa iÃ§inden zaten eriÅŸilebilir. */
  .submenu-list {
    display: none !important;
  }

  .footer-legal ul {
    gap: 16px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 14px;
  }

  .footer-legal ul {
    flex-direction: column;
    gap: 8px;
  }
}

/* Başlık yanı 'başa dön' oku */
.content-host h2 .back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55em;
  height: 1.55em;
  margin-left: 0.5em;
  font-size: 0.62em;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  background: var(--link);
  border-radius: 50%;
  text-decoration: none;
  vertical-align: middle;
  opacity: 0.9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: opacity 0.15s, transform 0.15s, background 0.15s;
}
.content-host h2 .back-to-top:hover,
.content-host h2 .back-to-top:focus {
  opacity: 1;
  background: #0a5876;
  transform: translateY(-2px);
  color: #ffffff;
}

.content-host h2 .copy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55em;
  height: 1.55em;
  margin-left: 0.4em;
  font-size: 0.62em;
  color: var(--link);
  background: var(--surface-soft);
  border: 1px solid var(--link);
  border-radius: 50%;
  text-decoration: none;
  vertical-align: middle;
  opacity: 0.9;
  transition: opacity 0.15s, transform 0.15s, background 0.15s, color 0.15s;
}
.content-host h2 .copy-link svg { width: 0.82em; height: 0.82em; display: block; }
.content-host h2 .copy-link:hover,
.content-host h2 .copy-link:focus {
  opacity: 1;
  background: var(--link);
  color: #ffffff;
  transform: translateY(-2px);
}
.content-host h2 .copy-link.copied {
  background: #1a8f6a;
  border-color: #1a8f6a;
  color: #ffffff;
}


/* Kısaltmalar dizini araması */
#kisaltma-arama { margin-top: 1em; }
#kisaltma-q { width: 100%; padding: 0.55em 0.8em; font-size: 1rem; border: 1px solid #bbb; border-radius: 6px; box-sizing: border-box; }
#kisaltma-q:focus { outline: 2px solid #7aa6ff; border-color: #7aa6ff; }
.kisaltma-meta { color: #666; font-size: 0.85em; margin: 0.4em 0 0.8em; }
.kisaltma-aciklama { color: #555; font-style: italic; }
.kisaltma-list { list-style: none; padding: 0; margin: 0; }
.kisaltma-item { display: grid; grid-template-columns: minmax(7em, 12em) 1fr; gap: 0.8em; padding: 0.5em 0.2em; border-bottom: 1px solid #eee; align-items: baseline; }
.kisaltma-item .k-key { font-weight: 600; color: #1a3a7a; font-family: 'FiraSans', system-ui, sans-serif; }
.kisaltma-item .k-tr { }
.kisaltma-item .k-yab { color: #666; font-style: italic; }
.kisaltma-item ol { margin: 0; padding-left: 1.2em; }
.kisaltma-item ol li { margin-bottom: 0.15em; }
.kisaltma-item .k-yok { color: #aaa; }


/* Kavram-temelli kisaltma gorunumu */
.kavram-item { padding: 0.35em 0.2em; list-style: none; }
.kavram-head { display: grid; grid-template-columns: 8em 1fr; gap: 0.6em; align-items: baseline; line-height: 1.4; margin: 0; padding: 0; }
.kavram-head .k-key { font-weight: 700; color: #1a3a7a; font-family: 'FiraSans', system-ui, sans-serif; }
.kavram-item > .kavram-alt { list-style: none; padding: 0 !important; margin: 0 !important; }
.kavram-alt li { display: grid; grid-template-columns: 8em 1fr; gap: 0.6em; padding: 0 0 0 1.5em; margin: 0; line-height: 1.4; align-items: baseline; }
.kavram-alt .k-dil { display: inline-block; width: 2.6em; }
.kavram-alt .k-key.alt { font-weight: 600; color: #333; font-family: 'FiraSans', system-ui, sans-serif; }
.kavram-alt .k-dil { color: #888; font-style: italic; margin-right: 0.25em; font-size: 0.9em; }
.kavram-alt .k-yab { color: #444; }


.kavram-alt li > :nth-child(2) { white-space: normal; overflow: visible; }


.kavram-alt .k-aciklama { white-space: normal; overflow: visible; min-width: 0; display: block; }

/* Kisaltma sayfalama */
.kisaltma-pager { display: flex; flex-wrap: wrap; gap: 0.25em; justify-content: center; margin: 1em 0; }
.kisaltma-pager button { min-width: 2.2em; padding: 0.3em 0.6em; border: 1px solid #bbb; background: #fff; border-radius: 4px; cursor: pointer; font: inherit; }
.kisaltma-pager button:hover:not(:disabled) { background: #eef; }
.kisaltma-pager button.aktif { background: #1a3a7a; color: #fff; border-color: #1a3a7a; font-weight: 600; }
.kisaltma-pager button:disabled { color: #ccc; cursor: default; }
.kisaltma-pager .pager-sep { padding: 0.3em 0.2em; color: #888; }

/* Dizin (15-dizin.html) arama */
#dizin-arama #dizin-q { width: 100%; max-width: 32em; padding: 0.5em 0.7em; font-size: 1em; border: 1px solid #bbb; border-radius: 4px; margin-bottom: 0.5em; }
#dizin-arama .dizin-opt { display: inline-block; margin-left: 0.6em; font-size: 0.92em; color: #555; cursor: pointer; }
.content-host #dizin-sonuc { display: flex; gap: 0; margin: 0.4em 0; }
.content-host #dizin-sonuc .dizin-col { flex: 1 1 0; min-width: 0; padding: 0 1em; }
.content-host #dizin-sonuc .dizin-col + .dizin-col { border-left: 1px solid #b9ccd6; }
.content-host #dizin-sonuc .dizin-item { padding: 0.2em 0.5em; line-height: 1.4; border-radius: 3px; }
.content-host #dizin-sonuc .dizin-col .dizin-item:nth-child(odd) { background: #eaf3f7; }
.content-host #dizin-sonuc .dizin-col .dizin-item:nth-child(even) { background: #ffffff; }
.content-host #dizin-sonuc .dizin-item .d-madde { font-weight: 500; }
.content-host #dizin-sonuc .dizin-item .d-ek { color: #444; font-style: italic; font-weight: 700; font-size: 1.02em; }
.content-host #dizin-sonuc .dizin-item .d-aciklama { color: #666; font-size: 0.92em; }
@media (max-width: 700px) { .content-host #dizin-sonuc { flex-direction: column; } .content-host #dizin-sonuc .dizin-col + .dizin-col { border-left: none; } }

/* Sözlük (16-sozluk.html) */
#sozluk-arama #sozluk-q { width: 100%; max-width: 32em; padding: 0.5em 0.7em; font-size: 1em; border: 1px solid #bbb; border-radius: 4px; margin-bottom: 0.5em; }
.content-host dl.sozluk-list { margin: 0.6em 0; }
.content-host dl.sozluk-list dt { font-weight: 600; color: #1a3a7a; margin-top: 0.6em; }
.content-host dl.sozluk-list dt:first-of-type { margin-top: 0; }
.content-host dl.sozluk-list dd { margin: 0.1em 0 0.2em 1.5em; line-height: 1.5; }


/* Alfabe tablosu (01-ses-harf-ve-alfabe.html) */
@font-face {
  font-family: "Hand writing Mutlu";
  src: url("fonts/hand/HANDM___.TTF") format("truetype"),
       local("Hand writing Mutlu"),
       local("Hand Writing Mutlu"),
       local("Handwriting Mutlu"),
       local("Handwriting-Mutlu");
  font-style: normal;
  font-weight: 400;
}

.alfabe-table { border-collapse: collapse; margin: 0.6rem 0 1rem; }
.alfabe-table th, .alfabe-table td { border: 1px solid #000; padding: 5px; text-align: center; }
.alfabe-table th { padding: 2px 6px; font-size: 0.85em; line-height: 1.15; white-space: nowrap; }
.alfabe-table tr td:nth-child(5),
.alfabe-table tr td:nth-child(6),
.alfabe-table tr td:nth-child(5) *,
.alfabe-table tr td:nth-child(6) * {
  font-family: "Hand writing Mutlu", "Hand Writing Mutlu", "Handwriting Mutlu", cursive !important;
  font-size: 1.4em;
}

/* Yazdırma: yalnızca orta içerik bölümü basılır */
@media print {
  .topbar,
  .toc,
  .right-panel,
  .site-footer,
  .content-banner,
  #dizin-pager,
  #kisaltma-pager { display: none !important; }

  .container.layout { display: block !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
  .content { display: block !important; box-shadow: none !important; border: 0 !important; }
  .content-host { max-width: none !important; width: auto !important; padding: 0 !important; }
  html, body { background: #fff !important; }
  .content-host a { color: #000 !important; text-decoration: none !important; }

  /* Dizin baskıda tek akışta, zebra çizgileri korunsun */
  .content-host #dizin-sonuc .dizin-item { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ===== Görünüm: koyu tema ===== */
html[data-theme="dark"] {
  --bg: #14181b;
  --text: #e7e7e7;
  --muted: #a6aeb2;
  --line: #33474f;
  --header-band: #1b2226;
  --surface-soft: #1a2024;
  --link: #58b7dc;
}
html[data-theme="dark"] body { background: var(--bg); color: var(--text); }
html[data-theme="dark"] .content,
html[data-theme="dark"] .content-host { background: #1a1f22; color: var(--text); }
html[data-theme="dark"] .content-host a { color: var(--link); }
html[data-theme="dark"] .content-host table:not(.MsoNormalTable) thead th { background: #232e33; }
html[data-theme="dark"] .content-host table:not(.MsoNormalTable) th,
html[data-theme="dark"] .content-host table:not(.MsoNormalTable) td { border-color: #3a4a52; }
html[data-theme="dark"] .content-host #dizin-sonuc .dizin-col .dizin-item:nth-child(odd) { background: #212a2e; }
html[data-theme="dark"] .content-host #dizin-sonuc .dizin-col .dizin-item:nth-child(even) { background: #1a1f22; }
html[data-theme="dark"] .content-host #dizin-sonuc .dizin-col + .dizin-col { border-left-color: #3a4a52; }
html[data-theme="dark"] .toc-card,
html[data-theme="dark"] .right-card { background: var(--surface-soft); }
html[data-theme="dark"] .toc-card h2,
html[data-theme="dark"] .right-card h2 { background: #17301f; border-bottom-color: #2e6b40; color: #7fe0a0; }
html[data-theme="dark"] .toc { color: var(--text); }
html[data-theme="dark"] .search-results { background: var(--surface-soft); }
html[data-theme="dark"] .submenu-list { background: #1f272b; border-left-color: #3a4a52; }
html[data-theme="dark"] .submenu-list a { color: #c6cdd1; }
html[data-theme="dark"] .menu-list a,
html[data-theme="dark"] .menu-toggle { color: var(--text); }

/* ===== Testler (16-testler.html) ===== */
.content-host #test-alani { max-width: 640px; margin: 1rem 0; }
.content-host .test-btn { display: inline-block; border: 0; background: #1f7a41; color: #fff; font: inherit; font-weight: 600; padding: 0.55em 1.2em; border-radius: 8px; cursor: pointer; transition: background 0.15s, transform 0.1s; }
.content-host .test-btn:hover { background: #185f33; }
.content-host .test-btn:active { transform: translateY(1px); }
.content-host .test-ilerleme { display: flex; justify-content: space-between; font-size: 0.9em; color: var(--muted); margin-bottom: 0.35em; }
.content-host .test-skor { font-weight: 700; color: #1f7a41; }
.content-host .test-bar { height: 8px; background: #dcefe3; border-radius: 999px; overflow: hidden; margin-bottom: 0.9em; }
.content-host .test-bar i { display: block; height: 100%; background: #1f7a41; transition: width 0.25s; }
.content-host .test-soru-metin { font-weight: 700; font-size: 1.1em; margin: 0 0 0.7em; }
.content-host .test-ipucu { margin: -0.35em 0 0.7em; font-size: 0.96em; font-style: italic; color: #1f7a41; }
.content-host .test-secenekler { display: flex; flex-direction: column; gap: 0.5em; }
.content-host .secenek { text-align: left; border: 2px solid var(--line); background: var(--surface-soft); color: var(--text); font: inherit; font-size: 1.05em; padding: 0.6em 0.9em; border-radius: 8px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.content-host .secenek:hover:not(:disabled) { border-color: #1f7a41; background: #e8f6ec; }
.content-host .secenek:disabled { cursor: default; }
.content-host .secenek.dogru { border-color: #1a8f6a; background: #e6f6ef; color: #14663f; font-weight: 700; }
.content-host .secenek.yanlis { border-color: #d46a6a; background: #fdeaea; color: #9a3535; }
.content-host .test-geri { margin-top: 0.9em; }
.content-host .geri-dogru { color: #14663f; font-weight: 700; margin: 0 0 0.3em; }
.content-host .geri-yanlis { color: #9a3535; font-weight: 700; margin: 0 0 0.3em; }
.content-host .geri-aciklama { margin: 0 0 0.5em; }
.content-host .geri-link { margin: 0 0 0.7em; }
.content-host .test-sonuc-kart { text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 1.4em; background: var(--surface-soft); }
.content-host .test-buyuk-skor { font-size: 2.4em; font-weight: 800; color: #1f7a41; margin: 0; }
.content-host .test-mesaj { font-size: 1.1em; margin: 0.4em 0 1em; }
html[data-theme="dark"] .content-host .secenek.dogru { background: #163a2b; color: #7fe0b0; }
html[data-theme="dark"] .content-host .secenek.yanlis { background: #3a2020; color: #f0a0a0; }
html[data-theme="dark"] .content-host .test-bar { background: #263238; }

/* Test giriş ayarları (konu / soru sayısı) */
.content-host .test-ayar { display: flex; flex-wrap: wrap; gap: 1em; margin: 0 0 1em; }
.content-host .test-ayar label { display: flex; flex-direction: column; gap: 0.25em; font-size: 0.92em; color: var(--muted); font-weight: 600; }
.content-host .test-ayar select { font: inherit; font-size: 1em; color: var(--text); background: var(--surface-soft); border: 2px solid var(--line); border-radius: 8px; padding: 0.4em 0.6em; cursor: pointer; }
.content-host .test-ayar select:focus { outline: none; border-color: #1f7a41; }
/* Şık numarası rozeti (klavye ipucu) */
.content-host .secenek .sec-no { display: inline-flex; align-items: center; justify-content: center; width: 1.5em; height: 1.5em; margin-right: 0.6em; border-radius: 6px; background: #e8f6ec; color: #1f7a41; font-weight: 700; font-size: 0.85em; }
.content-host .secenek.dogru .sec-no { background: #cdeede; color: #14663f; }
.content-host .secenek.yanlis .sec-no { background: #f6d4d4; color: #9a3535; }
html[data-theme="dark"] .content-host .test-ayar select { background: #17242b; }
html[data-theme="dark"] .content-host .secenek .sec-no { background: #22333b; }

/* Kurala atlarken hedefi kısa süre vurgula */
.content-host .hedef-vurgu { animation: hedefFlash 2s ease-out; border-radius: 6px; }
@keyframes hedefFlash {
  0% { background: #fff2b8; box-shadow: 0 0 0 6px #fff2b8; }
  70% { background: #fff8dc; box-shadow: 0 0 0 6px #fff8dc; }
  100% { background: transparent; box-shadow: 0 0 0 0 transparent; }
}
html[data-theme="dark"] .content-host .hedef-vurgu { animation: hedefFlashDark 2s ease-out; }
@keyframes hedefFlashDark {
  0% { background: #4a4326; box-shadow: 0 0 0 6px #4a4326; }
  70% { background: #3a351f; box-shadow: 0 0 0 6px #3a351f; }
  100% { background: transparent; box-shadow: 0 0 0 0 transparent; }
}

/* Bilgini Sına kutusu (sağ panel) */
.right-card .bs-metin { margin: 0 0 0.7em; font-size: 0.95em; }
.right-card .bs-btn { display: block; background: #1f7a41; color: #ffffff !important; text-decoration: none; font-weight: 700; padding: 0.55em 1em; border-radius: 8px; text-align: center; transition: background 0.15s, transform 0.1s; }
.right-card .bs-btn:hover { background: #185f33; }
.right-card .bs-btn:active { transform: translateY(1px); }
html[data-theme="dark"] .content-host p.warning-paragraph,
html[data-theme="dark"] .content-host p.warning-paragraph-trial,
html[data-theme="dark"] .content-host .warning-box { background: #17301f; border-color: #2e6b40; }

/* ===== Görünüm kontrolleri (sağ panel) ===== */
.right-card .view-controls { display: flex; flex-direction: column; gap: 0.55em; }
.right-card .vc-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; }
.right-card .vc-label { color: var(--muted); font-size: 0.92em; }
.right-card .vc-btns { display: inline-flex; gap: 0.25em; }
.right-card .vc-btn { border: 1px solid var(--line); background: var(--surface-soft); color: var(--text); border-radius: 5px; padding: 0.1em 0.55em; cursor: pointer; font-family: inherit; font-size: 0.95em; line-height: 1.5; }
.right-card .vc-btn:hover { background: var(--header-band); }
.right-card .vc-toggle { position: relative; width: 42px; height: 22px; border: 1px solid var(--line); background: var(--surface-soft); border-radius: 999px; cursor: pointer; padding: 0; flex: 0 0 auto; }
.right-card .vc-toggle .vc-toggle-dot { position: absolute; top: 1px; left: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--link); transition: left 0.15s; }
.right-card .vc-toggle[aria-pressed="true"] .vc-toggle-dot { left: 21px; }
