/*
Theme Name: Twenty Seventeen ESG
Template: twentyseventeen
Author: ChemPartner ESG
Description: Twenty Seventeen 子主题，定制 ESG 官网页脚（菜单/联系方式/社交/版权，深色配色，内容可后台自配）。
Version: 0.1.0
Text Domain: twentyseventeen-esg
*/

/* ===== 字体 Inter（免费开源 SIL OFL，本地托管）===== */
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/web/Inter-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/web/Inter-LightItalic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/web/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/web/Inter-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/web/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/web/Inter-MediumItalic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/web/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/web/Inter-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ===== 品牌颜色变量 (ChemPartner Brand Tokens) ===== */
:root {
  /* 主色 Primary */
  --cp-carbon: #1B1B1C;
  /* 近黑，主文字/深底 */
  --cp-oxide: #2E434E;
  /* 深岩蓝，锚定色/标题/页眉 */
  --cp-iron: #6F6E73;
  /* 中灰，次要文字/说明 */
  --cp-lumen: #C0CCCE;
  /* 浅灰，分隔线/边框/底纹 */
  --cp-catalyst: #F9FDFF;
  /* 近白，背景 */
  --cp-signal: #C8F758;
  /* 标志性亮绿，强调色 */
  /* 辅色 Secondary */
  --cp-beryl: #84CABF;
  /* 青 */
  --cp-lithium: #D399C3;
  /* 粉 */
  --cp-cobalt: #75A0D9;
  /* 蓝 */
  --cp-iodine: #C1B5E8;
  /* 紫 */
  --cp-sulfur: #ECC05A;
  /* 金 */
  /* 语义别名 */
  --cp-text: var(--cp-carbon);
  --cp-text-muted: var(--cp-iron);
  --cp-heading: var(--cp-oxide);
  --cp-bg: var(--cp-catalyst);
  --cp-border: var(--cp-lumen);
  --cp-accent: var(--cp-signal);
  --cp-accent-ink: var(--cp-carbon);
  /* 字体 */
  --cp-font-sans: "Inter", "Helvetica Neue", Arial,
    "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  /* 圆角/间距 */
  --cp-radius: 12px;
  --cp-radius-sm: 6px;
  --cp-space: 24px;
}

/* ===== 全局字体：所有元素默认使用 Inter 字体栈 ===== */
/* 必须和父主题选择器优先级一致：html[lang="zh-CN"] body 等 */
html[lang="zh-CN"] body,
html[lang="zh-CN"] button,
html[lang="zh-CN"] input,
html[lang="zh-CN"] select,
html[lang="zh-CN"] textarea,
body {
  font-family: var(--cp-font-sans);
}

html[lang^="zh-"] body,
html[lang^="zh-"] button,
html[lang^="zh-"] input,
html[lang^="zh-"] select,
html[lang^="zh-"] textarea,
body {
  font-family: var(--cp-font-sans);
}

/* ===== 首页左上角 Logo（独立设置项）===== */
.esg-home-logo {
  position: fixed;
  top: 20px;
  left: 2%;
  z-index: 1;
  /* 低于 .site-content-contain，作为背景装饰 */
}

/* 确保 .site-content-contain 在 Logo 上方 */
.site-content-contain {
  position: relative;
  z-index: 2;
  /* 粘滞页脚：flexbox 撑满视口，内容少时页脚贴底 */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  padding: 2.5em 0 0;
  flex: 1;
}

/* 移动端适配：缩小 Logo 宽度，防止超出视口 */
@media screen and (max-width: 768px) {
  .esg-home-logo {
    max-width: 120px !important;
    /* 覆盖内联样式 */
    left: 16px;
    /* 改用固定值 */
  }
}


/* ===== 前页面板块：左标题 / 右内容 两栏布局 ===== */
.twentyseventeen-panel .panel-content .wrap {
  max-width: 1200px;
  padding-left: 2em;
  padding-right: 2em;
}

/* 报告下载模块：当翻页按钮显示时，去掉板块底部留白（覆盖父主题） */
@media screen and (min-width: 48em) {
  .twentyseventeen-panel.esg-panel-has-nav .panel-content .wrap {
    padding-bottom: 2em !important;
  }
}

/* 首页板块标题字号（覆盖父主题 0.875rem） */
.page .panel-content .entry-title,
.page-title,
body.page:not(.twentyseventeen-front-page) .entry-title {
  font-size: 1.25rem;
}

@media screen and (min-width: 48em) {
  .twentyseventeen-panel .panel-content .wrap .entry-header {
    float: left !important;
    width: 30% !important;
    margin: 0 !important;
  }

  .twentyseventeen-panel .panel-content .wrap .entry-content {
    float: right !important;
    width: 66% !important;
    margin: 0 !important;
  }

  .twentyseventeen-panel .panel-content .wrap::after {
    content: "";
    display: table;
    clear: both;
  }
}

/* ===== 顶部导航栏：#32424d 背景 + 白色文字 ===== */
.navigation-top {
  background: #32424d;
  padding: 0.5em 0;
  border-top: 0;
  /* 去掉父主题的 border-top: 1px solid #eee */
}

/* 菜单文字白色 */
.navigation-top a {
  color: #fff;
  font-weight: 600;
}

