/* =====================================================================
   Din Alemi — arayüz stilleri
   Palet: gece mavisi (İstanbul gecesi), kandil altını, marka kırmızısı (eski logodan)
   ===================================================================== */

/* ---------- Tasarım değişkenleri ---------- */
:root {
  --night: #0d1631;
  --night-2: #16234a;
  --night-3: #22336a;
  --gold: #c8962e;
  --gold-2: #e3b453;
  --gold-3: #f3d79b;
  --brand: #c41e3a;
  --accent: #1f4fa8;

  --bg: #f7f4ee;
  --bg-2: #f0ebe1;
  --surface: #ffffff;
  --surface-2: #fbf9f5;
  --ink: #172036;
  --ink-2: #3a4459;
  --muted: #687188;
  --line: #e6dfd2;
  --line-2: #efe9df;
  --focus: #2f6fe0;

  --ok: #1d7d52; --ok-bg: #e8f6ee; --ok-line: #9ed8b8;
  --err: #b3261e; --err-bg: #fdecea; --err-line: #f2aaa3;
  --warn: #9a6400; --warn-bg: #fff4dc; --warn-line: #f0cf86;
  --inf: #1f4fa8; --inf-bg: #e9f0fd; --inf-line: #a9c2f1;

  --legacy-red: #b8243b; --legacy-blue: #1f4fa8; --legacy-green: #1d7d52; --legacy-gold: #a36b10; --legacy-purple: #6b3fa0;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-arabic: "Amiri", "Traditional Arabic", serif;

  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-xl: 30px;
  --sh-1: 0 1px 2px rgb(23 32 54 / .06), 0 1px 1px rgb(23 32 54 / .04);
  --sh-2: 0 6px 20px -8px rgb(23 32 54 / .18), 0 2px 6px rgb(23 32 54 / .05);
  --sh-3: 0 24px 60px -24px rgb(13 22 49 / .35), 0 8px 18px -10px rgb(13 22 49 / .18);
  --hdr-h: 72px;
  --container: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M23 23h34v34H23zM40 16l24 24-24 24-24-24zM0 40h16M64 40h16M40 0v16M40 64v16' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #090e1d; --bg-2: #0c1226; --surface: #111a33; --surface-2: #0e1630;
    --ink: #e9edf7; --ink-2: #c3cbe0; --muted: #8e98b4; --line: #222d4f; --line-2: #1a2343;
    --brand: #ef5a70; --accent: #8fb3ff; --gold: #e0b04f; --focus: #8fb3ff;
    --ok: #5fd39a; --ok-bg: #0f2a20; --ok-line: #23593f; --err: #ff8a80; --err-bg: #2d1414; --err-line: #6a2a26;
    --warn: #f3c25c; --warn-bg: #2b2210; --warn-line: #5d4818; --inf: #8fb3ff; --inf-bg: #121f3d; --inf-line: #2a3f72;
    --legacy-red: #ff8193; --legacy-blue: #9dbcff; --legacy-green: #6fdba5; --legacy-gold: #f0c065; --legacy-purple: #c9a3f5;
    --sh-1: 0 1px 2px rgb(0 0 0 / .4); --sh-2: 0 8px 24px -10px rgb(0 0 0 / .6); --sh-3: 0 28px 70px -28px rgb(0 0 0 / .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #090e1d; --bg-2: #0c1226; --surface: #111a33; --surface-2: #0e1630;
  --ink: #e9edf7; --ink-2: #c3cbe0; --muted: #8e98b4; --line: #222d4f; --line-2: #1a2343;
  --brand: #ef5a70; --accent: #8fb3ff; --gold: #e0b04f; --focus: #8fb3ff;
  --ok: #5fd39a; --ok-bg: #0f2a20; --ok-line: #23593f; --err: #ff8a80; --err-bg: #2d1414; --err-line: #6a2a26;
  --warn: #f3c25c; --warn-bg: #2b2210; --warn-line: #5d4818; --inf: #8fb3ff; --inf-bg: #121f3d; --inf-line: #2a3f72;
  --legacy-red: #ff8193; --legacy-blue: #9dbcff; --legacy-green: #6fdba5; --legacy-gold: #f0c065; --legacy-purple: #c9a3f5;
  --sh-1: 0 1px 2px rgb(0 0 0 / .4); --sh-2: 0 8px 24px -10px rgb(0 0 0 / .6); --sh-3: 0 28px 70px -28px rgb(0 0 0 / .8);
  color-scheme: dark;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.18; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); font-optical-sizing: auto; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--gold-3); color: var(--night); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.i { display: inline-block; vertical-align: -.2em; width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--night); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(780px, 100% - 32px); margin-inline: auto; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: 1rem; }

@view-transition { navigation: auto; }

/* ---------- Düğmeler ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: var(--surface); --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px; padding: .62em 1.2em; border-radius: 999px; border: 1px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg); font-weight: 650; font-size: .95rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; transition: transform .18s var(--ease), box-shadow .2s, background .2s, color .2s;
}
.btn:hover { color: var(--b-fg); transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(0); }
.btn--gold { --b-bg: linear-gradient(135deg, #f1cf7f, #d9a441 55%, #c08a2a); --b-fg: #1c1405; background: var(--b-bg); box-shadow: inset 0 1px 0 rgb(255 255 255 / .45); }
.btn--gold:hover { color: #1c1405; box-shadow: 0 10px 26px -10px rgb(200 150 46 / .8), inset 0 1px 0 rgb(255 255 255 / .45); }
.btn--brand { --b-bg: var(--brand); --b-fg: #fff; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line); }
.btn--ghost:hover { --b-bg: var(--surface); }
.btn--light { --b-bg: rgb(255 255 255 / .1); --b-fg: #fff; --b-bd: rgb(255 255 255 / .25); backdrop-filter: blur(6px); }
.btn--danger { --b-bg: var(--err); --b-fg: #fff; }
.btn--sm { min-height: 38px; padding: .45em .95em; font-size: .88rem; }
.btn--lg { min-height: 54px; padding: .8em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-off { opacity: .55; pointer-events: none; }
.ibtn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid transparent; background: transparent; color: inherit; transition: background .2s, border-color .2s;
}
.ibtn:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.ibtn .i { width: 21px; height: 21px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; display: inline-flex; gap: .4em; align-items: center; }
.link-btn:hover { color: var(--brand); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: .4em; padding: .38em .85em; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: .88rem; font-weight: 600;
  text-decoration: none; transition: border-color .2s, color .2s, background .2s;
}
.chip:hover, .chip.is-on { border-color: var(--gold); color: var(--ink); background: color-mix(in srgb, var(--gold) 12%, var(--surface)); }
.chip.is-on { box-shadow: inset 0 0 0 1px var(--gold); }
.chip em { font-style: normal; color: var(--muted); font-weight: 500; font-size: .82em; }
.tag { display: inline-block; padding: .18em .62em; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: color-mix(in srgb, var(--gold) 16%, transparent); color: color-mix(in srgb, var(--gold) 70%, var(--ink)); }
.badge { display: inline-flex; align-items: center; gap: .35em; padding: .2em .6em; border-radius: 6px; font-size: .78rem; font-weight: 700; background: var(--bg-2); color: var(--ink-2); }
.badge--ok { background: var(--ok-bg); color: var(--ok); }
.badge--warn { background: var(--warn-bg); color: var(--warn); }
.badge--err { background: var(--err-bg); color: var(--err); }
.badge--inf { background: var(--inf-bg); color: var(--inf); }

/* ---------- Logo ---------- */
/* Özgün logo (eski siteden): açık zeminde özgün renkler, koyu zeminde slogan açık renkli sürüm */
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; line-height: 0; }
.logo__img { display: block; height: 54px; width: auto; transition: transform .3s var(--ease); }
.logo:hover .logo__img { transform: translateY(-1px); }
.logo__img--on-dark { display: none; }
.logo--sm .logo__img { height: 44px; }
.logo--light .logo__img--on-light, .is-home .hdr:not(.is-scrolled) .logo__img--on-light, :root[data-theme="dark"] .logo__img--on-light { display: none; }
.logo--light .logo__img--on-dark, .is-home .hdr:not(.is-scrolled) .logo__img--on-dark, :root[data-theme="dark"] .logo__img--on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo__img--on-light { display: none; }
  :root:not([data-theme="light"]) .logo__img--on-dark { display: block; }
}

