/* Ankara Teknoloji Koleji — "Güneşli Ufuk" paleti (petrol/turuncu/sarı/zümrüt/mavi/mor/krem, boxed) + katman sistemi + açık/karanlık tema.
   Mobil öncelikli: taban ≤767px, @768 tablet, @1200 masaüstü. Ölçüler: ölçü planı (rem, 16px kök).
   Yüzey seviyeleri: sayfa zemini (--page) → boxed gövde (--shell) → bölüm zemini (--surface-2) → kart (--surface)
   → açılır menü/çekmece. Açık temada gölge, karanlık temada ton farkı + ince kenarlık ile ayrılır.
   Renkler yalnız token'lardan okunur; tema html[data-theme] ile seçilir (erken başlatma: layout.php <head>). */

/* Poppins (SIL OFL 1.1, public/assets/fonts/OFL-Poppins.txt). Yalnız 400/600/700; latin + latin-ext alt kümeleri.
   Türkçe: ç ö ü ı latin'de, ğ ş İ latin-ext'te; tarayıcı unicode-range ile yalnız gereken dosyayı indirir. */
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-400-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-500-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-600-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-latin-700-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Yedek yüz: swap anında satır yüksekliği/genişlik sıçramasını azaltmak için Arial, Poppins ölçülerine ayarlanır. */
@font-face { font-family: "Poppins Fallback"; src: local("Arial"); size-adjust: 112.2%; ascent-override: 93.6%; descent-override: 31.2%; line-gap-override: 8.9%; }

/* ---------- Tema token'ları: AÇIK (varsayılan) ---------- */
:root {
  color-scheme: light;
  /* "Güneşli Ufuk" paleti (temadan bağımsız). Her rengin tek görevi var:
     petrol = header/menü/footer, turuncu = Ön Başvuru ve önemli eylem, sarı = ortaokul + olumlu vurgu,
     zümrüt = lise + başarı durumu, mavi = bilgi, mor = rehberlik/okul yaşamı, krem = sayfa zemini, mürekkep = metin.
     Parlak tonlar beyaz yazıyla 4.5:1'i geçmediği için dolgularda aynı tonun koyu türevi kullanılır (ölçüldü). */
  --c-petrol: #193D52;  --c-orange: #D95836;  --c-sun: #F3BC42;   --c-emerald: #218C72;
  --c-sky: #3E8FC5;     --c-purple: #B08BC5;  --c-cream: #FBF7ED; --c-ink: #26353B;
  --fill-orange: #BF4C2C;   /* beyaz yazı 4.90:1 */
  --fill-orange-hover: #A8401F;
  --fill-emerald: #1D7D66;  /* 5.03:1 */
  --fill-sky: #3075A9;      /* 4.95:1 */
  --fill-purple: #8660A2;   /* 4.99:1 */
  --fill-sun: #F3BC42;  --on-sun: #26353B; /* sarı zeminde koyu yazı 7.30:1 */
  --brand-navy: #193D52;
  --brand-navy-2: #21506A;
  --red: var(--fill-orange);          /* birincil eylem dolgusu (eski ad korunur); üstünde beyaz yazı */
  --red-hover: var(--fill-orange-hover);
  --on-fill: #fff;         /* dolu yüzeyler üzerindeki yazı/ikon */

  /* Metin */
  --ink: #193D52;          /* başlık ve vurgulu metin */
  --text: #26353B;
  --muted: #5E6B70;        /* beyazda 5.51, kremde 5.15 */
  --link: #A8401F;         /* metin içi bağlantı: koyu turuncu 6.14 */
  --accent-text: #A8401F;  /* turuncu küçük metin/ikon */
  --hero-accent: #D95836;  /* yalnız büyük başlık vurgusu (≥24px 700): 3.89:1, büyük metin eşiği 3:1 */

  /* Yüzeyler: krem çevre → sıcak beyaz gövde → krem bölüm → beyaz kart */
  --page: #FBF7ED;
  --page-glow: #FDFBF5;
  --shell: #FFFDF9;
  --surface: #fff;
  --surface-2: #FBF7ED;
  --surface-sunk: #F4EEE0; /* devre dışı alan */
  --hover: #F6EFDF;        /* sıcak hover zemini */
  --red-soft: #FBEAE3;     /* turuncu yumuşak zemin (seçili/hover) */
  --fill-active: #193D52;  /* filtre seçili dolgu */
  --strip: #F8F3E7;        /* yerel menü şeridi zemini */

  /* Çizgiler */
  --line: #E8E0CF;
  --line-soft: rgba(25, 61, 82, .08);
  --line-strong: #C8BFAB;
  --line-hover: #A39A86;
  --edge: inset 0 1px 0 rgba(255, 255, 255, .9); /* kenar ışığı */
  --focus: #2B6F9E;
  --focus-ring: rgba(48, 117, 169, .20);

  /* Gölgeler (petrol tonlu, sıcak) */
  --shadow-soft: 0 1px 3px rgba(25, 61, 82, .05), 0 6px 18px rgba(25, 61, 82, .06);
  --shadow-card: 0 2px 8px rgba(25, 61, 82, .05), 0 12px 28px rgba(25, 61, 82, .08);
  --shadow-hover: 0 6px 16px rgba(25, 61, 82, .08), 0 18px 36px rgba(25, 61, 82, .12);
  --shadow-menu: 0 12px 28px rgba(25, 61, 82, .12), 0 28px 60px rgba(25, 61, 82, .14);
  --shadow-photo: 0 3px 8px rgba(25, 61, 82, .06), 0 12px 28px rgba(25, 61, 82, .10);
  --shadow-shell: 0 0 0 1px rgba(25, 61, 82, .06), 0 24px 64px rgba(25, 61, 82, .10);
  --shadow-header: 0 6px 18px rgba(25, 61, 82, .14);
  --shadow-cta: 0 6px 14px rgba(191, 76, 44, .28);
  --shadow-cta-hover: 0 10px 22px rgba(191, 76, 44, .34);
  --photo-ring: inset 0 0 0 1px rgba(25, 61, 82, .08), inset 0 1px 0 rgba(255, 255, 255, .35);

  /* Bileşen renkleri */
  --icon-tile: linear-gradient(180deg, #FDF2ED, #FBE7DE);
  --icon-tile-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 2px 6px rgba(191, 76, 44, .12);
  --level-o-bg: var(--fill-sun);     --level-o-fg: var(--on-sun);
  --level-l-bg: var(--fill-emerald); --level-l-fg: #fff;
  --badge-o-bg: #FCEFC8; --badge-o-fg: #6B4A00;   /* ortaokul */
  --badge-l-bg: #DCF1EA; --badge-l-fg: #145E4C;   /* lise */
  --badge-g-bg: #F1E8F7; --badge-g-fg: #623F7E;   /* genel / okul yaşamı: mor */
  --badge-i-bg: #E1EEF8; --badge-i-fg: #1F5B88;   /* bilgilendirme: mavi */
  --badge-d-bg: #FFF2CC; --badge-d-fg: #6B4E00;
  --ok-bg: #E6F5EF;   --ok-line: #8FCDB9;
  --warn-bg: #FEF6DF; --warn-line: #EFCB72;
  --err-bg: #FCECE6;  --err-line: #BF4C2C; --err-text: #A23A1C;
  --placeholder: #78857F;
  --band-1: #193D52; --band-2: #21506A;      /* CTA bandı */
  --chrome: #12303F;                          /* üst bar */
  --header-bg: #193D52;                       /* başlık + bütünleşik ana menü */
  --on-header: #fff;
  --footer-1: #193D52; --footer-2: #143344; --footer-strip: #1C4459;
  --tabbar-bg: rgba(255, 253, 249, .97);
  --backdrop: rgba(18, 48, 63, .42);

  --radius: 8px;
  --radius-card: 14px;
  --radius-control: 9px;
  --radius-panel: 18px;
  --font: Poppins, "Poppins Fallback", "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --t-fast: 160ms;
  --t: 200ms;

  /* Mobil tipografi (boyut / satır) */
  --fs-h1-home: 1.5rem;   --lh-h1-home: 1.8125rem;  /* 24/29 */
  --fs-h1: 1.5rem;        --lh-h1: 1.875rem;        /* 24/30 */
  --fs-h2: 1.25rem;       --lh-h2: 1.625rem;        /* 20/26 */
  --fs-h3: 1rem;          --lh-h3: 1.375rem;        /* 16/22 */
  --fs-body: .9375rem;    --lh-body: 1.4375rem;     /* 15/23 */
  --fs-sum: .875rem;      --lh-sum: 1.3125rem;      /* 14/21 */
  --fs-menu: .875rem;     --lh-menu: 1.25rem;       /* 14/20 */
  --fs-meta: .75rem;      --lh-meta: 1.0625rem;     /* 12/17 */
  --fs-label: .8125rem;   --lh-label: 1.1875rem;    /* 13/19 */
  --fs-input: 1rem;       --lh-input: 1.5rem;       /* 16/24 */
  /* Tekrarlanan kart/haber başlıkları ve etiketleri: bölüm başlığı (--fs-h3) değil, hızlı erişim kartı ölçeği */
  --fs-card: .875rem;     --lh-card: 1.25rem;       /* 14/20 */
  --fs-tag: .6875rem;                               /* 11 */
  --heading-track: .01em; /* uppercase başlıklarda ölçülü harf aralığı */

  --gutter: 16px;
  --header-h: 60px;
  --tabbar-h: 60px;
  --gap: 24px;
}

/* ---------- Tema token'ları: KARANLIK ----------
   Yüzeyler kademeli açılır (sayfa < gövde < bölüm < kart); siyah gölge yerine ton farkı ve ince kenar. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --on-fill: #fff;
  --ink: #EAF2F5;
  --text: #D3DEE2;
  --muted: #9DB0B8;        /* kartta 6.1 */
  --link: #FF9A73;         /* turuncu, kartta 6.6 */
  --accent-text: #FF9A73;
  --hero-accent: #FF9A73;

  /* Krem yok: koyu petrol temelli, kademeli açılan yüzeyler */
  --page: #0A1820;
  --page-glow: #0E202A;
  --shell: #0F2430;
  --surface: #17323F;
  --surface-2: #132B37;
  --surface-sunk: #0C1E27;
  --hover: #1F3F4F;
  --red-soft: rgba(217, 88, 54, .18);
  --fill-active: #2C5A73;
  --strip: #132B37;

  --line: #24485A;
  --line-soft: rgba(255, 255, 255, .08);
  --line-strong: #3A6175;
  --line-hover: #5A8295;
  --edge: inset 0 1px 0 rgba(255, 255, 255, .04);
  --focus: #7CC4FF;
  --focus-ring: rgba(124, 196, 255, .25);

  --shadow-soft: 0 1px 2px rgba(0, 0, 0, .30);
  --shadow-card: 0 2px 6px rgba(0, 0, 0, .30), 0 0 0 1px rgba(255, 255, 255, .03);
  --shadow-hover: 0 6px 18px rgba(0, 0, 0, .40), 0 0 0 1px rgba(255, 255, 255, .06);
  --shadow-menu: 0 14px 36px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
  --shadow-photo: 0 2px 8px rgba(0, 0, 0, .35);
  --shadow-shell: 0 0 0 1px rgba(255, 255, 255, .05), 0 24px 64px rgba(0, 0, 0, .45);
  --shadow-header: 0 1px 0 var(--line);
  --shadow-cta: 0 4px 12px rgba(0, 0, 0, .35);
  --shadow-cta-hover: 0 6px 16px rgba(0, 0, 0, .45);
  --photo-ring: inset 0 0 0 1px rgba(255, 255, 255, .08);

  --icon-tile: rgba(217, 88, 54, .18);
  --icon-tile-shadow: inset 0 0 0 1px rgba(255, 154, 115, .16);
  --level-o-bg: #E8AD34; --level-o-fg: #1A2A30;   /* 7.38:1 */
  --level-l-bg: var(--fill-emerald); --level-l-fg: #fff;
  --badge-o-bg: rgba(243, 188, 66, .18); --badge-o-fg: #F7CF6E;
  --badge-l-bg: rgba(63, 184, 148, .18); --badge-l-fg: #86DDC1;
  --badge-g-bg: rgba(176, 139, 197, .22); --badge-g-fg: #DCC6EA;
  --badge-i-bg: rgba(62, 143, 197, .22); --badge-i-fg: #AED5F2;
  --badge-d-bg: rgba(255, 200, 60, .16); --badge-d-fg: #FFD873;
  --ok-bg: rgba(63, 184, 148, .12);   --ok-line: rgba(63, 184, 148, .45);
  --warn-bg: rgba(243, 188, 66, .10); --warn-line: rgba(243, 188, 66, .40);
  --err-bg: rgba(217, 88, 54, .14);   --err-line: #E0704E; --err-text: #FFA585;
  --placeholder: #7E95A0;
  --band-1: #1B4257; --band-2: #21506A;
  --chrome: #08161D;
  --header-bg: #0C1F29;
  --footer-1: #0C1F29; --footer-2: #08161D; --footer-strip: #10283A;
  --tabbar-bg: rgba(15, 36, 48, .97);
  --backdrop: rgba(0, 0, 0, .55);
}

