/* Custom styles */
html {
  font-size: 14px;  /* Reduced from 15px */
}

.content {
  max-width: 600px;  /* Reduced from 800px */
}

h1, h2, h3, h4, h5, h6 {
  font-size: 1.1rem;  /* Reduced from 1.2rem */
}

header .main {
  font-size: 1.3rem;  /* Reduced from 1.5rem */
}

/* Increase spacing between list items */
ul li {
  margin-top: 0.9em;  /* Add vertical spacing between list items */
  line-height: 1.5;  /* Increase line height for better readability */
  font-size: 0.8rem;  /* Make list item text smaller */
}

table th {
  font-size: 0.85rem;
}

table td {
  font-size: 0.85rem;
}

/* Custom styles for header description */
header .main div:last-child div:last-child {
  max-width: 100%;
  word-wrap: break-word;
  white-space: normal;
  line-height: 1.2;
}

/* Responsive tables: stack rows as cards on narrow screens */
@media (max-width: 600px) {
  table, table tbody, table tr {
    display: block;
  }
  table thead {
    display: none;
  }
  table tr {
    border: 1px solid #dfe2e5;
    margin-bottom: 0.8em;
  }
  table td {
    display: block;
    padding: 4px 8px;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    text-align: left !important;
  }
  table td:last-child {
    border-bottom: none;
  }
  table td::before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 2px;
  }
}