/* ===========================================
   TEMPLATE 1 — Modern Blue
   Scoped to .resume-page.template-1
   =========================================== */

   .resume-page.template-1 .page-content {
    font-family: 'Inter','Arimo','Segoe UI',Arial,sans-serif;
    font-size: 10pt; line-height: 1.4; color: #1f2937;
  }
  
  /* Header */
  .resume-page.template-1 .resume-header {
    margin-bottom: 10pt; padding-bottom: 6pt;
    border-bottom: 2pt solid #0077b6;
  }
  .resume-page.template-1 .resume-header h1 {
    font-size: 28pt; font-weight: 700; color: #0077b6;
    line-height: 1.1; letter-spacing: -0.5pt; margin-bottom: 5pt;
  }
  .resume-page.template-1 .contact-info {   /* contact line: inline text with real spaces between items, so every PDF reader keeps them apart */
    font-size: 10pt; color: #374151; line-height: 1.5;
  }
  .resume-page.template-1 .contact-info span { white-space: nowrap; }
  
  /* Sections — margin-top only to avoid CSS margin collapse */
  .resume-page.template-1 .section {
    margin-top: 10pt;
    margin-bottom: 0;
  }
  .resume-page.template-1 .section:last-child { margin-bottom: 0; }
  
  .resume-page.template-1 .section-title {
    font-size: 13pt; font-weight: 700; line-height: 1.2;
    margin-bottom: 6pt; padding-bottom: 3pt;
    border-bottom: 1pt solid #00b4d8; color: #0077b6;
    text-transform: uppercase; letter-spacing: 0.5pt;
  }
  
  /* Experience / Education / Certs */
  .resume-page.template-1 .experience-item,
  .resume-page.template-1 .education-item,
  .resume-page.template-1 .certification-item { margin-bottom: 9pt; }
  .resume-page.template-1 .experience-item:last-child,
  .resume-page.template-1 .education-item:last-child,
  .resume-page.template-1 .certification-item:last-child { margin-bottom: 0; }
  
  .resume-page.template-1 .company-name,
  .resume-page.template-1 .school-name,
  .resume-page.template-1 .cert-name { font-size: 11pt; font-weight: 700; color: #1f2937; line-height: 1.2; }
  
  .resume-page.template-1 .job-location,
  .resume-page.template-1 .school-location { font-size: 9pt; color: #6b7280; font-weight: 500; }
  
  .resume-page.template-1 .job-title,
  .resume-page.template-1 .degree,
  .resume-page.template-1 .cert-org {
    font-size: 10pt; font-weight: 600; color: #6b7280;
    font-style: italic; line-height: 1.3; margin-bottom: 3pt;
  }
  
  .resume-page.template-1 .date-range {
    font-size: 9pt; color: #6b7280; white-space: nowrap;
    font-weight: 600; flex-shrink: 0; margin-left: 8pt;
  }
  
  .resume-page.template-1 .achievement-list { margin: 3pt 0 0 0; padding: 0 0 0 18pt; list-style-type: disc; }
  .resume-page.template-1 .achievement-list li {
    font-size: 10pt; line-height: 1.4; color: #1f2937;
    margin-bottom: 3pt; padding-left: 4pt;
  }
  .resume-page.template-1 .achievement-list li:last-child { margin-bottom: 0; }
  
  /* Summary */
  .resume-page.template-1 .summary-text { font-size: 10pt; line-height: 1.5; color: #1f2937; }
  
  /* Skills */
  .resume-page.template-1 .skill-items {
    font-size: 10pt; line-height: 1.6; color: #1f2937;
    margin-top: 3pt;
  }
  
  /* Languages */
  .resume-page.template-1 .language-item { font-size: 10pt; margin-bottom: 4pt; line-height: 1.6; }
  .resume-page.template-1 .language-item:last-child { margin-bottom: 0; }
  .resume-page.template-1 .language-item strong { color: #0077b6; }
  
  /* Misc */
  .resume-page.template-1 .credential-id { font-size: 9pt; color: #6b7280; margin-top: 2pt; }
  .resume-page.template-1 .bullet-line {
    padding-left: 12pt; text-indent: -12pt;
    margin-bottom: 4pt; font-size: 10pt; line-height: 1.4; color: #1f2937;
  }
  
  /* item-header row (company + date on same line) */
  .resume-page.template-1 .item-header {
    display: flex; justify-content: space-between;
    align-items: baseline; margin-bottom: 2pt;
    width: 100%; box-sizing: border-box;
  }
  .resume-page.template-1 .item-header > div:first-child { flex: 1; min-width: 0; }
  
  /* Print */
  @media print {
    .resume-page.template-1 { overflow: hidden !important; page-break-after: always; break-after: page; }
  }


/* --- Inter-entry spacing (fix: last bullet of a job ran into next job) --- */
.resume-page.template-1 [data-atom="bullet"] + .experience-item { margin-top: 9pt !important; }
.resume-page.template-1 .education-item + .education-item { margin-top: 9pt !important; }
.resume-page.template-1 .certification-item + .certification-item { margin-top: 9pt !important; }
