/* ==========================================================================
   LaraCMS — Uludağ OSB teması
   Tüm renk, yazı tipi ve ölçüler bu dosyanın başındaki değişkenlerden gelir.
   Yeni bir kurum teması = yalnızca :root bloğunu değiştirmek.
   ========================================================================== */

:root {
  --c-menu: #f3f6f2;          /* açılır menü zemini */
  --header-h: 90px;           /* başlık çubuğu yüksekliği; açılır menüler bu çizgiden başlar */
  --c-primary: #3f6838;
  --c-primary-dark: #314e2c;
  --c-primary-darker: #23381f;
  --c-footer: #1f2e1c;
  --c-accent: #3db166;
  --c-ink: #1e1e1e;
  --c-ink-soft: #2f362d;
  --c-muted: #5a6157;
  --c-line: #e3e8e1;
  --c-line-soft: #eef2ec;
  --c-input: #c9d3c6;
  --c-surface: #ffffff;
  --c-surface-soft: #f3f6f2;
  --c-surface-mid: #dfe7dc;
  --c-tint: #e9f2e7;
  --c-alert: #ffb020;
  --c-alert-ink: #2a1a00;
  --c-alert-soft: #fff4e0;
  --c-danger: #b42318;
  --c-doc-pdf: #b42318;
  --c-doc-office: #1d5f9e;
  --c-on-dark: #e8efe6;       /* koyu zemin (üst şerit, mobil menü altı) üzerindeki yazı */
  --c-on-hero: #e3ece1;       /* ana alan üzerindeki açık yazı */
  --c-footer-ink: #c9d5c5;    /* alt bilgi yazısı */
  --c-border: #d5ddd3;        /* düğme ve kutu kenarlıkları */
  /* Yarı saydam katmanlar için RGB kanalları (rgb(var(--rgb-shade) / .5) biçiminde kullanılır) */
  --rgb-shade: 31 46 28;      /* = --c-footer */
  --rgb-shade-mid: 49 78 44;  /* = --c-primary-dark */
  --rgb-deep: 20 36 18;
  --rgb-scrim: 16 26 14;
  --rgb-surface-soft: 243 246 242;
  --map-hue: 0deg;            /* varsayılan harita görsellerinin (yeşil) tema rengine döndürülmesi */

  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-head: "Poppins", "Inter", system-ui, sans-serif;

  --w-container: 1240px;
  --gutter: 24px;
  --radius: 10px;
  --radius-lg: 12px;
  --c-a11y: #1d4ed8;          /* erişilebilirlik düğmesi (uluslararası tanınan mavi) */
  --c-a11y-soft: #e8eefc;
  --chair-photo-w: 45%;       /* Başkanın mesajı: fotoğraf sütununun genişliği (masaüstü) */
  --shadow-modal: 0 24px 64px rgba(0, 0, 0, .3);
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-surface); color: var(--c-ink); font-family: var(--f-body); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dark); }
h1, h2, h3 { font-family: var(--f-head); margin: 0; line-height: 1.25; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { max-width: var(--w-container); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1em; height: 1em; flex: none; }
.muted { color: var(--c-muted); }

/* ---------- Düğmeler ve form ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 6px; border: 1px solid transparent; font-weight: 600; }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn-light { background: #fff; color: var(--c-primary-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-outline { border-color: var(--c-input); color: var(--c-primary-dark); background: #fff; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--c-primary-dark); }
.input { height: 48px; padding: 0 14px; border: 1px solid var(--c-input); border-radius: 6px; font-size: 15px; font-weight: 400; color: var(--c-ink); background: #fff; width: 100%; }
textarea.input { height: auto; padding: 12px 14px; min-height: 140px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-primary); }

/* ---------- Üst bar ---------- */
.topbar { background: var(--c-primary-darker); color: var(--c-on-dark); font-size: 13px; }
.topbar a { color: var(--c-on-dark); }
.topbar .container { padding-top: 8px; padding-bottom: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.topbar-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.topbar-group a { display: inline-flex; align-items: center; gap: 6px; }
.weather { display: inline-flex; align-items: center; gap: 6px; color: #fff; padding-right: 14px; border-right: 1px solid rgba(255, 255, 255, .25); }
.lang { display: inline-flex; gap: 4px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .25); }
.lang a { padding: 2px 6px; border-radius: 4px; }
.lang a.is-active { background: var(--c-primary); color: #fff; font-weight: 600; }

/* ---------- Başlık ve menü ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--c-line); position: relative; z-index: 20; }
.site-header .container { position: relative; min-height: var(--header-h); display: flex; align-items: stretch; justify-content: space-between; gap: 0 32px; }
.site-logo { display: flex; align-items: center; padding: 14px 0; }
.site-logo img { width: 226px; }
.nav { display: flex; align-items: stretch; gap: 0 4px; font-family: var(--f-head); font-size: 15px; font-weight: 500; }
.nav > .header-search { align-self: center; margin-left: 10px; }
.nav-item { position: relative; display: flex; align-items: stretch; }
.nav-link { color: var(--c-ink); padding: 0 12px; display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; position: relative; }
/* Aktif / açık öğenin altında başlık çizgisine oturan yeşil çizgi */
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 4px; background: var(--c-accent); transform: scaleX(0); transition: transform .18s ease; }
.nav-link.is-active { color: var(--c-primary); }
.nav-link.is-active::after, .nav-item:hover > .nav-link::after, .nav-item:focus-within > .nav-link::after { transform: scaleX(1); }
.nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link { color: var(--c-primary); }

/* Açılır liste: üstü düz (başlık çizgisinden başlar), altı yumuşak köşeli */
.nav-sub { display: none; position: absolute; top: calc(100% + 1px); left: 0; min-width: 270px; background: var(--c-menu); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: 0 18px 36px rgb(var(--rgb-shade) / .14); padding: 10px 0 12px; list-style: none; margin: 0; font-family: var(--f-head); font-size: 15px; font-weight: 400; }
.nav-item:hover > .nav-sub, .nav-item:focus-within > .nav-sub { display: block; }
.nav-sub li { position: relative; }
.nav-sub a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 24px; color: var(--c-ink-soft); }
.nav-sub a:hover, .nav-sub li:hover > a, .nav-sub li:focus-within > a { background: var(--c-tint); color: var(--c-primary); }
.nav-sub a svg { color: var(--c-muted); flex: none; }
/* 3. seviye: sağa açılır */
.nav-sub-2 { top: -10px; left: 100%; border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg); }
.nav-sub li:hover > .nav-sub-2, .nav-sub li:focus-within > .nav-sub-2 { display: block; }

