/* ==========================================================================
   T.C. MİLLÎ EĞİTİM BAKANLIĞI — Kamu Portalı Tasarım Sistemi (v3)
   e-Devlet yaklaşımı: arama, hizmet kutuları, duyuru şeridi, serif başlıklar
   ========================================================================== */

@font-face {
  font-family: "Exo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/exo-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: "Exo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/exo-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;
}

:root {
  --navy: #0f2c4d;
  --navy-dk: #0a1f39;
  --navy-lt: #1c4b7a;
  --navy-100: #dbe6f2;
  --navy-50: #eef4fa;

  --red: #d81f2a;
  --red-dk: #b11720;
  --red-50: #fdf1f2;

  --bg: #f1f4f7;
  --paper: #ffffff;
  --ink: #151a20;
  --ink-2: #3b444f;
  --ink-3: #6a7480;
  --line: #d9e0e8;
  --line-2: #b8c4d1;

  --serif: "Exo", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --sans: "Exo", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --r: 2px;
  --wrap: 1220px;
  --pad: clamp(0.9rem, 3vw, 2.25rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
  font-size: 100%;
}

html[data-scale="sm"] { font-size: 93.75%; }
html[data-scale="lg"] { font-size: 112.5%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-lt); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy-dk);
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.hidden { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 50%; top: 0.4rem; translate: -50% -200%; z-index: 200;
  padding: 0.55rem 1rem; background: var(--navy-dk); color: #fff;
  font-size: 0.82rem; font-weight: 600; text-decoration: none;
}
.skip:focus-visible { translate: -50% 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- üst şerit ---------------------------------------------------- */
.govbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 0.74rem;
  color: var(--ink-2);
}

.govbar__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; min-height: 2.35rem;
}

.govbar__brand { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.govbar__brand img { width: 18px; height: 18px; object-fit: contain; }
.govbar__sep { width: 3px; height: 16px; background: var(--red); }

.a11y { display: inline-flex; align-items: center; gap: 0.25rem; }
.a11y button {
  min-width: 1.65rem; height: 1.55rem; padding: 0 0.3rem;
  border: 1px solid var(--line-2); background: #fff; color: var(--navy);
  font-size: 0.68rem; font-weight: 700; cursor: pointer;
}
.a11y button:hover { border-color: var(--navy); }
.a11y button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.govbar__links { display: flex; align-items: center; gap: 0.9rem; }
.govbar__links a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.govbar__links a:hover { color: var(--red); }

/* ---------- masthead ----------------------------------------------------- */
.masthead { background: #fff; border-bottom: 3px solid var(--navy); }

.masthead__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; padding-block: 0.9rem;
}

.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: inherit; min-width: 0; }
.brand__logo { width: 3.5rem; height: 3.5rem; object-fit: contain; flex: none; }
.brand__text { display: grid; gap: 0.1rem; min-width: 0; }
.brand__eyebrow { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.brand__name { font-family: var(--serif); font-size: clamp(0.98rem, 0.85rem + 0.45vw, 1.25rem); font-weight: 700; color: var(--navy-dk); line-height: 1.22; }
.brand__meta { font-size: 0.72rem; color: var(--ink-3); }

.masthead__tools { display: flex; align-items: center; gap: 0.6rem; flex: none; }

.search { position: relative; display: flex; align-items: stretch; }
.search input {
  width: clamp(11rem, 20vw, 17rem);
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line-2); border-right: 0; border-radius: var(--r) 0 0 var(--r);
  background: #fff; font: inherit; font-size: 0.84rem; color: var(--ink);
}
.search input::placeholder { color: var(--ink-3); }
.search button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; border: 0; background: var(--navy); color: #fff; cursor: pointer;
  border-radius: 0 var(--r) var(--r) 0;
}
.search button:hover { background: var(--navy-lt); }

.search__results {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 60;
  max-height: 20rem; overflow-y: auto;
  background: #fff; border: 1px solid var(--line-2); box-shadow: 0 16px 34px -22px rgba(10, 31, 57, 0.7);
}
.search__results a { display: block; padding: 0.5rem 0.7rem; font-size: 0.82rem; color: var(--navy-dk); text-decoration: none; border-bottom: 1px solid var(--line); }
.search__results a:last-child { border-bottom: 0; }
.search__results a:hover { background: var(--navy-50); }
.search__results small { display: block; color: var(--ink-3); font-size: 0.72rem; }
.search__empty { padding: 0.6rem 0.7rem; font-size: 0.82rem; color: var(--ink-3); }

