.org-map {
  margin: 0 0 30px;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid #d8e1de;
  border-radius: 20px;
  background: #fff;
}
.org-map figcaption h3 {
  margin: 8px 0 5px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}
.org-map figcaption p { margin: 0; color: #52656d; font-size: 16px; line-height: 1.6; }
.org-map-directory-link { display: inline-block; margin-top: 12px; }
.org-map-hub {
  position: relative;
  width: max-content;
  margin: 24px auto 0;
  padding: 9px 19px;
  border: 1px solid #d4deda;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 10px #1c3e3512;
}
.org-map-hub img { display: block; width: 106px; height: 49px; object-fit: contain; }
.org-map-hub::after, .org-map-branches::before, .org-map-branch::before {
  content: "";
  position: absolute;
  background: #a2b2aa;
}
.org-map-hub::after { width: 2px; height: 18px; left: 50%; top: 100%; }
.org-map-branches { --column-gap: 18px; position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--column-gap); padding-top: 36px; }
.org-map-branches::before { top: 18px; height: 2px; left: calc((100% - 2 * var(--column-gap)) / 6); right: calc((100% - 2 * var(--column-gap)) / 6); }
.org-map-branch { position: relative; min-width: 0; }
.org-map-branch::before { width: 2px; height: 18px; left: 50%; top: -18px; }
.org-map-enterprise { --branch-ink: #9f431c; --branch-tint: #fff2e7; }
.org-map-public { --branch-ink: #245b6b; --branch-tint: #eaf4f7; }
.org-map-knowledge { --branch-ink: #446044; --branch-tint: #ecf4eb; }
.org-map-branch h4 { display: flex; gap: 11px; align-items: center; min-height: 66px; margin: 0; padding: 12px 16px; border-radius: 10px; background: var(--branch-tint); color: var(--branch-ink); font-size: 18px; line-height: 1.35; }
.org-map-branch h4 svg { flex-shrink: 0; }
.org-map-branch ul { list-style: none; margin: 0 0 0 12px; padding: 0 0 0 14px; border-left: 2px solid var(--branch-tint); }
.org-map-branch li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0; min-height: 78px; border-bottom: 1px solid #e8eeeb; }
.org-map-branch li::before { content: ""; position: absolute; top: 50%; left: -16px; width: 10px; height: 2px; background: var(--branch-ink); }
.org-map-branch li:last-child { border-bottom: 0; }
.org-map-label { min-width: 0; }
.org-map-label strong { display: block; color: #243c44; font-size: 16px; line-height: 1.4; }
.org-map-label span { display: block; margin-top: 4px; color: #51646b; font-size: 14px; line-height: 1.4; }
.org-map-logo { display: grid; place-items: center; flex: 0 0 70px; }
.org-map-logo img { width: 70px; height: 42px; object-fit: contain; }
@media (max-width: 960px) {
  .org-map-hub { margin: 20px 0 0; }
  .org-map-hub::after { left: 18px; height: 20px; }
  .org-map-branches { grid-template-columns: 1fr; gap: 16px; padding: 18px 0 0 34px; }
  .org-map-branches::before { left: 18px; top: 18px; bottom: 0; width: 2px; height: auto; }
  .org-map-branch::before { left: -16px; top: 29px; width: 16px; height: 2px; }
  .org-map-branch:last-child::after { content: ""; position: absolute; left: -16px; top: 31px; bottom: 0; width: 2px; background: #fff; }
  .org-map-branch h4 { min-height: 58px; }
  .org-map-branch li { min-height: 64px; }
}
@media (max-width: 580px) {
  .org-map { padding: 18px 14px; }
  .org-map-branches { padding-left: 22px; }
  .org-map-branches::before, .org-map-hub::after { left: 11px; }
  .org-map-branch::before { left: -11px; width: 11px; }
  .org-map-branch:last-child::after { left: -11px; }
  .org-map-branch h4 { font-size: 17px; padding: 10px 12px; }
  .org-map-logo { flex-basis: 54px; }
  .org-map-logo img { width: 54px; height: 36px; }
}

/* The wide Crédit Agricole wordmark needs more room for comparable visual weight. */
.org-map-logo.org-map-logo-wide { flex-basis: 110px; }
.org-map-logo-wide img { width: 110px; height: 54px; }
@media (max-width: 580px) {
  .org-map-logo.org-map-logo-wide { flex-basis: 84px; }
  .org-map-logo-wide img { width: 84px; height: 42px; }
}