/* ---------- Sayfa / bölüm tonu ----------
   <body class="tone-*"> (bootstrap.php page_tone) ve isteğe bağlı bölüm/kart/satır sınıfı. Bileşenler yalnız bu
   değişkenleri okur: --tone (çizgi/şekil), --tone-soft (açık yüzey), --tone-ink (yüzeyde küçük metin ≥5.2:1),
   --tone-fill (ikon/numara dolgusu), --on-tone (dolgu üstü). Sarı dolguda koyu yazı; açık zeminde beyaz yazı yok. */
:root, .tone-petrol { --tone: var(--c-petrol); --tone-soft: #E8EFF3; --tone-ink: #193D52; --tone-fill: var(--c-petrol); --on-tone: #fff; }
.tone-sun { --tone: var(--c-sun); --tone-soft: #FEF4D9; --tone-ink: #765200; --tone-fill: var(--fill-sun); --on-tone: var(--on-sun); }
.tone-emerald { --tone: var(--c-emerald); --tone-soft: #E3F3EE; --tone-ink: #166A56; --tone-fill: var(--fill-emerald); --on-tone: #fff; }
.tone-sky { --tone: var(--c-sky); --tone-soft: #E6F1FA; --tone-ink: #245F8A; --tone-fill: var(--fill-sky); --on-tone: #fff; }
.tone-purple { --tone: var(--c-purple); --tone-soft: #F3ECF8; --tone-ink: #6E4D88; --tone-fill: var(--fill-purple); --on-tone: #fff; }
.tone-orange { --tone: var(--c-orange); --tone-soft: #FBEAE3; --tone-ink: #A8401F; --tone-fill: var(--fill-orange); --on-tone: #fff; }
:root[data-theme="dark"], [data-theme="dark"] .tone-petrol { --tone: #5C93B0; --tone-soft: rgba(92, 147, 176, .14); --tone-ink: #B9D3E0; --tone-fill: #2C5A73; }
[data-theme="dark"] .tone-sun { --tone: #E8AD34; --tone-soft: rgba(243, 188, 66, .13); --tone-ink: #F7CF6E; --tone-fill: #E8AD34; --on-tone: #1A2A30; }
[data-theme="dark"] .tone-emerald { --tone: #3FB894; --tone-soft: rgba(63, 184, 148, .13); --tone-ink: #86DDC1; }
[data-theme="dark"] .tone-sky { --tone: #5AA6DA; --tone-soft: rgba(62, 143, 197, .15); --tone-ink: #AED5F2; }
[data-theme="dark"] .tone-purple { --tone: #C4A3D8; --tone-soft: rgba(176, 139, 197, .15); --tone-ink: #DCC6EA; }
[data-theme="dark"] .tone-orange { --tone: #E8754F; --tone-soft: rgba(217, 88, 54, .15); --tone-ink: #FFA585; }

@media (max-width: 359px) { :root { --gutter: 12px; } }

@media (min-width: 768px) {
  :root {
    --fs-h1-home: 2.125rem; --lh-h1-home: 2.5625rem; /* 34/41 */
    --fs-h1: 1.75rem;       --lh-h1: 2.1875rem;      /* 28/35 */
    --fs-h2: 1.4375rem;     --lh-h2: 1.875rem;       /* 23/30 */
    --fs-h3: 1.125rem;      --lh-h3: 1.5625rem;      /* 18/25 */
    --fs-body: 1rem;        --lh-body: 1.5625rem;    /* 16/25 */
    --fs-sum: .9375rem;     --lh-sum: 1.4375rem;     /* 15/23 */
    --fs-label: .875rem;    --lh-label: 1.25rem;     /* 14/20 */
    --fs-card: .9375rem;    --lh-card: 1.375rem;     /* 15/22 */
    --fs-tag: .75rem;                                /* 12 */
    --gutter: 24px;
    --tabbar-h: 0px;
    --gap: 32px;
  }
}

@media (min-width: 1200px) {
  :root {
    --fs-h1-home: 2.75rem;  --lh-h1-home: 3.125rem;  /* 44/50 */
    --fs-h1: 2rem;          --lh-h1: 2.5rem;         /* 32/40 */
    --fs-h2: 1.625rem;      --lh-h2: 2.125rem;       /* 26/34 */
    --fs-h3: 1.25rem;       --lh-h3: 1.6875rem;      /* 20/27 */
    --fs-body: 1.0625rem;   --lh-body: 1.6875rem;    /* 17/27 */
    --fs-menu: .9375rem;    --lh-menu: 1.3125rem;    /* 15/21 */
    --fs-meta: .8125rem;    --lh-meta: 1.125rem;     /* 13/18 */
    --fs-input: 1.0625rem;                           /* 17/24 */
    --gutter: 40px;
    --header-h: 78px;
    --gap: 40px;
  }
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page) radial-gradient(1200px 600px at 50% -200px, var(--page-glow) 0%, var(--page) 70%) no-repeat;
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}
body.nav-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
/* Sitede hiçbir durumda altı çizili bağlantı yok. Renk burada yalnız normal durum için miras alınır;
   durum seçicileri renk taşımaz, böylece .btn-primary gibi bileşen renklerini ezmez. */
a { color: inherit; text-decoration: none; }
a:hover, a:focus, a:active, a:visited { text-decoration: none; }
/* Metin içi bağlantılar: kırmızı, yarı kalın; hover'da yumuşak zemin */
.prose a, .alert a, .check label a, .hint a {
  color: var(--link); font-weight: 600; border-radius: 4px; padding: 0 2px; margin: 0 -2px;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.prose a:hover, .alert a:hover, .check label a:hover, .hint a:hover { background: var(--red-soft); color: var(--accent-text); }

/* İçerik başlıkları BÜYÜK HARF (Poppins 700). Metin kaynakta doğal yazımda; lang="tr" ile i→İ, ı→I doğru dönüşür.
   Başlık içindeki bağlantılar başlık stilini devralır. */
h1, h2, h3, h4, .card-title, .news-title, .cta-title, .level-name, .feature-title {
  color: var(--ink); font-weight: 700; margin: 0; overflow-wrap: break-word;
  text-transform: uppercase; letter-spacing: var(--heading-track);
}
:is(h1, h2, h3, h4) a { color: inherit; font: inherit; }
p { margin: 0; }
/* Gövde paragrafları ve açıklamalar iki yana yaslı; son satır normal hizalı. Türkçe heceleme destekleyen tarayıcıda
   (lang="tr") aşırı kelime boşluğunu azaltır. Başlık, menü, buton, etiket ve metadata bu kurala girmez. */
.prose p, .prose li, .lead, .side-cta p, .cta-text p {
  hyphens: auto; -webkit-hyphens: auto; text-wrap: pretty;
}
/* Telefonda (≤767px) yaslama yok: Türkçe heceleme tarayıcıların çoğunda uygulanmadığından 320–390px sütunda
   kelime arası boşluklar aşırı açılıyor (ölçüldü). Tablet ve masaüstünde iki yana yaslı, son satır normal. */
@media (min-width: 768px) {
  .prose p, .prose li, .lead, .cta-text p { text-align: justify; text-align-last: start; }
}
/* Kart açıklamaları (~280–300px sütun): heceleme yok ("alanın-da" bölünmesi olmasın), kelimeler boşluktan kırılır.
   Hecelemesiz yaslama bu genişlikte kelime arasını 26–37px'e açtığı için (ölçüldü) kartlar sola hizalı. */
.module-body p, .features p, .highlight-text, .news-summary, .quick-desc { hyphens: none; -webkit-hyphens: none; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.utility :focus-visible, .footer :focus-visible, .cta-band :focus-visible { outline-color: #fff; }
.header-in > :focus-visible { outline-color: var(--c-sun); } /* petrol başlıkta sarı odak halkası (6.6:1) */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--brand-navy); color: #fff; padding: 12px 16px; border-radius: var(--radius-control); box-shadow: var(--shadow-menu); }
.skip:focus { top: 8px; }
main:focus { outline: none; }

.icon { width: 20px; height: 20px; flex: none; }

/* Boxed gövde: sayfa zemininden gölge/ton ile ayrılır (1920'de 1440 gövde, 1200 iç içerik) */
.shell { max-width: 90rem; margin: 0 auto; background: var(--shell); min-height: 100vh; display: flex; flex-direction: column; }
.shell > main { flex: 1; padding-bottom: 48px; }
@media (min-width: 1440px) { .shell { box-shadow: var(--shadow-shell); } }
.wrap { width: min(75rem, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Kart yüzeyi */
.panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-card); box-shadow: var(--shadow-card), var(--edge); }
.eyebrow { font-size: var(--fs-meta); line-height: var(--lh-meta); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.lead { color: var(--muted); }
.card-title { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 600; font-size: var(--fs-menu); min-height: 44px; padding: 0 10px; margin: 0 -10px; border-radius: var(--radius-control); transition: background-color var(--t-fast); }
.more .icon { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.more:hover { background: var(--red-soft); color: var(--link); }
.more:hover .icon { transform: translateX(3px); }
.empty { color: var(--muted); padding: 16px 0; }

/* Etkileşimli kart: hover'da gölge artar, en fazla 3px yükselir; klavye odağında aynı */
.lift { transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease), background-color var(--t) var(--ease); }
@media (hover: hover) {
  .lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover), var(--edge); }
}
.lift:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-hover), var(--edge); }
.lift:active { transform: translateY(0) scale(.99); box-shadow: var(--shadow-soft), var(--edge); transition-duration: 80ms; }

/* Fotoğraf sarmalayıcı: kontrollü radius, taşma kırpma, yumuşak gölge, ince kenar ışığı; yükseklik içeriğe göre büyümez */
.photo { position: relative; display: block; overflow: hidden; border-radius: var(--radius-card); box-shadow: var(--shadow-photo); background: var(--hover); isolation: isolate; }
.photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--photo-ring); pointer-events: none; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; border-radius: 0; }
.photo-link img { transition: transform var(--t) var(--ease); }
@media (hover: hover) { .photo-link:hover img { transform: scale(1.025); } }

/* Düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: var(--radius-control); border: 1px solid transparent;
  font: 600 var(--fs-menu)/var(--lh-menu) var(--font); cursor: pointer; text-align: center;
  transition: background-color var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
/* Kırmızı birincil eylem: yazı ve ikon (currentColor) her durumda beyaz */
.btn-primary, .btn-primary:link, .btn-primary:visited, .btn-primary:hover, .btn-primary:focus, .btn-primary:active { color: var(--on-fill); }
.btn-primary { background: var(--red); box-shadow: var(--shadow-cta), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-primary:hover { background: var(--red-hover); box-shadow: var(--shadow-cta-hover), inset 0 1px 0 rgba(255, 255, 255, .18); transform: translateY(-1px); }
.btn-primary:active { background: var(--red-hover); transform: translateY(1px); box-shadow: 0 2px 6px rgba(191, 76, 44, .25), inset 0 2px 4px rgba(0, 0, 0, .18); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-soft), var(--edge); }
.btn-outline:hover { border-color: var(--ink); background: var(--hover); }
.btn-outline:active { transform: translateY(1px); box-shadow: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Rozetler */
.badge { display: inline-block; font-size: var(--fs-tag); line-height: 1; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; padding: 4px 8px; border-radius: 6px; }
.badge-ortaokul { background: var(--badge-o-bg); color: var(--badge-o-fg); }
.badge-lise { background: var(--badge-l-bg); color: var(--badge-l-fg); }
.badge-genel { background: var(--badge-g-bg); color: var(--badge-g-fg); }
.badge-bilgi { background: var(--badge-i-bg); color: var(--badge-i-fg); }
.badge-demo { background: var(--badge-d-bg); color: var(--badge-d-fg); text-transform: none; letter-spacing: 0; }

/* ---------- Üst bar ve başlık ---------- */
.utility { display: none; background: var(--chrome); color: #fff; font-size: .8125rem; }
.utility-in { display: flex; align-items: center; gap: 24px; min-height: 28px; line-height: 1.125rem; }
.utility a { color: #fff; display: inline-flex; align-items: center; gap: 6px; opacity: .92; transition: opacity var(--t-fast); }
.utility a:hover { opacity: 1; color: var(--c-sun); }
.utility .icon { width: 14px; height: 14px; }
.utility-right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.quick-menu { position: relative; }
.quick-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.quick-menu summary::-webkit-details-marker { display: none; }
.quick-menu ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; list-style: none; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-card); box-shadow: var(--shadow-menu); min-width: 230px; padding: 6px; animation: menu-in var(--t) var(--ease); }
.quick-menu ul a { color: var(--ink); display: block; padding: 9px 12px; border-radius: var(--radius-control); opacity: 1; }
.quick-menu ul a:hover { background: var(--hover); color: var(--ink); }
@media (min-width: 768px) { .utility { display: block; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.header { position: relative; z-index: 20; background: var(--header-bg); color: var(--on-header); box-shadow: var(--shadow-header); }
.header-in { display: flex; align-items: center; min-height: var(--header-h); gap: 8px; }
.brand { display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px; line-height: 1; margin-right: auto; }
.brand img { height: 40px; width: auto; } /* rozetli logo ≈131×40; oran 436:133 korunur, rozet küçük ekranda da seçilir */
.footer-logo { height: 44px; width: auto; }
.brand-name { color: var(--c-orange); font-weight: 700; font-size: 1.5rem; letter-spacing: .05em; }
.brand-sub { color: var(--on-header); font-weight: 700; font-size: .5625rem; letter-spacing: .22em; margin-top: 2px; }
@media (min-width: 1200px) {
  .header-in { gap: 16px; }
  .brand img { height: 50px; } /* ≈164×50 */
  .brand-name { font-size: 1.875rem; }
  .brand-sub { font-size: .75rem; }
}

.brand, .menu-btn, .theme-btn { position: relative; z-index: 16; } /* mobil menü perdesinin üstünde kalır */
.menu-btn, .theme-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--on-header); cursor: pointer; border-radius: var(--radius-control); transition: background-color var(--t-fast); flex: none; }
.menu-btn:hover, .menu-btn[aria-expanded="true"], .theme-btn:hover { background: rgba(255, 255, 255, .14); }
.menu-btn .icon { width: 26px; height: 26px; }
.menu-btn .icon-close, .menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
html:not(.js) .menu-btn, html:not(.js) .theme-btn { display: none; }
/* Tema düğmesi: yapılacak eylemin ikonu görünür (açıkta ay → karanlığa geç, karanlıkta güneş → açığa geç) */
.theme-btn { border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); }
.theme-btn .icon { width: 20px; height: 20px; }
.theme-btn .icon-sun, [data-theme="dark"] .theme-btn .icon-moon { display: none; }
[data-theme="dark"] .theme-btn .icon-sun { display: block; }

/* Mobil/tablet: başlık altından açılan katmanlı panel + arka plan perdesi. JS yoksa menü sayfa akışında görünür. */
.nav { width: 100%; }
html:not(.js) .header-in { flex-wrap: wrap; }
.nav-backdrop { position: fixed; inset: 0; z-index: 15; background: var(--backdrop); opacity: 0; pointer-events: none; transition: opacity var(--t) var(--ease); }
.nav-backdrop.show { opacity: 1; pointer-events: auto; }
.js .nav { display: none; position: absolute; z-index: 16; left: 0; right: 0; top: 100%; background: var(--shell); border-radius: 0 0 var(--radius-panel) var(--radius-panel); box-shadow: var(--shadow-menu); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: 10px var(--gutter) calc(20px + var(--tabbar-h)); }
.js .nav.open { display: block; animation: menu-in var(--t) var(--ease); }

/* Menü şeridi: tek ortak yüzey; öğeler normalde kutusuz, hover'da hafif zemin, seçili sayfada dolgu.
   Mobilde aynı yüzey dikey liste olur (öğeler ince ayırıcıyla). Ön Başvuru kırmızı birincil eylem olarak ayrışır. */
.nav-list { list-style: none; display: grid; padding: 4px; background: var(--strip); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--edge); }
.nav-list > li + li { border-top: 1px solid var(--line-soft); }
.nav-list a {
  display: flex; align-items: center; min-height: 46px; padding: 0 12px; border-radius: var(--radius-control);
  color: var(--ink); font-weight: 600; font-size: .9375rem;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.nav-list a:hover { background: var(--hover); }
.nav-list a:active { transform: scale(.99); }
.nav-list a.active, .nav-list a.active:hover { background: var(--fill-active); color: var(--on-fill); }
.sub-toggle, .sub { display: none; }
.nav-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; margin-top: 10px; padding: 10px 10px 4px; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: var(--radius-card); }
.nav-extra-title { font-size: var(--fs-meta); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 2px 8px; }
.nav-extra ul { list-style: none; display: grid; margin-top: 2px; }
.nav-extra p:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.nav-extra ul:nth-of-type(1) { grid-column: 1; grid-row: 2; }
.nav-extra p:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.nav-extra ul:nth-of-type(2) { grid-column: 2; grid-row: 2; }
.nav-extra ul a { display: flex; align-items: center; min-height: 44px; padding: 4px 8px; border-radius: var(--radius-control); font-size: var(--fs-menu); line-height: 1.25; color: var(--ink); transition: background-color var(--t-fast), color var(--t-fast); }
.nav-extra ul a:hover { background: var(--hover); color: var(--link); }
.nav-phone { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 4px; padding: 0 8px; border-top: 1px solid var(--line-soft); color: var(--ink); font-weight: 600; }
.nav-ik { grid-row: 4; margin-top: 0; }
.nav-cta { width: 100%; margin-top: 12px; }

@media (min-width: 1200px) {
  .menu-btn, .nav-backdrop { display: none; }
  .theme-btn { order: 3; width: 40px; height: 40px; }
  .nav, .js .nav { display: flex; align-items: center; gap: 12px; position: static; width: auto; padding: 0; border: 0; box-shadow: none; max-height: none; overflow: visible; border-radius: 0; animation: none; background: none; }
  /* Petrol başlığa bütünleşik tek şerit: hafif açık zemin + ince kenar; seçili öğe dolgu + iç kenar + 600 ağırlık
     (yalnız renkle anlatılmaz). Açılır alt menü açık yüzeyde kalır. */
  .nav-list { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
  .nav-list > li { position: relative; display: flex; align-items: center; }
  .nav-list > li + li { border: 0; }
  .nav-list a { min-height: 38px; padding: 0 11px; border-radius: 9px; font-size: var(--fs-menu); line-height: var(--lh-menu); font-weight: 400; color: #E2ECF0; white-space: nowrap; }
  .nav-list a:hover { background: rgba(255, 255, 255, .10); color: #fff; }
  .nav-list a.active, .nav-list a.active:hover { font-weight: 600; background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
  .nav-list a:focus-visible, .sub-toggle:focus-visible, .nav-cta:focus-visible { outline-color: var(--c-sun); }
  /* Ortaokul / Lise: bağlantı + gerçek <button>; görsel olarak tek öğe (birleşik zemin), semantik olarak ayrı */
  .has-sub > a { padding-right: 4px; border-radius: 9px 0 0 9px; }
  .has-sub > a.active { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(255, 255, 255, .28); }
  .sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 38px; border: 0; background: none; color: #C3D4DB; cursor: pointer; border-radius: 0 9px 9px 0; transition: background-color var(--t-fast), color var(--t-fast); }
  .sub-toggle .icon { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
  .has-sub:hover > a:not(.active), .has-sub:hover > a:not(.active) + .sub-toggle,
  .has-sub.open > a:not(.active), .has-sub.open > a:not(.active) + .sub-toggle { background: rgba(255, 255, 255, .10); color: #fff; }
  .has-sub > a.active + .sub-toggle { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset -1px 0 0 rgba(255, 255, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(255, 255, 255, .28); }
  .has-sub.open .sub-toggle .icon { transform: rotate(180deg); }
  .sub { display: block; position: absolute; left: 0; top: calc(100% + 4px); z-index: 30; min-width: 270px; list-style: none; padding: 8px; margin: 0; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-card); box-shadow: var(--shadow-menu); opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t); }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover köprüsü */
  .has-sub:hover .sub, .has-sub.open .sub { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .sub-title { font-size: var(--fs-meta); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 4px; }
  .sub a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px 12px; border-radius: var(--radius-control); color: var(--ink); font-weight: 400; white-space: normal; }
  .sub a .icon { width: 18px; height: 18px; color: var(--accent-text); }
  .sub a:hover, .sub a:focus-visible { background: var(--hover); color: var(--ink); }
  .sub a[aria-current="page"] { background: var(--red-soft); color: var(--link); font-weight: 600; }
  .nav-extra { display: none; }
  .nav-cta { width: auto; min-height: 44px; margin: 0; white-space: nowrap; }
}

/* ---------- Ana sayfa ---------- */
.home { display: flex; flex-direction: column; gap: var(--gap); padding-top: 20px; }
.home-intro { order: 1; }
.home-quick { order: 2; }
.home-news { order: 3; }
.home-cta { order: 4; }
.home-modules { display: none; }

.home-intro .eyebrow { margin-bottom: 8px; }
.home-intro h1 { font-size: var(--fs-h1-home); line-height: var(--lh-h1-home); }
.home-intro .accent { display: block; color: var(--hero-accent); }
.home-intro .lead { margin-top: 8px; max-width: 34em; text-align: start; } /* 3 satırlık giriş: yaslama 25px boşluk açıyordu (ölçüldü) */

/* Yatay kademe kartı: [ikon kutusu] [başlık / mali model] [ok]. Ortaokul lacivert, lise kırmızı tonlu yüzey.
   Dar ekranda tek sütun (metin kesilmez), 480px'ten itibaren iki sütun. */
.level-cards { list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
/* Dolu renk kartı: ortaokul güneş sarısı (koyu yazı 7.3:1), lise zümrüt (beyaz yazı 5.0:1). Yazı/ikon currentColor. */
.level-card {
  --lc-bg: var(--level-o-bg); --lc-fg: var(--level-o-fg); --lc-tile: rgba(255, 255, 255, .42);
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; grid-template-rows: auto auto; column-gap: 12px; align-items: center; align-content: center;
  height: 100%; padding: 14px 14px 12px; border: 1px solid rgba(0, 0, 0, .06); border-radius: var(--radius-card);
  background: var(--lc-bg); color: var(--lc-fg); box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, .28); overflow: hidden;
}
.level-card--lise { --lc-bg: var(--level-l-bg); --lc-fg: var(--level-l-fg); --lc-tile: rgba(255, 255, 255, .16); }
.level-icon-box { grid-row: 1 / 3; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lc-tile); color: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.level-icon { width: 24px; height: 24px; }
.level-name { grid-column: 2; color: inherit; font-weight: 600; font-size: var(--fs-card); line-height: var(--lh-card); align-self: end; }
.level-fee { grid-column: 2; color: inherit; font-size: var(--fs-sum); line-height: var(--lh-sum); align-self: start; }
.level-arrow { grid-column: 3; grid-row: 1 / 3; width: 18px; height: 18px; color: inherit; transition: transform var(--t) var(--ease); }
@media (min-width: 480px) { .level-cards { grid-template-columns: 1fr 1fr; } }
@media (hover: hover) { .level-card:hover .level-arrow { transform: translateX(3px); } }
.level-card:focus-visible .level-arrow { transform: translateX(3px); }

/* Haberler paneli */
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-news { padding: 6px 12px 8px; }
.home-news .panel-head { padding: 6px 4px 0; }
/* Ana sayfa haber paneli: sakin tipografi. Başlık 500, etiket 500, tarih/özet 400; özet en çok iki satır (detayda tam metin). */
.home-news .panel-head .eyebrow { font-weight: 600; }
.home-news .more { font-weight: 500; font-size: .8125rem; white-space: nowrap; flex: none; }
.home-news .badge { font-weight: 500; }
.home-news .news-meta { font-size: var(--fs-tag); }
.home-news .news-title { font-weight: 500; font-size: .875rem; line-height: 1.4; }
.home-news .news-summary { font-size: .8125rem; line-height: 1.5; margin-top: 5px; text-align: left; overflow-wrap: break-word;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.news-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 10px; margin: 0 -4px; border-radius: 10px; border-top: 1px solid var(--line-soft); position: relative; transition: background-color var(--t-fast) var(--ease); }
.news-row:hover { background: var(--surface-2); border-top-color: transparent; }
.news-row:hover + .news-row { border-top-color: transparent; }
.panel-head + .news-row { border-top: 0; }
.news-row > div { min-width: 0; flex: 1; }
.news-thumb { width: 64px; height: 48px; object-fit: cover; object-position: 50% 30%; border-radius: 8px; flex: none; box-shadow: var(--shadow-soft), var(--photo-ring); background: var(--hover); }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .75rem; line-height: 1.0625rem; color: var(--muted); }
.news-title { font-weight: 600; font-size: var(--fs-card); line-height: var(--lh-card); margin-top: 4px; }
.news-title a { transition: color var(--t-fast); }
.news-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* tüm satır tıklanabilir */
.news-row:hover .news-title a { color: var(--accent-text); }
.news-summary { color: var(--muted); font-size: var(--fs-sum); line-height: var(--lh-sum); margin-top: 4px; }

/* Hızlı erişim: bölüm zemini üstünde kompakt, dokunulabilir kartlar */
.home-quick { padding: 14px 14px 16px; background: var(--surface-2); border-radius: var(--radius-panel); border: 1px solid var(--line-soft); box-shadow: var(--edge); }
.home-quick h2 { margin-bottom: 12px; }
.quick { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 359px) { .quick { grid-template-columns: 1fr; } } /* Poppins geniş; 320'de iki sütun sığmaz, yazı küçültülmez */
.quick a { display: flex; align-items: center; gap: 10px; min-height: 56px; height: 100%; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: var(--radius-card); background: var(--q-bg, var(--surface)); box-shadow: var(--shadow-soft), var(--edge); color: var(--q-fg, var(--ink)); }
/* Renk görevi (content/site.php quick[4]): bursluluk turuncu, eğitim alanı mavi, rehberlik mor, ulaşım sarı.
   Dolgular koyu türev: beyaz yazı ≥4.9:1; sarıda koyu yazı 7.3:1. Başlık ölçüsü (ölçü referansı) değişmez. */
.quick--orange { --q-bg: var(--fill-orange); --q-fg: #fff; --q-tile: rgba(255, 255, 255, .18); }
.quick--sky { --q-bg: var(--fill-sky); --q-fg: #fff; --q-tile: rgba(255, 255, 255, .18); }
.quick--purple { --q-bg: var(--fill-purple); --q-fg: #fff; --q-tile: rgba(255, 255, 255, .18); }
.quick--sun { --q-bg: var(--level-o-bg); --q-fg: var(--level-o-fg); --q-tile: rgba(255, 255, 255, .45); }
.quick-icon { color: var(--q-fg, var(--accent-text)); display: inline-flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--q-tile, var(--icon-tile)); box-shadow: var(--icon-tile-shadow); }
[class*="quick--"] .quick-icon { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.quick-icon .icon { width: 20px; height: 20px; }
.quick-text { flex: 1; min-width: 0; font-size: var(--fs-menu); line-height: var(--lh-menu); }
.quick-text strong { display: block; font-weight: 600; }
.quick-desc { display: none; }
.quick-chev { width: 16px; height: 16px; color: var(--q-fg, var(--muted)); transition: transform var(--t-fast) var(--ease), color var(--t-fast); }
@media (hover: hover) { .quick a:hover .quick-chev { transform: translateX(3px); color: var(--q-fg, var(--accent-text)); } }

/* Modül görseli ~150–160px; içerik uzasa da büyümez */
.module-photo { height: 156px; }
.module .card-title { font-weight: 600; font-size: var(--fs-card); line-height: var(--lh-card); }
/* Kademe tanıtım kartı: üstte kademe rengi şerit (ortaokul sarı, lise zümrüt); bağlantı hap biçiminde */
.module--ortaokul { box-shadow: inset 0 4px 0 var(--level-o-bg), var(--shadow-card); }
.module--lise { box-shadow: inset 0 4px 0 var(--level-l-bg), var(--shadow-card); }
.module-body .more { font-size: .875rem; margin: 8px 0 0; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; }
.module-body .more:hover { border-color: var(--accent-text); }

@media (min-width: 768px) {
  .home { padding-top: 28px; }
  .home-modules { display: grid; order: 3; grid-template-columns: 1fr 1fr; gap: 24px; }
  .home-news { order: 2; padding: 10px 16px 12px; }
  .home-news .panel-head { padding: 6px 8px 0; }
  .home-quick { order: 4; padding: 18px 20px 20px; }
  .home-cta { order: 5; }
  .news-thumb { width: 96px; height: 72px; }
  .home-news .news-title { font-size: .9375rem; }
  .home-news .more { font-size: .875rem; }
  .module { display: flex; flex-direction: column; overflow: hidden; }
  .module-photo { margin: 12px 12px 0; border-radius: 10px; }
  .module-body { padding: 14px 20px 8px; }
  .module-body p { color: var(--muted); font-size: var(--fs-sum); line-height: var(--lh-sum); margin-top: 6px; }
  .quick { gap: 14px; }
  .quick-desc { display: block; color: var(--q-fg, var(--muted)); font-size: var(--fs-sum); line-height: var(--lh-sum); margin-top: 2px; font-weight: 400; }
  .quick-icon { width: 46px; height: 46px; border-radius: 12px; }
  .quick-icon .icon { width: 22px; height: 22px; }
  .quick a { padding: 14px 16px; gap: 14px; }
}

@media (min-width: 1200px) {
  .home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 32px; padding-top: 32px; }
  .home-intro, .home-news, .home-modules, .home-quick, .home-cta { order: 0; }
  .home-intro { padding-top: 12px; }
  .home-intro .lead { margin-top: 14px; font-size: 1.1875rem; line-height: 1.75rem; }
  .level-cards { gap: 16px; margin-top: 24px; }
  .level-card { grid-template-columns: 48px minmax(0, 1fr) 18px; column-gap: 14px; padding: 14px 16px 12px; min-height: 88px; }
  .level-icon-box { width: 48px; height: 48px; border-radius: 13px; }
  .level-icon { width: 26px; height: 26px; }
  .home-modules, .home-quick, .home-cta { grid-column: 1 / -1; }
  .module { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: center; padding: 16px; gap: 8px; }
  .module-photo { width: 240px; margin: 0; }
  .module-body { padding: 4px 8px 4px 16px; }
  .home-quick { padding: 20px 24px 24px; }
  .quick { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .quick a { padding: 14px 16px; }
  .quick-chev { display: none; }
}

/* CTA bandı: içerikten ayrılan güçlü vurgu yüzeyi (lacivert zemin, beyaz metin, kırmızı buton) */
.cta-band { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; color: #fff; background: linear-gradient(135deg, var(--band-1) 0%, var(--band-2) 100%); border-radius: var(--radius-card); padding: 20px 18px; box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, .08); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .05); pointer-events: none; }
.cta-icon { width: 48px; height: 48px; padding: 11px; border-radius: 12px; color: #fff; background: rgba(255, 255, 255, .10); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); flex: none; }
.cta-text { flex: 1 1 220px; }
.cta-band .cta-title { font-size: var(--fs-h3); line-height: var(--lh-h3); color: #fff; }
.cta-text p { color: rgba(255, 255, 255, .78); font-size: var(--fs-sum); line-height: var(--lh-sum); margin-top: 2px; }
.cta-band .btn { flex: 1 1 100%; position: relative; }
@media (min-width: 768px) {
  .cta-band { flex-wrap: nowrap; padding: 22px 26px; }
  .cta-band .btn { flex: none; }
}

/* ---------- İç sayfa başı ve yerel menü ----------
   Breadcrumb, H1, giriş ve yerel menü aynı .wrap başlangıcını paylaşır; breadcrumb metni H1 ile aynı hizada başlar. */

.localnav { margin-top: 16px; }
.localnav--ortaokul ul { box-shadow: inset 0 3px 0 var(--level-o-bg); }
.localnav--lise ul { box-shadow: inset 0 3px 0 var(--level-l-bg); }
.localnav ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--strip); border-radius: var(--radius-card); border: 1px solid var(--line); }
.localnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 60px; padding: 6px 2px; text-align: center; color: var(--ink); font-size: var(--fs-meta); line-height: var(--lh-meta); border-radius: 10px; transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast); }
.localnav a:hover { background: var(--hover); }
.localnav a[aria-current="page"] { color: var(--tone-ink); background: var(--tone-soft); font-weight: 600; box-shadow: inset 0 0 0 1px var(--tone); } /* sayfa tonu */
.localnav .icon { width: 22px; height: 22px; }
.ln-long { display: none; }
@media (min-width: 768px) {
  .localnav ul { display: flex; width: max-content; max-width: 100%; }
  .localnav a { flex-direction: row; min-height: 44px; padding: 0 16px; font-size: var(--fs-menu); line-height: var(--lh-menu); }
  .localnav .icon, .ln-short { display: none; }
  .ln-long { display: inline; }
}

/* ---------- Kademe sayfası ---------- */
.level-page { display: flex; flex-direction: column; gap: 24px; margin-top: 20px; }
.split { display: flex; flex-direction: column; gap: 16px; }
.photo-split { order: -1; width: 100%; height: 170px; }
.fee-note, .notice { display: flex; gap: 10px; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: var(--radius-card); padding: 12px 14px; font-size: var(--fs-sum); line-height: var(--lh-sum); box-shadow: var(--edge); }
.fee-note .icon, .notice .icon { color: var(--ink); margin-top: 1px; }
.notice { background: var(--warn-bg); border-color: var(--warn-line); }
.fee-note { background: var(--tone-soft); border-color: var(--tone); } /* mali model notu kademe rengiyle: ortaokul sarı, lise zümrüt */
.fee-note .icon { color: var(--tone-ink); }
/* Kademe rengi iç sayfalarda da aynı görevde: ortaokul sarı, lise zümrüt (özellik ikonu + yerel menü şeridi) */
.level-page--ortaokul .feature-icon { background: var(--level-o-bg); color: var(--level-o-fg); box-shadow: none; }
.level-page--lise .feature-icon { background: var(--level-l-bg); color: var(--level-l-fg); box-shadow: none; }
.features { list-style: none; display: grid; gap: 12px; }
.features li { display: flex; gap: 14px; align-items: flex-start; padding: 14px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-card); box-shadow: var(--shadow-soft), var(--edge); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--icon-tile); color: var(--accent-text); box-shadow: var(--icon-tile-shadow); }
.feature-icon .icon { width: 22px; height: 22px; }
.feature-title { font-weight: 600; font-size: var(--fs-card); line-height: var(--lh-card); }
.features p { color: var(--muted); font-size: var(--fs-sum); line-height: var(--lh-sum); margin-top: 2px; }
.highlight { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: linear-gradient(var(--tone-soft), var(--tone-soft)) var(--surface); }
.highlight .feature-icon { background: var(--tone-fill); color: var(--on-tone); box-shadow: none; }
.highlight > span:nth-child(2) { flex: 1; }
.highlight .card-title { display: block; font-weight: 600; font-size: var(--fs-card); line-height: var(--lh-card); }
.highlight-text { display: block; color: var(--muted); font-size: var(--fs-sum); line-height: var(--lh-sum); margin-top: 2px; }
.link-list h2 { margin-bottom: 8px; }
.link-list ul { list-style: none; display: grid; gap: 8px; }
.link-list a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 14px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-card); box-shadow: var(--shadow-soft), var(--edge); color: var(--ink); font-weight: 600; }
.link-list a .icon:first-child { color: var(--accent-text); }
.link-list a span { flex: 1; }

@media (min-width: 768px) {
  .level-page { gap: 32px; margin-top: 32px; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
  .photo-split { order: 0; height: 200px; }
  .features { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .features li { padding: 18px; }
  .link-list { display: none; }
}
@media (min-width: 1200px) {
  .split { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
  .photo-split { height: 220px; }
}

/* ---------- Genel içerik (makale sütunu) ---------- */
.prose h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); margin: 0 0 12px; }
/* Bölüm başlığı: üstte kısa ton çizgisi; içerik 'icon' verirse çizgi yerine ton dolgulu ikon karosu */
.prose section > h2:not(.has-icon)::before { content: ""; display: block; width: 32px; height: 4px; margin-bottom: 10px; border-radius: 2px; background: var(--tone); }
.prose h2.has-icon { display: flex; align-items: center; gap: 12px; }
.sec-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: var(--tone-fill); color: var(--on-tone); }
.sec-icon .icon { width: 20px; height: 20px; }
/* Bölüm listesi: uzun metin akışını bölen açık ton kutu (hukuki/petrol sayfalarda düz liste) */
body:not(.tone-petrol) .prose section > ul:not(.info-cards), body:not(.tone-petrol) .prose section > .ed-rt > .edx-pm > ul { padding: 14px 16px 14px 2.2em; background: var(--tone-soft); border: 1px solid var(--line-soft); border-radius: 12px; }
.prose section > ul:not(.info-cards) > li:last-child, .prose section > .ed-rt > .edx-pm > ul > li:last-child { margin-bottom: 0; }
/* Adım modülü (list_style: steps): numaralı kompakt kartlar; numara ton dolgulu daire */
.prose .steps { list-style: none; counter-reset: step; display: grid; gap: 10px; margin: 4px 0 18px; padding: 0; }
.prose .steps li { counter-increment: step; display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 12px 14px; text-align: start; hyphens: none; -webkit-hyphens: none; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-card); box-shadow: var(--shadow-soft), var(--edge); }
.prose .steps li::before { content: counter(step); flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tone-fill); color: var(--on-tone); font-weight: 700; font-size: .875rem; }
@media (min-width: 768px) { .prose .steps { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } .prose .steps li { flex-direction: column; gap: 8px; } }
.prose h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); margin: 24px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 1.25em; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; padding-left: 4px; }
.prose li::marker { color: var(--tone-ink); }
.prose section { margin-bottom: 32px; scroll-margin-top: 16px; }
.prose section:last-child { margin-bottom: 0; }
.split-text.prose p:last-child { margin-bottom: 0; }
.split-text .fee-note { margin-top: 16px; }

/* Bilgi sayfası: [yan sütun: "Bu sayfada" + bilgi alma kartı] [makale]. Mobilde yan sütun çözülür:
   bölüm menüsü üstte açılır kutu, makale, ardından CTA doğal akışta. */
.content-grid { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.side { display: contents; }
.toc { order: 1; }
/* Ana içerik kalan genişliğin tamamını kullanır (sağda boş üçüncü sütun izlenimi yok); okunabilirlik
   satırları kısaltarak değil, görselli bölümleri ve kart modüllerini yan yana yerleştirerek korunur. */
.content-main { order: 2; min-width: 0; width: 100%; }
.side-cta { order: 3; }
.content-main > .notice { margin-bottom: 24px; }
.content-fig { margin: 0 0 24px; width: 100%; height: 150px; } .content-fig picture { display: contents; } @media (min-width: 701px) { .content-fig { display: none; } } /* masaüstünde aynı görsel başlık bandında */ /* sayfa üstü görsel: bant değil, ölçülü vurgu */

/* Görselli bölüm: geniş ekranda metin + görsel yan yana; görsel yüksekliği kontrollü, esnemez. */
.source-figure { margin: 4px 0 20px; }
.source-img { width: 100%; height: 180px; object-fit: cover; }
.source-figure figcaption { color: var(--muted); font-size: var(--fs-meta); line-height: var(--lh-meta); margin-top: 8px; }
.sec-media-text > p:last-child, .sec-media-text > .edx-pm > p:last-child { margin-bottom: 16px; }

/* ---------- Görsel editör blokları (Atk\Content\Blocks; _blocks.php). Yalnız izinli seçenekler: ton, hizalama, yerleşim. ---------- */
.prose li > p { margin: 0; }
.prose h4 { font-size: 1rem; line-height: 1.45; margin: 20px 0 6px; }
.prose ol:not(.steps) { padding-left: 1.4em; margin: 0 0 16px; }
.prose blockquote { margin: 0 0 16px; padding: 4px 0 4px 16px; border-left: 3px solid var(--tone); color: var(--ink); font-style: italic; }
.prose blockquote p:last-child { margin-bottom: 0; }
.sec-media-text > .edx-pm > :last-child { margin-bottom: 16px; }
.prose .ta-left { text-align: left; text-align-last: auto; } .prose .ta-center { text-align: center; text-align-last: auto; }
.prose .ta-right { text-align: right; text-align-last: auto; } .prose .ta-justify { text-align: justify; text-align-last: start; }
.blk-figure { margin: 4px 0 20px; }
.blk-figure .source-img { height: auto; max-height: 420px; object-fit: cover; }
.blk-figure.is-crop .source-img { aspect-ratio: 16 / 9; height: auto; max-height: none; object-fit: cover; }
.blk-figure.focus-top .source-img { object-position: top; } .blk-figure.focus-bottom .source-img { object-position: bottom; }
.blk-cols { display: grid; gap: 8px 28px; margin: 0 0 16px; }
.blk-cols > div > :last-child, .blk-cols > div > .edx-pm > :last-child { margin-bottom: 0; }
.blk-note { margin: 0 0 20px; }
.blk-note > div { flex: 1; min-width: 0; } .blk-note > div > :last-child, .blk-note > div > .edx-pm > :last-child { margin-bottom: 0; }
.blk-note.is-info { background: var(--tone-soft); border-color: var(--tone); }
.blk-note.is-info .icon { color: var(--tone-ink); }
.blk-btn { margin: 4px 0 20px; } .blk-btn.align-center { text-align: center; } .blk-btn.align-right { text-align: right; }
.blk-hr { border: 0; height: 1px; background: var(--line-soft); margin: 24px 0; }
.blk-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 20px; }
.blk-gallery .source-figure { margin: 0; }
.blk-gallery .source-img { aspect-ratio: 4 / 3; height: auto; }
.blk-news { padding: 4px 16px; margin: 0 0 20px; }
@media (min-width: 768px) {
  .blk-cols.r-1-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .blk-cols.r-2-1 { grid-template-columns: 2fr 1fr; } .blk-cols.r-1-2 { grid-template-columns: 1fr 2fr; }
  .blk-gallery.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .blk-figure:not(.is-wide) { max-width: 78%; }
}
.page-intro { margin-top: 24px; }
/* Yalnız yetkili düzenleyicide betikle eklenir (ziyaretçide yok) */
.edit-page-link { position: fixed; z-index: 70; left: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 10px 14px; border-radius: 10px; background: #193D52; color: #fff; font-weight: 600; font-size: .875rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.edit-page-link:focus-visible { outline: 3px solid var(--c-sun); outline-offset: 2px; }
@media (min-width: 768px) { .edit-page-link { bottom: 24px; } }

/* Kompakt kart modülü (vizyon/misyon, değerler, kademeler): ana sütun içinde, kalıcı sütun oluşturmaz. */
.prose .info-cards { list-style: none; display: grid; grid-template-columns: 1fr; gap: 12px; margin: 4px 0 18px; padding: 0; }
.prose .info-cards li { margin: 0; padding: 0; text-align: start; }
.prose .info-cards li::marker { content: none; }
.info-card { display: flex; align-items: flex-start; gap: 12px; height: 100%; padding: 14px 16px; text-align: start; overflow-wrap: normal; word-break: normal; hyphens: none; -webkit-hyphens: none; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-card); box-shadow: var(--shadow-soft), var(--edge); color: var(--text); }
.prose a.info-card { color: var(--text); font-weight: 400; padding: 14px 16px; margin: 0; }
.prose a.info-card:hover { background: var(--surface); color: var(--text); }
.info-card-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--icon-tile); color: var(--accent-text); box-shadow: var(--icon-tile-shadow); }
.info-card-icon .icon { width: 20px; height: 20px; }
.info-card-body { flex: 1; min-width: 0; }
.prose .info-card-title { font-weight: 600; font-size: var(--fs-card); line-height: var(--lh-card); margin: 0 0 4px; text-align: start; overflow-wrap: normal; }
.info-card-text { display: block; color: var(--muted); font-size: var(--fs-sum); line-height: var(--lh-sum); }
.info-card-arrow { width: 18px; height: 18px; color: var(--accent-text); align-self: center; transition: transform var(--t) var(--ease); }
@media (hover: hover) { a.info-card:hover .info-card-arrow { transform: translateX(3px); } }
/* Kademe vurguları: ortaokul lacivert, lise kırmızı tonlu yüzey (ana sayfa kartlarıyla aynı token'lar) */
/* Ton vurgulu kart (accent → tone-*): açık ton yüzey + dolu ikon karosu; koyu temada yüzeyin üstüne bindirilir */
.info-card[class*="tone-"], .prose a.info-card[class*="tone-"]:hover { background: linear-gradient(var(--tone-soft), var(--tone-soft)) var(--surface); }
.info-card[class*="tone-"] .info-card-icon { background: var(--tone-fill); color: var(--on-tone); box-shadow: none; }
@media (min-width: 560px) {
  .prose .info-cards.cols-2, .prose .info-cards.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: inset 0 3px 0 var(--tone), var(--shadow-soft), var(--edge); }
.toc summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 0 14px; cursor: pointer; list-style: none; border-radius: var(--radius-card); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary .icon { width: 18px; height: 18px; color: var(--muted); transition: transform var(--t) var(--ease); }
.toc[open] summary .icon { transform: rotate(180deg); }
.toc summary:hover { background: var(--hover); }
.toc ul { list-style: none; display: grid; gap: 2px; padding: 4px 6px 8px; border-top: 1px solid var(--line-soft); }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 6px 10px 6px 12px; border-radius: var(--radius-control); border-left: 3px solid transparent; color: var(--text); font-size: var(--fs-menu); line-height: var(--lh-menu); transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.toc a:hover { background: var(--hover); color: var(--ink); }
.toc a[aria-current="true"] { background: var(--tone-soft); border-left-color: var(--tone); color: var(--tone-ink); font-weight: 600; }

.side-cta { padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; position: relative; overflow: hidden; }
.side-cta::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--tone); }
.side-cta .feature-icon { background: var(--tone-fill); color: var(--on-tone); box-shadow: none; }
.side-cta .card-title { font-weight: 600; font-size: var(--fs-card); line-height: var(--lh-card); } /* yan kart: bölüm başlığı ölçüsü değil */
.side-cta p { color: var(--muted); font-size: var(--fs-sum); line-height: var(--lh-sum); }
.side-cta .btn { margin-top: 4px; width: 100%; padding: 10px 14px; line-height: 1.3; }

@media (min-width: 768px) {
  .content-grid { margin-top: 28px; }
  .content-fig { height: 190px; }
  .source-img { height: 200px; }
  .prose .info-cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  /* Görselli bölüm: metin solda, görsel sağda (ana sütun içinde) */
  .sec-media-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 38%); gap: 28px; align-items: start; }
  .sec-media .source-figure { margin: 6px 0 0; }
  .sec-media-body.media-left { grid-template-columns: minmax(240px, 38%) minmax(0, 1fr); } .sec-media-body.media-left > .source-figure { order: -1; }
}
@media (min-width: 1200px) {
  /* En fazla iki ana sütun: [yan sütun ~270px] [esnek ana içerik] */
  .content-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 40px; align-items: start; }
  .prose .info-cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* Dört sütunda ikon üstte: başlığa tam genişlik kalır, kelime kırılmaz */
  .prose .info-cards.cols-4 .info-card { flex-direction: column; gap: 10px; }
  /* Tek sidebar yüzeyi: bölüm menüsü + bilgi/başvuru kartı aynı krem panelde */
  .side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 10px; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: var(--radius-panel); }
  .toc summary { cursor: default; pointer-events: none; min-height: 44px; }
  .toc summary .icon { display: none; }
  .apply-grid .side-cta { position: sticky; top: 24px; }
}