/* ---------- menü --------------------------------------------------------- */
.navbar {
  position: sticky; top: 0; z-index: 40;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px -18px rgba(10, 31, 57, 0.8);
}

.navbar__in { display: flex; align-items: stretch; gap: 0.1rem; }

.navbar__item { position: relative; display: flex; align-items: stretch; }

.navbar__link {
  display: inline-flex; align-items: center;
  padding: 0.8rem 0.7rem;
  color: var(--navy-dk); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none;
  border-bottom: 3px solid transparent;
}
.navbar__link:hover,
.navbar__item.is-active > .navbar__link { color: var(--red); border-bottom-color: var(--red); }

.navbar__more {
  display: inline-flex; align-items: center; justify-content: center; width: 1.5rem;
  border: 0; background: transparent; color: var(--ink-3); cursor: pointer;
}
.navbar__more:hover, .navbar__more[aria-expanded="true"] { color: var(--red); }

.navbar__panel {
  display: none;
  position: absolute; top: 100%; left: 0; z-index: 50;
  width: min(34rem, 86vw); padding: 0.65rem;
  background: #fff; border: 1px solid var(--line-2); border-top: 3px solid var(--red);
  box-shadow: 0 22px 40px -30px rgba(10, 31, 57, 0.8);
  grid-template-columns: 1fr 1fr; gap: 0.1rem;
}
.navbar__panel.is-open { display: grid; }
.navbar__panel--end { left: auto; right: 0; }
.navbar__panel a { display: block; padding: 0.45rem 0.6rem; font-size: 0.82rem; color: var(--ink-2); text-decoration: none; border-left: 2px solid transparent; }
.navbar__panel a:hover { background: var(--navy-50); border-left-color: var(--red); color: var(--navy-dk); }

