

* {
  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: #1a73e8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-inner {
  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: #1a73e8;
}

nav ul {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  gap: 5px;
}

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

nav a {
  display: block;
  padding: 8px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #555;
  border-radius: 4px;
  transition: all 0.3s;
}

nav a:hover {
  background: #f0f0f0;
  text-decoration: none;
}

main {
  padding: 30px 0;
}

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

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

.section-title {
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1a73e8;
  color: #222;
}

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

.video-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s;
}

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

.video-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1a73e8;
}

.video-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

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

.intro-text {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .logo {
    font-size: 20px;
  }

  nav ul {
    width: 100%;
    justify-content: space-between;
    gap: 2px;
  }

  nav a {
    padding: 6px 4px;
    font-size: 13px;
  }

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

  .section {
    padding: 20px 15px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  nav a {
    padding: 5px 2px;
    font-size: 12px;
  }
}


.ui-style-3 {
  --primary-color: #1a73e8;
  --secondary-color: #34a853;
}

.layout-variant-F .section {
  margin-bottom: 35px;
}
