@page {
  margin: 1.6cm;
}

* {
  color: #000 !important;
  background: transparent !important;
  border-color: #777 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html,
body {
  min-width: 0;
  background: #fff !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11pt;
  line-height: 1.45;
}

.site-header,
.skip-link,
.hero-actions,
.search-row,
.filter-row,
.library-controls,
#search-status,
#search-empty,
.nav-toggle {
  display: none !important;
}

main,
.hero,
.content-section,
.clinical-page,
.site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.hero {
  min-height: 0;
  padding-bottom: 1.5rem;
}

.content-section,
.clinical-page .content-section {
  padding-block: 0.7rem;
  break-inside: avoid;
}

h1,
h2,
h3 {
  color: #000 !important;
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  font-size: 24pt;
}

h2 {
  font-size: 16pt;
}

h3 {
  font-size: 13pt;
}

a,
a:hover {
  color: #000 !important;
  text-decoration: underline;
}

main a[href]::after {
  content: " (" attr(href) ")";
  overflow-wrap: anywhere;
  font-size: 0.9em;
}

.card-grid {
  display: block;
}

.pathway-card,
.resource-card,
.index-card {
  display: block;
  margin-bottom: 0.8rem;
  padding: 0.75rem;
  border: 1px solid #777 !important;
  break-inside: avoid;
}

.evidence-badge {
  display: inline-block;
  padding: 0;
  border: 0 !important;
  font-weight: 700;
}

.evidence-badge::before {
  display: none;
}

.resource-card__meta,
.review-meta,
.review-line {
  border-color: #777 !important;
}

.source-list {
  padding-left: 1.25rem;
}

.site-footer {
  margin-top: 1.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid #777 !important;
  font-size: 9pt;
}

.site-footer a::after {
  content: " (" attr(href) ")";
}
