/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

@page { size: letter; margin: 0; }

body {
  font-family: Calibri, 'Segoe UI', Arial, Helvetica, sans-serif;
  font-size: 10pt;
  line-height: 1.35;
  color: #1a1a1a;
  background: #e8e8e8;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.page {
  width: 8.5in;
  min-height: 11in;
  max-height: 11in;
  margin: 0.25in auto;
  padding: 0.45in 0.55in 0.35in 0.55in;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

@media print {
  body { background: none; }
  .page { margin: 0; box-shadow: none; padding: 0.45in 0.55in 0.35in 0.55in; }
}

a { color: inherit; text-decoration: none; }

/* ── Header ── */
.header {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 8px 0 16px 0;
  border-bottom: 2px solid #2a2a2a;
  margin-bottom: 12px;
}

.photo {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #ccc;
  flex-shrink: 0;
  overflow: hidden;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-text h1 {
  font-size: 26pt;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.1;
  margin-bottom: 2px;
}

.header-text .tagline {
  font-size: 13pt;
  font-weight: 400;
  color: #333;
  margin-bottom: 6px;
}

.header-text .summary {
  font-size: 9pt;
  color: #555;
  line-height: 1.5;
  max-width: 520px;
}

/* ── Two-Column Layout ── */
.content {
  display: flex;
  gap: 42px;
}

.main { flex: 1; min-width: 0; }

.sidebar {
  width: 170px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

/* ── Section Headings ── */
.section-title {
  font-size: 13.5pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 6px;
  margin-bottom: 5px;
}

.sidebar .section-title {
  font-size: 13.5pt;
  letter-spacing: 2px;
  margin-top: 6px;
  margin-bottom: 5px;
}

.sidebar section { margin-bottom: 0; }
.sidebar { justify-content: space-between; }

/* ── Experience Entries ── */
.job { margin-bottom: 14px; }

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 6px;
}

.company {
  font-weight: 700;
  font-size: 10.5pt;
}

.dates {
  font-size: 10pt;
  color: #1a1a1a;
  white-space: nowrap;
  font-weight: 700;
}

.company-desc {
  font-size: 8.5pt;
  color: #444;
  font-style: italic;
  line-height: 1.35;
  margin-bottom: 1px;
}

.role-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 3px;
}

.role {
  font-weight: 600;
  font-size: 9.5pt;
}

.role-location {
  font-size: 9pt;
  color: #444;
}

.role-dates {
  font-size: 8.5pt;
  color: #444;
  font-weight: 600;
  white-space: nowrap;
}

.role-desc {
  font-size: 8.5pt;
  color: #444;
  line-height: 1.35;
  margin-bottom: 1px;
}

ul.bullets {
  padding-left: 14px;
  margin: 1px 0 1px 0;
}

ul.bullets li {
  font-size: 8.5pt;
  line-height: 1.4;
  margin-bottom: 0.5px;
}

.skills-line {
  font-size: 7.5pt;
  color: #666;
  margin-top: 1px;
}

/* ── Education ── */
.edu-entry { margin-bottom: 4px; }

.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.edu-degree {
  font-weight: 700;
  font-size: 9.5pt;
}

.edu-gpa {
  font-weight: 700;
  font-size: 9pt;
}

/* ── Sidebar Items ── */
.sidebar-item {
  font-size: 8.5pt;
  line-height: 1.7;
  color: #1a1a1a;
}

.sidebar a:hover { text-decoration: underline; }

.sidebar .sub-item {
  font-size: 8pt;
  color: #444;
  padding-left: 10px;
  line-height: 1.5;
}

.sidebar .interest-heading {
  font-size: 8.5pt;
  font-weight: 400;
  margin-top: 3px;
  line-height: 1.5;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul.bulleted {
  list-style: disc;
  padding-left: 14px;
}

.sidebar ul.bulleted li {
  font-size: 8pt;
  color: #444;
  line-height: 1.5;
}