/* Geniş menü: başlık hizasında tam genişlik, sütunlar */
.nav-item.has-mega { position: static; }
.nav-mega { display: none; position: absolute; top: calc(100% + 1px); left: var(--gutter); right: var(--gutter); background: var(--c-menu); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: 0 24px 48px rgb(var(--rgb-shade) / .16); overflow: hidden; font-family: var(--f-head); font-weight: 400; }
.nav-item.has-mega:hover > .nav-mega, .nav-item.has-mega:focus-within > .nav-mega { display: block; }
.nav-mega-cols { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--mega-cols), minmax(0, 1fr)); min-height: 280px; }
.nav-mega-col { padding: 30px 32px 34px; border-left: 1px solid var(--c-line); }
.nav-mega-col:first-child { border-left: 0; }
.nav-mega-title { display: block; font-size: 17px; font-weight: 600; color: var(--c-primary-dark); margin-bottom: 14px; }
a.nav-mega-title:hover { color: var(--c-accent); }
.nav-mega ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav-mega li a { display: block; padding: 7px 0; color: var(--c-ink-soft); line-height: 1.45; }
.nav-mega li a:hover { color: var(--c-primary); }
.nav-mega-flat { position: relative; z-index: 1; padding: 30px 32px 34px; min-height: 240px; }
.nav-mega-flat ul { columns: 3 220px; column-gap: 40px; }
.nav-mega.has-image .nav-mega-flat ul { columns: 2 220px; max-width: 62%; }
.nav-mega-flat li { break-inside: avoid; }
.nav-mega-image { position: absolute; top: 0; right: 0; bottom: 0; width: min(40%, 480px); height: 100%; object-fit: cover; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 45%), linear-gradient(to bottom, transparent 0, #000 35%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 45%), linear-gradient(to bottom, transparent 0, #000 35%); mask-composite: intersect; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-border); background: #fff; color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; }
.burger { align-self: center; display: none; width: 48px; height: 48px; border-radius: 8px; border: 0; background: var(--c-primary); color: #fff; align-items: center; justify-content: center; }

/* ---------- Kesinti şeridi ---------- */
.outage-bar { background: var(--c-alert); color: var(--c-alert-ink); border-bottom: 1px solid #e09a10; }
.outage-bar .container { padding-top: 12px; padding-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.outage-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--c-alert-ink); color: var(--c-alert); display: inline-flex; align-items: center; justify-content: center; }
.outage-text { flex: 1 1 420px; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; font-size: 15px; }
.outage-text strong { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.outage-actions { display: flex; align-items: center; gap: 8px; }
.outage-actions .round { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(42, 26, 0, .35); background: transparent; color: var(--c-alert-ink); display: inline-flex; align-items: center; justify-content: center; }
.outage-actions .close { border: 0; }
.outage-actions .detail { padding: 9px 16px; border-radius: 6px; border: 0; background: var(--c-alert-ink); color: #fff; font-weight: 600; font-size: 14px; }
.outage-item[hidden] { display: none; }

/* ---------- Ana alan ---------- */
.hero { position: relative; color: #fff; background: var(--c-primary-darker); overflow: hidden; }
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--rgb-shade) / .92) 0%, rgb(var(--rgb-shade) / .70) 45%, rgb(var(--rgb-shade) / .15) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 24px; }
.hero-tag { align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--c-accent); color: #10200d; padding: 6px 12px; border-radius: 4px; }
.hero h1 { max-width: 680px; font-size: 52px; font-weight: 700; line-height: 1.12; }
.hero p { max-width: 560px; font-size: 19px; color: var(--c-on-hero); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-controls { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 14px; color: var(--c-on-hero); }
.hero-controls button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .2); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.hero-slide[hidden] { display: none; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 16px; height: 4px; border-radius: 2px; border: 0; padding: 0; background: rgba(255, 255, 255, .45); }
.hero-dots button[aria-current="true"] { width: 32px; background: var(--c-accent); }

/* ---------- Hızlı erişim ---------- */
.quick { background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: 0 6px 18px rgb(var(--rgb-shade) / .06); }
.quick .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.quick-item { padding: 20px 18px; display: flex; align-items: center; gap: 14px; color: var(--c-ink); border-right: 1px solid var(--c-line-soft); }
.quick-item:last-child { border-right: 0; }
.quick-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c-tint); color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.quick-item strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 15px; line-height: 1.3; }
.quick-item small { font-size: 13px; color: var(--c-muted); }
.quick-item.is-emergency { display: none; }

/* ---------- Bölüm başlıkları ---------- */
.section { padding: 72px 0; }
.section-soft { background: var(--c-surface-soft); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: 32px; font-weight: 700; }
.section-head a { font-weight: 600; }

/* ---------- Haber kartları ---------- */
.section-head-actions { display: flex; align-items: center; gap: 16px; }
.slider-nav { display: inline-flex; gap: 8px; }
.slider-nav[hidden] { display: none; }
.slider-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-input); background: #fff; color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s; }
.slider-btn:hover:not(:disabled) { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.slider-btn:disabled { opacity: .35; cursor: default; }
/* Ana sayfa haber kaydırıcısı: bilgisayarda 3, tablette 2, telefonda 1 haber (yanındaki görünür, kaydırıldığını belli eder) */
.news-slider { --per: 3; display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 4px; }
.news-slider::-webkit-scrollbar { display: none; }
.news-slider:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 6px; }
.news-slider > .news-card { flex: 0 0 calc((100% - (var(--per) - 1) * 28px) / var(--per)); scroll-snap-align: start; min-width: 0; }
@media (max-width: 1024px) { .news-slider { --per: 2; } }
@media (max-width: 600px) { .news-slider { gap: 16px; } .news-slider > .news-card { flex-basis: 84%; } .section-head-actions .slider-nav { display: none; } }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.news-card { display: flex; flex-direction: column; gap: 18px; }
.news-card img { width: 100%; aspect-ratio: 9 / 5; object-fit: cover; }
.news-card .ph { aspect-ratio: 9 / 5; background: var(--c-surface-mid); }
.news-card h3 { font-size: 19px; font-weight: 600; line-height: 1.35; }
.news-card h3 a { color: var(--c-ink); }
.news-card p { font-size: 15px; color: var(--c-muted); }
.card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--c-line); display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.card-foot a { font-weight: 600; }