/* hover / 当前页：Signal 亮绿 */
.navigation-top .main-navigation a:hover,
.navigation-top .main-navigation .current-menu-item>a,
.navigation-top .main-navigation .current_page_item>a {
  color: var(--cp-signal);
}

/* 桌面端子菜单（下拉菜单）：#32424d 背景 + 白色文字 */
@media screen and (min-width: 48em) {
  .navigation-top .main-navigation ul ul {
    background: #32424d;
    border-color: #32424d;
  }

  .navigation-top .main-navigation ul ul a {
    color: #fff;
  }

  .navigation-top .main-navigation ul ul a:hover,
  .navigation-top .main-navigation ul ul .current-menu-item>a,
  .navigation-top .main-navigation ul ul .current_page_item>a {
    color: var(--cp-signal);
    background: rgba(50, 66, 77, 0.8);
  }

  /* 三级菜单 */
  .navigation-top .main-navigation ul ul ul {
    background: #32424d;
    border-color: #32424d;
  }
}

/* ===== 导航栏布局：右侧工具栏（向下图标 + 语言切换）===== */
.navigation-top .wrap {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.navigation-top .main-navigation {
  flex: 1 1 auto;
  min-width: 0;
}

/* 右侧工具栏容器 */
.esg-nav-tools {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

/* ESG 报告下载按钮 */
.esg-nav-tools .esg-report-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4em 1.2em;
  margin-right: 12px;
  border: 1px solid #aadb1e;
  border-radius: 999px;
  /* 胶囊形状圆角 */
  color: #aadb1e;
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
  position: relative;
  transition: .4s;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.esg-nav-tools .esg-report-btn .download-icon {
  display: inline-block;
  vertical-align: middle;
}

.esg-nav-tools .esg-report-btn .download-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  transform: rotate(90deg);
  /* 旋转 arrow-right 图标 90 度，使其向下 */
}

.esg-nav-tools .esg-report-btn .download-icon svg path {
  fill: #aadb1e !important;
  /* 明确设置绿色，覆盖父主题 */
}

.esg-nav-tools .esg-report-btn:hover .download-icon svg path {
  fill: #000 !important;
  /* hover 时黑色 */
}

.esg-nav-tools .esg-report-btn:hover {
  background: #aadb1e;
  color: #000;
}

/* 向下图标 hover 文字提示 */
.esg-scroll-down__text {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  color: #fff;
  /* 白色文字，适配黑色导航栏 */
  background: var(--cp-oxide);
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}

.menu-scroll-down:hover .esg-scroll-down__text {
  opacity: 1;
  visibility: visible;
}

/* 中/EN 语言切换 */
.esg-lang-switch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  /* 白色边框，适配黑色导航栏 */
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  /* 半透明白底，适配黑色导航栏 */
}

.esg-lang-switch .esg-lang {
  display: inline-block;
  padding: 2px 10px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: #fff;
  /* 白色文字，适配黑色导航栏 */
  box-shadow: none !important;
  border-radius: 999px;
}

.esg-lang-switch .esg-lang.is-current {
  color: #fff;
  background: var(--cp-oxide);
}

.esg-lang-switch .esg-lang:not(.is-current):hover {
  color: var(--cp-signal);
  /* hover 亮绿强调 */
}

/* 移动端：隐藏 ESG 报告下载按钮，语言切换绝对定位 */
@media screen and (max-width: 47.9375em) {
  .esg-nav-tools {
    position: absolute;
    top: 1em;
    right: 1.2em;
    margin: 0;
  }

  .esg-report-btn {
    display: none;
  }
}

/* ===== 移动端菜单美化（≤47.9375em 显示折叠菜单） ===== */
@media screen and (max-width: 47.9375em) {
  .navigation-top .wrap {
    position: relative;
    padding-top: 0.4em;
    padding-bottom: 0.4em;
    padding-left: 1.2em;
    padding-right: 1.2em;
  }

  /* 切换器固定在导航栏右上角，菜单展开时不跟着移动 */
  .navigation-top .esg-lang-switch {
    position: absolute;
    top: 1em;
    right: 1.2em;
    margin: 0;
  }

  /* 折叠菜单触发按钮 */
  .main-navigation .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    margin: 0.6em 0;
    padding: 0.6em 1.2em;
    border: 0;
    border-radius: 8px;
    background: var(--cp-oxide);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(46, 67, 78, 0.2);
  }

  .main-navigation .menu-toggle:hover,
  .main-navigation .menu-toggle:focus {
    background: var(--cp-signal);
    color: var(--cp-carbon);
  }

  .main-navigation .menu-toggle .icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    margin: 0;
  }

  /* 展开后的菜单：适配 #32424d 导航栏 */
  .main-navigation ul {
    margin: 0.2em 0 0.8em;
    padding: 0.4em 0;
    background: #fff;
    /* 保持白色背景，与导航栏形成对比 */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .main-navigation ul li {
    border: 0;
  }

  .main-navigation ul li>a {
    padding: 0.95em 1.3em;
    font-size: 16px;
    font-weight: 600;
    color: var(--cp-oxide);
    /* 深岩蓝文字，白色背景上清晰可读 */
    border-bottom: 1px solid var(--cp-lumen);
  }

  .main-navigation ul>li:last-child>a {
    border-bottom: 0;
  }

  .main-navigation ul li>a:hover,
  .main-navigation ul .current-menu-item>a,
  .main-navigation ul .current_page_item>a {
    color: var(--cp-signal);
    background: rgba(46, 67, 78, 0.08);
  }

  /* 子菜单（ESG 下拉）缩进 + 深色背景 */
  .main-navigation ul ul {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: rgba(50, 66, 77, 0.5);
    /* #32424d 半透明背景 */
  }

  .main-navigation ul ul li>a {
    padding-left: 2.4em;
    font-weight: 500;
    color: #fff;
    /* 白色文字 */
  }

  .main-navigation ul ul li>a:hover,
  .main-navigation ul ul .current-menu-item>a,
  .main-navigation ul ul .current_page_item>a {
    color: var(--cp-signal);
    background: rgba(50, 66, 77, 0.8);
  }

  /* 下拉箭头按钮配色 */
  .main-navigation .dropdown-toggle {
    padding: 0.95em 1em;
  }

  .main-navigation .dropdown-toggle .icon {
    fill: #fff;
    /* 白色图标 */
  }
}

