/* ==========================================================================
   Kovanlık Belediyesi — liste/tablo sayfaları · önek cxpt- · 2026-10-19 "zengin" tasarım
   Birim Telefonları (turuncu santral kartı + lacivert başlıklı tablo) · Protokol Listesi (ilk üç kartı + grup hapları + tablo).
   Arama çubuğu (.cxpt-search) Belediye Birimleri ve Meclis Kararları sayfalarında da kullanılır — ölçüleri korunur.
   ========================================================================== */

/* Ortak Kurumsal yan sütun: dar ekranda yatay hap menüsü taşmasın (cxp-base.css'teki grid hücresi min-width almıyor) */
.cxp-k2__side { min-width: 0; grid-template-columns: minmax(0, 1fr); }

/* ── Arama çubuğu (ortak) ──────────────────────────────────────────────── */
.cxpt-search { position: relative; display: flex; align-items: center; height: 56px; background: #fff; border: 1px solid var(--ax-line, #e5efe6); border-radius: calc(14px * var(--ax-rs, 1)); box-shadow: 0 0 0 1.5px var(--cx-line, #e4e9e4); transition: border-color .2s, box-shadow .2s; }
.cxpt-search:focus-within { border-color: var(--ax-or, #2e9b3c); box-shadow: 0 0 0 4px rgba(46, 155, 60, .14); }
.cxpt-search input { flex: 1; min-width: 0; height: 100%; padding: 0 62px 0 22px; border: 0; border-radius: calc(14px * var(--ax-rs, 1)); background: transparent; font: inherit; font-size: calc(14.5px * var(--ax-fz, 1)); font-weight: 500; color: var(--cx-ink); -webkit-appearance: none; appearance: none; }
.cxpt-search input:focus { outline: 0; }
.cxpt-search input::placeholder { color: #92bb95; }
.cxpt-search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.cxpt-search button, .cxpt-search__ic { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: calc(11px * var(--ax-rs, 1)); background: transparent; color: var(--cx-blue); font-size: calc(17px * var(--ax-fz, 1)); }
.cxpt-search button { cursor: pointer; transition: background .2s; }
.cxpt-search button:hover { background: var(--cx-blue-100); }
.cxpt-search button:focus-visible { outline: 2px solid var(--cx-blue); outline-offset: 0; }
.cxpt-search__ic { pointer-events: none; }

.cxp-k2__main .ax-H { font-size: calc(30px * var(--ax-fz, 1)); }
.cxpt-sh { margin-bottom: 22px; }
.cxpt-sh + * { margin-top: 0; }
.cxpt-top + .cxpt-sh { margin-top: 46px; }

/* ── Santral kartı (turuncu) ─────────────────────────────────────────── */
.cxpt-san { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 22px; padding: 28px 30px; border-radius: calc(30px * var(--ax-rs, 1)); background: var(--kv-grad); color: #fff; box-shadow: none; }
.cxpt-san__w { position: absolute; z-index: -1; right: -40px; top: -50px; width: 520px; height: 280px; color: #fff; opacity: .14; }
.cxpt-san::after { content: ""; position: absolute; z-index: -1; right: 120px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .1); }
.cxpt-san__ic { flex: none; width: 70px; height: 70px; border-radius: calc(22px * var(--ax-rs, 1)); display: grid; place-items: center; background: rgba(255, 255, 255, .22); font-size: calc(30px * var(--ax-fz, 1)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.cxpt-san__tx { flex: 1; min-width: 0; line-height: 1.15; }
.cxpt-san__tx small { display: block; font-size: calc(12px * var(--ax-fz, 1)); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #fff3e8; }
.cxpt-san__tx b { display: block; margin-top: 6px; font-family: var(--ax-head); font-weight: var(--ax-hw, 900); font-size: calc(34px * var(--ax-fzh, 1)); letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cxpt-san__tx span { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: calc(13.5px * var(--ax-fz, 1)); font-weight: 600; color: #fff3e8; }
.cxpt-san__btn { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: calc(16px * var(--ax-rs, 1)); background: #fff; color: var(--ax-navy); font-size: calc(14px * var(--ax-fz, 1)); font-weight: 800; box-shadow: 0 0 0 1.5px var(--cx-line, #e4e9e4); transition: transform .2s, background .2s; }
.cxpt-san__btn i { color: var(--ax-or); }
.cxpt-san__btn:hover { transform: translateY(-2px); }

/* ── Araçlar: arama + özet ───────────────────────────────────────────── */
.cxpt-tools { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.cxpt-tools__s { flex: 1; min-width: 0; }
.cxpt-tools--p { flex-direction: column; align-items: stretch; margin-top: 0; }
.cxpt-stat { flex: none; display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cxpt-stat li { display: grid; align-content: center; min-width: 110px; height: 56px; padding: 0 16px; border-radius: calc(14px * var(--ax-rs, 1)); background: #fff; box-shadow: 0 0 0 1.5px var(--cx-line, #e4e9e4); line-height: 1.15; }
.cxpt-stat b { font-family: var(--ax-head); font-weight: var(--ax-hw, 900); font-size: calc(16px * var(--ax-fzh, 1)); color: var(--ax-navy); white-space: nowrap; }
.cxpt-stat small { font-size: calc(11px * var(--ax-fz, 1)); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ax-muted); }
.cxpt-groups[hidden] { display: none; }
.cxpt-groups .ax-pl i { color: var(--ax-or); }
.cxpt-groups .ax-pl.is-on i { color: #fff; }
.cxpt-groups .ax-pl .cxp-count { min-width: 26px; height: 22px; background: var(--ax-bg); }
.cxpt-groups .ax-pl.is-on .cxp-count { background: rgba(255, 255, 255, .22); color: #fff; }

/* ── Tablo (lacivert başlık) ─────────────────────────────────────────── */
.cxpt-wrap { margin-top: 16px; background: #fff; border-radius: calc(26px * var(--ax-rs, 1)); overflow: hidden; box-shadow: var(--cx-shadow); }
.cxpt-table { width: 100%; border-collapse: collapse; font-size: calc(14px * var(--ax-fz, 1)); line-height: 1.4; }
.cxpt-table thead tr { box-shadow: inset 0 -4px 0 var(--ax-or); }
.cxpt-table thead th { padding: 19px 22px 21px; background: var(--ax-navy); color: #fff; font-family: var(--ax-head); font-size: calc(12px * var(--ax-fzh, 1)); font-weight: 800; letter-spacing: .1em; text-transform: var(--ax-tt, uppercase); text-align: left; white-space: nowrap; }
.cxpt-table td { padding: 14px 22px; border-top: 1px solid #eef4ee; color: var(--cx-text); vertical-align: middle; transition: background .15s; }
.cxpt-table tbody tr:first-child td { border-top: 0; }
.cxpt-table tbody tr:nth-child(even) td { background: #fafdfb; }
.cxpt-table tbody tr:hover td { background: #fff6ee; }
.cxpt-table tr[hidden] { display: none; }
.cxpt-table .cxpt-cx { text-align: center; }
.cxpt-table .cxpt-cno { width: 84px; }
.cxpt-c { min-width: 0; }
.cxpt-n { display: block; font-weight: 800; color: var(--cx-ink); }
.cxpt-sub { display: block; margin-top: 2px; font-size: calc(12px * var(--ax-fz, 1)); font-weight: 500; color: var(--cx-muted); }
.cxpt-unit { display: flex; align-items: center; gap: 13px; }
.cxpt-ico { flex: none; width: 42px; height: 42px; border-radius: calc(13px * var(--ax-rs, 1)); display: grid; place-items: center; color: #fff; font-size: calc(16px * var(--ax-fz, 1)); }
.cxpt-t0 { background: var(--kv-grad); } .cxpt-t1 { background: linear-gradient(150deg, var(--ax-c2a, #63b04f), var(--ax-c2b, #3f8a30)); }
.cxpt-t2 { background: linear-gradient(150deg, var(--ax-c5a, #b8844e), var(--ax-c5b, #8c5b2f)); } .cxpt-t3 { background: var(--kv-grad); }
.cxpt-t4 { background: linear-gradient(150deg, var(--ax-c4a, #2e9b3c), var(--ax-c4b, #1b5e24)); } .cxpt-t5 { background: linear-gradient(150deg, var(--ax-c3a, #237a2e), var(--ax-c3b, #123a17)); }
.cxpt-who { display: inline-flex; align-items: center; gap: 11px; }
.cxpt-av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #e9f5ea; color: var(--ax-navy); font-family: var(--ax-head); font-weight: 800; font-size: calc(12.5px * var(--ax-fzh, 1)); }
.cxpt-av--belediye { background: var(--kv-grad); color: #fff; }
.cxpt-av--muhtar { background: var(--ax-c2l, #e6f3e0); color: var(--ax-c2b, #3f8a30); }
.cxpt-av--mulki { background: var(--ax-c1l, #e7f2e8); color: var(--ax-c1b, #1b5e24); }
.cxpt-av--kurum { background: var(--ax-c3l, #dcebdd); color: var(--ax-c3b, #123a17); }
.cxpt-tel { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: calc(11px * var(--ax-rs, 1)); background: var(--ax-bg); font-weight: 800; color: var(--ax-navy); font-variant-numeric: tabular-nums; white-space: nowrap; transition: background .2s, color .2s; }
.cxpt-tel i { font-size: calc(11px * var(--ax-fz, 1)); color: var(--ax-or); transition: color .2s; }
a.cxpt-tel:hover { background: var(--ax-or); color: var(--ax-onor, #fff); }
a.cxpt-tel:hover i { color: #fff; }
.cxpt-ext { display: inline-grid; place-items: center; min-width: 42px; height: 32px; padding: 0 10px; border-radius: calc(10px * var(--ax-rs, 1)); background: var(--ax-orl); color: var(--ax-orink, var(--ax-orink, #1b5e24)); font-family: var(--ax-head); font-size: calc(14px * var(--ax-fzh, 1)); font-weight: var(--ax-hw, 900); font-variant-numeric: tabular-nums; }
.cxpt-dash { color: #adceb0; }
.cxpt-no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ax-navy); color: #fff; font-family: var(--ax-head); font-size: calc(13px * var(--ax-fzh, 1)); font-weight: 800; font-variant-numeric: tabular-nums; }
.cxpt-role { display: inline-flex; align-items: center; padding: 6px 11px; border-radius: calc(9px * var(--ax-rs, 1)); background: var(--ax-bg); font-size: calc(12.5px * var(--ax-fz, 1)); font-weight: 800; color: var(--cx-ink); white-space: nowrap; }
.cxpt-role--belediye { background: #e9f5ea; color: var(--ax-navy, #1b5e24); } .cxpt-role--muhtar { background: var(--ax-c2l, #e6f3e0); color: var(--ax-c2b, #3f8a30); }
.cxpt-role--mulki { background: var(--ax-c1l, #e7f2e8); color: var(--ax-c1b, #1b5e24); } .cxpt-role--kurum { background: var(--ax-c3l, #dcebdd); color: var(--ax-c3b, #123a17); }
.cxpt-tagp { display: inline-block; margin-top: 5px; padding: 3px 10px; border-radius: calc(8px * var(--ax-rs, 1)); background: var(--ax-orl); color: var(--ax-orink, var(--ax-orink, #1b5e24)); font-size: calc(11.5px * var(--ax-fz, 1)); font-weight: 700; line-height: 1.3; }
.cxpt-none { margin: 0; padding: 38px 20px; text-align: center; color: var(--cx-muted); font-size: calc(14px * var(--ax-fz, 1)); }
.cxpt-none i { display: block; margin-bottom: 8px; font-size: calc(26px * var(--ax-fz, 1)); color: var(--ax-orlt, var(--ax-orlt, #bfe8c4)); }
.cxpt-none[hidden] { display: none; }
.cxpt-note { margin: 16px 4px 0; display: flex; align-items: flex-start; gap: 10px; font-size: calc(12.5px * var(--ax-fz, 1)); line-height: 1.5; color: var(--cx-muted); }
.cxpt-note i { margin-top: 2px; color: var(--ax-or); }
.cxpt-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 6px 0; font-size: calc(13px * var(--ax-fz, 1)); color: var(--ax-muted); }
.cxpt-foot i { color: var(--ax-or); }
.cxpt-foot a { font-weight: 800; color: var(--ax-navy); text-decoration: underline; text-underline-offset: 3px; }

/* ── Protokol: ilk üç ─────────────────────────────────────────────────── */
.cxpt-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.cxpt-top__i { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 30px 20px 24px; border-radius: calc(28px * var(--ax-rs, 1)); background: #fff; box-shadow: var(--cx-shadow-sm); text-align: center; }
.cxpt-top__i::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 82px; background: var(--kv-pan, #e9efe9); }
.cxpt-top__no { position: absolute; z-index: 1; left: 18px; top: 18px; width: 40px; height: 40px; border-radius: calc(13px * var(--ax-rs, 1)); display: grid; place-items: center; background: var(--ax-or); color: var(--ax-onor, #fff); font-family: var(--ax-head); font-weight: var(--ax-hw, 900); font-size: calc(17px * var(--ax-fzh, 1)); box-shadow: none; }
.cxpt-top__av { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--kv-grad); color: #fff; font-family: var(--ax-head); font-weight: var(--ax-hw, 900); font-size: calc(26px * var(--ax-fzh, 1)); box-shadow: 0 0 0 6px #fff, 0 18px 30px -16px rgba(25, 65, 28, .6); }
.cxpt-top__i b { position: relative; margin-top: 16px; font-family: var(--ax-head); font-weight: 800; font-size: calc(16px * var(--ax-fzh, 1)); line-height: 1.25; color: var(--ax-navy); }
.cxpt-top__r { margin-top: 10px; padding: 5px 12px; border-radius: calc(9px * var(--ax-rs, 1)); background: var(--ax-orl); color: var(--ax-orink, var(--ax-orink, #1b5e24)); font-size: calc(12px * var(--ax-fz, 1)); font-weight: 800; }
.cxpt-top__i small { margin-top: 8px; font-size: calc(12.5px * var(--ax-fz, 1)); font-weight: 600; color: var(--ax-muted); }
.cxpt-top__i:first-child { background: var(--kv-grad); }
.cxpt-top__i:first-child::before { display: none; }
.cxpt-top__i:first-child .cxpt-top__av { background: var(--kv-grad); box-shadow: 0 0 0 6px rgba(255, 255, 255, .14); }
.cxpt-top__i:first-child b { color: #fff; }
.cxpt-top__i:first-child .cxpt-top__r { background: rgba(255, 255, 255, .14); color: #fff; }
.cxpt-top__i:first-child small { color: #c6e1c8; }

/* ── Ayrıştırılamayan içerik (yedek): sayfa metni olduğu gibi ───────────── */
.cxpt-prose { margin-top: 18px; padding: 28px 30px; background: #fff; border-radius: calc(26px * var(--ax-rs, 1)); box-shadow: var(--cx-shadow-sm); font-size: calc(14.5px * var(--ax-fz, 1)); line-height: 1.75; color: var(--cx-text); overflow-x: auto; }
.cxpt-prose p { margin: 0 0 12px; }
.cxpt-prose table { width: 100%; border-collapse: collapse; }
.cxpt-prose th, .cxpt-prose td { padding: 10px 14px; border: 1px solid var(--ax-line, #e5efe6); text-align: left; }
.cxpt-prose th { background: var(--ax-navy); color: #fff; }
.cxpt-prose img { display: block; max-width: 100%; height: auto; margin: 0 auto 12px; border-radius: calc(14px * var(--ax-rs, 1)); }

/* ── Duyarlı ────────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .cxpt-table thead th, .cxpt-table td { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 900px) {
  .cxpt-tools { flex-direction: column; align-items: stretch; }
  .cxpt-stat li { flex: 1; }
  .cxpt-top { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cxpt-top__i { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 18px 18px 18px 70px; text-align: left; }
  .cxpt-top__i::before { display: none; }
  .cxpt-top__no { left: 16px; top: 50%; transform: translateY(-50%); }
  .cxpt-top__av { display: none; }
  .cxpt-top__i b { margin: 0; flex-basis: 100%; }
  .cxpt-top__r, .cxpt-top__i small { margin: 0; }
}
@media (max-width: 720px) {
  .cxp-k2__main .ax-H { font-size: calc(25px * var(--ax-fz, 1)); }
  .cxpt-search { height: 52px; }
  .cxpt-san { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 22px; border-radius: calc(24px * var(--ax-rs, 1)); }
  .cxpt-san__ic { width: 58px; height: 58px; font-size: calc(24px * var(--ax-fz, 1)); border-radius: calc(18px * var(--ax-rs, 1)); }
  .cxpt-san__tx b { font-size: calc(27px * var(--ax-fzh, 1)); }
  .cxpt-san__btn { width: 100%; justify-content: center; }
  .cxpt-groups { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .cxpt-wrap { background: transparent; border-radius: 0; box-shadow: none; overflow: visible; }
  .cxpt-table, .cxpt-table tbody, .cxpt-table tr, .cxpt-table td { display: block; width: 100%; }
  .cxpt-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cxpt-table tbody tr { margin-bottom: 12px; padding: 8px 4px; background: #fff; border-radius: calc(20px * var(--ax-rs, 1)); box-shadow: var(--cx-shadow-sm); border-top: 4px solid var(--ax-navy); }
  .cxpt-table tr[hidden] { display: none; }
  .cxpt-table td { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 14px; border: 0 !important; background: transparent !important; text-align: left !important; }
  .cxpt-table td::before { content: attr(data-label); font-size: calc(11px * var(--ax-fz, 1)); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--cx-muted); }
  .cxpt-table td.cxpt-first { grid-template-columns: minmax(0, 1fr); padding-top: 10px; padding-bottom: 6px; font-size: calc(15px * var(--ax-fz, 1)); }
  .cxpt-table td.cxpt-first::before { display: none; }
  .cxpt-table .cxpt-cno { width: 100%; }
  .cxpt-ext { justify-self: start; }
}
