.xres-page #resource-directory .xres-band {
  padding-inline: clamp(14px, 3vw, 36px);
}

.xres-page .xot-directory {
  background: radial-gradient(ellipse at 85% 0, #183c51 0, transparent 50%), #0a1726;
  color: #e9f3fa;
}

.xres-page .xot-directory,
.xres-page .xot-group {
  scroll-margin-top: 150px;
}

.xres-page .xot-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.xres-page .xot-intro > p {
  margin: 0;
  color: #c8d9e6;
  font-size: 1.08rem;
  line-height: 1.55;
}

.xres-page .xot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.xres-page .xot-nav a,
.xres-page .xot-jump a {
  display: inline-flex;
  gap: .55em;
  align-items: center;
  min-height: 44px;
  padding: 7px 14px;
  border: 1px solid #4c8499;
  border-radius: 100px;
  background: #102a3d;
  color: #b8f0ff;
  font-weight: 700;
  text-decoration: none;
}

.xres-page .xot-nav a:hover,
.xres-page .xot-jump a:hover {
  border-color: #9ceaff;
  background: #1a4257;
}

.xres-page .xot-jump {
  margin: 0 0 18px;
}

.xres-page .xot-group + .xot-group {
  margin-top: 28px;
}

.xres-page .xot-group h3 {
  margin: 0 0 10px;
  color: #f3f8fc;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.xres-page .xot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.xres-page .xot-grid li {
  min-width: 0;
  margin: 0;
}

.xres-page .xot-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 15px 16px;
  border: 1px solid #335569;
  border-radius: 12px;
  background: #122438;
  color: #ecf6fd;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.xres-page .xot-card:hover {
  border-color: #86d8f6;
  background: #163249;
}

.xres-page .xot-card:focus-visible,
.xres-page .xot-nav a:focus-visible,
.xres-page .xot-jump a:focus-visible {
  outline: 2px solid #9ceaff;
  outline-offset: 3px;
}

.xres-page .xot-name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.25;
}

.xres-page .xot-arrow,
.xres-page .xot-domain {
  color: #9ceaff;
}

.xres-page .xot-domain {
  margin-top: 4px;
  font-size: .82rem;
}

.xres-page .xot-description {
  margin-top: 8px;
  color: #c8d9e6;
  font-size: .92rem;
  line-height: 1.42;
}

@media (max-width: 900px) {
  .xres-page .xot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .xres-page .xot-intro,
  .xres-page .xot-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .xres-page .xot-intro {
    gap: 12px;
  }
}
