/*
 * Print/PDF stylesheet for /{locale}/cv.
 * Carries over the custom classes the old Blade CV layout defined inline.
 */

html,
body {
  background-color: #2c2d2f !important;
}

.cv-document {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 28px 40px;
  color: #b9b9b9;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  line-height: 1.7;
}

.cv-document p {
  margin-bottom: 10px;
}

.cv-header {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
  border-bottom: 1px solid #3a3b3d;
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.cv-header h1 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 34px;
  margin: 0 0 6px;
}

.cv-header h2 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #00a3e1;
  margin: 0;
}

.cv-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 300px;
}

.cv-contact li {
  margin-bottom: 3px;
}

.cv-section {
  margin-bottom: 26px;
}

.cv-section > .h3_subheading {
  margin-bottom: 14px;
}

.cv-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 26px;
}

.cv-entry {
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
  page-break-inside: avoid;
}

.cv-entry-years {
  min-width: 70px;
  text-align: center;
  border-right: 2px solid #00a3e1;
  padding-right: 10px;
}

.cv-entry-years .to,
.cv-entry-years .from {
  display: block;
  font-weight: 700;
  color: #fff;
}

.cv-entry-years .from {
  color: #7b7b7b;
  font-size: 12px;
}

.cv-skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 30px;
}

.cv-skills {
  page-break-inside: avoid;
}

.cv-skills .h3_subheading {
  margin-bottom: 12px;
}

/* ---- classes carried over from the old inline CV styles ---- */
.h4_exp {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 26px;
  margin: 0;
  text-transform: uppercase;
  color: #fff;
}

.h5_exp {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 12px;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: #00a3e1;
}

.h3_subheading {
  display: inline-block;
  font-size: 22px;
  font-weight: 600;
  line-height: 1em;
  letter-spacing: 0.5px;
  position: relative;
  text-transform: uppercase;
  padding: 5px 10px 5px 0;
  border-bottom: 2px solid #00a3e1;
  color: #fff;
}

.cv-document .title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #fff;
  margin-right: 6px;
}

.cv-document .progress {
  background-color: #3a3b3d;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}

.cv-document .progress .progress-bar {
  background-color: #00a3e1;
  position: relative;
}

.cv-document .progress-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 4px;
}

.cv-document .progress-value {
  font-size: 10px;
  color: #fff;
  text-align: right;
  padding-right: 4px;
  line-height: 10px;
}

@media print {
  .cv-document {
    padding: 0;
  }
}
