
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}
a {
  color: #0066cc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-size: 24px;
  font-weight: bold;
  color: #0066cc;
}
nav ul {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  gap: 10px;
  align-items: center;
}
nav a {
  padding: 8px 15px;
  display: block;
  white-space: nowrap;
}
main {
  min-height: calc(100vh - 200px);
  padding: 30px 0;
}
section {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #222;
  line-height: 1.3;
}
h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
  border-left: 4px solid #0066cc;
  padding-left: 12px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.video-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.video-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #0066cc;
}
.video-meta {
  font-size: 14px;
  color: #666;
  margin: 5px 0;
}
.video-desc {
  font-size: 14px;
  color: #555;
  margin-top: 10px;
  line-height: 1.5;
}
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }
  nav ul {
    width: 100%;
    justify-content: space-between;
    gap: 0;
    flex-wrap: nowrap;
  }
  nav li {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
  }
  nav a {
    padding: 6px 4px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 24px;
  }
  section {
    padding: 20px;
  }
}

body.ui-style-7 {
  --primary-color: #0066cc;
  --hover-color: #0052a3;
}
