/* Group portal palette and navigation */
.group-site {
  --blue: #1161d2;
  --navy: #102f57;
  --ink: #183453;
  --muted: #536a81;
  --light: #f2f6fb;
  --line: #dce5ef;
}
.group-site.inner-page .utility {
  height: 29px;
  background: #f4f7fb;
  border-bottom: 1px solid var(--line);
}
.group-site .utility .wrap { justify-content: flex-end; }
.group-site.inner-page .utility a { color: var(--muted); }
.group-site.inner-page .utility a:hover { color: var(--blue); }
.group-site .site-header { background: #fff; border-color: var(--line); }
.group-nav-section { height: 100%; position: relative; }
.group-nav-section summary {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .025em;
  list-style: none;
  cursor: pointer;
}
.group-nav-section summary::-webkit-details-marker { display: none; }
.group-nav-section summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.group-nav-section[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.group-nav-section:is([open], .is-current) summary,
.group-nav-section summary:hover { color: var(--blue); }
.group-nav-section.is-current::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--blue);
}
.group-nav-panel {
  position: absolute;
  top: 100%;
  left: -18px;
  width: 208px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding: 9px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue);
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 48, 87, .13);
}
.group-nav-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 4px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}
.group-nav-panel a:hover, .group-nav-panel a:focus-visible, .group-nav-panel a.active {
  background: #eef4fc;
  color: var(--blue);
}
.group-nav-research { margin-top: 5px; padding-top: 5px; border-top: 1px solid var(--line); }
.group-nav-research > div { margin: 0 0 3px 13px; padding-left: 7px; border-left: 1px solid #ccdaed; }
.group-nav-research > div a { padding-block: 6px; font-size: 14px; color: #48627d; }
.group-site .research-tabs { background: #f4f7fc; }
.group-site .research-tabs a { padding-block: 13px; min-height: 46px; font-size: 14px; }
.group-site.inner-page .section-grey { background: linear-gradient(180deg, #f7f9fc, #edf3f9); }
.group-site .cta-section { background: linear-gradient(115deg, #2755a9, #234d91 53%, #183e70); }
.group-site .site-footer { background: linear-gradient(155deg, #14365b, #0b2543); }
.group-site .legacy-content h2 { color: var(--navy); }
.group-site .legacy-principle h3 { color: #205091; }
.research-content {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.4fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.research-content h2 { margin-bottom: 20px; }
.research-facts { margin: 0; border-top: 2px solid var(--blue); }
.research-facts > div {
  display: grid;
  grid-template-columns: 6em minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.research-facts dt { color: var(--blue); font-weight: 600; }
.research-facts dd { margin: 0; color: var(--ink); line-height: 1.85; }

@media (max-width: 1199px) {
  .group-site .site-header nav.is-open {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 105px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .group-nav-section { height: auto; border-bottom: 1px solid var(--line); }
  .group-nav-section summary { min-height: 52px; padding-block: 12px; justify-content: space-between; }
  .group-nav-section summary::after { margin-right: 6px; }
  .group-nav-section.is-current::before { display: none; }
  .group-nav-panel {
    position: static;
    width: auto;
    max-height: none;
    margin: 0 0 12px;
    padding: 4px 9px;
    border: 0;
    border-left: 2px solid #abc5e7;
    border-radius: 0;
    background: #f4f7fc;
    box-shadow: none;
  }
  .group-nav-panel a { padding-block: 10px; }
}
@media (max-width: 767px) {
  .group-site.inner-page .utility { display: none; }
  .group-site .site-header nav.is-open { max-height: calc(100dvh - 82px); }
  .research-content { grid-template-columns: 1fr; gap: 24px; }
  .research-facts > div { grid-template-columns: 5em minmax(0, 1fr); gap: 12px; padding: 18px 0; }
}