.burger { display: none; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border: 1px solid var(--line-2); background: #fff; color: var(--navy); cursor: pointer; }

.mobile-menu { display: none; background: #fff; border-top: 1px solid var(--line); }
.mobile-menu__in { padding-block: 0.4rem; }
.mobile-menu a, .mobile-menu summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.65rem 0.2rem; font-size: 0.86rem; font-weight: 600;
  color: var(--navy-dk); text-decoration: none; border-bottom: 1px solid var(--line);
  cursor: pointer; list-style: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu details a { padding-left: 0.9rem; font-weight: 400; font-size: 0.83rem; color: var(--ink-2); }

/* ---------- duyuru şeridi ------------------------------------------------ */
.ticker { background: var(--navy-dk); color: #fff; font-size: 0.8rem; }
.ticker__in { display: flex; align-items: center; gap: 0.75rem; min-height: 2.5rem; }
.ticker__label {
  display: inline-flex; align-items: center; gap: 0.35rem; flex: none;
  background: var(--red); color: #fff; padding: 0.25rem 0.6rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.ticker__item { flex: 1; min-width: 0; }
.ticker__item a { color: #fff; text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker__item a:hover { text-decoration: underline; }
.ticker__all { flex: none; color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.ticker__all:hover { text-decoration: underline; }

/* ---------- sahne: slider + duyuru kartı --------------------------------- */
.stage { background: var(--bg); border-bottom: 1px solid var(--line); padding-block: 1.25rem; }
.stage__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1rem; }

.hero-slider { --slide-duration: 8000ms; position: relative; overflow: hidden; background: var(--navy-dk); min-height: 22rem; border: 1px solid var(--line-2); }
.hero-slider .slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center 32%; opacity: 0; transition: opacity 800ms ease; }
.hero-slider .slide-bg.is-active { opacity: 1; }
.hero-slider .slide-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(10, 31, 57, 0.95) 0%, rgba(15, 44, 77, 0.82) 48%, rgba(15, 44, 77, 0.28) 100%);
}
.hero-slider .slide-bg--brand { background: linear-gradient(115deg, var(--navy-dk), var(--navy)); }
.hero-slider .slide-bg--brand::after {
  background: radial-gradient(ellipse at 85% 15%, rgba(216, 31, 42, 0.45), transparent 55%),
              linear-gradient(115deg, rgba(10, 31, 57, 0.98), rgba(28, 75, 122, 0.9));
}

.hero-slider .copy-stack { position: relative; z-index: 2; display: grid; min-height: 22rem; padding: clamp(1.1rem, 2.5vw, 1.9rem) clamp(1.1rem, 2.5vw, 1.9rem) 3.4rem; }
.hero-slider .slide-copy { grid-area: 1 / 1; align-self: end; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 480ms ease, transform 480ms ease, visibility 480ms; max-width: 33rem; }
.hero-slider .slide-copy.is-active { opacity: 1; visibility: visible; transform: none; }
.hero-slider .slide-copy h1, .hero-slider .slide-copy h2 { color: #fff; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.05rem); margin-top: 0.5rem; }
.hero-slider .slide-copy p { margin-top: 0.55rem; color: rgba(255, 255, 255, 0.84); font-size: 0.9rem; line-height: 1.65; }
.hero-slider .slide-kicker { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.55rem; background: rgba(255, 255, 255, 0.12); border-left: 3px solid var(--red); color: #fff; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-slider .emblem { width: 2.6rem; height: 2.6rem; object-fit: contain; background: #fff; padding: 0.15rem; margin-bottom: 0.55rem; }
.hero-slider .btn-row { margin-top: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.45rem; }

.hero-controls { position: absolute; right: 0.6rem; bottom: 0.6rem; z-index: 3; display: flex; align-items: center; gap: 0.35rem; }
.slider-dots { display: flex; align-items: center; gap: 0.3rem; margin-right: 0.3rem; }
.slider-dot { width: 0.42rem; height: 0.42rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.45); cursor: pointer; }
.slider-dot[aria-current="true"] { background: var(--red); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8); }
.slider-btn { display: inline-flex; align-items: center; justify-content: center; width: 1.95rem; height: 1.95rem; border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(10, 31, 57, 0.5); color: #fff; cursor: pointer; }
.slider-btn:hover { background: var(--red); border-color: var(--red); }
.slider-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: rgba(255, 255, 255, 0.18); overflow: hidden; pointer-events: none; }
.slider-progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left center; background: var(--red); }
.hero-slider.is-autoplay .slider-progress span { animation: slider-progress var(--slide-duration) linear forwards; }
.hero-slider.is-paused .slider-progress span { animation-play-state: paused; }
@keyframes slider-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* duyuru kartı */
.notices { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); }
.notices__head { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0.9rem; background: var(--navy); color: #fff; }
.notices__head h2 { font-family: var(--sans); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.notices__list { list-style: none; flex: 1; }
.notices__list a { display: flex; gap: 0.6rem; padding: 0.65rem 0.9rem; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); }
.notices__list li:last-child a { border-bottom: 0; }
.notices__list a:hover { background: var(--navy-50); }
.notices__date { flex: none; width: 2.5rem; text-align: center; border: 1px solid var(--line); background: var(--bg); padding: 0.1rem 0; }
.notices__date b { display: block; font-family: var(--serif); font-size: 0.95rem; color: var(--red); line-height: 1.1; }
.notices__date span { display: block; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.notices__title { font-size: 0.83rem; font-weight: 600; color: var(--navy-dk); line-height: 1.4; }
.notices__list a:hover .notices__title { color: var(--red); }
.notices__tag { display: block; margin-top: 0.1rem; font-size: 0.66rem; color: var(--ink-3); }
.notices__all { display: block; padding: 0.55rem 0.9rem; background: var(--bg); border-top: 1px solid var(--line); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy); text-decoration: none; text-align: right; }
.notices__all:hover { background: var(--navy-50); color: var(--red); }

/* ---------- hizmetler ---------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; }
.service {
  display: grid; grid-template-columns: 2rem minmax(0, 1fr); align-items: center;
  gap: 0.6rem; padding: 0.6rem 0.75rem; min-height: 4.1rem;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy);
  text-decoration: none; color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.service:hover { border-top-color: var(--red); background: var(--navy-50); }
.service__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border: 1px solid var(--line); background: var(--bg);
  color: var(--navy);
}
.service:hover .service__icon { border-color: var(--red); color: var(--red); }
.service__text { display: grid; align-content: center; gap: 0.1rem; min-width: 0; }
.service b { display: block; font-size: 0.8rem; color: var(--navy-dk); line-height: 1.3; }
.service__text span { display: block; font-size: 0.71rem; color: var(--ink-3); line-height: 1.35; }

/* ---------- bölüm başlıkları -------------------------------------------- */
.section { padding-block: clamp(1.75rem, 3.5vw, 2.75rem); }
.section--bg { background: var(--bg); border-block: 1px solid var(--line); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.1rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--navy); }
.sec-head h2 { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem); margin-top: 0.2rem; }
.sec-head p { margin-top: 0.25rem; font-size: 0.88rem; color: var(--ink-3); max-width: 64ch; }
.sec-head__link { flex: none; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.sec-head__link:hover { color: var(--red); border-bottom-color: var(--red); }
.kicker { display: inline-block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }

/* ---------- alan dizini -------------------------------------------------- */
.directory { border-top: 1px solid var(--line); }
.directory a {
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto; gap: 0.9rem;
  align-items: center; padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: background 0.15s ease, padding-left 0.15s ease;
}
.directory a:hover { background: var(--navy-50); padding-left: 0.9rem; }
.directory__num { font-family: var(--serif); font-size: 1.5rem; color: var(--line-2); line-height: 1; }
.directory a:hover .directory__num { color: var(--red); }
.directory h3 { font-size: 1rem; }
.directory p { margin-top: 0.15rem; font-size: 0.83rem; color: var(--ink-2); line-height: 1.55; }
.directory .icon { color: var(--line-2); }
.directory a:hover .icon { color: var(--red); }

/* ---------- sayılar ------------------------------------------------------ */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; }
.figure { padding: 0.9rem 1rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); }
.figure b { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--navy-dk); line-height: 1.05; }
.figure span { display: block; margin-top: 0.25rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); line-height: 1.4; }

