/* ===== Base ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body.cv {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #1a1a1a;
  background: #f3f5f7;
}

/* Page canvas to mimic a clean PDF sheet */
.page {
  max-width: 1100px;
  margin: 32px auto;
  background: #fff;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  border: 1px solid #e6e8ec;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

/* ===== Sidebar (left) ===== */
.sidebar {
  background: #f7f9fb;
  border-right: 1px solid #eceff3;
  padding: 28px 26px 24px;
}

.nameblock { margin-bottom: 24px; }
.nameblock .first,
.nameblock .last {
  margin: 0; padding: 0; line-height: 1;
  font-weight: 700;
  letter-spacing: .2px;
}
.nameblock .first { font-size: 40px; }
.nameblock .last  { font-size: 40px; margin-top: 4px; }
.role {
  margin-top: 8px;
  font-weight: 600;
  color: #3d4b5a;
  font-size: 14.5px;
}

.nameblock .location {
  margin-top: 4px;
  font-size: 14px;
  color: #3d4b5a; /* same as role color */
}

.block { margin-top: 22px; }
.block-title {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: #6b7b8d;
  font-weight: 700;
}
.list {
  margin: 0; padding: 0 0 0 0;
  list-style: none;
  color: #233041;
  font-size: 14.5px;
}
.list li { margin: 6px 0; }
.list a { color: #1e5fbf; text-decoration: none; }
.list a:hover { text-decoration: underline; }

.skills li { margin: 8px 0; }

.last-edited {
  margin-top: 26px;
  font-size: 12.5px;
  color: #7a8796;
}

/* ===== Content (right) ===== */
.content { padding: 32px 34px; }

.section { margin-bottom: 26px; }
.section-title {
  margin: 0 0 12px;
  font-size: 18px;
  color: #1e2a36;
  border-bottom: 2px solid #eef1f4;
  padding-bottom: 6px;
}

.about {
    margin: 0 0 20px 0;
    font-size: 15.5px;
    color: #2a3440;
    line-height: 1.7;
}

.job, .edu {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f3f6;
}
.job:last-child, .edu:last-child { border-bottom: none; }

.job-meta .dates,
.edu-meta .dates {
  color: #5b6b7d;
  font-size: 14px;
  font-weight: 600;
  padding-top: 2px;
}

.job-title, .edu-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #18222c;
}
.company, .school {
  margin: 2px 0 6px;
  color: #425368;
  font-size: 14px;
  font-weight: 600;
}

.bullets {
  margin: 0;
  padding-left: 18px;
  color: #2a3440;
  font-size: 14.5px;
}
.bullets li { margin: 6px 0; }

/* ===== Print (exactly like a resume page) ===== */
@media print {
  body.cv { background: #fff; }
  .page {
    box-shadow: none;
    border: none;
    margin: 0;
    width: 100%;
    max-width: none;
  }
  .sidebar { background: #f7f9fb; }
  a { color: #000; text-decoration: underline; }
}

