/* ==========================================================================
   SİU 2027 — 35. Sinyal İşleme ve İletişim Uygulamaları Kurultayı
   Tasarım sistemi v2 (7 Eki 2026; 11 Eki 2026 kabul edildi, ana siteye alındı).
   Tek yazı ailesi (Plus Jakarta Sans, gömülü). Açık, temayı izleyen yapışkan
   başlık; altında koyu hero / sayfa başlığı bandı, en altta koyu alt bilgi.
   Açık ve koyu tema aynı token'larla çalışır; hero ve alt bilgi her iki temada koyudur.

   Bölümler
     0  Fontlar
     1  Token'lar (renk açık/koyu, tip ölçeği, boşluk, ölçü) + eski adlar
     2  Reset / temel
     3  Tipografi + yardımcılar
     4  Kabuk: bilgi çubuğu + yapışkan ana çubuk (logo, menü), arama modalı
     5  Sayfa başlığı bandı (index dışı sayfalar)
     6  Gövde ızgarası: okuma kolonu + yan sütun (sayfa içi nav, künye)
     7  Bölüm başlıkları
     8  Tarih tablosu (eski index; deneme sayfaları için)
     9  Konular ve kulvarlar (ana sayfa + yazarlar)
    10  Bilgi bloğu (TBA)
    11  Duyurular / sponsorlar / geri sayım (eski index)
    12  Site geneli bileşenler: düğme, indirme, form, tablo, arşiv, fiyat,
        SSS, filtre, oturum, komite kartı, biyografi modalı, harita, KVKK, 404
    13  Alt bilgi
    14  Erişilebilirlik, hareket, baskı
   ========================================================================== */

/* 0. Fontlar: Plus Jakarta Sans değişken yazı tipi (400–800 tek dosya) ----- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/PlusJakartaSans-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/PlusJakartaSans-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Token'lar ----------------------------------------------------------- */
:root {
  --ot-ink: #0f2a44;          /* başlıklar, tarih rakamları */
  --ot-text: #2b3d50;         /* gövde metni */
  --ot-muted: #5d6e80;        /* ikincil metin */
  --ot-faint: #98a6b5;        /* YALNIZ dekoratif: nokta, ayraç */
  --ot-line: #d8e0e9;         /* ayırıcılar, zaman çizgisi */
  --ot-line-2: #c3cfdb;       /* form ve kart kenarları */
  --ot-bg: #ffffff;
  --ot-surface: #f2f6fa;      /* kutu, geri sayım */
  --ot-gray: #f7f8f9;         /* kulvar kutuları */
  --ot-accent: #2563a6;       /* odak, sıradaki son tarih */
  --ot-accent-soft: #e3edf8;
  --ot-open: #17734a;         /* çağrı açık */
  --ot-open-soft: #e2f3ea;
  --ot-soon: #9a5a00;         /* son 14 gün */
  --ot-soon-soft: #fbefd9;
  --ot-error: #a23214;
  --ot-error-soft: #fdf4f1;
  --ot-link: #2c77bd;         /* metin bağlantıları */
  --ot-shadow: 0 1px 2px rgba(15, 42, 68, .06), 0 6px 16px -4px rgba(15, 42, 68, .10);
  --ot-shadow-lg: 0 2px 4px rgba(15, 42, 68, .06), 0 18px 40px -8px rgba(15, 42, 68, .22);

  /* Koyu bantlar: her iki temada da koyu */
  --hero-bg: #0c1b2d;
  --hd-h: 4.25rem;          /* yapışkan ana çubuğun yüksekliği */
  --hero-accent: #5cc3f0;
  --hero-text: #c7d3df;
  --hero-muted: #94a6b9;
  --hero-line: rgba(255, 255, 255, .12);
  --ft-bg: #0c1d30;
  --ft-text: #d6dfe9;
  --ft-muted: #94a6b9;
  --ft-line: rgba(255, 255, 255, .12);
  --backdrop: rgba(8, 19, 31, .55);

  --ot-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Tip ölçeği (rem; Plus Jakarta Sans geniş olduğu için gövde 16px) */
  --step--2: .8125rem;
  --step--1: .9375rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.5rem, 3vw, 2rem);
  --step-4: clamp(1.875rem, 3.6vw, 2.625rem);
  --step-5: clamp(2rem, 4vw, 3rem);

  /* Boşluk ölçeği (4/8 tabanlı) */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Ölçü ve ızgara: içerik genişliği 72rem, yan sütun 17.5rem */
  --measure: 68ch;
  --wrap: 72rem;
  --gutter: 1rem;
  --side-w: 17.5rem;
  --col-gap: 4rem;

  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-body: 1.5;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --dur: 150ms;

  /* Eski adlar: sayfa CSS'leri (css/pages/*.css) bunları kullanır */
  --navy: var(--ot-ink);
  --navy-deep: var(--ot-accent);
  --cyan: var(--ot-accent);
  --cyan-text: var(--ot-link);
  --cyan-tint: var(--ot-accent-soft);
  --ink: var(--ot-text);
  --ink-2: var(--ot-text);
  --ink-3: var(--ot-muted);
  --ink-4: var(--ot-faint);
  --paper: var(--ot-bg);
  --paper-2: var(--ot-gray);
  --paper-3: var(--ot-surface);
  --rule: var(--ot-line);
  --rule-2: var(--ot-line-2);
  --rule-strong: var(--ot-ink);
  --font-sans: var(--ot-font);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ot-ink: #e8eef5; --ot-text: #c9d4df; --ot-muted: #8fa0b2; --ot-faint: #5b6c7e;
    --ot-line: #2c3b4b; --ot-line-2: #3b4d60;
    --ot-bg: #0f1822; --ot-surface: #172331; --ot-gray: #1b1f25;
    --ot-accent: #79adeb; --ot-accent-soft: #1b3150;
    --ot-open: #6fd3a2; --ot-open-soft: #143326; --ot-soon: #f0b45a; --ot-soon-soft: #3a2a10;
    --ot-error: #f19a80; --ot-error-soft: #3a1c14;
    --ot-link: #9cc6f5;
    --ft-bg: #080f17; --hero-bg: #08131f;
    --ot-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 16px -4px rgba(0, 0, 0, .45);
    --ot-shadow-lg: 0 2px 4px rgba(0, 0, 0, .35), 0 18px 40px -8px rgba(0, 0, 0, .6);
    --backdrop: rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ot-ink: #e8eef5; --ot-text: #c9d4df; --ot-muted: #8fa0b2; --ot-faint: #5b6c7e;
  --ot-line: #2c3b4b; --ot-line-2: #3b4d60;
  --ot-bg: #0f1822; --ot-surface: #172331; --ot-gray: #1b1f25;
  --ot-accent: #79adeb; --ot-accent-soft: #1b3150;
  --ot-open: #6fd3a2; --ot-open-soft: #143326; --ot-soon: #f0b45a; --ot-soon-soft: #3a2a10;
  --ot-error: #f19a80; --ot-error-soft: #3a1c14;
  --ot-link: #9cc6f5;
  --ft-bg: #080f17; --hero-bg: #08131f;
  --ot-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 16px -4px rgba(0, 0, 0, .45);
  --ot-shadow-lg: 0 2px 4px rgba(0, 0, 0, .35), 0 18px 40px -8px rgba(0, 0, 0, .6);
  --backdrop: rgba(0, 0, 0, .6);
  color-scheme: dark;
}