/* ---------- Üst bölüm ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60; height: var(--hdr-h);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  transition: background .3s, border-color .3s, color .3s, box-shadow .3s;
}
.hdr.is-scrolled { box-shadow: 0 10px 30px -22px rgb(13 22 49 / .45); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 22px; }
.hdr__act { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.mnav { margin-left: 8px; }
.mnav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.mnav__item { position: relative; }
.mnav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 13px; border-radius: 10px;
  color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .2s, color .2s;
}
.mnav__link:hover { color: inherit; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.mnav__link[aria-current] { color: var(--brand); }
.mnav__link[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--brand)); }
.mnav__caret { width: 15px; height: 15px; opacity: .6; transition: transform .2s; }
.has-drop:hover .mnav__caret, .has-drop.is-open .mnav__caret { transform: rotate(180deg); }

.drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; z-index: 70;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-3);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-drop:hover > .drop, .has-drop:focus-within > .drop, .has-drop.is-open > .drop { opacity: 1; visibility: visible; transform: none; }
.drop ul { list-style: none; margin: 0; padding: 0; }
.drop li a, .drop li button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 9px; border: 0; background: none;
  color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .93rem; text-align: left;
}
.drop li a:hover, .drop li button:hover { background: var(--bg); color: var(--ink); }
.drop li .i { color: var(--gold); }
.drop--right { left: auto; right: 0; }
.drop--mega { width: min(980px, 92vw); left: -120px; padding: 14px; }
.drop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 18px; }
.drop__col { padding: 8px; border-radius: 12px; }
.drop__col:hover { background: var(--surface-2); }
.drop__head { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; color: var(--ink); text-decoration: none; padding: 4px 4px 8px; border-bottom: 1px dashed var(--line); margin-bottom: 6px; }
.drop__head em { font: 700 .75rem var(--font-body); color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, transparent); padding: 3px 8px; border-radius: 999px; align-self: center; }
.drop__col ul { display: flex; flex-wrap: wrap; gap: 4px; }
.drop__col li a { padding: 4px 9px; font-size: .86rem; border-radius: 999px; background: var(--bg); width: auto; }
.drop__foot { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.drop__foot a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.drop__foot a:hover { background: var(--bg); color: var(--ink); }
.drop__foot .i { color: var(--gold); }
.drop__user { display: flex; gap: 12px; align-items: center; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.drop__user b { display: block; font-size: .95rem; }
.drop__user small { color: var(--muted); font-size: .8rem; word-break: break-all; }

.umenu { position: relative; }
.umenu__btn { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.umenu__name { font-weight: 650; font-size: .92rem; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.avatar { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none; display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--night-2), var(--night-3)); color: var(--gold-3); font-weight: 700; font-size: .8rem; letter-spacing: .02em; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: 88px; height: 88px; font-size: 1.6rem; }

[data-theme-toggle] .i { display: none; }
:root[data-theme="light"] [data-theme-toggle] .th-light,
:root[data-theme="dark"] [data-theme-toggle] .th-dark,
:root[data-theme="auto"] [data-theme-toggle] .th-auto { display: block; }
.ibtn--menu { display: none; }

/* Anasayfada üst bölüm, gece göğünün üstünde saydam başlar */
.is-home .hdr:not(.is-scrolled) { background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.is-home .hdr:not(.is-scrolled) .mnav__link:hover, .is-home .hdr:not(.is-scrolled) .ibtn:hover { background: rgb(255 255 255 / .1); }
.is-home .hdr:not(.is-scrolled) .mnav__link[aria-current] { color: var(--gold-3); }
.is-home .hdr:not(.is-scrolled) .btn--ghost { --b-fg: #fff; --b-bd: rgb(255 255 255 / .3); }
.is-home .hdr:not(.is-scrolled) .umenu__btn { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .2); }
.is-home main { margin-top: calc(var(--hdr-h) * -1); }
.is-home .pubbar ~ .hdr, .is-home .annbar ~ .hdr { top: 0; }

/* ---------- Mobil çekmece ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgb(6 10 24 / .55); backdrop-filter: blur(3px); display: flex; justify-content: flex-end; }
.drawer[hidden] { display: none; }
.drawer__panel { width: min(400px, 100%); height: 100%; overflow-y: auto; background: var(--surface); padding: 16px 18px 40px; box-shadow: var(--sh-3); animation: drawerIn .28s var(--ease); }
@keyframes drawerIn { from { transform: translateX(30px); opacity: 0; } }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer__search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); margin-bottom: 14px; }
.drawer__search input { border: 0; background: none; padding: 12px 0; width: 100%; outline: none; }
.drawer__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.drawer__user { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--bg); margin-bottom: 14px; }
.drawer__user b { display: block; }
.drawer__group { border: 1px solid var(--line); border-radius: 12px; padding: 4px 6px; margin-bottom: 10px; }
.drawer__group summary { display: flex; align-items: center; gap: 10px; padding: 10px 8px; font-weight: 700; cursor: pointer; list-style: none; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer__group li a { display: flex; justify-content: space-between; padding: 8px 10px 8px 38px; color: var(--ink-2); text-decoration: none; border-radius: 8px; }
.drawer__group li a em { font-style: normal; color: var(--muted); font-size: .85em; }
.drawer__links li a { display: flex; gap: 12px; align-items: center; padding: 12px 10px; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 10px; }
.drawer a:hover { background: var(--bg); }
.drawer .i { color: var(--gold); }
.drawer__logout { margin-top: 16px; }

/* ---------- Arama penceresi ---------- */
.sdlg { width: min(640px, calc(100% - 24px)); margin: 12vh auto auto; padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: var(--sh-3); }
.sdlg::backdrop { background: rgb(6 10 24 / .55); backdrop-filter: blur(4px); }
.sdlg[open] { animation: pop .22s var(--ease); }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }
.sdlg__form { display: flex; align-items: center; gap: 12px; padding: 6px 18px; border-bottom: 1px solid var(--line); }
.sdlg__form > .i { color: var(--gold); width: 22px; height: 22px; }
.sdlg__form input { flex: 1; border: 0; outline: none; background: none; padding: 16px 0; font-size: 1.1rem; }
kbd { font: 600 .72rem var(--font-body); padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); }
.sdlg__hint { padding: 16px 18px 20px; }
.sdlg__hint p { margin: 0 0 10px; font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Bildirimler (her işlemin sonucu açıkça gösterilir) ---------- */
.flashes { position: fixed; top: calc(var(--hdr-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 90; width: min(640px, calc(100% - 24px)); display: grid; gap: 10px; }
.flash {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 14px 14px 16px; border-radius: 14px; border: 1px solid;
  box-shadow: var(--sh-3); font-weight: 600; animation: flashIn .35s var(--ease);
}
.flash p { margin: 0; flex: 1; padding-top: 1px; }
.flash > .i { width: 22px; height: 22px; margin-top: 1px; }
.flash--success { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.flash--error { background: var(--err-bg); border-color: var(--err-line); color: var(--err); }
.flash--warning { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn); }
.flash--info { background: var(--inf-bg); border-color: var(--inf-line); color: var(--inf); }
.flash__x { border: 0; background: none; color: inherit; opacity: .7; padding: 2px; border-radius: 6px; }
.flash__x:hover { opacity: 1; }
.flash.is-out { animation: flashOut .3s forwards; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-10px); } }
@keyframes flashOut { to { opacity: 0; transform: translateY(-10px); } }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--inf-line); background: var(--inf-bg); color: var(--inf); font-weight: 550; }
.note p { margin: 0; }
.note--warn { border-color: var(--warn-line); background: var(--warn-bg); color: var(--warn); }
.note--ok { border-color: var(--ok-line); background: var(--ok-bg); color: var(--ok); }
.note--err { border-color: var(--err-line); background: var(--err-bg); color: var(--err); }
.note .i { width: 20px; height: 20px; margin-top: 2px; }

