/**
 * 国际碳汇交易行情 — 蓝湖稿
 * 结构：白底圆角卡片 → 蓝色条叠在白色内边距上 → 下方浅蓝背景图内容区
 */

.gjtx-page {
  overflow-x: hidden;
  background: #eef3f9;
}

.gjtx-page-title {
  padding: 35px 0 10px;
}
.gjtx-page-title h3 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2257a7;
  line-height: 1.45;
}

/* Hero */
.gjtx-hero {
  position: relative;
  min-height: 340px;
  padding-bottom: 140px;
  overflow: hidden;
  background: #1a2e5a;
}
.gjtx-hero__pic {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.gjtx-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}
.gjtx-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(15, 30, 69, 0.94) 0%,
    rgba(15, 30, 69, 0.78) 42%,
    rgba(15, 30, 69, 0.35) 68%,
    rgba(15, 30, 69, 0.1) 100%
  );
}
.gjtx-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px 56px;
  width: 100%;
  box-sizing: border-box;
}
.gjtx-hero__title {
  max-width: 640px;
  margin: 0 0 14px;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.gjtx-hero__desc {
  max-width: 560px;
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
}
.gjtx-hero__desc:empty {
  display: none;
}

/* 主体 */
.gjtx-body {
  position: relative;
  z-index: 2;
  margin-top: -108px;
  padding-bottom: 48px;
}
.gjtx-body__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0 24px;
  align-items: start;
  box-sizing: border-box;
}

.gjtx-sidebar {
  position: sticky;
  top: 80px;
  min-width: 0;
}
.gjtx-sidecard {
  padding: 22px 20px 26px;
  border-radius: 10px;
  background: url(/uploads/20260413/705555264c6fc18a49f9ee4c25c3bf1a.png) center/cover no-repeat;
  box-shadow: 0 4px 18px rgba(34, 87, 166, 0.12);
}
.gjtx-sidecard__title {
  margin: 0 0 10px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1e2125;
}
.gjtx-sidecard__desc {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #545a61;
}
.gjtx-sidecard__btn {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid #72777d;
  border-radius: 4px;
  color: #72777d !important;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none !important;
}

/* ===== 白底外层卡片（蓝条在其上，不是蓝条顶满卡片） ===== */
.gjtx-panel {
  min-width: 0;
  padding: 20px 20px 0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 28px rgba(34, 87, 166, 0.1);
  box-sizing: border-box;
}

/* 蓝色条：叠在白色 padding 区域内，四周露白 */
.gjtx-panel__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  padding: 14px 24px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(90deg, #1a4580 0%, #2257a7 50%, #2d65b8 100%);
  overflow: hidden;
}
.gjtx-panel__bar::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(30deg, rgba(255, 255, 255, 0.06) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.06) 87.5%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.06) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.06) 87.5%);
  background-size: 28px 48px;
  pointer-events: none;
}
.gjtx-panel__bar-text,
.gjtx-panel__bar-btn {
  position: relative;
  z-index: 1;
}
.gjtx-panel__bar-text {
  font-size: 0.9375rem;
  font-weight: 600;
}
.gjtx-panel__bar-btn {
  flex-shrink: 0;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}

/* 内容区：浅蓝 + 背景图（在蓝条下方，仍在白卡片内） */
.gjtx-panel__body {
  margin: 0 -20px;
  padding: 28px 28px 0;
  border-radius: 0 0 16px 16px;
  background: #ffffff;
}

/* 为什么关注 */
.gjtx-why {
  margin-bottom: 24px;
}
.gjtx-why__title {
  margin: 0 0 12px;
  font-size: 1.375rem;
  font-weight: 700;
  color: #1a2b4b;
  line-height: 1.45;
}
.gjtx-why__lead {
  margin: 0;
  font-size: 0.875rem;
  color: #4a5568;
  line-height: 1.9;
}
.gjtx-why__lead:empty {
  display: none;
}
.gjtx-why__accent {
  width: 48px;
  height: 4px;
  margin-top: 16px;
  background: #2257a7;
  border-radius: 2px;
}

/* 四列数据卡 */
.gjtx-data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.gjtx-data-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 14px 20px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f6fc 100%);
  box-shadow: 0 2px 10px rgba(34, 87, 166, 0.06);
  text-align: center;
}
.gjtx-data-item--featured {
  border: 2px dashed #3d7fd6;
  background: #ffffff;
}
.gjtx-data-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.gjtx-data-item__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.gjtx-data-item__title {
  margin: 0 0 10px;
  width: 100%;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a2b4b;
  line-height: 1.4;
}
.gjtx-data-item__divider {
  width: calc(100% - 8px);
  height: 1px;
  margin: 0 0 12px;
  background: rgba(34, 87, 166, 0.15);
}
.gjtx-data-item__list {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  text-align: left;
}
.gjtx-data-item__list li {
  font-size: 0.75rem;
  color: #5c6b7a;
  line-height: 1.75;
}
.gjtx-data-item__list li + li {
  margin-top: 4px;
}

/* 图表 */
.gjtx-chart {
  margin-bottom: 28px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(34, 87, 166, 0.1);
  padding: 12px 10px 6px;
}
.gjtx-chart__canvas {
  width: 100%;
  height: 400px;
  min-height: 300px;
}
.gjtx-chart__fallback {
  margin: 0;
  padding: 48px 16px;
  text-align: center;
  font-size: 0.875rem;
  color: #888;
}

/* 价值 */
.gjtx-value {
  margin-bottom: 8px;
}
.gjtx-value__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.gjtx-value__head-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.gjtx-value__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1a2b4b;
}
.gjtx-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.gjtx-value-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px;
  border: 1px solid rgba(34, 87, 166, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
}
.gjtx-value-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(34, 87, 166, 0.3);
  border-radius: 8px;
  background: #f4f8fc;
}
.gjtx-value-card__icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.gjtx-value-card__name {
  margin: 0 0 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a2b4b;
}
.gjtx-value-card__desc {
  margin: 0;
  font-size: 0.75rem;
  color: #5c6b7a;
  line-height: 1.65;
}

.gjtx-panel .ssgs-cta-block {
  margin: 0 -28px;
  border-radius: 0 0 16px 16px;
}

@media (max-width: 1024px) {
  .gjtx-data-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gjtx-value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .gjtx-page-title {
    padding-top: 24px;
  }
  .gjtx-hero {
    padding-bottom: 88px;
    min-height: 280px;
  }
  .gjtx-body {
    margin-top: -56px;
  }
  .gjtx-hero__inner {
    padding: 52px 20px 44px;
  }
  .gjtx-hero__title {
    font-size: 1.5rem;
  }
  .gjtx-body__inner {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 16px;
  }
  .gjtx-sidebar {
    position: static;
  }
  .gjtx-panel {
    padding: 16px 16px 0;
  }
  .gjtx-panel__body {
    margin: 0 -16px;
    padding: 20px 16px 0;
  }
  .gjtx-panel .ssgs-cta-block {
    margin: 0 -16px;
  }
  .gjtx-data-grid {
    grid-template-columns: 1fr;
  }
  .gjtx-panel__bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .gjtx-chart__canvas {
    height: 320px;
  }
}
