/* KAMU ALIM MERKEZİ (2026-10-10) — /kategori/kamu-alimlari üst hub'ı (hubs/kamu-alimlari-ust.php).
   kamu1 dili: kalın üst çizgi + ince ayraç + tipografi; dolgulu kutu/hap/pembe yok. Rakamlar tabular. */
.ka { --ka-sicak: var(--accent); min-width: 0; margin: 6px 0 40px; }
.ka [hidden] { display: none !important; }
.ka b, .ka dd, .ka .ka-kalan, .ka .ka-kadro, .ka .ka-c-n, .ka .ka-c-g, .ka .ka-bar-n, .ka time, .ka-sinav-t { font-variant-numeric: tabular-nums; }

/* ---- künye ---- */
.ka-kunye { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 0 48px; align-items: stretch; padding-top: 14px; border-top: 4px solid var(--ink); }
.ka-ust { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ka); }
.ka-ust i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: ka-nabiz 2.2s infinite; }
@keyframes ka-nabiz { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ka) 45%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.ka-ad { margin: 8px 0 0; font-family: var(--display); font-size: clamp(30px, 4.2vw, 52px); font-weight: 900; line-height: .98; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.ka-ozet { max-width: 620px; margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.ka-say { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ka-say > div { padding: 12px 16px 12px 0; }
.ka-say > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.ka-say dt { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.ka-say dd { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 0; font-family: var(--display); font-size: clamp(26px, 3vw, 38px); font-weight: 900; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.ka-say dd small { font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0; color: var(--ink-faint); }
.ka-say .is-sicak dd { color: var(--ka-sicak); }

.ka-odak { display: grid; align-content: start; gap: 6px; padding: 14px 0 16px 22px; border-left: 3px solid var(--ka); color: var(--ink); text-decoration: none; }
.ka-odak:hover { text-decoration: none; }
.ka-odak:hover .ka-odak-t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ka-odak-et { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.ka-odak-gun { display: flex; align-items: baseline; gap: 8px; color: var(--ka); }
.ka-odak-gun b { font-family: var(--display); font-size: clamp(48px, 6vw, 76px); font-weight: 900; line-height: .9; letter-spacing: -.05em; }
.ka-odak-gun small { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ka-odak.is-acil .ka-odak-gun { color: var(--ka-sicak); }
.ka-odak-kurum { margin-top: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.ka-odak-t { font-family: var(--display); font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }
.ka-odak-alt { font-size: 12.5px; font-weight: 700; color: var(--ink-faint); }

/* ---- bölüm gezgini ---- */
.ka-nav { display: flex; gap: 0 4px; margin: 20px 0 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ka-nav::-webkit-scrollbar { display: none; }
.ka-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-bottom: 3px solid transparent; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; text-decoration: none; transition: color .13s, border-color .13s; }
.ka-nav a:first-child { padding-left: 0; }
.ka-nav a:hover { color: var(--ink); border-bottom-color: var(--ka); }

/* ---- ortak başlık ---- */
.ka-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 3px solid var(--ink); }
.ka-h h3 { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.ka-h-not { margin: 0; font-size: 12px; font-weight: 700; color: var(--ink-faint); white-space: nowrap; text-decoration: none; }
a.ka-h-not { color: var(--ka); font-weight: 800; }
section[id^="ka-"], #ilan-masasi { scroll-margin-top: 110px; }

/* ---- ilan masası ---- */
.ka-masa { margin-top: 30px; }
.ka-arac { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; margin-top: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.ka-sekme { display: flex; flex-wrap: wrap; gap: 0 2px; }
.ka-sekme button { min-height: 40px; padding: 0 12px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--ink-soft); font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; touch-action: manipulation; }
.ka-sekme button:first-child { padding-left: 0; }
.ka-sekme button small { margin-left: 3px; font-size: 11.5px; font-weight: 700; color: var(--ink-faint); }
.ka-sekme button:hover { color: var(--ink); }
.ka-sekme button.is-on { color: var(--ink); border-bottom-color: var(--ka); }
.ka-sekme button:focus-visible, .ka-c:focus-visible, .ka-tumu:focus-visible { outline: 2px solid var(--ka); outline-offset: 2px; }
.ka-suz { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.ka-suz input, .ka-suz select { min-height: 38px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; }
.ka-suz input { width: min(280px, 60vw); }
.ka-suz input:focus, .ka-suz select:focus { outline: none; border-bottom-color: var(--ka); }
.ka-suz select { padding-right: 4px; cursor: pointer; }
.ka-gun-suz { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; font-size: 13px; font-weight: 800; color: var(--ka); }
.ka-gun-suz button, .ka-bos button { padding: 0; border: 0; background: none; color: var(--ink-soft); font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }

.ka-liste { list-style: none; margin: 0; padding: 0; }
.ka-i { display: grid; grid-template-columns: 86px minmax(0, 1fr) 84px 118px; align-items: center; gap: 0 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ka-i:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--ka) 5%, transparent), transparent 70%); }
.ka-kalan { display: grid; justify-items: start; line-height: 1; }
.ka-kalan b { font-family: var(--display); font-size: 34px; font-weight: 900; letter-spacing: -.04em; color: var(--ink); }
.ka-kalan b.is-kelime { font-size: 22px; letter-spacing: -.02em; }
.ka-kalan small { margin-top: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.ka-i.is-acil .ka-kalan b, .ka-i.is-acil .ka-kalan small { color: var(--ka-sicak); }
.ka-i.is-yakin .ka-kalan b { color: var(--ink-faint); }
.ka-govde { display: grid; gap: 4px; min-width: 0; }
.ka-kurum { overflow: hidden; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ka); white-space: nowrap; text-overflow: ellipsis; }
a.ka-kurum { text-decoration: none; }
a.ka-kurum:hover { text-decoration: underline; text-underline-offset: 2px; }
a.ka-kurum span { font-size: 10px; }
.ka-bar-satir { display: grid; grid-template-columns: minmax(0, 1fr) 54px; grid-template-areas: "ad n" "iz n"; gap: 5px 12px; align-items: center; padding: 9px 0; color: var(--ink); }
.ka-t { font-family: var(--display); font-size: 17px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); text-decoration: none; text-wrap: pretty; }
.ka-t:hover { text-decoration: underline; text-underline-offset: 3px; }
.ka-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12px; font-weight: 600; color: var(--ink-faint); }
.ka-iptal { font-weight: 800; color: var(--ka-sicak); text-transform: uppercase; letter-spacing: .06em; }
.ka-i.is-iptal .ka-t { text-decoration: line-through; text-decoration-thickness: 1px; color: var(--ink-soft); }
.ka-sure { position: relative; display: block; height: 2px; margin-top: 4px; background: var(--line); max-width: 420px; }
.ka-sure i { position: absolute; inset: 0 auto 0 0; background: var(--ka); }
.ka-i.is-acil .ka-sure i { background: var(--ka-sicak); }
.ka-kadro { display: grid; justify-items: end; line-height: 1; }
.ka-kadro b { font-family: var(--display); font-size: 26px; font-weight: 900; letter-spacing: -.03em; color: var(--ink); }
.ka-kadro b.is-bos { color: var(--ink-faint); font-weight: 700; }
.ka-kadro small { margin-top: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.ka-git { justify-self: end; font-size: 12.5px; font-weight: 800; color: var(--ink); white-space: nowrap; text-decoration: none; border-bottom: 2px solid var(--ka); padding-bottom: 2px; }
.ka-git.is-dis { border-bottom-color: var(--line); color: var(--ink-soft); }
.ka-git:hover { color: var(--ka); text-decoration: none; }
.ka-bos { margin: 16px 0 0; font-size: 14px; color: var(--ink-soft); }
.ka-tumu { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 50px; margin-top: -1px; border: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: none; color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; touch-action: manipulation; }
.ka-tumu span { font-weight: 700; color: var(--ink-faint); }
.ka-tumu:hover { color: var(--ka); }
.ka-kaynak { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--ink-faint); }
.ka-kaynak a { font-weight: 800; color: var(--ka); }

/* ---- takvim + en büyük alımlar ---- */
.ka-iki { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 44px; margin-top: 40px; }
.ka-cubuklar { display: grid; grid-template-columns: repeat(30, minmax(14px, 1fr)); gap: 3px; height: 170px; margin-top: 14px; padding-bottom: 2px; border-bottom: 1px solid var(--ink); }
.ka-c { position: relative; display: grid; grid-template-rows: 16px 1fr; align-items: end; justify-items: center; min-width: 0; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; touch-action: manipulation; }
.ka-c:disabled { cursor: default; }
.ka-c-n { align-self: end; font-size: 10.5px; font-weight: 800; color: var(--ink-soft); }
.ka-c-b { display: block; width: 100%; max-width: 16px; align-self: end; border-radius: 3px 3px 0 0; background: var(--ka); transition: opacity .15s; }
.ka-c.is-bos .ka-c-b { background: var(--line); border-radius: 0; }
.ka-c.is-hs:not(.is-bos) .ka-c-b { background: color-mix(in srgb, var(--ka) 70%, var(--ink)); }
.ka-c:not(:disabled):hover .ka-c-b { opacity: .75; }
.ka-c[aria-pressed="true"] .ka-c-b { background: var(--ink); }
.ka-c-g, .ka-c-h { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.ka-c-g { bottom: -22px; font-size: 10.5px; font-weight: 800; color: var(--ink-soft); }
.ka-c-h { bottom: -36px; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); }
.ka-c.is-bugun .ka-c-g, .ka-c.is-bugun .ka-c-h { color: var(--ka); }
.ka-c.is-bugun::before { content: ""; position: absolute; left: 50%; bottom: -46px; width: 5px; height: 5px; border-radius: 50%; background: var(--ka); transform: translateX(-50%); }
.ka-c:nth-child(even) .ka-c-g, .ka-c:nth-child(even) .ka-c-h { visibility: hidden; }
.ka-c.is-bugun .ka-c-g, .ka-c.is-bugun .ka-c-h, .ka-c:not(.is-bos) .ka-c-g { visibility: visible; }
.ka-takvim-not { margin: 48px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.ka-takvim-not b { color: var(--ink); }

.ka-bar { list-style: none; margin: 8px 0 0; padding: 0; }
.ka-bar li { border-bottom: 1px solid var(--line); }
.ka-bar a { display: grid; grid-template-columns: minmax(0, 1fr) 54px; grid-template-areas: "ad n" "iz n"; gap: 5px 12px; align-items: center; padding: 9px 0; color: var(--ink); text-decoration: none; }
.ka-bar-ad { grid-area: ad; display: grid; min-width: 0; }
.ka-bar-ad b { overflow: hidden; font-size: 13.5px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.ka-bar-ad small { overflow: hidden; font-size: 11.5px; font-weight: 600; color: var(--ink-faint); white-space: nowrap; text-overflow: ellipsis; }
.ka-bar-iz { grid-area: iz; display: block; height: 8px; }
.ka-bar-iz i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--ka); }
.ka-bar-n { grid-area: n; justify-self: end; font-family: var(--display); font-size: 22px; font-weight: 900; letter-spacing: -.03em; }
.ka-bar a:hover b { text-decoration: underline; }

/* ---- alt bölümler ---- */
.ka-bolumler { margin-top: 40px; }
.ka-bolum-izg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; margin-top: 14px; }
.ka-bolum { padding-top: 10px; border-top: 2px solid var(--b, var(--ka)); }
.ka-bolum.is-burada { border-top-width: 4px; }
.ka-bolum h4 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 4px; font-family: var(--display); font-size: 17px; font-weight: 900; letter-spacing: -.015em; }
.ka-bolum h4 a { color: var(--ink); text-decoration: none; }
.ka-bolum h4 a:hover { text-decoration: underline; }
.ka-bolum h4 small { font-family: var(--sans, inherit); font-size: 11.5px; font-weight: 700; letter-spacing: 0; color: var(--ink-faint); white-space: nowrap; }
.ka-bolum ul { list-style: none; margin: 0; padding: 0; }
.ka-bolum li { display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ka-bolum li a { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--ink); text-decoration: none; }
.ka-bolum li a:hover { text-decoration: underline; }
.ka-bolum time { font-size: 11px; font-weight: 700; color: var(--ink-faint); }

/* ---- sınav + araçlar + resmî kanallar ---- */
.ka-uc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin-top: 40px; scroll-margin-top: 110px; }
.ka-sinav { list-style: none; margin: 6px 0 0; padding: 0; }
.ka-sinav li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.ka-sinav-t { display: grid; justify-items: center; line-height: 1; }
.ka-sinav-t b { font-family: var(--display); font-size: 20px; font-weight: 900; }
.ka-sinav-t small { margin-top: 2px; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.ka-sinav strong { display: block; font-size: 13.5px; font-weight: 800; line-height: 1.25; }
.ka-sinav span small { font-size: 11.5px; color: var(--ink-faint); }
.ka-sinav em { font-size: 11.5px; font-style: normal; font-weight: 800; color: var(--ka); white-space: nowrap; }
.ka-baglanti { list-style: none; margin: 6px 0 0; padding: 0; }
.ka-baglanti li { border-bottom: 1px solid var(--line); }
.ka-baglanti a { display: grid; gap: 1px; padding: 9px 0; font-size: 14px; font-weight: 800; color: var(--ink); text-decoration: none; }
.ka-baglanti a small { font-size: 12px; font-weight: 600; color: var(--ink-faint); }
.ka-baglanti a:hover { color: var(--ka); }

/* ---- başvuru rehberi ---- */
.ka-rehber { margin-top: 40px; }
.ka-sss { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 6px; }
.ka-sss details { border-bottom: 1px solid var(--line); }
.ka-sss summary { position: relative; padding: 13px 28px 13px 0; font-size: 15px; font-weight: 800; line-height: 1.35; color: var(--ink); cursor: pointer; list-style: none; }
.ka-sss summary::-webkit-details-marker { display: none; }
.ka-sss summary::after { content: "+"; position: absolute; right: 2px; top: 10px; font-size: 20px; font-weight: 700; color: var(--ka); transition: transform .15s; }
.ka-sss details[open] summary::after { transform: rotate(45deg); }
.ka-sss p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }

/* ---- uyum ---- */
@media (max-width: 1080px) {
    .ka-kunye { grid-template-columns: minmax(0, 1fr); }
    .ka-odak { margin-top: 18px; padding-left: 16px; }
    .ka-iki { grid-template-columns: minmax(0, 1fr); gap: 36px; } /* 1fr = minmax(auto) → 30 günlük çubuğun min genişliği tüm sayfayı genişletiyordu */
    .ka-bolum-izg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .ka-say { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ka-say > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .ka-say > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .ka-arac { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; } /* sarılan flex satırı sekmelerin tam genişliğine büyüyordu */
    .ka-sekme { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--pad, 16px)); padding-inline: var(--pad, 16px); }
    .ka-sekme::-webkit-scrollbar { display: none; }
    .ka-sekme button { flex: none; white-space: nowrap; }
    .ka-suz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .ka-arac > * { min-width: 0; }
    .ka-suz .ka-ara { grid-column: 1 / -1; }
    .ka-suz input { width: 100%; }
    .ka-suz select { width: 100%; }
    .ka-i { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "k g g" "k n git"; gap: 8px 14px; align-items: start; }
    .ka-kalan { grid-area: k; }
    .ka-kalan b { font-size: 28px; }
    .ka-kalan b.is-kelime { font-size: 18px; }
    .ka-govde { grid-area: g; }
    .ka-kadro { grid-area: n; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 5px; }
    .ka-kadro b { font-size: 18px; }
    .ka-kadro small { margin: 0; }
    .ka-git { grid-area: git; align-self: center; }
    .ka-t { font-size: 16px; }
    .ka-cubuklar { grid-template-columns: repeat(30, 22px); gap: 4px; overflow-x: auto; overflow-y: hidden; height: 196px; padding-bottom: 40px; border-bottom: 0; scrollbar-width: none; background: linear-gradient(var(--ink), var(--ink)) 0 calc(100% - 39px) / 100% 1px no-repeat; }
    .ka-cubuklar::-webkit-scrollbar { display: none; }
    .ka-c { grid-template-rows: 16px 1fr; }
    .ka-c-g { bottom: -20px; }
    .ka-c-h { bottom: -33px; }
    .ka-c:nth-child(even) .ka-c-g, .ka-c:nth-child(even) .ka-c-h { visibility: visible; }
    .ka-takvim-not { margin-top: 12px; }
    .ka-bolum-izg { grid-template-columns: minmax(0, 1fr); }
    .ka-uc { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .ka-sss { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .ka-ust i { animation: none; } .ka-c-b, .ka-sss summary::after { transition: none; } }