/* ---------- haber kartları ---------------------------------------------- */
.news-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); text-decoration: none; color: inherit; }
.news-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 0.8rem 0.9rem 0.9rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.news-card__meta { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); }
.news-card h3 { font-size: 0.98rem; line-height: 1.35; }
.news-card p { font-size: 0.82rem; color: var(--ink-3); line-height: 1.55; }
.news-card:hover h3 { color: var(--red); }

/* ---------- belgeler ----------------------------------------------------- */
.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.doc {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.65rem 0.8rem;
  border: 1px solid var(--line); background: #fff; text-decoration: none;
  color: var(--navy-dk); font-size: 0.84rem; font-weight: 600;
}
.doc:hover { border-color: var(--navy); background: var(--navy-50); }
.doc .icon { color: var(--red); }
.doc small { display: block; font-weight: 400; font-size: 0.72rem; color: var(--ink-3); }

/* ---------- butonlar ----------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 2.5rem; padding: 0.55rem 1rem; border: 1px solid transparent; border-radius: var(--r); background: var(--navy); color: #fff; font-size: 0.84rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--navy-lt); color: #fff; }
.btn--red { background: var(--red); }
.btn--red:hover { background: var(--red-dk); }
.btn--outline { background: #fff; border-color: var(--line-2); color: var(--navy-dk); }
.btn--outline:hover { border-color: var(--navy); background: var(--navy-50); color: var(--navy-dk); }
.btn--light { background: #fff; color: var(--navy-dk); }
.btn--light:hover { background: var(--bg); color: var(--navy-dk); }
.btn--ghost { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; color: #fff; }
.btn--sm { min-height: 2.15rem; padding: 0.4rem 0.75rem; font-size: 0.78rem; }
.icon { width: 1.05rem; height: 1.05rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- iç sayfa ----------------------------------------------------- */
.page-band { background: #fff; border-bottom: 1px solid var(--line); padding-block: clamp(0.9rem, 2vw, 1.5rem); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; font-size: 0.73rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.crumbs .sep { color: var(--line-2); }
.crumbs [aria-current="page"] { color: var(--navy-dk); font-weight: 600; }
.page-band h1 { margin-top: 0.45rem; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem); }
.page-band__lead { margin-top: 0.5rem; max-width: 74ch; font-size: 0.92rem; line-height: 1.65; color: var(--ink-2); }
.page-band__meta { margin-top: 0.65rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.5rem; border: 1px solid var(--line); background: var(--bg); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--navy); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 17.5rem; gap: clamp(1rem, 2.5vw, 1.75rem); align-items: start; padding-block: clamp(1.1rem, 2.4vw, 1.9rem); }

