/* Content width and spacing improvements */
main {
  max-width: 900px !important; /* Medium width content */
  margin: auto;
  padding: 25px 30px; /* Moderate side padding */
}

/* Fix bullet point indentation and spacing */
ul, ol {
  padding-left: 2rem; /* Proper indentation for lists */
  margin-left: 0;
  margin-top: 1rem; /* Add space above lists */
  margin-bottom: 1rem; /* Add space below lists */
}

ul li, ol li {
  margin-bottom: 0.5rem;
}

/* Nested lists */
ul ul, ol ol, ul ol, ol ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  main {
    padding: 25px 20px; /* Less padding on mobile */
    max-width: 100% !important;
  }
  
  ul, ol {
    padding-left: 1.5rem; /* Slightly less indentation on mobile */
  }
}

/* Better table styling */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5rem 0;
    font-size: 0.95em;
  }
  
  table th {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
  }
  
  table td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    vertical-align: top;
  }
  
  table tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  table code {
    background-color: #f4f4f4;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
  }
  
  /* Responsive tables */
  @media (max-width: 768px) {
    table {
      font-size: 0.85em;
    }
    
    table td, table th {
      padding: 0.5rem;
    }
  }
