/* HEM Evrak — Kullanım Kılavuzu ortak stil (Eylül 2026, zengin) */
:root {
  --ink: #1a2a32;
  --muted: #4a5c66;
  --teal: #0f4c5c;
  --teal-deep: #0c3d4a;
  --teal-soft: #d2e6ec;
  --sand: #f4f7f8;
  --paper: #ffffff;
  --line: #9aacb5;
  --accent: #c45c26;
  --ok: #1b7a4a;
  --warn: #9a6b12;
  --danger: #8a2a22;
  --shadow: 0 14px 36px rgba(15, 76, 92, 0.12);
  --radius: 16px;
}
* { box-sizing: border-box; scrollbar-width: none !important; -ms-overflow-style: none !important; }
*::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; }
html { scroll-behavior: smooth; }
html.kl-korumali, html.kl-korumali body {
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}
html.kl-korumali input, html.kl-korumali textarea { -webkit-user-select: text; user-select: text; }
@media print {
  body * { visibility: hidden !important; }
  body::after {
    visibility: visible !important;
    content: "Bu kılavuz korumalıdır. Yazdırma kapalıdır. — HEM Evrak";
    display: block; padding: 40px; font-size: 18px; color: #0f4c5c;
  }
}
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -8%, #cfe4ea 0%, transparent 55%),
    radial-gradient(900px 480px at 100% 0%, #f3e4d4 0%, transparent 48%),
    linear-gradient(180deg, #e7f0f3 0%, var(--sand) 45%, #eef3f6 100%);
  min-height: 100vh;
}
a { color: var(--teal); }
img { max-width: 100%; height: auto; }

.hub-wrap { max-width: 1220px; margin: 0 auto; padding: 28px 20px 80px; }
.hub-hero {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 34px 26px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.hub-hero::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 8px;
  background: linear-gradient(180deg, var(--teal), #2a7a8c 55%, var(--accent));
}
.hub-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-soft);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 12px;
}
.hub-hero h1 {
  margin: 0 0 12px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--teal-deep); line-height: 1.2;
}
.hub-hero p { margin: 0 0 10px; color: var(--muted); line-height: 1.65; max-width: 78ch; font-size: 1.05rem; }
.hub-hero p:last-child { margin-bottom: 0; }
.hub-brand {
  display: flex; align-items: center; gap: 12px; margin-bottom: 8px;
}
.hub-brand img {
  width: 56px; height: 56px; object-fit: contain;
  background: #fff; border-radius: 12px; padding: 4px; border: 1px solid #c5d4db;
}

