.quest-resources {
  margin: 28px 0;
  min-width: 0;
}
.quest-resources > h3 {
  color: var(--orange);
  font: 700 var(--text-body)/var(--line-ui) var(--mono);
  margin-bottom: 10px;
}
.resources-intro {
  font-size: var(--text-body);
  color: var(--muted);
  margin-bottom: 20px;
}
.resource-group {
  margin: 20px 0;
  min-width: 0;
}
.resource-group > h4 {
  color: var(--ink);
  font-size: var(--text-body);
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}
.resource-context {
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  color: var(--faint);
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.resource-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 14px;
  margin-top: 12px;
}
.resource-card {
  min-width: 0;
  border: 1px solid #5a455f;
  border-top: 3px solid var(--orange-dark);
  padding: 18px;
  background: #241d2c;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-wrap: anywhere;
}
.resource-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--faint);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
}
.resource-card > h4 {
  color: var(--ink);
  font-size: var(--text-body);
  line-height: var(--line-ui);
  margin: 0;
}
.resource-card > p {
  font-size: var(--text-body);
  color: var(--muted);
}
.resource-card > .resource-context,
.resource-card > .resource-status,
.resource-card > .resource-caveat,
.resource-card > .resource-alternative {
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  margin: 0;
}
.resource-card > .resource-alternative {
  color: var(--green);
}
.resource-card > .resource-status {
  color: var(--orange);
}
.resource-outbound {
  align-self: start;
  margin-top: auto;
  min-height: 44px;
  font-size: var(--text-body);
}
.affiliate-notice {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 12px 27px;
  background: #211d2b;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  overflow-wrap: anywhere;
}
.affiliate-notice > p {
  margin: 0;
  font: inherit;
}
.quest-resources > .affiliate-notice {
  border: 1px solid var(--border);
}
@media (max-width: 600px) {
  .affiliate-notice {
    padding: 10px 20px;
  }
}