/* ---------- Duyuru ve etkinlik ---------- */
.split { display: flex; flex-wrap: wrap; gap: 32px; }
.split-main { flex: 999 1 560px; min-width: 0; }
.split-side { flex: 1 1 360px; min-width: 0; }
.list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); }
.list li { padding: 20px 24px; border-bottom: 1px solid var(--c-line-soft); display: flex; gap: 20px; align-items: center; }
.list li:last-child { border-bottom: 0; }
.list li > a { color: var(--c-ink); font-weight: 600; flex-grow: 1; }
.date-box { flex: none; width: 64px; text-align: center; font-family: var(--f-head); color: var(--c-primary-dark); }
.date-box b { display: block; font-size: 26px; font-weight: 700; line-height: 1; }
.date-box span { font-size: 12px; font-weight: 600; text-transform: uppercase; }
.tag { flex: none; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; background: #e3efe0; color: var(--c-primary-dark); }
.events { display: flex; flex-direction: column; gap: 14px; }
.event-card { display: flex; gap: 16px; align-items: stretch; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; color: var(--c-ink); }
.event-date { flex: none; width: 76px; background: var(--c-primary); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--f-head); }
.event-date b { font-size: 26px; font-weight: 700; line-height: 1; }
.event-date span { font-size: 12px; font-weight: 600; text-transform: uppercase; }
.event-body { padding: 16px 16px 16px 0; display: flex; flex-direction: column; gap: 4px; }
.event-body strong { line-height: 1.35; }
.event-body small { color: var(--c-muted); font-size: 13px; }

/* ---------- Firma rehberi + kariyer (iki harita) ---------- */
.maps { position: relative; overflow: hidden; background: #fff; }
.maps::before, .maps::after { content: ""; position: absolute; top: 0; bottom: 0; background-repeat: no-repeat; filter: hue-rotate(var(--map-hue, 0deg)); }
.maps::after { left: 0; right: 0; z-index: 0; background-image: linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .12)), var(--map-right); background-size: 100% 100%, cover; background-position: center, right center; }
.maps::before { left: 0; width: 78%; z-index: 1; background-image: linear-gradient(rgba(255, 255, 255, .4), rgba(255, 255, 255, .4)), var(--map-left); background-size: 100% 100%, cover; background-position: center; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 30%, rgba(0, 0, 0, .55) 52%, rgba(0, 0, 0, 0) 100%); mask-image: linear-gradient(90deg, #000 0%, #000 30%, rgba(0, 0, 0, .55) 52%, rgba(0, 0, 0, 0) 100%); }
.maps > * { position: relative; z-index: 2; }
.maps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.box { border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 20px; background: #fff; }
.box.is-soft { background: rgb(var(--rgb-surface-soft) / .94); }
.box h2 { font-size: 26px; font-weight: 700; }
.box form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: auto; }
.box form .field { flex: 2 1 180px; }
.box form .field.sm { flex: 1 1 140px; }
.attribution { position: absolute; right: 16px; bottom: 8px; font-size: 11px; color: #4a5a46; }

/* ---------- Başkanın mesajı ---------- */
.chair { display: grid; grid-template-columns: var(--chair-photo-w) minmax(0, 1fr); background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; }
.chair-photo { min-height: 480px; background: var(--c-surface-mid); position: relative; }
.chair-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.chair-body { min-width: 0; padding: 56px 56px 56px 56px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.chair-body h2 { font-size: 30px; font-weight: 700; }
.chair-body blockquote { margin: 0; font-size: 19px; line-height: 1.7; color: var(--c-ink-soft); max-width: 62ch; }
.chair-person { display: flex; flex-direction: column; gap: 2px; }
.chair-person strong { font-family: var(--f-head); }
.chair-person span { font-size: 14px; color: var(--c-muted); }
.chair-foot a { font-weight: 600; }
.chair-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }

/* ---------- E-bülten ---------- */
.newsletter { background: var(--c-surface-mid); padding: 48px 0; }
.newsletter .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.newsletter h2 { font-size: 24px; color: var(--c-primary-dark); }
.newsletter form { flex: 0 1 520px; display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter .input { flex: 1 1 260px; width: auto; }

/* ---------- Rakamlar ---------- */
.stats { color: #fff; padding: 64px 0; background-color: var(--c-primary-darker); background-image: linear-gradient(135deg, rgb(var(--rgb-deep) / .88) 0%, rgb(var(--rgb-shade-mid) / .78) 50%, rgb(var(--rgb-deep) / .9) 100%), var(--stats-bg); background-size: 100% 100%, cover; background-position: center; }
.stats h2 { text-align: center; font-size: 24px; margin-bottom: 28px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 20px; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.stat .ico { color: var(--c-accent); font-size: 36px; }
.stat b { font-family: var(--f-head); font-size: 22px; font-weight: 700; line-height: 1.2; }
.stat span { font-size: 14px; color: #d3dfcf; }

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--c-footer); color: var(--c-footer-ink); font-size: 14px; }
.site-footer a { color: var(--c-footer-ink); }
.footer-grid { padding-top: 64px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px 32px; }
.footer-grid h3 { font-size: 16px; color: #fff; margin-bottom: 6px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .phone-row { display: flex; justify-content: space-between; gap: 12px; }
.footer-col .phone-row b { color: #fff; }
.footer-bottom { border-top: 1px solid #33472f; }
.footer-bottom .container { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; }

/* ---------- İç sayfalar ---------- */
.page-head { background: var(--c-surface-soft); border-bottom: 1px solid var(--c-line); padding: 40px 0; }
.page-head h1 { font-size: 34px; }
.crumbs { font-size: 14px; color: var(--c-muted); margin-bottom: 8px; }
.crumbs a { color: var(--c-muted); }
.prose { max-width: 820px; font-size: 17px; line-height: 1.75; color: var(--c-ink-soft); }
.prose > * + * { margin-top: 1em; }
.prose img { border-radius: 8px; }
.prose a { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.prose th { background: var(--c-surface-soft); font-weight: 600; }
.prose iframe, .prose video { max-width: 100%; }
.prose img { max-width: 100%; height: auto; }
.prose [style*="text-align: center"] img, .prose p[style*="text-align: center"] { margin-left: auto; margin-right: auto; }
.prose [style*="text-align: justify"] { text-align: justify; hyphens: auto; }
.prose hr { border: 0; border-top: 1px solid var(--c-line); margin: 2em 0; }

/* Editördeki "Sütunlar" (grid): dar ekranda alt alta, seçilen genişlikten itibaren yan yana */
.prose .grid-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gutter) calc(var(--gutter) * 1.5); align-items: start; margin-top: 1.5em; margin-bottom: 1.5em; }
.prose .grid-layout-col > * + * { margin-top: 1em; }
.prose .grid-layout-col > :first-child { margin-top: 0; }
.prose .grid-layout-col img { width: 100%; border-radius: var(--radius); }
.prose .grid-layout[data-from-breakpoint="default"] { grid-template-columns: var(--cols); }
.prose .grid-layout[data-from-breakpoint="default"] > .grid-layout-col { grid-column: var(--col-span); }
@media (min-width: 640px) {
  .prose .grid-layout[data-from-breakpoint="sm"] { grid-template-columns: var(--cols); }
  .prose .grid-layout[data-from-breakpoint="sm"] > .grid-layout-col { grid-column: var(--col-span); }
}
@media (min-width: 768px) {
  .prose .grid-layout[data-from-breakpoint="md"] { grid-template-columns: var(--cols); }
  .prose .grid-layout[data-from-breakpoint="md"] > .grid-layout-col { grid-column: var(--col-span); }
}
@media (min-width: 1024px) {
  .prose .grid-layout[data-from-breakpoint="lg"] { grid-template-columns: var(--cols); }
  .prose .grid-layout[data-from-breakpoint="lg"] > .grid-layout-col { grid-column: var(--col-span); }
}
@media (min-width: 1280px) {
  .prose .grid-layout[data-from-breakpoint="xl"], .prose .grid-layout[data-from-breakpoint="2xl"] { grid-template-columns: var(--cols); }
  .prose .grid-layout[data-from-breakpoint="xl"] > .grid-layout-col, .prose .grid-layout[data-from-breakpoint="2xl"] > .grid-layout-col { grid-column: var(--col-span); }
}

/* Editör bloğu: Görsel + metin (yan yana; telefonda alt alta) */
.prose .image-text { display: grid; grid-template-columns: var(--it-img) minmax(0, 1fr); gap: calc(var(--gutter) * 1.5); align-items: start; margin: 1.75em 0; }
.prose .image-text--third { --it-img: 33%; }
.prose .image-text--twofifths { --it-img: 40%; }
.prose .image-text--half { --it-img: 50%; }
.prose .image-text--right { grid-template-columns: minmax(0, 1fr) var(--it-img); }
.prose .image-text--right .image-text-media { order: 2; }
.prose .image-text-media { margin: 0; }
.prose .image-text-media img { width: 100%; border-radius: var(--radius); }
.prose .image-text-media figcaption { margin-top: 6px; font-size: 14px; color: var(--c-muted); }
.prose .image-text-body > :first-child { margin-top: 0; }
.prose .image-text-body > * + * { margin-top: 1em; }
.prose.post-html { margin-top: 1.75em; }

/* ---------- Editör blokları: resim galerisi, video, video oynatma listesi ---------- */
.prose .media-gallery, .prose .media-video, .prose .media-playlist { margin: 1.75em 0; }
.media-gallery-title { font-family: var(--f-head); font-weight: 600; font-size: 18px; color: var(--c-ink); margin-bottom: 12px; }
.media-gallery-frame { position: relative; }
.media-gallery-track { list-style: none; margin: 0; padding: 2px 0 10px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; }
.media-gallery-track > li { flex: 0 0 auto; width: clamp(150px, 22%, 230px); scroll-snap-align: start; margin: 0; }
.prose .media-gallery-track > li + li { margin-top: 0; }
.media-gallery-track a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--c-surface-soft); outline-offset: 3px; }
.media-gallery-track img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; transition: transform .25s ease; }
.media-gallery-track a:hover img, .media-gallery-track a:focus-visible img { transform: scale(1.05); }
.media-gallery-nav { position: absolute; top: calc(50% - 5px); transform: translateY(-50%); z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-ink); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 10px rgb(var(--rgb-shade) / .18); }
.media-gallery-nav.prev { left: -12px; }
.media-gallery-nav.next { right: -12px; }
.media-gallery-nav[disabled] { opacity: 0; pointer-events: none; }
.media-gallery:not(.is-ready) .media-gallery-nav { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgb(var(--rgb-scrim) / .92); display: grid; grid-template-rows: auto 1fr auto; color: var(--c-on-dark); }
.lightbox[hidden] { display: none; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: 14px; }
.lightbox-stage { display: grid; place-items: center; min-height: 0; padding: 0 64px; touch-action: pan-y; }
.lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button { background: rgb(var(--rgb-surface-soft) / .12); color: var(--c-on-dark); border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgb(var(--rgb-surface-soft) / .25); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-caption { text-align: center; padding: 12px 16px 18px; font-size: 14px; min-height: 1em; }
@media (max-width: 640px) { .lightbox-stage { padding: 0 8px; } .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; } }

.media-video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--c-footer); border-radius: var(--radius); overflow: hidden; }
.media-video-frame iframe, .media-video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .media-video figcaption { margin-top: 8px; font-size: 14px; color: var(--c-muted); }

