

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

nav a {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0.5rem 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  nav {
    flex-wrap: nowrap;
    overflow-x: visible;
  }

  nav a {
    font-size: 0.85rem;
    padding: 0.4rem 0.2rem;
  }
}

main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card h2 {
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card-item {
  background: #fafafa;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
}

.card-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card-item .meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.card-item .summary {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #2563eb;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}

.btn:hover {
  background: #1d4ed8;
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #666;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  margin-top: 3rem;
}


.ui-style-15 h1 {
  color: #1a1a1a;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.ui-style-15 h2 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.ui-style-15 .card {
  transition: transform 0.2s;
}

.ui-style-15 .card:hover {
  transform: translateY(-2px);
}

.layout-F .card-list {
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .card-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }
}
