/* ============================================================
   Kocaeli Şehir Rehberi — tema CSS (Bootstrap 5 üzerine)
   Sade, flat, kompakt. Marka rengi :root'tan gelir.
   ============================================================ */
:root {
  --brand: #0e7c66;
  --brand-ink: #0a5c4c;
  --brand-soft: rgba(14, 124, 102, .08);
  --bg: #f5f6f7;
  --surface: #ffffff;
  --line: #e5e8ea;
  --line-strong: #d5dade;
  --text: #131b26;
  --muted: #6a7482;
  --ink: #0b1220;
  --ink-2: #141d2e;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -12px rgba(16, 24, 40, .12);
  --shadow-hover: 0 2px 4px rgba(16, 24, 40, .05), 0 16px 32px -16px rgba(16, 24, 40, .18);
}

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; }
h1, h2, h3, h4, h5 { font-weight: 650; letter-spacing: -.02em; color: var(--text); }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.container-xl { max-width: 1200px; padding-left: 18px; padding-right: 18px; }

/* ---------- Butonlar ---------- */
.btn-brand, .btn-ghost, .btn-soft, .btn-dark-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 11px;
  font-size: 14px; font-weight: 600; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: background .16s, color .16s, border-color .16s, transform .16s;
  white-space: nowrap;
}
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(14, 124, 102, .3); }
.btn-brand:hover { background: var(--brand-ink); color: #fff; }
.btn-brand:active { transform: translateY(1px); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: #f9fafb; color: var(--text); border-color: #c3cacf; }
.btn-soft { background: var(--brand-soft); color: var(--brand-ink); }
.btn-soft:hover { background: rgba(14, 124, 102, .14); color: var(--brand-ink); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.hd-inner { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: 17px;
}
.brand-logo { width: 34px; height: 34px; object-fit: contain; border-radius: 9px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: .02em; }

.hd-nav { align-items: center; gap: 2px; margin-left: 6px; }
.hd-nav a {
  padding: 8px 11px; border-radius: 9px; font-size: 14px; font-weight: 550; color: #3f4a58;
  transition: background .15s, color .15s; white-space: nowrap;
}
.hd-nav a:hover { background: #f3f5f6; color: var(--text); }
.hd-nav a.is-active { color: var(--brand-ink); background: var(--brand-soft); }

.hd-search {
  flex: 1 1 auto; max-width: 300px; margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  background: #f3f5f6; border: 1px solid transparent; border-radius: 11px; padding: 0 12px; height: 38px;
  transition: border-color .15s, background .15s;
}
.hd-search:focus-within { background: #fff; border-color: var(--line-strong); }
.hd-search i { color: var(--muted); font-size: 14px; }
.hd-search input { border: 0; background: transparent; outline: 0; font-size: 13.5px; width: 100%; color: var(--text); }
.hd-search input::placeholder { color: #96a0ab; }

.hd-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: 0 0 auto; }
.hd-actions .btn-ghost, .hd-actions .btn-brand { height: 38px; }
.burger {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: #fff; display: grid; place-items: center; font-size: 19px; color: var(--text);
}
.mobile-nav { border-top: 1px solid var(--line); background: #fff; }
.mobile-nav > .container-xl { padding-top: 12px; padding-bottom: 16px; }
.mob-search {
  display: flex; align-items: center; gap: 8px; background: #f3f5f6; border-radius: 11px;
  padding: 0 12px; height: 40px; margin-bottom: 10px;
}
.mob-search input { border: 0; background: transparent; outline: 0; width: 100%; font-size: 14px; }
.mobile-nav > .container-xl > a {
  display: block; padding: 11px 4px; font-size: 15px; font-weight: 550; border-bottom: 1px solid var(--line);
}
.mm-actions { display: flex; gap: 8px; margin-top: 14px; }
.mm-actions > * { flex: 1; justify-content: center; }

/* ---------- Flash ---------- */
.flash-wrap { position: fixed; top: 76px; left: 0; right: 0; z-index: 1080; display: flex; justify-content: center; pointer-events: none; padding: 0 16px; }
.flash {
  display: flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 12px;
  font-size: 14px; font-weight: 550; box-shadow: var(--shadow); pointer-events: auto;
  animation: flashIn .25s ease-out; background: #fff;
}
.flash-ok { color: #065f46; border: 1px solid #a7f3d0; background: #ecfdf5; }
.flash-err { color: #991b1b; border: 1px solid #fecaca; background: #fef2f2; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #1c2536;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}
.hero > .container-xl { position: relative; z-index: 1; padding-top: 52px; padding-bottom: 48px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px;
  border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  font-size: 12px; font-weight: 550; color: #c8d2e0; letter-spacing: .01em; margin-bottom: 16px;
}
.hero-eyebrow i { color: #6ee7b7; }
.hero h1 {
  color: #fff; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.12; letter-spacing: -.035em;
  max-width: 760px; margin-bottom: 12px;
}
.hero h1 em { font-style: normal; color: #6ee7b7; }
.hero p.lead-txt { color: #a9b4c4; font-size: 15.5px; max-width: 620px; margin-bottom: 24px; }

.hero-search { display: flex; gap: 8px; max-width: 720px; background: #fff; border-radius: 14px; padding: 7px; box-shadow: 0 12px 40px -12px rgba(0,0,0,.6); }
.hero-search .hs-field { display: flex; align-items: center; gap: 8px; padding: 0 10px; flex: 1 1 auto; min-width: 0; }
.hero-search .hs-field i { color: var(--muted); font-size: 15px; }
.hero-search input, .hero-search select {
  border: 0; outline: 0; background: transparent; font-size: 14px; width: 100%; color: var(--text); height: 42px;
  appearance: none; -webkit-appearance: none;
}
.hero-search .hs-sep { width: 1px; background: var(--line); margin: 6px 0; flex: 0 0 1px; }
.hero-search .btn-brand { height: 44px; padding: 0 20px; border-radius: 10px; flex: 0 0 auto; }
.hero-stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.hero-stats span { font-size: 12px; color: #8b97a8; }

/* ---------- Bölümler ---------- */
.section { padding: 52px 0; }
.section-tight { padding: 36px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: 23px; margin: 0 0 3px; letter-spacing: -.03em; }
.section-head p { margin: 0; color: var(--muted); font-size: 14px; }
.section-head .sh-link { font-size: 13.5px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.section-head .sh-link:hover { gap: 8px; }

/* ---------- Kartlar ---------- */
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .16s, box-shadow .16s, transform .16s; overflow: hidden;
}
a.card:hover { border-color: #cfd6da; box-shadow: var(--shadow-hover); transform: translateY(-2px); }

/* firma kartı */
.firma-card { display: flex; flex-direction: column; height: 100%; padding: 16px; }
.firma-top { display: flex; gap: 12px; align-items: flex-start; }
.firma-logo {
  width: 48px; height: 48px; border-radius: 12px; object-fit: contain; flex: 0 0 auto;
  border: 1px solid var(--line); background: #fff; padding: 2px;
}
.firma-logo-ph {
  width: 48px; height: 48px; border-radius: 12px; flex: 0 0 auto; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; font-size: 15px;
}
.firma-name { font-size: 15px; font-weight: 650; line-height: 1.3; margin: 0 0 3px; letter-spacing: -.01em; }
.firma-meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.firma-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #c3cad1; }
.firma-tagline { font-size: 13px; color: #55606e; margin: 12px 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.firma-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.badge-soft { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 7px; font-size: 11.5px; font-weight: 600; background: #f1f3f4; color: #4b5563; }
.badge-brand { background: var(--brand-soft); color: var(--brand-ink); }
.badge-warn { background: #fff7ed; color: #9a3412; }
.badge-ok { background: #ecfdf5; color: #047857; }
.badge-red { background: #fef2f2; color: #b91c1c; }
.stars { color: #f59e0b; font-size: 12px; letter-spacing: -.5px; }

/* sektör çipleri */
.sektor-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.sektor-chip {
  display: flex; flex-direction: column; gap: 10px; padding: 16px 14px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .16s, transform .16s, box-shadow .16s;
}
.sektor-chip:hover { border-color: #cfd6da; transform: translateY(-2px); box-shadow: var(--shadow); }
.sektor-chip i { font-size: 19px; color: var(--brand); }
.sektor-chip strong { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.sektor-chip span { font-size: 12px; color: var(--muted); }

/* ürün kartı */
.urun-card { display: flex; flex-direction: column; height: 100%; }
.urun-thumb { aspect-ratio: 16/10; background: #eef1f3; overflow: hidden; }
.urun-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.urun-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.urun-body h3 { font-size: 14.5px; margin: 0; line-height: 1.35; }
.urun-body .u-comp { font-size: 12px; color: var(--muted); }
.urun-price { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 700; color: var(--brand-ink); }
.urun-price small { font-size: 11.5px; font-weight: 500; color: var(--muted); }

/* haber kartı */
.haber-card { display: flex; flex-direction: column; height: 100%; }
.haber-thumb { aspect-ratio: 16/9; background: #eef1f3; overflow: hidden; }
.haber-thumb img { width: 100%; height: 100%; object-fit: cover; }
.haber-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.haber-body .hb-meta { display: flex; gap: 8px; align-items: center; font-size: 11.5px; color: var(--muted); }
.haber-body h3 { font-size: 14.5px; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.haber-body p { font-size: 12.5px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ilan kartı */
.ilan-card { display: flex; gap: 14px; padding: 14px; height: 100%; }
.ilan-thumb { width: 105px; height: 84px; flex: 0 0 auto; border-radius: 10px; overflow: hidden; background: #eef1f3; }
.ilan-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ilan-body { display: flex; flex-direction: column; min-width: 0; gap: 4px; }
.ilan-body h3 { font-size: 14px; margin: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ilan-price { font-size: 14px; font-weight: 700; color: var(--brand-ink); margin-top: auto; }

/* ilçe listesi */
.ilce-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ilce-pill {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; font-weight: 550;
  transition: border-color .15s, background .15s;
}
.ilce-pill:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.ilce-pill b { font-size: 11.5px; color: var(--muted); font-weight: 600; }

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0 24px; }
.page-head .crumbs { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); margin-bottom: 9px; flex-wrap: wrap; }
.page-head .crumbs a:hover { color: var(--brand); }
.page-head .crumbs i { font-size: 10px; color: #b6bec6; }
.page-head h1 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 6px; letter-spacing: -.03em; }
.page-head p { margin: 0; color: var(--muted); font-size: 14px; max-width: 720px; }

/* ---------- Filtre paneli ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-bar select, .filter-bar input {
  height: 40px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 12px;
  background: #fff; font-size: 13.5px; color: var(--text); outline: 0; min-width: 0;
}
.filter-bar select:focus, .filter-bar input:focus { border-color: var(--brand); }
.chip-row { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 99px;
  border: 1px solid var(--line-strong); background: #fff; font-size: 13px; font-weight: 550; color: #4b5563;
}
.chip:hover { border-color: var(--brand); color: var(--brand-ink); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Detay sayfası ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 17px; margin: 0 0 14px; letter-spacing: -.02em; }
.panel h3 { font-size: 14.5px; margin: 18px 0 8px; }
.company-hero { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.company-hero .firma-logo, .company-hero .firma-logo-ph { width: 68px; height: 68px; border-radius: 16px; font-size: 20px; }
.company-hero h1 { font-size: clamp(21px, 2.6vw, 27px); margin: 0 0 5px; }
.company-hero .ch-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); }
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-list a, .contact-list span { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #3f4a58; line-height: 1.45; }
.contact-list i { color: var(--brand); font-size: 15px; margin-top: 1px; flex: 0 0 auto; }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.svc-list span { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #3f4a58; padding: 9px 11px; background: #f7f8f9; border-radius: 9px; }
.svc-list i { color: var(--brand); font-size: 12px; }
.map-box { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #eef1f3; }
.map-box iframe { width: 100%; height: 300px; border: 0; display: block; }
.meta-table { width: 100%; font-size: 13.5px; }
.meta-table tr + tr td { border-top: 1px solid var(--line); }
.meta-table td { padding: 9px 0; }
.meta-table td:first-child { color: var(--muted); width: 45%; }
.meta-table td:last-child { font-weight: 550; text-align: right; }

/* ---------- Formlar ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.form-card h2 { font-size: 18px; margin: 0 0 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: #3f4a58; margin-bottom: 6px; }
.field label .req { color: #dc2626; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 12px; height: 42px;
  font-size: 14px; color: var(--text); background: #fff; outline: 0;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; padding: 10px 12px; min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field .hint { font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 12.5px; color: var(--muted); }

/* ---------- Pager ---------- */
.pager ul { list-style: none; display: flex; gap: 6px; padding: 0; margin: 26px 0 0; justify-content: center; flex-wrap: wrap; }
.pager a, .pager span { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line-strong); background: #fff; font-size: 13.5px; font-weight: 550; }
.pager a:hover { border-color: var(--brand); color: var(--brand-ink); }
.pager .is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .gap { border: 0; background: none; color: var(--muted); }

/* ---------- Boş durum ---------- */
.empty { text-align: center; padding: 56px 20px; background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty i { font-size: 30px; color: #c3cad1; display: block; margin-bottom: 10px; }
.empty h3 { font-size: 16px; margin: 0 0 6px; }
.empty p { color: var(--muted); font-size: 13.5px; margin: 0 0 16px; }

/* ---------- CTA bandı ---------- */
.cta-band { background: var(--ink); border-radius: 18px; padding: 34px 36px; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 22px; margin: 0 0 6px; letter-spacing: -.03em; }
.cta-band p { color: #a9b4c4; margin: 0; font-size: 14px; }
.cta-band .btn-ghost { background: #fff; border-color: #fff; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 40px; padding: 44px 0 0; }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.ft-brand p { font-size: 13px; color: var(--muted); margin: 14px 0 16px; max-width: 320px; line-height: 1.6; }
.ft-contact { display: flex; flex-direction: column; gap: 8px; }
.ft-contact a, .ft-contact span { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #4b5563; }
.ft-contact i { color: var(--brand); font-size: 14px; }
.ft-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #8b95a1; margin: 0 0 12px; font-weight: 650; }
.ft-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ft-col a { font-size: 13.5px; color: #3f4a58; }
.ft-col a:hover { color: var(--brand); }
.ft-more { color: var(--brand) !important; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.ft-legal { border-top: 1px solid var(--line); padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.ft-legal-links { display: flex; gap: 16px; }
.ft-legal-links a:hover { color: var(--brand); }

/* ---------- Yardımcılar ---------- */
.mt-0 { margin-top: 0 !important; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.stack-8 > * + * { margin-top: 8px; }
.stack-16 > * + * { margin-top: 16px; }
.row-split { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.divider { height: 1px; background: var(--line); border: 0; margin: 18px 0; }
.text-brand { color: var(--brand-ink); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1199.98px) {
  .sektor-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 991.98px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sektor-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .detail-grid { grid-template-columns: minmax(0,1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .hero > .container-xl { padding-top: 40px; padding-bottom: 36px; }
}
@media (max-width: 767.98px) {
  body { font-size: 14.5px; }
  .brand-text small { display: none; }
  .hero-search { flex-wrap: wrap; padding: 8px; }
  .hero-search .hs-field { padding: 0 8px; height: 42px; }
  .hero-search .hs-sep { display: none; }
  .hero-search .hs-field + .hs-field { border-top: 1px solid var(--line); }
  .hero-search .btn-brand { width: 100%; }
  .section { padding: 36px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .sektor-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .svc-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 24px; }
  .ft-grid { grid-template-columns: 1fr; }
  .ft-legal-in { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 18px; }
}
@media (max-width: 419.98px) {
  .container-xl { padding-left: 14px; padding-right: 14px; }
  .sektor-grid { grid-template-columns: 1fr 1fr; }
}

/* === Auth: giriş / kayıt / yönetici girişi (bölünmüş kart) === */
.auth-body { background: #f2f4f6; min-height: 100vh; display: flex; flex-direction: column; }
.auth-topbar { background: #fff; border-bottom: 1px solid var(--line); }
.auth-topbar .container-xl { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--text); text-decoration: none; }
.auth-brand:hover { color: var(--brand-ink); }
.auth-logo { max-height: 32px; width: auto; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); text-decoration: none; }
.auth-back:hover { color: var(--brand); }
.auth-main { flex: 1 1 auto; display: flex; align-items: center; padding: 30px 0 38px; }
.auth-main .container-xl { width: 100%; }

.auth-split {
  max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}
.auth-aside { background: #0f172a; color: #cbd5e1; padding: 34px 32px; display: flex; flex-direction: column; gap: 16px; }
.auth-kicker { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #6ee7b7; }
.auth-aside h2 { margin: 0; font-size: 22px; line-height: 1.3; color: #fff; letter-spacing: -.01em; }
.auth-aside p { margin: 0; font-size: 13px; line-height: 1.7; color: #94a3b8; }
.auth-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.auth-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 12.8px; line-height: 1.5; color: #cbd5e1; }
.auth-list li i { color: #6ee7b7; font-size: 15px; line-height: 1.25; flex: 0 0 auto; }
.auth-quote { margin-top: auto; padding-top: 16px; border-top: 1px solid #1e293b; font-size: 11.5px; color: #64748b; }

.auth-panel { padding: 32px 34px 28px; background: #fff; }
.auth-panel h1 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.01em; }
.auth-panel .auth-sub { margin: 0 0 20px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.auth-panel .field { margin-bottom: 13px; }
.auth-panel .btn-block { margin-top: 6px; }
.auth-panel .flash { border-radius: 10px; font-size: 12.5px; }
.auth-alt {
  margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; font-size: 12.5px; color: var(--muted);
}
.auth-alt a { color: var(--brand); font-weight: 600; text-decoration: none; }
.auth-alt a:hover { text-decoration: underline; }

.auth-foot { max-width: 920px; margin: 16px auto 0; text-align: center; font-size: 11.5px; color: var(--muted); }
.auth-foot a { color: var(--muted); text-decoration: none; }
.auth-foot a:hover { color: var(--brand); }
.auth-foot .dot { margin: 0 6px; opacity: .5; }

@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; border-radius: 16px; }
  .auth-aside { padding: 22px 22px 20px; gap: 8px; }
  .auth-aside h2 { font-size: 19px; }
  .auth-aside p { font-size: 12.5px; }
  .auth-list { display: none; }
  .auth-quote { margin-top: 4px; padding-top: 12px; }
  .auth-panel { padding: 24px 22px 22px; }
}
@media (max-width: 479.98px) {
  .auth-main { padding: 18px 0 26px; }
  .auth-panel { padding: 20px 16px 18px; }
  .auth-foot { font-size: 11px; }
  .auth-brand span:last-child { max-width: 58vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* === Ana sayfa: haber slider + ilan ızgarası === */
.news-band .section-head { margin-bottom: 16px; }
.news-layout { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }

.news-slider { position: relative; overflow: hidden; border-radius: 16px; background: #0f172a; min-height: 350px; }
.ns-track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.ns-slide { position: relative; flex: 0 0 100%; display: block; min-height: 350px; color: #fff; text-decoration: none; }
.ns-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ns-cap {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 18px 20px; background: linear-gradient(180deg, rgba(15,23,42,0) 32%, rgba(15,23,42,.62) 70%, rgba(15,23,42,.93) 100%);
}
.ns-cat { align-self: flex-start; background: var(--brand); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.ns-slide h3 { margin: 0; font-size: 21px; line-height: 1.28; letter-spacing: -.02em; color: #fff; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ns-slide p { margin: 0; font-size: 13px; line-height: 1.55; color: #d7e0ea; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ns-time { font-size: 11.5px; color: #a9b8c9; display: inline-flex; align-items: center; gap: 5px; }
.ns-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.34); background: rgba(15,23,42,.5); color: #fff;
  display: grid; place-items: center; cursor: pointer; z-index: 3; padding: 0; transition: background .15s ease;
}
.ns-btn:hover { background: rgba(15,23,42,.8); }
.ns-prev { left: 12px; }
.ns-next { right: 12px; }
.ns-dots { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 6px; z-index: 3; }
.ns-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.45); cursor: pointer; transition: width .2s ease, background .2s ease; }
.ns-dots button.is-active { width: 20px; background: #fff; }

.ns-side { display: flex; flex-direction: column; gap: 9px; }
.ns-item {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center;
  padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  text-decoration: none; color: inherit; flex: 1 1 0; min-height: 0; transition: border-color .15s ease, box-shadow .15s ease;
}
.ns-item:hover { border-color: #cdd9d5; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.ns-item img { width: 96px; height: 68px; object-fit: cover; border-radius: 9px; }
.ns-item-meta { display: block; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ns-item h4 { margin: 3px 0 0; font-size: 13px; line-height: 1.4; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ilan kartları */
.ilan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ilan-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; height: 100%; }
.ilan-card .ilan-thumb { position: relative; width: 100%; height: auto; aspect-ratio: 4/3; border-radius: 0; background: #eef1f3; }
.ilan-card .ilan-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ilan-card:hover .ilan-thumb img { transform: scale(1.03); }
.ilan-cat {
  position: absolute; left: 10px; top: 10px; background: rgba(15,23,42,.82); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 7px;
}
.ilan-card .ilan-body { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px 14px; }
.ilan-price { font-size: 15px; font-weight: 750; color: var(--brand-ink); letter-spacing: -.01em; }
.ilan-price .muted { font-size: 12.5px; font-weight: 500; }
.ilan-card .ilan-body h3 { margin: 0; font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--text); }
.ilan-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2px; font-size: 11px; color: var(--muted); }
.ilan-meta i { font-size: 11px; }

@media (max-width: 1100px) {
  .news-layout { grid-template-columns: 1fr; }
  .ns-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ilan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .news-slider, .ns-slide { min-height: 260px; }
  .ns-slide h3 { font-size: 17px; -webkit-line-clamp: 3; }
  .ns-slide p { display: none; }
  .ns-side { grid-template-columns: 1fr; }
  .ns-item img { width: 84px; height: 60px; }
  .ilan-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ilan-card .ilan-body { padding: 10px 11px 12px; }
  .ilan-price { font-size: 14px; }
  .ns-btn { width: 30px; height: 30px; }
}

/* slider kontrolleri: sağ üstte, manşet metniyle çakışmasın */
.ns-prev, .ns-next { top: 14px; transform: none; width: 32px; height: 32px; }
.ns-prev { left: auto; right: 52px; }
.ns-next { right: 14px; }
.ns-dots { bottom: 14px; }

/* az ilan varsa: yatay liste düzeni */
.ilan-grid.is-list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.ilan-grid.is-list .ilan-card { flex-direction: row; }
.ilan-grid.is-list .ilan-card .ilan-thumb { width: 150px; flex: 0 0 150px; aspect-ratio: auto; height: 100%; min-height: 118px; }
.ilan-grid.is-list .ilan-card .ilan-body { flex: 1 1 auto; justify-content: center; padding: 14px 16px; }
.ilan-grid.is-list .ilan-card .ilan-body h3 { -webkit-line-clamp: 2; font-size: 14.5px; }
@media (max-width: 640px) {
  .ilan-grid.is-list { grid-template-columns: 1fr; }
  .ilan-grid.is-list .ilan-card .ilan-thumb { width: 120px; flex: 0 0 120px; min-height: 104px; }
}

.ilan-thumb.is-empty { background: #f2f5f6; display: grid; place-items: center; }
.ilan-ph { display: grid; place-items: center; color: #b3bfca; }
.ilan-ph i { font-size: 26px; }

/* === Footer: dark mode === */
.site-footer {
  background: #0f172a;
  border-top: 0;
  margin-top: 48px;
  padding: 44px 0 0;
  color: #94a3b8;
}
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: #7b8aa0; }
.site-footer .brand-mark { background: var(--brand); color: #fff; box-shadow: none; }
.site-footer .ft-brand p { color: #94a3b8; }
.site-footer .ft-contact a,
.site-footer .ft-contact span { color: #cbd5e1; }
.site-footer .ft-contact a:hover { color: #fff; }
.site-footer .ft-contact i { color: #5eead4; }
.site-footer .ft-col h4 { color: #7b8aa0; }
.site-footer .ft-col a { color: #cbd5e1; }
.site-footer .ft-col a:hover { color: #fff; }
.site-footer .ft-more { color: #5eead4 !important; }
.site-footer .ft-more:hover { color: #fff !important; }
.site-footer .ft-legal {
  display: block;
  border-top: 1px solid #1e293b;
  background: #0b1220;
  margin-top: 26px;
  padding: 15px 0;
  color: #7b8aa0;
}
.site-footer .ft-legal-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; font-size: 12.5px;
}
.site-footer .ft-legal-links a { color: #94a3b8; }
.site-footer .ft-legal-links a:hover { color: #fff; }
.site-footer .ft-legal-links a + a { margin-left: 0; }

/* === Üye olarak görüntüleme bandı === */
.imp-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #fef4e6; border-bottom: 1px solid #f3ddb9; color: #83530d;
  padding: 8px 16px; font-size: 12.5px; position: sticky; top: 0; z-index: 1090;
}
.imp-bar i { font-size: 15px; }
.imp-bar a { margin-left: auto; color: #7a4a07; font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.imp-bar a:hover { color: #4d2f04; }
@media (max-width: 640px) { .imp-bar { font-size: 11.5px; padding: 7px 12px; } }

/* === Dosya yükleme alanı (upload.js) === */
.file-box { position: relative; }
input.file-native {
  position: absolute !important; width: 1px !important; height: 1px !important;
  opacity: 0 !important; pointer-events: none !important; margin: 0 !important;
}
.file-ui {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px; cursor: pointer;
  border: 1.5px dashed #cbd5e1; border-radius: 12px; background: #f8fafb;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.file-ui:hover { border-color: #9db4ab; background: #f4f8f7; }
.file-ui:focus-visible { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.file-ui.is-over { border-color: var(--brand); background: var(--brand-soft); }
.file-ico {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--brand); font-size: 17px;
}
.file-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.file-action { font-size: 12.8px; color: var(--text); font-weight: 650; }
.file-hint { font-size: 11px; color: var(--muted); }
.file-name {
  font-size: 11.5px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.file-name.has-file { color: #0f7a4d; font-weight: 600; }
.file-thumb { flex: 0 0 auto; }
.file-thumb img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: block; }
.file-ext {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px;
  background: #eef2f6; color: #64748b; font-size: 10px; font-weight: 700; letter-spacing: .04em;
}
.file-clear {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-strong);
  background: #fff; color: #64748b; cursor: pointer; display: grid; place-items: center; padding: 0;
}
.file-clear:hover { color: #b3261e; border-color: #f3c6c3; background: #fdf3f2; }
@media (max-width: 480px) {
  .file-ui { padding: 10px 11px; gap: 10px; }
  .file-ico { width: 32px; height: 32px; flex: 0 0 32px; font-size: 15px; }
  .file-hint { display: none; }
}

/* ---------- Üye mesajlaşma ---------- */
.msg-layout { display: grid; grid-template-columns: minmax(0,320px) minmax(0,1fr); gap: 16px; align-items: start; }
.msg-side { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.msg-list { max-height: 430px; overflow-y: auto; }
.msg-row { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.msg-row:hover { background: #f7fafc; }
.msg-row.is-active { background: #eef8f4; box-shadow: inset 3px 0 0 var(--brand); }
.msg-avatar { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; background: var(--brand-soft, #e3f2ec); color: var(--brand); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.msg-avatar.sm { width: 26px; height: 26px; font-size: 12px; margin-right: 8px; }
.msg-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.msg-row-main b { font-size: 13.2px; color: #0f172a; }
.msg-row-main small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-badge { background: var(--brand); color: #fff; border-radius: 99px; font-size: 10.5px; font-weight: 700; padding: 2px 6px; }
.msg-new { padding: 12px 14px; border-top: 1px solid var(--line); background: #fafcfd; }
.msg-new label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; }
.msg-new select { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
.msg-main { display: flex; flex-direction: column; padding: 0; min-height: 480px; }
.msg-thread { flex: 1; padding: 16px; overflow-y: auto; max-height: 460px; background: #fbfdfe; display: flex; flex-direction: column; gap: 10px; }
.msg-bubble { max-width: 78%; padding: 9px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.6; }
.msg-bubble.is-them { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-bubble.is-me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg-text { white-space: pre-wrap; word-break: break-word; }
.msg-time { font-size: 10.5px; opacity: .7; margin-top: 4px; }
.msg-who { font-size: 11px; font-weight: 700; opacity: .8; margin-bottom: 3px; }
.msg-form { display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.msg-form textarea { flex: 1; resize: vertical; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 13.5px; font-family: inherit; }
@media (max-width: 860px) { .msg-layout { grid-template-columns: 1fr; } }


/* ---------- Hero stream (yazma efekti) ---------- */
[data-stream] { --caret: currentColor; }
/* JS yazmaya başlayana kadar gizli tut (tam metin görünüp silinmesin).
   JS hiç çalışmazsa 2.6sn sonra kendiliğinden görünür (CSS yedeği). */
[data-stream].stream-armed {
  opacity: 0;
  animation: streamFallback .01s 2.6s forwards;
}
@keyframes streamFallback { to { opacity: 1; } }
.is-streaming::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: .92em;
  margin-left: 3px;
  vertical-align: -.1em;
  border-radius: 2px;
  background: currentColor;
  opacity: .85;
  animation: streamBlink .85s steps(1) infinite;
}
@keyframes streamBlink { 0%, 49% { opacity: .85; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .is-streaming::after { animation: none; opacity: .5; }
}

/* ---------- Hizmetler listesi ---------- */
.hizmet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.hizmet-card { background: #fff; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; display: flex; flex-direction: column; }
.hz-head { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.hz-head:hover { background: #f8fbfd; }
.hz-head img, .hz-ph { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; flex: 0 0 auto; }
.hz-ph { display: grid; place-items: center; background: var(--brand-soft, #e3f2ec); color: var(--brand); font-weight: 700; font-size: 13px; }
.hz-name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.hz-name b { font-size: 13.8px; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hz-name small { color: var(--muted); font-size: 11.8px; }
.hz-head > i { color: #cbd5e1; font-size: 13px; }
.hz-list { padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hz-list a { display: flex; align-items: center; gap: 7px; font-size: 12.8px; color: #334155; text-decoration: none; padding: 3px 0; }
.hz-list a i { color: var(--brand); font-size: 12px; }
.hz-list a:hover { color: var(--brand); }
.hz-more { font-size: 11.8px; color: var(--muted); padding-left: 19px; }
.hz-foot { display: flex; gap: 8px; padding: 10px 14px 13px; border-top: 1px dashed var(--line); }
.hz-foot .btn-brand, .hz-foot .btn-ghost { padding: 6px 12px; font-size: 12.3px; }

/* ürün kartı */
.urun-card h3 a { color: inherit; text-decoration: none; }
.urun-card h3 a:hover { color: var(--brand); }
.urun-card .urun-thumb { display: block; }
.urun-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12.3px; font-weight: 600; color: var(--brand); text-decoration: none; }
.urun-more:hover { gap: 8px; }

/* ---------- Mesaj gönder modalı ---------- */
.msg-modal[hidden] { display: none; }
.msg-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.msg-modal-bg { position: absolute; inset: 0; background: rgba(15,23,42,.55); backdrop-filter: blur(2px); }
.msg-modal-panel {
  position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto;
  background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(15,23,42,.28);
  animation: msgIn .16s ease-out;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
.msg-modal-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.msg-modal-h h3 { margin: 0; font-size: 16px; font-weight: 700; color: #0f172a; }
.msg-modal-sub { font-size: 12.5px; color: var(--muted); }
.msg-modal-x { border: 0; background: #f1f5f9; width: 30px; height: 30px; border-radius: 8px; color: #64748b; display: grid; place-items: center; cursor: pointer; }
.msg-modal-x:hover { background: #e2e8f0; color: #0f172a; }
.msg-modal-form { padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 11px; }
.msg-whoami { display: flex; gap: 8px; align-items: center; padding: 9px 11px; border-radius: 9px; background: #eef8f4; border: 1px solid #d6e9e2; color: #0b6b58; font-size: 12.4px; }
.msg-guest-note { display: flex; gap: 8px; align-items: flex-start; padding: 9px 11px; border-radius: 9px; background: #fff8ed; border: 1px solid #f6e3c4; color: #8a5a12; font-size: 12.4px; line-height: 1.55; }
.msg-guest-note a { color: #8a5a12; font-weight: 600; }
.msg-guest-note span { flex: 1; }
.msg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.msg-grid label { display: block; font-size: 12.3px; font-weight: 600; color: #475569; }
.msg-grid label input { margin-top: 5px; }
.msg-grid label:first-child { grid-column: 1 / -1; }
.msg-grid input, .msg-msg-label textarea {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 13.2px; font-family: inherit; color: #0f172a; background: #fff;
}
.msg-grid input:focus, .msg-msg-label textarea:focus { outline: 2px solid var(--brand-soft, #cdeee2); border-color: var(--brand); }
.msg-msg-label { display: block; font-size: 12.3px; font-weight: 600; color: #475569; }
.msg-msg-label textarea { margin-top: 5px; }
.msg-msg-label textarea { resize: vertical; min-height: 92px; }
.msg-form-err { background: #fdeaea; border: 1px solid #f6cfcf; color: #b42318; font-size: 12.3px; padding: 8px 10px; border-radius: 8px; }
.msg-modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.msg-fine { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.req { color: #dc2626; }
@media (max-width: 520px) { .msg-grid { grid-template-columns: 1fr; } }

/* hizmet listesi bağlantıları (firma detay + hizmet detay) */
.svc-list a { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #334155; text-decoration: none; font-size: 13px; transition: border-color .12s, color .12s; }
.svc-list a:hover { border-color: var(--brand); color: var(--brand); background: #f7fdfa; }
.svc-list a i:first-child { color: var(--brand); }
.svc-list a .svc-go { margin-left: auto; font-size: 11px; color: #cbd5e1; }
.svc-list a:hover .svc-go { color: var(--brand); }

/* ---------- Vitrin işletmeler: logo duvarı ---------- */
.vitrin-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 12px;
}
.vitrin-tile {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  aspect-ratio: 1 / 1;
  padding: 12px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
  overflow: hidden;
}
.vitrin-tile:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .09);
  transform: translateY(-2px);
}
.vt-logo {
  width: 100%; height: 66px;
  display: grid; place-items: center;
  overflow: hidden;
}
.vt-logo img {
  max-width: 100%; max-height: 66px;
  width: auto; height: auto;
  object-fit: contain;
  transition: transform .15s ease;
}
.vitrin-tile:hover .vt-logo img { transform: scale(1.05); }
.vt-init {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand-soft, #e3f2ec); color: var(--brand);
  font-weight: 800; font-size: 14px; letter-spacing: .02em;
}
.vt-name {
  font-size: 11.6px; font-weight: 600; line-height: 1.3; text-align: center;
  color: #334155;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 2.6em;
}
.vitrin-tile:hover .vt-name { color: var(--brand); }
@media (max-width: 575.98px) {
  .vitrin-wall { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 9px; }
  .vt-name { font-size: 10.8px; }
}


/* ---------- Gelişmiş arama ---------- */
.hd-search-btn { cursor: pointer; text-align: left; font-family: inherit; min-width: 208px; }
.hd-search-btn .hds-ph { flex: 1; min-width: 0; color: #94a3b8; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-search-btn .hds-kbd {
  font: 600 10.5px/1 ui-monospace, Consolas, monospace; color: #94a3b8;
  background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 5px; padding: 3px 5px;
}
.mob-search { cursor: pointer; text-align: left; font-family: inherit; }
.mob-search span { color: #94a3b8; font-size: 13px; }

.adv[hidden] { display: none; }
.adv { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: flex-start; justify-content: center; padding: 8vh 16px 16px; }
.adv-bg { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); }
.adv-panel {
  position: relative; width: 100%; max-width: 640px; background: #fff; border-radius: 16px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, .3); overflow: hidden;
  animation: advIn .16s ease-out;
}
@keyframes advIn { from { opacity: 0; transform: translateY(-8px) scale(.995); } to { opacity: 1; transform: none; } }
.adv-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.adv-top > i { color: var(--brand); font-size: 17px; }
.adv-top input {
  flex: 1; border: 0; outline: 0; font-size: 15px; font-family: inherit; color: #0f172a; background: transparent;
}
.adv-top input::placeholder { color: #94a3b8; }
.adv-x { border: 0; background: #f1f5f9; width: 28px; height: 28px; border-radius: 8px; color: #64748b; cursor: pointer; }
.adv-x:hover { background: #e2e8f0; color: #0f172a; }
.adv-types { display: flex; gap: 6px; padding: 12px 16px 0; flex-wrap: wrap; }
.adv-tab { cursor: pointer; margin: 0; }
.adv-tab input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.adv-tab span {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; font-size: 12.8px; font-weight: 600; color: #475569;
  transition: all .12s ease;
}
.adv-tab input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 16px 4px; }
.adv-field { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.adv-field select,
.adv-field input {
  width: 100%; margin-top: 5px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 13.2px; font-family: inherit; color: #0f172a; background: #fff; font-weight: 400; text-transform: none; letter-spacing: 0;
}
.adv-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px 14px; flex-wrap: wrap; }
.adv-hint { font-size: 11.8px; color: var(--muted); }
.adv-quick { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 11px 16px; background: #f8fafc; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.adv-quick a { color: #334155; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 4px 9px; }
.adv-quick a:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 520px) { .adv-grid { grid-template-columns: 1fr; } }

/* ana sayfada haber bandı en üstte */
.home-top { padding-top: 18px; }
.home-top .section-head { margin-bottom: 14px; }

/* Başlık: dar ekranlarda arama kutusu ikona dönüşür (taşmayı önler) */
@media (max-width: 1399.98px) {
  .hd-search-btn { flex: 0 0 40px; min-width: 0; width: 40px; max-width: 40px; padding: 0; justify-content: center; }
  .hd-search-btn .hds-ph, .hd-search-btn .hds-kbd { display: none; }
  .hd-nav { gap: 2px; }
  .hd-nav a { padding-left: 9px; padding-right: 9px; font-size: 13.2px; }
}

/* 1400–1599: pill biraz daralsın ki menü taşmasın */
@media (min-width: 1400px) and (max-width: 1599.98px) {
  .hd-search-btn { min-width: 150px; max-width: 170px; }
  .hd-nav a { padding-left: 10px; padding-right: 10px; }
  .hd-nav { gap: 3px; }
}


/* 1600px altında başlık sıkışmasın: ikincil butonlar sadeleşir */
@media (max-width: 1599.98px) {
  .hd-actions a[href="/kayit"] { display: none !important; }
  .hd-actions .btn-brand span { display: none !important; }
  .hd-actions .btn-brand { padding-left: 11px; padding-right: 11px; }
}

/* ============ ANA SAYFA CİLASI (override) ============ */
.section { padding: 38px 0; }
.section-head { margin-bottom: 18px; align-items: center; }
.section-head h2 { font-size: 20.5px; letter-spacing: -.02em; }
.section-head p { font-size: 13px; }
.section-head .sh-link { font-size: 13px; }

/* ilk bölüm: sticky başlığın altında nefes payı */
.news-band.home-top { padding-top: 30px; }
.news-band .section-head { margin-bottom: 15px; }

/* haber bandı */
.news-layout { grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: 16px; }
.news-slider { border-radius: 16px; }
.news-slider, .ns-slide { min-height: 372px; }
.ns-cap { padding: 20px 22px; gap: 7px; background: linear-gradient(180deg, rgba(15,23,42,0) 36%, rgba(15,23,42,.55) 72%, rgba(15,23,42,.92) 100%); }
.ns-slide h3 { font-size: 20px; }
.ns-slide p { font-size: 12.8px; }
.ns-side { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px; gap: 0; overflow: hidden; }
.ns-item { border: 0; border-radius: 10px; background: transparent; padding: 8px; gap: 10px; }
.ns-item + .ns-item { box-shadow: inset 0 1px 0 #eef2f6; }
.ns-item:hover { background: #f7fafc; box-shadow: inset 0 1px 0 #eef2f6; }
.ns-item img { width: 92px; height: 64px; border-radius: 8px; }
.ns-item-meta { font-size: 9.6px; letter-spacing: .09em; color: #8b99a8; }
.ns-item h4 { font-size: 13.2px; margin-top: 2px; }

/* vitrin duvarı */
.vitrin-wall { gap: 10px; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); }
.vitrin-tile { border-color: #e8eef4; border-radius: 12px; }
.vitrin-tile:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(15,23,42,.07); }
.vt-name { color: #2c3a4b; }

/* ürün kartları: eşit yükseklik + başlık 2 satır */
.grid-4 .urun-card { height: 100%; }
.urun-body h3 { font-size: 14px; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.urun-price { font-size: 14.5px; }

/* ilçe pilleri */
.ilce-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; font-size: 12.8px; font-weight: 600; color: #33475b; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.ilce-pill b { font-weight: 600; color: #98a6b5; font-size: 11.5px; }
.ilce-pill:hover { border-color: var(--brand); background: #f5fbf8; color: var(--brand-ink); }
.ilce-pill:hover b { color: var(--brand); }

/* ilan kartları */
.ilan-grid { gap: 12px; }
.ilan-card { border-radius: 13px; }

/* CTA: düz koyu panel */
.cta-band { border-radius: 16px; padding: 30px 32px; }

/* başlık: arama butonu daha "buton" gibi */
.hd-search-btn { background: #fff; border: 1px solid var(--line); }
.hd-search-btn:hover { border-color: #cfd8e3; background: #f8fafc; }
.hd-nav a { font-size: 13.4px; }

/* son rötuşlar */
.cta-band { margin-bottom: 0; }
.section:has(.cta-band) { padding-bottom: 26px; }
.site-footer { margin-top: 26px; }
.ilan-grid.is-list { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
.ilan-grid.is-list:has(> :only-child) { grid-template-columns: minmax(0, 560px); }

@media (min-width: 1400px) and (max-width: 1599.98px) {
  .hd-actions .btn-brand span { display: inline !important; }
  .hd-actions a[href="/kayit"] { display: none !important; }
  .hd-search-btn { min-width: 130px; max-width: 150px; }
}

/* mobil düzeltmeleri (override bloğundan sonra) */
@media (max-width: 860px) {
  .news-layout { grid-template-columns: 1fr; gap: 12px; }
  .news-slider, .ns-slide { min-height: 300px; }
  .ns-side { display: grid; grid-template-columns: 1fr 1fr; }
  .ns-item + .ns-item { box-shadow: none; }
  .ns-item { border-radius: 10px; }
  .ns-item:hover { box-shadow: none; }
  .section-head { text-align: left; align-items: flex-start; }
  .ilce-row { gap: 6px; }
  .ilce-pill { padding: 6px 10px; font-size: 12.2px; }
}
@media (max-width: 640px) {
  .ns-side { grid-template-columns: 1fr; }
  .news-slider, .ns-slide { min-height: 250px; }
  .ns-slide h3 { font-size: 16.5px; }
  .vitrin-wall { grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); gap: 8px; }
  .vitrin-tile { padding: 9px 6px; }
  .vt-logo { height: 52px; }
  .vt-logo img { max-height: 52px; }
}
.hd-icon-btn {
  width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line);
  background: #fff; color: #475569; display: grid; place-items: center; cursor: pointer; font-size: 15px;
}
.hd-icon-btn:hover { border-color: #cfd8e3; color: var(--brand); }

/* ---------- Ürün carousel (transform ile kaydırma) ---------- */
.sh-tools { display: flex; align-items: center; gap: 14px; }
.car-nav { display: flex; gap: 6px; }
.car-btn {
  width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line); background: #fff;
  color: #475569; display: grid; place-items: center; cursor: pointer; font-size: 13px;
  transition: border-color .14s, color .14s, background .14s, opacity .14s;
}
.car-btn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); background: #f6fbf9; }
.car-btn:disabled { opacity: .35; cursor: default; }

.carousel { position: relative; overflow: hidden; }
.car-track {
  display: flex; gap: 14px;
  transition: transform .38s cubic-bezier(.33, .9, .35, 1);
  will-change: transform;
  touch-action: pan-y;
}
.car-item {
  flex: 0 0 calc((100% - 42px) / 4);
  display: flex;
}
.car-item > * { width: 100%; }
.car-item .urun-card { height: 100%; }

@media (max-width: 991.98px) {
  .car-item { flex: 0 0 calc((100% - 14px) / 2); }
}
@media (max-width: 575.98px) {
  .car-item { flex: 0 0 82%; }
  .sh-tools { gap: 8px; }
  .car-btn { width: 30px; height: 30px; }
}

/* Vitrin: logo yoksa generic ikon */
.vt-logo { position: relative; display: grid; place-items: center; }
.vt-icon {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.vt-icon i {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: #f1f5f9; border: 1px dashed #d7e0ea;
  color: #9aa9b9; font-size: 19px;
  transition: color .15s, border-color .15s, background .15s;
}
.vt-logo img {
  position: relative; z-index: 1;
  background: #fff;
}
.vitrin-tile:hover .vt-icon i { color: var(--brand); border-color: #c9e5da; background: #f3fbf8; }

/* carousel: 3'lü görünüm (ilanlar) */
.car-track.cols-3 .car-item { flex: 0 0 calc((100% - 28px) / 3); }
@media (max-width: 991.98px) {
  .car-track.cols-3 .car-item { flex: 0 0 calc((100% - 14px) / 2); }
}
@media (max-width: 575.98px) {
  .car-track.cols-3 .car-item { flex: 0 0 86%; }
}

/* ilan kartı: görsel yoksa kompakt yer tutucu */
.ilan-card .ilan-thumb.is-empty {
  aspect-ratio: 16 / 9;
  background: #f7f9fb;
  border-bottom: 1px dashed #e3eaf1;
  display: grid;
  place-items: center;
}
.ilan-card .ilan-thumb.is-empty .ilan-ph { font-size: 24px; color: #c2cedb; }

/* Logo yoksa: soft gri ikon */
.firma-logo-ph, .hz-ph, .vt-icon i {
  background: #f4f6f9;
  color: #b6c2cf;
  border: 1px solid #e8eef4;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.firma-logo-ph i, .hz-ph i { font-size: 20px; }
.vt-icon i {
  width: 52px; height: 52px; border-radius: 14px;
  font-size: 21px; border-style: solid;
}
.vitrin-tile:hover .vt-icon i { color: #8a99a9; border-color: #dfe7ef; background: #eef2f6; }
.firma-card:hover .firma-logo-ph, .firma-card:hover .firma-logo-ph i { color: #8a99a9; }

/* ============ Ana sayfa: tam genişlik soft tonlu bölümler ============ */
.page-home main > section {
  border-top: 1px solid rgba(15, 23, 42, .05);
  border-bottom: 0;
}
.page-home main > section:first-of-type { border-top: 0; }

/* sırayla: haberler (beyaz) → vitrin (gri) → ürünler (beyaz) → ilanlar (gri) → CTA (beyaz) */
.page-home main > section:nth-of-type(odd)  { background: #ffffff; }
.page-home main > section:nth-of-type(even) { background: #f6f8fa; }

/* bölüm içi nefes payı biraz daha rahat */
.page-home main > section.section { padding-top: 42px; padding-bottom: 42px; }
.page-home main > section.news-band.home-top { padding-top: 34px; }

/* gri bölümlerde kartlar daha net ayrışsın */
.page-home main > section:nth-of-type(even) .card,
.page-home main > section:nth-of-type(even) .ns-side,
.page-home main > section:nth-of-type(even) .panel {
  border-color: #e6ecf2;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}
.page-home main > section:nth-of-type(even) .ns-item:hover { background: #fbfcfe; }

/* başlık çizgisi: bölüm başlıklarına ince bir ayrım */
.page-home .section-head { padding-bottom: 0; }
@media (max-width: 640px) {
  .page-home main > section.section { padding-top: 32px; padding-bottom: 32px; }
}

/* ana sayfada CTA ile footer arasında gövde rengi boşluğu olmasın */
body.page-home .site-footer { margin-top: 0; }
.page-home main > section:last-of-type { padding-bottom: 46px; }

/* Arama modalı: giriş kutusu net bir kutu gibi görünsün */
.adv-panel { padding-top: 2px; }
.adv-top {
  margin: 14px 16px 0;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #f8fafc;
  transition: border-color .14s, background .14s, box-shadow .14s;
}
.adv-top:focus-within {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 124, 102, .12);
}
.adv-top input {
  height: 24px;
  font-size: 14.5px;
}
.adv-top input::placeholder { color: #98a5b3; }
.adv-types { padding: 12px 16px 0; }
.hds-kbd { display: none !important; }

/* ---------- Kocaeli rehberi ---------- */
.yer-card { display: flex; flex-direction: column; height: 100%; }
.yer-thumb { position: relative; aspect-ratio: 16/10; background: #eef2f6; overflow: hidden; }
.yer-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.yer-card:hover .yer-thumb img { transform: scale(1.03); }
.yer-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #c3cedb; font-size: 48px; background: #f1f4f8; }
.yer-district {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  background: rgba(15, 23, 42, .78); color: #fff; border-radius: 7px;
  font-size: 10.8px; font-weight: 600; padding: 3px 8px; letter-spacing: .02em;
}
.yer-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.yer-body h3 { margin: 0; font-size: 14.6px; line-height: 1.35; }
.yer-body p { margin: 0; font-size: 12.6px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yer-more { margin-top: auto; padding-top: 6px; font-size: 12.3px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 5px; }
.yer-card:hover .yer-more { gap: 8px; }

.yer-hero { border-radius: 14px; overflow: hidden; margin-bottom: 14px; background: #eef2f6; }
.yer-hero img { width: 100%; max-height: 380px; object-fit: cover; display: block; }
.yer-summary { font-size: 15px; line-height: 1.7; color: #334155; margin: 0 0 12px; font-weight: 500; }
.yer-content { font-size: 14px; line-height: 1.8; color: #39424e; }
.yer-content p { margin: 0 0 12px; }
.yer-info { display: grid; gap: 10px; }
.yer-info > div { display: flex; flex-direction: column; gap: 2px; }
.yer-info span { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.yer-info b { font-size: 13.2px; font-weight: 600; color: #33475b; }

/* ana sayfa kategori kartları */
.koc-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.koc-cat {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .12s;
}
.koc-cat:hover { border-color: var(--brand); box-shadow: 0 6px 18px rgba(15,23,42,.07); transform: translateY(-1px); }
.koc-cat-ic {
  width: 42px; height: 42px; border-radius: 11px; flex: 0 0 auto;
  display: grid; place-items: center; background: #f4f6f9; color: #9aa9b9;
  border: 1px solid #e8eef4; font-size: 18px;
}
.koc-cat:hover .koc-cat-ic { color: var(--brand); border-color: #d6e9e2; background: #f3fbf8; }
.koc-cat-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.koc-cat-tx b { font-size: 13.8px; color: #0f172a; }
.koc-cat-tx small { font-size: 11.8px; color: var(--muted); }
.koc-cat-go { color: #cbd5e1; font-size: 13px; }
.koc-cat:hover .koc-cat-go { color: var(--brand); }
@media (max-width: 767.98px) { .koc-cats { grid-template-columns: 1fr; } }

/* ---------- Ana sayfa haber bloğu (gazete düzeni) ---------- */
.newsx-head { align-items: flex-start; gap: 18px; }
.newsx-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.newsx-cats { display: flex; gap: 4px; flex-wrap: wrap; }
.newsx-cats a {
  font-size: 12.2px; font-weight: 600; color: #56657a; text-decoration: none;
  padding: 5px 10px; border-radius: 8px; border: 1px solid transparent; white-space: nowrap;
}
.newsx-cats a:hover { background: #f2f6f9; color: #0f172a; }
.newsx-cats a.is-active { background: #eef8f4; border-color: #d6e9e2; color: #0b6b58; }

.newsx { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.newsx-lead .news-slider, .newsx-lead .ns-slide { min-height: 400px; }
.newsx-lead .ns-slide h3 { font-size: 22px; }
.newsx-lead .ns-slide p { font-size: 13.2px; }

.newsx-side {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 6px; display: flex; flex-direction: column; overflow: hidden;
}
.newsx-side-h {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: #8b99a8; padding: 8px 10px 6px;
}
.newsx-side-h i { color: var(--brand); font-size: 11px; }
.newsx-row {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: center;
  padding: 8px; border-radius: 10px; text-decoration: none; color: inherit;
}
.newsx-row + .newsx-row { box-shadow: inset 0 1px 0 #eef2f6; }
.newsx-row:hover { background: #f7fafc; }
.newsx-row img { width: 92px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }
.newsx-row-tx { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.newsx-row-tx b {
  font-size: 13.2px; line-height: 1.38; color: #0f172a; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.newsx-meta { font-size: 9.8px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #97a4b3; }
.newsx-time { font-size: 11px; color: #9aa7b5; display: inline-flex; align-items: center; gap: 4px; }

.newsx-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(15,23,42,.06);
}
.newsx-mini { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; }
.newsx-mini img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; display: block; }
.newsx-mini-tx { display: flex; flex-direction: column; gap: 4px; }
.newsx-mini-tx b {
  font-size: 13px; line-height: 1.4; color: #182533; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.newsx-mini:hover b { color: var(--brand); }

@media (max-width: 991.98px) {
  .newsx { grid-template-columns: 1fr; }
  .newsx-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsx-lead .news-slider, .newsx-lead .ns-slide { min-height: 300px; }
}
@media (max-width: 575.98px) {
  .newsx-strip { grid-template-columns: 1fr; }
  .newsx-tools { width: 100%; justify-content: space-between; }
  .newsx-cats { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
}

/* ---------- Haber bloğu: rafine sürüm (kaba bloklar kaldırıldı) ---------- */
.newsx { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.newsx-lead .news-slider { border-radius: 14px; }
.newsx-lead .news-slider, .newsx-lead .ns-slide { min-height: 356px; }

/* manşet kapağı: daha yumuşak gradyan, daha ince tipografi */
.ns-cap { padding: 16px 18px; gap: 6px; background: linear-gradient(180deg, rgba(15,23,42,0) 42%, rgba(15,23,42,.30) 66%, rgba(15,23,42,.86) 100%); }
.ns-cat {
  display: inline-block; align-self: flex-start;
  background: rgba(255,255,255,.18); color: #fff; border-radius: 6px;
  padding: 3px 8px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.newsx-lead .ns-slide h3 { font-size: 19.5px; line-height: 1.32; letter-spacing: -.01em; }
.newsx-lead .ns-slide p { font-size: 12.6px; -webkit-line-clamp: 1; color: #cfd9e3; }
.ns-time { font-size: 10.8px; }
.ns-btn { width: 30px; height: 30px; border-color: rgba(255,255,255,.28); background: rgba(15,23,42,.35); font-size: 12px; }

/* sağ liste: kart görünümü yerine ince ayırıcılı editoryal liste */
.newsx-side {
  background: transparent; border: 0; border-left: 1px solid rgba(15, 23, 42, .075);
  border-radius: 0; padding: 0 0 0 18px; gap: 0;
}
.newsx-side-h { padding: 0 0 10px; font-size: 10.4px; color: #93a1b0; }
.newsx-row { grid-template-columns: 84px minmax(0, 1fr); gap: 11px; padding: 9px 0; border-radius: 0; }
.newsx-row + .newsx-row { box-shadow: inset 0 1px 0 rgba(15, 23, 42, .06); }
.newsx-row:hover { background: transparent; }
.newsx-row:hover b { color: var(--brand); }
.newsx-row img { width: 84px; height: 56px; border-radius: 7px; }
.newsx-row-tx b { font-size: 12.8px; font-weight: 600; line-height: 1.4; }
.newsx-meta { font-size: 9.4px; letter-spacing: .06em; color: #a0adbb; }

/* alt şerit: kutu yok, ince dikey ayırıcılar */
.newsx-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  margin-top: 18px; padding-top: 0; border-top: 1px solid rgba(15, 23, 42, .07);
}
.newsx-mini { flex-direction: row; gap: 10px; padding: 14px 16px 4px 0; }
.newsx-mini + .newsx-mini { border-left: 1px solid rgba(15, 23, 42, .07); padding-left: 16px; }
.newsx-mini img { width: 62px; height: 62px; aspect-ratio: auto; border-radius: 8px; flex: 0 0 62px; }
.newsx-mini-tx { gap: 3px; }
.newsx-mini-tx b { font-size: 12.4px; line-height: 1.42; font-weight: 600; -webkit-line-clamp: 3; }
.newsx-mini .newsx-time { font-size: 10.4px; }

@media (max-width: 991.98px) {
  .newsx-side { border-left: 0; padding-left: 0; border-top: 1px solid rgba(15,23,42,.07); padding-top: 12px; }
  .newsx-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsx-mini:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 575.98px) {
  .newsx-strip { grid-template-columns: 1fr; }
  .newsx-mini { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid rgba(15,23,42,.06); padding-top: 12px; }
  .newsx-mini:first-child { border-top: 0; }
}

/* manşet ilerleme çubuğu (çok slaytlı) */
.ns-progress {
  position: absolute; left: 18px; right: 18px; bottom: 12px; height: 2px;
  background: rgba(255,255,255,.22); border-radius: 2px; overflow: hidden;
}
.ns-progress i {
  display: block; height: 100%; width: 10%; background: rgba(255,255,255,.9);
  border-radius: 2px; transition: width .35s ease;
}

/* ---------- Haber bloğu: başlıksız, şık açılış ---------- */
.news-band.home-top { padding-top: 26px; }
.newsx { margin-top: 0; gap: 22px; }
.newsx-lead .news-slider, .newsx-lead .ns-slide { min-height: 410px; }
.newsx-lead .ns-slide h3 { font-size: 23px; line-height: 1.26; letter-spacing: -.015em; max-width: 92%; }
.newsx-lead .ns-slide p { font-size: 13px; -webkit-line-clamp: 2; max-width: 88%; }
.newsx-lead .news-slider { border-radius: 16px; box-shadow: 0 10px 30px -18px rgba(15,23,42,.45); }

/* sağ liste: numaralı editoryal akış */
.newsx-side { padding-left: 20px; border-left-color: rgba(15,23,42,.08); }
.newsx-side-h {
  display: flex; align-items: center; gap: 7px;
  padding: 2px 0 11px; font-size: 10.6px; letter-spacing: .1em; color: #8d9bab;
}
.newsx-side-h i { color: var(--brand); }
.newsx-row {
  grid-template-columns: 22px 76px minmax(0, 1fr);
  gap: 10px; padding: 10px 0;
}
.newsx-row img { width: 76px; height: 54px; border-radius: 7px; }
.newsx-num {
  font-size: 11px; font-weight: 700; color: #b8c4d1; letter-spacing: .02em;
  font-variant-numeric: tabular-nums; padding-top: 2px;
}
.newsx-row:hover .newsx-num { color: var(--brand); }
.newsx-row-tx b { font-size: 13px; font-weight: 600; line-height: 1.4; color: #14212e; }
.newsx-row-tx .newsx-meta { margin-top: 3px; font-size: 9.6px; }

.newsx-all {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  margin-top: 12px; padding: 7px 12px; border-radius: 9px;
  border: 1px solid rgba(15,23,42,.09); background: #fff;
  font-size: 12.3px; font-weight: 600; color: #33475b; text-decoration: none;
  transition: border-color .14s, color .14s, gap .14s;
}
.newsx-all:hover { border-color: var(--brand); color: var(--brand); gap: 9px; }

@media (max-width: 991.98px) {
  .newsx-side { border-left: 0; padding-left: 0; border-top: 1px solid rgba(15,23,42,.07); padding-top: 14px; }
  .newsx-lead .news-slider, .newsx-lead .ns-slide { min-height: 320px; }
  .newsx-lead .ns-slide h3 { font-size: 19px; }
}

/* ---------- Röportaj kartları / detay ---------- */
.rp-card { display: flex; flex-direction: column; height: 100%; }
.rp-thumb { position: relative; aspect-ratio: 16/9; background: #0f172a; overflow: hidden; }
.rp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease, opacity .2s; opacity: .92; }
.rp-card:hover .rp-thumb img { transform: scale(1.04); opacity: 1; }
.rp-play {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.rp-play i {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: #0f172a; font-size: 22px;
  box-shadow: 0 6px 18px rgba(15,23,42,.35);
  transition: transform .18s ease, background .18s ease;
}
.rp-card:hover .rp-play i { transform: scale(1.08); background: #fff; }
.rp-dur {
  position: absolute; right: 8px; bottom: 8px; z-index: 1;
  background: rgba(15,23,42,.82); color: #fff; border-radius: 5px;
  font-size: 10.5px; font-weight: 700; padding: 2px 6px; letter-spacing: .02em;
}
.rp-cat {
  position: absolute; left: 8px; top: 8px; z-index: 1;
  background: rgba(255,255,255,.92); color: #0f172a; border-radius: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px;
}
.rp-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.rp-body h3 { margin: 0; font-size: 14.4px; line-height: 1.38; color: #0f172a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rp-card:hover .rp-body h3 { color: var(--brand); }
.rp-guest { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }

.rp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.rp-video { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #0f172a; }
.rp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rp-video-yok { position: absolute; inset: 0; display: grid; place-items: center; color: #94a3b8; text-align: center; gap: 6px; }
.rp-video-yok i { font-size: 30px; }
@media (max-width: 991.98px) { .rp-layout { grid-template-columns: 1fr; } }

/* ilan carousel: 4'lü görünüm */
.car-track.cols-4 .car-item { flex: 0 0 calc((100% - 42px) / 4); }
@media (max-width: 991.98px) { .car-track.cols-4 .car-item { flex: 0 0 calc((100% - 14px) / 2); } }
@media (max-width: 575.98px) { .car-track.cols-4 .car-item { flex: 0 0 82%; } }

/* ---------- Yönetilebilir menü (dropdown) + taşma düzeltmesi ---------- */
.hd-inner { flex-wrap: wrap; row-gap: 6px; }
.hd-nav { flex: 1 1 auto; min-width: 0; flex-wrap: wrap; row-gap: 4px; gap: 2px; }
.hd-actions { flex: 0 0 auto; }

.hd-item { position: relative; display: flex; }
.hd-item > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 10px; border-radius: 8px;
  font-size: 13.4px; font-weight: 500; color: #46566a; text-decoration: none; white-space: nowrap;
  transition: background .12s, color .12s;
}
.hd-item > a:hover { background: #f2f6f9; color: #0f172a; }
.hd-item > a.is-active { background: #eef8f4; color: #0b6b58; }
.hd-caret { font-size: 9px; opacity: .55; margin-left: 1px; }

.hd-sub {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 1100;
  min-width: 200px; padding: 6px;
  background: #fff; border: 1px solid rgba(15,23,42,.08); border-radius: 12px;
  box-shadow: 0 16px 36px -12px rgba(15,23,42,.28);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s;
}
.hd-item.has-sub:hover .hd-sub,
.hd-item.has-sub:focus-within .hd-sub { opacity: 1; visibility: visible; transform: none; }
.hd-sub a {
  display: block; padding: 8px 10px; border-radius: 8px;
  font-size: 13px; color: #33475b; text-decoration: none; white-space: nowrap;
}
.hd-sub a:hover { background: #f4f8fb; color: var(--brand); }

/* mobil alt menü girintisi */
.mobile-nav a.mm-sub { padding-left: 30px; font-size: 13px; color: #5b6b7d; }

@media (max-width: 1199.98px) {
  .hd-nav { flex-wrap: wrap; }
}

/* menü: tıklayarak da açılabilsin (dokunmatik) */
.hd-item.has-sub.is-open .hd-sub { opacity: 1; visibility: visible; transform: none; }
.hd-item.has-sub.is-open > a { background: #f2f6f9; color: #0f172a; }

/* ============ NAVBAR düzeni (netleştirilmiş) ============ */
.hd-inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;              /* CTA asla alt satıra düşmez */
  gap: 14px;
}
.brand { flex: 0 0 auto; }

/* menü: yalnız kendi içinde sarar, sağdaki butonları itmez */
.hd-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 2px;
  row-gap: 2px;
}
.hd-item { display: flex; align-items: center; }
.hd-item > a {
  display: inline-flex; align-items: center; gap: 5px;
  height: 34px; padding: 0 11px;
  border-radius: 8px;
  font-size: 13.4px; font-weight: 500; line-height: 1;
  color: #445364; text-decoration: none; white-space: nowrap;
  transition: background .12s ease, color .12s ease;
}
.hd-item > a:hover { background: #f1f5f9; color: #0f172a; }
.hd-item > a.is-active { background: #eaf7f1; color: #0b6b58; font-weight: 600; }

/* arama: kenarlıksız ikon butonu */
.hd-search-btn, .hd-icon-btn {
  flex: 0 0 auto;
  width: 36px; height: 36px; min-width: 36px; max-width: 36px;
  border: 0; border-radius: 9px; background: transparent;
  color: #5b6b7d; display: grid; place-items: center;
  font-size: 15px; cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.hd-search-btn:hover, .hd-icon-btn:hover { background: #f1f5f9; color: var(--brand); }
.hd-actions { flex: 0 0 auto; gap: 8px; margin-left: 0; }
.hd-actions .btn-brand, .hd-actions .btn-ghost { height: 36px; }

/* orta genişlikte menüyü sıkıştır */
@media (max-width: 1439.98px) {
  .hd-item > a { padding: 0 9px; font-size: 13px; }
  .hd-nav { gap: 1px; }
}