.media-playlist { background: var(--c-footer); color: var(--c-on-dark); border-radius: var(--radius-lg); padding: 20px; }
.prose .media-playlist h3.media-playlist-heading { color: var(--c-surface); margin: 0 0 14px; font-size: 20px; }
.media-playlist-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 34%); gap: 16px; align-items: start; }
.media-playlist-main .media-video-frame { border-radius: 8px; }
.prose .media-playlist-now { margin: 12px 0 0; font-size: 15px; color: var(--c-on-dark); }
.media-playlist-now span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent); }
.media-playlist-now strong { color: var(--c-surface); font-weight: 600; }
.media-playlist-side { background: rgb(var(--rgb-deep) / .55); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; max-height: 520px; }
.media-playlist-head { display: flex; justify-content: space-between; padding: 12px 14px; font-size: 13px; font-weight: 600; border-bottom: 1px solid rgb(var(--rgb-surface-soft) / .12); }
.media-playlist-head span + span { font-weight: 400; opacity: .75; }
.prose .media-playlist-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; scrollbar-width: thin; }
.prose .media-playlist-list > li { margin: 0; }
.prose a.media-playlist-item { display: grid; grid-template-columns: 22px 96px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 14px; color: var(--c-on-dark); text-decoration: none; border-left: 3px solid transparent; }
.prose a.media-playlist-item:hover, .prose a.media-playlist-item:focus-visible { background: rgb(var(--rgb-surface-soft) / .08); }
.prose a.media-playlist-item.is-active { background: rgb(var(--rgb-surface-soft) / .12); border-left-color: var(--c-accent); }
.media-playlist-index { font-size: 13px; text-align: center; opacity: .8; }
.is-active .media-playlist-index { color: var(--c-accent); opacity: 1; }
.media-playlist-thumb { aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: rgb(var(--rgb-deep) / .8); display: grid; place-items: center; }
.media-playlist-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.media-playlist-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.media-playlist-name { font-size: 14px; line-height: 1.35; font-weight: 500; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.is-active .media-playlist-name { color: var(--c-surface); }
.media-playlist-type { font-size: 12px; opacity: .7; }
@media (max-width: 900px) {
  .media-playlist { padding: 14px; }
  .media-playlist-body { grid-template-columns: 1fr; }
  .media-playlist-side { max-height: 360px; }
}

/* ---------- Alt bilgi: sosyal medya ikonları ---------- */
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.site-footer .footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--c-surface); background: rgb(var(--rgb-surface-soft) / .1); transition: background .2s ease, transform .2s ease; }
.site-footer .footer-social a:hover, .site-footer .footer-social a:focus-visible { background: var(--c-accent); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .prose .image-text, .prose .image-text--right { grid-template-columns: 1fr; }
  .prose .image-text--right .image-text-media { order: 0; }
}

