.main-container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

.guide-section {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.guide-button {
  background: #fff;
  padding: 20px 30px;
  margin: 15px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}

.guide-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.workflow-section {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.section-title {
  position: relative;
  text-align: center;
  font-size: 28px;
  color: #333;
  margin-bottom: 40px;
  font-weight: 600;
  padding-bottom: 15px;
}

.section-title:after {
  content: none;
}

.workflow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.step-button {
  flex: 0 0 calc(25% - 20px);
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 30px;
}

.step-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.step-button::after {
  content: "→";
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 20px;
}

.step-button:nth-child(4n)::after {
  display: none;
}

/* 渐变背景色 */
.guide-button:nth-child(1) {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: white;
}

.guide-button:nth-child(2) {
  background: linear-gradient(135deg, #56ab2f, #a8e063);
  color: white;
}

.guide-button:nth-child(3) {
  background: linear-gradient(135deg, #6dd5ed, #2193b0);
  color: white;
}

/* 步骤按钮颜色 */
.step-button:nth-child(1) {
  background: #ff7e5f;
  color: white;
}
.step-button:nth-child(2) {
  background: #56ab2f;
  color: white;
}
.step-button:nth-child(3) {
  background: #6dd5ed;
  color: white;
}
.step-button:nth-child(4) {
  background: #ffd700;
  color: white;
}
.step-button:nth-child(5) {
  background: #ba55d3;
  color: white;
}
.step-button:nth-child(6) {
  background: #ff8c00;
  color: white;
}
.step-button:nth-child(7) {
  background: #4169e1;
  color: white;
}
.step-button:nth-child(8) {
  background: #32cd32;
  color: white;
}

/* 横向彩色条形按钮样式 - 修改为水平排列 */
.guide-buttons-container {
  display: flex;
  flex-direction: row; /* 改为水平排列 */
  justify-content: space-between; /* 均匀分布 */
  gap: 15px;
  margin-bottom: 30px;
}

.guide-button-bar {
  position: relative;
  flex: 1;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  color: white;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.guide-button-bar:after {
  content: none;
}

/* 步骤按钮美化 */
.step-button {
  border-radius: 12px;
  padding: 22px 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.step-button:hover {
  transform: translateY(-8px) scale(1.03);
}

/* 修改回之前的渐变背景色 */
.orange-gradient {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

.green-gradient {
  background: linear-gradient(135deg, #56ab2f, #a8e063);
}

.blue-gradient {
  background: linear-gradient(135deg, #6dd5ed, #2193b0);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .guide-buttons-container {
    flex-direction: column; /* 小屏幕时改回垂直排列 */
  }
}

/* 更好的内容区域 */
.news-panel,
.workflow-section,
.guide-section {
  padding: 30px;
}

/* 添加图标装饰 */
.news-panel:before,
.workflow-section:before {
  content: none;
}

.news-section-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-content {
  flex: 1;
}

.qrcode-section {
  width: 200px;
  flex-shrink: 0;
  margin-top: 105px; /* 增加上边距，与资讯列表对齐 */
}

.qrcode-container {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex; /* 使用flex布局 */
  flex-direction: column;
  align-items: center; /* 水平居中 */
}

.qrcode-image {
  width: 133px;
  height: 133px;
  margin-bottom: 15px;
  border-radius: 4px;
  display: block; /* 确保图片作为块级元素 */
  margin-left: auto; /* 水平居中 */
  margin-right: auto;
}

.qrcode-text {
  font-size: 16px; /* 稍微调小字体 */
  color: #333;
  margin-bottom: 8px;
}

.qrcode-desc {
  font-size: 14px; /* 稍微调小字体 */
  color: #666;
}

@media (max-width: 768px) {
  .news-section-container {
    flex-direction: column;
  }

  .qrcode-section {
    width: 100%;
    margin-top: 20px;
  }
}

/* 新闻列表样式 */
.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.news-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.news-content {
  flex: 1;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-info {
  color: #999;
  font-size: 13px;
}

.info-item {
  margin-right: 15px;
  display: inline-block;
}

.info-item i {
  margin-right: 4px;
}

.news-image {
  width: 160px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
  transform: scale(1.05);
}

.no-image {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #999;
  font-size: 13px;
  background: #f5f5f5;
}

/* 加载和空状态样式 */
.loading-text {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 14px;
}

.empty-message {
  text-align: center;
  padding: 60px 30px;
  color: #999;
  font-size: 14px;
  background: #f9f9f9;
  border-radius: 12px;
  margin: 20px 0;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .news-list {
    grid-template-columns: 1fr;
  }

  .news-image {
    width: 120px;
    height: 80px;
  }

  .news-title {
    font-size: 15px;
  }
}

/* 操作步骤面板 */
.workflow-container {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

/* 宽箭头样式 */
.wide-arrow {
  position: relative;
  height: 60px;
  background: linear-gradient(90deg, #2979ff, #1dabfc);
  margin-top: 30px;
  clip-path: polygon(
    0 0,
    calc(100% - 30px) 0,
    100% 50%,
    calc(100% - 30px) 100%,
    0 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wide-arrow:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.arrow-text {
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .wide-arrow {
    height: 40px;
    margin: 15px 0;
  }

  .arrow-text {
    font-size: 16px;
  }
}