/* ===== 内页特色图视差（配合 parallax.js 的 translateY 位移） ===== */
.single-featured-image-header {
  overflow: hidden;
}

.single-featured-image-header img {
  display: block;
  width: 100%;
  height: auto;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .single-featured-image-header img {
    transform: none !important;
  }
}

/* ===== ESG 新闻归档列表（无侧栏，卡片：图片+标题+摘要） ===== */
body.esg-news-archive .wrap,
.esg-archive {
  max-width: 1120px;
}

.esg-archive__content {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.esg-archive__head {
  margin-bottom: 2rem;
}

.esg-news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 去掉 twentyseventeen 给链接加的深色下划线投影（含 hover/focus） */
.esg-news-list a,
.esg-news-list a:hover,
.esg-news-list a:focus,
.esg-single__back,
.esg-single__back:hover,
.esg-single .post-navigation a,
.esg-single .post-navigation a:hover {
  box-shadow: none !important;
}

/* 新闻列表：无卡片，图文清爽列表，条目间细分隔 */
.esg-news-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 26px 0;
  border-bottom: 1px solid var(--cp-lumen);
}

.esg-news-item:first-child {
  padding-top: 4px;
}

.esg-news-item:last-child {
  border-bottom: 0;
}

.esg-news-item__media {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  width: 260px;
  height: 165px;
}

.esg-news-item__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.esg-news-item:hover .esg-news-item__img {
  transform: scale(1.04);
}

.esg-news-item__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cp-oxide) 0%, var(--cp-cobalt) 100%);
}

.esg-news-item__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.esg-news-item__date {
  font-size: 13px;
  font-weight: 600;
  color: var(--cp-carbon);
}

.esg-news-item__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.esg-news-item__title a {
  color: var(--cp-oxide);
  text-decoration: none;
}

/* hover 保持 Oxide，不被父主题变黑 */
.esg-news-item__title a:hover,
.esg-news-item__title a:focus {
  color: var(--cp-oxide);
}

.esg-news-item__excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--cp-iron);
}

.esg-news-item__more {
  align-self: flex-start;
  font-weight: 600;
  color: var(--cp-oxide) !important;
  text-decoration: none;
}

.esg-news-item__more:hover,
.esg-news-item__more:focus {
  color: var(--cp-oxide) !important;
}

/* 分页器：品牌化样式 */
.esg-news-pagination {
  margin: 40px 0 20px;
  padding-top: 24px;
  border-top: 1px solid var(--cp-lumen);
  display: flex;
  justify-content: flex-end;
}

.esg-news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  margin: 0 4px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--cp-oxide);
  background: transparent;
  border: 1px solid var(--cp-lumen);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: none !important;
}

.esg-news-pagination .page-numbers:hover {
  background: var(--cp-signal);
  border-color: var(--cp-signal);
  color: var(--cp-carbon);
  box-shadow: none !important;
  text-decoration: none;
}

.esg-news-pagination .page-numbers.current {
  background: var(--cp-oxide);
  border-color: var(--cp-oxide);
  color: #fff;
  font-weight: 600;
  box-shadow: none !important;
}

.esg-news-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: var(--cp-iron);
  min-width: auto;
  padding: 0 4px;
}

.esg-news-pagination .page-numbers.dots:hover {
  background: transparent;
  color: var(--cp-iron);
  border-color: transparent;
}

.esg-news-pagination .next,
.esg-news-pagination .prev {
  font-weight: 600;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .esg-news-item {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .esg-news-item__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

/* ===== ESG 新闻详情：无侧栏，居中可读 ===== */
.wrap.esg-single {
  max-width: 860px;
}

.esg-single__content {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.esg-single__back {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cp-carbon);
  text-decoration: none;
}

.esg-single__title {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.3;
  color: var(--cp-oxide);
}

.esg-single__meta {
  font-size: 14px;
  font-weight: 600;
  color: var(--cp-carbon);
  text-align: center;
}

.esg-single__lead {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--cp-iron);
}

.esg-single__featured {
  margin: 26px 0;
}

.esg-single__featured img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.esg-single__header {
  padding-bottom: 1.75rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--cp-lumen);
}

.esg-single__body {
  font-size: 17px;
  line-height: 1.9;
  color: var(--cp-carbon);
}

.esg-single__body p {
  margin: 0 0 1.4em;
}