/* ---------- Haberler ---------- */
.news-page { margin-top: 20px; }
.filters ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filters a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-soft), var(--edge); border-radius: 999px; color: var(--ink); font-size: var(--fs-menu); font-weight: 600; transition: background-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); }
.filters a:hover { background: var(--hover); }
.filters a:active { transform: translateY(1px); }
.filters a[aria-current="true"] { background: var(--fill-active); border-color: var(--fill-active); color: var(--on-fill); }
.news-list { max-width: 52rem; display: grid; gap: 12px; }
.news-list .news-row { margin: 0; padding: 12px; border: 1px solid var(--line-soft); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-soft), var(--edge); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
@media (hover: hover) { .news-list .news-row:hover { background: var(--surface); transform: translateY(-2px); box-shadow: var(--shadow-hover), var(--edge); } }
.news-list .news-thumb { width: 96px; height: 64px; }
@media (min-width: 768px) { .news-list .news-thumb { width: 144px; height: 96px; } .news-list .news-row { gap: 20px; padding: 16px; } }

.article-grid { display: flex; flex-direction: column; gap: 32px; margin-top: 16px; }
.article { min-width: 0; max-width: 68ch; }
.article .news-meta { margin-bottom: 14px; }
.article .photo { margin: 0 0 20px; width: 100%; height: 180px; }
.related { padding: 16px 16px; align-self: start; }
.related h2 { margin-bottom: 4px; padding: 0 4px; }
.related .news-title { font-size: var(--fs-menu); line-height: var(--lh-menu); }
@media (min-width: 768px) { .article .photo { max-width: 560px; height: 220px; } }
@media (min-width: 1200px) { .article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; margin-top: 24px; } }