/* ---------- Hero (anasayfa) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 520px at 78% 8%, rgb(227 180 83 / .16), transparent 60%),
    radial-gradient(900px 600px at 10% 100%, rgb(54 82 170 / .45), transparent 60%),
    linear-gradient(180deg, #060b1c 0%, #0d1631 45%, #1a2a5a 100%);
  padding: calc(var(--hdr-h) + clamp(48px, 9vw, 110px)) 0 clamp(170px, 22vw, 270px);
}
.hero__stars {
  position: absolute; inset: 0; z-index: -2; opacity: .9;
  background-image:
    radial-gradient(1.2px 1.2px at 24px 38px, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 140px 92px, rgb(255 255 255 / .8) 60%, transparent 61%),
    radial-gradient(1.4px 1.4px at 210px 18px, #fff7d6 60%, transparent 61%),
    radial-gradient(1px 1px at 80px 150px, rgb(255 255 255 / .6) 60%, transparent 61%),
    radial-gradient(1px 1px at 260px 130px, rgb(255 255 255 / .7) 60%, transparent 61%),
    radial-gradient(1.6px 1.6px at 330px 60px, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 390px 170px, rgb(255 255 255 / .55) 60%, transparent 61%);
  background-size: 420px 220px;
  mask-image: linear-gradient(#000 40%, transparent 85%);
  animation: twinkle 7s ease-in-out infinite alternate;
}
.hero__stars--b { background-size: 610px 300px; background-position: 120px 60px; opacity: .55; animation-duration: 11s; animation-delay: -3s; }
@keyframes twinkle { from { opacity: .45; } to { opacity: .95; } }
.hero__pattern {
  position: absolute; inset: 0; z-index: -1; background: var(--gold-3); opacity: .055;
  -webkit-mask-image: var(--pattern), linear-gradient(transparent, #000 30%, #000 62%, transparent); -webkit-mask-size: 80px 80px, 100% 100%; -webkit-mask-repeat: repeat, no-repeat; -webkit-mask-composite: source-in;
  mask-image: var(--pattern), linear-gradient(transparent, #000 30%, #000 62%, transparent); mask-size: 80px 80px, 100% 100%; mask-repeat: repeat, no-repeat; mask-composite: intersect;
}
.hero__moon {
  position: absolute; z-index: -1; top: calc(var(--hdr-h) + 34px); right: max(5vw, calc((100vw - var(--container)) / 2 + 20px));
  width: clamp(54px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%;
  box-shadow: clamp(12px, 1.6vw, 20px) clamp(-8px, -1vw, -5px) 0 0 #f6e2ad;
  filter: drop-shadow(0 0 22px rgb(246 226 173 / .55)); transform: rotate(-14deg);
}
.hero__in { position: relative; text-align: center; max-width: 900px; margin: 0 auto; }
.hero__bism { font-family: var(--font-arabic); font-size: clamp(1.5rem, 3.2vw, 2.3rem); color: var(--gold-3); margin: 0 0 18px; line-height: 1.6; opacity: .95; text-shadow: 0 0 24px rgb(243 215 155 / .35); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14); color: var(--gold-3); font-size: .85rem; font-weight: 650; letter-spacing: .02em; margin-bottom: 20px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.6vw, 4.2rem); font-weight: 600; line-height: 1.05; letter-spacing: -.025em; margin: 0 0 18px; text-wrap: balance; }
.hero h1 em { font-style: italic; font-weight: 500; background: linear-gradient(100deg, #f8e6b8, #e3b453 45%, #f8e6b8 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgb(233 237 247 / .82); max-width: 660px; margin: 0 auto 32px; text-wrap: pretty; }
.hero__search {
  display: flex; align-items: center; gap: 8px; max-width: 680px; margin: 0 auto; padding: 8px 8px 8px 20px;
  border-radius: 999px; background: rgb(255 255 255 / .96); box-shadow: 0 24px 60px -18px rgb(0 0 0 / .6), 0 0 0 6px rgb(255 255 255 / .06);
}
.hero__search > .i { color: var(--gold); width: 22px; height: 22px; }
.hero__search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 1.05rem; padding: 10px 0; color: #172036; }
.hero__search input::placeholder { color: #7b8296; }
.hero__quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.hero__quick a { padding: 6px 13px; border-radius: 999px; color: rgb(255 255 255 / .82); text-decoration: none; font-size: .88rem; font-weight: 600; border: 1px solid rgb(255 255 255 / .16); background: rgb(255 255 255 / .04); transition: background .2s, color .2s, border-color .2s; }
.hero__quick a:hover { color: #fff; background: rgb(255 255 255 / .12); border-color: rgb(243 215 155 / .5); }
.hero__stats { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(20px, 5vw, 64px); margin: 44px 0 0; padding: 0; list-style: none; }
.hero__stats li { text-align: center; }
.hero__stats b { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero__stats span { font-size: .86rem; color: rgb(233 237 247 / .65); font-weight: 600; letter-spacing: .03em; }
.skyline { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(130px, 19vw, 240px); z-index: -1; }
.skyline__far { fill: #1c2c5e; opacity: .7; }
.skyline__near { fill: #050916; }
.skyline__lights { fill: #f3c76a; filter: drop-shadow(0 0 3px rgb(243 199 106 / .9)); animation: glow 5s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .7; } to { opacity: 1; } }
.hero + .band, .hero + section { position: relative; }

/* ---------- Bölümler ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding: clamp(36px, 5vw, 56px) 0; }
.section--alt { background: var(--surface-2); border-block: 1px solid var(--line-2); }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 3.5vw, 36px); flex-wrap: wrap; }
.shead__kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 8px; }
.shead__kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.shead h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); margin: 0; text-wrap: balance; }
.shead p { margin: 8px 0 0; color: var(--muted); max-width: 620px; }
.shead__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--ink); padding: 8px 4px; }
.shead__more .i { transition: transform .2s; color: var(--gold); }
.shead__more:hover { color: var(--brand); }
.shead__more:hover .i { transform: translateX(4px); }

/* ---------- Kategori kartları ---------- */
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.gcard {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.gcard:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
.gcard::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; background: var(--gold); opacity: .07; -webkit-mask: var(--pattern) 0 0 / 54px 54px; mask: var(--pattern) 0 0 / 54px 54px; pointer-events: none; }
.gcard__top { display: flex; align-items: center; gap: 14px; }
.gcard__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, var(--night-2), var(--night-3)); color: var(--gold-3); box-shadow: 0 10px 20px -10px rgb(13 22 49 / .6); }
.gcard__ico .i { width: 26px; height: 26px; }
.gcard h3 { font-size: 1.22rem; margin: 0; }
.gcard h3 a { color: inherit; text-decoration: none; }
.gcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.gcard__count { font-size: .86rem; color: var(--muted); font-weight: 600; }
.gcard .chips { position: relative; z-index: 1; }
.gcard .chip { font-size: .8rem; padding: .3em .7em; }