/* Sayfalar: alt sayfa menüsü yoksa içerik konteynerin tamamını kullanır */
.page-wide .prose { max-width: none; }
.detail-cover { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; margin-bottom: 28px; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 32px; list-style: none; padding: 0; }
.pagination a, .pagination span { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--c-line); border-radius: 6px; padding: 0 12px; }
.pagination .is-current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.company-table { width: 100%; border-collapse: collapse; background: #fff; }
.company-table th, .company-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--c-line); }
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius); }
.company-table th { background: var(--c-surface-soft); font-size: 14px; white-space: nowrap; }
.company-table th a { color: inherit; display: inline-flex; gap: 6px; align-items: center; }
.company-table th a span { color: var(--c-muted); font-size: 11px; }
.company-table tbody tr:hover { background: var(--c-tint); }
.company-table .company-name { font-weight: 600; color: var(--c-ink); }
.company-table .nowrap { white-space: nowrap; }
.company-filter { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; padding: 22px 24px; margin-bottom: 18px; background: var(--c-surface-soft); border-radius: var(--radius); }
.company-filter-q { flex: 2 1 260px; }
.company-filter-sector { flex: 1 1 200px; }
.btn-excel { background-image: linear-gradient(325deg, var(--c-accent) 0%, var(--c-primary-dark) 68%); color: #fff; border: 0; gap: 8px; }
.btn-excel:hover { color: #fff; filter: brightness(1.08); }
.company-count { color: var(--c-muted); font-size: 15px; margin: 0 0 14px; }
@media (max-width: 760px) {
  .company-filter .btn { flex: 1 1 auto; justify-content: center; }
  .table-wrap { border: 0; overflow: visible; }
  .company-table, .company-table tbody, .company-table tr, .company-table td { display: block; width: 100%; }
  .company-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .company-table tr { border: 1px solid var(--c-line); border-radius: var(--radius); margin-bottom: 12px; padding: 10px 4px; }
  .company-table td { border: 0; padding: 4px 12px; }
  .company-table td:empty { display: none; }
  .company-table td:not(.company-name)::before { content: attr(data-label); display: block; font-size: 12px; color: var(--c-muted); }
  .company-table .nowrap { white-space: normal; }
}
.empty { padding: 40px; text-align: center; color: var(--c-muted); }

/* ---------- Modal ve paneller ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: center; align-items: flex-start; padding: 96px 16px 16px; }
.modal[hidden] { display: none; }
.modal-scrim { position: absolute; inset: 0; width: 100%; border: 0; background: rgb(var(--rgb-scrim) / .62); }
.modal-card { position: relative; width: min(600px, 100%); background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-modal); max-height: calc(100vh - 112px); overflow-y: auto; }
.modal-head { background: var(--c-alert); color: var(--c-alert-ink); padding: 20px 24px; display: flex; align-items: center; gap: 14px; }
.modal-head h2 { font-size: 21px; }
.modal-body { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.modal-close { flex: none; margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(42, 26, 0, .12); color: inherit; display: inline-flex; align-items: center; justify-content: center; }
.facts { margin: 0; display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; font-size: 15px; }
.facts dt { color: var(--c-muted); }
.facts dd { margin: 0; font-weight: 600; }
.note { padding: 14px 16px; background: var(--c-alert-soft); border-radius: 8px; font-size: 14px; color: #4a3300; }
.popup-cover { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

.sheet { position: fixed; inset: 0; z-index: 60; }
.sheet[hidden] { display: none; }
.sheet-card { position: absolute; left: 0; right: 0; bottom: 0; max-width: 520px; margin: 0 auto; background: #fff; border-radius: 18px 18px 0 0; padding: 10px 16px 24px; display: flex; flex-direction: column; gap: 12px; }
.sheet-handle { align-self: center; width: 44px; height: 5px; border-radius: 3px; background: var(--c-border); }
.call-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--c-line); color: var(--c-ink); }
.call-row .ico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }

.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer[hidden] { display: none; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(330px, 88vw); background: #fff; display: flex; flex-direction: column; box-shadow: -12px 0 32px rgba(0, 0, 0, .2); }
.drawer-head { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--c-line); }
.drawer-head img { width: 190px; }
.drawer-body { flex-grow: 1; overflow-y: auto; }
.drawer-nav { list-style: none; margin: 0; padding: 6px 0; font-family: var(--f-head); font-size: 16px; font-weight: 500; }
.drawer-nav > li > a, .drawer-nav summary { color: var(--c-ink); padding: 13px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--c-line-soft); cursor: pointer; list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav details[open] { background: var(--c-surface-soft); }
.drawer-nav details ul { list-style: none; margin: 0; padding: 0 0 8px; font-family: var(--f-body); font-size: 15px; font-weight: 400; }
.drawer-nav details ul a { display: block; padding: 10px 16px 10px 32px; color: var(--c-ink-soft); }
.drawer-nav .drawer-group > a, .drawer-nav .drawer-group > span { display: block; padding: 12px 16px 6px 32px; font-weight: 600; color: var(--c-primary-dark); }
.drawer-nav .drawer-group ul { padding-bottom: 4px; }
.drawer-nav .drawer-group ul a { padding-left: 46px; }
.drawer-foot { padding: 14px 16px; background: var(--c-primary-darker); color: var(--c-on-dark); font-size: 13px; display: flex; flex-direction: column; gap: 8px; }
.drawer-foot a { color: var(--c-on-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
.chips a { padding: 9px 14px; border-radius: 20px; background: var(--c-tint); color: var(--c-primary-dark); font-weight: 600; font-size: 14px; }

/* ---------- Dar ekran (1024px altı) ---------- */
@media (max-width: 1024px) {
  .nav, .topbar .hide-sm, .header-search { display: none !important; }
  .burger { display: inline-flex; }
  .site-logo img { width: 250px; }
  .hero-inner { padding-top: 56px; padding-bottom: 44px; }
  .hero h1 { font-size: 32px; }
  .hero::after { background: linear-gradient(180deg, rgb(var(--rgb-shade) / .55) 0%, rgb(var(--rgb-shade) / .92) 100%); }
  .quick .container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 16px; padding-bottom: 16px; }
  .quick-item { flex-direction: column; align-items: flex-start; gap: 8px; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 14px; }
  .quick-item:last-child { border-right: 1px solid var(--c-line); }
  .quick-item small { display: none; }
  .quick-item.is-emergency { display: flex; background: var(--c-danger); border-color: var(--c-danger); color: #fff; text-align: left; }
  .quick-item.is-emergency .quick-ico { background: rgba(255, 255, 255, .18); color: #fff; }
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 26px; }
  .maps::before { width: auto; right: 0; bottom: 30%; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, rgba(0, 0, 0, .5) 65%, rgba(0, 0, 0, 0) 100%); mask-image: linear-gradient(180deg, #000 0%, #000 40%, rgba(0, 0, 0, .5) 65%, rgba(0, 0, 0, 0) 100%); }
  .box { padding: 22px; }
  .chair-photo { min-height: 420px; }
  .chair-body { padding: 40px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .outage-actions .round { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .maps-grid { grid-template-columns: 1fr; }
  .list li { padding: 14px 16px; gap: 14px; }
  .list .tag { display: none; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
}

/* İkinci ve sonraki slaytların başlığı (h2) ilk slayttaki h1 ile aynı görünür. */
.hero .h1 { max-width: 680px; font-size: 52px; font-weight: 700; line-height: 1.12; }
@media (max-width: 1024px) { .hero .h1 { font-size: 32px; } }
/* Başkanın mesajı: dar ekranda fotoğraf üstte */
@media (max-width: 860px) {
  .chair { grid-template-columns: 1fr; }
  .chair-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .chair-body { padding: 28px 24px; }
  .chair-body h2 { font-size: 26px; }
  .chair-body blockquote { font-size: 17px; }
}

/* ---------- Sayfa blokları ---------- */
.doc-block { margin-top: 40px; }
.doc-block:first-child { margin-top: 0; }
.block-title { font-size: 22px; font-weight: 700; margin-bottom: 14px; color: var(--c-primary-dark); }
.doc-library { display: flex; flex-direction: column; gap: 28px; }
.doc-library .doc-block { margin-top: 0; }
.doc-search { position: relative; }
.doc-search > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--c-muted); display: inline-flex; }
.doc-search input { width: 100%; height: 50px; padding: 0 16px 0 44px; border: 1px solid var(--c-input); border-radius: var(--radius); font: inherit; font-size: 16px; background: var(--c-surface); color: var(--c-ink); }
.doc-search input:focus { outline: 2px solid var(--c-primary); outline-offset: 1px; border-color: var(--c-primary); }
.doc-empty { margin: 0; padding: 18px; border: 1px dashed var(--c-border); border-radius: var(--radius); color: var(--c-muted); text-align: center; }
.doc-cat { border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; background: var(--c-surface); }
.doc-cat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--c-primary); color: var(--c-surface); }
.doc-cat-head h2 { margin: 0; flex: 1; font-size: 17px; font-weight: 700; letter-spacing: .01em; color: inherit; }
.doc-cat-ico { display: inline-flex; opacity: .9; }
.doc-count { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: rgb(var(--rgb-surface-soft) / .18); white-space: nowrap; }
.doc-list, .link-list { list-style: none; margin: 0; padding: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); }
.doc-cat .doc-list { border: 0; border-radius: 0; }
.doc-list li { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--c-line-soft); }
.doc-cat .doc-list li:nth-child(even) { background: var(--c-surface-soft); }
.doc-list li:hover { background: var(--c-tint); }
.doc-list li:last-child, .link-list li:last-child a { border-bottom: 0; }
.doc-list li[hidden], .doc-cat[hidden] { display: none; }
.doc-ico { flex: none; width: 40px; height: 40px; border-radius: 8px; background: var(--c-tint); color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; }
.doc-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.doc-text b { font-weight: 600; color: var(--c-ink); line-height: 1.35; }
.doc-text small { color: var(--c-muted); font-size: 13px; }
.doc-actions { flex: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.doc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 64px; height: 40px; padding: 0 14px; border-radius: 6px; font-size: 13px; font-weight: 700; letter-spacing: .02em; border: 1px solid var(--c-input); color: var(--c-primary-dark); background: var(--c-surface); text-decoration: none; white-space: nowrap; }
.doc-btn small { font-weight: 500; font-size: 12px; opacity: .85; }
.doc-cat .doc-btn { min-width: 112px; }
.doc-btn.is-pdf { background: var(--c-doc-pdf); border-color: var(--c-doc-pdf); color: var(--c-surface); }
.doc-btn.is-office { background: var(--c-doc-office); border-color: var(--c-doc-office); color: var(--c-surface); }
.doc-btn:hover, .doc-btn:focus-visible { filter: brightness(.92); color: var(--c-surface); }
.doc-btn:not(.is-pdf):not(.is-office):hover { color: var(--c-primary-dark); }
/* Metin içindeki belge bağlantıları (süreli indirme adresine çevrilmiş): küçük tür etiketi */
.prose a.file-link { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 4px; font-size: .85em; font-weight: 600; text-decoration: none; background: var(--c-tint); color: var(--c-primary-dark); white-space: nowrap; }
.prose a.file-link::before { content: "↓"; font-weight: 700; }
.prose a.file-link.file-pdf { background: var(--c-doc-pdf); color: var(--c-surface); }
.prose a.file-link:is(.file-doc, .file-docx, .file-odt, .file-rtf, .file-xls, .file-xlsx, .file-ods, .file-csv) { background: var(--c-doc-office); color: var(--c-surface); }
.prose a.file-link:hover { filter: brightness(.92); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: var(--c-primary); box-shadow: 0 6px 18px rgb(var(--rgb-shade) / .08); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; font-weight: 600; color: var(--c-ink); line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--c-surface-soft); }
.faq-item summary:focus-visible { outline: 3px solid var(--c-primary); outline-offset: -3px; }
.faq-item[open] summary { background: var(--c-primary); color: var(--c-surface); }
.faq-chevron { flex: none; display: inline-flex; transition: transform .2s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 16px 20px 20px; font-size: 16px; }
.faq-answer > :first-child { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .faq-item, .faq-chevron { transition: none; } }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--c-line-soft); color: var(--c-ink); }
.link-list a span { display: flex; flex-direction: column; }
.link-list a small { color: var(--c-muted); font-size: 13px; font-weight: 400; }
.link-list a:hover { background: var(--c-surface-soft); color: var(--c-primary); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.member { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; text-align: center; padding-bottom: 16px; }
.member-photo { aspect-ratio: 4 / 5; background: var(--c-surface-mid); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.member-photo span { font-family: var(--f-head); font-size: 42px; font-weight: 700; color: var(--c-primary); opacity: .55; }
.member h3 { font-size: 16px; font-weight: 600; padding: 0 12px; }
.member-title { font-size: 14px; color: var(--c-primary); font-weight: 600; padding: 2px 12px 0; }
.member-company { font-size: 13px; color: var(--c-muted); padding: 4px 12px 0; }
.unit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.unit { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px; }
.unit h3 { font-size: 15px; font-weight: 700; color: var(--c-primary-dark); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.unit ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.unit li { display: flex; flex-direction: column; }
.unit li span { font-size: 13px; color: var(--c-muted); }

/* ---------- Başvuru formu ---------- */
.form-block { margin-top: 40px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 28px; }
.app-form { display: flex; flex-direction: column; gap: 18px; }
.form-step { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.form-step legend { font-family: var(--f-head); font-size: 19px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.app-form.js-steps .form-step[hidden] { display: none; }
.step-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.step-progress { font-size: 14px; color: var(--c-muted); margin: 0; }
.step-progress b { color: var(--c-ink); }
.step-progress span { color: var(--c-ink); font-weight: 600; }
.step-bar { height: 8px; border-radius: 999px; background: var(--c-surface-mid); overflow: hidden; }
.step-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--c-primary); transition: width .3s ease; }
.step-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--c-muted); }
.step-list li { display: inline-flex; align-items: center; gap: 6px; }
.step-list b { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; background: var(--c-surface-mid); color: var(--c-ink); }
.step-list li.is-current { color: var(--c-ink); font-weight: 600; }
.step-list li.is-current b, .step-list li.is-done b { background: var(--c-primary); color: var(--c-surface); }
.app-form:not(.js-steps) .step-head { display: none; }
.req { color: var(--c-danger); margin-left: 2px; }
.hint { font-size: 13px; color: var(--c-muted); font-weight: 400; }
.form-info { background: var(--c-surface-soft); border-radius: 8px; padding: 14px 16px; font-size: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--c-primary); flex: none; }
.file-field { gap: 8px; }
.drop { display: flex; flex-direction: column; gap: 4px; border: 2px dashed var(--c-input); border-radius: var(--radius); padding: 18px; background: var(--c-surface-soft); cursor: pointer; font-weight: 400; color: var(--c-ink-soft); }
.drop:hover, .drop.is-over { border-color: var(--c-primary); }
.drop input[type=file] { font: inherit; }
.drop-text { font-weight: 600; color: var(--c-primary-dark); }
.step-nav { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 6px; }
.form-success { background: var(--c-tint); border: 1px solid #b9d4b3; color: var(--c-primary-dark); border-radius: 8px; padding: 16px 18px; font-weight: 600; }
.form-errors { background: #fde8e6; color: #7a1a12; border-radius: 8px; padding: 14px 16px; font-size: 14px; }
.form-errors ul { margin: 6px 0 0; padding-left: 18px; }
.field-error { outline: 2px solid var(--c-danger); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 600px) {
  .doc-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px 12px; padding: 14px; }
  .doc-actions { grid-column: 2; justify-content: flex-start; }
  .doc-cat-head { padding: 12px 14px; }
  .form-block { padding: 18px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* ---------- Yapay zekâ asistanı ---------- */
.ai-chat { position: fixed; bottom: 18px; z-index: 45; font-family: var(--f-body); }
.ai-chat.ai-right { right: 18px; }
.ai-chat.ai-left { left: 18px; }
.ai-fab { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-darker) 100%); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 10px 28px rgb(var(--rgb-shade) / .35); cursor: pointer; }
.ai-fab:hover { filter: brightness(1.08); }
.ai-chat.is-open .ai-fab { display: none; }
.ai-panel { width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - 110px)); display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 24px 64px rgb(var(--rgb-scrim) / .28); overflow: hidden; }
.ai-panel[hidden] { display: none; }
.ai-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--c-primary-dark); color: #fff; }
.ai-head strong { display: block; font-family: var(--f-head); font-size: 15px; }
.ai-head small { display: block; font-size: 12px; opacity: .8; }
.ai-head > div { flex: 1; min-width: 0; }
.ai-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .15); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ai-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ai-close:hover { background: rgba(255, 255, 255, .12); }
.ai-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--c-surface-soft); }
.ai-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.ai-msg p { margin: 0; }
.ai-msg p + p, .ai-msg p + ul, .ai-msg ul + p { margin-top: 6px; }
.ai-msg ul { margin: 4px 0 0; padding-left: 18px; }
.ai-msg a { color: var(--c-primary); text-decoration: underline; font-weight: 600; }
.ai-bot { align-self: flex-start; background: #fff; border: 1px solid var(--c-line); border-bottom-left-radius: 4px; color: var(--c-ink); }
.ai-user { align-self: flex-end; background: var(--c-primary); color: #fff; border-bottom-right-radius: 4px; }
.ai-wait { display: inline-flex; gap: 4px; padding: 14px; }
.ai-wait span { width: 7px; height: 7px; border-radius: 50%; background: var(--c-muted); animation: ai-dot 1s infinite ease-in-out; }
.ai-wait span:nth-child(2) { animation-delay: .15s; }
.ai-wait span:nth-child(3) { animation-delay: .3s; }
@keyframes ai-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ai-suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-suggest button { border: 1px solid var(--c-input); background: #fff; color: var(--c-primary-dark); border-radius: 999px; padding: 7px 12px; font-size: 13px; cursor: pointer; text-align: left; }
.ai-suggest button:hover { background: var(--c-tint); border-color: var(--c-accent); }
.ai-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--c-line); background: #fff; }
.ai-form textarea { flex: 1; resize: none; border: 1px solid var(--c-input); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; max-height: 120px; }
.ai-form textarea:focus { outline: 2px solid var(--c-accent); outline-offset: 0; border-color: transparent; }
.ai-form button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--c-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ai-note { margin: 0; padding: 6px 14px 10px; font-size: 11.5px; line-height: 1.4; color: var(--c-muted); background: #fff; }
@media (max-width: 600px) {
  .ai-chat.is-open { inset: 0; bottom: 0 !important; }
  .ai-chat.is-open .ai-panel { width: 100%; height: 100%; border-radius: 0; }
  .ai-fab-label { display: none; }
  .ai-fab { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) { .ai-wait span { animation: none; } }


/* ---------- Erişilebilirlik aracı ---------- */
.a11y { position: fixed; z-index: 46; font-family: var(--f-body); }
.a11y.a11y-left { left: 18px; }
.a11y.a11y-right { right: 18px; }
.a11y-toggle { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--c-a11y); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); cursor: pointer; position: relative; }
.a11y-toggle:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }
.a11y.is-active .a11y-toggle::after { content: ""; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
.a11y-panel { position: absolute; bottom: 68px; width: min(380px, calc(100vw - 24px)); max-height: min(640px, calc(100vh - 110px)); display: flex; flex-direction: column; background: #fff; color: var(--c-ink); border-radius: var(--radius-lg); box-shadow: 0 24px 64px rgb(var(--rgb-scrim) / .3); overflow: hidden; }
.a11y-left .a11y-panel { left: 0; }
.a11y-right .a11y-panel { right: 0; }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; background: var(--c-a11y); color: #fff; }
.a11y-head strong { font-family: var(--f-head); font-size: 16px; }
.a11y-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.a11y-x:hover { background: rgba(255, 255, 255, .15); }
.a11y-body { overflow-y: auto; padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.a11y-body h3 { margin: 6px 2px 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); font-family: var(--f-body); }
.a11y-size { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--c-a11y-soft); font-weight: 600; font-size: 14px; }
.a11y-size > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.a11y-stepper { display: inline-flex; align-items: center; gap: 6px; }
.a11y-stepper button { width: 44px; height: 40px; border-radius: 8px; border: 1px solid #c7d2fe; background: #fff; color: var(--c-a11y); font-weight: 700; cursor: pointer; }
.a11y-stepper button:disabled { opacity: .4; cursor: default; }
.a11y-stepper output { min-width: 48px; text-align: center; font-variant-numeric: tabular-nums; }
.a11y-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.a11y-grid button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 84px; padding: 10px 6px; border-radius: 10px; border: 1px solid var(--c-border); background: #fff; color: var(--c-ink); font-size: 12.5px; line-height: 1.25; text-align: center; cursor: pointer; }
.a11y-grid button:hover { border-color: var(--c-a11y); }
.a11y-grid button[aria-pressed="true"], .a11y-grid button[aria-checked="true"] { background: var(--c-a11y); border-color: var(--c-a11y); color: #fff; }
.a11y-panel button:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.a11y-wide { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--c-border); background: #fff; color: var(--c-ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.a11y-reset { justify-content: center; background: var(--c-a11y-soft); border-color: transparent; color: var(--c-a11y); }
.a11y-structure { position: absolute; inset: 64px 0 0 0; z-index: 2; display: flex; flex-direction: column; background: var(--c-surface); }
.a11y-structure[hidden] { display: none; }
.a11y-structure-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--c-line); font-weight: 600; font-size: 14px; }
.a11y-structure-head button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-ink); font-weight: 600; cursor: pointer; }
.a11y-structure-list { flex: 1; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.a11y-structure-list p { margin: 12px 8px; color: var(--c-muted); font-size: 14px; }
.a11y-structure a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--c-ink); font-size: 15px; line-height: 1.35; text-decoration: none; }
.a11y-structure a:hover, .a11y-structure a:focus-visible { background: var(--c-a11y-soft); }
.a11y-structure .a11y-s-h1 { font-weight: 700; }
.a11y-structure .a11y-s-h2 { padding-left: 24px; }
.a11y-structure .a11y-s-h3 { padding-left: 40px; font-size: 14px; }
.a11y-structure .a11y-s-bolum { font-style: italic; color: var(--c-muted); }
.a11y-filters { position: absolute; width: 0; height: 0; overflow: hidden; }
.a11y-guide-line { position: fixed; left: 0; right: 0; height: 6px; background: var(--c-alert); box-shadow: 0 0 0 2px rgba(0, 0, 0, .6); z-index: 44; pointer-events: none; }
.a11y-guide-line[hidden], .a11y-mask-layer[hidden] { display: none; }
.a11y-mask-layer > div { position: fixed; left: 0; right: 0; background: rgba(0, 0, 0, .6); z-index: 44; pointer-events: none; }
.a11y-mask-layer > div:first-child { top: 0; height: 40vh; }
.a11y-mask-layer > div:last-child { top: calc(40vh + 120px); bottom: 0; }
@media (max-width: 600px) {
  .a11y-panel { position: fixed; left: 8px !important; right: 8px !important; bottom: 84px; width: auto; }
}

