/* Maysan Amortisör Bul — bayi ağı ([maysan_bayi_agi])
   #mab-bayi ile başlayan seçiciler Elementor Site Settings stillerini ezmek için bilinçli olarak güçlüdür. */
#mab-bayi{
  --navy:#0A1626;--ink:#1a3255;--brand:#A82A2C;--brand-d:#8A1F21;
  --muted:#566479;--line:#e1e6ed;--soft:#f2f4f7;--sticky:76px;
  background:#fff;color:var(--navy);padding:56px 0 112px;
  font-family:"IBM Plex Sans",system-ui,-apple-system,sans-serif;
}
body.admin-bar #mab-bayi{--sticky:108px}
#mab-bayi *{box-sizing:border-box}
#mab-bayi [hidden]{display:none!important}
#mab-bayi .mabb-in{max-width:1320px;margin:0 auto;padding:0 32px}

/* başlık */
#mab-bayi .mabb-head{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:end;margin-bottom:40px}
#mab-bayi .mabb-head h1{margin:0;color:var(--navy);font-weight:700;font-size:clamp(32px,4vw,52px);line-height:1.04;letter-spacing:-.025em;max-width:14ch}
#mab-bayi .mabb-head p{margin:0;justify-self:end;max-width:46ch;color:var(--muted);font-size:17px;line-height:1.6}

/* harita */
#mab-bayi .mabb-map{position:relative;background:var(--soft);border-radius:12px;padding:28px 32px 20px}
#mab-bayi .mabb-svg{display:block;width:100%;height:auto;overflow:visible}
#mab-bayi .mabb-svg path{fill:#dde3ea;stroke:#fff;stroke-width:.8;stroke-linejoin:round;transition:fill .18s}
#mab-bayi .mabb-svg path.has{fill:var(--ink);cursor:pointer;outline:none}
#mab-bayi .mabb-svg path.has.is-off{fill:#aab6c6}
#mab-bayi .mabb-svg path.has.is-on{fill:var(--brand)}
#mab-bayi .mabb-svg path.has:focus-visible{stroke:var(--brand);stroke-width:2.5}
@media (hover:hover){#mab-bayi .mabb-svg path.has:not(.is-on):hover{fill:#35588c}}
#mab-bayi .mabb-legend{display:flex;align-items:center;gap:8px;margin:12px 0 0;font-size:13px;color:var(--muted)}
#mab-bayi .mabb-legend span{width:12px;height:12px;border-radius:3px;background:var(--ink)}
#mab-bayi .mabb-tip{position:absolute;z-index:3;pointer-events:none;transform:translate(-50%,calc(-100% - 12px));
  padding:6px 10px;border-radius:6px;background:var(--navy);color:#fff;font-size:13px;font-weight:600;white-space:nowrap}

/* filtreler */
#mab-bayi .mabb-filters{position:sticky;top:var(--sticky);z-index:5;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1.3fr) auto;gap:14px;align-items:end;
  margin:24px 0 0;padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 40px -30px rgba(10,22,38,.45)}
#mab-bayi .mabb-f label,#mab-bayi .mabb-flabel{display:block;margin:0 0 8px;font-size:13px;font-weight:600;color:var(--navy)}
#mab-bayi select,#mab-bayi input[type="search"]{
  width:100%;height:48px;margin:0;padding:0 14px;border:1.5px solid var(--line);border-radius:8px;background-color:#fff;
  color:var(--navy);font:inherit;font-size:15px;box-shadow:none;outline:none;-webkit-appearance:none;appearance:none;transition:border-color .15s,box-shadow .15s}
#mab-bayi select{padding-right:40px;cursor:pointer;
  background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%231a3255' stroke-width='1.8'/></svg>") no-repeat right 14px center/12px 8px}
#mab-bayi input[type="search"]::placeholder{color:#8994a5;opacity:1}
#mab-bayi input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}
#mab-bayi select:focus,#mab-bayi input[type="search"]:focus{border-color:var(--ink);box-shadow:0 0 0 3px rgba(26,50,85,.15)}
#mab-bayi .mabb-seg{display:inline-flex;gap:4px;padding:4px;height:48px;background:var(--soft);border-radius:8px}
#mab-bayi .mabb-seg button{height:40px;margin:0;padding:0 16px;border:0;border-radius:6px;background:transparent;color:var(--muted);
  font:inherit;font-size:14px;font-weight:600;line-height:1;cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:0;transition:background .15s,color .15s;-webkit-tap-highlight-color:transparent}
#mab-bayi .mabb-seg button[aria-checked="true"]{background:var(--ink);color:#fff}
#mab-bayi .mabb-seg button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media (hover:hover){#mab-bayi .mabb-seg button[aria-checked="false"]:hover{background:#e3e8ef;color:var(--navy)}}
#mab-bayi .mabb-reset,#mab-bayi .mabb-reset2{height:48px;margin:0;padding:0 4px;border:0;background:none;color:var(--brand);font:inherit;font-size:14px;font-weight:600;
  cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:0;white-space:nowrap}