@media (min-width: 48em) {
  :root { --gutter: 1.5rem; }
}

/* 2. Reset / temel ------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hd-h) + var(--space-5));
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--ot-font);
  font-size: var(--step-0);
  line-height: var(--lh-body);
  color: var(--ot-text);
  background: var(--ot-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, table, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--ot-line); margin-block: var(--space-6); }

a {
  color: var(--ot-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
a:hover { text-decoration-thickness: 2px; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

strong { font-weight: 700; }
code { font-family: var(--font-mono); font-size: .92em; }
kbd {
  font-family: var(--ot-font);
  font-size: .75em;
  font-weight: 600;
  padding: .05rem .4rem;
  border: 1px solid var(--ot-line-2);
  border-radius: var(--radius-sm);
  color: var(--ot-muted);
}

/* 3. Tipografi + yardımcılar --------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--ot-ink);
  font-weight: 700;
  line-height: var(--lh-snug);
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); font-weight: 800; line-height: var(--lh-tight); letter-spacing: -.02em; }
h2 { font-size: var(--step-3); line-height: var(--lh-tight); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); }

p { max-width: var(--measure); }

.lede {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ot-text);
}
.small { font-size: var(--step--1); }
.muted { color: var(--ot-muted); }

/* Küçük, büyük harfli etiket (kategori, kurul adı, sütun başlığı) */
.kicker,
.editorial-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ot-muted);
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.measure { max-width: var(--measure); }
.flow > * + * { margin-top: var(--space-4); }
/* display: grid/flex tanımlı öğelerde [hidden] tarayıcı varsayılanını geri alır */
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100%;
  z-index: 100;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  background: #fff;
  color: var(--hero-bg);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: var(--space-2); }

/* "Devamı" bağlantısı: kalın, ok sağa kayar */
.link-more {
  display: inline-block;
  font-weight: 600;
  color: var(--ot-link);
  text-decoration: none;
}
.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-more .arrow { display: inline-block; margin-left: .3em; transition: transform var(--dur) var(--ease); }
.link-more:hover .arrow { transform: translateX(3px); }

/* Okuma metni (prose): uzun metinli sayfalar */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--space-4); }
.prose > h2 { margin-top: var(--space-7); font-size: var(--step-2); }
.prose > h3 { margin-top: var(--space-6); }
.prose > h2 + *, .prose > h3 + * { margin-top: var(--space-3); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: var(--space-1); }
.prose li::marker { color: var(--ot-faint); }
.prose blockquote { margin: 0; padding-left: var(--space-4); border-left: 2px solid var(--ot-ink); color: var(--ot-text); }
.prose figure { margin-block: var(--space-5); }
.prose figcaption { margin-top: var(--space-2); font-size: var(--step--2); color: var(--ot-muted); }
.prose dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--space-2) var(--space-5); }
.prose dt { font-weight: 600; color: var(--ot-ink); }

/* İki sütunlu metin/liste düzeni */
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5) var(--space-7); }
@media (min-width: 48em) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Çizgili tanım listesi (künye, sekreterlik, etkinlik olguları) */
.facts { display: grid; }
.facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: .125rem var(--space-4); padding-block: var(--space-3); border-top: 1px solid var(--ot-line); }
.facts > div:last-child { border-bottom: 1px solid var(--ot-line); }
.facts dt { font-size: var(--step--2); color: var(--ot-muted); }
.facts dd { color: var(--ot-text); }
.facts__val { display: block; font-weight: 600; color: var(--ot-ink); }
.facts__sub { display: block; margin-top: .125rem; font-size: var(--step--2); color: var(--ot-muted); }
@media (min-width: 30em) {
  .facts > div { grid-template-columns: 9.5rem minmax(0, 1fr); }
}

/* 4. Kabuk: başlık (onemli-tarihler.html tasarımı) -----------------------
   İnce bilgi çubuğu kaydırınca kaybolur, ana çubuk (logo + menü) yapışkan kalır.
   Açık zemin, temayı izler. Alt menüler tıklamayla açılır (main.js: initHeader). */
.hd {
  --top-h: 2.25rem;
  position: sticky; top: calc(var(--top-h) * -1); z-index: 50;
  background: var(--ot-bg); color: var(--ot-ink);
  box-shadow: 0 1px 0 var(--ot-line);
}
.hd a { color: inherit; text-decoration: none; }
.hd a:focus-visible, .hd button:focus-visible { outline: 3px solid var(--ot-accent); outline-offset: 2px; border-radius: var(--radius-sm); }

