.resume-page {
  background: #f0f3f6;
  min-height: calc(100vh - var(--navbar-height, 80px));
}

.resume-wrap {
  max-width: 1140px;
}

.resume-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: clamp(1.35rem, 3.5vw, 2.75rem);
  border: 1px solid rgba(15, 40, 60, 0.08);
}

.resume-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-bg-color, #14679f);
  margin: 0;
}

.resume-name {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #15202b;
  margin: 0;
}

.resume-headline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-bg-color, #14679f);
  margin: 0;
}

.resume-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-bg-color, #14679f);
  border-left: 3px solid var(--primary-bg-color, #14679f);
  padding-left: 0.65rem;
  margin: 0 0 1rem;
}

.resume-highlights {
  padding-left: 1.15rem;
  margin-bottom: 0;
}

.resume-highlights li {
  margin-bottom: 0.65rem;
  color: #2c3640;
}

.resume-highlights li:last-child {
  margin-bottom: 0;
}

.resume-job {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(15, 40, 60, 0.08);
}

.resume-job:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.resume-job-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.65rem;
}

.resume-role {
  font-size: 1.1rem;
  font-weight: 700;
  color: #15202b;
  margin: 0;
}

.resume-org {
  font-weight: 600;
  color: var(--primary-bg-color, #14679f);
}

.resume-dates {
  font-size: 0.9rem;
  color: #6c757d;
  white-space: nowrap;
}

.resume-bullets {
  padding-left: 1.15rem;
  margin: 0.5rem 0 0;
}

.resume-bullets li {
  margin-bottom: 0.5rem;
  color: #2c3640;
}

.resume-subhead {
  font-size: 0.85rem;
  font-weight: 700;
  color: #15202b;
  margin: 0.85rem 0 0.4rem;
}

.resume-subhead:first-of-type {
  margin-top: 0;
}

.resume-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.resume-tag {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--primary-bg-color, #14679f);
  background: rgba(20, 103, 159, 0.1);
  border-radius: 999px;
}

.resume-edu {
  margin-bottom: 1rem;
}

.resume-edu-degree {
  font-weight: 700;
  color: #15202b;
}

.resume-edu-school {
  font-size: 0.95rem;
}

.resume-btn {
  white-space: nowrap;
}

.resume-btn.btn-primary {
  background-color: var(--primary-bg-color, #14679f);
  border-color: var(--primary-bg-color, #14679f);
}

.resume-btn.btn-outline-primary {
  color: var(--primary-bg-color, #14679f);
  border-color: var(--primary-bg-color, #14679f);
}

.resume-btn.btn-outline-primary:hover {
  background-color: var(--primary-bg-color, #14679f);
  color: #fff;
}

/* Optional: tighter page when printing / saving as PDF from browser */
@media print {
  .navbar,
  .resume-btn,
  .resume-footer {
    display: none !important;
  }

  body {
    padding-top: 0 !important;
    margin: 0 !important;
    background: #fff !important;
  }

  .resume-page {
    background: #fff;
    min-height: 0;
  }

  .resume-card {
    box-shadow: none !important;
    border: 0;
    padding: 0;
  }
  
  .resume-job-header {
    break-after: avoid;
    page-break-after: avoid;
  }
 
  .site-footer,
  .navbar {
    display: none !important;
  }

}