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

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

a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #0d47a1;
}

.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #1a73e8;
  padding: 15px 0;
  display: inline-block;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  padding: 10px 0;
  border-top: 1px solid #eee;
}

.nav li {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.nav a {
  display: block;
  padding: 10px 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
  font-weight: 500;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: #222;
}

.intro-section {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.intro-section p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.section {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.section-title {
  font-size: 22px;
  margin-bottom: 20px;
  color: #222;
  border-left: 4px solid #1a73e8;
  padding-left: 12px;
}

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

.card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #222;
}

.card-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
}

.card-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.detail-info {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 25px;
}

.detail-info-row {
  display: flex;
  margin-bottom: 12px;
  font-size: 15px;
}

.detail-info-label {
  font-weight: bold;
  color: #555;
  min-width: 80px;
}

.detail-info-value {
  color: #333;
}

.detail-content h2 {
  font-size: 20px;
  margin: 25px 0 15px 0;
  color: #222;
}

.detail-content p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: #e3f2fd;
  color: #1565c0;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
}

.footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 30px 20px;
  text-align: center;
  color: #777;
  font-size: 14px;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .nav {
    padding: 8px 0;
  }

  .nav a {
    padding: 8px 3px;
    font-size: 13px;
  }

  .page-title {
    font-size: 22px;
  }

  .section-title {
    font-size: 18px;
  }

  .card-list {
    grid-template-columns: 1fr;
  }

  .intro-section,
  .section {
    padding: 20px;
  }
}

body.ui-style-11 {
  --primary-color: #2c5aa0;
  --accent-color: #4a90e2;
}

body.ui-style-11 .logo {
  color: var(--primary-color);
}

body.ui-style-11 .section-title {
  border-left-color: var(--accent-color);
}

body.ui-style-11 a {
  color: var(--accent-color);
}

body.ui-style-11 a:hover {
  color: var(--primary-color);
}