.article { background: #fff; border: 1px solid var(--line); }
.article__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.6rem 1rem; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 0.76rem; color: var(--ink-3); }
.article__head b { color: var(--navy-dk); }
.article__head .icon { color: var(--red); }
.print-btn { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.6rem; border: 1px solid var(--line-2); background: #fff; color: var(--navy); font-size: 0.74rem; font-weight: 600; cursor: pointer; }
.print-btn:hover { border-color: var(--navy); background: var(--navy-50); }
.article__body { padding: clamp(1rem, 2.2vw, 1.75rem); }
.article__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--line); font-size: 0.74rem; color: var(--ink-3); }

/* ---------- metin içi --------------------------------------------------- */
.prose { display: grid; gap: 0.95rem; color: var(--ink-2); font-size: 0.93rem; line-height: 1.75; }
.prose p { max-width: 76ch; }
.prose h2 { margin-top: 1.15rem; padding-bottom: 0.35rem; border-bottom: 1px solid var(--line); font-size: 1.2rem; color: var(--navy-dk); scroll-margin-top: 6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 0.5rem; font-size: 1rem; color: var(--navy); }
.prose strong { color: var(--navy-dk); font-weight: 650; }
.prose ul, .prose ol { display: grid; gap: 0.4rem; max-width: 74ch; padding-left: 1.1rem; }
.prose ul li::marker { color: var(--red); }
.prose ol li::marker { color: var(--navy); font-weight: 700; }
.prose blockquote { margin: 0; padding: 0.8rem 1rem; background: var(--bg); border-left: 4px solid var(--navy); font-size: 0.91rem; }
.prose blockquote footer { margin-top: 0.4rem; font-size: 0.73rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy); }

.cards { display: grid; gap: 0.6rem; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 0.8rem 0.9rem; border: 1px solid var(--line); border-left: 3px solid var(--red); background: var(--bg); }
.card h3 { font-size: 0.9rem; color: var(--navy-dk); }
.card p { margin-top: 0.25rem; font-size: 0.83rem; line-height: 1.55; color: var(--ink-2); }

