/* Standalone CV styles */
:root {
  --ink: #1F224A;
}

html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Liberation Serif", Georgia, "Times New Roman", serif;
  color: #222;
  background: #fff;
}

.cv {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.cv a { color: var(--ink); text-decoration: underline; }

.cv h1 {
  font-size: 2rem;
  margin: 0.25rem 0 0.5rem;
  text-align: center;
}

.cv hr { border: none; border-top: 1px solid #ccc; margin: 0.75rem 0 0.5rem; }

.cv .contact {
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink);
}

.cv h2 { margin-top: 1.25rem; margin-bottom: 0.35rem; }
.cv .section-hr { border: none; border-top: 1px solid #ccc; margin: 0.25rem 0 0.35rem; }

.cv p { margin: 0.4rem 0; }
.cv ul { margin: 0.4rem 0 0.6rem; padding-left: 1.25rem; }

.cv .row { display: flex; gap: 8px; align-items: baseline; }
.cv .row .title { font-weight: 600; }
.cv .row .date { margin-left: auto; font-weight: 600; }
.cv .sub { font-style: italic; display: flex; gap: 8px; }
.cv .sub .place { margin-left: auto; }

.cv .projects .item { margin-bottom: 0.9rem; }
.cv .projects .item .header { display:flex; gap:12px; align-items:baseline; }
.cv .projects .item .header a { font-weight: 700; }
.cv .projects .item .date { margin-left:auto; font-weight:600; }

/* Print-friendly tweaks */
@media print {
  .cv { max-width: none; padding: 0; }
  .cv a { color: #000; text-decoration: none; }
  .cv hr, .cv .section-hr { border-top-color: #000; }
}
