.territory {
  background: var(--ink);
  color: #fff;
}
.territory-lede {
  font-size: 1.35rem;
  line-height: 1.55;
  max-width: 850px;
  color: #e4e8ea;
}
.territory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 42px 0 18px;
}
.territory-card {
  padding: 34px;
  background: var(--cream);
  color: var(--ink);
  border-top: 5px solid var(--gold);
}
.territory-card.well {
  border-color: var(--red);
}
.territory-label {
  display: block;
  font: 700 0.72rem Arial;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.territory-card ol {
  padding-left: 1.25em;
}
.territory-card li {
  margin-bottom: 0.65em;
}
.well-bands {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #1c303d;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.well-bands > div {
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}
.well-bands > div:last-child {
  border-right: 0;
}
.well-bands span,
.well-bands small {
  display: block;
}
.well-bands span {
  font: 700 0.7rem Arial;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  min-height: 2.2em;
}
.well-bands strong {
  display: block;
  font: 700 1rem/1.35 Arial;
  margin: 0.65em 0;
  color: #fff;
}
.well-bands small {
  color: #cbd4d9;
  font-size: 0.8rem;
  line-height: 1.45;
}
.territory-note {
  max-width: 860px;
  margin-top: 34px;
  border-left: 3px solid var(--gold);
  padding-left: 24px;
}
.territory-note strong {
  font: 700 1rem Arial;
  color: var(--gold);
}
.territory-note p {
  color: #e4e8ea;
  margin: 0.35em 0 0;
}
@media (max-width: 900px) {
  .territory-grid {
    grid-template-columns: 1fr;
  }
  .well-bands {
    grid-template-columns: 1fr 1fr;
  }
  .well-bands > div:nth-child(2) {
    border-right: 0;
  }
  .well-bands > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
}
@media (max-width: 560px) {
  .well-bands {
    grid-template-columns: 1fr;
  }
  .well-bands > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
  .well-bands > div:last-child {
    border-bottom: 0;
  }
  .well-bands span {
    min-height: 0;
  }
}

/* Global contrast corrections for light cards inside dark sections. */
.dark .card p {
  color: var(--ink);
}
.dark .card .number {
  color: #9a6a13;
}

