
/* mussels-wa-print.css
   Print-friendly layout for US Letter portrait, 1" margins, 6.5" content width.
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #000000;
  font-size: 12pt;
  line-height: 1.5;
}

/* Page layout for print */
@page {
  size: Letter portrait;
  margin: 1in;
}

.page {
  max-width: 6.5in;
  margin: 0 auto;
  padding: 0;
}

/* Header and navigation */
.site-header {
  border-bottom: 1px solid #cccccc;
  margin-bottom: 0.4in;
}

.site-header h1 {
  margin: 0.2in 0 0.05in 0;
  font-size: 1.8em;
}

.subtitle {
  margin: 0 0 0.1in 0;
  font-size: 0.95em;
  color: #555555;
}

.quick-links {
  margin: 0 0 0.15in 0;
  font-size: 0.9em;
}

.quick-links a {
  text-decoration: underline;
}

/* Headings */
h2 {
  font-size: 1.3em;
  margin-top: 0.35in;
  margin-bottom: 0.05in;
  padding-bottom: 0.05in;
  border-bottom: 1px solid #eeeeee;
}

h3 {
  font-size: 1.1em;
  margin-top: 0.2in;
  margin-bottom: 0.05in;
}

/* Lists and text */
p {
  margin: 0.05in 0 0.08in 0;
}

ul, ol {
  margin: 0.05in 0 0.08in 1.0em;
  padding-left: 0;
}

li + li {
  margin-top: 0.05in;
}

.lead-in {
  font-weight: 600;
}

.disclaimer,
.footnote,
.footnote-note {
  font-size: 0.9em;
  color: #555555;
}

/* Footnote markers */
.footnote-ref sup {
  font-size: 0.75em;
  vertical-align: super;
}

/* Footnotes section */
.footnotes {
  margin-top: 0.3in;
  padding-top: 0.15in;
  border-top: 1px solid #dddddd;
}

.footnotes ol {
  margin-left: 1.1em;
  font-size: 0.9em;
}

.footnotes li {
  margin-bottom: 0.06in;
}

/* Footer */
.site-footer {
  border-top: 1px solid #cccccc;
  margin-top: 0.4in;
  padding-top: 0.1in;
  font-size: 0.85em;
  color: #444444;
}

.site-footer p {
  margin: 0.03in 0;
}

/* Tables (not currently used, but kept print-friendly) */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 0.1in 0 0.15in 0;
}

th, td {
  border: 1px solid #dddddd;
  padding: 0.04in 0.06in;
}

th {
  font-weight: 600;
}

/* Simple, light shading utility classes */
.shaded {
  background: #f8f8f8;
}

/* Screen vs. print behavior */
.no-print {
  display: block;
}

/* Print adjustments */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  /* Hide interactive controls and any elements explicitly marked no-print */
  .no-print,
  button,
  input,
  select,
  textarea {
    display: none !important;
  }

  /* Ensure URLs are visible as text in links (except internal page anchors) */
  a[href^="#"]::after {
    content: "";
  }

  a[href]:not([href^="#"])::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}
