/* 樱桃知识页面样式 */

/* 知识概览 */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.overview-item {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.overview-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.overview-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.overview-item h3 {
  font-size: 1.2rem;
  margin: 1rem;
}

.overview-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0 1rem 1rem;
}

.overview-item .btn {
  display: block;
  margin: 1rem;
}

/* 知识部分 */
.knowledge-section {
  padding: var(--spacing-xl) 0;
}

.content-wrapper {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.text-content {
  flex: 1;
}

.image-content {
  flex: 1;
}

.image-content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.text-content ul,
.text-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.text-content li {
  margin-bottom: 0.5rem;
}

/* 常见问题 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq-item .question {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.faq-item .answer {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }

  .image-content {
    order: -1;
  }
}

@media screen and (max-width: 480px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

