/**
 * 碳汇排行榜 gjthjyhqb — 蓝湖稿（橙金主题）
 */

.gjthb-page {
  overflow-x: hidden;
  background: #f5f3ef;
}

.gjthb-page-title {
  padding: 58px 0 10px;
}
.gjthb-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 */
.gjthb-hero {
  position: relative;
  min-height: 340px;
  padding-bottom: 140px;
  overflow: hidden;
  background: #c47d12;
}
.gjthb-hero__pic {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.gjthb-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}
.gjthb-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(196, 125, 18, 0.96) 0%,
    rgba(210, 140, 30, 0.82) 40%,
    rgba(220, 155, 45, 0.45) 65%,
    rgba(230, 170, 60, 0.12) 100%
  );
}
.gjthb-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px 56px;
  width: 100%;
  box-sizing: border-box;
}
.gjthb-hero__title {
  max-width: 640px;
  margin: 0 0 14px;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.gjthb-hero__desc {
  max-width: 560px;
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.75;
}
.gjthb-hero__desc:empty {
  display: none;
}

/* 主体 */
.gjthb-body {
  position: relative;
  z-index: 2;
  margin-top: -108px;
  padding-bottom: 48px;
}
.gjthb-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;
}

.gjthb-sidebar {
  position: sticky;
  top: 80px;
  min-width: 0;
}
.gjthb-sidecard {
  padding: 22px 20px 26px;
  border-radius: 10px;
  background: url(/uploads/20260413/705555264c6fc18a49f9ee4c25c3bf1a.png) center/cover no-repeat;
  box-shadow: 0 4px 18px rgba(196, 125, 18, 0.15);
}
.gjthb-sidecard__title {
  margin: 0 0 10px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1e2125;
}
.gjthb-sidecard__desc {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #545a61;
}
.gjthb-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;
}

/* 白卡 */
.gjthb-panel {
  min-width: 0;
  padding: 20px 20px 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 28px rgba(180, 120, 30, 0.12);
  box-sizing: border-box;
}

/* 橙金顶栏 */
.gjthb-panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  padding: 14px 24px;
  border-radius: 10px;
  color: #fff;
  overflow: hidden;
  background-color: #f0a820;
  background-image: url(/uploads/20260608/c58909043f608d7b41853975cffe3c35.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: 0 4px 14px rgba(200, 130, 20, 0.28);
}
.gjthb-panel__bar-text,
.gjthb-panel__bar-btn {
  position: relative;
  z-index: 1;
}
.gjthb-panel__bar-text {
  font-size: 0.9375rem;
  font-weight: 600;
}
.gjthb-panel__bar-btn {
  flex-shrink: 0;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}

.gjthb-panel__body {
  margin: 0 -20px;
  padding: 0 20px 0;
  border-radius: 0 0 16px 16px;
  background: #fff;
}

/* 数据看板 */
.gjthb-dash {
  margin-bottom: 28px;
  padding: 16px 16px 12px;
  border: 1px solid #e8e4dc;
  border-radius: 10px;
  background: #faf9f7;
}
.gjthb-dash__filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.gjthb-dash__filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #d8d4cc;
  border-radius: 6px;
  background: #fff;
  font-size: 0.75rem;
  color: #4a4a4a;
  cursor: default;
}
.gjthb-dash__filter::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #888;
  flex-shrink: 0;
}

.gjthb-dash__metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8e4dc;
}
.gjthb-metric {
  min-width: 0;
}
.gjthb-metric__label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.6875rem;
  color: #7a7a7a;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gjthb-metric__value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}
.gjthb-metric--featured .gjthb-metric__value {
  font-size: 1.5rem;
  color: #c47d12;
}

.gjthb-dash__charts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gjthb-chart-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gjthb-chart-box {
  padding: 12px 12px 8px;
  border: 1px solid #e8e4dc;
  border-radius: 8px;
  background: #fff;
  min-width: 0;
}
.gjthb-chart-box--full {
  grid-column: 1 / -1;
}
.gjthb-chart-box__title {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #333;
}
.gjthb-chart {
  width: 100%;
  height: 220px;
}
.gjthb-chart--map {
  height: 280px;
}

/* 排行榜的价值 */
.gjthb-value {
  margin-bottom: 8px;
}
.gjthb-sec-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
}
.gjthb-sec-head__icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
.gjthb-sec-head__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1a2b2a;
}
.gjthb-value__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff9ee 0%, #fff4dc 100%);
  border: 1px solid rgba(200, 130, 20, 0.18);
}
.gjthb-value__text p {
  margin: 0;
  font-size: 0.875rem;
  color: #4a5568;
  line-height: 1.85;
}
.gjthb-value__text p + p {
  margin-top: 8px;
}
.gjthb-value__text strong {
  color: #c47d12;
  font-weight: 700;
}
.gjthb-value__illus {
  display: flex;
  justify-content: center;
  align-items: center;
}
.gjthb-value__illus img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

@media (max-width: 1024px) {
  .gjthb-dash__filters {
    grid-template-columns: repeat(2, 1fr);
  }
  .gjthb-dash__metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .gjthb-chart-row {
    grid-template-columns: 1fr;
  }
  .gjthb-value__box {
    grid-template-columns: 1fr;
  }
  .gjthb-value__illus {
    order: -1;
  }
}

@media (max-width: 768px) {
  .gjthb-page-title {
    padding-top: 100px;
  }
  .gjthb-hero {
    padding-bottom: 88px;
    min-height: 280px;
  }
  .gjthb-body {
    margin-top: -56px;
  }
  .gjthb-hero__inner {
    padding: 52px 20px 44px;
  }
  .gjthb-hero__title {
    font-size: 1.5rem;
  }
  .gjthb-body__inner {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 16px;
  }
  .gjthb-sidebar {
    position: static;
  }
  .gjthb-panel {
    padding: 16px 16px 0;
  }
  .gjthb-panel__body {
    margin: 0 -16px;
    padding: 0 16px 0;
  }
  .gjthb-panel .ssgs-cta-block {
    margin: 0 -16px;
  }
  .gjthb-panel__bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .gjthb-dash__filters {
    grid-template-columns: 1fr;
  }
  .gjthb-dash__metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .gjthb-chart {
    height: 200px;
  }
  .gjthb-chart--map {
    height: 240px;
  }
}