/* ---------- İletişim (/iletisim, app/views/contact.php) ----------
   Rasyonel kampüs iletişim sayfasının nihai ölçüleri (tarayıcıda hesaplanan değerlerden): functional başlık, 1.1fr/0.9fr grid,
   form kartı 28px / bilgi kartı 24px iç boşluk, 18px köşe, 48px ikon karosu, altın butonlar, 600px harita.
   Yalnız .ct-* kapsamında; renkler sayfaya özel token'lar (karanlık temada ayrı karşılıklar). Font: sitenin Poppins'i. */
/* Güneşli Ufuk: metin/çizgi/yüzey sitenin token'larından (koyu tema otomatik); vurgular petrol, turuncu, sarı, gök mavisi. */
:is(.ph, .ct-main, .ct-map) {
  --ct-navy: var(--ink); --ct-text: var(--text); --ct-muted: var(--muted); --ct-muted-2: var(--muted); --ct-line: var(--line); --ct-field: var(--line-strong);
  --ct-card: var(--surface); --ct-card-2: #FFFDF9; --ct-crumb: var(--accent-text); --ct-cream: var(--surface-2);
  --ct-hero-bg: linear-gradient(115deg, #FBF7ED 0%, #FEF4D9 55%, #FBEAE3 100%);           /* krem → güneş → turuncu tonu */
  --ct-hero-fade: linear-gradient(100deg, rgba(251, 247, 237, .97), rgba(251, 247, 237, .9) 45%, rgba(251, 247, 237, .35) 78%, rgba(251, 247, 237, .1));
  --ct-cta-bg: linear-gradient(165deg, #FEF4D9 0%, #E6F1FA 100%);                        /* güneş → gök mavisi tonu */
  --ct-cta-line: rgba(25, 61, 82, .08); --ct-deco: rgba(243, 188, 66, .28); --ct-bar: linear-gradient(var(--c-sun), var(--c-orange));
  --ct-shadow-form: 0 22px 44px -32px rgba(25, 61, 82, .35);
  --ct-shadow-info: 0 10px 24px -14px rgba(25, 61, 82, .22);
  --ct-shadow-cta: 0 18px 40px -30px rgba(25, 61, 82, .4);
  --ct-btn-light: var(--surface);
}
[data-theme="dark"] :is(.ph, .ct-main, .ct-map) {
  --ct-card-2: var(--surface);
  --ct-hero-bg: linear-gradient(115deg, #0F2430 0%, #132B37 55%, #2A2A26 100%);
  --ct-hero-fade: linear-gradient(100deg, rgba(15, 36, 48, .97), rgba(15, 36, 48, .9) 45%, rgba(15, 36, 48, .45) 78%, rgba(15, 36, 48, .2));
  --ct-cta-bg: linear-gradient(165deg, rgba(243, 188, 66, .12) 0%, rgba(62, 143, 197, .12) 100%), var(--surface);
  --ct-cta-line: var(--line); --ct-deco: rgba(243, 188, 66, .16);
  --ct-shadow-form: 0 2px 6px rgba(0, 0, 0, .3); --ct-shadow-info: 0 2px 6px rgba(0, 0, 0, .3); --ct-shadow-cta: 0 2px 6px rgba(0, 0, 0, .3);
}

/* Kompakt functional başlık: masaüstünde sağda kurum görseli (soldan sağa açılan krem/mavi örtü), mobilde görsel yok */
.ph { position: relative; overflow: hidden; padding: 12px 0 14px; background: var(--ct-hero-bg); color: var(--ct-text); }
.ph picture { display: contents; }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.ph::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--ct-hero-fade); pointer-events: none; }
.ph-in { position: relative; z-index: 2; }
.ph-lead { color: var(--ct-muted); max-width: 46em; margin: 0; }
.ph-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6.4px; margin: 0 0 8px; font-size: .8rem; line-height: 1.4; font-weight: 600; color: var(--ct-muted); }
.ph-crumbs a { color: var(--ct-crumb); font-weight: 700; border-radius: 4px; }
.ph-crumbs a:hover { color: var(--ct-navy); }
.ph h1 { color: var(--ct-navy); font-size: 1.5rem; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 6.4px; }
.ph-actions { display: flex; flex-wrap: wrap; gap: 10.4px; margin-top: 10px; }

