/* ===========================================
   TEMPLATE 8 — Warm  (rebuilt: leading accent block, no rules)
   Georgia serif, centered name, terracotta. Distinction: NO horizontal
   rules — each heading gets a small terracotta square before it, airy
   spacing. Soft and human, structurally unlike Classic's ruled headings.
   MUST mirror js/template-8.js measurement styles.
   =========================================== */

   .resume-page.template-8 .page-content {
    font-family: 'Gelasio','Georgia',serif;
    font-size: 10.5pt; line-height: 1.55; color: #2a2a2a;
  }
  
  /* Header — centered, warm, thin accent under name only */
  .resume-page.template-8 .resume-header { text-align: center; margin-bottom: 15pt; border-bottom: none; }
  .resume-page.template-8 .resume-header h1 {
    font-size: 24pt; font-weight: 700; color: #7a3b1d;
    line-height: 1.1; margin-bottom: 6pt;
  }
  .resume-page.template-8 .resume-header h1::after {
    content: ""; display: block; width: 36pt; height: 2.5pt;
    background: #c96a3d; margin: 7pt auto 0;
  }
  .resume-page.template-8 .contact-info {
    font-family: 'Arimo','Arial',sans-serif; font-size: 9pt; color: #666; line-height: 1.5;
  }
  .resume-page.template-8 .contact-info .sep { color: #d9b4a1; margin: 0 2.5pt; }   /* + a real space each side */
  
  /* Sections — leading accent block before heading, NO rules, roomy */
  .resume-page.template-8 .section { margin-top: 11pt; margin-bottom: 0; }
  .resume-page.template-8 .section:last-child { margin-bottom: 0; }
  .resume-page.template-8 .section-title {
    font-size: 13pt; font-weight: 700; color: #c96a3d;
    letter-spacing: 0.3pt; margin-bottom: 6pt; padding-left: 14pt; position: relative;
    border-bottom: none;
  }
  .resume-page.template-8 .section-title::before {
    content: ""; position: absolute; left: 0; top: 3pt;
    width: 8pt; height: 8pt; background: #c96a3d; border-radius: 2pt;
  }
  
  .resume-page.template-8 .summary-text { font-size: 10.5pt; line-height: 1.6; }
  .resume-page.template-8 .skill-line { font-size: 10.5pt; line-height: 1.8; }
  
  .resume-page.template-8 .experience-item { margin-bottom: 8pt; }
  .resume-page.template-8 .item-header {
    display: flex; justify-content: space-between; align-items: baseline; gap: 10pt;
  }
  .resume-page.template-8 .company-name { font-weight: 700; color: #3a2a1a; }
  .resume-page.template-8 .job-title { font-style: italic; color: #8a6a55; }
  .resume-page.template-8 .job-location { font-size: 9.5pt; color: #999; }
  .resume-page.template-8 .date-range {
    font-family: 'Arimo','Arial',sans-serif; font-size: 9pt; color: #999; white-space: nowrap;
  }
  .resume-page.template-8 .achievement-list { margin: 2pt 0 0 0; padding-left: 16pt; }
  .resume-page.template-8 .achievement-list li { margin-bottom: 2pt; }
  
  .resume-page.template-8 .education-item,
  .resume-page.template-8 .certification-item { margin-bottom: 6pt; }
  .resume-page.template-8 .school-name,
  .resume-page.template-8 .cert-name { font-weight: 700; color: #3a2a1a; }
  .resume-page.template-8 .degree,
  .resume-page.template-8 .cert-org { font-style: italic; color: #8a6a55; }
  .resume-page.template-8 .credential-id { font-size: 9.5pt; color: #999; }
  .resume-page.template-8 .language-item { font-size: 10.5pt; margin-bottom: 3pt; }


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