/* 4.1 Bilgi çubuğu: künye + arama + dil */
.hd-top { height: var(--top-h); background: var(--ot-gray); border-bottom: 1px solid var(--ot-line); font-size: var(--step--2); color: var(--ot-muted); }
.hd-top .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hd-tagline { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.hd-util { display: flex; align-items: center; gap: 1.25rem; flex: none; }
.hd-search { display: inline-flex; align-items: center; gap: .5rem; color: var(--ot-text); }
.hd-search:hover { color: var(--ot-ink); }
.hd-search svg { width: .9375rem; height: .9375rem; }
.hd-search kbd { font: 600 .6875rem/1 var(--ot-font); padding: .1875rem .375rem; border: 1px solid var(--ot-line); border-radius: var(--radius-sm); background: var(--ot-bg); color: var(--ot-muted); }
.hd-lang { display: flex; gap: .125rem; }
.hd-lang .lang-btn { padding: .25rem .4rem; border-radius: var(--radius-sm); font-weight: 700; color: var(--ot-muted); }
.hd-lang .lang-btn:hover { color: var(--ot-ink); }
.hd-lang .lang-btn.active { color: var(--ot-ink); background: var(--ot-bg); box-shadow: 0 0 0 1px var(--ot-line); }

/* 4.2 Ana çubuk: ev sahibi logosu | SİU 2027 · menü sağa yaslı */
.hd-main { height: var(--hd-h); }
.hd-main .wrap { height: 100%; display: flex; align-items: center; gap: 2rem; }
/* Ev sahibi logosu: tek renkli maske, metin rengini alır (koyu temada da görünür) */
.hd-medipol {
  flex: none; display: block; height: 2.75rem; aspect-ratio: 999 / 313; background: var(--ot-ink);
  -webkit-mask: url("../assets/medipol-logo-white.png") center / contain no-repeat;
          mask: url("../assets/medipol-logo-white.png") center / contain no-repeat;
}
.hd-divider { flex: none; width: 1px; height: 2.5rem; background: var(--ot-line); margin-inline: -.75rem; }
/* SİU 2027 logosu (yazı + simge), renkli; İngilizcede noktasız "SIU". Koyu temada renkler
   ters çevrilir, ton korunur. Logo ::before'da: bağlantının odak çerçevesi etkilenmesin */
.hd-brand { flex: none; display: block; height: 2.5rem; aspect-ratio: 908.24 / 360.04; color: var(--ot-ink); }
.hd-brand::before { content: ""; display: block; height: 100%; background: url("../assets/siu2027-logo.svg?v=218") left center / auto 100% no-repeat; }
:root[lang="en"] .hd-brand::before { background-image: url("../assets/siu2027-logo-en.svg?v=218"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hd-brand::before { filter: invert(1) hue-rotate(180deg); } }
:root[data-theme="dark"] .hd-brand::before { filter: invert(1) hue-rotate(180deg); }

.hd-nav { margin-left: auto; min-width: 0; }
.hd-menu-list { display: flex; align-items: center; gap: .25rem; }
.hd-item { position: relative; }
.hd-link, .hd-trigger {
  display: inline-flex; align-items: center; gap: .25rem; height: var(--hd-h); padding: 0 .625rem;
  background: none; border: 0; color: var(--ot-text); font: 600 var(--step--1)/1 var(--ot-font); cursor: pointer; white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent; transition: color var(--dur), box-shadow var(--dur);
}
.hd-link:hover, .hd-trigger:hover, .hd-item.is-open > .hd-trigger { color: var(--ot-ink); }
.hd-link[aria-current], .hd-trigger.is-current { color: var(--ot-ink); box-shadow: inset 0 -2px 0 var(--ot-link); }
.hd-trigger svg { width: .75rem; height: .75rem; transition: transform var(--dur); }
.hd-item.is-open > .hd-trigger svg { transform: rotate(180deg); }
.hd-sub {
  display: none; position: absolute; top: calc(100% - .375rem); left: 0; min-width: 17.5rem;
  padding: .5rem; border-radius: 10px;
  background: var(--ot-bg); color: var(--ot-ink); border: 1px solid var(--ot-line); box-shadow: var(--ot-shadow);
}
.hd-item.is-open > .hd-sub { display: grid; }
.hd-sub a { display: block; padding: .5rem .75rem; border-radius: var(--radius); font-size: var(--step--1); font-weight: 500; }
.hd-sub-title { display: block; font-weight: 600; color: var(--ot-ink); }
.hd-sub-desc { display: block; margin-top: .125rem; font-size: var(--step--2); font-weight: 400; color: var(--ot-muted); }
.hd-sub a:hover { background: var(--ot-gray); }
.hd-sub a:hover .hd-sub-title, .hd-sub a[aria-current] .hd-sub-title { color: var(--ot-link); }

.hd-toggle { display: none; }

/* Dar ekran: menü tek düğmeye toplanır, başlığın altında açılır */
@media (max-width: 68.75em) {
  .hd-tagline-long { display: none; }
  .hd-main .wrap { gap: 1rem; }
  .hd-divider { margin-inline: 0; }
  .hd-nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none;
    max-height: calc(100vh - var(--hd-h)); overflow-y: auto;
    background: var(--ot-bg); border-top: 1px solid var(--ot-line);
    box-shadow: 0 16px 24px -12px rgba(15, 42, 68, .25); padding: .75rem var(--gutter) 1.5rem;
  }
  .hd.is-menu-open .hd-nav { display: block; }
  .hd-menu-list { flex-direction: column; align-items: stretch; gap: 0; max-width: 40rem; margin: 0 auto; }
  .hd-link, .hd-trigger { height: auto; width: 100%; padding: .875rem 0; justify-content: space-between; font-size: 1.0625rem; box-shadow: none; border-bottom: 1px solid var(--ot-line); }
  .hd-link[aria-current], .hd-trigger.is-current { box-shadow: none; color: var(--ot-link); }
  .hd-sub { position: static; min-width: 0; padding: .25rem 0 .75rem .75rem; border: 0; border-radius: 0; box-shadow: none; color: var(--ot-text); }
  .hd-toggle {
    display: inline-flex; align-items: center; gap: .5rem; margin-left: auto; height: 2.5rem; padding: 0 .875rem;
    border: 1px solid var(--ot-line); border-radius: var(--radius); color: var(--ot-ink); font: 600 var(--step--1)/1 var(--ot-font);
  }
  .hd-toggle svg { width: 1.125rem; height: 1.125rem; }
}
@media (max-width: 35em) {
  .hd-search span, .hd-search kbd { display: none; }
  .hd-medipol, .hd-divider { height: 2rem; }
  .hd-brand { height: 2.25rem; }
}
/* Çok dar ekranda (≤340 px) tam logo menü düğmesine sığmaz: yalnız amblem (yazısız) */
@media (max-width: 21.25em) {
  .hd-brand { aspect-ratio: 378.24 / 360.04; }
  :root[lang] .hd-brand::before { background-image: url("../assets/siu2027-amblem.svg?v=218"); }
}

/* 4.5 Modal zemini (arama + biyografi) */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 80;
  display: grid;
  place-items: start center;
  padding: 10vh var(--gutter) var(--space-6);
  background: var(--backdrop);
  opacity: 0; visibility: hidden;
  overflow-y: auto;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.modal-backdrop.open { opacity: 1; visibility: visible; transition-delay: 0s; }

.search-modal-box {
  width: 100%;
  max-width: 38rem;
  overflow: hidden;
  background: var(--ot-bg);
  border: 1px solid var(--ot-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--ot-shadow-lg);
}
.search-modal-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-bottom: 1px solid var(--ot-line);
}
.search-modal-header svg { width: 1.125rem; height: 1.125rem; color: var(--ot-muted); flex: none; }
.search-modal-header .search-modal-input {
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 0;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ot-ink);
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
}
.search-modal-input::placeholder { color: var(--ot-muted); }
.search-modal-close { font-size: 1.5rem; line-height: 1; color: var(--ot-muted); padding: 0 var(--space-1); }
.search-modal-close:hover { color: var(--ot-ink); }
.search-modal-results { max-height: 60vh; overflow-y: auto; padding: var(--space-2); }
.search-modal__hint,
.search-modal-results > div { padding: var(--space-3); color: var(--ot-muted); font-size: var(--step--1); }
.search-result-item {
  display: block;
  padding: var(--space-3);
  border-radius: var(--radius);
  color: var(--ot-text);
  text-decoration: none;
}
.search-result-item:hover { background: var(--ot-surface); }
.search-result-title { font-weight: 600; color: var(--ot-ink); }
.search-result-crumb { font-size: var(--step--2); color: var(--ot-muted); }