/* E·S·G 卡片板块：满宽、隐藏板块标题（覆盖两栏） */
@media screen and (min-width: 48em) {

  .twentyseventeen-panel.post-39 .panel-content .wrap .entry-header,
  .twentyseventeen-panel.post-84 .panel-content .wrap .entry-header {
    display: none;
  }

  .twentyseventeen-panel.post-39 .panel-content .wrap .entry-content,
  .twentyseventeen-panel.post-84 .panel-content .wrap .entry-content {
    float: none !important;
    width: 100% !important;
  }
}

/* 隐藏首页第一个板块（"首页"）的整个内容区 */
.twentyseventeen-panel:first-of-type .panel-content {
  display: none;
}

/* ===== E·S·G 卡片组件 ===== */
.esg-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.esg-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 34px 30px;
  background: var(--cp-catalyst);
  border-radius: 12px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.esg-card:hover {
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.esg-card--feature {
  background: var(--cp-signal);
  /* Signal 绿色背景 */
  color: var(--cp-carbon);
  /* Carbon 黑色文字 */
}

.esg-card__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  color: var(--cp-oxide);
}

.esg-card__icon svg {
  width: 100%;
  height: 100%;
}

.esg-card__title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  color: var(--cp-carbon);
}

.esg-card--feature .esg-card__lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--cp-carbon);
  /* Carbon 黑色文字 */
}

.esg-card__desc {
  margin: 0;
  flex: 1;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--cp-iron);
}

.esg-card__more {
  margin-top: auto;
  padding-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--cp-carbon);
  text-decoration: none;
  box-shadow: none !important;
  transition: gap 0.2s ease;
}

.esg-card__more:hover {
  gap: 11px;
  color: var(--cp-signal);
}

.esg-card--feature .esg-card__more {
  color: var(--cp-carbon);
  /* Carbon 黑色文字 */
}

.esg-card__arrow {
  margin-top: auto;
  padding-top: 22px;
  font-size: 22px;
  color: var(--cp-iron);
  text-decoration: none;
  box-shadow: none !important;
}

.esg-card:hover .esg-card__arrow {
  color: var(--cp-signal);
}

@media (max-width: 1000px) {
  .esg-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .esg-cards {
    grid-template-columns: 1fr;
  }
}

/* ===== 自定义页脚 ===== */
#colophon.esg-footer {
  background: var(--cp-carbon);
  color: #fff;
  padding: 0;
}

#colophon.esg-footer .wrap {
  max-width: 1200px;
  padding: 52px 2em 36px;
}

#colophon.esg-footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

#colophon.esg-footer a:hover {
  color: var(--cp-signal);
}

/* 顶部：logo + 社交 */
.esg-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 48px;
}

.esg-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* 去掉父主题 .custom-logo-link 的 padding-right:28px，让徽标与站点名贴近 */
.esg-footer__brand .custom-logo-link {
  display: inline-flex;
  margin: 0;
  padding: 0;
  line-height: 0;
}

/* 用 #colophon(ID) 提升优先级，压过父主题 body.home.has-header-image 的徽标尺寸规则 */
#colophon.esg-footer .esg-footer__brand .custom-logo,
#colophon.esg-footer .esg-footer__brand .custom-logo-link img {
  max-width: 240px;
  max-height: 66px;
  width: auto;
  height: auto;
}

/* =======================================================================
 * 隐私/法律页（body.esg-legal）：品牌浅底 + 白卡片，去绿条，减少两侧留白
 * ===================================================================== */
.esg-legal .site-content {
  background: var(--cp-catalyst);
  /* 冷调浅底，衬托白卡片（公司风格） */
}

/* 加宽内容区（仅隐私页正文 wrap，不影响导航/页脚）+ 解除父主题 740px 限制 */
.esg-legal .site-content .wrap {
  max-width: 1160px;
}

.esg-legal #primary,
.esg-legal .content-area {
  width: 100%;
  max-width: none !important;
}

/* 内容卡片：加宽（少留白）+ 圆角 + 柔和投影 */
.esg-legal .hentry {
  max-width: 1100px;
  margin: 36px auto;
  padding: 44px 52px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(46, 67, 78, 0.1);
}

.esg-legal .entry-header,
.esg-legal .entry-content {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.esg-legal .entry-header {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--cp-lumen);
}

.esg-legal .entry-title {
  font-size: 38px;
  line-height: 1.2;
  color: var(--cp-oxide);
}

.esg-legal .entry-content {
  color: var(--cp-iron);
  font-size: 16px;
  line-height: 1.85;
}

.esg-legal .entry-content>h2 {
  margin: 0 0 4px;
  font-size: 23px;
  font-weight: 700;
  color: var(--cp-carbon);
}

.esg-legal .entry-content>h2+p em {
  font-size: 14px;
}

/* 小节标题：去绿条，纯 Oxide 粗体 */
.esg-legal .entry-content h3 {
  margin: 36px 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--cp-oxide);
}

.esg-legal .entry-content p {
  margin: 0 0 16px;
}

.esg-legal .entry-content em {
  color: var(--cp-iron);
}

.esg-legal .entry-content a {
  color: var(--cp-oxide);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 列表：Beryl 圆点 */
.esg-legal .entry-content ul {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
}

.esg-legal .entry-content ul li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 22px;
}

