/* Migrated from template-parts/world-map.php style block 1 */
/* ── Global Infrastructure Section ───────────────────────────────── */
.hg-infra {
  background: #0d1117;
  padding: 80px 0 72px;
}
.hg-infra-head {
  text-align: center;
  margin-bottom: 52px;
}
.hg-infra-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #f57200;
  margin: 0 0 14px;
}
.hg-infra-h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #fff !important;
  margin: 0 0 14px;
  line-height: 1.2;
}
.hg-infra-sub {
  font-size: .9375rem;
  color: rgba(255,255,255,.5);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Location Cards Grid ─────────────────────────────────────────── */
.hg-infra-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 52px;
}
@media (max-width: 1100px) { .hg-infra-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px)  { .hg-infra-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .hg-infra-grid { grid-template-columns: repeat(2, 1fr); } }

.hg-infra-card {
  background: #161b22;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 20px 18px;
  transition: border-color .2s, transform .2s;
  cursor: default;
}
.hg-infra-card:hover {
  border-color: rgba(245,114,0,.4);
  transform: translateY(-3px);
}
.hg-infra-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.hg-infra-flag {
  font-size: 1.5rem;
  line-height: 1;
}
/* Live pulse dot */
.hg-infra-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
}
.hg-infra-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(34,197,94,.35);
  animation: hg-pulse 2s ease-out infinite;
}
@keyframes hg-pulse {
  0%   { transform: scale(.6); opacity: 1; }
  100% { transform: scale(2);  opacity: 0; }
}
/* Kenya home marker — orange pulse */
.hg-infra-card.hg-infra-home .hg-infra-pulse {
  background: #f57200;
}
.hg-infra-card.hg-infra-home .hg-infra-pulse::after {
  background: rgba(245,114,0,.35);
}
.hg-infra-card.hg-infra-home {
  border-color: rgba(245,114,0,.3);
  background: linear-gradient(135deg, #1c1208 0%, #161b22 100%);
}
.hg-infra-city {
  font-size: .9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.hg-infra-region {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  font-weight: 500;
}
.hg-infra-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #f57200;
  background: rgba(245,114,0,.1);
  border-radius: 4px;
  padding: 2px 7px;
}

/* ── Bottom Stats Bar ────────────────────────────────────────────── */
.hg-infra-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 44px;
  flex-wrap: wrap;
}
.hg-infra-stat {
  flex: 1 1 160px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
  padding: 0 24px;
}
.hg-infra-stat:last-child { border-right: none; }
.hg-infra-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.hg-infra-stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
