/*
 * Quiet guide entry points for the public research pages.
 * These hooks reuse the Foundations type and colour tokens; they do not
 * compete with case search or the analysis hierarchy.
 */

.home-guide-entry {
  width: min(calc(100% - max(10vw, 48px)), 780px);
  margin: 20px 0 0 max(5vw, 24px);
  padding: 11px 0 0;
  border-top: 1px solid var(--line, #d8d0c1);
  color: var(--ink-soft, #536675);
  font: 12px/1.6 var(--sans, sans-serif);
  overflow-wrap: anywhere;
}

.home-guide-entry :is(h2, h3, h4) {
  margin: 0 0 4px;
  color: var(--ink, #14283b);
  font: 600 10px/1.5 var(--mono, monospace);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.home-guide-entry p {
  max-width: 68ch;
  margin: 0 0 5px;
}

.home-guide-entry a {
  color: var(--brick-deep, #762d22);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.home-guide-entry a:hover {
  color: var(--brick, #a33f2b);
}

.related-guide {
  min-width: 0;
  margin: 24px 0 0;
  padding: 13px 0 0;
  border-top: 1px solid var(--line, #d8d0c1);
  color: var(--ink-soft, #536675);
  font: 12px/1.6 var(--sans, sans-serif);
  overflow-wrap: anywhere;
}

.related-guide :is(h2, h3, h4) {
  margin: 0 0 6px;
  color: var(--ink, #14283b);
  font: 600 10px/1.5 var(--mono, monospace);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.related-guide p {
  max-width: 62ch;
  margin: 0 0 7px;
}

.related-guide a {
  color: var(--brick-deep, #762d22);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.related-guide a:hover {
  color: var(--brick, #a33f2b);
}

:is(.home-guide-entry, .related-guide) :is(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--gold, #b9822b);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .home-guide-entry {
    width: calc(100% - 48px);
    margin: 15px 24px 0;
    padding-top: 9px;
    font-size: 12px;
  }

  .related-guide {
    margin-top: 20px;
    padding-top: 11px;
    font-size: 12px;
  }
}
