/* ===========================================
   TEMPLATE 10 — Classic Serif
   Scoped to .resume-page.template-10
   Centered serif header, grey section bands, diamond entry markers,
   dotted leader to right-aligned date/location. Single-column reading
   order, real <ul>/<li> bullets, embedded Tinos (Times New Roman clone).
   These rules MUST mirror the measurement-iframe styles in
   js/template-10.js or pagination will drift. (See TEMPLATES.md rule 4.)
   =========================================== */

   .resume-page.template-10 .page-content {
    font-family: 'Tinos', 'Times New Roman', serif;   /* embedded family FIRST (rule 3) */
    font-size: 10pt; line-height: 1.4; color: #1a1a1a;
  }
  
  /* ── Header (centered) ── */
  /* border-bottom:none overrides the GLOBAL, unscoped `.resume-header{border-bottom:
     2pt solid var(--primary-green)}` in styles.css, which otherwise bleeds a green
     line under this template's header. Our header separation comes from the ruled
     contact bar below, not a header border. */
  .resume-page.template-10 .resume-header {
    text-align: center; margin-bottom: 10pt;
    border-bottom: none;
  }
  .resume-page.template-10 .t10-name {
    font-family: 'Tinos', 'Times New Roman', serif;
    font-size: 19pt; font-weight: 700; color: #111;
    letter-spacing: 1.5pt; line-height: 1.15; margin-bottom: 2pt;
  }
  .resume-page.template-10 .t10-subtitle {
    font-size: 10.5pt; font-weight: 700; font-style: italic;
    color: #333; margin-bottom: 3pt;
  }
  .resume-page.template-10 .t10-address {
    font-size: 9.5pt; font-style: italic; color: #444; margin-bottom: 6pt;
  }
  .resume-page.template-10 .t10-contact-bar {   /* phone left, email right (LayoutEngine puts a real space between them) */
    display: flex; justify-content: space-between; align-items: baseline;
    border-top: 0.75pt solid #333; border-bottom: 0.75pt solid #333;
    padding: 4pt 0; font-size: 10pt; font-weight: 600; color: #111;
  }
  .resume-page.template-10 .t10-contact-bar span { white-space: nowrap; }
  .resume-page.template-10 .t10-linkedin {
    text-align: center; font-size: 9.5pt; color: #333; margin-top: 4pt;
  }
  
  /* ── Sections — margin-top only to avoid margin-collapse across page breaks ── */
  .resume-page.template-10 .section { margin-top: 11pt; margin-bottom: 0; }
  .resume-page.template-10 .section:last-child { margin-bottom: 0; }
  .resume-page.template-10 .section-title {
    background: #ececec;
    border-top: 1pt solid #333; border-bottom: 1pt solid #333;
    text-align: center; text-transform: uppercase;
    font-size: 10.5pt; font-weight: 700; letter-spacing: 1.5pt; color: #1a1a1a;
    padding: 3pt 0; margin-bottom: 6pt;
  }
  
  /* ── Profile / Summary ── */
  .resume-page.template-10 .t10-summary {
    font-size: 9.5pt; font-style: italic; line-height: 1.45;
    color: #222; text-align: center; padding: 0 6pt;
  }
  
  /* ── Skills — single line, real-text bullet separators (no grid, no ::before) ── */
  .resume-page.template-10 .t10-skill-line {
    font-size: 10pt; line-height: 1.6; text-align: center;
  }
  
  /* ── Entry head (experience / education / certs share this) ── */
  .resume-page.template-10 .t10-entry-head {
    display: flex; align-items: baseline; gap: 0;
  }
  .resume-page.template-10 .t10-marker {
    color: #333; margin-right: 5pt; flex-shrink: 0; line-height: 1;
  }
  .resume-page.template-10 .t10-entry-title {
    font-weight: 700; font-size: 10.5pt; color: #1a1a1a; flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere;   /* a long title wraps; the date stays on the page */
  }
  .resume-page.template-10 .t10-leader {
    flex: 1 1 auto; min-width: 10pt;
    border-bottom: 1pt dotted #b0b0b0;   /* 0.75pt dots blur into dashes in PDF viewers at 100% */
    margin: 0 6pt; position: relative; top: -2.5pt;
  }
  .resume-page.template-10 .t10-entry-meta {
    display: flex; flex-direction: column; text-align: right;
    flex-shrink: 0; white-space: nowrap;
  }
  .resume-page.template-10 .t10-date { font-size: 9pt; color: #333; }
  .resume-page.template-10 .t10-loc  { font-size: 8.5pt; color: #666; }
  
  /* ── Experience ── */
  .resume-page.template-10 .experience-item { margin-bottom: 4pt; }
  .resume-page.template-10 .achievement-list { margin: 3pt 0 0 0; padding-left: 16pt; }
  .resume-page.template-10 .achievement-list li {
    font-size: 9.5pt; line-height: 1.45; margin-bottom: 2pt; color: #1a1a1a;
  }
  .resume-page.template-10 .achievement-list li:last-child { margin-bottom: 0; }
  
  /* ── Education / Certifications ── */
  .resume-page.template-10 .education-item,
  .resume-page.template-10 .certification-item { margin-bottom: 6pt; }
  .resume-page.template-10 .t10-edu-details,
  .resume-page.template-10 .t10-cert-details {
    font-size: 9pt; color: #555; margin-top: 2pt; padding-left: 15pt;
  }
  
  /* ── Languages ── */
  .resume-page.template-10 .language-item { font-size: 10pt; margin-bottom: 3pt; }
  .resume-page.template-10 .language-item:last-child { margin-bottom: 0; }
  
  /* ── Custom sections ── */
  .resume-page.template-10 .bullet-line {
    padding-left: 12pt; text-indent: -12pt;
    margin-bottom: 3pt; font-size: 9.5pt; line-height: 1.45;
  }
  
  /* --- Inter-entry spacing — REQUIRED (TEMPLATES.md rule 6). Bullets are separate
     atoms OUTSIDE .experience-item, so margin on .experience-item alone leaves the
     next job jammed against the previous job's last bullet. --- */
  .resume-page.template-10 [data-atom="bullet"] + .experience-item { margin-top: 9pt; }
  .resume-page.template-10 .education-item + .education-item { margin-top: 9pt; }
  .resume-page.template-10 .certification-item + .certification-item { margin-top: 9pt; }