.top-highlight-container {
  /* margin-top: 29px; */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  margin-left: -0.5%;
  margin-right: -0.5%;
}

.top-highlight-container.no-margin {
  margin-left: 0;
  margin-right: 0;
}

.top-highlight-container.with-gap {
  gap: 20px;
}

.top-highlight-container.top-hor-pane {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 0;
  margin-top: 0;
  border: none;
  box-shadow: none;
}

.top-highlight-container.bg-transparent {
  background-color: transparent;
}

.top-highlight-container.border-white {
  border: 1px solid #FFFFFF;
  border-radius: 3px;
}

.top-highlight-col {
  backdrop-filter: blur(7px);
  border-radius: 6px;
  background-color: rgba(137, 175, 201, 0.21);
  border: 1px solid rgba(137, 175, 201, 0.21) !important;
  background-clip: padding-box !important; /* content-box; */
  color: white;
  padding: 0;
  margin-left: 0.5%;
  margin-right: 0.5%;
  margin-top: 15px;
  margin-bottom: 15px;
  box-sizing: border-box;
  width: calc(25% - 1%); /* 默认为四列布局 */
  max-width: calc(25% - 1%);
  min-width: 170px; /* 设置最小宽度 */
  flex-grow: 1;
}

.top-highlight-col.product-card {
  background-color: transparent; /* 移除 highlight.css 默认的半透明背景 */
  border: none !important;       /* 移除默认边框 */
  backdrop-filter: none;         /* 移除毛玻璃效果 */
  margin: 0;
}

.top-highlight-col.margin-none {
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.top-highlight-col.col-5 {
  width: calc(20% - 1%);
  max-width: calc(20% - 1%);
}

.top-highlight-col.col-4 {
  width: calc(25% - 1%);
  max-width: calc(25% - 1%);
}

.top-highlight-col.col-3 {
  width: calc(33.3% - 1%);
  max-width: calc(33.3% - 1%);
}

.top-highlight-col.col-2 {
  width: calc(50% - 1%);
  max-width: calc(50% - 1%);
}

.top-highlight-col.col-1 {
  width: calc(100%) !important;
  max-width: calc(100%) !important;
}

.top-highlight-content-title {
  display: block;
  padding-left: var(--top-highlight-content-left);
  padding-top: var(--margin-top-h3);
  padding-bottom: var(--margin-bottom-h3);
  text-align: left;
  font-size: var(--font-size-h3);
  font-weight: 400;
  line-height: 29px;
  color: #0068b6;
}

.top-highlight-content-image {
  margin-left: var(--top-highlight-content-left);
  margin-top: var(--top-highlight-img-top);
  width: 45px;
  height: 45px;
}

@media (max-width: 1200px) {
  .top-highlight-content-image {
    width: 35px;
    height: 35px;
  }
}

.top-highlight-content-detail {
  overflow: auto;
  padding-bottom: 0;
  padding-top: 0;
  padding-left: var(--top-highlight-content-left);
  padding-right: 25px;
  font-size: var(--font-size-p);
  color: #666666;
  word-wrap: break-word;
}

.top-highlight-content-detail.border-white {
  border: 1px solid #FFFFFF;
  border-radius: 4px;
}

.top-highlight-content-detail.border-none {
  border: none;
}

.top-highlight-content-detail li {
  margin-left: 15px;
  list-style-type: disc !important;
}

.top-highlight-content-detail h2,
.top-highlight-content-detail h3,
.top-highlight-content-detail h4,
.top-highlight-content-detail h5,
.top-highlight-content-detail h6 {
  font-weight: 700; /* strong 标签通常对应 700 */
}

.top-highlight-content-padding-zero {
  color: black !important;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}

.gold-underline {
  text-decoration: underline;
  text-decoration-color: gold;
}

.top-highlight-detail {
  padding: 0 15px 15px 15px;
}

.top-font-color-black {
  color: #333333;
}

.top-highlight-content-detail.overflow-visible {
  overflow: visible; /* 修改为 visible，允许内容溢出 */
}

/* 媒体查询：适应不同屏幕尺寸 */
@media (max-width: 1200px) {
  .top-highlight-col,
  .top-highlight-col.col-4,
  .top-highlight-col.col-3,
  .top-highlight-col.col-2 {
    width: calc(100%);
    max-width: calc(100%);
  }

  .top-highlight-col.product-card,
  .top-highlight-col.product-card.col-4,
  .top-highlight-col.product-card.col-3,
  .top-highlight-col.product-card.col-2 {
    margin-left: 0;
    margin-right: 0;
    width: calc(50% - 10px);  /* 减去 gap 的一半空间 */
    max-width: calc(50% - 10px);
    flex-grow: 0;  /* 防止 flex-grow 撑破布局 */
  }

  /* 如果容器没有 .with-gap，则还是按 50% 排列 */
  .top-highlight-container:not(.with-gap) .top-highlight-col.product-card {
    width: calc(50% - 1%);
    max-width: calc(50% - 1%);
  }

  .top-highlight-container.top-horiz-tabpane {
    flex-direction: column;
  }

  .top-highlight-content-title {
      padding-left: var(--topnav-margin-left);
  }
  .top-highlight-content-detail {
      padding-left: var(--topnav-margin-left);
      padding-right: var(--topnav-margin-left);
  }
  .top-highlight-content-image {
      margin-left: var(--topnav-margin-left);
  }
}

@media (max-width: 480px) {
  .top-highlight-col.product-card,
  .top-highlight-col.product-card.col-4,
  .top-highlight-col.product-card.col-3,
  .top-highlight-col.product-card.col-2 {
    width: calc(100%);
    max-width: calc(100%);
  }

  .top-highlight-col.product-card.col-5 {
    margin-left: 0;
    margin-right: 0;
    width: calc(50% - 10px);  /* 减去 gap 的一半空间 */
    max-width: calc(50% - 10px);
    flex-grow: 0;  /* 防止 flex-grow 撑破布局 */
  }
}
