.rmc-portal .rmc-sections {
  --rmc-sections-soft: #eff5ef;
  --rmc-sections-rule: #e5eae3;
  align-self: start;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rmc-line);
  border-radius: var(--rmc-radius);
  color: var(--rmc-ink);
  background: #fff;
}

.rmc-portal .rmc-sections h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  margin: 0;
  padding: 11px clamp(11px, 1.25vw, 17px);
  border-bottom: 1px solid var(--rmc-sections-rule);
  border-radius: calc(var(--rmc-radius) - 1px) calc(var(--rmc-radius) - 1px) 0 0;
  color: var(--rmc-ink);
  background: var(--rmc-sections-soft);
  font-size: 1.13rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.rmc-sections h2 .rmc-nav-icon {
  box-sizing: content-box;
  padding: 6px;
  width: 17px;
  height: 17px;
  border-radius: 8px;
  color: #fff;
  background: var(--rmc-green);
}

.rmc-portal .rmc-sections ul {
  display: grid;
  margin: 0;
  padding: 5px 8px 8px;
}

.rmc-portal .rmc-sections li + li { border-color: var(--rmc-sections-rule); }

.rmc-portal .rmc-sections li > a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(6px, .8vw, 10px);
  width: 100%;
  min-height: 45px;
  padding: 5px clamp(3px, .55vw, 7px);
  border-radius: 8px;
  color: var(--rmc-ink);
  font-size: .875rem;
  font-weight: 620;
  line-height: 1.28;
}

.rmc-sections .rmc-section-symbol {
  display: grid;
  place-items: center;
  width: clamp(25px, 2.4vw, 32px);
  height: clamp(25px, 2.4vw, 32px);
  border-radius: 7px;
  color: var(--rmc-green);
  background: var(--rmc-sections-soft);
}

.rmc-sections .rmc-section-symbol .rmc-nav-icon { width: 17px; height: 17px; }
.rmc-sections .rmc-section-label { overflow-wrap: anywhere; }
.rmc-sections .rmc-section-arrow { width: 14px; height: 14px; color: #536d63; }

.rmc-portal .rmc-sections li > a:hover,
.rmc-portal .rmc-sections li > a[aria-current] {
  color: var(--rmc-green);
  background: var(--rmc-sections-soft);
  text-decoration: none;
}

.rmc-portal .rmc-sections li > a[aria-current] {
  font-weight: 750;
  box-shadow: inset 3px 0 0 var(--rmc-green);
}

.rmc-sections a:hover .rmc-section-label { text-decoration: underline; text-underline-offset: 3px; }
.rmc-sections a:hover .rmc-section-symbol { background: #dbeadf; }
.rmc-sections a[aria-current] .rmc-section-symbol { color: #fff; background: var(--rmc-green); }
.rmc-sections a[aria-current] .rmc-section-arrow { color: var(--rmc-green); }
.rmc-portal .rmc-sections li > a:focus-visible { outline-offset: -2px; }
.rmc-large-text .rmc-sections { --rmc-sections-soft: #eef4ff; --rmc-sections-rule: #b9c2ce; }

@media (max-width: 540px) {
  .rmc-portal .rmc-sections li > a { min-height: 48px; padding-inline: 7px; gap: 9px; }
  .rmc-sections .rmc-section-symbol { width: 30px; height: 30px; }
}
