/* The Long Return v1.4.25 — foundations row + editorial action typography.
   Main-site pages only, explicitly excluding the weekly Check-In documents.
   The site's original colors and editorial hierarchy remain unchanged. */
@media screen {
  /* Links that function as navigation buttons should speak in the same typeface
     as the publication, rather than switching to an unrelated typewriter face. */
  body.tlr-ux :is(a.tlr-action, a.lp, a.button, a.button-link,
                   button.tlr-action, button.lp, button.button, button.button-link) {
    font-family: 'Source Serif 4', Georgia, serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    border-radius: .7rem !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  /* The three foundation entries form a complete horizontal group on desktop.
     This override is intentionally scoped; other report grids keep their layout. */
  body.tlr-ux.tlr-page-home section[aria-labelledby="foundation-preview"] .step7-card-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .85rem !important;
    align-items: stretch;
  }
  body.tlr-ux.tlr-page-home section[aria-labelledby="foundation-preview"] article.step7-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.05rem 1.1rem !important;
  }
  body.tlr-ux.tlr-page-home section[aria-labelledby="foundation-preview"] article.step7-card > a:last-child {
    margin-top: auto;
    padding-top: .45rem;
    align-self: flex-start;
  }
  body.tlr-ux.tlr-page-home section[aria-labelledby="foundation-preview"] article.step7-card p {
    margin: .45rem 0 .55rem;
  }
  body.tlr-ux.tlr-page-home .step7-current-panel .step7-actions {
    gap: .6rem;
    align-items: center;
  }
}
/* Avoid an orphaned third foundation card on tablet/mobile. */
@media screen and (max-width: 960px) {
  body.tlr-ux.tlr-page-home section[aria-labelledby="foundation-preview"] .step7-card-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
@media screen and (max-width: 480px) {
  body.tlr-ux.tlr-page-home section[aria-labelledby="foundation-preview"] article.step7-card {
    padding: .9rem 1rem !important;
  }
}
@media print {
  body.tlr-ux.tlr-page-home section[aria-labelledby="foundation-preview"] .step7-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