/* ---------- Doküman kartı ---------- */
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 228px), 1fr)); gap: 20px; }
.dgrid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.dcard { display: flex; flex-direction: column; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.dcard:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); }
.dcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.dcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dcard:hover .dcard__media img { transform: scale(1.05); }
.dcard__type { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 7px; border-radius: 999px; background: rgb(9 14 32 / .72); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .03em; backdrop-filter: blur(6px); }
.dcard__type .i { width: 13px; height: 13px; color: var(--gold-3); }
.dcard__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: rgb(255 255 255 / .92); background: linear-gradient(140deg, var(--night-2), #2c3f7f); }
.dcard__ph::before { content: ""; position: absolute; inset: 0; background: var(--gold-3); opacity: .08; -webkit-mask: var(--pattern) 0 0 / 46px 46px; mask: var(--pattern) 0 0 / 46px 46px; }
.dcard__ph .i { width: 42px; height: 42px; stroke-width: 1.4; color: var(--gold-3); }
.dcard__ph b { font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; }
.dcard__ph--belge { background: linear-gradient(140deg, #1d3d7a, #3864b8); }
.dcard__ph--tablo { background: linear-gradient(140deg, #134a36, #23805a); }
.dcard__ph--pdf { background: linear-gradient(140deg, #6e1424, #b8243b); }
.dcard__ph--arsiv { background: linear-gradient(140deg, #3b3f4d, #626878); }
.dcard__ph--video, .dcard__ph--ses { background: linear-gradient(140deg, #3b1f63, #6b3fa0); }
.dcard .dcard__type { display: none; }
.dcard__media img ~ .dcard__type { display: inline-flex; }
.dcard__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.dcard__cat { font-size: .74rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.dcard__title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.38; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: 0; }
.dcard__title a { color: var(--ink); text-decoration: none; }
.dcard__title a:hover { color: var(--brand); }
.dcard__title a::after { content: ""; position: absolute; inset: 0; }
.dcard { position: relative; }
.dcard__meta { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; font-weight: 600; flex-wrap: wrap; }
.dcard__meta span { display: inline-flex; align-items: center; gap: 4px; }
.dcard__meta .i { width: 15px; height: 15px; }

.stars { position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 1px; vertical-align: middle; }
.stars__bg { color: color-mix(in srgb, var(--muted) 35%, transparent); }
.stars__fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--gold-2); }
.stars--sm { font-size: .82rem; }
.stars__txt { margin-left: 6px; font-weight: 700; font-size: .9rem; }
.stars__txt small { color: var(--muted); font-weight: 600; }

/* ---------- Yazı kartı ---------- */
.acard { position: relative; display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: start; }
.acard__media { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.acard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.acard:hover .acard__media img { transform: scale(1.05); }
.acard__ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(140deg, var(--night-2), var(--night-3)); color: var(--gold-3); }
.acard__ph .i { width: 30px; height: 30px; stroke-width: 1.4; }
.acard__kicker { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.acard__title { font-size: 1.12rem; margin: 0 0 6px; line-height: 1.3; }
.acard__title a { color: var(--ink); text-decoration: none; }
.acard__title a:hover { color: var(--brand); }
.acard__title a::after { content: ""; position: absolute; inset: 0; }
.acard__author { display: flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--gold); font-weight: 700; margin: 0 0 6px; }
.acard__author .i { width: 14px; height: 14px; }
.acard__sum { color: var(--ink-2); font-size: .93rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acard--feature { grid-template-columns: 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.acard--feature .acard__media { aspect-ratio: 16 / 9; border-radius: 0; }
.acard--feature .acard__body { padding: 22px 24px 26px; }
.acard--feature .acard__title { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.acard--mini { grid-template-columns: 76px 1fr; gap: 12px; }
.acard--mini .acard__title { font-size: .98rem; font-family: var(--font-body); font-weight: 700; }
.acard--mini .acard__kicker { margin-bottom: 4px; }
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 26px 28px; }
.agrid .acard { padding-bottom: 22px; border-bottom: 1px solid var(--line); }

.feature-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: start; }
.feature-split__list { display: grid; gap: 20px; }
.feature-split__list .acard { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.feature-split__list .acard:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- Sıralı liste ve yorumlar (anasayfa) ---------- */
.duo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-1); }
.panel__h { display: flex; align-items: center; gap: 10px; font-size: 1.28rem; margin: 0 0 16px; }
.panel__h .i { color: var(--gold); width: 22px; height: 22px; }
.rank { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.rank li { counter-increment: r; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 11px 6px; border-bottom: 1px dashed var(--line); }
.rank li:last-child { border-bottom: 0; }
.rank li::before { content: counter(r, decimal-leading-zero); font: 600 1.05rem var(--font-display); color: var(--gold); }
.rank a { color: var(--ink); text-decoration: none; font-weight: 650; line-height: 1.35; }
.rank a:hover { color: var(--brand); }
.rank small { color: var(--muted); font-weight: 650; font-size: .82rem; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.rank small .i { width: 14px; height: 14px; }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.clist li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.clist__body { font-size: .92rem; color: var(--ink-2); }
.clist__body b { color: var(--ink); }
.clist__body p { margin: 2px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clist__body a { font-size: .82rem; font-weight: 650; color: var(--muted); text-decoration: none; }
.clist__body a:hover { color: var(--brand); }

/* ---------- Günün sözü ve çağrı bantları ---------- */
.qband { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(120deg, #0b1430, #1b2b5c); padding: clamp(48px, 7vw, 80px) 0; text-align: center; }
.qband::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-3); opacity: .07; -webkit-mask: var(--pattern) 0 0 / 80px 80px; mask: var(--pattern) 0 0 / 80px 80px; }
.qband .i { width: 40px; height: 40px; color: var(--gold-2); margin: 0 auto 18px; stroke-width: 1.3; }
.qband blockquote { margin: 0 auto; max-width: 820px; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.35; text-wrap: balance; }
.qband cite { display: block; margin-top: 16px; font-style: normal; color: var(--gold-3); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px); background: linear-gradient(125deg, #faf3e2, #f3e2bb); color: #241a06; display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; border: 1px solid #ecd9a7; }
.cta::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 340px; z-index: -1; background: #b07d1f; opacity: .12; -webkit-mask: var(--pattern) 0 0 / 68px 68px; mask: var(--pattern) 0 0 / 68px 68px; }
.cta h2 { color: #1a1407; font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 8px; }
.cta p { margin: 0; color: #5b4a24; max-width: 560px; }
.cta__act { display: flex; gap: 10px; flex-wrap: wrap; }
.cta .btn--ghost { --b-fg: #241a06; --b-bd: rgb(36 26 6 / .25); }
:root[data-theme="dark"] .cta { background: linear-gradient(125deg, #1d1a12, #2e2611); color: #f5e9c8; border-color: #4a3d19; }
:root[data-theme="dark"] .cta h2 { color: #fbefd0; }
:root[data-theme="dark"] .cta p { color: #d9c893; }
:root[data-theme="dark"] .cta .btn--ghost { --b-fg: #f5e9c8; --b-bd: rgb(245 233 200 / .3); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cta { background: linear-gradient(125deg, #1d1a12, #2e2611); color: #f5e9c8; border-color: #4a3d19; }
  :root:not([data-theme="light"]) .cta h2 { color: #fbefd0; }
  :root:not([data-theme="light"]) .cta p { color: #d9c893; }
  :root:not([data-theme="light"]) .cta .btn--ghost { --b-fg: #f5e9c8; --b-bd: rgb(245 233 200 / .3); }
}

/* ---------- Albümler ---------- */
.algrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 22px; }
.alcard { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--night-2); color: #fff; text-decoration: none; box-shadow: var(--sh-2); }
.alcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.alcard:hover img { transform: scale(1.06); }
.alcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(6 10 24 / .88)); }
.alcard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 16px 18px; }
.alcard__body h3 { color: #fff; font-size: 1.05rem; margin: 0 0 4px; font-family: var(--font-body); font-weight: 700; line-height: 1.35; }
.alcard__body span { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--gold-3); font-weight: 650; }
.alcard__body .i { width: 15px; height: 15px; }
.alcard:hover { color: #fff; }
.masonry { columns: 4 240px; column-gap: 14px; }
.masonry a { display: block; margin-bottom: 14px; border-radius: 12px; overflow: hidden; break-inside: avoid; background: var(--bg-2); position: relative; }
.masonry img { width: 100%; transition: transform .6s var(--ease); }
.masonry a:hover img { transform: scale(1.04); }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; color: #fff; font-size: .85rem; font-weight: 600; background: linear-gradient(transparent, rgb(6 10 24 / .8)); opacity: 0; transition: opacity .3s; }
.masonry a:hover figcaption, .masonry a:focus-visible figcaption { opacity: 1; }
.lbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(4 7 18 / .94); color: #fff; }
.lbox::backdrop { background: rgb(4 7 18 / .9); }
.lbox__fig { position: absolute; inset: 56px 64px 64px; margin: 0; display: grid; place-items: center; }
.lbox__fig img { max-width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgb(0 0 0 / .6); }
.lbox__cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-weight: 600; color: rgb(255 255 255 / .85); padding: 0 70px; }
.lbox__btn { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .2); background: rgb(255 255 255 / .06); color: #fff; display: grid; place-items: center; }
.lbox__btn:hover { background: rgb(255 255 255 / .15); }
.lbox__btn--prev { left: 14px; }
.lbox__btn--next { right: 14px; }
.lbox__close { position: absolute; top: 12px; right: 14px; color: #fff; }
.lbox__count { position: absolute; top: 20px; left: 20px; font-size: .9rem; font-weight: 700; color: rgb(255 255 255 / .7); }

/* ---------- Sayfa başlığı ---------- */
.phead { position: relative; isolation: isolate; overflow: hidden; padding: clamp(34px, 5vw, 60px) 0 clamp(30px, 4vw, 46px); background: linear-gradient(180deg, var(--surface), var(--bg)); border-bottom: 1px solid var(--line-2); }
.phead::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); opacity: .07;
  -webkit-mask-image: var(--pattern), linear-gradient(90deg, transparent 20%, #000 80%); -webkit-mask-size: 70px 70px, 100% 100%; -webkit-mask-repeat: repeat, no-repeat; -webkit-mask-composite: source-in;
  mask-image: var(--pattern), linear-gradient(90deg, transparent 20%, #000 80%); mask-size: 70px 70px, 100% 100%; mask-repeat: repeat, no-repeat; mask-composite: intersect;
}
.phead h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 10px 0 8px; text-wrap: balance; max-width: 900px; }
.phead p { color: var(--muted); margin: 0; max-width: 720px; font-size: 1.04rem; }
.phead--dark { background: linear-gradient(120deg, #0b1430, #1b2b5c); color: #fff; border: 0; }
.phead--dark h1 { color: #fff; }
.phead--dark p { color: rgb(233 237 247 / .75); }
.phead--dark::before { background: var(--gold-3); opacity: .08; }
.phead--dark .crumbs a, .phead--dark .crumbs span { color: rgb(255 255 255 / .7); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: .86rem; font-weight: 600; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.crumbs li + li::before { content: "/"; opacity: .4; margin: 0 4px; }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-flex; }
.crumbs a:hover { color: var(--brand); }
.crumbs .i { width: 16px; height: 16px; }

/* ---------- Doküman listesi ---------- */
.lib { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; padding-block: 32px 80px; }
.side { position: sticky; top: calc(var(--hdr-h) + 18px); max-height: calc(100vh - var(--hdr-h) - 36px); overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-width: thin; }
.side__h { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin: 0 0 10px 10px; font-family: var(--font-body); }
.tree { list-style: none; margin: 0 0 22px; padding: 0; }
.tree a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .93rem; }
.tree a:hover { background: var(--surface); color: var(--ink); }
.tree a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: inset 3px 0 0 var(--gold), var(--sh-1); }
.tree em { font-style: normal; font-size: .75rem; color: var(--muted); background: var(--bg-2); padding: 1px 8px; border-radius: 999px; font-weight: 700; }
.tree details summary { list-style: none; cursor: pointer; }
.tree details summary::-webkit-details-marker { display: none; }
.tree details > summary a { font-weight: 700; color: var(--ink); }
.tree ul { list-style: none; margin: 2px 0 8px 12px; padding: 0 0 0 10px; border-left: 1px solid var(--line); }
.tree ul a { font-size: .89rem; font-weight: 550; padding: 6px 10px; }
.tbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; padding: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.tbar__search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 10px; background: var(--bg); }
.tbar__search .i { color: var(--muted); }
.tbar__search input { flex: 1; border: 0; background: none; outline: none; padding: 10px 0; min-width: 0; }
.tbar select { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 9px 34px 9px 12px; font-weight: 600; font-size: .92rem; }
.tbar__count { font-size: .9rem; color: var(--muted); font-weight: 600; padding: 0 6px; }
.side-toggle { display: none; }
.empty { text-align: center; padding: 60px 20px; border: 2px dashed var(--line); border-radius: var(--r-lg); color: var(--muted); }
.empty .i { width: 44px; height: 44px; margin: 0 auto 12px; color: var(--gold); stroke-width: 1.4; }
.empty h3 { color: var(--ink); }

/* ---------- Doküman detayı ---------- */
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; padding-block: 34px 70px; }
.doc__cover { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 26px; box-shadow: var(--sh-2); }
.doc__cover { display: grid; place-items: center; padding: 18px; margin: 0 0 26px; }
.doc__cover img { width: auto; max-width: 100%; max-height: 560px; border-radius: 10px; box-shadow: var(--sh-2); }
.doc__cover .dcard__ph { position: relative; width: 100%; aspect-ratio: 16 / 7; border-radius: 10px; }
.doc__aside { position: sticky; top: calc(var(--hdr-h) + 18px); display: grid; gap: 18px; }
.dlcard { padding: 24px; border-radius: var(--r-lg); background: linear-gradient(160deg, #0d1631, #1d2e62); color: #fff; box-shadow: var(--sh-3); position: relative; overflow: hidden; isolation: isolate; }
.dlcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-3); opacity: .07; -webkit-mask: var(--pattern) 0 0 / 60px 60px; mask: var(--pattern) 0 0 / 60px 60px; }
.dlcard__file { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.dlcard__ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: rgb(255 255 255 / .08); color: var(--gold-3); border: 1px solid rgb(255 255 255 / .12); }
.dlcard__ico .i { width: 28px; height: 28px; }
.dlcard__file b { display: block; font-size: 1.05rem; }
.dlcard__file small { color: rgb(233 237 247 / .7); font-weight: 600; }
.dlcard__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 0; }
.dlcard__nums div { padding: 12px; border-radius: 12px; background: rgb(255 255 255 / .06); text-align: center; }
.dlcard__nums b { display: block; font: 600 1.4rem var(--font-display); }
.dlcard__nums span { font-size: .78rem; color: rgb(233 237 247 / .7); font-weight: 650; }
.dlcard__lock { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: rgb(233 237 247 / .8); margin: 0 0 14px; }
.dlcard__lock .i { color: var(--gold-3); margin-top: 3px; }
.dlcard .btn + .btn { margin-top: 10px; }
.dlcard .btn--ghost { --b-fg: #fff; --b-bd: rgb(255 255 255 / .25); }
.meta-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.meta-list li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.meta-list li:last-child { border: 0; }
.meta-list span { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.meta-list span .i { color: var(--gold); width: 16px; height: 16px; }
.meta-list b { text-align: right; font-weight: 650; }
.meta-list a { text-decoration: none; }
.rate { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rate input { position: absolute; opacity: 0; pointer-events: none; }
.rate label { font-size: 1.9rem; line-height: 1; color: color-mix(in srgb, var(--muted) 35%, transparent); cursor: pointer; transition: color .15s, transform .15s; }
.rate label:hover, .rate label:hover ~ label, .rate input:checked ~ label { color: var(--gold-2); }
.rate label:hover { transform: scale(1.15); }
.rate input:focus-visible + label { outline: 2px solid var(--focus); border-radius: 4px; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.share a:hover, .share button:hover { color: var(--brand); border-color: var(--gold); }

/* ---------- Okuma metni ---------- */
.prose { font-size: 1.06rem; line-height: 1.8; color: var(--ink-2); overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin: 1.6em 0 .6em; }
.prose h2 { font-size: 1.6rem; } .prose h3 { font-size: 1.3rem; }
.prose a { color: var(--accent); }
.prose img { border-radius: 12px; margin: 1.2em auto; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); font-family: var(--font-display); font-style: italic; font-size: 1.15em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .3em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95em; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.prose b, .prose strong { color: var(--ink); }
.prose--lead::first-letter { float: left; font-family: var(--font-display); font-size: 3.6em; line-height: .9; padding: 6px 10px 0 0; color: var(--brand); font-weight: 600; }

/* ---------- Yazı detayı ---------- */
.article { padding-block: 10px 70px; }
.article__head { padding: clamp(30px, 5vw, 56px) 0 26px; text-align: center; }
.article__head h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); margin: 14px auto 14px; max-width: 900px; text-wrap: balance; }
.article__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .92rem; font-weight: 600; }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__meta .i { color: var(--gold); width: 16px; height: 16px; }
.article__author { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; }
.article__img { width: fit-content; max-width: min(860px, 100% - 32px); margin: 0 auto 36px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-3); background: var(--bg-2); }
.article__img img { width: auto; max-width: 100%; max-height: 640px; }
.article__summary { font-size: 1.18rem; color: var(--ink); font-weight: 500; line-height: 1.7; padding: 0 0 22px; margin: 0 0 26px; border-bottom: 1px solid var(--line); }
.article__tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 34px 0; padding: 16px 0; border-block: 1px solid var(--line); }

/* ---------- Yorumlar ---------- */
.comments { margin-top: 44px; }
.comments__h { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; }
.comments__h .i { color: var(--gold); }
.comments__h small { font: 700 .85rem var(--font-body); color: var(--muted); background: var(--bg-2); padding: 3px 10px; border-radius: 999px; }
.cform { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); margin-bottom: 26px; }
.cform textarea { min-height: 96px; }
.cform__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.clogin { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--r); border: 1px dashed var(--line); margin-bottom: 26px; color: var(--muted); font-weight: 600; }
.ctree { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ctree li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; }
.ctree .avatar { width: 42px; height: 42px; }
.ctree__bubble { padding: 14px 16px; border-radius: 4px 16px 16px 16px; background: var(--surface); border: 1px solid var(--line); }
.ctree__top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; font-size: .9rem; }
.ctree__top time { color: var(--muted); font-size: .82rem; font-weight: 600; }
.ctree__bubble p { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.counter { font-size: .8rem; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.counter.is-over { color: var(--err); }

/* ---------- Formlar ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row--3 { grid-template-columns: repeat(3, 1fr); }
.field { display: grid; gap: 7px; }
.field > label, .field > .label { font-weight: 700; font-size: .9rem; color: var(--ink); display: flex; justify-content: space-between; gap: 8px; }
.field > label small, .field > .label small { font-weight: 550; color: var(--muted); }
.field .hint { font-size: .84rem; color: var(--muted); margin: 0; }
.input, .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=search], .field input[type=tel], .field input[type=url], .field input[type=number], .field input[type=date], .field select, .field textarea, textarea.input, select.input {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea, textarea.input { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select, select.input { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23878ea3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 20%, transparent); }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--err); }
.pw { position: relative; }
.pw input { padding-right: 50px; }
.pw button { position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border: 0; background: none; color: var(--muted); border-radius: 8px; display: grid; place-items: center; }
.pw button:hover { color: var(--ink); }
.pw .i-eye-off { display: none; }
.pw.is-shown .i-eye { display: none; }
.pw.is-shown .i-eye-off { display: block; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); flex: none; }
.drop-zone { position: relative; display: grid; place-items: center; text-align: center; gap: 6px; padding: 30px 20px; border: 2px dashed var(--line); border-radius: 16px; background: var(--surface-2); color: var(--muted); transition: border-color .2s, background .2s; cursor: pointer; }
.drop-zone:hover, .drop-zone.is-over { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 6%, var(--surface)); }
.drop-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-zone .i { width: 34px; height: 34px; color: var(--gold); stroke-width: 1.5; }
.drop-zone b { color: var(--ink); }
.drop-zone.has-file { border-style: solid; border-color: var(--ok-line); background: var(--ok-bg); color: var(--ok); }
.req { color: var(--brand); }

/* ---------- Giriş / kayıt ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--hdr-h)); }
.auth__art { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(170deg, #070c1f, #142352 70%, #22336a); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 80px); }
.auth__art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-3); opacity: .07; -webkit-mask: var(--pattern) 0 0 / 80px 80px; mask: var(--pattern) 0 0 / 80px 80px; }
.auth__art .skyline { height: 170px; }
.auth__art h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); max-width: 480px; }
.auth__art h2 em { color: var(--gold-2); font-style: italic; font-weight: 500; }
.auth__art p { color: rgb(233 237 247 / .78); max-width: 440px; font-size: 1.05rem; }
.auth__art ul { list-style: none; margin: 18px 0 150px; padding: 0; display: grid; gap: 12px; }
.auth__art li { display: flex; gap: 12px; align-items: center; color: rgb(233 237 247 / .9); font-weight: 600; }
.auth__art li .i { color: var(--gold-2); }
.auth__main { display: grid; place-items: center; padding: clamp(28px, 5vw, 64px) 16px; }
.auth__box { width: min(460px, 100%); }
.auth__box h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 0 0 6px; }
.auth__box > p { color: var(--muted); margin-bottom: 26px; }
.auth__alt { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-weight: 600; }
.auth__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Kart, sekme, tablo ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); box-shadow: var(--sh-1); }
.card__h { font-size: 1.3rem; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.card__h .i { color: var(--gold); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding-block: 36px 80px; }
.tabs { display: flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--bg-2); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.tabs a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 650; font-size: .93rem; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.tabs a em { font-style: normal; font-size: .78rem; color: var(--muted); background: var(--bg); padding: 1px 8px; border-radius: 999px; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .93rem; }
.tbl th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); font-weight: 700; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr:hover td { background: var(--surface-2); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }

/* ---------- Ziyaretçi defteri, iletişim ---------- */
.gb { display: grid; gap: 18px; }
.gb__item { position: relative; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.gb__item::before { content: "“"; position: absolute; right: 22px; top: 6px; font: 600 4rem/1 var(--font-display); color: var(--gold); opacity: .25; }
.gb__item h3 { font-size: 1.12rem; margin: 0 0 8px; }
.gb__item p { color: var(--ink-2); margin: 0 0 14px; overflow-wrap: anywhere; }
.gb__by { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 700; }
.gb__by time { color: var(--muted); font-weight: 600; }
.gb__by .avatar { width: 30px; height: 30px; font-size: .7rem; }
.cinfo { display: grid; gap: 14px; }
.cinfo__item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.cinfo__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--gold); flex: none; }
.cinfo__item b { display: block; }
.cinfo__item a, .cinfo__item span { color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }

/* ---------- Haydi Camiye ---------- */
.camiye { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding-block: 40px; }
.camiye__poster { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-3); transform: rotate(-1.2deg); border: 6px solid var(--surface); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 600 1.05rem var(--font-display); background: var(--night); color: var(--gold-3); }
.chart-print { background: #fff; color: #111; border-radius: var(--r); padding: 18px; border: 1px solid var(--line); }
.chart-print img { width: 100%; }

/* ---------- Sayfa ---------- */
.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding-block: 40px 80px; align-items: start; }
.page-figure { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); margin: 0 0 22px; }
.err { text-align: center; padding: clamp(60px, 12vw, 140px) 16px; }
.err__code { font: 600 clamp(4.5rem, 14vw, 9rem)/1 var(--font-display); background: linear-gradient(120deg, var(--gold), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }

/* ---------- Sayfalama ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
.pager__nums { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pager__num, .pager__step { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .92rem; }
.pager__num:hover, .pager__step:hover { border-color: var(--gold); color: var(--ink); }
.pager__num.is-on { background: var(--night); border-color: var(--night); color: var(--gold-3); }
.pager__step.is-off { opacity: .45; }
.pager__gap { align-self: center; color: var(--muted); padding: 0 4px; }

/* ---------- Alt bölüm ---------- */
.ftr { position: relative; isolation: isolate; overflow: hidden; margin-top: 0; background: #070c1e; color: rgb(233 237 247 / .78); padding-top: clamp(56px, 7vw, 84px); }
.ftr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-3); opacity: .04; -webkit-mask: var(--pattern) 0 0 / 80px 80px; mask: var(--pattern) 0 0 / 80px 80px; }
.ftr__glow { position: absolute; z-index: -1; left: 50%; top: -220px; width: 900px; height: 420px; translate: -50% 0; background: radial-gradient(closest-side, rgb(227 180 83 / .14), transparent); }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.ftr__brand p { margin: 16px 0 22px; max-width: 360px; font-size: .95rem; }
.ftr__nums { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; flex-wrap: wrap; }
.ftr__nums b { display: block; font: 600 1.45rem var(--font-display); color: #fff; }
.ftr__nums span { font-size: .8rem; font-weight: 650; color: rgb(233 237 247 / .55); }
.ftr__h { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-2); margin: 6px 0 16px; font-weight: 700; }
.ftr__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr__links a { color: rgb(233 237 247 / .78); text-decoration: none; font-size: .94rem; display: inline-flex; align-items: center; gap: 6px; }
.ftr__links a:hover { color: #fff; }
.ftr__links .i { width: 13px; height: 13px; opacity: .5; }
.ftr__bar { border-top: 1px solid rgb(255 255 255 / .08); }
.ftr__bar-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 0 26px; font-size: .86rem; }
.ftr__bar p { margin: 0; }
.ftr__bar b { color: #fff; font-weight: 650; }
.ftr__bar a { color: var(--gold-2); text-decoration: none; font-weight: 700; }
.ftr__bar a:hover { color: #fff; }

/* ---------- Görünür olunca beliren öğeler ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: .06s; }
.js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .12s; }
.js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: .18s; }
.js .reveal-stagger.is-in > *:nth-child(5) { transition-delay: .24s; }
.js .reveal-stagger.is-in > *:nth-child(6) { transition-delay: .3s; }
.js .reveal-stagger.is-in > *:nth-child(n+7) { transition-delay: .36s; }

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1180px) {
  .mnav__link { padding: 10px 10px; font-size: .92rem; }
  .drop--mega { left: -60px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  :root { --hdr-h: 64px; }
  .mnav { display: none; }
  .ibtn--menu { display: inline-grid; }
  .lib { grid-template-columns: 1fr; gap: 0; padding-top: 22px; }
  .side { position: static; max-height: none; overflow: visible; display: none; margin-bottom: 18px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
  .side.is-open { display: block; }
  .side-toggle { display: inline-flex; }
  .doc, .two-col, .page-body { grid-template-columns: 1fr; }
  .doc__aside { position: static; }
  /* mobilde indirme kartı içerikten önce gelir; diğer kartlar sonra */
  .doc { display: flex; flex-direction: column; gap: 22px; }
  .doc > .doc__aside { display: contents; }
  .doc .dlcard { order: -1; }
  .doc > .doc__aside > .card { order: 1; }
  .feature-split, .duo, .camiye { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth__art { display: none; }
  .cta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hide-sm { display: none !important; }
  .hdr__in { gap: 10px; }
  .logo__img { height: 46px; }
  .umenu__name { display: none; }
  .umenu__btn { padding: 3px 8px 3px 3px; }
  .hero__search { padding: 6px 6px 6px 16px; }
  .hero__search .btn { padding: .6em 1em; }
  .hero__search .btn span { display: none; }
  .hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .form-row, .form-row--3 { grid-template-columns: 1fr; }
  .dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dcard__body { padding: 10px 12px 12px; }
  .dcard__title { font-size: .92rem; -webkit-line-clamp: 3; }
  .dcard__cat { font-size: .66rem; }
  .acard { grid-template-columns: 96px 1fr; gap: 12px; }
  .acard__title { font-size: 1rem; }
  .acard--feature { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; gap: 28px; }
  .tbar select { flex: 1; }
  .lbox__fig { inset: 56px 8px 70px; }
  .lbox__btn { top: auto; bottom: 10px; translate: none; width: 46px; height: 46px; }
  .panel { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Yazdırma ---------- */
@media print {
  .hdr, .ftr, .drawer, .sdlg, .doc__aside, .comments, .article__tools, .share, .flashes, .skip, .no-print { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .article__img, .doc__cover { box-shadow: none; }
  .prose { color: #000; }
  a { color: #000; text-decoration: none; }
  .print-only { display: block !important; }
}
.print-only { display: none; }

/* ---------- Yayın çubuğu (yalnızca yönetici) ve duyuru bandı ---------- */
.pubbar { position: relative; z-index: 70; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; padding: 8px 16px; font-size: .88rem; font-weight: 600; }
.pubbar--on { background: #0f3d2b; color: #d5f5e3; }
.pubbar--off { background: #7a1226; color: #ffe3e8; }
.pubbar form { margin: 0; }
.pubbar .btn { min-height: 32px; padding: .25em .9em; font-size: .82rem; --b-fg: #fff; --b-bd: rgb(255 255 255 / .4); }
.pubbar .btn--gold { --b-fg: #1c1405; --b-bd: transparent; }
.pubbar__lnk { color: inherit; display: inline-flex; gap: 6px; align-items: center; opacity: .85; }
.annbar { position: relative; z-index: 65; display: flex; justify-content: center; align-items: center; gap: 12px; padding: 9px 44px 9px 16px; background: linear-gradient(90deg, #f1cf7f, #d9a441); color: #1c1405; font-weight: 650; font-size: .92rem; text-align: center; }
.annbar[hidden] { display: none; }
.annbar__x { position: absolute; right: 10px; top: 50%; translate: 0 -50%; border: 0; background: none; color: inherit; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.annbar__x:hover { background: rgb(0 0 0 / .1); }
.is-home .pubbar, .is-home .annbar { position: relative; }

.thumb { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--bg-2); display: block; flex: none; }
.thumb--ph { display: grid; place-items: center; color: var(--muted); }

/* Diğer sürümler listesi */
.vlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vlist li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0; border: 0; }
.vlist a { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 650; font-size: .92rem; min-width: 0; }
.vlist a:hover { color: var(--brand); }
.vlist small { color: var(--muted); white-space: nowrap; font-size: .8rem; }

.pdfview { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-2); margin-bottom: 26px; box-shadow: var(--sh-1); }
.pdfview iframe { display: block; width: 100%; height: min(78vh, 720px); border: 0; }
