/* 新历史与艺术大卡片结构样式 */
.history-art-card {
  background: #fffbe9;
  border-radius: 22px;
  box-shadow: 0 4px 32px rgba(166,124,45,0.13);
  max-width: 700px;
  margin: 40px auto 48px auto;
  padding: 38px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.history-art-title {
  text-align: center;
  color: #a67c2d;
  font-size: 2rem;
  letter-spacing: 2px;
  margin: 0 0 18px 0;
}
.history-art-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.history-art-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 32px;
  min-height: 0;
  height: auto;
}
.history-art-row.reverse {
  flex-direction: row-reverse;
}
.history-art-text {
  flex: 1 1 0;
  min-width: 0;
}
.history-art-text h2 {
  color: #a67c2d;
  font-size: 1.2rem;
  margin: 0 0 0.7em 0;
}
.history-art-text p {
  color: #6b4f1d;
  font-size: 1.05rem;
  margin: 0;
}
.history-art-img {
  width: 180px;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(166,124,45,0.10);
  align-self: center;
}
@media (max-width: 900px) {
  .history-art-card {
    padding: 24px 16px 20px 16px;
    max-width: 95vw;
    margin: 20px auto 32px auto;
    border-radius: 16px;
    gap: 24px;
  }
  
  .history-art-title {
    font-size: 1.6rem;
    margin: 0 0 16px 0;
    letter-spacing: 1px;
  }
  
  .history-art-section {
    gap: 20px;
  }
  
  .history-art-row, .history-art-row.reverse {
    flex-direction: column !important;
    gap: 16px;
    align-items: center;
  }
  
  .history-art-text h2 {
    font-size: 1.1rem;
    margin: 0 0 0.6em 0;
    text-align: center;
  }
  
  .history-art-text p {
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
  }
  
  .history-art-img {
    width: 85vw;
    max-width: 300px;
    height: auto;
    margin: 0 0 8px 0;
    border-radius: 12px;
  }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
  .history-art-card {
    padding: 20px 12px 16px 12px;
    max-width: 98vw;
    margin: 16px auto 24px auto;
    border-radius: 12px;
    gap: 20px;
  }
  
  .history-art-title {
    font-size: 1.4rem;
    margin: 0 0 14px 0;
  }
  
  .history-art-section {
    gap: 16px;
  }
  
  .history-art-row, .history-art-row.reverse {
    gap: 12px;
  }
  
  .history-art-text h2 {
    font-size: 1rem;
    margin: 0 0 0.5em 0;
  }
  
  .history-art-text p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .history-art-img {
    width: 90vw;
    max-width: 280px;
    border-radius: 10px;
  }
}
/* 大师介绍区大卡片样式 */
.master-bigcard {
  background: #fffbe9;
  border-radius: 22px;
  box-shadow: 0 4px 32px rgba(166,124,45,0.13);
  padding: 40px 28px 32px 28px;
  max-width: 700px;
  margin: 40px auto 60px auto;
}
.process-title {
  text-align: center;
  color: #a67c2d;
  font-size: 1.7rem;
  margin-bottom: 2.2em;
  letter-spacing: 2px;
}
/* 大师容器样式 */
.master-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
/* 大师介绍区复用的横向卡片样式（原process-step-row等） */
.master-step-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 32px;
}
.master-step-row.reverse {
  flex-direction: row-reverse !important;
}
.master-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 16px;
  background: #f7f3e6;
  box-shadow: 0 1px 10px rgba(166,124,45,0.10);
  transition: width 0.2s, height 0.2s;
}
.master-info {
  flex: 1;
  min-width: 0;
}
.master-info h3 {
  color: #a67c2d;
  font-size: 1.15rem;
  margin: 0 0 10px 0;
}
.master-info p {
  color: #6b4f1d;
  font-size: 1.05rem;
  margin: 0;
}
@media (max-width: 700px) {
  .master-bigcard {
    padding: 24px 16px 20px 16px;
    max-width: 95vw;
    margin: 20px auto 40px auto;
    border-radius: 16px;
  }
  
  .process-title {
    font-size: 1.4rem;
    margin-bottom: 1.8em;
    letter-spacing: 1px;
  }
  
  .master-container {
    gap: 24px;
  }
  
  .master-step-row, .master-step-row.reverse {
    flex-direction: column !important;
    gap: 16px;
    margin-bottom: 20px;
    align-items: center;
  }
  
  .master-img {
    width: 140px;
    height: 140px;
    border-radius: 12px;
  }
  
  .master-info {
    text-align: center;
  }
  
  .master-info h3 {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
  }
  
  .master-info p {
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
  }
}

/* 超小屏幕大师介绍优化 */
@media (max-width: 480px) {
  .master-bigcard {
    padding: 20px 12px 16px 12px;
    max-width: 98vw;
    margin: 16px auto 32px auto;
    border-radius: 12px;
  }
  
  .process-title {
    font-size: 1.2rem;
    margin-bottom: 1.6em;
  }
  
  .master-container {
    gap: 20px;
  }
  
  .master-step-row, .master-step-row.reverse {
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .master-img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
  }
  
  .master-info h3 {
    font-size: 1rem;
    margin: 0 0 6px 0;
  }
  
  .master-info p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}