.esg-legal .entry-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cp-beryl);
}

@media (max-width: 768px) {
  .esg-legal .hentry {
    padding: 26px 20px;
    margin: 18px 12px;
  }

  .esg-legal .entry-title {
    font-size: 28px;
  }
}

/* 每页顶部图：特色图作横幅时铺满裁剪（焦点 object-position 由 wp_head 注入） */
.custom-header-media .esg-banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-header-media:before {
  background: rgba(0, 0, 0, 0);
}

/* 本页隐藏顶部图时收起横幅高度 */
.esg-no-banner .custom-header-media {
  display: none;
}

.esg-no-banner.custom-header {
  height: auto !important;
  min-height: 0;
}

/* 页眉徽标尺寸上限（压过父主题 title-tagline-hidden+has-header-image 的 200px）。
   是否显示由「自定义器 → 站点标识 → 页眉横幅显示徽标」开关控制：
   关闭时 functions.php 在 wp_head 注入 #masthead .custom-logo-link{display:none}。 */
#masthead .custom-logo,
#masthead .custom-logo-link img {
  max-width: 350px;
  max-height: 80px;
  width: auto;
  height: auto;
}

.esg-footer__brand .esg-footer__site {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.esg-footer__social .social-links-menu {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.esg-footer__social .social-links-menu a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  color: #fff;
}

.esg-footer__social .social-links-menu a:hover {
  border-color: var(--cp-signal);
  color: var(--cp-signal);
}

.esg-footer__social .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* 微信图标：鼠标移入显示二维码气泡 */
.esg-social-wechat {
  position: relative;
  display: inline-flex;
}

.esg-social-qr {
  position: absolute;
  bottom: calc(100% + 12px);
  right: -8px;
  /* 贴近微信图标向左展开，避免超出视口右缘 */
  left: auto;
  transform: translateY(6px);
  z-index: 200;
  /* 高于右侧圆点导航(z-index:100) */
  box-sizing: border-box;
  width: 164px;
  /* 固定方框，否则被主题 img{max-width:100%} 压成窄条 */
  padding: 6px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.esg-social-qr::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 18px;
  /* 箭头对准微信图标中心 */
  border: 7px solid transparent;
  border-top-color: #fff;
}

.esg-social-qr img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  /* 覆盖主题 img{max-width:100%}，让二维码占满白框 */
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.esg-social-wechat:hover .esg-social-qr,
.esg-social-wechat:focus-within .esg-social-qr {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 中部：联系方式（第 3 工具区） */
.esg-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 32px;
  padding-bottom: 48px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.esg-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.esg-footer__menu li {
  margin: 0 0 18px;
}

.esg-footer__menu a {
  font-size: 17px;
}

.esg-footer__contact {
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: auto;
}

.esg-footer__contact .esg-foot-widget {
  text-align: left;
}

.esg-foot-widget {
  margin: 0 0 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.esg-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
}

.esg-contact-item+.esg-contact-item {
  margin-top: 8px;
}

.esg-contact-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--cp-signal);
}

.esg-contact-item a,
.esg-contact-item span {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color 0.2s ease;
}

.esg-contact-item a:hover {
  color: #fff;
}

.esg-foot-wtitle {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
}

/* 底部：版权 + 隐私 */
.esg-footer__bottom {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
}

.esg-footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .esg-footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .esg-footer__cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* 移动端联系方式改为居左对齐 */
  .esg-footer__contact {
    align-items: flex-start;
    margin-left: 0;
    max-width: none;
  }

  .esg-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* =======================================================================
 * ESG 内容页（方案 A 沉稳科学）— page-esg-content.php
 * 品牌依据：.claude/skills/chempartner-brand/（令牌镜像自 brand-tokens.css）
 * ===================================================================== */
.esg-ct {
  font-family: var(--cp-font-sans);
}

/* ---- Hero（通栏深色）---- */
.esg-ct-hero {
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 48px;
  padding: 52px 0;
  background: var(--cp-oxide);
  overflow: hidden;
}

.esg-ct-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2em;
}

.esg-ct-hero__eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--cp-signal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.esg-ct-hero__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.esg-ct-hero__icon {
  flex: none;
  display: inline-flex;
  width: 44px;
  height: 44px;
  color: var(--cp-signal);
}

.esg-ct-hero__icon svg {
  width: 100%;
  height: 100%;
}

.esg-ct-hero__title {
  margin: 0;
  color: var(--cp-catalyst);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.esg-ct-hero__sub {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--cp-lumen);
  font-size: 16px;
  line-height: 1.7;
}

/* Array 6×6 圆点母题（或可配置装饰图）。
   现为通栏 .esg-ct-hero 的直接子元素，right 相对视口 → 更贴近屏幕右缘。 */
.esg-ct-hero__array {
  position: absolute;
  top: 50%;
  right: 3%;
  transform: translateY(-50%);
  width: 180px;
  height: 180px;
  background-image: radial-gradient(var(--cp-beryl) 2.6px, transparent 3px);
  background-size: 22px 22px;
  opacity: 0.45;
  z-index: 0;
}

/* 可配置装饰图变体：内联 background-image 由模板注入，此处只管填充方式。 */
.esg-ct-hero__array--img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  opacity: 1;
}

/* ---- 两栏布局 ---- */
.esg-ct-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2em 40px;
}

