/* Adnan Kahveci Mahalle Rehberi — ortak stil
   Onaylanan örnek ana sayfa tasarımı temel alınmıştır. Yazı tipi sitenin kendi sunucusundan yüklenir (dış servise istek gitmez). */
@font-face { font-family: "Public Sans"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/public-sans-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/public-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/public-sans-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/public-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/public-sans-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/public-sans-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-display: swap; font-weight: 800; src: url(../fonts/public-sans-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-display: swap; font-weight: 800; src: url(../fonts/public-sans-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ground: #F3F6F6; --surface: #FFFFFF; --ink: #12303B; --ink-soft: #4B6270; --line: #D6E0E2;
  --accent: #0B6E69; --accent-ink: #FFFFFF; --accent-soft: #E1F0EE; --urgent: #A8281E; --urgent-soft: #FBE9E6;
  --note: #FFF4D6; --note-ink: #6B4E00;
  --font: "Public Sans", "Segoe UI", Arial, sans-serif; --r: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0E1A1F; --surface: #15252C; --ink: #E7EEF0; --ink-soft: #A6B7BE; --line: #29404A;
    --accent: #5CC6BC; --accent-ink: #0E1A1F; --accent-soft: #173A3A; --urgent: #FF8A7D; --urgent-soft: #3A1E1B;
    --note: #3A3116; --note-ink: #F3D98B; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #0E1A1F; --surface: #15252C; --ink: #E7EEF0; --ink-soft: #A6B7BE; --line: #29404A;
  --accent: #5CC6BC; --accent-ink: #0E1A1F; --accent-soft: #173A3A; --urgent: #FF8A7D; --urgent-soft: #3A1E1B;
  --note: #3A3116; --note-ink: #F3D98B; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-text-size-adjust: 100%; padding-bottom: env(safe-area-inset-bottom, 0px); }
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: var(--accent); text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; margin: 0; line-height: 1.2; }
p { margin: 0 0 12px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

.notice { background: var(--note); color: var(--note-ink); font-size: 14px; }
.notice .wrap { padding-block: 8px; }

header.top { position: sticky; top: 0; z-index: 10; background: var(--surface); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
header.top .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 20px; height: 20px; }
.brand b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand small { display: block; font-size: 13px; color: var(--ink-soft); }
.tools { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn { font: inherit; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 22px; height: 22px; }
nav.main { border-top: 1px solid var(--line); }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
nav.main ul::-webkit-scrollbar { display: none; }
nav.main a { display: block; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); padding: 10px 10px; white-space: nowrap; border-bottom: 3px solid transparent; }
nav.main a:hover { color: var(--accent); }
nav.main a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

.search-wrap { padding-block: 0 12px; position: relative; }
.search { position: relative; }
.search label { position: absolute; left: -9999px; }
.search input { width: 100%; font: inherit; font-size: 18px; padding: 14px 16px 14px 50px; border-radius: var(--r); border: 2px solid var(--line); background: var(--surface); color: var(--ink); -webkit-appearance: none; appearance: none; }
.search input:focus { border-color: var(--accent); outline: none; }
.search svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--ink-soft); pointer-events: none; }
.results { margin-top: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.results ul { list-style: none; margin: 0; padding: 0; max-height: 60vh; overflow-y: auto; }
.results li { border-top: 1px solid var(--line); }
.results li:first-child { border-top: none; }
.results a.hit { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; text-decoration: none; color: var(--ink); min-height: 48px; }
.results a.hit:hover, .results a.hit:focus { background: var(--accent-soft); }
.results .empty { padding: 14px 16px; color: var(--ink-soft); }
.tag { font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }

.hero { padding-block: 28px 8px; }
.hero h1, .page-head h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 800; letter-spacing: -0.02em; max-width: 22ch; }
.hero p.lede, .page-head p { color: var(--ink-soft); margin: 10px 0 0; max-width: 62ch; }
.page-head { padding-block: 28px 4px; }
.crumbs { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.crumbs a { color: var(--ink-soft); }

section.block { padding-block: 20px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.block-head h2 { font-size: 23px; font-weight: 800; letter-spacing: -0.01em; }
.block-head span { font-size: 14px; color: var(--ink-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 15px; font-weight: 600; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip .n { font-size: 13px; opacity: .8; }

.urgent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .urgent { grid-template-columns: 1fr; } }
.call { display: flex; align-items: center; gap: 14px; background: var(--urgent-soft); border-radius: var(--r); padding: 14px 16px; text-decoration: none; color: var(--ink); min-height: 72px; }
.call strong { font-size: 30px; font-weight: 800; color: var(--urgent); font-variant-numeric: tabular-nums; min-width: 3ch; }
.call span { font-size: 15px; line-height: 1.35; }
.call span b { display: block; font-size: 16px; }

.panel { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.panel p { margin: 0; }
.panel .sub { color: var(--ink-soft); font-size: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 700; min-height: 44px; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); text-decoration: none; border: 1px solid var(--accent); cursor: pointer; }
.btn.ghost { background: transparent; color: var(--accent); border-color: var(--line); }
.btn svg { width: 18px; height: 18px; flex: none; }

.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 820px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cat { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-decoration: none; color: var(--ink); min-height: 128px; }
.cat:hover { border-color: var(--accent); }
.cat .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.cat .ico svg { width: 22px; height: 22px; }
.cat b { font-size: 17px; }
.cat small { font-size: 14px; color: var(--ink-soft); margin-top: auto; }
.cat.key { border: 2px solid var(--accent); }

.filters { margin-bottom: 14px; }
.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 720px) { .places { grid-template-columns: 1fr; } }
.place { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; scroll-margin-top: 140px; }
.place:target, .place.hl { border: 2px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.place-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.place h3 { font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.place .row { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.place .row svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--ink-soft); }
.place .meta { font-size: 13px; color: var(--ink-soft); }
.place .meta a { color: var(--ink-soft); }
.pending { font-size: 13px; font-weight: 600; color: var(--note-ink); background: var(--note); padding: 3px 8px; border-radius: 6px; align-self: flex-start; }
.place .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.place .feat { display: flex; flex-wrap: wrap; gap: 6px; }
.place .feat span { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; color: var(--ink-soft); }
.loading { color: var(--ink-soft); }

.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 720px) { .links { grid-template-columns: 1fr; } }
.links a { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; text-decoration: none; color: var(--ink); min-height: 64px; }
.links a:hover { border-color: var(--accent); }
.links a b { color: var(--accent); }
.links a span { font-size: 14px; color: var(--ink-soft); }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.steps > li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; display: grid; place-items: center; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { font-size: 16px; color: var(--ink); margin: 0 0 8px; }
.steps .src { font-size: 13px; color: var(--ink-soft); margin: 6px 0 0; }
.steps .src a { color: var(--ink-soft); overflow-wrap: anywhere; }
.steps .act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; max-width: 760px; }
.prose h2 { font-size: 21px; margin: 22px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 16px 0 6px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 12px; }
.prose li { margin-bottom: 4px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin-bottom: 12px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.draft { font-size: 14px; color: var(--note-ink); background: var(--note); border-radius: 8px; padding: 10px 12px; margin: 0 0 14px; }
.callout { background: var(--accent-soft); border-radius: var(--r); padding: 14px 16px; margin-bottom: 14px; }
.callout.warn { background: var(--urgent-soft); }

.news { display: grid; gap: 10px; }
.news article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
@media (max-width: 420px) { .news article { grid-template-columns: 1fr; gap: 4px; } }
.news time { font-size: 14px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.news h3 { font-size: 16px; font-weight: 700; }
.news p { margin: 2px 0 0; font-size: 15px; color: var(--ink-soft); }

/* Harita */
.map-layout { display: grid; grid-template-columns: 1fr 340px; gap: 12px; }
@media (max-width: 860px) { .map-layout { grid-template-columns: 1fr; } }
#map { height: 68vh; min-height: 380px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); z-index: 0; }
.map-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); max-height: 68vh; overflow-y: auto; }
@media (max-width: 860px) { .map-list { max-height: none; } }
.map-list ul { list-style: none; margin: 0; padding: 0; }
.map-list li { border-top: 1px solid var(--line); }
.map-list li:first-child { border-top: none; }
.map-list button { font: inherit; width: 100%; text-align: left; background: none; border: none; color: var(--ink); padding: 12px 14px; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; min-height: 48px; }
.map-list button:hover { background: var(--accent-soft); }
.map-list .nocoord { padding: 12px 14px; font-size: 14px; color: var(--ink-soft); }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex: none; margin-top: 6px; }
.leaflet-popup-content { font-family: var(--font); font-size: 15px; }
.leaflet-popup-content a { color: #0B6E69; }
.map-msg { font-size: 14px; color: var(--note-ink); background: var(--note); border-radius: 8px; padding: 8px 12px; margin-bottom: 10px; }

footer { margin-top: 28px; background: var(--surface); border-top: 1px solid var(--line); }
footer .wrap { padding-block: 24px 32px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; font-size: 15px; }
@media (max-width: 720px) { footer .wrap { grid-template-columns: 1fr; } }
footer h2 { margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
footer p { margin: 0 0 6px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.official { font-weight: 700; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { header.top, nav.main, .search-wrap, footer .tools { display: none; } }
.map-list button { align-items: flex-start; }
.map-list .tag, .place-top .tag { flex: none; align-self: flex-start; }
.pending-list { margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.pending-list:empty { display: none; }
.pending-list h3 { font-size: 17px; margin-bottom: 4px; }
.pending-list h3 span { color: var(--ink-soft); font-weight: 600; }
.pending-list p { font-size: 14px; color: var(--ink-soft); margin: 0 0 10px; }
.pending-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 720px) { .pending-list ul { grid-template-columns: minmax(0, 1fr); } }
.place-row a { min-width: 0; overflow-wrap: anywhere; }
.place-row .tag { flex: none; }
.place-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); min-height: 48px; padding: 6px 0; scroll-margin-top: 140px; }
.place-row a { color: var(--ink); text-decoration: none; font-weight: 600; }
.place-row a:hover { color: var(--accent); text-decoration: underline; }
.place-row.hl { background: var(--accent-soft); }
.audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 820px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.audience a { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; text-decoration: none; color: var(--ink); min-height: 88px; }
.audience a:hover { border-color: var(--accent); }
.audience a b { font-size: 16px; }
.audience a span { font-size: 14px; color: var(--ink-soft); }
.guide-sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 12px; }
.guide-sec h2 { font-size: 20px; margin-bottom: 10px; }
.guide-sec ul { margin: 0; padding-left: 20px; }
.guide-sec li { margin-bottom: 10px; }
.guide-sec li .lnk { display: block; margin-top: 4px; font-size: 15px; }
.guide-sec .src { font-size: 13px; color: var(--ink-soft); margin: 8px 0 0; }
.guide-sec .src a { color: var(--ink-soft); overflow-wrap: anywhere; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
