/* css/related.css - Related content recommendation styles */

.related-content {
  margin: 40px 0;
  padding: 25px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: white;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.related-content h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 600;
}

.related-content .icon {
  font-size: 24px;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 15px;
}

.related-list li {
  margin: 0;
}

.related-list li a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  text-decoration: none;
  color: white;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.related-list li a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-title {
  font-size: 16px;
  font-weight: 600;
}

.related-reason {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.4;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .related-content {
    padding: 20px 15px;
    margin: 30px 0;
  }

  .related-content h4 {
    font-size: 16px;
  }

  .related-content .icon {
    font-size: 20px;
  }

  .related-list li a {
    padding: 12px;
  }

  .related-title {
    font-size: 15px;
  }

  .related-reason {
    font-size: 12px;
  }
}

/* Print styles */
@media print {
  .related-content {
    background: #f8f9fa;
    color: #212529;
    border: 1px solid #e9ecef;
  }

  .related-list li a {
    background: #fff;
    color: #212529;
    border-color: #e9ecef;
  }
}
