/* Isolated restoration of the v2.4.7 Istanbul district design. */
/* v2.3.9 — Istanbul 39 district service map */
.ihb-district-section{padding:26px 0 86px;background:#f4f6f7}
.ihb-district-card{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(360px,.82fr);border:1px solid #dbe2e8;border-radius:24px;background:#fff;overflow:hidden;box-shadow:0 24px 70px rgba(8,27,49,.08)}
.ihb-district-map-panel{padding:42px 46px 34px;min-width:0}
.ihb-district-overline{display:flex;align-items:center;gap:10px;color:#d7682b;font-size:10px;font-weight:950;letter-spacing:.18em}.ihb-district-overline:before{content:"";width:28px;height:2px;background:#e27938}
.ihb-district-map-panel h2{max-width:680px;margin:13px 0 12px;color:#10223e;font-size:clamp(30px,3.3vw,48px);line-height:1.03;letter-spacing:-.05em}.ihb-district-map-panel h2 em{font-style:normal;color:#e07331}
.ihb-district-map-panel>p{max-width:700px;margin:0;color:#728094;font-size:14px;line-height:1.7}
.ihb-istanbul-map-wrap{position:relative;margin-top:24px;padding:12px 0 5px;min-height:300px}
.ihb-istanbul-map{width:100%;height:auto;display:block;overflow:visible}
.ihb-map-land{fill:#f9fafb;stroke:#84909c;stroke-width:1.5;filter:drop-shadow(0 10px 18px rgba(15,34,57,.06))}.ihb-map-water{fill:none;stroke:#d4dbe1;stroke-width:7;stroke-linecap:round;opacity:.9}.ihb-map-island{fill:#f9fafb;stroke:#84909c;stroke-width:1.3}
.ihb-map-pin circle:first-child{fill:#ff9c1a;stroke:#fff;stroke-width:2;filter:drop-shadow(0 0 5px rgba(255,156,26,.7))}.ihb-map-pin .ring{fill:none;stroke:#ffb43c;stroke-width:2;transform-box:fill-box;transform-origin:center;animation:ihbMapPulse 1.9s ease-out infinite;animation-delay:var(--d)}
@keyframes ihbMapPulse{0%{transform:scale(.55);opacity:.95}70%{transform:scale(1.7);opacity:.12}100%{transform:scale(1.9);opacity:0}}
.ihb-map-legend{position:absolute;left:18px;bottom:5px;display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.88);border:1px solid #e1e6ea;color:#677486;font-size:10px;font-weight:800;backdrop-filter:blur(8px)}.ihb-map-legend span{width:8px;height:8px;border-radius:50%;background:#ffa11b;box-shadow:0 0 0 5px rgba(255,161,27,.13)}
.ihb-district-info{position:relative;padding:42px 40px;background:linear-gradient(145deg,#0a1d36,#0d294b);color:#fff;overflow:hidden}.ihb-district-info:after{content:"39";position:absolute;right:16px;top:-20px;font-size:150px;font-weight:950;line-height:1;color:rgba(255,255,255,.045);letter-spacing:-.09em}.ihb-district-overline-light{position:relative;z-index:1;color:#f6a34d}.ihb-district-number{display:none}.ihb-district-info h3{position:relative;z-index:1;max-width:410px;margin:15px 0 14px;font-size:32px;line-height:1.05;letter-spacing:-.045em}.ihb-district-info>p{position:relative;z-index:1;margin:0;color:#b8c5d4;font-size:13px;line-height:1.72}
.ihb-district-tags{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.ihb-district-tags span{padding:7px 11px;border:1px solid rgba(255,255,255,.18);border-radius:999px;color:#d8e1ec;font-size:9px;font-weight:900;letter-spacing:.06em}
.ihb-district-checks{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:12px 22px;margin-top:24px;color:#e0e6ed;font-size:11px}.ihb-district-checks span{display:block}.ihb-district-checks span::first-letter{color:#ff9a18}
.ihb-district-cta{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:space-between;gap:28px;margin-top:26px;padding:13px 17px;min-width:250px;border-radius:11px;background:#ff9416;color:#07172e;text-decoration:none;font-size:12px;font-weight:950;box-shadow:0 14px 30px rgba(255,148,22,.16)}.ihb-district-cta b{font-size:16px}
.ihb-district-foot{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;margin-top:14px;padding:16px 22px;border:1px solid #dbe2e8;border-radius:15px;background:#fff}.ihb-district-foot>strong{font-size:34px;line-height:1;color:#a4510d}.ihb-district-foot div{min-width:0}.ihb-district-foot b,.ihb-district-foot span{display:block}.ihb-district-foot b{color:#10223e;font-size:14px}.ihb-district-foot span{margin-top:2px;color:#718093;font-size:11px}.ihb-district-foot small{color:#46556b;font-size:9px;font-weight:950;letter-spacing:.18em;white-space:nowrap}
@media(max-width:980px){.ihb-district-card{grid-template-columns:1fr}.ihb-district-info{padding:34px}.ihb-district-map-panel{padding:34px}.ihb-district-info h3{font-size:29px}}
@media(max-width:760px){.ihb-district-section{padding:18px 0 58px}.ihb-district-card{border-radius:20px}.ihb-district-map-panel{padding:26px 20px 20px}.ihb-district-map-panel h2{font-size:31px}.ihb-district-map-panel>p{font-size:12px}.ihb-istanbul-map-wrap{margin-top:16px;min-height:0}.ihb-map-legend{position:static;margin-top:8px}.ihb-district-info{padding:27px 22px}.ihb-district-info:after{font-size:110px}.ihb-district-info h3{font-size:27px}.ihb-district-info>p{font-size:12px}.ihb-district-tags{gap:6px}.ihb-district-tags span{padding:6px 9px;font-size:8px}.ihb-district-checks{grid-template-columns:1fr 1fr;font-size:10px;gap:10px}.ihb-district-cta{width:100%;min-width:0}.ihb-district-foot{grid-template-columns:auto 1fr;padding:14px 16px}.ihb-district-foot small{grid-column:2}.ihb-district-foot>strong{font-size:30px}.ihb-district-foot b{font-size:12px}.ihb-district-foot span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.ihb-map-pin .ring{animation:none;opacity:.35}}


/* v2.4.0 — real Istanbul district map */
.ihb-real-map-wrap{margin-top:22px;min-height:0;padding-top:4px}
.ihb-real-map-stage{position:relative;width:100%;aspect-ratio:2248/1191;overflow:hidden;border-radius:18px;background:#f8fafb;border:1px solid #e4e9ed;box-shadow:0 16px 42px rgba(14,34,57,.06)}
.ihb-real-istanbul-map{display:block;width:100%;height:100%;object-fit:contain;object-position:center;filter:grayscale(1) contrast(.82) brightness(1.12)}
.ihb-real-map-pins{position:absolute;inset:0;pointer-events:none}
.ihb-real-map-pin{position:absolute;left:var(--x);top:var(--y);width:9px;height:9px;border-radius:50%;background:#ff9c1a;border:2px solid #fff;box-shadow:0 0 0 1px rgba(255,156,26,.6),0 0 10px rgba(255,156,26,.75);transform:translate(-50%,-50%)}
.ihb-real-map-pin:after{content:"";position:absolute;inset:-7px;border:2px solid rgba(255,164,36,.72);border-radius:50%;animation:ihbRealMapPulse 2.15s ease-out infinite;animation-delay:var(--d)}
@keyframes ihbRealMapPulse{0%{transform:scale(.45);opacity:.9}70%{transform:scale(1.55);opacity:.14}100%{transform:scale(1.8);opacity:0}}
.ihb-real-map-wrap .ihb-map-legend{position:static;margin-top:11px;width:max-content}
.ihb-map-credit{display:block;margin-top:7px;color:#9aa6b2;font-size:8px;letter-spacing:.02em}
@media(max-width:760px){.ihb-real-map-stage{border-radius:14px}.ihb-real-map-pin{width:7px;height:7px}.ihb-real-map-pin:after{inset:-5px}.ihb-map-credit{font-size:7px}}
@media(prefers-reduced-motion:reduce){.ihb-real-map-pin:after{animation:none;opacity:.28}}

/* v2.4.1 — Istanbul-only district outline map */
.ihb-real-map-stage{aspect-ratio:2321/1554;background:#fff;border:0;box-shadow:none;border-radius:0;overflow:visible}
.ihb-real-istanbul-map{width:100%;height:100%;object-fit:contain;object-position:center;filter:grayscale(1) contrast(1.18) brightness(1.08);mix-blend-mode:multiply}
.ihb-real-map-wrap{padding:8px 0 0;margin-top:20px}
.ihb-real-map-pins{inset:3% 2% 4% 2%}
.ihb-map-credit{display:none!important}
@media(max-width:760px){.ihb-real-map-stage{aspect-ratio:2321/1554}.ihb-real-map-wrap{margin-top:14px}}


/* v2.4.2 — Rafinoks-style frameless Istanbul map */
.ihb-real-map-wrap{margin-top:24px!important;padding:0!important}
.ihb-real-map-stage{position:relative!important;width:100%!important;aspect-ratio:2248/1191!important;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.ihb-real-istanbul-map{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;filter:grayscale(1) contrast(1.35) brightness(1.18)!important;mix-blend-mode:multiply!important;opacity:.94}
.ihb-real-map-pins{position:absolute!important;inset:2% 1.5% 3% 1.5%!important;pointer-events:none}
.ihb-real-map-wrap .ihb-map-legend{display:none!important}
.ihb-district-map-panel{padding-bottom:38px!important}
@media(max-width:760px){.ihb-real-map-wrap{margin-top:18px!important}.ihb-real-map-stage{aspect-ratio:2248/1191!important}.ihb-district-map-panel{padding-bottom:24px!important}}


/* v2.4.3 — accurate district pin placement + single random active pulse */
.ihb-real-map-pin{
  width:7px!important;
  height:7px!important;
  background:#ff9c1a!important;
  border:2px solid #fff!important;
  box-shadow:0 0 0 1px rgba(255,156,26,.42)!important;
  opacity:.42;
  transition:opacity .22s ease, transform .22s ease, box-shadow .22s ease;
}
.ihb-real-map-pin:after{
  content:"";
  position:absolute;
  inset:-8px;
  border:2px solid rgba(255,164,36,.72);
  border-radius:50%;
  opacity:0;
  transform:scale(.45);
  animation:none!important;
}
.ihb-real-map-pin.is-active{
  opacity:1;
  transform:translate(-50%,-50%) scale(1.14);
  box-shadow:0 0 0 1px rgba(255,156,26,.72),0 0 14px rgba(255,156,26,.75)!important;
  z-index:3;
}
.ihb-real-map-pin.is-active:after{
  animation:ihbSingleDistrictPulse 1.25s ease-out infinite!important;
}
@keyframes ihbSingleDistrictPulse{
  0%{transform:scale(.45);opacity:.92}
  70%{transform:scale(1.65);opacity:.15}
  100%{transform:scale(1.9);opacity:0}
}
@media(max-width:760px){
  .ihb-real-map-pin{width:6px!important;height:6px!important}
  .ihb-real-map-pin:after{inset:-6px}
}
@media(prefers-reduced-motion:reduce){
  .ihb-real-map-pin{opacity:.35}
  .ihb-real-map-pin.is-active{opacity:1}
  .ihb-real-map-pin.is-active:after{animation:none!important;opacity:.25;transform:scale(1.25)}
}


/* v2.4.4 — one district active at a time; inactive pins truly quiet */
.ihb-real-map-pin{
  width:5px!important;
  height:5px!important;
  background:#9aa6b2!important;
  border:0!important;
  box-shadow:none!important;
  opacity:.22!important;
  transform:translate(-50%,-50%) scale(1)!important;
  transition:opacity .24s ease,transform .24s ease,background-color .24s ease!important;
}
.ihb-real-map-pin:before{content:none!important}
.ihb-real-map-pin:after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:24px!important;
  height:24px!important;
  margin:-12px 0 0 -12px!important;
  inset:auto!important;
  border:2px solid #ff9c1a!important;
  border-radius:50%!important;
  opacity:0!important;
  transform:scale(.35)!important;
  animation:none!important;
  box-shadow:none!important;
}
.ihb-real-map-pin.is-active{
  width:9px!important;
  height:9px!important;
  background:#ff9c1a!important;
  border:2px solid #fff!important;
  opacity:1!important;
  box-shadow:0 0 0 1px rgba(255,156,26,.75),0 0 10px rgba(255,156,26,.45)!important;
  transform:translate(-50%,-50%) scale(1)!important;
  z-index:5!important;
}
.ihb-real-map-pin.is-active:after{
  opacity:1!important;
  animation:ihbOnlyOneDistrictPulse 1.35s ease-out infinite!important;
}
@keyframes ihbOnlyOneDistrictPulse{
  0%{transform:scale(.35);opacity:.9}
  70%{transform:scale(1.25);opacity:.18}
  100%{transform:scale(1.55);opacity:0}
}
@media(max-width:760px){
  .ihb-real-map-pin{width:4px!important;height:4px!important;opacity:.18!important}
  .ihb-real-map-pin.is-active{width:8px!important;height:8px!important;opacity:1!important}
  .ihb-real-map-pin:after{width:20px!important;height:20px!important;margin:-10px 0 0 -10px!important}
}


/* v2.4.5 — district pins projected from real district center coordinates */
.ihb-real-map-pins{inset:0!important}
.ihb-real-map-pin{pointer-events:none}



