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

body {
  background-color: #e8e8e8;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #1a1a1a;
  line-height: 1.6;
  padding: 40px 20px;
}

/* ---------- The paper itself ---------- */
.resume {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 60px 70px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border-radius: 2px;
}

/* ---------- Header ---------- */
.resume-header {
  text-align: center;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.resume-header h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.resume-header .title {
  font-size: 16px;
  font-style: italic;
  color: #444;
  margin-bottom: 10px;
}

.resume-header .contact a {
  color: #2a5d8a;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid transparent;
}

.resume-header .contact a:hover {
  border-bottom: 1px solid #2a5d8a;
}

/* ---------- Sections ---------- */
.resume-section {
  margin-bottom: 28px;
}

.resume-section h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: #1a1a1a;
  border-bottom: 1px solid #ccc;
  padding-bottom: 6px;
  margin-bottom: 16px;
}

/* ---------- Entries (jobs, education, projects) ---------- */
.entry {
  margin-bottom: 18px;
}

.entry:last-child {
  margin-bottom: 0;
}

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

.entry-title {
  font-weight: 700;
  font-size: 16px;
}

.entry-date {
  font-size: 13px;
  color: #666;
  font-style: italic;
}

.entry-subtitle {
  font-size: 14px;
  color: #444;
  font-style: italic;
  margin-bottom: 6px;
}

.entry-context {
  font-size: 13.5px;
  color: #555;
  margin-bottom: 8px;
}

.entry ul {
  margin-top: 8px;
  padding-left: 20px;
}

.entry li {
  font-size: 14px;
  margin-bottom: 6px;
  color: #2a2a2a;
}

/* ---------- Skills grid ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.skill-group h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2a5d8a;
  margin-bottom: 4px;
}

.skill-group p {
  font-size: 13.5px;
  color: #333;
}

/* ---------- Certifications ---------- */
.cert-list {
  list-style: none;
}

.cert-list li {
  font-size: 14px;
  margin-bottom: 6px;
  padding-left: 14px;
  position: relative;
}

.cert-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2a5d8a;
}

/* ---------- Visitor counter footer ---------- */
.visitor-counter {