/* Resume stylesheet — used by both GitHub Pages and weasyprint PDF render */

@page {
  size: letter;
  margin: 0.5in 0.6in;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 10pt;
  line-height: 1.4;
  color: #222;
  max-width: 8.5in;
  margin: 0 auto;
  padding: 0.5in 0.6in;
}

/* ---------- Header / Title ---------- */

header { text-align: center; margin-bottom: 0.15in; }

header .title {
  font-size: 22pt;
  font-weight: 700;
  margin: 0;
}

header .subtitle {
  font-size: 12pt;
  font-weight: 400;
  color: #555;
  margin: 2px 0 0 0;
}

/* ---------- Section headings (h1) ---------- */

h1 {
  font-size: 11pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04in;
  border-bottom: 1px solid #333;
  padding-bottom: 2px;
  margin-top: 0.15in;
  margin-bottom: 0.06in;
}

/* ---------- Job / Project headings (h2) ---------- */

h2 {
  font-size: 10.5pt;
  font-weight: 700;
  margin-top: 0.08in;
  margin-bottom: 1px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

/* Date codes rendered from org =verbatim= -> <code> */
h2 code {
  font-family: inherit;
  font-weight: 400;
  font-size: 10pt;
  background: none;
  color: #444;
  white-space: nowrap;
  margin-left: auto;
  padding-left: 1em;
}

/* ---------- Job title (italic para right after h2) ---------- */

h2 + p {
  font-style: italic;
  font-size: 10pt;
  margin-bottom: 0.03in;
  color: #333;
}

/* ---------- Contact section ---------- */

#contact + p {
  text-align: center;
  font-size: 9.5pt;
  color: #555;
  margin-bottom: 0.1in;
}

#contact + p a { color: #2255aa; text-decoration: none; }
#contact + p a:hover { text-decoration: underline; }

/* ---------- Lists (bullets) ---------- */

ul {
  list-style: disc;
  margin-left: 0.25in;
  margin-bottom: 0.04in;
}

li {
  font-size: 10pt;
  margin-bottom: 2px;
}

/* Skills list — no bullets */
#skills + ul {
  list-style: none;
  margin-left: 0;
}

/* ---------- Links ---------- */

a { color: #2255aa; text-decoration: none; }

/* ---------- Print / PDF tweaks ---------- */

@media print {
  body { padding: 0; }
  a { color: #222; }
  h1 { break-after: avoid; }
  h2 { break-after: avoid; }
  h2 + p { break-after: avoid; }
}
