:root {
    --font: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  }
  
  body {
    font-family: var(--font);
    color: #111;
    background-color: #fff;
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    line-height: 1.5;
  }

  /* Blog post specific styling - only apply to individual blog post pages */
  .blog-post-content {
    padding: 2rem 1rem;
    margin: 2rem 0;
    min-height: 70vh;
  }

  .blog-post-content h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #111;
  }

  .blog-post-content h2 {
    font-size: 1.75rem;
    font-weight: 400;
    margin: 2rem 0 1rem 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
  }

  .blog-post-content h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 1.5rem 0 1rem 0;
    color: #333;
  }

  .blog-post-content h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 1.25rem 0 0.75rem 0;
    color: #444;
  }

  .blog-post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #333;
  }

  .blog-post-content p:last-child {
    margin-bottom: 0;
  }

  .blog-post-content ul, 
  .blog-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
  }

  .blog-post-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #333;
  }

  .blog-post-content blockquote {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #0066cc;
    background-color: #f8f9fa;
    font-style: italic;
  }

  .blog-post-content code {
    background-color: #f1f3f4;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
  }

  .blog-post-content pre {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #e9ecef;
  }

  .blog-post-content pre code {
    background-color: transparent;
    padding: 0;
  }

  .blog-post-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 4px;
  }

  .blog-post-content strong {
    font-weight: 600;
    color: #111;
  }

  .blog-post-content em {
    font-style: italic;
    color: #555;
  }

  /* Ensure proper spacing on mobile devices */
  @media (max-width: 768px) {
    body {
      margin: 2rem auto;
      padding: 1.5rem;
    }
    
    main article {
      padding: 1.5rem 0.5rem;
      margin: 1.5rem 0;
    }
  }
  
  header, footer {
    text-align: center;
    margin-bottom: 2rem;
  }

  footer {
    text-align: left;
  }
  
  h1 {
    font-weight: 400;
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  h2 {
    font-weight: 300;
    font-size: 1.25rem;
    color: #555;
  }
  
  section.projects {
    /* margin-bottom: 1rem; */
  }
  
  .project {
    transition: background-color 0.2s ease;
    /* border-radius: 2px; */
    padding: 0.5rem;
    
  }
  
  .project:hover {
    background-color: #f5f5f5;
  }
  
details {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

details[open] {
    border-bottom: 1px solid #ddd;
}
  
  summary {
    font-size: 1.2rem;
    cursor: pointer;
    outline: none;
    list-style: none;
  }
  
  summary::-webkit-details-marker,
  summary::marker {
    display: none;
  }
  
  summary:hover {
    color: #000;
  }
  
  .contract-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-left: 0;
    list-style: none;
  }
  
  .contract-list li {
    flex: 1 1 300px;
    padding: 0.75rem;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 0.5rem;
  }
  
  .contracts strong {
    font-weight: 600;
  }
  
  a {
    color: #0066cc;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  footer h3 {
    font-weight: 400;
    margin-bottom: 1rem;
  }
  
  .resources {
    list-style: none;
    padding-left: 0;
  }
  
  .resources li {
    padding: 0.25rem 0;
  }
