/* ============================================================
   UGA-COMPLIANT PRINT STYLESHEET
   Activated only when <body> has class "print-uga"
   (set by the "UGA compliant" button in the export modal).
   Loaded AFTER print.css so these rules win.

   Target: UGA P&T formatting minimums —
     • 11pt minimum body text (headings may be larger)
     • 1in margins on all four sides
     • traditional serif, black on white
     • CV laid out per Appendix H (flush-left headings, no color,
       no compact year-grid), following the section order already
       in CV.md: Academic History / Instruction / Scholarly
       Activities & Creative Work / Service.
   ============================================================ */

/* --- 1in MARGINS ALL AROUND ---
   The default reading layout uses a 0.625in bottom margin (print.css).
   @page margins cannot be scoped to a body class, so UGA mode uses a
   NAMED page assigned to the printed content wrapper. If a given browser
   ignores named pages it falls back to the default @page (still legible;
   only the bottom margin differs) — verify in print preview. */
@page uga {
  size: 8.5in 11in;
  margin: 1in;
  @bottom-right {
    content: counter(page);
    font-family: 'Times New Roman', Times, serif;
    font-size: 9pt;
    color: #444;
  }
}
body.print-uga .content { page: uga; }

/* --- BASE TYPOGRAPHY: 11pt minimum, traditional serif, black --- */
body.print-uga {
  font-family: 'Times New Roman', Times, Georgia, serif !important;
  font-size: 11pt !important;
  line-height: 1.4 !important;
  color: #000 !important;
}

body.print-uga p,
body.print-uga li,
body.print-uga td,
body.print-uga th,
body.print-uga .statement-text,
body.print-uga .statement-text p,
body.print-uga .section-intro p,
body.print-uga .entry-intro,
body.print-uga .entry-body,
body.print-uga .entry-body p,
body.print-uga .entry-meta,
body.print-uga .entry-meta span,
body.print-uga .entry-body figcaption,
body.print-uga .quick-facts th,
body.print-uga .quick-facts td {
  font-family: 'Times New Roman', Times, Georgia, serif !important;
  font-size: 11pt !important;
  line-height: 1.4 !important;
  color: #000 !important;
}

/* Statement lede paragraph: keep italic, meet the 11pt minimum */
body.print-uga .statement-intro {
  font-size: 11pt !important;
  font-style: italic !important;
  opacity: 1 !important;
  color: #000 !important;
}

/* Statements: fill the full measure (drop the 68ch reading width so the
   right margin isn't oversized) and justify. Justification is intentionally
   limited to STATEMENTS — entries, CV, and captions stay left-aligned. */
body.print-uga .statement-text { max-width: none !important; }
body.print-uga .statement-text,
body.print-uga .statement-text p {
  text-align: justify !important;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* Figure captions: 11pt minimum (were 8pt), italic */
body.print-uga .entry-body figcaption {
  font-style: italic !important;
}

/* Headings: 11pt minimum; larger + bold is allowed for structure */
body.print-uga h1 { font-size: 16pt !important; color: #000 !important; }
body.print-uga .dossier-intro .subtitle { font-size: 11pt !important; color: #000 !important; }
body.print-uga .dossier-section > h2 { font-size: 13pt !important; font-weight: 700 !important; color: #000 !important; }
body.print-uga .subsection h3 { font-size: 12pt !important; font-weight: 700 !important; color: #000 !important; }
body.print-uga .entry-title { font-size: 12pt !important; font-weight: 700 !important; color: #000 !important; }
body.print-uga .entry-body h5 { font-size: 11pt !important; font-weight: 700 !important; color: #000 !important; }
body.print-uga .entry-body h6 { font-size: 11pt !important; font-weight: 700 !important; color: #000 !important; }

/* ============================================================
   CV — TRADITIONAL APPENDIX H FORMAT
   Flush-left black serif headings, 11pt throughout, no color,
   no 7.5pt compact grid. Year column sized for 11pt date ranges.
   ============================================================ */
body.print-uga .cv-section { margin-bottom: 1.4em !important; }

body.print-uga .cv-section-title {
  font-family: 'Times New Roman', Times, serif !important;
  font-size: 12pt !important;
  font-weight: 700 !important;
  color: #000 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  padding-left: 0 !important;
  padding-top: 0.4em !important;
  margin-bottom: 0.5em !important;
  border-top: none !important;
  border-bottom: 1px solid #000 !important;
  page-break-after: avoid !important;
  break-after: avoid !important;
}

body.print-uga .cv-subsection-title {
  font-family: 'Times New Roman', Times, serif !important;
  font-size: 11pt !important;
  font-weight: 700 !important;
  color: #000 !important;
  padding-left: 0 !important;
  margin-bottom: 0.35em !important;
  page-break-after: avoid !important;
  break-after: avoid !important;
}

body.print-uga .cv-subheading {
  font-family: 'Times New Roman', Times, serif !important;
  font-size: 11pt !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: #000 !important;
  padding-left: 0 !important;
  margin-top: 0.4em !important;
}

body.print-uga .cv-entry {
  display: grid !important;
  grid-template-columns: 1.15in 1fr !important;
  gap: 0.1em 0.5em !important;
  margin-bottom: 0.28em !important;
  font-family: 'Times New Roman', Times, serif !important;
  font-size: 11pt !important;
  line-height: 1.35 !important;
  color: #000 !important;
  page-break-inside: avoid !important;
  break-inside: avoid !important;
}

body.print-uga .cv-year,
body.print-uga .cv-content,
body.print-uga .cv-content strong,
body.print-uga .cv-content em {
  font-family: 'Times New Roman', Times, serif !important;
  font-size: 11pt !important;
  color: #000 !important;
  line-height: 1.35 !important;
}
body.print-uga .cv-content strong { font-weight: 700 !important; }
body.print-uga .cv-content em { font-style: italic !important; }

body.print-uga .cv-desc {
  grid-column: 2 !important;
  font-family: 'Times New Roman', Times, serif !important;
  font-size: 11pt !important;
  color: #000 !important;
  line-height: 1.35 !important;
  margin-top: 0 !important;
  margin-bottom: 0.15em !important;
}

body.print-uga .cv-list { padding-left: 1.15in !important; }
body.print-uga .cv-list-item,
body.print-uga .cv-list-sub {
  font-family: 'Times New Roman', Times, serif !important;
  font-size: 11pt !important;
  color: #000 !important;
  line-height: 1.35 !important;
}

/* Quick-facts tables: meet 11pt minimum */
body.print-uga .quick-facts th,
body.print-uga .quick-facts td { font-size: 11pt !important; }

/* Statement permalinks: visible (underlined) but black, to stay UGA-compliant */
body.print-uga .statement-text a {
  color: #000 !important;
  text-decoration: underline !important;
}
