.junhua-category-textpic-section {
  /* padding-top: 45px; */
}

.junhua-category-textpic-section .junhua-ctp-container-background {
  padding: var(--spacing-2xl) 0;
}

.junhua-category-textpic-section .junhua-ctp-layout {
  display: flex;
  gap: var(--spacing-xs);
  min-height: 32.75rem;
}

/* =========================
   左侧：图 + 文
========================= */
.junhua-category-textpic-section .junhua-ctp-left-card {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-color-white);
  max-width: 19.1rem;
}

.junhua-category-textpic-section .junhua-ctp-left-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.junhua-category-textpic-section .junhua-ctp-left-content {
  position: relative;
  padding: var(--spacing-5xl) var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
  height: 100%;
}

.junhua-category-textpic-section .junhua-ctp-left-title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-h2);
  line-height: 1.15;
  color: var(--text-color-strong);
  margin: 0;
}

.junhua-category-textpic-section .junhua-ctp-left-title-highlight {
  color: #6a0407;
}

.junhua-category-textpic-section .junhua-ctp-left-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.junhua-category-textpic-section .junhua-ctp-left-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.junhua-category-textpic-section .junhua-ctp-img {
  object-fit: contain;
  width: 24px;
  flex-shrink: 0;
}

.junhua-category-textpic-section .junhua-ctp-left-item-text {
  font-family: var(--font-family);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-small);
  line-height: var(--line-height-body);
  color: var(--text-color-strong);
}

/* =========================
   右侧：2 + 3 网格
========================= */
.junhua-category-textpic-section .junhua-ctp-right {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--spacing-base);
  min-width: 52rem;
}

/* 前 2 个：一行两列（每个占 3/6） */
.junhua-category-textpic-section
  .junhua-ctp-right
  > .junhua-ctp-card-link:nth-child(-n + 2) {
  grid-column: span 3;
}

/* 后 3 个：一行三列（每个占 2/6） */
.junhua-category-textpic-section
  .junhua-ctp-right
  > .junhua-ctp-card-link:nth-child(n + 3) {
  grid-column: span 2;
}

/* 卡片（整卡可点击） */
.junhua-category-textpic-section .junhua-ctp-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.junhua-category-textpic-section .junhua-ctp-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-color-white);
  height: 100%;
}

.junhua-category-textpic-section .junhua-ctp-card-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-width: 10.15rem;
  max-height: 10.15rem;
  object-fit: contain;
  opacity: 1;
  pointer-events: none;
}

.junhua-category-textpic-section .junhua-ctp-card-body {
  position: relative;
  padding: var(--spacing-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-base);
  height: 100%;
}

/* 仅做布局：让按钮贴底（不改按钮体系样式） */
.junhua-category-textpic-section .junhua-ctp-card-body .junhua-btn-middle {
  margin-top: auto;
}

.junhua-category-textpic-section .junhua-ctp-card-title {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-h4);
  line-height: normal;
  color: var(--primary-color);
  margin: 0;

  /* 单行省略（需求：title 超过一行省略） */
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.junhua-category-textpic-section .junhua-ctp-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-base);
}

.junhua-category-textpic-section .junhua-ctp-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xs);
}

.junhua-category-textpic-section .junhua-ctp-feature-bullet {
  width: 4px;
  height: 4px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--text-color-gray-600);
  flex-shrink: 0;
}

.junhua-category-textpic-section .junhua-ctp-feature-text {
  font-family: var(--font-family);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-small);
  line-height: 1.15;
  color: var(--text-color-gray-600);
}

@media screen and (max-width: 1024px) {
  .junhua-category-textpic-section .junhua-ctp-layout {
    flex-direction: column;
  }

  .junhua-category-textpic-section .junhua-ctp-left-card {
    width: 100%;
    max-width: 100%;
  }

  .junhua-category-textpic-section .junhua-ctp-left-bg {
    height: auto;
  }
  .junhua-category-textpic-section .junhua-ctp-img {
    width: 18px;
  }
  .junhua-category-textpic-section .junhua-ctp-right {
    min-width: 0;
  }

  /* .junhua-category-textpic-section .junhua-ctp-left-list-item {
  } */
}

@media screen and (max-width: 576px) {
  .junhua-category-textpic-section .junhua-ctp-left-title {
    line-height: 0.9;
  }

  .junhua-category-textpic-section .junhua-ctp-left-bg {
    /* height: 100%; */
  }
  .junhua-category-textpic-section .junhua-ctp-left-content {
    padding: var(--spacing-sm) var(--spacing-xl);
    width: 70%;
    gap: var(--spacing-md);
  }
  .junhua-category-textpic-section .junhua-ctp-left-list {
    gap: 0px;
  }
  .junhua-category-textpic-section .junhua-ctp-img {
    width: 12px;
  }

  .junhua-category-textpic-section .junhua-ctp-right {
    grid-template-columns: 1fr;
  }

  .junhua-ctp-card-link {
    grid-column: span 1 !important;
  }
}
