.guides-intro {
  margin-block-end: 0;
}

.guides-intro h1 {
  max-width: 19ch;
  font-size: clamp(2.35rem, 5.5vw, 5.1rem);
  line-height: 1.01;
  overflow-wrap: anywhere;
}

.guides-intro .section-label {
  color: var(--red);
  font-size: .95rem;
}

.guides-intro .guide-byline {
  margin-block-start: 1rem;
  color: var(--muted);
  font-size: .9rem;
}

.guides-index {
  padding-block: clamp(1.2rem, 4vw, 2.8rem) clamp(3rem, 6vw, 5rem);
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.guide-card a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .8rem;
  height: 100%;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.guide-card a:hover {
  border-color: var(--red);
  color: var(--red);
}

.guide-card h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.08;
}

.guide-card p {
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.45;
}

.guide-card .guide-platform {
  font-size: .875rem;
  color: var(--red);
}

.guide-body {
  border-top: 0;
  align-items: start;
}

.guide-body .guide-article {
  max-width: 48rem;
}

.guide-article p,
.guide-article li {
  font-size: 1.065rem;
  line-height: 1.62;
}

.guide-article section > p + p,
.guide-article li + li {
  margin-block-start: .7rem;
}

.guide-article ol {
  padding-inline-start: 1.45rem;
}

.guide-article li::marker {
  color: var(--red);
  font-weight: 700;
}

.guide-article figure img {
  width: 100%;
}

.guide-article h2 {
  font-size: clamp(1.65rem, 3.8vw, 2.65rem);
  line-height: 1.1;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1rem;
  font-size: .925rem;
  line-height: 1.3;
}

.guide-table caption {
  margin-block-end: .55rem;
  text-align: start;
  font-weight: 700;
}

.guide-table th,
.guide-table td {
  border-block-end: 1px solid var(--line);
  padding: .55em .45em;
  text-align: start;
  overflow-wrap: anywhere;
}

.guide-table thead th {
  background: #ebe5d8;
}

.guide-note {
  margin-block-start: 1rem;
  border-inline-start: 3px solid var(--red);
  padding: .7rem 1rem;
  background: #ebe5d8;
}

.guide-explore {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.guide-explore .hero-actions {
  margin-top: 1rem;
}

.guide-related {
  margin-top: 1.25rem;
}

@media (max-width: 650px) {
  .guide-body .guide-toc a {
    padding-block: .5rem;
  }
}
