.outlanders-guide-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.outlanders-guide-nav a {
  display: inline-block;
  padding: 6px 0;
  color: var(--accent);
  text-underline-offset: 0.2em;
}

body[data-rendering="static"] .site-intro-copy {
  text-align: left;
}

body[data-page="work-home"][data-rendering="static"] .site-intro-copy {
  max-width: none;
  margin: 0 0 0.5rem;
}

body[data-rendering="static"] [data-static-list] > h3,
.outlanders-guide h3,
.outlanders-group-heading h2 {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 1.12rem;
}

.outlanders-guide h4 {
  margin: 1.25em 0 0.4em;
  font-size: 1rem;
}

.outlanders-guide p,
.outlanders-guide li {
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.outlanders-guide li + li {
  margin-top: 0.4em;
}

body[data-rendering="static"] :is([data-static-list], [data-static-section], .outlanders-guide) {
  margin-block: 1rem;
  scroll-margin-top: 6rem;
}

.outlanders-group-heading h2 {
  font-size: 1.25rem;
}

#guide-contents {
  scroll-margin-top: 1rem;
}

body[data-rendering="static"] .character-detail-item h4 {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  line-height: 1.45;
}

body[data-rendering="static"] .character-controls > .character-mobile-sort-button {
  display: inline-flex;
  align-self: end;
  margin-bottom: 2px;
}

@media (min-width: 851px) {
  #guide-contents.home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-rendering="static"] .character-controls {
    grid-template-columns: minmax(0, 2fr) minmax(8rem, 1fr) auto;
  }

  body[data-rendering="static"] .character-controls:not(:has([data-static-filter])) {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body[data-rendering="static"] .character-detail-item {
    grid-template-columns: 7rem minmax(0, 1fr);
  }
}

body[data-rendering="static"] .character-controls .character-control--search {
  grid-column: auto;
}

body[data-rendering="static"] .character-controls [data-static-reset] {
  justify-self: start;
}

.outlanders-card-summary {
  grid-template-columns: minmax(0, 1fr);
  cursor: inherit;
}

.outlanders-card-summary .character-card-meta {
  column-gap: 16px;
  align-items: baseline;
}

.outlanders-card-summary [data-column-label]:empty {
  display: none;
}

.outlanders-card-summary [data-column-label]::before {
  content: attr(data-column-label) "\00a0";
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.static-desktop .character-table tbody:not(:first-of-type) > tr:first-child > td {
  border-top: 1px solid #f7e3ed;
}

.static-desktop .character-table tbody > tr:first-child > td {
  border-bottom: 0;
}

.static-desktop .character-detail-row > td {
  border-top: 1px solid #f7e3ed;
}

.static-mobile .character-detail-content {
  padding: 0 8px 8px;
}

body[data-rendering="static"] .character-card-meta p,
body[data-rendering="static"] .character-detail-item p {
  margin: 0.2em 0;
  overflow-wrap: anywhere;
}
