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

.video-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.video-card h3 a {
  color: #2c3e50;
  text-decoration: none;
}

.video-card h3 a:hover {
  color: #e74c3c;
}

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

.oneline {
  color: #7f8c8d;
  line-height: 1.6;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-item {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.video-item h3 a {
  color: #2c3e50;
  text-decoration: none;
}

.video-item h3 a:hover {
  color: #e74c3c;
}

.video-item p {
  color: #7f8c8d;
  line-height: 1.6;
  margin-top: 8px;
}

.summary {
  color: #95a5a6;
  font-size: 14px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #e74c3c;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn:hover {
  background: #c0392b;
}

.link {
  color: #3498db;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.feature-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.feature-card p {
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 15px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: #ecf0f1;
  color: #555;
  border-radius: 4px;
  font-size: 14px;
  margin-right: 8px;
  margin-top: 5px;
}

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

.related-card {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #e74c3c;
}

.related-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.related-card h3 a {
  color: #2c3e50;
  text-decoration: none;
}

.related-card h3 a:hover {
  color: #e74c3c;
}

.related-card p {
  color: #7f8c8d;
  font-size: 14px;
  line-height: 1.6;
}

.rank-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  background: #e74c3c;
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.topic-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #3498db;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 10px;
}

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

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

  h1 { font-size: 24px !important; }
  h2 { font-size: 20px !important; }
}
