/* ===== YOUTH CYBERSECURITY EDUCATION (独立模块) ===== */
.youth-education { background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%); }
.youth-education .youth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .youth-education .youth-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
  .youth-education .youth-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.youth-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media (min-width: 768px) {
  .youth-card { padding: 24px; }
}
.youth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a6eff 0%, #7cc4ff 50%, #ffb020 100%);
}
.youth-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(26, 110, 255, 0.22);
}
.youth-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 12px;
  background: rgba(26, 110, 255, 0.1);
}
.youth-age {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  width: fit-content;
}
.youth-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.youth-card .youth-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 10px;
}
.youth-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.youth-tags span {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255, 176, 32, 0.12);
  color: #b87a00;
}
.youth-meta-line {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
  font-weight: 600;
}
.youth-course-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.youth-course-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 8px 10px;
  background: var(--bg-warm);
  border-radius: 10px;
  border: 1px solid transparent;
  transition: var(--transition);
}
.youth-course-list li:hover {
  border-color: rgba(26, 110, 255, 0.18);
  background: #fff;
}
.youth-course-list .yc-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.youth-course-list .yc-time {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 11px;
  color: var(--text-light);
}
.youth-learn-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 12px rgba(26, 110, 255, 0.25);
  transition: var(--transition);
  min-height: 40px;
}
.youth-learn-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 110, 255, 0.35);
}
.youth-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  text-align: center;
}
@media (min-width: 768px) {
  .youth-actions { flex-direction: row; gap: 12px; }
}
.youth-note {
  display: block;
  max-width: 680px;
  margin: 28px auto 24px;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
}