/* 5. Sayfa başlığı bandı (index dışı): koyu zemin, ana sayfa hero'sunun karşılığı */
.page-head {
  padding-block: var(--space-7) var(--space-8);
  background: var(--hero-bg);
  color: #fff;
}
.page-head__title { max-width: 26ch; font-size: var(--step-5); color: #fff; }
.page-head__lede { margin-top: var(--space-4); max-width: 40rem; color: var(--hero-text); }
.page-head__meta { margin-top: var(--space-4); font-size: var(--step--1); color: var(--hero-muted); }
.page-head .lede { color: var(--hero-text); }
.page-head a { color: #fff; }
.page-head .facts > div { border-color: var(--hero-line); }
.page-head .facts dt { color: var(--hero-muted); }
.page-head .facts__val { color: #fff; }

.breadcrumb { display: flex; flex-wrap: wrap; font-size: var(--step--2); font-weight: 500; color: var(--hero-muted); margin-bottom: var(--space-4); }
.breadcrumb li + li::before { content: "/"; margin-inline: var(--space-2); opacity: .5; }
.breadcrumb a { color: var(--hero-text); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* 6. Gövde ızgarası: okuma kolonu + yapışkan yan sütun ------------------- */
.body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-7);
  padding-block: var(--space-8) 7rem;
}
@media (max-width: 37.5em) { .body-grid { padding-bottom: 5rem; } }
/* Kaynak sırası: önce içerik, sonra <aside>; yerleşim ızgarayla */
@media (min-width: 68.8125em) {
  .body-grid { grid-template-columns: minmax(0, 1fr) var(--side-w); column-gap: var(--col-gap); }
  .col-main { grid-column: 1; grid-row: 1; min-width: 0; }
  .col-side {
    grid-column: 2; grid-row: 1;
    position: sticky; top: calc(var(--hd-h) + var(--space-5));
    align-self: start;
    max-height: calc(100vh - var(--hd-h) - var(--space-7));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
.body-grid--single { grid-template-columns: minmax(0, 1fr); }
.body-grid--single .col-main { max-width: 52rem; }

/* Yan sütun: gezinme listesi + yüzey kutuları */
.side { display: grid; gap: 1.75rem; align-content: start; font-size: var(--step--1); }
.side__block { padding: 1.25rem; border-radius: var(--radius-md); background: var(--ot-surface); }
.side__block--toc { padding: 0; background: none; border-radius: 0; }
/* Yüzey kutusundaki künye: kutunun kendisi sınır olduğu için ilk/son çizgi yok */
.side__block .facts > div:first-child { border-top: 0; padding-top: 0; }
.side__block .facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.side__title {
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--ot-ink);
  margin-bottom: .875rem;
}
.side__block--toc .side__title { margin-bottom: var(--space-3); }
.side__text { color: var(--ot-text); }

/* Sayfa içi gezinme: ince dikey çizgi, bulunulan bölüm koyulaşır */
.toc { display: grid; border-left: 1px solid var(--ot-line); }
.toc li { display: block; }
.toc a {
  display: block;
  margin-left: -1px;
  padding: .5rem 0 .5rem 1rem;
  border-left: 2px solid transparent;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ot-text);
  text-decoration: none;
  transition: color var(--dur), border-color var(--dur);
}
.toc a:hover { color: var(--ot-link); border-left-color: var(--ot-muted); }
.toc a[aria-current] { color: var(--ot-ink); font-weight: 700; border-left-color: var(--ot-ink); }

.quick-links li { padding-block: .25rem; }
.quick-links a { color: var(--ot-ink); font-weight: 500; text-decoration: none; }
.quick-links a::before { content: "→"; margin-right: .45rem; color: var(--ot-muted); }
.quick-links a:hover { color: var(--ot-link); }

/* Dar ekran: yan sütun (sayfa içi gezinme, geri sayım, künye) içeriğin ÜSTÜNE çıkar */
@media (max-width: 68.75em) {
  .col-side { order: -1; }
  .side { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--space-5); align-items: start; }
}

/* 7. Bölüm başlıkları ---------------------------------------------------- */
.section + .section { margin-top: 5rem; }
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: baseline;
  gap: var(--space-2) var(--space-5);
}
.section__head h2 { grid-column: 1; font-size: var(--step-3); }
.section__head > .link-more { grid-column: 1; font-size: var(--step--1); }
@media (min-width: 40em) {
  .section__head { grid-template-columns: minmax(0, 1fr) auto; }
  .section__head > .link-more { grid-column: 2; justify-self: end; }
}
.section__title--caps { font-size: var(--step-3); }
.section__lede { margin-top: .375rem; font-size: var(--step--1); color: var(--ot-muted); grid-column: 1 / -1; }
.section__body { margin-top: var(--space-5); }
.section__foot { margin-top: var(--space-5); }
.section--tail { padding-top: var(--space-5); border-top: 1px solid var(--ot-line); }

/* 8. Önemli tarihler tablosu (eski index; deneme sayfaları) -------------- */
.dates-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.dates-table th, .dates-table td { padding: var(--space-3); text-align: left; vertical-align: top; border-bottom: 1px solid var(--ot-line); }
.dates-table th:first-child, .dates-table td:first-child { padding-left: 0; }
.dates-table th:last-child, .dates-table td:last-child { padding-right: 0; }
.dates-table thead th { font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ot-muted); }
.dates-table tbody th { font-weight: 400; }
.dates-table__name { display: block; font-weight: 600; color: var(--ot-ink); }
.dates-table__desc { display: block; margin-top: .2rem; font-size: var(--step--2); color: var(--ot-muted); }
.dates-table__date { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ot-ink); }
.dates-table__status { color: var(--ot-muted); }
.dates-table__status--active { color: var(--ot-open); font-weight: 600; }
.dates-table__cell-label { display: none; }

