/* =====================================================================
   sehir.css - /sehirler/<il> şehir rehberi sayfası (sehirler.php)
   Sadece şehir sayfalarında yüklenir. Renkler ve fontlar style.css'teki
   :root token'larından gelir (--navy, --car, --line, --font-body ...).
   ===================================================================== */

.cp-body { background: var(--surface); }
.cp-main { display: block; }
.cp-wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 32px; }

/* ---------- Hero ---------- */
.cp-hero { position: relative; overflow: hidden; background-color: #0e2a47; background-image: radial-gradient(ellipse 80% 70% at 70% 40%, rgba(37, 99, 235, 0.55) 0, transparent 70%),
    radial-gradient(ellipse 60% 80% at 10% 90%, rgba(14, 165, 233, 0.30) 0, transparent 60%); color: #fff; min-height: 300px; }
.cp-hero__img { position: absolute; top: 0; right: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cp-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 22%, rgba(14, 42, 71, .72) 42%, rgba(14, 42, 71, .25) 70%, rgba(14, 42, 71, .05) 100%);
}
.cp-hero--plain { min-height: 240px; }
.cp-hero--plain::after { background: none; }
.cp-hero__inner { position: relative; z-index: 1; padding-top: 24px; padding-bottom: 80px; }
.cp-hero__title { margin: 30px 0 10px; font-size: 2.4rem; font-weight: 700; color: #fff; line-height: 1.05; }
.cp-hero__lead { font-size: 1.15rem; font-weight: 500; color: #fff; max-width: 520px; line-height: 1.2}
.cp-hero--plain .cp-hero__inner { padding-bottom: 72px; }

.cp-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; margin-top: 55px; padding: 0; font-size: .82rem; color: #fff; }
.cp-crumbs li { display: flex; align-items: center; }
.cp-crumbs li:not(:last-child)::after { content: '›'; margin: 0 8px; opacity: .7; }
.cp-crumbs a { color: #fff; text-decoration: none; }
.cp-crumbs a:hover { color: #fff; text-decoration: underline; }
.cp-crumbs li[aria-current="page"] { color: #fff; font-weight: 600; }

/* ---------- Sekme çubuğu ---------- */
.cp-tabs-wrap { position: relative; z-index: 2; margin-top: -35px; }
.cp-tabs {
  display: flex; overflow-x: auto; gap: 4px; padding: 8px;
  background: var(--surface); border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(15, 42, 74, .14);
  scrollbar-width: none;
}
.cp-tabs::-webkit-scrollbar { display: none; }
.cp-tab {
  flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 18px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 700; 
  font-size: .92rem; white-space: nowrap;
}
.cp-tab .icon { color: var(--car); }
.cp-tab:hover { background: var(--car-soft); color: var(--car); }

/* ---------- Ortak ---------- */
.cp-content { display: flex; flex-direction: column; gap: 56px; padding-top: 44px; padding-bottom: 64px; }
.cp-intro { font-size: 1rem; line-height: 1.65; color: var(--ink-2); margin-bottom: -24px; }
.cp-h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 6px; }
.cp-sub { font-size: .95rem; color: var(--ink-3); line-height: 1.55; }
.cp-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px 25px}
.cp-card--soft { background: #F1F6FC; border-color: #DCE7F3; }
.cp-section { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 90px; }
.cp-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.cp-empty { color: var(--ink-3); }
[id] { scroll-margin-top: 90px; }

.cp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: .92rem; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.cp-btn--primary { background: var(--navy); color: #fff; }
.cp-btn--primary:hover { background: #163a5f; }
.cp-btn--outline { background: var(--surface); color: var(--car); border-color: var(--car); min-height: 44px; }
.cp-btn--outline:hover { background: var(--car-soft); }

/* ---------- Nasıl gidilir + harita ---------- */
.cp-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.cp-howto { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.cp-howto .cp-sub { margin-bottom: 4px; }
.cp-arrivals { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cp-arrival {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head go" "modes go";
  gap: 10px; align-items: center; padding: 14px 16px;
  background: var(--surface); border: 1px solid #E3EBF5; border-radius: 12px;
  color: var(--ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.cp-arrival:hover { border-color: var(--car); box-shadow: 0 6px 18px rgba(15, 42, 74, .08); }
.cp-arrival__link { color: inherit; text-decoration: none; }
.cp-arrival__link::after { content: ''; position: absolute; inset: 0; border-radius: 12px; }
.cp-arrival:focus-within { outline: 2px solid var(--car); outline-offset: 2px; }
.cp-arrival__link:focus { outline: none; }
.cp-arrival__head { grid-area: head; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: .98rem; }
.cp-arrival__km { font-size: .8rem; color: var(--ink-3); }
.cp-arrival__modes { grid-area: modes; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.cp-arrival__go { grid-area: go; color: var(--car); }
.cp-mode { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; color: var(--ink); }
.cp-mode__icon { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--car); }
.cp-mode__text { display: flex; flex-direction: column; line-height: 1.15; }
.cp-mode__label { font-size: .7rem; font-weight: 500; color: var(--ink-3); }
.cp-mode--car .cp-mode__icon { background: var(--compare-car); }
.cp-mode--train .cp-mode__icon { background: var(--train); }
.cp-mode--bus .cp-mode__icon { background: var(--compare-bus); }
.cp-mode--plane .cp-mode__icon { background: var(--plane); }
.cp-mode--empty { font-weight: 500; color: var(--ink-3); }

.cp-search { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.cp-search__field {
  position: relative; flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px;
  padding: 7px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
}
.cp-search__field:focus-within { border-color: var(--car); }
.cp-search__field label { font-size: .72rem; font-weight: 600; color: var(--ink-3); }
.cp-ac { left: -1px; right: -1px; max-height: 320px; overflow-y: auto; }
.cp-search__field input { border: 0; padding: 0; font: inherit; font-size: .98rem; color: var(--ink); background: transparent; outline: none; }
.cp-search .cp-btn { flex: 1 1 180px; }

.cp-mapcard { overflow: hidden; display: flex; flex-direction: column; }
.cp-map { flex: 1 1 auto; min-height: 340px; background: var(--surface-2); z-index: 0; }
.cp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #F1F6FC; border-top: 1px solid #DCE7F3; }
.cp-stat { display: flex; align-items: center; gap: 12px; padding: 18px 20px; }
.cp-stat + .cp-stat { border-left: 1px solid #DCE7F3; }
/* (2026-10-21) sayaçlar düğme: haritada yalnız o tür; 4 sütun (iskele eklendi) */
.cp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
button.cp-stat { width: 100%; margin: 0; border: 0; border-radius: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background .15s ease; }
button.cp-stat + button.cp-stat { border-left: 1px solid #DCE7F3; }
button.cp-stat:hover:not(:disabled) { background: #E6EFFA; }
button.cp-stat:focus-visible { outline: 2px solid var(--car); outline-offset: -2px; }
button.cp-stat[aria-pressed="true"] { background: #DCE9F8; box-shadow: inset 0 -3px 0 var(--car); }
button.cp-stat[aria-pressed="true"] .cp-stat__icon { background: var(--car); color: #fff; border-color: var(--car); }
button.cp-stat:disabled { cursor: default; opacity: .5; }
@media (max-width: 760px) { .cp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } button.cp-stat:nth-child(3) { border-left: 0; } button.cp-stat:nth-child(n+3) { border-top: 1px solid #DCE7F3; } button.cp-stat { text-align: center; } }
.cp-stat__icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--surface); border: 1px solid #DCE7F3; display: flex; align-items: center; justify-content: center; color: var(--car); }
.cp-stat__label { display: block; font-size: .78rem; color: var(--ink-3); }
.cp-stat__value { display: block; font-size: 1.3rem; font-weight: 700; color: var(--ink); line-height: 1.2; text-align: center;}

/* ---------- Duraklar ---------- */
/* Durak grupları: renkli başlık şeridi (mod rengine göre) */
.cp-hubgroup { --tone: var(--car); --tone-soft: var(--car-soft); display: flex; flex-direction: column; gap: 14px; }
.cp-title {display: flex; align-items: center; padding: 0 10px; background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 8px;justify-content: space-between;}
.cp-hubgroup + .cp-hubgroup { margin-top: 14px; }
.cp-tone--plane { --tone: var(--plane); --tone-soft: var(--plane-soft); }
.cp-tone--train { --tone: var(--train); --tone-soft: var(--train-soft); }
.cp-tone--bus   { --tone: var(--compare-bus); --tone-soft: var(--bus-soft); }
.cp-tone--ferry { --tone: var(--car); --tone-soft: var(--car-soft); }
.cp-hubgroup__head {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 12px 16px 12px 12px; border-radius: 14px;
  background: linear-gradient(90deg, var(--tone-soft) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
}
.cp-hubgroup__head::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: var(--tone); }
.cp-hubgroup__icon {
  width: 44px; height: 44px; flex: none; margin-left: 6px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: var(--tone); box-shadow: 0 4px 12px rgba(15, 31, 43, .15);
}
.cp-hubgroup__icon .icon { width: 22px; height: 22px; }
.cp-hubgroup__titles { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cp-hubgroup__title { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); line-height: 1.2; }
.cp-hubgroup__meta { font-size: .8rem; color: var(--ink-3); }
.cp-hubgroup__count {
  flex: none; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 800; color: var(--tone); background: var(--surface);
  border: 1px solid var(--line); font-variant-numeric: tabular-nums;
}
.cp-more { display: flex; flex-direction: column; gap: 14px; }
.cp-more > summary {
  order: 2; align-self: center; list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  font-weight: 700; font-size: .88rem; color: var(--ink-2);
}
.cp-more > summary::-webkit-details-marker { display: none; }
.cp-more > summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.cp-more[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.cp-more > summary:hover { border-color: var(--tone); color: var(--tone); }
.cp-more__close, .cp-more[open] .cp-more__open { display: none; }
.cp-more[open] .cp-more__close { display: inline; }
.cp-hubs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 6px; }
.cp-hub { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.cp-hub__icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--car); }
.cp-hub--plane .cp-hub__icon { background: var(--plane); }
.cp-hub--train .cp-hub__icon { background: var(--train); }
.cp-hub--bus .cp-hub__icon { background: var(--compare-bus); }
.cp-hub__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cp-hub__name { color: var(--ink); font-weight: 700; text-decoration: none; }
.cp-hub__name:hover { color: var(--car); text-decoration: underline; }
.cp-hub__type { font-size: .8rem; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-hub__dir { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--car); font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cp-hub__dir:hover { background: var(--car-soft); }

/* ---------- Harita işaretleri ---------- */
.cp-pin { background: none; border: 0; }
.cp-pin__dot {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 2px solid #fff; color: #fff; background: var(--car);
  box-shadow: 0 2px 6px rgba(15, 31, 43, .35);
}
.cp-pin--city .cp-pin__dot { background: var(--navy); }
.cp-pin--plane .cp-pin__dot { background: var(--plane); }
.cp-pin--train .cp-pin__dot { background: var(--train); }
.cp-pin--bus .cp-pin__dot { background: var(--compare-bus); }
.cp-pin--ferry .cp-pin__dot { background: var(--car); }

/* ---------- Harita kartı (Leaflet popup) ---------- */
.cp-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 14px; box-shadow: 0 12px 32px rgba(15, 31, 43, .22); overflow: hidden; }
.cp-popup .leaflet-popup-content { margin: 0; width: auto !important; min-width: 240px; font: 400 14px/1.45 var(--font-body); color: var(--ink); }
.cp-popup .leaflet-popup-tip { box-shadow: none; }
.cp-popup a.leaflet-popup-close-button { top: 8px; right: 8px; width: 28px; height: 28px; font-size: 20px; line-height: 26px; color: #fff; opacity: .85; }
.cp-popup a.leaflet-popup-close-button:hover { color: #fff; opacity: 1; }
.cp-pop__head { display: flex; align-items: center; gap: 12px; padding: 14px 40px 14px 16px; color: #fff; background: var(--car); }
.cp-pop--city .cp-pop__head { background: #fff; }
.cp-pop--plane .cp-pop__head { background: #fff; }
.cp-pop--train .cp-pop__head { background: #fff; }
.cp-pop--bus .cp-pop__head { background: #fff; }
.cp-pop__icon { width: 36px; height: 36px; flex: none; border-radius: 10px; background: rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; }
.cp-pop__titles { display: flex; flex-direction: column; min-width: 0; }
.cp-pop__type { font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .9; }
.cp-pop__name { font-size: 1rem; font-weight: 800; line-height: 1.25; }
.cp-pop__addr { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 12px 16px 0; color: var(--ink-2); font-size: .86rem; }
.cp-pop__addr svg { flex: none; margin-top: 2px; color: var(--ink-3); }
.cp-pop__links { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.cp-popup .cp-pop__btn {
  display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px;
  border: 1.5px solid var(--car); border-radius: 10px; color: var(--car); background: var(--surface);
  font-weight: 700; font-size: .86rem; text-align: center; text-decoration: none;
}
.cp-popup .cp-pop__btn:hover { background: var(--car-soft); }
.cp-popup .cp-pop__btn--primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.cp-popup .cp-pop__btn--primary:hover { background: #163a5f; color: #fff; }

/* ---------- Harita: gezilecek yer işareti ve kart ekleri ---------- */
.cp-pin--attraction .cp-pin__dot { background: #C2416A; }
.cp-pin--main .cp-pin__dot { box-shadow: 0 0 0 6px rgba(194, 65, 106, .25), 0 2px 8px rgba(15, 31, 43, .35); }
.cp-pin--main .cp-pin__dot svg { width: 22px; height: 22px; }
.cp-pop--attraction .cp-pop__head { background: #C2416A; }
.cp-pop__img { display: block; width: 100%; height: 120px; object-fit: cover; }
.cp-pop__dist { margin: 0; padding: 10px 16px 0; font-size: .8rem; font-weight: 600; color: var(--ink-3); }

/* ---------- Gezilecek yer sayfası ---------- */
.cp-hero__badge {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 26px;
  padding: 5px 12px 5px 10px; border-radius: 999px; background: #C2416A; color: #fff;
  font-size: .78rem; font-weight: 700;
}
.cp-hero--place .cp-hero__title { margin-top: 12px; }
.cp-near { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cp-near__item {
  --tone: var(--navy);
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  background: var(--surface); border: 1px solid #E3EBF5; border-radius: 12px;
}
.cp-tone--city { --tone: var(--navy); }
.cp-near__item.cp-tone--plane { --tone: var(--plane); }
.cp-near__item.cp-tone--train { --tone: var(--train); }
.cp-near__item.cp-tone--bus { --tone: var(--compare-bus); }
.cp-near__icon { width: 42px; height: 42px; flex: none; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--tone); }
.cp-near__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cp-near__label { font-size: .76rem; color: var(--ink-3); }
.cp-near__name { font-size: .98rem; font-weight: 700; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.cp-near__name:hover { color: var(--car); text-decoration: underline; }
.cp-near__go {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  border-radius: 10px; border: 1.5px solid var(--car); color: var(--car); font-size: .84rem; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.cp-near__go:hover { background: var(--car-soft); }
.cp-mapfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 16px 20px; background: #F1F6FC; border-top: 1px solid #DCE7F3; }
.cp-mapfoot__icon { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--surface); border: 1px solid #DCE7F3; display: flex; align-items: center; justify-content: center; color: var(--car); }
.cp-mapfoot__text { flex: 1 1 200px; min-width: 0; font-size: .92rem; font-weight: 600; color: var(--ink); }
.cp-mapfoot__link { font-size: .84rem; font-weight: 700; color: var(--car); text-decoration: none; white-space: nowrap; }
.cp-mapfoot__link:hover { text-decoration: underline; }
.cp-row--info { align-items: start; }
.cp-about, .cp-info { padding: 26px 28px; }
.cp-about p { margin-top: 10px; font-size: 1rem; line-height: 1.7; color: var(--ink-2); }
.cp-info__list { margin: 14px 0 0; display: flex; flex-direction: column; }
.cp-info__list > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid #EDF2F8; }
.cp-info__list > div:first-child { border-top: 0; }
.cp-info__list dt { font-size: .84rem; font-weight: 600; color: var(--ink-3); }
.cp-info__list dd { margin: 0; font-size: .94rem; color: var(--ink); overflow-wrap: anywhere; }
.cp-info__list dd a { color: var(--car); font-weight: 700; text-decoration: none; }
.cp-backlink { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--car); text-decoration: none; }
.cp-backlink:hover { text-decoration: underline; }

/* ---------- Reklam alanları (style.css .ad-slot üstüne) ---------- */
.cp-content > .ad-slot { margin: -24px 0; }

/* ---------- Popüler rotalar ---------- */
.cp-routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.cp-routes__col { padding: 12px 14px; }
.cp-routes__col h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 10px; color: var(--ink); background: #f5f5f5;
  border: 1px solid #ccc; padding: 12px;
  border-radius: 8px;}
.cp-routes__col ul { list-style: none; margin: 0; padding: 0; }
.cp-routes__col li + li { border-top: 1px solid #EDF2F8; }
.cp-routes__col a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; color: var(--ink-2); text-decoration: none; font-size: .93rem; font-weight: 600; padding: 0 5px}
.cp-routes__col a::after { content: ""; flex: 0 0 16px; width: 16px; height: 16px; background-color: var(--car); opacity: .7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.cp-routes__col a:hover { color: var(--car); }
.cp-routes__col a:hover::after { opacity: 1; }

/* ---------- Gezilecek yerler ---------- */
.cp-places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.cp-place {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--surface); border: 1px solid #E3EBF5; border-radius: 14px;
  color: var(--ink); text-decoration: none; box-shadow: 0 2px 8px rgba(15, 42, 74, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cp-place:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 42, 74, .12); }
.cp-place__img { display: block; width: 100%; height: 170px; object-fit: cover; }
.cp-place__img--empty { display: flex; align-items: center; justify-content: center; background: var(--car-soft); color: var(--car); }
.cp-place__body { flex: 1; display: flex; justify-content: space-between; align-items: start; gap: 8px; padding: 16px; }
.cp-place__name { display: block; font-size: 1rem; margin-bottom: 3px; }
.cp-place__meta { display: block; font-size: .8rem; color: var(--ink-3); }
.cp-place__go { color: var(--car); flex: none; }
.cp-place--static:hover { transform: none; box-shadow: 0 2px 8px rgba(15, 42, 74, .05); }
.cp-place--static .cp-place__name { margin: 0 0 3px; font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.cp-place__desc {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 8px; font-size: .84rem; line-height: 1.5; color: var(--ink-2);
}

/* ---------- Şehir içi ulaşım ---------- */
.cp-local { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; padding: 26px 28px; }
.cp-local__text { flex: 1 1 300px; min-width: 0; }
.cp-local__modes {
  flex: 2 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  background: var(--surface); border: 1px solid #E3EBF5; border-radius: 14px;
}
.cp-local__modes li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 8px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.cp-local__modes li + li { border-left: 1px solid #EDF2F8; }
.cp-local__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--car-soft); color: var(--car); display: flex; align-items: center; justify-content: center; }

/* ---------- SSS (style.css .faq kuralları üstüne) ---------- */
.cp-faq { padding: 24px 28px; margin-top: 0; }
.cp-faq .cp-h2 { font-size: 1.25rem; margin-bottom: 12px; }

/* ---------- /sehirler/ liste ---------- */
.cp-city-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.cp-city-grid a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.cp-city-grid a:hover { border-color: var(--car); color: var(--car); }
.cp-notfound { padding-top: 60px; gap: 12px; }
.cp-notfound a { color: var(--car); }

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
  .cp-hubgroup__head { padding: 10px 12px 10px 8px; gap: 10px; }
  .cp-hubgroup__icon { width: 38px; height: 38px; margin-left: 4px; }
  .cp-hubgroup__title { font-size: 1rem; }
  .cp-hubgroup__count { min-width: 38px; height: 38px; font-size: 1.05rem; }
  .cp-near__item { flex-wrap: wrap; }
  .cp-near__go { width: 100%; justify-content: center; }
  .cp-about, .cp-info { padding: 20px 18px; }
  .cp-info__list > div { grid-template-columns: 1fr; gap: 2px; }
  .cp-wrap { padding: 25px 16px; }
  .cp-hero { min-height: 250px; }
  .cp-hero__img { width: 100%; }
  .cp-hero::after { background: linear-gradient(180deg, rgba(14, 42, 71, .55) 0%, rgba(14, 42, 71, .85) 100%); }
  .cp-hero__title { font-size: 2rem; margin-top: 22px; }
  .cp-hero__lead { font-size: 1rem; }
  .cp-tab { flex: 0 0 auto; padding: 0 14px; }
  .cp-content { gap: 40px; padding-top: 32px; }
  .cp-h2 { font-size: 1.35rem; }
  .cp-howto, .cp-local, .cp-faq, .cp-routes__col { padding: 20px 18px; }
  .cp-map { min-height: 280px; }
  .cp-stat { flex-direction: column; text-align: center; gap: 6px; padding: 14px 8px; }
  .cp-local__modes li:nth-child(n) { border-left: 0; }
}

/* (2026-10-14) Şehir sayfası "Tüm Rotalar" - ilk 12 görünür, kalanı <details> */
.cp-routes__col h3 small { font-weight: 500; color: var(--ink-3, #6b7a90); }
.cp-routes__more { margin-top: 8px; }
.cp-routes__more summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--car); padding: 8px 5px; }
.cp-routes__more ul { margin-top: 4px; }
.cp-routes__col--all ul { columns: 2 260px; column-gap: 24px; }
.cp-routes__col--all li { break-inside: avoid; }

/* (2026-10-31) yama_2026-10-31c: şehir sayfasında masaüstünde şerit, mobilde "Bölüme git" açılır menü (durak sayfalarıyla aynı) */
.cp-jump { display: none; }
.cp-tab.is-active { background: var(--car-soft); color: var(--car); }
@media (max-width: 760px) {
  html { scroll-padding-top: calc(var(--cp-hdr, 0px) + 64px); }

  .cp-tabs-wrap { margin-top: 0; padding: 0; position: sticky; top: var(--cp-hdr, 0px); z-index: 40; background: var(--surface); border-bottom: 1px solid #E3E9F0; box-shadow: 0 2px 8px rgba(14, 42, 71, .06); }
  /* JS yoksa şerit kaydırılabilir kalır; JS varsa şerit gizlenir, seçici görünür */
  .cp-tabs { width: 100%; gap: 0; padding: 0 8px; border-radius: 0; box-shadow: none; background: transparent; justify-content: flex-start; overflow-x: auto; }
  .cp-tab { flex: 0 0 auto; width: auto; min-height: 48px; padding: 0 14px; border-radius: 0; border-bottom: 3px solid transparent; }
  .cp-tab.is-active { background: none; color: var(--car); border-bottom-color: var(--car); }
  .cp-has-jump .cp-tabs { display: none; }
  .cp-has-jump .cp-jump { display: block; position: relative; padding: 8px 16px; }

  .cp-jump__btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 6px 14px 6px 8px; border: 1px solid #DCE4EE; border-radius: 14px; background: #F6F9FC; color: var(--ink); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .cp-jump__btn:active { background: var(--car-soft); }
  .cp-jump__btn:focus-visible { outline: 2px solid var(--car); outline-offset: 2px; }
  .cp-jump__ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--car); color: #fff; }
  .cp-jump__ico .icon { color: #fff; }
  .cp-jump__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
  .cp-jump__txt small { font-size: .7rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); }
  .cp-jump__cur { font-size: 1rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cp-jump__chev { flex: none; color: var(--ink-3); transition: transform .2s; }
  .cp-jump.is-open .cp-jump__chev { transform: rotate(180deg); }

  .cp-jump__back { position: fixed; inset: 0; z-index: -1; background: rgba(14, 42, 71, .38); }
  .cp-jump__list { position: absolute; left: 16px; right: 16px; top: calc(100% - 2px); margin: 0; padding: 6px; list-style: none; max-height: min(62vh, 420px); overflow-y: auto; background: var(--surface); border: 1px solid #E3E9F0; border-radius: 16px; box-shadow: 0 18px 40px rgba(14, 42, 71, .22); overscroll-behavior: contain; }
  .cp-jump__opt { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 10px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: .98rem; font-weight: 600; }
  .cp-jump__opt:focus-visible { outline: 2px solid var(--car); outline-offset: -2px; }
  .cp-jump__oico { flex: none; width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--car-soft); color: var(--car); }
  .cp-jump__oico .icon { color: var(--car); }
  .cp-jump__olab { flex: 1; min-width: 0; }
  .cp-jump__check { flex: none; color: var(--car); visibility: hidden; }
  .cp-jump__opt[aria-selected="true"] { background: var(--car-soft); color: var(--car); }
  .cp-jump__opt[aria-selected="true"] .cp-jump__oico { background: var(--car); color: #fff; }
  .cp-jump__opt[aria-selected="true"] .cp-jump__oico .icon { color: #fff; }
  .cp-jump__opt[aria-selected="true"] .cp-jump__check { visibility: visible; }
}