.figures--inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
.figures--inner div { padding: 0.65rem 0.8rem; border: 1px solid var(--line); }
.figures--inner b { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--navy-dk); line-height: 1.1; }
.figures--inner span { display: block; margin-top: 0.2rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); line-height: 1.4; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.84rem; min-width: 32rem; }
table.data caption { caption-side: top; text-align: left; padding: 0.55rem 0.8rem; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 0.75rem; font-weight: 600; color: var(--ink-3); }
table.data th { text-align: left; padding: 0.55rem 0.8rem; background: var(--navy); color: #fff; font-size: 0.71rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
table.data td { padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
table.data tbody tr:nth-child(even) td { background: var(--bg); }
table.data tbody tr:last-child td { border-bottom: 0; }

.timeline { list-style: none; position: relative; padding-left: 1.4rem; display: grid; gap: 0.85rem; }
.timeline::before { content: ""; position: absolute; left: 0.28rem; top: 0.4rem; bottom: 0.4rem; width: 2px; background: var(--line); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -1.4rem; top: 0.45rem; width: 0.5rem; height: 0.5rem; background: var(--red); }
.timeline__meta { font-size: 0.71rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red); }
.timeline h3 { margin-top: 0.1rem; font-size: 0.93rem; }
.timeline p { margin-top: 0.15rem; font-size: 0.84rem; line-height: 1.55; color: var(--ink-2); }

.note { padding: 0.75rem 0.95rem; background: var(--red-50); border: 1px solid #f3c9cd; border-left: 4px solid var(--red); }
.note strong { display: block; font-size: 0.8rem; color: var(--red-dk); letter-spacing: 0.03em; margin-bottom: 0.1rem; }
.note p { font-size: 0.85rem; line-height: 1.55; color: var(--ink-2); }

.faq { display: grid; gap: 0.35rem; }
.faq details { border: 1px solid var(--line); background: #fff; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.6rem 0.8rem; font-size: 0.87rem; font-weight: 600; color: var(--navy-dk); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { background: var(--navy-50); border-bottom: 1px solid var(--line); }
.faq p { padding: 0.6rem 0.8rem 0.75rem; font-size: 0.85rem; line-height: 1.6; color: var(--ink-2); }

.links-list { list-style: none; display: grid; gap: 0.35rem; }
.links-list a { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.55rem 0.75rem; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--navy-dk); font-size: 0.85rem; font-weight: 600; }
.links-list a:hover { border-color: var(--navy); background: var(--navy-50); }
.links-list span { display: block; font-size: 0.75rem; font-weight: 400; color: var(--ink-3); margin-top: 0.1rem; }
.links-list .icon { color: var(--red); }

.notice-rows { list-style: none; border: 1px solid var(--line); }
.notice-rows li a { display: grid; grid-template-columns: 2.9rem minmax(0, 1fr) auto; gap: 0.75rem; align-items: start; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; background: #fff; }
.notice-rows li:last-child a { border-bottom: 0; }
.notice-rows li a:hover { background: var(--navy-50); }
.notice-rows .d { border: 1px solid var(--line); background: var(--bg); text-align: center; padding: 0.15rem 0; }
.notice-rows .d b { display: block; font-family: var(--serif); font-size: 0.98rem; color: var(--red); line-height: 1.1; }
.notice-rows .d span { display: block; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.notice-rows .tag { display: block; font-size: 0.67rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red); margin-bottom: 0.1rem; }
.notice-rows .title { display: block; font-size: 0.89rem; font-weight: 600; color: var(--navy-dk); line-height: 1.4; }
.notice-rows .desc { display: block; margin-top: 0.15rem; font-size: 0.79rem; color: var(--ink-3); line-height: 1.5; }
.notice-rows .icon { color: var(--line-2); }

/* ---------- yan sütun --------------------------------------------------- */
.aside { display: grid; gap: 0.65rem; position: sticky; top: 5rem; }
.box { border: 1px solid var(--line); background: #fff; }
.box__head { padding: 0.5rem 0.8rem; background: var(--navy); color: #fff; font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.toc { list-style: none; }
.toc a { display: block; padding: 0.45rem 0.8rem; border-bottom: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-2); text-decoration: none; border-left: 3px solid transparent; }
.toc li:last-child a { border-bottom: 0; }
.toc a:hover, .toc a[aria-current="true"] { background: var(--navy-50); border-left-color: var(--red); color: var(--navy-dk); }
.side-links { list-style: none; }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.45rem 0.8rem; border-bottom: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-2); text-decoration: none; }
.side-links li:last-child a { border-bottom: 0; }
.side-links a:hover { background: var(--navy-50); color: var(--navy-dk); }
.side-links .icon { color: var(--line-2); }
.box-contact { padding: 0.8rem; font-size: 0.8rem; line-height: 1.55; color: var(--ink-2); }
.box-contact b { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-dk); margin-bottom: 0.25rem; }
.box-contact a { color: var(--navy); text-decoration: none; }
.box-contact a:hover { color: var(--red); }

/* ---------- iletişim / alt bilgi --------------------------------------- */
.contact-band { background: var(--bg); border-top: 1px solid var(--line); }
.contact-band__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(1rem, 3vw, 2rem); align-items: start; }
.contact-list { display: grid; gap: 0.4rem; margin-top: 0.8rem; }
.contact-item { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.65rem 0.8rem; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-size: 0.84rem; }
.contact-item:hover { border-color: var(--navy); color: var(--navy-dk); }
.contact-item .icon { color: var(--red); margin-top: 0.15rem; }
.contact-item b { display: block; font-size: 0.67rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.map-frame { border: 1px solid var(--line); background: #fff; padding: 0.3rem; }
.map-frame iframe { display: block; width: 100%; height: 15.5rem; border: 0; }

.footer { background: #fff; border-top: 3px solid var(--navy); }
.footer__main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(1.1rem, 3vw, 2.25rem); padding-block: clamp(1.5rem, 3vw, 2.4rem); }
.footer h2 { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy-dk); padding-bottom: 0.4rem; border-bottom: 2px solid var(--red); display: inline-block; }
.footer ul { list-style: none; margin-top: 0.6rem; display: grid; gap: 0.3rem; }
.footer a { color: var(--ink-2); text-decoration: none; font-size: 0.82rem; }
.footer a:hover { color: var(--red); text-decoration: underline; }
.footer__brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-bottom: 0.6rem; }
.footer__brand img { width: 3rem; height: 3rem; object-fit: contain; }
.footer__brand strong { display: block; font-family: var(--serif); font-size: 0.95rem; color: var(--navy-dk); line-height: 1.25; }
.footer__brand small { display: block; font-size: 0.7rem; color: var(--ink-3); }
.footer p { font-size: 0.82rem; line-height: 1.6; color: var(--ink-2); }
.footer__bar { background: var(--navy-dk); color: rgba(255, 255, 255, 0.8); font-size: 0.74rem; }
.footer__bar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; padding-block: 0.7rem; }
.footer__bar a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.footer__bar a:hover { color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- yukarı çık --------------------------------------------------- */
.to-top {
  position: fixed; right: 0.85rem; bottom: 0.85rem; z-index: 80;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border: 1px solid var(--line-2);
  background: #fff; color: var(--navy); cursor: pointer;
  box-shadow: 0 12px 26px -20px rgba(10, 31, 57, 0.9);
}
.to-top:hover { border-color: var(--red); color: var(--red); }
.to-top[hidden] { display: none; }

/* ---------- 404 ---------------------------------------------------------- */
.notfound { background: var(--bg); padding-block: clamp(2rem, 5vw, 3.5rem); }
.notfound__card { max-width: 42rem; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); padding: clamp(1.25rem, 4vw, 2.5rem); }
.notfound__code { font-family: var(--serif); font-size: 3rem; color: var(--navy-100); line-height: 1; }
.notfound h1 { margin-top: 0.3rem; font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem); }
.notfound p { margin-top: 0.5rem; color: var(--ink-2); font-size: 0.92rem; line-height: 1.65; }
.notfound .btn-row { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.45rem; }

