.sitemap-page {
  --sitemap-green: #116d4b;
  --sitemap-ink: #18352d;
  --sitemap-muted: #61736d;
}

.sitemap-header {
  max-width: 820px;
  margin-bottom: 2rem;
}

.sitemap-header__eyebrow {
  color: var(--sitemap-green);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  margin-bottom: .45rem;
  text-transform: uppercase;
}

.sitemap-header h1 {
  color: var(--sitemap-ink);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 750;
  margin-bottom: .75rem;
}

.sitemap-header > p:last-child {
  color: var(--sitemap-muted);
  font-size: 1.05rem;
  margin: 0;
}

.sitemap-tools {
  background: #f5f8f6;
  border: 1px solid #dce8e1;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.15rem;
}

.sitemap-search {
  align-items: center;
  background: #fff;
  border: 1px solid #b8ccc1;
  border-radius: .65rem;
  display: flex;
  gap: .65rem;
  padding: 0 .8rem;
}

.sitemap-search:focus-within {
  border-color: var(--sitemap-green);
  box-shadow: 0 0 0 .2rem rgb(17 109 75 / 13%);
}

.sitemap-search > i {
  color: var(--sitemap-green);
}

.sitemap-search .form-control {
  border: 0;
  box-shadow: none;
  min-height: 3rem;
  padding-left: 0;
}

.sitemap-clear {
  background: transparent;
  border: 0;
  color: var(--sitemap-green);
  font-size: .9rem;
  font-weight: 650;
  white-space: nowrap;
}

.sitemap-tools__footer,
.sitemap-tools__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: space-between;
}

.sitemap-tools__footer {
  margin-top: .75rem;
}

.sitemap-tools__actions {
  justify-content: flex-end;
}

.sitemap-tools__actions .btn {
  border-radius: 999px;
}

.sitemap-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.sitemap-card {
  align-self: start;
  background: #fff;
  border: 1px solid #dfe8e3;
  border-radius: .9rem;
  box-shadow: 0 .3rem 1rem rgb(27 58 44 / 5%);
  overflow: hidden;
}

.sitemap-card[hidden],
.sitemap-group[hidden],
.sitemap-link-list li[hidden] {
  display: none !important;
}

.sitemap-card[open] {
  border-color: #bfd5c8;
  box-shadow: 0 .5rem 1.3rem rgb(27 58 44 / 8%);
}

.sitemap-card__summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: .8rem;
  list-style: none;
  min-height: 4.25rem;
  padding: .85rem 1rem;
}

.sitemap-card__summary::-webkit-details-marker {
  display: none;
}

.sitemap-card__icon {
  align-items: center;
  background: #eaf4ed;
  border-radius: .7rem;
  color: var(--sitemap-green);
  display: inline-flex;
  flex: 0 0 2.5rem;
  font-size: 1.2rem;
  height: 2.5rem;
  justify-content: center;
}

.sitemap-card__heading {
  display: grid;
  flex: 1;
  gap: .15rem;
}

.sitemap-card__title {
  color: var(--sitemap-ink);
  font-size: 1rem;
  font-weight: 700;
}

.sitemap-card__count {
  color: var(--sitemap-muted);
  font-size: .78rem;
}

.sitemap-card__chevron {
  color: #557467;
  transition: transform .18s ease;
}

.sitemap-card[open] .sitemap-card__chevron {
  transform: rotate(180deg);
}

.sitemap-card__summary:focus-visible,
.sitemap-card a:focus-visible,
.sitemap-tools button:focus-visible {
  border-radius: .35rem;
  outline: 3px solid #16875d;
  outline-offset: 3px;
}

.sitemap-card__body {
  border-top: 1px solid #edf1ee;
  padding: .35rem 1rem 1rem;
}

.sitemap-group {
  margin-top: .85rem;
}

.sitemap-group h3 {
  align-items: center;
  color: #275e48;
  display: flex;
  font-size: .84rem;
  font-weight: 750;
  gap: .45rem;
  margin: 0 0 .35rem;
  text-transform: uppercase;
}

.sitemap-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sitemap-link-list li {
  border-top: 1px solid #f0f3f1;
  padding: .55rem 0;
}

.sitemap-link-list a {
  align-items: baseline;
  color: #285844;
  display: flex;
  font-size: .92rem;
  font-weight: 600;
  gap: .4rem;
  text-decoration: none;
}

.sitemap-link-list a:hover {
  color: #0b704b;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.sitemap-link-list a > i {
  font-size: .75rem;
}

.sitemap-link-list p {
  color: var(--sitemap-muted);
  font-size: .8rem;
  line-height: 1.4;
  margin: .15rem 0 0;
}

@media (max-width: 575.98px) {
  .sitemap-tools__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .sitemap-tools__actions {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sitemap-card__chevron {
    transition: none;
  }
}