/* 9. Konular ve kulvarlar (ana sayfa + yazarlar): gri kutu + eş başkanlar kartı */
/* Kulvar dizini: yalnız kenar çubuğu altta kaldığında gösterilir */
.kv-index { display: none; margin-bottom: 1rem; }
.kv-index ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.kv-index a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .375rem .375rem .75rem;
  border: 1px solid var(--ot-line); border-radius: 999px; background: var(--ot-bg); text-decoration: none;
  font-size: .875rem; font-weight: 600; color: var(--ot-ink); transition: border-color var(--dur);
}
.kv-index a:hover { border-color: var(--ot-ink); }
.kv-index a > span:last-child { min-width: 1.75rem; padding: .0625rem .4rem; border-radius: 999px; background: var(--ot-surface); color: var(--ot-muted); font-size: .75rem; text-align: center; font-variant-numeric: tabular-nums; }

.kv-list { display: grid; gap: 1rem; }
/* Gri zemin, sağdaki eş başkanlar kartının tam ortasında biter */
.kv-track { --chairs-w: 15rem; position: relative; isolation: isolate; padding: 2rem 0 2rem 2.25rem; }
.kv-track::before {
  content: ""; position: absolute; inset: 0 calc(var(--chairs-w) / 2) 0 0; z-index: -1;
  background: var(--ot-gray); border-radius: var(--radius-lg);
}
.kv-body {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--chairs-w); gap: 1rem 2.5rem; align-items: start;
  grid-template-areas: "head chairs" "topics chairs";
  grid-template-rows: auto 1fr;
}
.kv-head { grid-area: head; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; }
.kv-name { margin: 0; font-size: 1.1875rem; font-weight: 700; line-height: 1.3; color: var(--ot-ink); }
.kv-count { font-size: var(--step--2); font-weight: 600; color: var(--ot-muted); font-variant-numeric: tabular-nums; }

.kv-chairs { grid-area: chairs; background: var(--ot-bg); border: 1px solid var(--ot-line); border-radius: var(--radius-md); padding: 1rem 1.125rem 1.125rem; box-shadow: var(--ot-shadow); }
.kv-label { margin: 0 0 .625rem; font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ot-muted); }
.kv-people { display: grid; gap: 1.25rem; }
.kv-person { display: block; font-size: var(--step--1); font-weight: 600; line-height: 1.35; color: var(--ot-ink); }
.kv-org { display: block; font-size: var(--step--2); line-height: 1.4; color: var(--ot-muted); }

/* Konular yukarıdan aşağı iki sütun */
.kv-topics { grid-area: topics; columns: 2; column-gap: 2.5rem; }
.kv-topics li {
  position: relative; break-inside: avoid; padding: .3125rem 0 .3125rem 1rem;
  font-size: var(--step--1); line-height: 1.4; color: var(--ot-text);
}
.kv-topics li::before {
  content: ""; position: absolute; left: 0; top: calc(.3125rem + .7em - 2.5px);
  width: 5px; height: 5px; border-radius: 1px; background: var(--ot-line-2);
}
.kv-foot { padding-top: 1.75rem; display: flex; justify-content: center; }
.kv-foot .btn svg { width: 1rem; height: 1rem; }

@media (max-width: 53.75em) {
  .kv-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "chairs" "topics"; grid-template-rows: auto; }
  .kv-track { padding: 1.75rem 1.5rem; }
  .kv-track::before { inset: 0; }
  .kv-people { grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1.25rem 1.5rem; }
}
@media (max-width: 35em) {
  .kv-track { padding: 1.5rem 1.125rem; }
  .kv-track::before { border-radius: 10px; }
  .kv-topics { columns: 1; }
}
@media (max-width: 68.75em) { .kv-index { display: block; } }
@media print {
  .kv-index { display: none !important; }
  .kv-track::before { background: none; border: 1px solid #999; }
  .kv-chairs { box-shadow: none; }
  .kv-track { break-inside: avoid; }
}

/* 9.1 Düzenleme kurulu (ana sayfa + CFP): CFP belgesinin alt kısmı, dört sütun.
   Görev kalın, altında unvanlı isim, altında gri kurum; sütun sırası belgeyle aynı. */
.dk-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.75rem;
  padding-block: 1.75rem; border-block: 1px solid var(--ot-line);
}
.dk-col { display: grid; gap: 1.75rem; align-content: start; }
.dk-role { margin: 0 0 .625rem; font-size: var(--step--1); font-weight: 700; line-height: 1.35; color: var(--ot-ink); text-wrap: balance; }
.dk-people { display: grid; gap: .75rem; }
.dk-person { display: block; font-size: var(--step--1); font-weight: 500; line-height: 1.35; color: var(--ot-text); }
.dk-org { display: block; margin-top: .125rem; font-size: var(--step--2); line-height: 1.4; color: var(--ot-muted); }
@media (max-width: 80em) { .dk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 35em) {
  .dk-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  /* Ana sayfa + CFP (yazarlar), tek sütun: sütun sarmalayıcıları kaldırılır, Teknik Program Komitesi
     Başkanları Kurultay Başkanlarının hemen altına alınır; geniş ekranda dört sütun düzeni değişmez. */
  .dk-col { display: contents; }
  .dk-col:nth-child(1) > .dk-group:first-child { order: -2; }
  .dk-col:nth-child(2) > .dk-group:first-child { order: -1; }
}
@media print { .dk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 10. Bilgi bloğu (TBA / henüz kesinleşmedi) ------------------------------ */
.notice {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--ot-surface);
  max-width: var(--measure);
}
.notice__title { font-weight: 700; color: var(--ot-ink); }
.notice__text { margin-top: var(--space-2); font-size: var(--step--1); color: var(--ot-text); }
.notice .link-more { margin-top: var(--space-3); font-size: var(--step--1); }
.notice--tba { background: none; border: 1px dashed var(--ot-line-2); }
.notice--tba .notice__title { color: var(--ot-muted); font-weight: 600; }

