/* Base styles */
body {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  padding: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.4;
  color: #333;
  background-color: #f9f9f9;
}

/* Site header */
.site-header {
  width: 100%;
  padding: 20px 0;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 1px solid #eaeaea;
}

.site-header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #2c3e50;
}

/* List styling */
ul {
  display: inline-block;
  vertical-align: top;
  width: auto;
  max-width: 220px;
  min-width: 150px;
  margin: 0 8px 16px 8px;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  list-style-type: none;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

ul:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Add color variation to ul elements */
ul:nth-of-type(3n+1) {
  background-color: #e8f4ff; /* Slightly deeper blue */
}

ul:nth-of-type(3n+2) {
  background-color: #e8fff0; /* Slightly deeper green */
}

ul:nth-of-type(3n+3) {
  background-color: #fff0f5; /* Light pink */
}

/* Style for h3 titles inside lists */
ul h3 {
  margin: 0;
  padding: 10px 14px;
  background-color: rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1.05em;
  font-weight: 600;
  white-space: nowrap;
  color: #2c3e50;
}

/* List item styling */
li {
  padding: 4px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.95em;
  transition: background-color 0.15s;
}

li:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

li:last-child {
  border-bottom: none;
}

/* Link styling */
a {
  color: #3273dc;
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: #1a56b8;
  text-decoration: underline;
}

a:focus {
  outline: 2px solid #3273dc;
  outline-offset: 2px;
}

/* Container for lists */
.lists-container {
  display: inline-block;
}

/* Category labels */
.category-label {
  display: block;
  width: 100%;
  margin: 20px 0 10px 8px;
  font-size: 1.1em;
  font-weight: 600;
  color: #2c3e50;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  ul {
    max-width: 45%;
  }
}

@media (max-width: 480px) {
  ul {
    max-width: 100%;
    margin: 0 0 16px 0;
  }
  
  .site-header h1 {
    font-size: 1.5rem;
  }
} 