
/* Layout Variant: D | UI Style: ui-style-0 */

.container {
  padding: 2rem 1rem;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: #333;
  border-left: 4px solid #0066cc;
  padding-left: 0.5rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

section {
  margin: 2rem 0;
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.site-intro {
  font-size: 1.05rem;
  line-height: 1.8;
}

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

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

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

.video-card h3 {
  margin-top: 0;
}

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

.video-card .desc {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: #fafafa;
  border-radius: 4px;
}

.video-item .year {
  color: #888;
  font-size: 0.9rem;
}

.video-list-full {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.video-item-full {
  background: #fff;
  padding: 1.5rem;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  position: relative;
}

.video-item-full .rank {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #0066cc;
  color: #fff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
}

.video-item-full h3 {
  margin-top: 0;
}

.video-info ul {
  list-style: none;
  padding: 0;
}

.video-info li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.intro {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: #555;
}

@media (max-width: 767px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 1rem 0.5rem;
  }
  section {
    padding: 1rem;
  }
}