/* 11. Eski index bileşenleri (deneme sayfaları) -------------------------- */
.news { display: grid; gap: var(--space-4); }
.news__item { padding: var(--space-5); border: 1px solid var(--ot-line); border-radius: 10px; }
.news__tag { font-size: .75rem; font-weight: 700; letter-spacing: .07em; color: var(--ot-muted); }
.news__title a { color: var(--ot-ink); text-decoration: none; }
.news__desc { margin-top: var(--space-2); font-size: var(--step--1); }
.sponsors { display: grid; border-bottom: 1px solid var(--ot-line); }
.sponsors__row { display: grid; gap: var(--space-2) var(--space-5); padding-block: var(--space-4); border-top: 1px solid var(--ot-line); }
.sponsors__row dt { font-size: .75rem; font-weight: 700; letter-spacing: .07em; color: var(--ot-muted); }
.sponsors__logo { height: 3rem; width: auto; }
.sponsors__name { font-weight: 600; color: var(--ot-ink); }
.sponsors__pending { margin-top: var(--space-4); font-size: var(--step--1); }
@media (min-width: 48em) { .sponsors__row { grid-template-columns: 15rem minmax(0, 1fr); align-items: center; } }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.countdown__unit { display: flex; flex-direction: column; gap: .25rem; }
.countdown__num { font-size: 1.75rem; font-weight: 700; line-height: 1; color: var(--ot-ink); font-variant-numeric: tabular-nums; }
.countdown__label { font-size: .6875rem; font-weight: 600; letter-spacing: .08em; color: var(--ot-muted); }
.countdown__note { margin-top: var(--space-4); padding-top: .875rem; border-top: 1px solid var(--ot-line); font-size: .875rem; color: var(--ot-muted); }

/* 12. Site geneli bileşenler --------------------------------------------- */

/* 12.1 Düğmeler: 6px köşe, 1.5px çerçeve; birincil dolu */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .5rem 1rem;
  border: 1.5px solid var(--ot-ink);
  border-radius: var(--radius);
  font: 600 var(--step--1)/1.2 var(--ot-font);
  color: var(--ot-ink);
  background: transparent;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--dur), color var(--dur), border-color var(--dur);
}
.btn:hover { background: var(--ot-ink); color: var(--ot-bg); }
.btn--primary { background: var(--ot-ink); color: var(--ot-bg); }
.btn--primary:hover { background: var(--ot-accent); border-color: var(--ot-accent); color: var(--ot-bg); }
.btn--small { min-height: 2.375rem; padding: .375rem .875rem; font-size: .875rem; }
.btn--block { display: flex; width: 100%; }
.btn svg { width: 1.125rem; height: 1.125rem; flex: none; }
.btn--small svg { width: 1rem; height: 1rem; }
.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* 12.2 İndirme düğmeleri (CFP PDF vb.): düğme + dosya üst bilgisi */
.download-list { display: grid; gap: var(--space-3); max-width: var(--measure); }
.btn--download { justify-content: flex-start; text-align: left; gap: var(--space-3); }
.btn--download .btn__meta { font-weight: 500; opacity: .7; margin-left: auto; white-space: nowrap; }

/* 12.3 Formlar */
.form { max-width: var(--measure); }
.form-row + .form-row { margin-top: var(--space-4); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
@media (min-width: 40em) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-grid .form-row + .form-row { margin-top: 0; }
label { display: block; font-weight: 600; font-size: var(--step--2); color: var(--ot-ink); margin-bottom: .375rem; }
.form-required { color: var(--ot-error); }
.form-help { margin-top: .375rem; font-size: var(--step--2); color: var(--ot-muted); }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 2.75rem;
  font: inherit;
  color: var(--ot-ink);
  padding: .5rem .75rem;
  background: var(--ot-bg);
  border: 1px solid var(--ot-line-2);
  border-radius: var(--radius);
  transition: border-color var(--dur), box-shadow var(--dur);
}
input::placeholder, textarea::placeholder { color: var(--ot-muted); }
input:hover, select:hover, textarea:hover { border-color: var(--ot-muted); }
input:focus,
select:focus,
textarea:focus { outline: 0; border-color: var(--ot-accent); box-shadow: 0 0 0 3px var(--ot-accent-soft); }
textarea { min-height: 8rem; resize: vertical; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ot-accent); width: 1.05rem; height: 1.05rem; }
.form-check { display: flex; gap: var(--space-2); align-items: flex-start; font-weight: 400; font-size: var(--step--1); color: var(--ot-text); }
.form-check input { margin: .2rem 0 0; flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--ot-line); }

/* Arama alanı (arşiv) */
.search-field { max-width: 32rem; }

/* 12.4 Genel tablo */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; position: relative; }
.table-wrap--hint { border-right: 1px solid var(--ot-line-2); }
.table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.table th, .table td { padding: var(--space-3); text-align: left; vertical-align: top; border-bottom: 1px solid var(--ot-line); }
.table th:first-child, .table td:first-child { padding-left: 0; }
.table th:last-child, .table td:last-child { padding-right: 0; }
.table thead th { font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ot-muted); border-bottom-color: var(--ot-line-2); vertical-align: bottom; }
.table tbody th { font-weight: 600; color: var(--ot-ink); }
.table td.num, .table th.num, .table__num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table caption { text-align: left; caption-side: bottom; padding-top: var(--space-2); font-size: var(--step--2); color: var(--ot-muted); }
.table--zebra tbody tr:nth-child(even) > * { background: var(--ot-gray); print-color-adjust: exact; -webkit-print-color-adjust: exact; }
.table--zebra th:first-child, .table--zebra td:first-child { padding-left: var(--space-3); }
.table--zebra th:last-child, .table--zebra td:last-child { padding-right: var(--space-3); }
.table--compact th, .table--compact td { padding-block: var(--space-2); }
.table__muted { color: var(--ot-muted); }
.table__note { margin-top: var(--space-3); font-size: var(--step--2); color: var(--ot-muted); }

/* Arşiv tablosu (main.js: .archive-table tbody tr filtrelenir) */
.archive-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.archive-table th, .archive-table td { padding: var(--space-3); text-align: left; vertical-align: top; border-bottom: 1px solid var(--ot-line); }
.archive-table thead th { font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ot-muted); border-bottom-color: var(--ot-line-2); white-space: nowrap; }
.archive-table tbody tr:nth-child(even) > * { background: var(--ot-gray); }
.archive-year, .archive-table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.archive-table tbody th { font-weight: 600; color: var(--ot-ink); }
.archive-table__host { font-weight: 600; color: var(--ot-ink); }
.archive-table__note { font-size: var(--step--2); color: var(--ot-muted); }
.archive-empty { padding-block: var(--space-5); color: var(--ot-muted); }

