/* Preface reading paths: full-width cards with a quiet accent. */
.pathways {
  display: grid;
  gap: 1.25rem;
  margin-block: 1.5rem 2rem;
}

.path-card {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #dfe3e6;
  border-radius: 10px;
  background: #fff;
  color: #343a40;
}

.path-card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  padding-top: 1rem;
  position: relative;
  font-size: 1.35rem;
  line-height: 1.3;
  color: inherit;
}

.path-card h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2rem;
  height: 3px;
  background: #c9a961;
  border-radius: 2px;
}

.path-card h3 + p {
  margin-bottom: 1.25rem;
  color: #52606d;
}

.path-card h3 + p strong {
  font-weight: 400;
}

.path-card ul {
  margin-block: 0.5rem 1.5rem;
  padding-left: 1.25rem;
}

.path-card li {
  margin-block: 0.65rem;
  padding-left: 0.25rem;
  line-height: 1.6;
}

.path-card a {
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}

.path-card a:focus-visible {
  outline: 2px solid #165b91;
  outline-offset: 4px;
  border-radius: 2px;
}

.path-focus {
  border-top: 1px solid #e7eaed;
  padding-top: 1rem;
  color: #52606d;
  font-size: 0.95rem;
}

.path-focus p:last-child {
  margin-bottom: 0;
}

.quarto-dark .path-card,
[data-bs-theme="dark"] .path-card {
  background: #252b31;
  border-color: #49535d;
  color: #edf0f3;
}

.quarto-dark .path-card h3 + p,
.quarto-dark .path-focus,
[data-bs-theme="dark"] .path-card h3 + p,
[data-bs-theme="dark"] .path-focus {
  color: #c5ced8;
  border-color: #49535d;
}

.quarto-dark .path-card a:focus-visible,
[data-bs-theme="dark"] .path-card a:focus-visible {
  outline-color: #9acbff;
}
