/* Layout alignment to match other pages */
.nt-sitemaps {
  padding-inline: var(--page-gutter);
}

.nt-sitemaps > .wrap {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-block: 22px 40px;
}

/* Breadcrumbs */
.nt-sitemaps__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  opacity: .85;
  font-size: 13px;
}

.nt-sitemaps__bc-link,
.nt-sitemaps__bc-link:visited {
  color: rgba(255,255,255,.92);
  text-decoration: none;
}

.nt-sitemaps__bc-link:hover {
  text-decoration: underline;
}

.nt-sitemaps__bc-sep {
  opacity: .5;
}

.nt-sitemaps__bc-current {
  opacity: .75;
}

/* Links: keep WHITE (incl. visited) */
.nt-sitemaps a,
.nt-sitemaps a:visited {
  color: rgba(255,255,255,.92);
  text-decoration: none;
}

.nt-sitemaps a:hover {
  text-decoration: underline;
}

/* Head */
.nt-sitemaps__head {
  margin-bottom: 18px;
}

.nt-sitemaps__kicker {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .72;
  margin-bottom: 6px;
}

.nt-sitemaps__title {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 900;
}

.nt-sitemaps__tools {
  display: grid;
  gap: 8px;
  max-width: 620px;
}

.nt-sitemaps__search {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color: inherit;
  outline: none;
}

.nt-sitemaps__search:focus {
  border-color: rgba(119, 9, 255, .55);
  box-shadow: 0 0 0 3px rgba(119, 9, 255, .15);
}

.nt-sitemaps__hint {
  opacity: .68;
  font-size: 12px;
}

/* Chips */
.nt-sitemaps__anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.nt-sitemaps__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  opacity: .92;
}

.nt-sitemaps__chip:hover {
  border-color: rgba(255,255,255,.18);
  opacity: 1;
  text-decoration: none;
}

/* Section headings */
.nt-sitemaps__section {
  margin-top: 26px;
}

.nt-sitemaps__h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
}

.nt-sitemaps__minihead {
  margin: 8px 0 10px;
  opacity: .85;
}

/* Details blocks */
.nt-sitemaps__block {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  margin-bottom: 12px;
  background: rgba(255,255,255,.02);
  overflow: hidden;
}

.nt-sitemaps__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  padding: 12px 12px;
  list-style: none;
}

/* Remove default marker */
.nt-sitemaps__summary::-webkit-details-marker { display: none; }

.nt-sitemaps__summary:hover {
  background: rgba(255,255,255,.03);
}

.nt-sitemaps__summary:focus-visible {
  outline: 2px solid rgba(119, 9, 255, .45);
  outline-offset: -2px;
}

.nt-sitemaps__summary-title {
  font-weight: 900;
}

.nt-sitemaps__summary-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Open button */
.nt-sitemaps__btn,
.nt-sitemaps__btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.nt-sitemaps__btn:hover {
  text-decoration: none;
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
}

/* Chevron indicator */
.nt-sitemaps__chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,.55);
  border-bottom: 2px solid rgba(255,255,255,.55);
  transform: rotate(45deg);
  transition: transform .18s ease, opacity .18s ease;
  opacity: .9;
}

details[open] > summary .nt-sitemaps__chev {
  transform: rotate(-135deg);
}

/* Inner content */
.nt-sitemaps__inner {
  padding: 0 12px 12px;
}

/* Groups */
.nt-sitemaps__group {
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.nt-sitemaps__group:first-child {
  border-top: 0;
  padding-top: 6px;
}

.nt-sitemaps__group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.nt-sitemaps__group-title {
  font-weight: 800;
}

.nt-sitemaps__group-title--muted {
  opacity: .85;
}

/* Sub grid */
.nt-sitemaps__subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .nt-sitemaps__subgrid { grid-template-columns: 1fr; }
}

.nt-sitemaps__sub {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 10px;
  background: rgba(0,0,0,.10);
}

.nt-sitemaps__sub-title {
  font-weight: 800;
}

/* Lists */
.nt-sitemaps__list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.nt-sitemaps__list li {
  margin: 4px 0;
}

.nt-sitemaps__list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-left: 0;
  list-style: none;
  margin-top: 10px;
}

.nt-sitemaps__list--inline li {
  margin: 0;
}

/* Make list links feel interactive (no purple visited) */
.nt-sitemaps__link,
.nt-sitemaps__link:visited {
  color: rgba(255,255,255,.92);
}

.nt-sitemaps__link:hover {
  text-decoration: underline;
}

/* Empty */
.nt-sitemaps__empty {
  opacity: .75;
}