/* Dörtdivan Belediyesi — ziyaretçi teması
   Renkler: lacivert (kurumsal) + yeşil (Köroğlu dağları) — açık ve koyu tema */
:root {
  --navy: #0c447c;
  --navy-deep: #072c52;
  --navy-soft: #e6eef8;
  --green: #3b7a17;
  --green-soft: #e8f2df;
  --amber: #a15c00;
  --amber-soft: #fdf0dc;
  --slate: #4a5867;
  --slate-soft: #eceff3;
  --violet: #5b3fa8;
  --violet-soft: #eee9fa;
  --red: #b42318;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #17212c;
  --muted: #5b6875;
  --line: #e1e7ee;
  --shadow: 0 1px 2px rgba(16, 32, 56, .06), 0 4px 16px rgba(16, 32, 56, .06);
  --shadow-lg: 0 8px 30px rgba(16, 32, 56, .14);
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs: 16px;
  color-scheme: light;
}
/* Yüksek kontrast (erişilebilirlik düğmesi) */
:root.hc { --navy: #002b5c; --navy-deep: #000; --muted: #222; --line: #555; --ink: #000; --bg: #fff; --surface: #fff; --green: #1f4d07; }
:root.fs-lg { --fs: 18.5px; }

*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--fs); -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.6; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; margin: 0 0 .5em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #f5b400; outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
.narrow { max-width: 860px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.ico { flex: none; vertical-align: middle; }
.section { padding-block: 28px; }
.sec-title { font-size: 1.25rem; margin: 28px 0 14px; }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font-weight: 600; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-light { background: #fff; color: #0c447c; border-color: #fff; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.55); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* Acil duyuru bandı */
.alert-band { background: #b42318; color: #fff; font-weight: 600; }
.alert-row { display: flex; align-items: center; gap: 10px; padding-block: 9px; }
.alert-row a { color: #fff; text-decoration: underline; margin-left: auto; white-space: nowrap; }

/* Üst şerit */
.utility { background: #072c52; color: #c9dcf2; font-size: 13.5px; }
.util-row { display: flex; align-items: center; gap: 18px; min-height: 38px; flex-wrap: wrap; }
.util-item { color: inherit; display: inline-flex; align-items: center; gap: 6px; }
.util-links { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.util-links a { color: inherit; }
.util-links a:hover { color: #fff; }
.a11y-btn[data-theme-toggle] { display: inline-flex; align-items: center; gap: 4px; }
.a11y-btn { background: rgba(255,255,255,.12); border: 0; color: #fff; border-radius: 6px; padding: 2px 8px; cursor: pointer; font-size: 13px; }

/* Başlık ve menü */
.header { background: #0c447c; color: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 58px; height: 58px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-size: 1.15rem; letter-spacing: .01em; }
.brand-text small { color: #b9d3f0; font-size: .8rem; }
.search { margin-left: auto; display: flex; background: #fff; border-radius: 10px; overflow: hidden; width: min(340px, 40vw); }
.search input { border: 0; padding: 10px 14px; flex: 1; min-width: 0; color: #17212c; background: #fff; }
.search input:focus { outline: none; }
.search:focus-within { outline: 3px solid #f5b400; }
.search button { border: 0; background: #3b7a17; color: #fff; padding: 0 14px; cursor: pointer; }
.nav-btn { display: none; }
.mainnav { background: #0a3a6b; border-top: 1px solid rgba(255,255,255,.08); }
.nav-list { display: flex; list-style: none; margin: 0 auto; gap: 2px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { color: #fff; padding: 13px 14px; font-weight: 600; font-size: .96rem; border-bottom: 3px solid transparent; }
.nav-item > a:hover, .nav-item > a[aria-current] { text-decoration: none; border-bottom-color: #8fd14f; background: rgba(255,255,255,.06); }
.sub-toggle { display: none; }
.sub { position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--surface); border-radius: 0 0 12px 12px; box-shadow: var(--shadow-lg); list-style: none; margin: 0; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 50; }
.nav-item:hover > .sub, .nav-item:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); }
.sub a:hover { background: var(--navy-soft); text-decoration: none; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: #072c52; min-height: 420px; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,24,48,.15) 0%, rgba(4,24,48,.55) 55%, rgba(4,24,48,.85) 100%); }
.hero-inner { position: relative; padding-block: 72px 96px; max-width: 1200px; }
.hero h1 { font-size: clamp(1.9rem, 4.4vw, 3.3rem); max-width: 26ch; margin-bottom: 14px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-line { display: block; }
.hero-accent { color: #bfe39a; letter-spacing: .01em; }
.hero p { font-size: 1.15rem; max-width: 52ch; color: #e3edf8; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.kicker { display: inline-block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #bfe39a; margin-bottom: 12px; }
.kicker--dark { color: var(--green); }

/* Hızlı erişim */
.quick { position: relative; margin-top: -54px; z-index: 2; }
.tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; background: var(--surface); padding: 14px; border-radius: 18px; box-shadow: var(--shadow-lg); }
.tile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 14px 6px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: .88rem; line-height: 1.3; transition: background .15s, transform .15s; }
.tile:hover { background: var(--navy-soft); text-decoration: none; transform: translateY(-2px); }
.tile-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-soft); color: var(--navy); }

/* Başlık satırı */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { font-size: 1.45rem; margin: 0; display: flex; align-items: center; gap: 8px; }

/* Kartlar */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .18s, box-shadow .18s; }
.card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 16 / 10; background: var(--navy-soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: scale .4s; }
.card:hover .card-media img { scale: 1.04; }
.card .card-media.card-media--fit { background: #fff; }
.card-media--fit img { object-fit: contain; padding: 8px; }
.card-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--navy); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
.card--green .card-media { background: var(--green-soft); } .card--green .card-ph { color: var(--green); }
.card--amber .card-media { background: var(--amber-soft); } .card--amber .card-ph { color: var(--amber); }
.card--slate .card-media { background: var(--slate-soft); } .card--slate .card-ph { color: var(--slate); }
.card--violet .card-media { background: var(--violet-soft); } .card--violet .card-ph { color: var(--violet); }
.card-body { padding: 14px 16px 18px; }
.card-body h3 { font-size: 1.02rem; margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-body p { color: var(--muted); font-size: .92rem; margin: 6px 0 0; }
.card-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .84rem; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--navy-soft); color: var(--navy); }
.tag--green { background: var(--green-soft); color: var(--green); }
.tag--amber { background: var(--amber-soft); color: var(--amber); }
.tag--slate { background: var(--slate-soft); color: var(--slate); }
.tag--violet { background: var(--violet-soft); color: var(--violet); }

/* İhale & vefat kutuları */
.notices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.notice-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; border-top: 4px solid var(--amber); }
.notice-box--slate { border-top-color: var(--slate); }
.notice-box .section-head h2 { font-size: 1.15rem; }
.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list li { padding: 10px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.notice-list li:first-child { border-top: 0; }
.notice-list a { color: var(--ink); font-weight: 600; }
.notice-list .muted { font-size: .85rem; }
.status { font-weight: 700; }
.status--acik { color: var(--green); } .status--sonuclandi { color: var(--muted); } .status--iptal { color: var(--red); }

/* Başkan */
.mayor { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.mayor-photo { width: 200px; height: 240px; object-fit: cover; border-radius: 16px; }
.mayor-quote { font-size: 1.3rem; line-height: 1.5; margin: 0 0 12px; font-style: italic; }
.mayor-name { margin: 0 0 10px; color: var(--muted); }

/* Rakamlar */
.stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; border-block: 1px solid var(--line); padding-block: 22px; }
.stats li { display: flex; flex-direction: column; min-width: 120px; }
.stats b { font-size: 2.2rem; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stats span { color: var(--muted); }

/* Keşfet */
.feature { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-soft); }
.feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.feature:hover img { transform: scale(1.05); }
.feature span { position: absolute; inset: auto 0 0; padding: 40px 16px 16px; color: #fff; font-weight: 700; font-size: 1.1rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); }

/* Çağrı bandı */
.cta { background: linear-gradient(120deg, #0c447c, #0a3a6b 60%, #2f6413); color: #fff; margin-top: 36px; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 40px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: #d6e5f5; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* İç sayfa başlığı */
.page-head { background: linear-gradient(120deg, #0c447c, #0a3a6b); color: #fff; padding-block: 34px 30px; }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 0; }
.page-head .lead { color: #d3e3f5; margin: 8px 0 0; max-width: 70ch; }
.crumb { font-size: .88rem; color: #b9d3f0; }
.crumb a { color: #fff; }

/* Makale */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.article-wrap:not(:has(.side)) { grid-template-columns: minmax(0, 860px); justify-content: center; }
.article { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px clamp(18px, 4vw, 40px); min-width: 0; }
.article-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); margin-bottom: 18px; }
.article-cover { margin: 0 0 20px; border-radius: 12px; overflow: hidden; }
.article-cover img { border-radius: 12px; width: 100%; max-height: 520px; object-fit: cover; }
.article-cover--fit img { width: auto; max-width: min(100%, 440px); max-height: none; object-fit: contain; background: #fff; }
.prose { max-width: 72ch; overflow-wrap: anywhere; }
.prose img { border-radius: 10px; margin: 14px auto; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; overflow-wrap: break-word; text-align: left; vertical-align: top; }
.prose blockquote { margin: 18px 0; padding: 12px 18px; border-left: 4px solid var(--green); background: var(--green-soft); border-radius: 0 10px 10px 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; }
.prose--sm { font-size: .95rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0 0 20px; }
.facts div { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.facts dt { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.files { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 8px; }
.files li { display: flex; flex-direction: column; }
.files a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font-weight: 600; }
.share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.share a, .copy-link { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }
.side { position: sticky; top: 140px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.side h2 { font-size: 1rem; margin: 0 0 10px; }
.side-list, .side-nav { list-style: none; margin: 0; padding: 0; }
.side-list li { padding: 9px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; font-size: .93rem; }
.side-list li:first-child { border-top: 0; }
.side-list .muted { font-size: .8rem; }
.side-nav a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: .95rem; }
.side-nav a:hover { background: var(--navy-soft); text-decoration: none; }
.side-nav a[aria-current] { background: var(--navy); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 20px; }
.gallery-grid--lg { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.video iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; margin-top: 20px; }

/* Süzgeç çipleri, sayfalama */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .92rem; }
.chip small { color: var(--muted); font-weight: 600; }
.chip:hover { text-decoration: none; border-color: var(--navy); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.is-on small { color: #cfe0f3; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
.pager a, .pager span { min-width: 40px; text-align: center; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.pager .cur { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager .gap { border: 0; background: none; }
.empty { padding: 30px; text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); }

/* Tablolar */
.filter-bar { display: flex; gap: 10px; margin-bottom: 16px; }
.filter-bar input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--bg); }
.table th, .table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.num, .nowrap { white-space: nowrap; font-variant-numeric: tabular-nums; }
.dl { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; white-space: nowrap; }

/* Mahalleler, kişiler, müdürlükler */
.nb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.nb { display: flex; flex-direction: column; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
.nb:hover { text-decoration: none; border-color: var(--navy); }
.nb .muted { font-size: .88rem; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.person { display: flex; gap: 14px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.person img, .avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar { display: grid; place-items: center; background: var(--navy-soft); color: var(--navy); font-weight: 700; font-size: 1.3rem; }
.person div { display: flex; flex-direction: column; }
.person span { color: var(--muted); font-size: .9rem; }
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.dept { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.dept h2 { font-size: 1.1rem; }
.dept-man { display: flex; align-items: center; gap: 6px; font-weight: 600; margin: 0 0 8px; }
.dept-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.dept-head h2 { margin: 0 0 4px; }
.dept-head .dept-man { margin: 0; }
.dept-photo { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #0c447c; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 4px 12px rgba(12,68,124,.16); }
.dept-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dept-contact { display: flex; gap: 14px; flex-wrap: wrap; margin: 10px 0 0; font-size: .92rem; }
.dept-contact a { display: inline-flex; align-items: center; gap: 5px; }
.ticks { padding-left: 18px; margin: 8px 0; }
.link-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 24px; }
.link-cards a { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--ink); }
.link-cards a:hover { border-color: var(--navy); text-decoration: none; }
.link-cards .ico { color: var(--navy); }

/* İletişim, form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: start; }
.contact-cards { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.contact-cards li { display: flex; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.contact-cards .ico { color: var(--navy); margin-top: 2px; }
.contact-cards div { display: flex; flex-direction: column; }
.map iframe { width: 100%; height: 280px; border: 0; border-radius: 14px; }
.note { background: var(--navy-soft); border-radius: 14px; padding: 16px 18px; margin: 18px 0; }
.note h2 { font-size: 1.05rem; margin: 0 0 6px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field textarea, .field select { padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); width: 100%; }
.has-err input, .has-err textarea { border-color: var(--red); }
.err { color: var(--red); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 6px; font-size: .93rem; }
.check input { margin-top: 4px; width: 18px; height: 18px; }
.kind-pick { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.kind-pick legend { font-weight: 700; margin-bottom: 8px; }
.kind { position: relative; }
.kind input { position: absolute; opacity: 0; }
.kind span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; background: var(--bg); }
.kind input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.kind input:focus-visible + span { outline: 3px solid #f5b400; }
.hp { position: absolute; left: -9999px; }
.msg { padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; }
.msg--ok { background: var(--green-soft); color: var(--green); }
.msg--err { background: #fde8e6; color: #9b1c12; }
.soon { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 40px 24px; }
.soon .ico { color: var(--navy); margin: 0 auto 10px; }
.emergency { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.emergency a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px; border-radius: 14px; background: #fde8e6; color: #9b1c12; font-weight: 700; }
.emergency b { font-size: 2rem; line-height: 1; }
.phone-list { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.phone-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.phone-list li:first-child { border-top: 0; }
.phone-list a { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.results { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.results li { min-width: 0; overflow-wrap: anywhere; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.results a { font-weight: 700; }
.results p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }

/* Altbilgi */
.footer { background: #072c52; color: #c9dcf2; margin-top: 48px; }
.cta + .footer { margin-top: 0; }
.footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr 1fr; gap: 32px; padding-block: 44px; }
.footer h2 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer-brand img { width: 84px; height: 84px; margin-bottom: 12px; }
.contact-list li { display: flex; gap: 8px; align-items: flex-start; }
.contact-list .ico { margin-top: 3px; color: #8fd14f; }
.social, .gov-links { display: flex; gap: 12px; flex-wrap: wrap; }
.gov-links { margin-top: 16px; }
.gov-links a { border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: 4px 10px; font-size: .85rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 16px; font-size: .88rem; }

/* Hata sayfası */
.err-page { min-height: 80vh; display: grid; place-items: center; padding: 24px; }
.err-box { text-align: center; max-width: 520px; }
.err-logo { margin: 0 auto 12px; }
.err-code { font-size: 4rem; font-weight: 800; color: var(--navy); }

/* Hareket azaltma */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Tablet */
@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .nav-item > a { padding: 13px 10px; font-size: .92rem; }
}

/* Telefon */
@media (max-width: 820px) {
  .util-hours { display: none; }
  .util-row { gap: 12px; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; }
  .util-links { gap: 12px; }
  .header-row { flex-wrap: wrap; gap: 10px; min-height: 0; padding-block: 10px; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-text b { font-size: 1.02rem; }
  .nav-btn { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 9px; padding: 8px 12px; font-weight: 600; cursor: pointer; }
  .search { order: 3; width: 100%; margin-left: 0; }
  .mainnav { display: none; max-height: calc(100vh - 150px); overflow-y: auto; }
  .mainnav.is-open { display: block; }
  .nav-list { flex-direction: column; padding-block: 6px; }
  .nav-item { flex-wrap: wrap; }
  .nav-item > a { flex: 1; border-bottom: 1px solid rgba(255,255,255,.08); }
  .sub-toggle { display: block; background: none; border: 0; color: #fff; padding: 12px 16px; cursor: pointer; font-size: 1rem; }
  .sub-toggle[aria-expanded="true"] span { display: inline-block; transform: rotate(180deg); }
  .sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; width: 100%; box-shadow: none; border-radius: 10px; margin: 4px 0 8px; }
  .nav-item.open > .sub { display: block; }
  .nav-item:hover > .sub { display: none; }
  .nav-item.open:hover > .sub { display: block; }
  .hero { min-height: 360px; }
  .hero-inner { padding-block: 56px 84px; }
  .quick { margin-top: -44px; }
  .tiles { grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 10px; }
  .tile { font-size: .78rem; padding: 10px 2px; }
  .tile-ico { width: 42px; height: 42px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .notices, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .mayor { grid-template-columns: 1fr; text-align: left; padding: 20px; gap: 18px; }
  .mayor-photo { width: 120px; height: 140px; }
  .mayor-quote { font-size: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .article { padding: 20px 16px; border-radius: 14px; }
}
@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  /* Telefonda kompakt yatay kart: solda küçük görsel/simge, sağda başlık */
  .grid-3 > .card { flex-direction: row; align-items: stretch; }
  .grid-3 > .card .card-media { flex: 0 0 104px; aspect-ratio: auto; min-height: 96px; }
  .grid-3 > .card .card-ph span { display: none; }
  .grid-3 > .card .card-ph .ico { width: 30px; height: 30px; }
  .grid-3 > .card .card-body { padding: 10px 12px; }
  .card-body h3 { font-size: 1rem; }
  .emergency { grid-template-columns: 1fr; }
}

/* ---------- Ön izleme şeridi ---------- */
.preview-band { position: sticky; top: 0; z-index: 60; background: #f5b400; color: #241a00; font-size: .95rem; padding-block: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.preview-band ~ .header { top: 44px; }

/* ---------- Kamu spotları ---------- */
.spots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.spots--all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spot { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.spot:hover { text-decoration: none; }
.spot-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0a2440; }
.spot-media img, .spot-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.spot:hover .spot-media img, .spot:hover .spot-media video { transform: scale(1.04); }
.spot-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #9fc3ea; }
.spot-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: rgba(180, 35, 24, .92); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .15s; }
.spot-play svg { margin-left: 3px; }
.spot:hover .spot-play { transform: scale(1.08); }
.spot-badge { position: absolute; left: 10px; top: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.spot-title { font-weight: 700; line-height: 1.35; }
.player { width: min(960px, 94vw); padding: 0; border: 0; border-radius: 14px; background: #000; color: #fff; overflow: hidden; }
.player::backdrop { background: rgba(4, 16, 30, .82); }
.player-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: #0b1a2b; }
.player-head b { font-size: .98rem; }
.player-close { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 8px; padding: 6px 12px; cursor: pointer; font-weight: 600; }
.player-body video, .player-body iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }

/* ---------- Organizasyon şeması ---------- */
.org { overflow-x: auto; padding: 8px 0 24px; --org-line: #9db7d3; }
/* geniş ekranda şema kapsayıcıdan taşabilir (en çok 1360px); daha da genişse yatay kaydırılır */
@media (min-width: 821px) { .org { margin-inline: calc((100% - min(100vw - 48px, 1360px)) / 2); } }
.org-tree { display: flex; justify-content: center; min-width: max-content; padding: 0 8px; }
:where(.org ul) { list-style: none; margin: 0; padding: 0; }
.org-row { display: flex; justify-content: center; position: relative; padding-top: 26px; }
.org-tree > .org-row { padding-top: 0; }
.org-row > li { position: relative; display: flex; flex-direction: column; align-items: center; padding: 26px 7px 0; }
.org-tree > .org-row > li { padding-top: 0; }
/* yatay bağlantı çizgileri */
.org-row > li::before, .org-row > li::after { content: ""; position: absolute; top: 0; right: 50%; width: 50%; height: 26px; border-top: 2px solid var(--org-line); }
.org-row > li::after { right: auto; left: 50%; border-left: 2px solid var(--org-line); }
.org-row > li:only-child::before, .org-row > li:only-child::after { display: none; }
.org-row > li:only-child { padding-top: 0; }
.org-row > li:first-child::before, .org-row > li:last-child::after { border: 0 none; }
.org-row > li:last-child::before { border-right: 2px solid var(--org-line); border-radius: 0 8px 0 0; }
.org-row > li:first-child::after { border-radius: 8px 0 0 0; }
.org-tree > .org-row > li::before, .org-tree > .org-row > li::after { display: none; }
/* üstten inen dikey çizgi */
.org li > ul::before { content: ""; position: absolute; top: 0; left: 50%; height: 26px; border-left: 2px solid var(--org-line); }
/* dikey dizilen alt birimler */
.org-stack { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 26px; position: relative; }
.org-stack > li { position: relative; }
.org-stack > li + li::before { content: ""; position: absolute; left: 50%; top: -12px; height: 12px; border-left: 2px solid var(--org-line); }
.org-box { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 158px; min-height: 64px; justify-content: center; padding: 10px 12px; border-radius: 12px; background: #0c447c; color: #fff; text-align: center; box-shadow: 0 4px 14px rgba(12, 68, 124, .22); transition: transform .15s, box-shadow .15s; }
a.org-box:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(12, 68, 124, .3); }
.org-box--root { width: 220px; background: #0a3a6b; border-bottom: 4px solid #8fd14f; padding: 14px; }
.org-box--unit { background: #164f88; }
.org-photo { display: block; flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #0a3160; border: 3px solid rgba(255,255,255,.85); margin-bottom: 6px; }
.org-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.org-box--root .org-photo { width: 84px; height: 84px; }
.org-name { font-size: .92rem; line-height: 1.25; }
.org-title { font-size: .8rem; color: #cfe0f3; line-height: 1.3; }
.org-box--unit .org-title { color: #fff; font-weight: 600; font-size: .86rem; }
.small-note { font-size: .88rem; text-align: center; }

@media (max-width: 1080px) { .spots { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spots--all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .preview-band ~ .header { top: 0; }
  .preview-band { position: static; }
  /* Telefonda şema: girintili dikey liste */
  .org-tree { display: block; min-width: 0; }
  .org-row, .org-stack { display: block; padding: 0 0 0 18px; margin-left: 10px; border-left: 2px solid var(--org-line); }
  .org-tree > .org-row { padding-left: 0; margin-left: 0; border-left: 0; }
  .org-row > li, .org-stack > li, .org-row > li:only-child { display: block; padding: 10px 0 0 0; }
  .org-row > li::before, .org-row > li::after, .org li > ul::before, .org-stack > li + li::before { display: none; }
  .org-row > li > .org-box, .org-stack > li > .org-box { position: relative; }
  .org-row .org-row > li > .org-box::before, .org-stack > li > .org-box::before { content: ""; position: absolute; left: -20px; top: 50%; width: 18px; border-top: 2px solid var(--org-line); }
  .org-box, .org-box--root { width: 100%; max-width: 340px; flex-direction: row; justify-content: flex-start; text-align: left; gap: 10px; min-height: 0; }
  .org-box > b, .org-box > span { display: block; }
  .org-photo, .org-box--root .org-photo { width: 44px; height: 44px; margin: 0; border-width: 2px; }
}
@media (max-width: 480px) { .spots, .spots--all { grid-template-columns: 1fr; } }

/* Ziyaretçi "Koyu tema" seçtiyse (tema düğmesi) */
:root.dark:not(.hc) {
    --navy: #8dbcf2; --navy-deep: #0b1a2b; --navy-soft: #13283f;
    --green: #8fcf5e; --green-soft: #1a2e12; --amber: #f0b45c; --amber-soft: #33240f;
    --slate: #b3c0cd; --slate-soft: #1e2833; --violet: #b7a4f0; --violet-soft: #241c3d; --red: #ff8a80;
    --bg: #0d141c; --surface: #151f2a; --ink: #e5ecf3; --muted: #9eadbc; --line: #253445;
    --shadow: 0 1px 2px rgba(0,0,0,.4); --shadow-lg: 0 8px 30px rgba(0,0,0,.5);
    color-scheme: dark;
  }
:root.dark:not(.hc) .btn-primary { color: #0b1a2b; }
:root.dark:not(.hc) .chip.is-on { color: #0b1a2b; } :root.dark:not(.hc) .chip.is-on small { color: #0b1a2b; }
:root.dark:not(.hc) .org { --org-line: #3d5b7a; }
@media (max-width: 600px) {
  /* Telefonda üst çubukta yalnızca telefon ve erişilebilirlik düğmeleri (diğer bağlantılar menüde ve sayfa altında) */
  .util-links a { display: none; }
  .util-row { overflow: visible; }
  .theme-label { display: none; }
}

/* Sayfa içi bağlantılarda (ör. #encumen) başlık sabit üst menünün altında kalmasın */
[id] { scroll-margin-top: 150px; }

/* =====================================================================
   2026-11 tasarım yenilemesi: tek satır başlık, tam genişlik bantlar,
   yeni ana sayfa ve alt bilgi. (Önceki kuralların üzerine yazar.)
   ===================================================================== */
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/assets/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2-variations"); 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/assets/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations"); 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 { --display: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; --ink-deep: #071b33; --navy-band: #0a3160; --lime: #b8dc93; --lime-ink: #12300a; --pale: #dbe6f3; --pale-2: #c4d4e6; }
h1, h2, h3, .brand-text b { font-family: var(--display); letter-spacing: -.01em; }
.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding-left: max(40px, env(safe-area-inset-left)); padding-right: max(40px, env(safe-area-inset-right)); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { padding: 13px 24px; border-radius: 12px; font-weight: 700; }
.btn-lime { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.btn-ghost { background: transparent; }
.btn:focus-visible, .btn-lime:focus-visible { outline-offset: 3px; }

/* --- Üst şerit ve başlık --- */
.top { display: contents; }
.utility { background: var(--ink-deep); color: var(--pale); border-bottom: 1px solid rgba(255,255,255,.12); }
.util-row { min-height: 42px; gap: 28px; flex-wrap: nowrap; }
.util-links { gap: 22px; }
.header { background: #0c447c; }
.header-row { min-height: 88px; gap: 28px; }
.brand-logo { width: 60px; height: 60px; }
.brand-text b { font-size: 1.28rem; font-weight: 800; white-space: nowrap; }
.brand-text small { color: var(--lime); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.mainnav { background: none; border: 0; margin-left: auto; }
.nav-list { gap: 0; padding: 0; margin: 0; }
.nav-item > a { padding: 10px 13px; border-bottom: 0; border-radius: 10px; font-size: .98rem; white-space: nowrap; }
.nav-item > a:hover, .nav-item > a[aria-current] { background: rgba(255,255,255,.12); border-bottom: 0; }
.sub { top: calc(100% + 8px); border-radius: 14px; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.search { margin-left: 0; width: auto; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); transition: background .15s; }
.search input { width: 0; padding: 0; background: transparent; color: #fff; transition: width .2s, padding .2s; }
.search input::placeholder { color: #c9dcf2; }
.search:focus-within { background: #fff; outline: 3px solid #f5b400; }
.search:focus-within input { width: 210px; padding: 10px 4px 10px 16px; color: #17212c; }
.search:focus-within input::placeholder { color: #5b6875; }
.search button { background: transparent; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; }
.search:focus-within button { color: #0c447c; }
.ebel-btn { display: inline-flex; align-items: center; gap: 9px; background: #fff; color: #0c447c; font-weight: 700; padding: 11px 20px; border-radius: 999px; white-space: nowrap; }
.ebel-btn:hover { text-decoration: none; background: var(--lime); color: var(--lime-ink); }
.preview-band ~ .top .header { top: 44px; }

/* Ana sayfada başlık fotoğrafın üzerinde durur; kaydırınca sabitlenir */
.is-home .top { display: block; position: absolute; left: 0; right: 0; z-index: 40; }
.is-home .utility { background: transparent; }
.is-home .header { position: static; background: transparent; box-shadow: none; }
.is-home .header.is-stuck { position: fixed; top: 0; left: 0; right: 0; background: #0c447c; box-shadow: 0 2px 14px rgba(0,0,0,.2); animation: hdr-in .25s ease-out; }
.is-home .header.is-stuck .header-row { min-height: 72px; }
@keyframes hdr-in { from { transform: translateY(-100%); } to { transform: none; } }
@media (min-width: 1181px) { .is-home .search { display: none; } }

/* --- Ortak bant ve başlıklar --- */
.band { padding-block: 92px; }
.band--white { background: var(--surface); }
.band--navy { background: var(--navy-band); color: #fff; }
.band--ink { background: var(--ink-deep); color: #fff; }
.eyebrow { display: inline-block; font-family: var(--font); font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin: 0; }
.eyebrow--light { color: var(--lime); }
.eyebrow--rule { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow--rule::before { content: ""; width: 36px; height: 2px; background: currentColor; }
.h-xl { font-size: clamp(1.75rem, 3.1vw, 2.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 12px 0 0; }
.lead { color: var(--muted); font-size: 1.05rem; margin: 16px 0 0; }
.link-u { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 4px; }
.link-u:hover { text-decoration: none; }
.band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 42px; }
.band-note { margin: 0 0 4px; max-width: 420px; color: var(--pale-2); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pills a { padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .95rem; }
.pills a:hover { text-decoration: none; border-color: var(--navy); }
.pills a.is-on { background: #0c447c; border-color: #0c447c; color: #fff; }
.datebox { flex: none; width: 62px; height: 62px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; background: var(--navy-soft); color: var(--navy); }
.datebox b { font-family: var(--display); font-weight: 800; font-size: 1.45rem; }
.datebox small { font-size: .7rem; font-weight: 700; letter-spacing: .08em; }
.datebox--green { background: var(--green-soft); color: var(--green); }
.datebox--amber { background: var(--amber-soft); color: var(--amber); }
.datebox--slate { background: var(--slate-soft); color: var(--slate); }
.datebox--violet { background: var(--violet-soft); color: var(--violet); }
.datebox--bare { background: none; color: #fff; width: 52px; height: auto; }
.datebox--bare b { font-size: 1.6rem; } .datebox--bare small { color: var(--pale-2); }

/* --- Giriş (hero) --- */
.hx { position: relative; background: var(--ink-deep); color: #fff; overflow: hidden; }
.hx-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hx-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,22,43,.72) 0%, rgba(5,22,43,0) 30%, rgba(5,22,43,0) 60%, rgba(5,22,43,.9) 100%), linear-gradient(90deg, rgba(5,22,43,.94) 0%, rgba(5,22,43,.82) 38%, rgba(5,22,43,.4) 72%, rgba(5,22,43,.52) 100%); }
.hx-inner { position: relative; display: flex; align-items: flex-end; gap: 56px; flex-wrap: wrap; padding-top: 226px; padding-bottom: 96px; min-height: min(820px, 100vh); align-content: flex-end; }
.hx-text { flex: 999 1 560px; min-width: 0; }
.hx h1 { margin: 22px 0 0; font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1.06; text-wrap: wrap; letter-spacing: -.025em; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.hx .hero-accent { color: var(--lime); }
.hx-lead { margin: 22px 0 0; max-width: 56ch; font-size: 1.18rem; color: var(--pale); }
.hx-search { margin-top: 34px; max-width: 620px; display: flex; align-items: center; gap: 10px; background: #fff; color: #5b6875; border-radius: 16px; padding: 8px 8px 8px 20px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.hx-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: #17212c; height: 46px; font-size: 1rem; }
.hx-search input:focus { outline: none; }
.hx-search:focus-within { outline: 3px solid #f5b400; }
.hx-search button { border: 0; background: #0c447c; color: #fff; font-weight: 700; padding: 0 26px; height: 48px; border-radius: 11px; cursor: pointer; }
.hx-chips { margin: 18px 0 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .9rem; color: var(--pale-2); }
.hx-chips a { color: #fff; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; padding: 6px 14px; }
.hx-chips a:hover { text-decoration: none; background: rgba(255,255,255,.14); }
.hx-now { flex: 1 1 360px; max-width: 430px; background: rgba(7,27,51,.74); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: 24px 26px 10px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hx-now-head { display: flex; align-items: center; justify-content: space-between; }
.hx-now-head a { color: #fff; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 2px; }
.hx-now-item { display: flex; gap: 16px; align-items: center; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.14); color: #fff; font-weight: 600; line-height: 1.4; }
.hx-now-head + .hx-now-item { border-top: 0; }
.hx-now-item:hover { text-decoration: none; color: var(--lime); }
.hx-now-item > span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* --- Hızlı işlemler --- */
.split { display: flex; gap: 64px; flex-wrap: wrap; }
.split-side { flex: 1 1 280px; max-width: 340px; }
.split-side .link-u { margin-top: 28px; }
.qgrid { flex: 999 1 640px; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.qcard { display: flex; flex-direction: column; gap: 12px; background: var(--bg); color: var(--ink); border-radius: 18px; padding: 24px 22px 22px; min-height: 190px; transition: transform .18s, box-shadow .18s, background .18s; }
.qcard:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-lg); background: var(--surface); }
.qcard-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--surface); color: var(--navy); display: grid; place-items: center; }
.qcard:hover .qcard-ico { background: var(--navy-soft); }
.qcard b { font-family: var(--display); font-size: 1.1rem; line-height: 1.25; }
.qcard > span:last-child { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.qcard--main, .qcard--main:hover { background: #0c447c; color: #fff; }
.qcard--main .qcard-ico, .qcard--main:hover .qcard-ico { background: rgba(255,255,255,.16); color: #fff; }
.qcard--main > span:last-child { color: var(--pale); }
.pill-soon { font-family: var(--font); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--green-soft); color: var(--green); padding: 3px 8px; border-radius: 999px; vertical-align: middle; white-space: nowrap; }

/* --- Haberler --- */
.newsx { display: flex; gap: 28px; flex-wrap: wrap; }
.lead-card { flex: 999 1 560px; min-width: 0; position: relative; display: block; min-height: 540px; border-radius: 24px; overflow: hidden; color: #fff; background: var(--ink-deep); }
.lead-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .5s; }
.lead-card--fit img { object-fit: contain; object-position: center 20%; background: #fff; height: 62%; }
.lead-card:hover { text-decoration: none; color: #fff; }
.lead-card:hover img { transform: scale(1.03); }
.lead-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,22,43,0) 35%, rgba(5,22,43,.95) 100%); }
.lead-card--fit .lead-card-shade { background: linear-gradient(180deg, rgba(5,22,43,0) 40%, #071b33 62%); }
.lead-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px; }
.lead-card-meta { display: flex; align-items: center; gap: 14px; margin: 0; font-size: .9rem; color: var(--pale); }
.pill-type { background: #fff; color: #0c447c; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.lead-card h3 { margin: 16px 0 0; font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.15; max-width: 22em; }
.lead-card-body > p:last-child { margin: 14px 0 0; max-width: 60ch; color: var(--pale); }
.newslist { flex: 1 1 400px; min-width: 0; background: var(--surface); border-radius: 24px; padding: 10px 30px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.newsrow { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.newsrow:hover { text-decoration: none; }
.newsrow:hover b { color: var(--navy); }
.newsrow > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.newsrow b { font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.type { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.type--green { color: var(--green); } .type--amber { color: var(--amber); } .type--slate { color: var(--slate); } .type--violet { color: var(--violet); }
.newslist-all { margin-top: auto; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 14px; border-radius: 12px; background: var(--bg); font-weight: 700; }
.newsrow:last-of-type { border-bottom: 0; margin-bottom: 8px; }

/* --- Başkan --- */
.mayorx { position: relative; overflow: hidden; padding-block: 0; }
.ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 220px; }
.ridge-a { fill: #0c3a70; } .ridge-b { fill: #0e4380; }
.mayorx-row { position: relative; display: flex; gap: 64px; align-items: flex-end; flex-wrap: wrap; }
.mayorx-photo { flex: 1 1 320px; max-width: 440px; padding-top: 56px; }
.mayorx-photo img { width: 100%; height: auto; }
.mayorx-body { flex: 999 1 480px; min-width: 0; padding-block: 92px; }
.quote-mark { display: block; margin-top: 26px; fill: var(--lime); }
.mayorx blockquote { margin: 22px 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 2.1rem); line-height: 1.32; max-width: 24em; }
.mayorx-foot { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mayorx-foot p { margin: 0; display: flex; flex-direction: column; }
.mayorx-foot p b { font-family: var(--display); font-weight: 800; font-size: 1.35rem; }
.mayorx-foot p span { color: var(--pale-2); }

/* --- İlan kutuları --- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.panelx { border: 1px solid var(--line); border-radius: 22px; padding: 28px 28px 20px; display: flex; flex-direction: column; background: var(--surface); }
.panelx-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.panelx-head h2 { margin: 0; font-size: 1.3rem; font-weight: 800; }
.panelx-head .more { margin-left: auto; font-size: .92rem; }
.panelx-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-soft); color: var(--navy); flex: none; }
.panelx-ico--amber { background: var(--amber-soft); color: var(--amber); }
.panelx-ico--slate { background: var(--slate-soft); color: var(--slate); }
.panelx-list { list-style: none; margin: 0; padding: 0; }
.panelx-list li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.panelx-list li:first-child { border-top: 0; }
.panelx-list a { color: var(--ink); font-weight: 600; line-height: 1.4; }
.panelx-list li > span { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }
.status-pill { background: var(--slate-soft); color: var(--slate); font-weight: 600; font-size: .78rem; padding: 2px 10px; border-radius: 999px; }
.status-pill--acik { background: var(--green-soft); color: var(--green); }
.status-pill--iptal { background: #fde8e6; color: #9b1c12; }
.panelx-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 36px 10px; color: var(--muted); font-size: .92rem; }
.panelx-empty b { color: var(--ink); font-size: 1rem; }
.panelx--dark { background: var(--ink-deep); border-color: var(--ink-deep); color: #fff; gap: 14px; padding-bottom: 28px; }
.panelx--dark .panelx-ico { background: rgba(255,255,255,.14); color: #fff; }
.bigline { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.1); border-radius: 14px; padding: 16px 20px; color: #fff; }
.bigline:hover { text-decoration: none; background: rgba(255,255,255,.17); }
.bigline span { display: flex; flex-direction: column; }
.bigline small { color: var(--pale-2); font-size: .88rem; }
.bigline b { font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.bigline .bigline-sm { font-size: 1.4rem; }
.panelx--dark .btn { margin-top: auto; justify-content: center; }

/* --- Keşfedin --- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 270px; gap: 18px; }
.bento-item { position: relative; display: block; border-radius: 22px; overflow: hidden; color: #fff; background: #0c2e55; }
.bento-item--1 { grid-column: span 2; grid-row: span 2; }
.bento-item--2 { grid-row: span 2; }
.bento-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bento-item:hover img { transform: scale(1.05); }
.bento-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,22,43,0) 42%, rgba(5,22,43,.9) 100%); }
.bento-cap { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; }
.bento-cap small { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.bento-cap b { font-family: var(--display); font-weight: 800; font-size: 1.4rem; line-height: 1.15; }
.bento-item--1 .bento-cap b { font-size: 2.1rem; }
.bento-item:hover { text-decoration: none; color: #fff; }
.aboutbar { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 26px 32px; }
.aboutbar > div { display: flex; flex-direction: column; gap: 4px; }
.aboutbar b { font-family: var(--display); font-weight: 800; font-size: 1.35rem; }
.aboutbar > div span { color: var(--pale-2); }

/* --- Projeler --- */
.projx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.projx-card { display: flex; flex-direction: column; background: var(--surface); border-radius: 22px; overflow: hidden; color: var(--ink); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.projx-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.projx-media { display: block; height: 250px; background: var(--navy-soft); overflow: hidden; }
.projx-media img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s; }
.projx-card:hover .projx-media img { scale: 1.04; }
.projx-body { display: flex; align-items: center; gap: 16px; padding: 24px 26px 26px; }
.projx-body small { font-family: var(--display); font-weight: 800; color: var(--green); }
.projx-body b { font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
.projx-body i { margin-left: auto; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; }

/* --- Çağrı kutusu (alt bilgiye taşar) --- */
.ctax { position: relative; z-index: 1; margin-bottom: -88px; padding-top: 8px; }
.ctax-box { position: relative; overflow: hidden; background: #0c447c; color: #fff; border-radius: 26px; padding: 46px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; box-shadow: 0 24px 60px rgba(5,22,43,.35); }
.ctax-box svg { position: absolute; right: 0; bottom: 0; width: 60%; height: 100%; fill: #0f4f8e; }
.ctax-box > div, .ctax-box > .btns { position: relative; }
.ctax-box > div { flex: 999 1 420px; }
.ctax-box h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 800; }
.ctax-box p { margin: 10px 0 0; color: var(--pale); max-width: 60ch; font-size: 1.05rem; }
.ctax + .footer, main:has(.ctax) + .footer { margin-top: 0; }
main:has(.ctax) + .footer .footer-grid { padding-top: 150px; }

/* --- Alt bilgi --- */
.footer { background: var(--ink-deep); color: var(--pale); margin-top: 72px; }
.footer-grid { display: flex; gap: 56px; flex-wrap: wrap; padding-block: 72px 56px; grid-template-columns: none; }
.footer-brand { flex: 1 1 300px; max-width: 400px; }
.footer-logo { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.footer-brand .footer-logo img { margin: 0; }
.footer-logo p { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.footer-logo b { font-family: var(--display); font-weight: 800; font-size: 1.45rem; line-height: 1.15; color: #fff; }
.footer-logo small { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.footer .contact-list { gap: 13px; }
.contact-list .ico { color: var(--lime); }
.contact-list a { font-weight: 600; }
.footer-cols { flex: 999 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer h2 { font-family: var(--display); font-size: .86rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 18px; }
.footer-cols ul { gap: 12px; }
.footer-cols a { color: var(--pale); }
.footer-cols a:hover { color: #fff; }
.social { margin-top: 22px; }
.social a { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px 14px; font-size: .88rem; }
/* Kardeş belediye kartı (alt bilgi) */
.kardes { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 14px 18px 14px 14px; max-width: 360px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--pale); transition: background .2s, border-color .2s, transform .2s; }
a.kardes:hover { text-decoration: none; background: rgba(255,255,255,.1); border-color: rgba(185,224,138,.55); transform: translateY(-2px); }
.kardes-logo { flex: none; width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.footer-brand .kardes-logo img { width: 54px; height: 54px; margin: 0; object-fit: contain; }
.kardes-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kardes-txt small { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.kardes-txt b { font-family: var(--display); font-size: 1.08rem; font-weight: 800; color: #fff; line-height: 1.2; }
.kardes-meta { display: inline-flex; align-items: center; gap: 5px; font-size: .84rem; color: var(--pale-2); }
a.kardes:hover .kardes-meta { color: #fff; }
:root.hc .kardes { background: #000; border: 2px solid #fff; }
.footer-ridge { display: block; width: 100%; height: 110px; }
.footer-ridge .ridge-a { fill: #0a2647; } .footer-ridge .ridge-b { fill: #0c2e55; }
.footer-bottom { background: #0c2e55; border-top: 0; padding-block: 20px 24px; color: var(--pale-2); }
.footer-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a { color: var(--pale-2); }
.footer-bottom a:hover { color: #fff; }

/* --- Koyu tema ve yüksek kontrast uyumu --- */
:root.dark:not(.hc) .qcard--main, :root.dark:not(.hc) .pills a.is-on { color: #fff; }
:root.dark:not(.hc) .band--white { background: #101924; }
:root.hc .hx-shade { background: rgba(0,0,0,.78); }
:root.hc .eyebrow--light, :root.hc .hx .hero-accent { color: #fff; }

/* --- Dar ekranlar --- */
@media (max-width: 1320px) {
  .nav-item > a { padding: 10px 9px; font-size: .94rem; }
  .header-row { gap: 18px; }
  .qgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .wrap { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
  .header-row { flex-wrap: wrap; min-height: 0; padding-block: 12px; gap: 12px; }
  .nav-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; padding: 10px 14px; font-weight: 600; cursor: pointer; min-height: 44px; }
  .search { margin-left: auto; }
  .is-home .search { display: none; }
  .is-home .ebel-btn { margin-left: auto; }
  .mainnav { display: none; order: 9; width: 100%; margin: 0; max-height: calc(100vh - 150px); overflow-y: auto; background: #0a3a6b; border-radius: 14px; }
  .mainnav.is-open { display: block; }
  .nav-list { flex-direction: column; padding: 8px; }
  .nav-item { flex-wrap: wrap; }
  .nav-item > a { flex: 1; padding: 13px 12px; font-size: 1rem; border-radius: 10px; }
  .sub-toggle { display: block; background: none; border: 0; color: #fff; padding: 12px 16px; cursor: pointer; font-size: 1rem; }
  .sub-toggle[aria-expanded="true"] span { display: inline-block; transform: rotate(180deg); }
  .sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; width: 100%; box-shadow: none; border-radius: 10px; margin: 4px 0 8px; }
  .sub::before { display: none; }
  .nav-item.open > .sub, .nav-item.open:hover > .sub { display: block; }
  .nav-item:hover > .sub { display: none; }
  .qgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trio { grid-template-columns: 1fr 1fr; }
  .trio .panelx--dark { grid-column: 1 / -1; }
  .projx { grid-template-columns: 1fr 1fr; }
  .bento { grid-auto-rows: 220px; }
  .hx-inner { padding-top: 190px; }
}
@media (max-width: 820px) {
  .wrap { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
  .band { padding-block: 52px; }
  .band-head { margin-bottom: 26px; }
  .util-row { gap: 12px; }
  .brand-logo { width: 46px; height: 46px; }
  .brand-text b { font-size: 1.04rem; }
  .brand-text small { font-size: .66rem; }
  .ebel-btn { display: none; }
  .nav-btn { margin-left: auto; }
  .search { order: 5; width: 100%; margin: 0; background: #fff; }
  .search input { width: auto; flex: 1; padding: 10px 14px; color: #17212c; }
  .search input::placeholder { color: #5b6875; }
  .search button { color: #0c447c; }
  .is-home .search { display: none; }
  .hx-inner { padding-top: 200px; padding-bottom: 44px; gap: 28px; min-height: 0; }
  .hx-search { padding: 6px 6px 6px 16px; border-radius: 14px; }
  .hx-search .ico { display: none; }
  .hx-search button { padding: 0 20px; height: 46px; }
  .hx-now { max-width: none; padding: 18px 20px 6px; }
  .split { gap: 26px; }
  .split-side { max-width: none; }
  .qgrid { grid-template-columns: 1fr 1fr; gap: 12px; flex-basis: 100%; }
  .qcard { min-height: 0; padding: 18px 16px; border-radius: 16px; }
  .qcard > span:last-child { display: none; }
  .lead-card { min-height: 400px; flex-basis: 100%; border-radius: 20px; }
  .lead-card-body { padding: 22px; }
  .lead-card-body > p:last-child { display: none; }
  .newslist { padding: 4px 18px 16px; border-radius: 20px; flex-basis: 100%; }
  .newsrow { padding: 16px 0; gap: 14px; }
  .datebox { width: 54px; height: 54px; border-radius: 12px; }
  .mayorx-row { flex-direction: column-reverse; align-items: stretch; gap: 0; }
  .mayorx-body { padding-block: 48px 0; flex: none; }
  .mayorx-photo { max-width: 300px; margin: 0 auto; padding-top: 22px; flex: none; }
  .ridge { height: 120px; }
  .trio, .projx { grid-template-columns: 1fr; gap: 16px; }
  .panelx { padding: 22px 20px 16px; border-radius: 20px; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(180px, auto); gap: 12px; }
  .bento-item--1 { grid-column: 1 / -1; grid-row: auto; min-height: 250px; }
  .bento-item--2 { grid-row: auto; }
  .bento-item--4 { grid-column: 1 / -1; }
  .bento-item--1 .bento-cap b { font-size: 1.6rem; }
  .bento-cap { left: 16px; right: 16px; bottom: 14px; }
  .aboutbar { padding: 22px 20px; border-radius: 20px; }
  .aboutbar .btn, .ctax-box .btn { flex: 1 1 auto; justify-content: center; }
  .projx-media { height: 210px; }
  .ctax-box { padding: 28px 22px; border-radius: 20px; }
  .footer-grid { gap: 36px; padding-block: 48px 36px; }
  main:has(.ctax) + .footer .footer-grid { padding-top: 130px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-ridge { height: 60px; }
}
@media (max-width: 420px) {
  .brand-text small { display: none; }
  .hx-chips span { width: 100%; }
}

/* Başvuru formu bölümleri (türe göre değişen alanlar) */
[hidden] { display: none !important; }
.form-sec { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.form-sec legend { font-family: var(--display); font-weight: 800; font-size: 1.08rem; padding: 0; margin-bottom: 12px; }
.form-sec[data-for-kind] { background: var(--navy-soft); border-radius: 14px; padding: 18px 18px 20px; }
.form-sec[data-for-kind] legend { float: left; width: 100%; margin-bottom: 12px; }
.form-sec[data-for-kind] .form-grid { clear: both; }
.form-sec[data-for-kind] .field input { background: var(--surface); }
.field .hint { color: var(--muted); font-size: .84rem; }

/* Haber fotoğraf kaydırıcısı */
.slider { position: relative; margin: 0 0 22px; border-radius: 14px; overflow: hidden; background: #0b1a2b; }
.slider-viewport { overflow: hidden; touch-action: pan-y; }
.slider-track { display: flex; transition: transform .45s cubic-bezier(.22,.7,.2,1); }
.slide { flex: 0 0 100%; display: block; aspect-ratio: 16 / 10; cursor: zoom-in; }
.slide img { width: 100%; height: 100%; object-fit: contain; }
.slider-btn { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: #0c447c; box-shadow: 0 4px 16px rgba(0,0,0,.25); cursor: pointer; transition: transform .15s, background .15s; }
.slider-btn:hover { background: #fff; transform: scale(1.06); }
.slider-prev { left: 14px; } .slider-next { right: 14px; }
.slider-count { position: absolute; right: 14px; bottom: 12px; background: rgba(7,27,51,.78); color: #fff; font-size: .82rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.gallery-grid a { display: block; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.gallery-grid img { transition: transform .3s, opacity .2s; }
.gallery-grid a:hover img { transform: scale(1.05); }
@media (max-width: 600px) {
  .slider { border-radius: 12px; margin-inline: -4px; }
  .slider-btn { width: 40px; height: 40px; margin-top: -20px; }
  .slider-prev { left: 8px; } .slider-next { right: 8px; }
}

/* Büyütme penceresi */
html.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4,12,22,.94); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(4,12,22,.94); }
.lb-stage { position: absolute; inset: 56px 72px 64px; display: grid; place-items: center; touch-action: pan-y; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.5); transition: opacity .2s; user-select: none; -webkit-user-drag: none; }
.lb-img.is-loading { opacity: .35; }
.lb-btn, .lb-close { position: absolute; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; border-radius: 50%; cursor: pointer; transition: background .15s; }
.lb-btn:hover, .lb-close:hover { background: rgba(255,255,255,.24); }
.lb-btn { top: 50%; width: 56px; height: 56px; margin-top: -28px; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-close { top: 12px; right: 12px; width: 46px; height: 46px; }
.lb-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; font-size: .95rem; color: #dbe6f3; }
.lb-count { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 600px) {
  .lb-stage { inset: 60px 6px 64px; }
  .lb-btn { top: auto; bottom: 10px; margin: 0; width: 46px; height: 46px; }
  .lb-prev { left: auto; right: 64px; } .lb-next { right: 12px; }
  .lb-bar { padding: 18px 130px 18px 16px; }
}

/* Ana sayfa haber geçişi */
.lead-stage { flex: 999 1 560px; min-width: 0; position: relative; min-height: 540px; border-radius: 24px; overflow: hidden; background: var(--ink-deep); touch-action: pan-y; }
.lead-stage .lead-card { position: absolute; inset: 0; min-height: 0; flex: none; border-radius: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.lead-stage .lead-card.is-on { opacity: 1; visibility: visible; transition: opacity .6s ease; z-index: 1; }
.lead-stage .lead-card img { transform: scale(1.04); transition: transform 7.5s ease-out; }
.lead-stage .lead-card.is-on img { transform: scale(1); }
.lead-stage .lead-card:hover img { transform: scale(1.02); transition-duration: .5s; }
.lead-card-body { padding-right: 190px; }
.lead-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--lime); }
.lead-card:hover .lead-go { text-decoration: underline; }
.lead-nav { position: absolute; z-index: 2; right: 28px; bottom: 34px; display: flex; align-items: center; gap: 10px; }
.lead-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(7,27,51,.45); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lead-btn:hover { background: rgba(255,255,255,.22); }
.lead-count { color: #fff; font-weight: 700; font-size: .9rem; min-width: 42px; text-align: center; font-variant-numeric: tabular-nums; }
.newsrow { position: relative; border-radius: 14px; padding-inline: 12px; margin-inline: -12px; transition: background .2s; }
.newsrow.is-on { background: var(--navy-soft); border-bottom-color: transparent; }
.newsrow.is-on b { color: var(--navy); }
.newsrow-bar { position: absolute; left: 12px; right: 12px; bottom: 6px; height: 3px; border-radius: 3px; background: transparent; overflow: hidden; }
.newsrow.is-on .newsrow-bar::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform-origin: left; transform: scaleX(0); }
[data-news].is-running .newsrow.is-on .newsrow-bar::after { animation: news-progress 7s linear forwards; }
@keyframes news-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.newslist .newsrow:last-of-type { border-bottom: 0; }
@media (max-width: 820px) {
  .lead-stage { min-height: 420px; border-radius: 20px; flex-basis: 100%; }
  .lead-card-body { padding-right: 22px; padding-bottom: 76px; }
  .lead-nav { left: 22px; right: auto; bottom: 20px; }
  .lead-go { display: none; }
  .newsrow { margin-inline: -8px; padding-inline: 8px; }
  .newsrow.is-on { background: none; }
  .newsrow.is-on b { color: var(--ink); }
  .newsrow-bar { display: none; }
}
/* Haber satırları: çizgiler köşelerde kıvrılmasın (ayırıcı ayrı çizilir) */
.newslist .newsrow { border-bottom: 0; }
.newslist .newsrow + .newsrow::before { content: ""; position: absolute; left: 12px; right: 12px; top: 0; border-top: 1px solid var(--line); }
.newslist .newsrow.is-on::before, .newslist .newsrow.is-on + .newsrow::before { display: none; }
@media (max-width: 820px) {
  .newslist .newsrow { border-radius: 0; }
  .newslist .newsrow + .newsrow::before, .newslist .newsrow.is-on::before, .newslist .newsrow.is-on + .newsrow::before { display: block; left: 8px; right: 8px; }
}

/* Tıklayınca yüklenen harita / video kutusu */
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--navy-soft), var(--green-soft)); border: 1px solid var(--line); display: grid; place-items: center; }
.map .embed { aspect-ratio: auto; min-height: 280px; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-msg { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 22px; max-width: 460px; color: var(--ink); }
.embed-msg .ico { color: var(--navy); }
.embed-msg p { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.embed-msg p span { color: var(--muted); font-size: .88rem; }
.embed-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.prose .embed { margin: 18px 0; }
.video .embed { margin-top: 20px; }
/* Giriş fotoğrafı daha aydınlık: karartma yalnızca yazının durduğu sol tarafta ve üst/alt kenarlarda */
.hx-shade { background:
  linear-gradient(180deg, rgba(5,22,43,.55) 0%, rgba(5,22,43,0) 24%, rgba(5,22,43,0) 72%, rgba(5,22,43,.6) 100%),
  linear-gradient(90deg, rgba(5,22,43,.78) 0%, rgba(5,22,43,.58) 34%, rgba(5,22,43,.16) 64%, rgba(5,22,43,.1) 100%); }
.hx h1 { text-shadow: 0 2px 18px rgba(0,0,0,.45), 0 1px 3px rgba(0,0,0,.35); }
.hx-lead, .hx-chips, .hx .eyebrow { text-shadow: 0 1px 8px rgba(0,0,0,.45); }
@media (max-width: 820px) {
  .hx-shade { background: linear-gradient(180deg, rgba(5,22,43,.6) 0%, rgba(5,22,43,.35) 35%, rgba(5,22,43,.55) 70%, rgba(5,22,43,.85) 100%); }
}
/* Giriş fotoğrafı tamamen aydınlık: fotoğrafın üstünde karartma yok.
   Yazılar okunur kalsın diye yalnızca harflere gölge verilir; menü için en üstte ince bir geçiş kalır. */
.hx-shade, :root .hx-shade { background: linear-gradient(180deg, rgba(5,22,43,.42) 0, rgba(5,22,43,0) 150px); }
.hx h1 { text-shadow: 0 2px 4px rgba(0,0,0,.55), 0 4px 24px rgba(0,0,0,.55), 0 0 2px rgba(0,0,0,.4); }
.hx .hero-accent { color: #c9ec9f; }
.hx-lead, .hx-chips span, .hx .eyebrow { text-shadow: 0 1px 3px rgba(0,0,0,.7), 0 2px 14px rgba(0,0,0,.55); }
.hx .eyebrow--rule::before { box-shadow: 0 1px 3px rgba(0,0,0,.5); }
.hx-chips a { background: rgba(7,27,51,.55); border-color: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hx-now { background: rgba(7,27,51,.8); }
.is-home .utility, .is-home .header:not(.is-stuck) .nav-item > a, .is-home .brand-text { text-shadow: 0 1px 3px rgba(0,0,0,.6); }
@media (max-width: 820px) {
  .hx-shade, :root .hx-shade { background: linear-gradient(180deg, rgba(5,22,43,.45) 0, rgba(5,22,43,0) 140px); }
}
:root.hc .hx-shade { background: rgba(0,0,0,.78); }
/* Aydınlık fotoğraf üzerinde küçük yazılar: ince koyu zemin */
.hx .eyebrow--rule { background: rgba(7,27,51,.62); padding: 7px 14px 7px 12px; border-radius: 999px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); text-shadow: none; }
.hx .eyebrow--rule::before { width: 22px; box-shadow: none; }
.hx-chips span { background: rgba(7,27,51,.62); color: #fff; padding: 6px 12px; border-radius: 999px; text-shadow: none; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.is-home .header:not(.is-stuck) .brand-text small { color: #e9f6dc; }
@media (max-width: 820px) { .hx-chips span { width: auto; } }
/* Açık olan erişilebilirlik ayarı (A+, Kontrast) belirgin görünsün */
.a11y-btn[aria-pressed="true"] { background: #f5b400; color: #1a1300; font-weight: 700; text-shadow: none; }
.a11y-btn[aria-pressed="true"][data-a11y="contrast"]::after { content: " açık"; }
/* Yüksek kontrastta da giriş fotoğrafı görünsün: koyulaştırma hafif, yazılar koyu zeminli */
:root.hc .hx-shade { background: rgba(0,0,0,.35); }
:root.hc .hx h1 { text-shadow: 0 2px 4px #000, 0 0 18px #000; }
/* Giriş fotoğrafı yukarı kaydırıldı: fotoğrafın alt kısmı (Köroğlu anıtı ve "Dörtdivan" yazısı) daha çok görünür */
.hx-media { object-position: center 96%; }

/* Metin içi fotoğraf grubu (proje sayfaları): <figure> içinde birden çok görsel ızgara olur, tıklanınca büyür */
.prose a.prose-zoom { display: inline-block; cursor: zoom-in; border-radius: 10px; overflow: hidden; line-height: 0; max-width: 100%; }
.prose a.prose-zoom img { transition: transform .3s; }
.prose a.prose-zoom:hover img, .prose a.prose-zoom:focus-visible img { transform: scale(1.04); }
.prose figure:has(img + img), .prose figure:has(a + a) { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 24px 0; }
.prose figure:has(img + img) img, .prose figure:has(a + a) img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; margin: 0; }
.prose figure:has(a + a) a.prose-zoom { display: block; }
.prose figure figcaption { grid-column: 1 / -1; font-size: .875rem; color: var(--muted, #5b6472); }
@media (max-width: 600px) { .prose figure:has(img + img), .prose figure:has(a + a) { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Giriş bölümü: Başkan görseli (solda, arka planı kaldırılmış) — yalnızca geniş ekranlarda.
   Konumlar Site Ayarları'ndan: --hx-text-x (yazı bloğu sağa/sola), --hx-baskan-x / -y (görsel), --hx-baskan-s (görsel boyutu) */
.hx-baskan { display: none; }
@media (min-width: 1240px) {
  .hx-text { margin-left: var(--hx-text-x, 0px); position: relative; top: calc(var(--hx-text-y, 0px) * -1); }
  .hx--baskan .hx-inner { padding-left: calc(max(40px, env(safe-area-inset-left)) + clamp(290px, 21vw, 370px)); gap: 36px; }
  .hx-baskan { display: block; position: absolute; left: calc(max(4px, env(safe-area-inset-left)) + var(--hx-baskan-x, 0px)); bottom: var(--hx-baskan-y, 0px); margin: 0; width: calc(clamp(300px, 22vw, 390px) * var(--hx-baskan-s, 1)); height: calc((100% - 140px) * var(--hx-baskan-s, 1)); pointer-events: none; }
  .hx-baskan::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 140%; height: 85%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(5,22,43,.6), rgba(5,22,43,0)); }
  .hx-baskan img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 18px 34px rgba(0,0,0,.45)); -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, #000 84%, transparent 100%); }
  .hx--baskan .hx-text { flex-basis: 520px; }
  .hx--baskan h1 { font-size: clamp(2.05rem, 2.55vw, 2.4rem); }
  .hx--baskan .hx-now { flex-basis: 310px; max-width: 370px; }
}

/* Mevzuat sayfası */
.mz-note { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.mz-note svg { flex: none; margin-top: 3px; color: var(--navy); }
.mz-group { margin-top: 8px; }
.mz-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.mz-item { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.mz-item:hover { text-decoration: none; border-color: var(--navy); box-shadow: var(--shadow); }
.mz-item > svg { flex: none; margin-left: auto; color: var(--muted); }
.mz-item:hover > svg { color: var(--navy); }
.mz-kind { flex: none; min-width: 104px; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.mz-kind i { font-style: normal; font-size: 1.05rem; letter-spacing: 0; font-weight: 800; color: var(--ink); }
.mz-kind--tarife, .mz-kind--yonerge { color: var(--green); }
.mz-kind--yonetmelik { color: var(--violet); }
.mz-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mz-text b { font-weight: 650; line-height: 1.35; }
.mz-text small { color: var(--muted); font-size: .84rem; }
.mz-foot { margin-top: 26px; font-size: .92rem; }
@media (max-width: 560px) {
  .mz-item { flex-wrap: wrap; gap: 6px 12px; padding: 12px 14px; }
  .mz-kind { min-width: 0; flex-direction: row; align-items: baseline; gap: 6px; }
  .mz-text { flex: 1 1 100%; order: 3; }
  .mz-item > svg { order: 2; }
}

/* ===================== Erişilebilirlik menüsü ve ayarları ===================== */
@font-face { font-family: "OpenDyslexic"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/opendyslexic-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "OpenDyslexic"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/opendyslexic-latin-700-normal.woff2) format("woff2"); }

/* Büyük metin (3 kademe) */
:root.a11y-fs1 { --fs: 18px; }
:root.a11y-fs2 { --fs: 20px; }
:root.a11y-fs3 { --fs: 22px; }
/* Satır aralığı (3 kademe) */
:root.a11y-lh1 body :where(p, li, dd, dt, td, th, blockquote, figcaption, label, small, .lead, h1, h2, h3, h4, h5, h6):not(#erisim *) { line-height: 1.9 !important; }
:root.a11y-lh2 body :where(p, li, dd, dt, td, th, blockquote, figcaption, label, small, .lead, h1, h2, h3, h4, h5, h6):not(#erisim *) { line-height: 2.2 !important; }
:root.a11y-lh3 body :where(p, li, dd, dt, td, th, blockquote, figcaption, label, small, .lead, h1, h2, h3, h4, h5, h6):not(#erisim *) { line-height: 2.5 !important; }
/* Bağlantıları vurgula */
:root.a11y-links a:not(#erisim *) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px !important; outline: 3px solid #f5b400 !important; outline-offset: 2px; border-radius: 3px; }
/* Metni sola hizala */
:root.a11y-align body :where(p, li, dd, dt, td, th, blockquote, figcaption, .lead, h1, h2, h3, h4, h5, h6):not(#erisim *) { text-align: left !important; }
/* Disleksi dostu yazı tipi (yalnızca açıldığında indirilir) */
:root.a11y-dys body, :root.a11y-dys body :where(*:not(svg, svg *, #erisim, #erisim *)) { font-family: "OpenDyslexic", var(--font) !important; word-spacing: .08em; }
/* Büyük imleç */
:root.a11y-cursor, :root.a11y-cursor * { cursor: url(/assets/img/imlec.svg) 6 3, auto !important; }
:root.a11y-cursor :where(a, button, summary, select, label, [role="button"], input[type="checkbox"], input[type="radio"], input[type="submit"]),
:root.a11y-cursor :where(a, button, summary, label, [role="button"]) * { cursor: url(/assets/img/imlec-el.svg) 6 3, pointer !important; }
:root.a11y-cursor :where(input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea) { cursor: text !important; }
/* Renk ayarları — yalnızca biri açık olur. Kök öğeye uygulanır: sabit konumlu öğeler (üst menü, bu menü) bozulmaz */
:root.a11y-gray { filter: grayscale(1); }
:root.a11y-low { filter: saturate(.35); }
:root.a11y-high { filter: saturate(1.9); }
/* Resimleri gizle (yerleşim bozulmasın diye yer korunur) */
:root.a11y-noimg :where(img, picture, video):not(#erisim *) { visibility: hidden !important; }
:root.a11y-noimg [style*="background-image"] { background-image: none !important; }
/* Ekran okuyucunun o an okuduğu öğe */
:root.a11y-tts .erisim-okunan { outline: 3px solid #f5b400 !important; outline-offset: 3px; background-color: rgba(245, 180, 0, .14) !important; border-radius: 4px; }

/* Okuma kılavuzu ve maskesi */
.erisim-kilavuz { position: fixed; left: 0; right: 0; top: 0; height: 12px; z-index: 990; pointer-events: none; background: rgba(245, 180, 0, .9); border-top: 2px solid #1b1300; border-bottom: 2px solid #1b1300; box-shadow: 0 0 0 1px rgba(255,255,255,.6); }
.erisim-maske { position: fixed; left: 0; right: 0; z-index: 989; pointer-events: none; background: rgba(4, 12, 22, .62); }
.erisim-maske--ust { top: 0; height: 0; }
.erisim-maske--alt { bottom: 0; top: 100%; }

/* Menü düğmesi ve paneli (px: sayfa yazısı büyütülse de menü taşmaz) */
.erisim { font-family: var(--font); font-size: 15px; line-height: 1.4; color: #17212c; }
.erisim-fab { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 1000; width: 58px; height: 58px; border-radius: 50%; border: 3px solid #fff; background: #0c447c; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 22px rgba(7, 27, 51, .35); transition: transform .15s, background-color .15s; padding: 0; }
.erisim-fab:hover { transform: scale(1.06); background: #0a3866; }
.erisim-fab:focus-visible { outline: 3px solid #f5b400; outline-offset: 3px; }
.erisim-fab[aria-expanded="true"] { background: #072c52; }
.erisim-fab-dot { position: absolute; top: -2px; right: -2px; width: 16px; height: 16px; border-radius: 50%; background: #f5b400; border: 3px solid #fff; display: none; }
.erisim-fab.has-on .erisim-fab-dot { display: block; }
.erisim-panel { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(max(20px, env(safe-area-inset-bottom)) + 72px); z-index: 1000; width: 392px; max-height: min(680px, calc(100vh - 120px)); max-height: min(680px, calc(100dvh - 120px)); overflow: auto; overscroll-behavior: contain; background: #fff; border-radius: 18px; box-shadow: 0 18px 60px rgba(7, 27, 51, .32), 0 0 0 1px rgba(7, 27, 51, .06); animation: erisim-in .16s ease-out; }
.erisim-panel[hidden] { display: none; }
@keyframes erisim-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.erisim-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: #0c447c; color: #fff; border-radius: 18px 18px 0 0; }
.erisim-logo { flex: none; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.erisim-logo svg { width: 26px; height: 26px; }
.erisim-head h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: 0; color: #fff; font-family: var(--display); }
.erisim-head p { margin: 2px 0 0; font-size: 12.5px; color: #dbe6f3; }
.erisim-head kbd { font: inherit; font-weight: 700; background: rgba(255,255,255,.16); border-radius: 4px; padding: 0 5px; }
.erisim-x { margin-left: auto; flex: none; width: 38px; height: 38px; border-radius: 10px; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.erisim-x:hover { background: rgba(255,255,255,.24); }
.erisim-x:focus-visible, .erisim-tile:focus-visible, .erisim-sifirla:focus-visible { outline: 3px solid #f5b400; outline-offset: 2px; }
.erisim-durum { margin: 0; padding: 0 18px; min-height: 0; font-size: 13px; color: #0c447c; font-weight: 600; }
.erisim-durum:not(:empty) { padding: 10px 18px 0; }
.erisim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 16px 6px; }
.erisim-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 92px; padding: 13px 14px 12px; border: 1.5px solid #dde4ec; border-radius: 14px; background: #f6f8fb; color: #17212c; font: inherit; font-size: 14px; font-weight: 650; text-align: left; cursor: pointer; transition: background-color .12s, border-color .12s, color .12s; }
.erisim-tile:hover { border-color: #0c447c; background: #eef3fa; }
.erisim-tile[aria-pressed="true"] { background: #0c447c; border-color: #0c447c; color: #fff; }
.erisim-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; color: #0c447c; box-shadow: 0 1px 2px rgba(16,32,56,.08); }
.erisim-tile[aria-pressed="true"] .erisim-ic { background: rgba(255,255,255,.16); color: #fff; box-shadow: none; }
.erisim-ad { line-height: 1.25; }
.erisim-dots { display: flex; gap: 5px; margin-top: auto; }
.erisim-dot { width: 22px; height: 5px; border-radius: 3px; background: #cfd8e3; }
.erisim-tile[aria-pressed="true"] .erisim-dot { background: rgba(255,255,255,.3); }
.erisim-dot.is-on { background: #f5b400 !important; }
.erisim-check { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c3cdd8; }
.erisim-tile[aria-pressed="true"] .erisim-check { border-color: #f5b400; background: #f5b400 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1300' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.erisim-foot { padding: 8px 16px 16px; }
.erisim-sifirla { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 14px; border: 1.5px solid #0c447c; border-radius: 12px; background: #fff; color: #0c447c; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.erisim-sifirla:hover { background: #0c447c; color: #fff; }
.erisim-foot p { margin: 10px 0 0; font-size: 12.5px; color: #5b6875; text-align: center; }
.erisim-foot a { color: #0c447c; font-weight: 600; }

/* Ekran okuyucu bilgi şeridi */
.erisim-okuyucu { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 1000; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 120px); padding: 10px 10px 10px 14px; border-radius: 14px; background: #072c52; color: #fff; box-shadow: 0 10px 34px rgba(7, 27, 51, .35); }
.erisim-okuyucu-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f5b400; color: #1b1300; }
.erisim-okuyucu-txt { display: flex; flex-direction: column; min-width: 0; }
.erisim-okuyucu-txt b { font-size: 14.5px; }
.erisim-okuyucu-txt small { font-size: 12.5px; color: #dbe6f3; }
.erisim-okuyucu-ipucu2 { display: none; }
.erisim-okuyucu.is-hint .erisim-okuyucu-ipucu { display: none; }
.erisim-okuyucu.is-hint .erisim-okuyucu-ipucu2 { display: block; color: #ffd76a !important; }
.erisim-okuyucu button { flex: none; border: 0; border-radius: 10px; padding: 9px 12px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.erisim-okuyucu-dur { background: #fff; color: #072c52; }
.erisim-okuyucu-kapat { background: rgba(255,255,255,.14); color: #fff; }
.erisim-okuyucu button:focus-visible { outline: 3px solid #f5b400; outline-offset: 2px; }

/* Koyu tema */
:root.dark:not(.hc) .erisim-panel { background: #151f2a; box-shadow: 0 18px 60px rgba(0,0,0,.6), 0 0 0 1px #253445; }
:root.dark:not(.hc) .erisim, :root.dark:not(.hc) .erisim-tile { color: #e5ecf3; }
:root.dark:not(.hc) .erisim-tile { background: #1b2733; border-color: #2b3b4d; }
:root.dark:not(.hc) .erisim-tile:hover { background: #20303f; border-color: #8dbcf2; }
:root.dark:not(.hc) .erisim-tile[aria-pressed="true"] { background: #2563a8; border-color: #2563a8; color: #fff; }
:root.dark:not(.hc) .erisim-ic { background: #0d141c; color: #8dbcf2; }
:root.dark:not(.hc) .erisim-dot { background: #33475c; }
:root.dark:not(.hc) .erisim-durum { color: #8dbcf2; }
:root.dark:not(.hc) .erisim-sifirla { background: transparent; border-color: #8dbcf2; color: #8dbcf2; }
:root.dark:not(.hc) .erisim-sifirla:hover { background: #8dbcf2; color: #0b1a2b; }
:root.dark:not(.hc) .erisim-foot p { color: #9eadbc; } :root.dark:not(.hc) .erisim-foot a { color: #8dbcf2; }
/* Yüksek kontrast */
:root.hc .erisim-fab, :root.hc .erisim-head { background: #000; }
:root.hc .erisim-tile { background: #fff; border: 2px solid #000; color: #000; }
:root.hc .erisim-tile[aria-pressed="true"] { background: #000; color: #fff; }

/* Telefon: menü alttan açılan tam genişlik panel */
@media (max-width: 560px) {
  .erisim-fab { width: 52px; height: 52px; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); }
  .erisim-panel { left: 10px; right: 10px; width: auto; bottom: calc(max(14px, env(safe-area-inset-bottom)) + 62px); max-height: calc(100dvh - 100px); }
  .erisim-tile { min-height: 84px; padding: 11px 12px; font-size: 13.5px; }
  .erisim-head p { display: none; }
  .erisim-okuyucu { left: 10px; right: 76px; transform: none; max-width: none; flex-wrap: wrap; }
  .erisim-okuyucu-txt { flex: 1 1 140px; }
}
@media (prefers-reduced-motion: reduce) { .erisim-panel { animation: none; } .erisim-fab, .erisim-tile { transition: none; } }
@media print { .erisim, .erisim-kilavuz, .erisim-maske { display: none !important; } }
/* Büyük metin / disleksi yazısında üst menü sığmazsa telefon menüsüne geçilir (erisilebilirlik.js "nav-dar" ekler) */
:root.nav-dar .header-row { flex-wrap: wrap; min-height: 0; padding-block: 12px; gap: 12px; }
:root.nav-dar .nav-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; padding: 10px 14px; font-weight: 600; cursor: pointer; min-height: 44px; }
:root.nav-dar .search { margin-left: auto; }
:root.nav-dar body.is-home .search { display: none; }
:root.nav-dar body.is-home .ebel-btn { margin-left: auto; }
:root.nav-dar .mainnav { display: none; order: 9; width: 100%; margin: 0; max-height: calc(100vh - 150px); overflow-y: auto; background: #0a3a6b; border-radius: 14px; }
:root.nav-dar .mainnav.is-open { display: block; }
:root.nav-dar .nav-list { flex-direction: column; padding: 8px; }
:root.nav-dar .nav-item { flex-wrap: wrap; }
:root.nav-dar .nav-item > a { flex: 1; padding: 13px 12px; font-size: 1rem; border-radius: 10px; }
:root.nav-dar .sub-toggle { display: block; background: none; border: 0; color: #fff; padding: 12px 16px; cursor: pointer; font-size: 1rem; }
:root.nav-dar .sub-toggle[aria-expanded="true"] span { display: inline-block; transform: rotate(180deg); }
:root.nav-dar .sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; width: 100%; box-shadow: none; border-radius: 10px; margin: 4px 0 8px; }
:root.nav-dar .sub::before { display: none; }
:root.nav-dar .nav-item.open > .sub, :root.nav-dar .nav-item.open:hover > .sub { display: block; }
:root.nav-dar .nav-item:hover > .sub { display: none; }
:root.nav-dar .brand-text b { white-space: normal; }
.page-date { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; color: var(--pale, #dbe6f3); font-size: .95rem; font-weight: 600; }
.page-date svg { opacity: .85; }

/* Ana sayfa giriş: alt cam şerit — arama + hızlı işlemler */
/* alt boşluk: sağ alttaki erişilebilirlik düğmesi şeridin üstüne binmesin */
.hx-inner { row-gap: 34px; padding-bottom: 96px; }
.hx-dock { flex: 1 1 100%; min-width: 0; max-width: 100%; box-sizing: border-box; display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 22px; background: rgba(8, 24, 44, .62); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.hx-dock-search { flex: 1 1 340px; min-width: 0; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 7px 0 18px; border-radius: 14px; background: #fff; color: #5b6875; }
.hx-dock-search:focus-within { outline: 3px solid #f5b400; outline-offset: 2px; }
.hx-dock-search svg { flex: none; }
.hx-dock-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: #17212c; font-size: 1rem; }
.hx-dock-search input:focus { outline: none; }
.hx-dock-search input::placeholder { color: #6b7785; }
.hx-dock-search button { flex: none; height: 44px; padding: 0 24px; border: 0; border-radius: 10px; background: #0c447c; color: #fff; font-weight: 700; font-size: .98rem; cursor: pointer; }
.hx-dock-search button:hover { background: #0a3866; }
.hx-dock-links { flex: 0 1 auto; display: flex; gap: 4px; min-width: 0; }
.hx-dock-links a { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 11px; padding: 8px 12px; border-radius: 14px; color: #fff; line-height: 1.2; transition: background-color .15s; }
.hx-dock-links a:hover { text-decoration: none; background: rgba(255, 255, 255, .1); }
.hx-dock-links a:focus-visible { outline: 3px solid #f5b400; outline-offset: 1px; }
.hx-dock-links i { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #c9ec9f; }
.hx-dock-links span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hx-dock-links b { font-size: .95rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-dock-links small { font-size: .78rem; color: #b9cbe0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1400px) { .hx-dock-links small { display: none; } }
@media (max-width: 1180px) {
  .hx-dock { flex-wrap: wrap; }
  .hx-dock-search { flex-basis: 100%; }
  .hx-dock-links { flex: 1 1 100%; }
  .hx-dock-links a { flex: 1 1 0; }
  .hx-dock-links small { display: block; }
}
@media (max-width: 820px) {
  .hx-inner { row-gap: 22px; padding-bottom: 44px; }
  /* Telefonda arama başlığın hemen altında: ilk ekranda görünsün, sağ alttaki düğmenin altında kalmasın */
  .hx-text { order: 1; }
  .hx-dock { order: 2; }
  .hx-now { order: 3; }
  .hx-dock { padding: 8px; border-radius: 18px; gap: 6px; }
  .hx-dock-search { height: 52px; padding-left: 14px; gap: 9px; }
  .hx-dock-search button { padding: 0 18px; height: 42px; }
  .hx-dock-links { flex-basis: 100%; }
  .hx-dock-links a { flex-direction: column; text-align: center; gap: 6px; padding: 8px 4px; }
  .hx-dock-links span { align-items: center; }
  .hx-dock-links b { font-size: .84rem; white-space: normal; }
  .hx-dock-links small { display: none; }
  .hx-dock-links i { width: 36px; height: 36px; }
}
:root.hc .hx-dock { background: #000; border-color: #fff; }
:root.hc .hx-dock-links i { background: #fff; color: #000; }
@media print { .hx-dock { display: none; } }
/* Arama şeridinin dikey konumu (Site Ayarları → Giriş bölümünün yerleşimi): + yukarı, − aşağı */
@media (min-width: 1181px) { .hx-dock { position: relative; z-index: 2; top: calc(var(--hx-dock-y, 0px) * -1); } }

/* Metin içi bağlantılar yalnız renkle ayrılmasın (WCAG 1.4.1) */
.form .check a, .prose a, .mz-desc a, .mz-note a, .mz-foot a, .note a { text-decoration: underline; text-underline-offset: 2px; }
