/* Loaded only by English docs and guides; the home page keeps its styles. */
.docs .page-updated {
  margin: -12px 0 24px;
  font: 400 .875rem/1.5 var(--font-system);
  color: var(--ink-secondary);
}

/* A multiline inline-block aligns a list marker with its last line. Keep
   each article link on the first line's marker, with its own touch target. */
@media (max-width: 720px) {
  .docs [aria-labelledby="further-reading"] a {
    display: block;
    min-height: 44px;
    padding: 9px 0;
    margin: 0;
  }
}

/* The hub and its return links reuse the docs rhythm, with a full touch target. */
.guide-breadcrumb { margin-top: 24px; }
.guide-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Directory summaries are body copy, so keep them above 4.5:1 on canvas. */
.guides-index {
  --ink-secondary: rgba(28, 31, 28, .68);
  --text-secondary: var(--ink-secondary);
}
.guides-index .site-footer .colophon { color: var(--ink-secondary); }
/* Browser zoom can leave less room than a phone viewport. Keep navigation and
   existing URL-bearing descriptions within that width instead of clipping. */
.guides-index .prose { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .guides-index .topbar-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 64px;
    gap: 8px;
    padding-block: 8px;
  }
  .guides-index .topnav { flex-wrap: wrap; gap: 8px; max-width: 100%; }
}
/* A directory needs less lead-in than a long-form guide. */
.guides-index .masthead { grid-template-columns: 1fr; padding-block: 40px 24px; }
.guides-index .section-study { padding-top: 48px; }