/* Butonlar: altın birincil (koyu yazı), açık ikincil, lacivert çerçeveli; tümü 44px dokunma hedefi */
.ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8.8px 15.2px; border-radius: 10px; border: 1.6px solid transparent;
  font: 700 .8rem/1.2 var(--font); letter-spacing: .02em; text-transform: uppercase; text-align: center; cursor: pointer;
  transition: background-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.ct-btn--gold, .ct-btn--gold:link, .ct-btn--gold:visited, .ct-btn--gold:hover { color: var(--on-fill); } /* birincil: Güneşli Ufuk turuncusu, beyaz yazı 4.9:1 */
.ct-btn--gold { background: var(--fill-orange); border-color: var(--fill-orange-hover); box-shadow: var(--shadow-cta); }
.ct-btn--gold:hover { background: var(--fill-orange-hover); box-shadow: var(--shadow-cta-hover); transform: translateY(-1px); }
.ct-btn--light { background: var(--ct-btn-light); color: var(--ct-navy); border: .8px solid var(--line); box-shadow: 0 6px 16px -10px rgba(25, 61, 82, .35); }
.ct-btn--light:hover, .ct-btn--outline:hover { color: var(--ct-navy); background: var(--hover); }
.ct-btn--outline { background: var(--ct-btn-light); color: var(--ct-navy); border-color: var(--ct-navy); box-shadow: 0 2px 6px rgba(25, 61, 82, .1); }
.ct-btn:active { transform: translateY(1px); }
.ct-btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Ana alan: form solda, iletişim bilgisi + danışmanlık sağda; ≤1024px tek sütun ve bilgi/danışmanlık önce */
.ct-main { padding: 32px 0 28px; color: var(--ct-text); }
.ct-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.ct-side { order: -1; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ct-form-card { min-width: 0; padding: 16px; border-radius: 18px; border: .8px solid var(--line); background: linear-gradient(var(--ct-card), var(--ct-card-2)); box-shadow: var(--ct-shadow-form); scroll-margin-top: 16px; }
.ct-card-head { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 18.4px; margin-bottom: 21.6px; border-bottom: .8px solid var(--ct-line); }
.ct-head-icon { width: 64px; height: 64px; flex: none; }
.ct-title { position: relative; padding-left: 12.8px; margin: 0 0 5.6px; color: var(--ct-navy); font-size: 1.35rem; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.ct-title::before { content: ""; position: absolute; left: 0; top: .15em; width: 3px; height: .95em; border-radius: 3px; background: var(--ct-bar); }
.ct-lead { color: var(--ct-muted); font-size: .95rem; line-height: 1.65; }

/* Form: sitenin .field yapısı (.form kart çerçevesi yok; kartı .ct-form-card verir), referans ölçüleri */
.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.ct-grid .field { margin: 0; }
.ct-grid .full { grid-column: 1 / -1; }
.ct-form .field > label, .ct-form legend { color: var(--ct-navy); font-size: .92rem; line-height: 1.65; font-weight: 700; margin-bottom: 6.4px; }
.ct-form .field input[type="text"], .ct-form .field input[type="tel"], .ct-form .field input[type="email"], .ct-form .field select, .ct-form .field textarea {
  min-height: 48px; padding: 11.2px 13.6px; border: .8px solid var(--ct-field); border-radius: 10px; background: var(--ct-card); color: var(--ct-text); font-size: 1rem; }
.ct-form .field textarea { min-height: 120px; }
.ct-pref legend { font-weight: 600; color: var(--ct-text); font-size: 1rem; margin-bottom: 7.2px; }
.ct-pref-options, .ct-channels { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ct-radio { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ct-navy); font-size: .92rem; font-weight: 700; cursor: pointer; }
.ct-radio input, .ct-form .check input { width: 18px; height: 18px; margin: 0; accent-color: var(--fill-orange); flex: none; }
.ct-consent { display: grid; gap: 4px; }
.ct-controller { color: var(--ct-muted); font-size: .9rem; line-height: 1.65; }
.ct-form .check { grid-template-columns: 18px 1fr; gap: 10.4px; margin: 0; align-items: center; }
.ct-form .check label { color: var(--ct-navy); font-weight: 600; font-size: .92rem; line-height: 1.55; padding: 10px 0; }
.ct-form .check label a { color: var(--accent-text); }
.ct-channels { grid-column: 2; gap: 0 16px; margin-top: -4px; }
.ct-channels[hidden] { display: none; }
.ct-channels .ct-radio { font-weight: 600; }
.ct-consent-hint { font-size: .84rem; margin: 2.4px 0 0; }
.ct-submit { margin-top: 20px; min-width: 160px; }

/* İletişim bilgileri kartı */
.ct-info-card { padding: 24px; background: var(--ct-card); border: .8px solid var(--ct-line); box-shadow: var(--ct-shadow-info); min-width: 0; }
.ct-info-card .ct-lead { margin-bottom: 1.15rem; }
.ct-quick { display: flex; flex-wrap: wrap; gap: 7.2px; margin: 0 0 17.6px; }
.ct-quick .ct-btn { flex: 1 1 0; min-width: 0; padding: 8px 7.2px; font-size: .78rem; white-space: normal; }
.ct-line { display: flex; gap: 13.6px; padding-bottom: 16px; margin-bottom: 17.6px; border-bottom: .8px solid var(--ct-line); }
.ct-line:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.ct-line > div { min-width: 0; color: var(--ct-navy); line-height: 1.45; }
/* İkon karosu: 48px açık yüzey içinde 28px ikon (lacivert/altın ikon iki temada da okunur) */
.ct-ico { width: 48px; height: 48px; flex: 0 0 48px; padding: 10px; border-radius: 12px; border: .8px solid rgba(25, 61, 82, .1);
  background: linear-gradient(160deg, #fff, #FBF7ED); box-shadow: inset 0 1px 0 #fff, 0 6px 12px -8px rgba(25, 61, 82, .4); }
.ct-line strong { display: block; margin-bottom: 4px; color: var(--ct-muted); font-size: .78rem; line-height: 1.45; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ct-kind { display: block; color: var(--ct-muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ct-line a { display: inline-block; padding: 3px 0; color: var(--ct-navy); overflow-wrap: anywhere; }
.ct-line a:hover { color: var(--accent-text); }

/* Danışmanlık kartı: açık kremden açık maviye, ince kenar, köşede altın kare dekor */
.ct-cta-card { position: relative; overflow: hidden; padding: 23.2px; border-radius: 18px; border: .8px solid var(--line); background: var(--ct-cta-bg); box-shadow: var(--ct-shadow-cta); }
.ct-cta-card::before { content: ""; position: absolute; right: -20px; top: -20px; width: 90px; height: 90px; border: 13.6px solid var(--ct-deco); pointer-events: none; }
.ct-cta-head { position: relative; display: flex; align-items: center; gap: 13.6px; padding-bottom: 16px; margin-bottom: 13.6px; border-bottom: .8px solid var(--ct-cta-line); }
.ct-cta-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--c-petrol); border: .8px solid rgba(243, 188, 66, .55); box-shadow: 0 6px 14px -10px rgba(25, 61, 82, .4); }
.ct-eyebrow { margin: 0 0 2px; color: var(--ct-muted-2); font-size: .7rem; line-height: 1.6; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ct-cta-card h3 { color: var(--ct-navy); font-size: 1.2rem; line-height: 1.2; font-weight: 600; letter-spacing: .01em; }
.ct-cta-card > p { position: relative; margin: 0 0 17.6px; color: var(--ct-muted-2); line-height: 1.65; }

/* Harita: sayfa açılınca doğrudan yüklenen iframe, normal akışta tam genişlik, iki temada 600px */
.ct-map { margin-top: 8px; color: var(--ct-text); }
.ct-map-frame { display: block; width: 100%; height: 600px; border: 0; border-bottom: .8px solid var(--ct-line); background: var(--ct-cream); }
.ct-map-actions { display: flex; justify-content: center; padding: 21.6px 20px 32px; }

@media (min-width: 701px) { .ph { padding: 21.6px 0 24.8px; } .ph h1 { font-size: 1.9rem; } .ph-actions { margin-top: 13.6px; } .ct-btn { padding: 11.2px 23.2px; font-size: .85rem; } .ct-quick .ct-btn { padding: 8px 7.2px; font-size: .78rem; } }
@media (min-width: 761px) { .ct-form-card { padding: 28px; } .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ct-main { padding: 32px 0 64px; } }
@media (min-width: 1025px) {
  .ph h1 { font-size: 2.3rem; }
  .ct-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
  .ct-side { order: 0; }
}

/* ---------- Form ---------- */
.apply-grid { display: flex; flex-direction: column; gap: 24px; margin-top: 20px; }
.apply-main { max-width: 40rem; min-width: 0; }
.form { padding: 18px 16px 8px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-panel); box-shadow: inset 0 4px 0 var(--tone), var(--shadow-card), var(--edge); }
@media (min-width: 768px) { .form { padding: 24px 24px 12px; } }
@media (min-width: 1200px) { .apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; margin-top: 32px; align-items: start; } }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-card); border: 1px solid var(--line-soft); background: var(--surface-2); color: var(--text); margin-bottom: 20px; font-size: var(--fs-sum); line-height: var(--lh-sum); box-shadow: var(--shadow-soft); }
.alert .icon { margin-top: 1px; }
.alert strong { display: block; color: var(--ink); }
.alert ul { padding-left: 1.2em; margin-top: 4px; }
.alert-ok { background: var(--ok-bg); border-color: var(--ok-line); }
.alert-warn { background: var(--warn-bg); border-color: var(--warn-line); }
.alert-error { background: var(--err-bg); border-color: var(--err-line); }

.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field > label, .field legend { display: block; font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 600; color: var(--ink); margin-bottom: 6px; padding: 0; }
.req { color: var(--accent-text); }
.opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-control); background: var(--surface);
  font: 400 var(--fs-input)/var(--lh-input) var(--font); color: var(--text);
  box-shadow: inset 0 1px 2px rgba(25, 26, 56, .04);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-hover); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px var(--focus-ring); }
