.home-organization-map {
  display: grid;
  gap: 1.2rem;
  padding: 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(9, 49, 71, 0.16);
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.98), rgba(236, 244, 252, 0.92));
  box-shadow: 0 18px 36px rgba(8, 35, 52, 0.12);
}

.home-organization-map__header h2,
.home-organization-map__header p {
  margin: 0;
}

.home-organization-map__header {
  display: grid;
  gap: 0.55rem;
}

.home-organization-map__header h2 {
  font-size: clamp(1.4rem, 2.3vw, 2rem);
}

.home-organization-map__header p {
  color: #3f5364;
  line-height: 1.55;
}

.home-organization-map__canvas {
  /* Keep Leaflet panes and controls within the map's own stacking context. */
  isolation: isolate;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(9, 49, 71, 0.12);
  background:
    radial-gradient(circle at top left, rgba(26, 130, 163, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(224, 242, 254, 0.95), rgba(255, 255, 255, 0.98));
}

.home-organization-map__empty {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px dashed rgba(11, 110, 122, 0.28);
  color: #355267;
}

.home-organization-map__cluster {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(18, 141, 195, 0.25);
}

.home-organization-map__cluster > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0b6e7a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.home-organization-map__cluster:focus-visible {
  outline: 3px solid #128dc3;
  outline-offset: 3px;
}

.home-organization-map__popup {
  display: grid;
  gap: 0.75rem;
  min-width: 180px;
  max-width: 260px;
  overflow-wrap: anywhere;
}

.home-organization-map__popup-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.home-organization-map__popup .home-organization-map__popup-description {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #3f5364;
}

.home-organization-map__popup-link {
  line-height: 1.4;
}

.home-organization-map__maturity {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  border-block-start: 1px solid #d5e3ed;
  text-align: center;
  text-decoration: none;
}

.home-organization-map__maturity > span > span,
.home-organization-map__maturity strong {
  display: block;
}

.home-organization-map__maturity-title {
  grid-column: 1 / -1;
  font-weight: 700;
  line-height: 1.3;
}

.home-organization-map__maturity strong {
  margin-block-start: 4px;
  font-size: 1.15rem;
}

.home-organization-map__maturity:hover,
.home-organization-map__maturity:focus-visible {
  background: #eaf8fa;
  outline: 2px solid #128dc3;
  border-radius: 6px;
}

.home-organization-map__popup strong {
  color: #123247;
}

.home-organization-map__popup-logo,
.home-organization-map__popup-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: 0 0 42px;
}

.home-organization-map__popup-logo {
  object-fit: cover;
  background: #e5eef6;
}

.home-organization-map__popup-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  background: linear-gradient(135deg, #0b6e7a, #1a82a3);
}
