/* assets/css/resume.css */

.resume {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.875rem;
    color: #1a1a1a;
    line-height: 1.55;
  }
  
  /* Header */
  .resume__header { margin-bottom: 1.25rem; }
  .resume__name { font-size: 1.75rem; font-weight: 700; margin: 0 0 0.125rem; }
  .resume__title { font-size: 1rem; color: #555; margin: 0 0 0.5rem; }
  .resume__contact {
    display: flex; flex-wrap: wrap; gap: 0.25rem 1rem;
    font-size: 0.78rem; color: #555;
  }
  .resume__contact a { color: #2563eb; text-decoration: none; }
  .resume__contact a:hover { text-decoration: underline; }
  
  /* Sections */
  .resume__section { margin-bottom: 1.25rem; }
  .resume__section-title {
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: #666; border-bottom: 1px solid #ddd;
    padding-bottom: 0.2rem; margin-bottom: 0.75rem;
  }
  
  /* Entries */
  .resume__entry { margin-bottom: 0.875rem; }
  .resume__entry-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
  .resume__entry-title { font-size: 0.9rem; font-weight: 600; margin: 0; }
  .resume__entry-title a { color: inherit; text-decoration: none; }
  .resume__entry-title a:hover { color: #2563eb; }
  .resume__entry-sub { font-size: 0.8rem; color: #555; margin: 0.1rem 0 0; }
  .resume__entry-period { font-size: 0.78rem; color: #888; white-space: nowrap; }
  .resume__bullets { margin: 0.4rem 0 0 1.1rem; padding: 0; }
  .resume__bullets li { margin-bottom: 0.2rem; }
  
  /* Skills */
  .resume__skills-row { margin-bottom: 0.3rem; }
  .resume__skills-category { margin-right: 0.4rem; }
  
  /* Certifications */
  .resume__cert { margin-bottom: 0.3rem; }
  
  /* Footer */
  .resume__footer { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #eee; display: flex; align-items: center; gap: 1rem; }
  .resume__print-btn {
    padding: 0.4rem 1rem; background: #2563eb; color: white;
    border: none; border-radius: 4px; cursor: pointer; font-size: 0.85rem;
  }
  .resume__updated { font-size: 0.75rem; color: #999; margin: 0; }
  
  /* Print styles */
  @media print {
    body { background: white; -webkit-print-color-adjust: exact; }
    .resume { max-width: 100%; padding: 0; }
    .resume__print-btn { display: none; }
    .resume__footer { border: none; padding: 0; margin: 0; }
    .resume__updated { display: none; }
  
    /* Show full URLs for links */
    .resume__contact a::after {
      content: " (" attr(href) ")";
      font-size: 0.65rem; color: #888;
    }
  
    /* Avoid page breaks inside entries */
    .resume__entry { break-inside: avoid; }
    .resume__section { break-inside: avoid; }
  
    @page {
      margin: 1.5cm 1.8cm;
      size: A4;
    }
  }