.field input:disabled, .field select:disabled, .field textarea:disabled { background: var(--surface-sunk); color: var(--muted); cursor: not-allowed; box-shadow: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field [aria-invalid="true"] { border-color: var(--err-line); border-width: 2px; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(191, 76, 44, .18); border-color: var(--err-line); }
.field-error { color: var(--err-text); font-size: var(--fs-sum); line-height: var(--lh-sum); margin-top: 6px; font-weight: 600; }
.hint { color: var(--muted); font-size: var(--fs-sum); line-height: var(--lh-sum); margin-top: 6px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.segmented label { position: relative; display: block; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segmented span { display: flex; flex-direction: column; justify-content: center; min-height: 60px; height: 100%; padding: 8px 10px; text-align: center; border: 1px solid var(--line-strong); border-radius: var(--radius-card); font-weight: 700; color: var(--ink); background: var(--surface); box-shadow: var(--shadow-soft), var(--edge); transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast), transform var(--t-fast); }
.segmented label:hover span { border-color: var(--ink); }
.segmented label:active span { transform: scale(.99); }
.segmented small { font-weight: 400; font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--muted); margin-top: 2px; }
.segmented input:checked + span { background: var(--red); border-color: var(--red); color: var(--on-fill); box-shadow: var(--shadow-cta), inset 0 1px 0 rgba(255, 255, 255, .18); }
.segmented input:checked + span small { color: rgba(255, 255, 255, .85); }
/* Kademe seçimi kademe rengini taşır: ortaokul sarı (koyu yazı), lise zümrüt (beyaz yazı); seçili = dolgu + kalın kenar */
.seg-ortaokul input:checked + span { background: var(--level-o-bg); border-color: var(--on-sun); color: var(--level-o-fg); box-shadow: var(--shadow-soft), inset 0 0 0 1px var(--level-o-fg); }
.seg-ortaokul input:checked + span small { color: var(--level-o-fg); }
.seg-lise input:checked + span { background: var(--level-l-bg); border-color: var(--level-l-bg); box-shadow: var(--shadow-soft), inset 0 0 0 2px rgba(255, 255, 255, .5); }
.seg-lise input:checked + span small { color: #fff; } /* %85 beyaz zümrütte 4.3:1 kalıyordu */
.segmented input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); }
.check label { font-weight: 400; color: var(--text); font-size: var(--fs-sum); line-height: var(--lh-sum); margin: 0; }
.check .field-error { grid-column: 2; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Kariyer (/ik): alan kartları + numaralı adımlı İK formu + süreç paneli. Ortak .form/.field/.info-card/.steps üzerine. */
.ik-areas { margin-top: 24px; }
.ik-areas > p { color: var(--muted); }
.ik-area .info-card-body { display: flex; flex-direction: column; gap: 6px; height: 100%; }
.ik-area-list { color: var(--text); font-size: var(--fs-meta); line-height: var(--lh-meta); hyphens: none; }
.prose .ik-area .more { margin-top: auto; align-self: flex-start; font-size: .875rem; }
.ik-form-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.ik-form-head .feature-icon { background: var(--tone-fill); color: var(--on-tone); box-shadow: none; }
.ik-form-head .card-title { font-weight: 600; font-size: var(--fs-card); line-height: var(--lh-card); }
.ik-form-head .hint { margin-top: 2px; }
.ik-fieldset { margin: 0 0 8px; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line-soft); min-width: 0; }
.ik-fieldset legend { display: flex; align-items: center; gap: 10px; padding: 0 8px 0 0; margin-bottom: 14px; font-weight: 700; color: var(--ink); font-size: var(--fs-body); }
.ik-step { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tone-fill); color: var(--on-tone); font-size: .8125rem; }
.ik-grid { display: grid; gap: 0 16px; }
.ik-dep { min-height: 0; color: var(--muted); font-size: var(--fs-meta); line-height: var(--lh-meta); margin-top: 4px; }
.ik-dep:empty { display: none; }
.field.is-locked > label { color: var(--muted); }
.field input.ik-file { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px dashed var(--line-strong); border-radius: var(--radius-control); background: var(--surface-2); color: var(--text); font: inherit; font-size: var(--fs-sum); cursor: pointer; }
.field input.ik-file:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ik-file-info { margin-top: 6px; font-size: var(--fs-sum); font-weight: 600; color: var(--tone-ink); overflow-wrap: anywhere; }
.ik-consent { margin: 8px 0 16px; padding: 14px 16px; background: var(--tone-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-card); }
.ik-consent .field { margin-bottom: 8px; }
.ik-notice { margin-bottom: 12px; }
.ik-notice summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--ink); font-size: var(--fs-sum); line-height: var(--lh-sum); }
.ik-notice-body { padding: 4px 0 6px; color: var(--text); font-size: var(--fs-sum); line-height: var(--lh-sum); }
.ik-notice-body p + p { margin-top: 6px; }
.ik-process .eyebrow { margin-top: 2px; }
.prose .ik-steps { grid-template-columns: 1fr; margin: 4px 0 6px; width: 100%; }
.prose .ik-steps li { flex-direction: row; padding: 10px 12px; box-shadow: none; }
.ik-steps strong { display: block; color: var(--ink); font-size: var(--fs-sum); }
.ik-steps span { color: var(--muted); font-size: var(--fs-sum); line-height: var(--lh-sum); }
@media (min-width: 768px) { .ik-grid { grid-template-columns: 1fr 1fr; } .ik-grid .full { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.notfound { padding-bottom: 8px; }
.quick-plain { margin-top: 24px; max-width: 40rem; }

/* ---------- Alt bilgi ---------- */
.footer { background: linear-gradient(180deg, var(--footer-1) 0%, var(--footer-2) 120px); color: rgba(255, 255, 255, .86); font-size: var(--fs-sum); line-height: var(--lh-sum); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.footer-in { display: grid; gap: 18px; padding: 28px 0 24px; }
.footer a { color: #fff; border-radius: 6px; transition: background-color var(--t-fast), color var(--t-fast); }
.footer a:hover { color: var(--c-sun); }
.brand-invert .brand-name, .brand-invert .brand-sub { color: #fff; }
.footer address { margin-top: 10px; }
.footer address a { display: inline-block; padding: 12px 0; overflow-wrap: anywhere; }
/* Altbilgi menüsü: tek ortak şerit; öğeler arası 1px ayırıcı (ul zemini ayırıcı rengini, li zemini şerit rengini verir).
   Dar ekranda öğeler esneyerek düzenli satırlara sarılır, boş hücre kalmaz. */
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; overflow: hidden; }
.footer-nav li { flex: 1 1 calc(50% - 1px); background: var(--footer-strip); }
.footer-nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 0; white-space: nowrap; }
.footer-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 12px; font-size: var(--fs-meta); line-height: var(--lh-meta); }
.footer-meta a, .footer-meta span { display: inline-flex; align-items: center; min-height: 32px; }
.footer-meta a { padding: 0 8px; margin: 0 -8px; }
.footer-meta a:hover { background: rgba(255, 255, 255, .08); }
.footer-demo { color: #FFD873; }
/* Mobilde altbilgi menü şeridi yok: aynı gezinme alt çubukta (Ana Sayfa / Başvuru / İletişim) ve hamburger menüde var.
   İletişim, telif ve yasal bağlantılar kalır. */
@media (max-width: 767px) { .footer-nav { display: none; } }
@media (min-width: 768px) { .footer-nav li { flex: 1 1 auto; } }
@media (min-width: 1200px) {
  .footer-in { grid-template-columns: auto 1fr; gap: 14px 48px; }
  .footer-nav { justify-self: end; align-self: center; }
  .footer-meta { grid-column: 1 / -1; }
}

/* ---------- Mobil alt gezinme ---------- */
.tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px 6px calc(4px + env(safe-area-inset-bottom)); background: var(--tabbar-bg); box-shadow: 0 -1px 0 var(--line), 0 -8px 24px rgba(0, 0, 0, .08); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 12px; color: var(--ink); font-size: var(--fs-meta); line-height: var(--lh-meta); font-weight: 600; transition: background-color var(--t-fast), transform 80ms; }
.tabbar a:active { transform: scale(.96); background: var(--hover); }
.tabbar a[aria-current="page"] { color: var(--accent-text); background: var(--red-soft); }
.tabbar .icon { width: 22px; height: 22px; }
.kb-open .tabbar { display: none; }
@media (min-width: 768px) { .tabbar { display: none; } }

/* WhatsApp: bağımsız sabit bağlantı (sohbet aracı yüklenmez). Mobilde alt çubuğun üstünde, safe-area dahil.
   Menü açıkken ve klavye görünürken gizlenir; başvuru sayfasında form düğmesiyle çakışmaması için basılmaz. */
.wa-btn { position: fixed; z-index: 35; right: 16px; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 14px); display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: #189D4A; color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .2); transition: transform var(--t-fast) var(--ease), background-color var(--t-fast); }
.wa-btn, .wa-btn:visited, .wa-btn:hover, .wa-btn:focus { color: #fff; }
.wa-btn .icon { width: 28px; height: 28px; }
.wa-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (hover: hover) { .wa-btn:hover { transform: translateY(-2px); background: #14853F; } }
body.nav-locked .wa-btn, .kb-open .wa-btn { display: none; }
@media (min-width: 768px) { .wa-btn { right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); width: 56px; height: 56px; } .wa-btn .icon { width: 30px; height: 30px; } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .lift:hover, .lift:focus-visible, .btn-primary:hover, .news-list .news-row:hover { transform: none; }
  .photo-link:hover img, .more:hover .icon, .quick a:hover .quick-chev, .level-card:hover .level-arrow, .wa-btn:hover { transform: none; }
}
.level-story { max-width: 70ch; margin-block: 28px; }
.home-story { order: 4; display: grid; gap: 18px; padding: 20px; }
.home-story h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
.home-story p { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--muted); margin-top: 12px; }
.story-img { width: 100%; height: 170px; object-fit: cover; }
@media (min-width: 768px) {
  .home-story { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; }
  .story-img { height: 200px; }
}
@media (min-width: 1200px) { .home-story { grid-column: 1 / -1; order: 0; padding: 24px; } }

@media print { .utility, .header, .tabbar, .footer, .side, .nav-backdrop, .theme-btn, .wa-btn { display: none !important; } body { padding: 0; background: #fff; } .shell, .panel, .photo { box-shadow: none; } }