@media screen and (min-width: 783px) {
  .esg-ct-layout {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 54px;
    align-items: start;
  }
}

/* ---- 锚点导航（sticky）---- */
.esg-ct-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media screen and (min-width: 783px) {
  .esg-ct-nav {
    position: sticky;
    top: 90px;
    align-self: start;
  }
}

.esg-ct-nav__link {
  display: block;
  padding: 9px 0 9px 16px;
  border-left: 2px solid var(--cp-lumen);
  color: var(--cp-iron);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: none !important;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.esg-ct-nav__link:hover {
  color: var(--cp-oxide);
}

.esg-ct-nav__link.is-active {
  border-left: 3px solid var(--cp-signal);
  color: var(--cp-oxide);
  font-weight: 700;
}

@media screen and (max-width: 782px) {
  .esg-ct-nav {
    margin-bottom: 24px;
    overflow-x: auto;
  }

  .esg-ct-nav__list {
    display: flex;
    gap: 8px;
    white-space: nowrap;
  }

  .esg-ct-nav__link {
    border-left: 0;
    border-bottom: 2px solid var(--cp-lumen);
    padding: 6px 4px;
  }

  .esg-ct-nav__link.is-active {
    border-left: 0;
    border-bottom: 3px solid var(--cp-signal);
  }
}

/* ---- 内容排版 ---- */
.esg-ct-body {
  color: var(--cp-carbon);
  font-size: 17px;
  line-height: 1.95;
}

.esg-ct-body h2 {
  margin: 2.6em 0 0.8em;
  padding-left: 16px;
  border-left: 4px solid var(--cp-signal);
  color: var(--cp-oxide);
  font-size: 26px;
  font-weight: 600;
  scroll-margin-top: 90px;
}

.esg-ct-body>*:first-child,
.esg-ct-body h2:first-child {
  margin-top: 0;
}

.esg-ct-body h3 {
  margin: 1.8em 0 0.6em;
  color: var(--cp-oxide);
  font-size: 19px;
  font-weight: 600;
}

.esg-ct-body p {
  margin: 0 0 1.3em;
}

.esg-ct-body a {
  color: var(--cp-oxide);
  text-decoration: underline;
  text-decoration-color: var(--cp-signal);
  text-underline-offset: 3px;
}

/* 勾选清单 */
.esg-ct-checklist {
  list-style: none;
  margin: 1.2em 0;
  padding: 0;
}

.esg-ct-checklist li {
  position: relative;
  margin: 0 0 0.9em;
  padding-left: 34px;
}

.esg-ct-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  background: var(--cp-signal);
  color: var(--cp-carbon);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

/* 数据卡片 */
.esg-ct-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin: 1.4em 0 2em;
}

.esg-ct-stat {
  padding: 24px 22px;
  background: var(--cp-catalyst);
  border: 1px solid var(--cp-lumen);
  border-top: 3px solid var(--cp-signal);
  border-radius: var(--cp-radius);
}

.esg-ct-stat__num {
  display: block;
  color: var(--cp-oxide);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.esg-ct-stat__label {
  display: block;
  margin-top: 12px;
  color: var(--cp-iron);
  font-size: 14px;
  line-height: 1.6;
}

/* 内容区表格（如「年度关键绩效」）：Signal 顶条 + Oxide 表头 + 斑马纹 */
.esg-ct-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 15px;
  border: 1px solid var(--cp-lumen);
  border-top: 3px solid var(--cp-signal);
  border-radius: var(--cp-radius);
  overflow: hidden;
}

.esg-ct-body table th,
.esg-ct-body table td {
  padding: 13px 18px;
  border: 1px solid var(--cp-lumen);
  text-align: left;
  vertical-align: top;
}

.esg-ct-body table thead th,
.esg-ct-body table th {
  background: var(--cp-oxide);
  color: var(--cp-catalyst);
  font-weight: 600;
}

.esg-ct-body table tbody tr:nth-child(even) td {
  background: var(--cp-catalyst);
}

.esg-ct-body table tbody tr:hover td {
  background: rgba(200, 247, 88, 0.1);
}

.esg-ct-body .wp-block-table {
  margin: 1.6em 0;
}

.esg-ct-body .wp-block-table table {
  margin: 0;
}

/* ===== 公司荣誉：图片卡片网格（archive-esg_honor）===== */
.esg-honors-archive {
  position: relative;
  max-width: 1160px;
}

/* 两侧淡 Array 点阵装饰 */
.esg-honors-archive::before,
.esg-honors-archive::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--cp-beryl) 2px, transparent 2.6px);
  background-size: 20px 20px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.esg-honors-archive::before {
  top: 70px;
  right: 4px;
}

.esg-honors-archive::after {
  bottom: 60px;
  left: 4px;
}

.esg-honors-hd,
.esg-honors-archive .esg-tl {
  position: relative;
  z-index: 1;
}

.esg-honors-hd {
  text-align: center;
  padding: 26px 0 38px;
}

.esg-honors-hd__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--cp-signal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.esg-honors-hd__title {
  margin: 0;
  color: var(--cp-oxide);
  font-size: 32px;
  font-weight: 600;
}

.esg-honors-hd__sub {
  margin: 12px auto 0;
  max-width: 560px;
  color: var(--cp-iron);
  font-size: 16px;
  line-height: 1.7;
}