@media (hover:hover){#mab-bayi .mabb-reset:hover,#mab-bayi .mabb-reset2:hover{background:none;color:var(--brand-d);text-decoration:underline;text-underline-offset:4px}}

/* liste */
#mab-bayi .mabb-list{margin-top:48px}
#mab-bayi .mabb-group{margin-top:48px;scroll-margin-top:calc(var(--sticky) + 140px)}
#mab-bayi .mabb-group:first-child{margin-top:0}
#mab-bayi .mabb-group h2{margin:0 0 18px;padding-bottom:12px;border-bottom:2px solid var(--navy);color:var(--navy);font-size:24px;font-weight:700;letter-spacing:-.01em}
#mab-bayi .mabb-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#mab-bayi .mabb-card{display:flex;flex-direction:column;gap:12px;padding:22px 22px 20px;border:1px solid var(--line);border-radius:10px;background:#fff;transition:border-color .2s,box-shadow .25s}
@media (hover:hover){#mab-bayi .mabb-card:hover{border-color:var(--ink);box-shadow:0 18px 40px -26px rgba(10,22,38,.35)}}
#mab-bayi .mabb-card-top{display:flex;flex-direction:column;gap:8px}
#mab-bayi .mabb-card h3{margin:0;color:var(--navy);font-size:17px;line-height:1.3;font-weight:700}
#mab-bayi .mabb-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
#mab-bayi .mabb-tags li{margin:0;padding:3px 8px;border-radius:4px;background:#eef2f7;color:var(--ink);font-size:12px;font-weight:600}
#mab-bayi .mabb-addr,#mab-bayi .mabb-tel{display:flex;gap:10px;margin:0;font-size:14.5px;line-height:1.55;color:var(--muted)}
#mab-bayi .mabb-addr strong{color:var(--navy);font-weight:600}
#mab-bayi .mabb-addr svg,#mab-bayi .mabb-tel svg{flex:none;width:18px;height:18px;margin-top:2px;fill:none;stroke:var(--ink);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#mab-bayi .mabb-tel a{color:var(--navy);font-weight:600;text-decoration:none}
#mab-bayi .mabb-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin-top:auto;padding-top:6px}
#mab-bayi a.mabb-dir{display:inline-flex;align-items:center;gap:8px;color:var(--brand);font-size:14.5px;font-weight:600;text-decoration:none}
#mab-bayi a.mabb-web{color:var(--ink);font-size:14px;font-weight:600;text-decoration:none}
#mab-bayi .mabb-arrow{transition:transform .2s}
@media (hover:hover){
  #mab-bayi a.mabb-dir:hover,#mab-bayi a.mabb-web:hover,#mab-bayi .mabb-tel a:hover{color:var(--brand);text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1.5px}
  #mab-bayi a.mabb-dir:hover .mabb-arrow{transform:translateX(3px)}
}
#mab-bayi .mabb-card a:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:2px}

#mab-bayi .mabb-empty{padding:36px;border-radius:12px;background:var(--soft)}
#mab-bayi .mabb-empty p{margin:0 0 6px;font-size:17px;color:var(--navy)}

/* alt çağrı */
#mab-bayi .mabb-cta{display:flex;align-items:center;justify-content:space-between;gap:24px 48px;margin-top:88px;padding:40px 44px;border-radius:12px;background:var(--navy);color:#fff}
#mab-bayi .mabb-cta h2{margin:0 0 8px;color:#fff;font-size:clamp(22px,2.2vw,28px);font-weight:700;letter-spacing:-.01em}
#mab-bayi .mabb-cta p{margin:0;max-width:56ch;color:rgba(255,255,255,.75);font-size:16px;line-height:1.6}
#mab-bayi a.mabb-btn{flex:none;display:inline-flex;align-items:center;height:54px;padding:0 26px;border-radius:8px;background:var(--brand);color:#fff;font-size:15px;font-weight:600;text-decoration:none;transition:background .15s}
@media (hover:hover){#mab-bayi a.mabb-btn:hover{background:var(--brand-d);color:#fff}}
#mab-bayi a.mabb-btn:focus-visible{outline:2px solid #fff;outline-offset:3px}

@media (max-width:1024px){
  #mab-bayi{padding:40px 0 80px;--sticky:80px}
  body.admin-bar #mab-bayi{--sticky:126px}
  #mab-bayi .mabb-in{padding:0 20px}
  #mab-bayi .mabb-head{grid-template-columns:1fr;gap:14px;margin-bottom:28px}
  #mab-bayi .mabb-head p{justify-self:start}
  #mab-bayi .mabb-map{padding:18px 16px 14px}
  #mab-bayi .mabb-filters{position:static;grid-template-columns:1fr 1fr;padding:16px}
  #mab-bayi .mabb-group{scroll-margin-top:96px}
  #mab-bayi .mabb-f--ara{grid-column:1/-1;order:3}
  #mab-bayi .mabb-reset{grid-column:1/-1;order:4;height:auto;justify-self:start}
  #mab-bayi .mabb-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  #mab-bayi .mabb-cta{flex-direction:column;align-items:flex-start;margin-top:64px;padding:32px 28px}
}
@media (max-width:640px){
  #mab-bayi .mabb-filters{position:static;grid-template-columns:1fr;gap:12px}
  #mab-bayi .mabb-seg{display:flex}
  #mab-bayi .mabb-seg button{flex:1;padding:0 8px}
  #mab-bayi .mabb-cards{grid-template-columns:1fr}
  #mab-bayi .mabb-list{margin-top:36px}
  #mab-bayi .mabb-group{margin-top:36px;scroll-margin-top:90px}
  #mab-bayi .mabb-legend{display:none}
  #mab-bayi a.mabb-btn{width:100%;justify-content:center}
}
@media (prefers-reduced-motion:reduce){#mab-bayi *{transition:none!important}}