.dongu {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 4px;
}
.dongu a {
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: inherit;
  background: #f7fbfc; border: 1px solid #d5e2e8; border-radius: 12px;
  padding: 6px; min-height: 0;
}
.dongu a:hover { border-color: #7a9aa8; background: #fff; }
.dongu img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top;
  border-radius: 8px; border: 1px solid #c5d4db; background: #0a2f3a;
  cursor: zoom-in;
}
.dongu span {
  font-size: .72rem; font-weight: 700; color: var(--teal-deep);
  line-height: 1.25; padding: 0 4px 4px;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.hub-kart {
  display: flex; flex-direction: column; gap: 8px;
  text-decoration: none; color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 10px 14px;
  box-shadow: 0 8px 20px rgba(15, 76, 92, 0.06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  overflow: hidden;
}
.hub-kart:hover {
  transform: translateY(-3px);
  border-color: #7a9aa8;
  box-shadow: 0 16px 32px rgba(15, 76, 92, 0.14);
}
.hub-kart .thumb {
  display: block; width: calc(100% + 0px);
  aspect-ratio: 16/9; object-fit: cover; object-position: top left;
  border-radius: 10px; border: 1px solid #c5d4db; background: #0a2f3a;
  margin-bottom: 4px;
  cursor: zoom-in;
}
.hub-kart .no {
  display: inline-flex; width: 28px; height: 28px; border-radius: 999px;
  align-items: center; justify-content: center;
  background: var(--teal); color: #fff; font-size: .78rem; font-weight: 700;
}
.hub-kart h2 {
  margin: 0; font-size: 1.08rem; color: var(--teal-deep);
  font-family: Fraunces, Georgia, serif;
}
.hub-kart p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.hub-kart .ac {
  margin-top: auto; padding-top: 8px;
  font-size: .82rem; font-weight: 700; color: var(--teal);
}
.hub-grup {
  margin: 28px 0 10px;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.hub-alt {
  margin-top: 32px; padding-top: 14px; border-top: 1px dashed #b7c7cf;
  font-size: .86rem; color: var(--muted); line-height: 1.5;
}

/* Bölüm sayfası */
.bolum-wrap { max-width: 1100px; margin: 0 auto; padding: 22px 18px 88px; }
.bolum-ust {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 18px;
}
.bolum-geri {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; font-weight: 700; color: var(--teal);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: .9rem;
}
.bolum-geri:hover { background: var(--teal-soft); }
.bolum-hero {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  padding: 26px 28px; margin-bottom: 18px; box-shadow: var(--shadow);
}
.bolum-hero .tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 6px;
  background: var(--teal-soft); color: var(--teal); margin-bottom: 10px;
}
.bolum-hero h1 {
  margin: 0 0 10px; font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.5rem, 2.8vw, 2.05rem); color: var(--teal-deep);
}
.bolum-hero .ozet {
  margin: 0 0 14px; color: var(--teal); line-height: 1.5;
  font-weight: 600; font-size: 1.05rem;
}
.bolum-hero .giris p {
  margin: 0 0 12px; color: var(--muted); line-height: 1.7; font-size: 1.02rem;
}
.bolum-hero .giris p:last-child { margin-bottom: 0; }

.bolum-h2 {
  font-family: Fraunces, Georgia, serif;
  color: var(--teal-deep);
  font-size: 1.35rem;
  margin: 8px 0 14px;
}
.alt-bolum {
  margin-top: 28px;
  padding-top: 6px;
  border-top: 1px dashed #b7c7cf;
}
.alt-bolum .giris p {
  margin: 0 0 12px; color: var(--muted); line-height: 1.7; font-size: 1.02rem;
}
.adim-gorsel { margin: 4px 0 16px; }

.gorsel-blok {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; margin-bottom: 16px; box-shadow: 0 8px 18px rgba(15,76,92,.06);
}
.gorsel-blok.ana { padding: 10px; }
.gorsel-blok figure { margin: 0; }
.gorsel-blok img,
.hub-kart .thumb,
.dongu img {
  display: block; width: 100%;
  border-radius: 10px; border: 1px solid #c5d4db;
  background: #0a2f3a;
  cursor: zoom-in;
}
.kl-buyut {
  position: fixed; inset: 0; z-index: 200000;
  background: rgba(10, 28, 34, .88);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  cursor: zoom-out;
}
.kl-buyut img {
  max-width: 96vw; max-height: 94vh;
  width: auto; height: auto; object-fit: contain;
  border-radius: 8px; border: 1px solid #c5d4db;
  box-shadow: 0 22px 56px rgba(0,0,0,.45);
  background: #0a2f3a;
  cursor: zoom-out;
}
.gorsel-blok figcaption {
  margin-top: 10px; font-size: .92rem; color: var(--muted); line-height: 1.5;
  padding: 0 4px 2px;
}
.gorsel-galeri {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.gorsel-galeri .gorsel-blok { margin-bottom: 0; }
.gorsel-galeri img { aspect-ratio: 16/10; object-fit: cover; object-position: top left; }

.adimlar { counter-reset: adim; list-style: none; padding: 0; margin: 0 0 18px; }
.adimlar > li {
  position: relative; padding: 16px 16px 16px 60px; margin-bottom: 12px;
  background: #f7fbfc; border: 1px solid #d5e2e8; border-radius: 14px;
}
.adimlar > li::before {
  counter-increment: adim; content: counter(adim);
  position: absolute; left: 16px; top: 16px;
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--teal); color: #fff; font-weight: 700; font-size: .88rem;
  display: flex; align-items: center; justify-content: center;
}
.adimlar > li strong { display: block; margin-bottom: 6px; font-size: 1.02rem; color: var(--teal-deep); }
.adimlar > li p { margin: 0 0 8px; color: var(--muted); line-height: 1.65; font-size: .98rem; }
.adimlar > li p:last-child { margin-bottom: 0; }

.kutu {
  padding: 16px 18px; border-radius: 14px; margin-bottom: 16px;
}
.ipuclari {
  background: linear-gradient(135deg, #fff8ef, #fff); border: 1px solid #e8d2b4;
}
.ipuclari h3 { margin: 0 0 8px; color: var(--warn); font-size: 1rem; }
.hatalar {
  background: linear-gradient(135deg, #fff4f2, #fff); border: 1px solid #e8c4be;
}
.hatalar h3 { margin: 0 0 8px; color: var(--danger); font-size: 1rem; }
.ilgili {
  background: #f4fafb; border: 1px solid #c5d8df;
}
.ilgili h3 { margin: 0 0 10px; color: var(--teal); font-size: 1rem; }
.kutu ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.kutu li { margin-bottom: 7px; line-height: 1.55; }
.ilgili-linkler { display: flex; flex-wrap: wrap; gap: 8px; }
.ilgili-linkler a {
  text-decoration: none; font-weight: 700; color: var(--teal);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px; font-size: .85rem;
}
.ilgili-linkler a:hover { background: var(--teal-soft); }

.bolum-nav {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 22px; padding-top: 16px; border-top: 1px dashed #b7c7cf;
}
.bolum-nav a {
  text-decoration: none; font-weight: 700; color: var(--teal);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 14px; font-size: .88rem;
}
.bolum-nav a:hover { background: var(--teal-soft); }

html.gomulu .hub-wrap, html.gomulu .bolum-wrap { padding-top: 12px; }

#kl-filigran {
  position: fixed; inset: auto 12px 10px auto; z-index: 99999;
  font-size: 11px; color: rgba(15,76,92,.45); pointer-events: none;
  font-family: "Source Sans 3", sans-serif; letter-spacing: .02em;
}

@media (max-width: 820px) {
  .dongu { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gorsel-galeri { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .dongu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-kart .thumb { aspect-ratio: 16/11; }
}
