/* 文本卡片样式 */
.text-card {
  position: relative;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: #fff9f9;
  border-left: 4px solid #ff7f7f;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.text-card.blue {
  background: #f5f9ff;
  border-left-color: #5b9aff;
}

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

.text-card-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #d23669;
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed #ffb6c1;
}

.text-card.blue .text-card-title {
  color: #2a6fdb;
  border-bottom-color: #a8c6ff;
}

.text-card-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.text-card-content pre {
  background: #f8f8f8;
  padding: 1rem;
  border-radius: 4px;
  overflow: auto;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .text-card {
    margin: 1rem 0;
    padding: 1rem;
  }
}