/* Fiyat tablosu */
.price-table th.num, .price-table td.num { font-variant-numeric: tabular-nums; }
.price-table .price-table__amount { font-weight: 700; color: var(--ot-ink); white-space: nowrap; }
.price-table .price-table__tier { font-weight: 600; color: var(--ot-ink); }
.price-table .price-table__desc { display: block; font-size: var(--step--2); color: var(--ot-muted); font-weight: 400; }

/* Durum çipi */
.status,
.status-badge {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .1875rem .625rem;
  border: 1px solid var(--ot-line); border-radius: 999px;
  font-size: var(--step--2); font-weight: 600; line-height: 1.3; white-space: nowrap;
  color: var(--ot-muted);
}
.status--active { border-color: transparent; background: var(--ot-open-soft); color: var(--ot-open); }
.status--event, .status--done { border-color: var(--ot-ink); color: var(--ot-ink); }

/* 12.5 SSS akordeon: <details> */
.faq { border-top: 1px solid var(--ot-line); max-width: var(--measure); }
.faq__item { border-bottom: 1px solid var(--ot-line); }
.faq__item > summary {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  font-weight: 600;
  color: var(--ot-ink);
  cursor: pointer;
  list-style: none;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after { content: "+"; margin-left: auto; flex: none; width: 1.25rem; text-align: center; font-weight: 500; color: var(--ot-muted); }
.faq__item[open] > summary::after { content: "−"; }
.faq__item > summary:hover { color: var(--ot-link); }
.faq__body { padding: 0 0 var(--space-4); color: var(--ot-text); font-size: var(--step--1); }
.faq__body > * + * { margin-top: var(--space-3); }

/* 12.6 Filtre sekmeleri (program) */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; padding-bottom: var(--space-3); border-bottom: 1px solid var(--ot-line); }
.filter-bar__label { font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ot-muted); margin-right: var(--space-2); }
.filter-btn {
  padding: .3125rem .75rem;
  border: 1px solid var(--ot-line);
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ot-ink);
}
.filter-btn:hover { border-color: var(--ot-ink); }
.filter-btn.active { background: var(--ot-ink); border-color: var(--ot-ink); color: var(--ot-bg); }

/* Oturum satırı (program) */
.session-list { border-top: 1px solid var(--ot-line); }
.session-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-1) var(--space-5);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--ot-line);
}
.session-card__time { font-variant-numeric: tabular-nums; color: var(--ot-muted); white-space: nowrap; font-size: var(--step--1); }
.session-card__title { font-weight: 600; color: var(--ot-ink); }
.session-card__meta { font-size: var(--step--2); color: var(--ot-muted); }
@media (min-width: 40em) {
  .session-card { grid-template-columns: 8rem minmax(0, 1fr); }
  .session-card__time { grid-row: 1 / span 3; }
}

/* 12.7 Komite kartı: tıklanınca biyografi modalı (main.js: button.committee-card[data-bio]) */
.committee-section-title { margin-bottom: var(--space-4); }
.committee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: var(--space-4); }
.committee-card {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: var(--space-3);
  align-items: start;
  width: 100%;
  padding: var(--space-4);
  text-align: left;
  border: 1px solid var(--ot-line);
  border-radius: 10px;
  background: var(--ot-bg);
  transition: border-color var(--dur), box-shadow var(--dur);
}
button.committee-card:hover { border-color: var(--ot-line-2); box-shadow: var(--ot-shadow); }
button.committee-card:hover .committee-name { text-decoration: underline; text-underline-offset: 3px; }
.committee-avatar-wrap img,
.committee-card > img { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; background: var(--ot-surface); }
.committee-info { min-width: 0; }
.committee-role-badge { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ot-muted); }
.committee-name { display: block; font-weight: 700; color: var(--ot-ink); }
.committee-affiliation { display: block; margin-top: .125rem; font-size: var(--step--2); color: var(--ot-muted); }
.committee-card.pending { border-style: dashed; border-color: var(--ot-line-2); }
.committee-card.pending .committee-name { color: var(--ot-muted); }

/* Biyografi modalı (main.js: #bioModal.open, .bio-modal-close) */
.bio-modal-box {
  position: relative;
  width: 100%;
  max-width: 40rem;
  padding: var(--space-6);
  background: var(--ot-bg);
  border: 1px solid var(--ot-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--ot-shadow-lg);
}
.bio-modal-close { position: absolute; top: var(--space-3); right: var(--space-3); width: 2.25rem; height: 2.25rem; border-radius: var(--radius); font-size: 1.5rem; line-height: 1; color: var(--ot-muted); }
.bio-modal-close:hover { color: var(--ot-ink); background: var(--ot-surface); }
.bio-modal-head { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--space-4); align-items: center; padding-right: var(--space-6); }
.bio-modal-head img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; background: var(--ot-surface); }
.bio-modal-role { font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ot-muted); }
.bio-modal-name { font-size: var(--step-2); margin-top: .125rem; }
.bio-modal-aff { font-size: var(--step--1); color: var(--ot-text); margin-top: .125rem; }
.bio-modal-text { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--ot-line); color: var(--ot-text); }
.bio-modal-note { margin-top: var(--space-4); font-size: var(--step--2); color: var(--ot-muted); }

/* 12.8 Harita kabı (Leaflet) */
/* Leaflet katmanları 400–1000 z-index kullanır; kap kendi yığın bağlamını kurar,
   yoksa harita yapışkan başlığın (.hd, z-index 50) üstüne çıkar. */
.map-frame {
  position: relative; z-index: 0; isolation: isolate;
  height: 22rem;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--ot-line);
  border-radius: var(--radius-md);
  background: var(--ot-surface);
}
.map-frame--tall { height: 24rem; }
.map-caption { margin-top: var(--space-2); font-size: var(--step--2); color: var(--ot-muted); }
.leaflet-container { font-family: var(--ot-font); font-size: var(--step--2); }
/* Altlık harita griye çevrilir; işaretçiler kendi renginde kalır */
.map-frame .leaflet-tile-pane { filter: grayscale(1) contrast(.92) brightness(1.06); }
@media (prefers-contrast: more) {
  .map-frame .leaflet-tile-pane { filter: grayscale(1) contrast(1.05); }
}
.leaflet-popup-content-wrapper { border-radius: var(--radius-md); box-shadow: var(--ot-shadow); }