/* 按年分组 */
.esg-hy {
  margin-bottom: 36px;
  padding-top: 28px;
}

.esg-hy__label {
  display: inline-block;
  margin: 0 0 20px;
  padding: 5px 0 5px 14px;
  border-left: 4px solid var(--cp-signal);
  color: var(--cp-oxide);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

/* 公司荣誉：平铺网格布局，一行 6 个 */
.esg-htiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  padding: 40px 0;
}

/* 平铺卡片容器 */
.esg-htile {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* 图片容器（带圆角和阴影） */
.esg-htile__hex-wrap {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(200, 247, 88, 0.15);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.esg-htile:hover .esg-htile__hex-wrap {
  box-shadow: 0 10px 30px rgba(200, 247, 88, 0.28);
  transform: translateY(-4px);
}

/* 移除六边形边框层 */
.esg-htile__hex-border {
  display: none;
}

/* 图片内层容器 */
.esg-htile__hex-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: transparent;
}

/* 标题区域 */
.esg-htile__title-wrap {
  margin-top: 12px;
  width: 100%;
  text-align: center;
  position: relative;
}

.esg-htile__name {
  margin: 0;
  color: var(--cp-oxide);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  padding: 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 悬浮提示框：显示完整标题 */
.esg-htile__name::after {
  content: attr(data-title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: max-content;
  max-width: 280px;
  padding: 8px 12px;
  background: var(--cp-oxide);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(46, 67, 78, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}

/* 悬浮提示框小箭头 */
.esg-htile__name::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  border: 6px solid transparent;
  border-top-color: var(--cp-oxide);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}

/* 鼠标移入时显示悬浮提示 */
.esg-htile:hover .esg-htile__name::after,
.esg-htile:hover .esg-htile__name::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.esg-htile__media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.esg-htile__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 响应式：中小屏幕减少每行数量 */
@media screen and (max-width: 1400px) {
  .esg-htiles {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 900px) {
  .esg-htiles {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .esg-htile__hex-wrap {
    width: 120px;
    height: 120px;
  }
}

@media screen and (max-width: 600px) {
  .esg-htiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .esg-htile__hex-wrap {
    width: 100px;
    height: 100px;
  }

  .esg-htile__name {
    font-size: 12px;
  }
}

/* =======================================================================
 * 【可复用组件】纵向历史时间轴（.esg-tl / honors-tl.js）
 * 公司荣誉已改平铺布局，本组件保留供「其他页面」复用：
 *   - 页面输出 .esg-tl 结构（见旧 archive-esg_honor.php 历史版本）
 *   - 并 enqueue honors-tl.js（滚动进度填充 + 节点点亮）
 * ===================================================================== */
.esg-tl {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 4px 0 30px;
}

/* 点线轨道（虚线由 mask 实现，便于上方渐变进度填充）*/
.esg-tl::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: var(--cp-lumen);
  -webkit-mask: repeating-linear-gradient(to bottom, #000 0 4px, transparent 4px 12px);
  mask: repeating-linear-gradient(to bottom, #000 0 4px, transparent 4px 12px);
}

/* 随滚动生长的渐变进度填充（Oxide → Signal）*/
.esg-tl__progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 0;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--cp-oxide), var(--cp-signal));
  -webkit-mask: repeating-linear-gradient(to bottom, #000 0 4px, transparent 4px 12px);
  mask: repeating-linear-gradient(to bottom, #000 0 4px, transparent 4px 12px);
  z-index: 1;
  transition: height 0.12s linear;
}

.esg-tl__year {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  margin: 34px auto 20px;
  padding: 9px 26px;
  background: linear-gradient(135deg, var(--cp-oxide), var(--cp-oxide));
  color: #fff;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 8px 22px rgba(46, 67, 78, 0.3);
}

.esg-tl__year::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cp-signal);
  box-shadow: 0 0 0 3px rgba(200, 247, 88, 0.25);
}

.esg-tl__item {
  position: relative;
  width: 50%;
  box-sizing: border-box;
  padding: 12px 42px;
}

.esg-tl__item.is-left {
  left: 0;
}

.esg-tl__item.is-right {
  left: 50%;
}

.esg-tl__item::after {
  content: "";
  position: absolute;
  top: 30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cp-lumen);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--cp-lumen);
  z-index: 2;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.esg-tl__item.is-left::after {
  right: -7px;
}

.esg-tl__item.is-right::after {
  left: -7px;
}

/* 滚动经过 → 节点点亮（Signal + 光晕）；鼠标移入卡片 → 该节点也点亮，移出恢复 */
.esg-tl__item.is-active::after,
.esg-tl__item:has(.esg-tl__card:hover)::after {
  background: var(--cp-signal);
  box-shadow: 0 0 0 1px var(--cp-signal), 0 0 0 6px rgba(200, 247, 88, 0.28);
}

/* 圆点到卡片的细连接线 */
.esg-tl__item::before {
  content: "";
  position: absolute;
  top: 36px;
  width: 30px;
  height: 2px;
  background: var(--cp-lumen);
  z-index: 0;
}

.esg-tl__item.is-left::before {
  right: 6px;
}

.esg-tl__item.is-right::before {
  left: 6px;
}

.esg-tl__card {
  position: relative;
  z-index: 1;
  padding: 18px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(200, 247, 88, 0.16);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.esg-tl__card:hover {
  box-shadow: 0 16px 40px rgba(200, 247, 88, 0.3);
  transform: translateY(-3px);
}

.esg-tl__date {
  color: var(--cp-iron);
  font-size: 13px;
  font-weight: 700;
}

.esg-tl__name {
  margin: 6px 0 0;
  color: var(--cp-oxide);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.esg-tl__media {
  margin-top: 12px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cp-catalyst);
}

.esg-tl__img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.esg-tl__desc {
  margin: 10px 0 0;
  color: var(--cp-iron);
  font-size: 13.5px;
  line-height: 1.55;
}

@media screen and (max-width: 720px) {

  .esg-tl::before,
  .esg-tl__progress {
    left: 18px;
    transform: none;
  }

  .esg-tl__year {
    margin: 26px 0 16px;
  }

  .esg-tl__item,
  .esg-tl__item.is-left,
  .esg-tl__item.is-right {
    width: 100%;
    left: 0;
    padding: 10px 0 10px 44px;
  }

  .esg-tl__item.is-left::after,
  .esg-tl__item.is-right::after {
    left: 11px;
    right: auto;
  }

  .esg-tl__item.is-left::before,
  .esg-tl__item.is-right::before {
    left: 18px;
    right: auto;
    width: 22px;
  }
}

/* 资质认证（容器页区块内容，渲染在时间轴下方）*/
.esg-acc-wrap {
  /* 左对齐，与上方荣誉卡片同起点（原 auto 居中会在左侧留空白） */
  margin: 10px 0 0;
}

.esg-acc-wrap h2 {
  margin: 0 0 6px;
  padding-left: 14px;
  border-left: 4px solid var(--cp-signal);
  color: var(--cp-oxide);
  font-size: 24px;
  font-weight: 600;
}

.esg-acc-wrap h3 {
  display: inline-block;
  margin: 24px 0 14px;
  padding: 4px 16px;
  background: var(--cp-oxide);
  color: #fff;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 600;
}

.esg-acc-wrap ul {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.esg-acc-wrap ul li {
  padding: 7px 16px;
  background: var(--cp-signal);
  border: 1px solid var(--cp-lumen);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--cp-carbon);
}

@media screen and (max-width: 600px) {
  .esg-ct-hero {
    padding: 44px 0;
  }

  .esg-ct-hero__title {
    font-size: 30px;
  }

  .esg-ct-hero__array {
    display: none;
  }
}

/* =======================================================================
 * 首页右侧圆点章节导航 — home-nav.js
 * ===================================================================== */
.esg-home-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.esg-home-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 14px;
  text-decoration: none;
  box-shadow: none !important;
}

.esg-home-nav__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1.5px var(--cp-oxide), 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.esg-home-nav__item:hover .esg-home-nav__dot {
  transform: scale(1.25);
  background: var(--cp-signal);
  box-shadow: 0 0 0 2px var(--cp-oxide);
}

.esg-home-nav__item.is-active .esg-home-nav__dot {
  background: var(--cp-signal);
  box-shadow: 0 0 0 2px var(--cp-oxide);
  transform: scale(1.5);
}

.esg-home-nav__label {
  position: absolute;
  right: 24px;
  white-space: nowrap;
  padding: 5px 11px;
  background: var(--cp-oxide);
  color: var(--cp-catalyst);
  font-size: 13px;
  line-height: 1.2;
  border-radius: 7px;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.esg-home-nav__label::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--cp-oxide);
  border-right: 0;
}

.esg-home-nav__item:hover .esg-home-nav__label,
.esg-home-nav__item.is-active .esg-home-nav__label {
  opacity: 1;
  transform: translateX(0);
}

@media screen and (max-width: 782px) {
  .esg-home-nav {
    display: none;
  }
}

/* ===== 404 页面：品牌化、无搜索框、无侧栏 ===== */
.esg-404 .content-area {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
}

.esg-404 .error-404 {
  text-align: center;
  padding: 4em 0 6em;
}

.esg-404__code {
  display: block;
  font-size: 6em;
  font-weight: 700;
  color: var(--cp-oxide);
  line-height: 1;
  margin-bottom: 0.2em;
  letter-spacing: -0.02em;
}

.esg-404 .page-title {
  font-size: 1.6em;
  margin-bottom: 1em;
}

.esg-404 .page-content p {
  font-size: 1.1em;
  color: var(--cp-iron);
  margin-bottom: 2em;
}

.esg-404__home {
  display: inline-block;
  padding: 0.6em 1.8em;
  border: 2px solid var(--cp-oxide);
  border-radius: 4px;
  color: var(--cp-oxide);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.esg-404__home:hover {
  background: var(--cp-oxide);
  color: #fff;
}

/* ===== 公司荣誉页专用样式 ===== */
/* 隐藏 eyebrow 眉标 */
.esg-honors-hd__eyebrow {
  display: none;
}

/* 去掉公司荣誉页 .site-content 的 padding（覆盖父主题 2.5em） */
body.esg-honors-page .site-content {
  padding: 0;
}

/* ===== ESG 内容页：防止 .esg-ct-hero 通栏负 margin 导致横向溢出 ===== */
body.esg-ct-page .site-content-contain {
  overflow-x: hidden;
}