/* =====================================================================
   /sehirler/ - "Türkiye'nin Tüm Şehirleri" liste sayfası (MOD A)
   cl- önekli sınıflar yalnızca bu sayfada kullanılır.
   sehir.min.css'ten SONRA yüklenir; hem /sehirler/ listesinde hem
   /sehirler/<il> şehir sayfasında (sehirler.php MOD A ve MOD B).
   ===================================================================== */
.cp-body--list { background: #EEF2F8; }

.cp-hero--list { min-height: 0; }
.cp-hero--list .cp-hero__inner { padding-bottom: 56px; }
.cp-hero--list .cp-hero__title { font-size: 2.6rem; margin-top: 36px; }
.cp-hero--list .cp-hero__lead { max-width: 760px; color: #fff; font-weight: 400; line-height: 1.35; }

.cl-search { position: relative; display: flex; align-items: center; gap: 8px; max-width: 540px; margin-top: 28px; padding: 6px 6px 6px 18px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(5, 20, 45, .35); }
.cl-search:focus-within { box-shadow: 0 0 0 3px rgba(26, 86, 219, .4), 0 10px 30px rgba(5, 20, 45, .35); }
.cl-search__input { flex: 1; min-width: 0; height: 42px; border: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); }
.cl-search__input:focus { outline: none; }
.cl-search__input::placeholder { color: #94A3B8; }
.cl-search__input::-webkit-search-cancel-button { cursor: pointer; }
.cl-search__btn { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 44px; border: 0; border-radius: 9px; background: var(--car); color: #fff; cursor: pointer; }
.cl-search__btn:hover { filter: brightness(.92); }

.cl-content { gap: 22px; padding-top: 26px; }
.cl-panel { padding: 24px; }
.cl-panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.cl-h2 { margin: 0 0 18px; font-size: 1.2rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.cl-panel__head .cl-h2 { margin: 0; }
.cl-count { font-size: .82rem; color: var(--ink-3); }

/* Arama önerileri (style.css'teki .autocomplete-list / .autocomplete-item üzerine) */
.cl-ac { left: 0; right: 0; margin-top: 8px; border-radius: 12px; z-index: 950; color: var(--ink); text-align: left; }
.cl-ac .autocomplete-item { min-height: 44px; color: var(--ink); }
.cl-ac .autocomplete-item__icon { color: var(--car); }
.cl-ac .autocomplete-item__text strong { color: var(--car); font-weight: 700; }
.cl-ac__hint { flex: none; font-size: .75rem; color: var(--ink-3); }

/* Popüler şehir kartları */
.cl-pop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.cl-pop__card { display: block; height: 100%; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-top:none; border-radius: 12px; color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.cl-pop__card:hover { box-shadow: 0 14px 30px rgba(15, 35, 70, .14); transform: translateY(-3px); }
.cl-pop__img { display: block; width: 100%; height: 150px; object-fit: cover; }
.cl-pop__img--empty { display: flex; align-items: center; justify-content: center; background: var(--car-soft); color: var(--car); }
.cl-pop__body { display: block; padding: 14px 16px 16px; }
.cl-pop__name { display: block; font-size: 1rem; font-weight: 700; }
.cl-pop__meta { display: block; margin-top: 6px; font-size: .75rem; font-weight: 500; color: var(--car); }

/* Tüm şehirler: sütun sütun alfabetik */
.cl-list { list-style: none; margin: 0; padding: 0; columns: 6 160px; column-gap: 14px; }
.cl-list__item { break-inside: avoid; margin-bottom: 10px; }
.cl-list__item[hidden] { display: none; }
.cl-list a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 1px 2px rgba(15, 35, 70, .04); color: var(--ink); font-size: .9rem; font-weight: 500; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.cl-list a .icon { flex: none; color: var(--car); }
.cl-list a:hover { border-color: var(--car); box-shadow: 0 4px 12px rgba(26, 86, 219, .10); color: var(--car); }
.cl-empty { padding: 32px 16px; text-align: center; color: var(--ink-3); }
.cl-more { display: flex; justify-content: flex-end; margin-top: 12px; }
.cl-more .cp-btn { gap: 8px; }

@media (max-width: 760px) {
  .cp-hero--list .cp-hero__title { font-size: 2rem; margin-top: 24px; }
  .cp-hero--list .cp-hero__inner { padding-bottom: 40px; }
  .cl-panel { padding: 18px 16px; }
  .cl-pop__img { height: 110px; }
  .cl-list { columns: 2; }
  .cl-more { justify-content: stretch; }
  .cl-more .cp-btn { width: 100%; justify-content: center; }
}

/* =====================================================================
   Şehir sayfası (MOD B) ek stilleri: sehir.css'te olmayan sınıflar
   ===================================================================== */

/* Durak grupları: "Çanakkale Otogarları  4" */
.cp-hubgroup { display: flex; flex-direction: column; gap: 12px; }
.cp-hubgroup + .cp-hubgroup { margin-top: 10px; }
.cp-h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--ink); line-height: 1.2; padding: 8px;}
.cp-h3__icon { width: 32px; height: 32px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 9px; color: #fff; background: var(--car); }
.cp-h3__icon.cp-hub--plane { background: var(--plane); }
.cp-h3__icon.cp-hub--train { background: var(--train); }
.cp-h3__icon.cp-hub--bus   { background: var(--compare-bus); }
.cp-h3__icon.cp-hub--ferry { background: var(--car); }
.cp-h3__count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background:var(--navy); border: 1px solid var(--navy); font-size: .78rem; font-weight: 700; color: #fff; }
.cp-hub--ferry .cp-hub__icon { background: var(--car); }

/* Gezilecek yerler: link olmayan kart */
.cp-place--static { cursor: default; }
.cp-place--static:hover { transform: none; box-shadow: none; }

/* Haritada türe göre ikonlu pinler (L.divIcon) */
.leaflet-div-icon.cp-pin { background: transparent; border: 0; }
.cp-pin__dot { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2.5px solid #fff; color: #fff; background: var(--navy); box-shadow: 0 2px 8px rgba(0, 0, 0, .35); box-sizing: border-box; transition: transform .15s; }
.cp-pin:hover .cp-pin__dot { transform: scale(1.1); }
.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); }
.cp-pin--city  .cp-pin__dot { background: var(--navy); }

/* Harita açılır kartı */
.cp-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 14px; box-shadow: 0 10px 28px rgba(15, 31, 43, .22); }
.cp-popup .leaflet-popup-content { margin: 0; width: auto !important; }
.cp-pop { display: flex; flex-direction: column; padding: 0; font: 400 .84rem/1.4 var(--font-body); color: var(--ink); }
.cp-pop__head { display: flex; align-items: center; gap: 10px; padding-right: 14px; }
.cp-pop__icon { width: 34px; height: 34px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: #fff; background: var(--navy); }
.cp-pop--plane .cp-pop__icon { background: var(--plane); }
.cp-pop--train .cp-pop__icon { background: var(--train); }
.cp-pop--bus   .cp-pop__icon { background: var(--compare-bus); }
.cp-pop--ferry .cp-pop__icon { background: var(--car); }
.cp-pop__titles { display: flex; flex-direction: column; min-width: 0; }
.cp-pop__type { font-size: .72rem; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .03em; }
.cp-pop__name { font-size: .95rem; font-weight: 700; color: var(--ink); }
.cp-pop__addr { display: flex; align-items: flex-start; gap: 6px; margin: 0!important; color: var(--ink-2); padding-top: 0}
.cp-pop__addr svg { flex: none; margin-top: 2px; color: var(--ink-3); }
.cp-pop__links { display: flex; gap: 8px; }
.cp-pop__btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 10px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink) !important; font-size: .78rem; font-weight: 600; text-decoration: none; text-align: center; }
.cp-pop__btn:hover { background: var(--car-soft); border-color: var(--car); }
.cp-pop__btn--primary { background: var(--car); border-color: var(--car); color: #fff !important; }
.cp-pop__btn--primary:hover { background: var(--car); filter: brightness(.92); }

/* "Nereden" alanı: etiket + öneri listesi */
.cp-search__field { position: relative; }
.cp-search__field label { font-size: .72rem; font-weight: 600; color: var(--ink-3); }
.cp-search__field input { width: 100%; }
.cp-ac { left: -1px; right: -1px; margin-top: 8px; z-index: 900; }
.cp-ac .autocomplete-item { min-height: 44px; color: var(--ink); }

/* İçerik genişliği (sehir.css'teki 1200px yerine) */
.cp-wrap { max-width: 1400px; }

@media (max-width: 760px) {
  .cp-h3 { font-size: 1rem; }
}

/* Şehir sayfası "Tüm Rotalar" bloğu (RenderHelpers::renderCityRoutes) */
.city-routes { scroll-margin-top: 90px; }
.city-routes h3 small { font-weight: 500; color: var(--ink-3); }
.city-routes__more { margin-top: 8px; }
.city-routes__more summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; color: var(--car); font-weight: 600; font-size: .86rem; }
.city-routes__more ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.city-routes__more a { display: block; padding: 8px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .86rem; }

/* (113. tur) Açıklama metni */
.cl-seo{color:var(--ink-2);font-size:.92rem;line-height:1.7}
.cl-seo__h{margin:0 0 10px;font-size:1.25rem;font-weight:700;color:var(--navy)}
.cl-seo__h3{margin:18px 0 6px;font-size:1rem;font-weight:700;color:var(--navy);line-height: 1.5}
.cl-seo p{margin:0 0 10px}
.cl-seo a{color:var(--car);font-weight:600}

/* Arama önerileri hero'nun altında kalıyordu (.cp-hero overflow:hidden kırpıyordu) */
.cp-hero--list { overflow: visible; z-index: 5; display: flow-root; }
.cp-hero--list .cp-hero__inner { z-index: 2; }
/* Reklam alanları (liste sayfası): kartlar arası boşluk .cl-content gap'i ile verilir, sehir.css'teki negatif margin burada gerekmez */
.cl-content > .ad-slot { margin: 0; min-height: 110px; }

/* (2026-10-19) Şehir sayfası: toplu taşıma ücretleri ve ulaşım kartı (#ucretler) */
.cp-fares { gap: 16px; }
.cp-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.cp-tcard { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.cp-tcard--main { background: #F1F6FC; border-color: #DCE7F3; }
.cp-tcard__head { display: flex; align-items: center; gap: 12px; }
.cp-tcard__icon { flex: none; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--car); color: #fff; }
.cp-tcard__name { flex: 1; min-width: 0; margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.cp-tcard__price { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--ink); }
.cp-tcard__desc { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--ink-2); }
.cp-tcard__list { margin: 0; display: flex; flex-direction: column; }
.cp-tcard__list > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid #E3EBF5; }
.cp-tcard__list dt { font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.cp-tcard__list dd { margin: 0; font-size: .88rem; color: var(--ink); overflow-wrap: anywhere; }
.cp-tcard__list a { color: var(--car); font-weight: 700; }

.cp-fare-box { padding: 20px; }
.cp-fare-box__title { margin: 0 0 12px; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.cp-fare-scroll { overflow-x: auto; }
.cp-fare-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: .9rem; }
.cp-fare-table thead th { padding: 10px 12px; text-align: right; font-size: .78rem; font-weight: 700; color: var(--ink-2); background: #F4F7FB; white-space: nowrap; }
.cp-fare-table thead th:first-child { text-align: left; border-radius: 8px 0 0 8px; }
.cp-fare-table thead th:last-child { border-radius: 0 8px 8px 0; }
.cp-fare-table tbody th { padding: 12px; text-align: left; font-weight: 600; color: var(--ink); }
.cp-fare-table tbody th small { display: block; margin-top: 2px; font-size: .74rem; font-weight: 500; color: var(--ink-3); }
.cp-fare-table td { padding: 12px; text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cp-fare-table tbody tr + tr > * { border-top: 1px solid #EDF2F8; }
.cp-fare-na { color: var(--ink-3); font-weight: 400; }
.cp-fare-note { margin: 0; font-size: .8rem; line-height: 1.55; color: var(--ink-3); }
.cp-fare-note a { color: var(--car); font-weight: 600; }
@media (max-width: 760px) {
  .cp-tcard, .cp-fare-box { padding: 16px; }
  .cp-tcard__list > div { grid-template-columns: 1fr; gap: 2px; }
}

/* (2026-10-19) Şehir sayfası: toplu taşıma hatları (/hatlar/<il>/<hat> bağlantıları) */
.cp-lines__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; }
.cp-lines__all { flex: none; font-weight: 700; color: var(--car); text-decoration: none; padding: 10px 14px; border: 1px solid var(--car); border-radius: 10px; }
.cp-lines__all:hover, .cp-lines__all:focus-visible { background: var(--car-soft); }
.cp-lines__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.cp-lines__list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 73px; box-sizing: border-box; background: var(--surface); border: 1px solid #E3E9F0; border-radius: 10px; color: var(--ink); text-decoration: none; }
.cp-lines__list a:hover, .cp-lines__list a:focus-visible { border-color: var(--car); }
.cp-lines__badge { flex: none; min-width: 40px; height: 32px; padding: 0 6px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: #fff; font-weight: 800; font-size: .8rem; }
.cp-lines__name { min-width: 0; font-weight: 600; font-size: .92rem; line-height: 1.25; }
.cp-lines__name small { display: block; font-weight: 500; color: var(--ink-3); }

/* (2026-10-28) yama_2026-10-28f: şehir sayfası ayrıntılı ücret tabloları + taksi ücretleri */
.cp-fare-lead { margin: 6px 0 0; font-size: .92rem; line-height: 1.6; color: var(--ink-2); }
.cp-fare-box__desc { margin: -4px 0 12px; font-size: .86rem; line-height: 1.55; color: var(--ink-3); }
.cp-fare-table td small { display: block; margin-top: 2px; font-size: .72rem; font-weight: 500; color: var(--ink-3); white-space: normal; }
.cp-taxi-table { min-width: 620px; }
.cp-taxi { gap: 16px; }