/* Uygulanan ayarlar (sınıflar <html> üzerinde). Filtreler kök öğeye uygulanır; böylece köşedeki sabit düğmeler kaymaz. */
html.a11y-zoomed body > :not(.a11y):not(.ai-chat):not(.wa-btn):not(script):not(.a11y-guide-line):not(.a11y-mask-layer):not(.a11y-filters) { zoom: var(--a11y-zoom); }
html.a11y-lh body :is(p, li, dd, td, blockquote, .prose, label) { line-height: 2 !important; }
html.a11y-ls body :is(p, li, dd, td, a, span, h1, h2, h3, h4, blockquote, label, button) { letter-spacing: .12em !important; word-spacing: .16em !important; }
html.a11y-font body, html.a11y-font body :not(svg):not(svg *) { font-family: Verdana, Tahoma, "Segoe UI", Arial, sans-serif !important; }
html.a11y-align body :is(p, li, dd, td, h1, h2, h3, h4, blockquote, .prose, .prose *) { text-align: left !important; }
html.a11y-links body a:not(.a11y *) { text-decoration: underline !important; text-underline-offset: 3px; background: #fff3a3 !important; color: #0b3d91 !important; outline: 1px solid #0b3d91; }
html.a11y-headings body :is(h1, h2, h3, h4):not(.a11y *) { outline: 2px dashed var(--c-a11y); outline-offset: 4px; background: var(--c-a11y-soft); }
html.a11y-focus *:focus { outline: 4px solid #ffbf47 !important; outline-offset: 2px !important; box-shadow: 0 0 0 6px #1e1e1e !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 7-6 2-2 6z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 6 4, auto !important; }
html.a11y-pause *, html.a11y-pause *::before, html.a11y-pause *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-noimg body :is(img, video, picture, .hero-media, iframe):not(.a11y *) { opacity: 0 !important; }
html.a11y-noimg body [style*="background-image"], html.a11y-noimg .maps::before, html.a11y-noimg .stats { background-image: none !important; }
html.a11y-c-contrast { filter: contrast(1.6); }
html.a11y-c-dark { filter: invert(1) hue-rotate(180deg); background: #fff; }
html.a11y-c-dark :is(img, video, picture, iframe, .hero-media) { filter: invert(1) hue-rotate(180deg); }
html.a11y-c-gray { filter: grayscale(1); }
html.a11y-c-lowsat { filter: saturate(.45); }
html.a11y-c-protan { filter: url(#a11y-protan); }
html.a11y-c-deutan { filter: url(#a11y-deutan); }
html.a11y-c-tritan { filter: url(#a11y-tritan); }
html.a11y-c-dark :is(.a11y, .ai-chat, .wa-btn) { filter: invert(1) hue-rotate(180deg); }