/* ---------- yüksek kontrast -------------------------------------------- */
html.hc body { background: #fff; }
html.hc a { color: #00305e; }
html.hc .navbar, html.hc .masthead, html.hc .govbar { border-color: #000; }
html.hc .btn { background: #000; }
html.hc .btn--red { background: #a00000; }
html.hc .hero-slider .slide-bg::after { background: rgba(0, 0, 0, 0.86); }
html.hc .ticker { background: #000; }

/* ---------- duyarlı ---------------------------------------------------- */
@media (max-width: 1120px) {
  .navbar__link { padding-inline: 0.5rem; font-size: 0.71rem; }
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .news-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .navbar__in { display: none; }
  .burger { display: inline-flex; }
  .mobile-menu { display: block; }
  .mobile-menu[hidden] { display: none !important; }
  .search input { width: 12rem; }
  .stage__grid { grid-template-columns: minmax(0, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .contact-band__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .figures, .figures--inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .masthead__tools .btn--red { display: none; }
  .hero-slider .btn-row { flex-wrap: nowrap; }
  .hero-slider .btn-row .btn { flex: 1 1 0; min-width: 0; font-size: 0.76rem; padding-inline: 0.45rem; text-align: center; }
  .btn { min-height: 2.7rem; }
  .govbar__brand span { display: none; }
  .govbar__links a:nth-child(2) { display: none; }
  .masthead__in { flex-wrap: wrap; gap: 0.75rem; }
  .masthead__tools { width: 100%; }
  .search { flex: 1; }
  .search input { width: 100%; }
  .brand__logo { width: 2.9rem; height: 2.9rem; }
  .brand__meta { display: none; }
  .ticker__item { font-size: 0.76rem; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-cards { grid-template-columns: minmax(0, 1fr); }
  .docs { grid-template-columns: minmax(0, 1fr); }
  .cards--2, .cards--3 { grid-template-columns: minmax(0, 1fr); }
  .directory a { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .directory .icon { display: none; }
  .notice-rows li a { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .notice-rows .icon { display: none; }
  .hero-slider, .hero-slider .copy-stack { min-height: 19rem; }
}

@media (max-width: 520px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 1.1rem 0.9rem; }
  .footer__main > div:first-child { grid-column: 1 / -1; }
  .figures, .figures--inner { grid-template-columns: 1fr 1fr; }
  .a11y { display: none; }
  .ticker__all { display: none; }
  .notices__all { text-align: center; }
  .page-band h1 { font-size: 1.3rem; }
}

/* ---------- hareket / yazdırma ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .slider-progress { display: none; }
}

@media print {
  .govbar, .masthead, .navbar, .mobile-menu, .ticker, .footer, .aside,
  .article__head .print-btn, .search, .contact-band .map-frame { display: none !important; }
  .page-band, .article { border: 0; background: #fff; padding: 0; }
  .article__body { padding: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #555; }
}