/* Otel / adres listesi */
.venue-list { border-top: 1px solid var(--ot-line); }
.venue-list > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-1) var(--space-5); padding-block: var(--space-4); border-bottom: 1px solid var(--ot-line); }
.venue-list dt { font-weight: 600; color: var(--ot-ink); }
.venue-list dd { font-size: var(--step--1); color: var(--ot-text); }
@media (min-width: 40em) { .venue-list > div { grid-template-columns: 16rem minmax(0, 1fr); } }

/* 12.9 KVKK / uzun hukuki metin */
.legal { max-width: var(--measure); counter-reset: legal; }
.legal > h2 { counter-increment: legal; margin-top: var(--space-7); font-size: var(--step-1); }
.legal > h2::before { content: counter(legal) ". "; color: var(--ot-muted); }
.legal > h2 + * { margin-top: var(--space-3); }
.legal > * + * { margin-top: var(--space-4); }
.legal ul, .legal ol { padding-left: 1.4em; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li + li { margin-top: var(--space-1); }
.legal__meta { font-size: var(--step--1); color: var(--ot-muted); }

/* 12.10 404 */
.error-page { padding-block: var(--space-9); max-width: var(--measure); }
.error-page__code { font-size: clamp(3rem, 8vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--ot-line-2); font-variant-numeric: tabular-nums; }
.error-page__title { margin-top: var(--space-3); }
.error-page__links { margin-top: var(--space-5); display: grid; gap: var(--space-2); }
.error-page__links a::before { content: "→"; margin-right: .45rem; color: var(--ot-muted); }

/* 12.11 Takvime ekle satırı */
.calendar-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.calendar-actions__note { margin-top: var(--space-2); max-width: var(--measure); }

/* 13. Alt bilgi: tam genişlik, koyu zemin -------------------------------- */
.site-footer {
  padding-block: var(--space-8) calc(var(--space-5) + env(safe-area-inset-bottom, 0px));
  background: var(--ft-bg);
  color: var(--ft-text);
  font-size: var(--step--1);
  line-height: 1.55;
}
/* Alt bilgi içerikten geniş: 82rem */
.site-footer .wrap { max-width: calc(82rem + 2 * var(--gutter)); }
.site-footer a { color: var(--ft-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
  padding-bottom: var(--space-7);
}
@media (min-width: 37.5em) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; } }
@media (min-width: 62.5em) { .footer-grid { grid-template-columns: 1.35fr 1fr 1fr 1.25fr; } }

.footer-brand { display: grid; gap: 1.25rem; align-content: start; }
.footer-logos { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
/* SİU 2027 logosu: tek renkli maske, beyaz */
.footer-wordmark {
  flex: none; display: block; height: 2.5rem; aspect-ratio: 908.24 / 360.04; background: #fff;
  -webkit-mask: url("../assets/siu2027-logo.svg?v=218") center / contain no-repeat;
          mask: url("../assets/siu2027-logo.svg?v=218") center / contain no-repeat;
}
:root[lang="en"] .footer-wordmark { -webkit-mask-image: url("../assets/siu2027-logo-en.svg?v=218"); mask-image: url("../assets/siu2027-logo-en.svg?v=218"); }
.footer-logos__host { padding-left: 1.5rem; border-left: 1px solid var(--ft-line); font-size: var(--step--2); font-weight: 600; line-height: 1.3; color: var(--ft-muted); }
.footer-about { max-width: 24rem; color: var(--ft-muted); }

.footer-heading { margin-bottom: var(--space-4); font-size: var(--step--1); font-weight: 700; color: #fff; }
.footer-links { display: grid; gap: .625rem; }
.footer-contact { display: grid; gap: .875rem; }
.footer-contact p { color: var(--ft-muted); }
.footer-contact a { display: inline-flex; align-items: center; gap: var(--space-2); }
.footer-contact svg { width: 1rem; height: 1rem; flex: none; color: var(--ft-muted); }

.footer-cmt {
  max-width: none;
  padding-block: var(--space-5);
  border-top: 1px solid var(--ft-line);
  font-size: var(--step--2);
  color: var(--ft-muted);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 2rem;
  padding-top: var(--space-5);
  border-top: 1px solid var(--ft-line);
  font-size: var(--step--2);
  color: var(--ft-muted);
}
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* 14. Erişilebilirlik, hareket, baskı ------------------------------------ */
:focus-visible { outline: 3px solid var(--ot-accent); outline-offset: 2px; }
.page-head :focus-visible,
.site-footer :focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }
/* Yüksek karşıtlık kipi zemin rengini ezer: logo maskeyle sistem rengine boyanır */
@media (forced-colors: active) {
  :root[lang] .hd-brand::before {
    forced-color-adjust: none; filter: none; background: LinkText;
    -webkit-mask: url("../assets/siu2027-logo.svg?v=218") left center / auto 100% no-repeat;
            mask: url("../assets/siu2027-logo.svg?v=218") left center / auto 100% no-repeat;
  }
  :root[lang="en"] .hd-brand::before { -webkit-mask-image: url("../assets/siu2027-logo-en.svg?v=218"); mask-image: url("../assets/siu2027-logo-en.svg?v=218"); }
  @media (max-width: 21.25em) { :root[lang] .hd-brand::before { -webkit-mask-image: url("../assets/siu2027-amblem.svg?v=218"); mask-image: url("../assets/siu2027-amblem.svg?v=218"); } }
  .footer-wordmark { forced-color-adjust: none; background: CanvasText; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  html { scroll-behavior: auto; }
}

@media print {
  .hd-top, .hd-nav, .hd-toggle,
  .modal-backdrop, .site-footer, .col-side, .skip-link, .link-more, .btn, .filter-bar,
  .calendar-actions, .calendar-actions__note { display: none !important; }
  body { font-size: 10.5pt; color: #000; background: #fff; }
  .hd { position: static; box-shadow: none; border-bottom: 1px solid #000; }
  :root[lang] .hd-brand::before { filter: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .page-head { background: none; color: #000; }
  .page-head__title { color: #000; }
  .page-head { padding-block: 1rem; border-bottom: 1px solid #000; }
  .page-head .lede, .page-head__lede, .breadcrumb { color: #333; }
  .body-grid { display: block; padding-block: 1rem; }
  .section + .section { margin-top: 2rem; }
  h1 { font-size: 22pt; }
  h2 { font-size: 15pt; }
  a { color: #000; text-decoration: none; }
  .table, .archive-table { font-size: 9.5pt; }
  .table th, .table td { border-bottom: 1px solid #999; }
  .table thead { display: table-header-group; }
  tr { break-inside: avoid; }
  .faq__item > summary::after { content: none; }
  .map-frame { display: none; }
}
