/* ============================================================
   info-policy.css - 行业政策独有样式
   ============================================================ */

/* ============================================================
   行业政策列表页（Figma #1700:7535）
   - Banner：背景图 + 36px 白色标题 + 白色短横线 + 底部红/粉双条
   - 列表：3 列 × 3 行，卡片白底 16px 内边距，行列间距 24 / 80
   - 加载更多：177×47 描边按钮
   ============================================================ */
.policy-page {
  background: #F5F7FA;
}

.policy-hero {
  position: relative;
  height: 274px;
  overflow: hidden;
  background: url('../../assets/images/info-policy/policy-hero.webp') center center / cover no-repeat;
}

.policy-hero-inner {
  /* Figma 内容宽 1501 / 1920 = 78.18%，页面内居中 */
  width: 78.18%;
  max-width: 1501px;
  margin: 0 auto;
  padding-top: 80px;
}

.policy-hero-inner h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 54px;
  color: #FFFFFF;
}

.policy-hero-line {
  display: block;
  width: 75px;
  height: 5px;
  margin-top: 4px;
  background: #FFFFFF;
}

/* Banner 底部红 / 粉双条（各 5px） */
.policy-hero .banner-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  z-index: 2;
}

.policy-hero .strip-red,
.policy-hero .strip-pink {
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
}

.policy-hero .strip-red {
  top: 0;
  background: #DA0029;
}

.policy-hero .strip-pink {
  top: 5px;
  background: #EF93A4;
}

/* --- 列表区 --- */
.policy-list {
  padding: 40px 0 0;
  background: #F5F7FA;
}

.policy-container {
  width: 78.18%;
  max-width: 1501px;
  margin: 0 auto;
}

.policy-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 32px;
  margin: 0 0 6px;
}

.policy-section-title .title-text {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #57575C;
  white-space: nowrap;
}

.policy-section-title .title-line {
  width: 175px;
  height: 1px;
  background: linear-gradient(90deg, rgba(87, 87, 92, 0), rgba(87, 87, 92, 0.4));
}

.policy-section-title .title-line:last-child {
  background: linear-gradient(90deg, rgba(87, 87, 92, 0.4), rgba(87, 87, 92, 0));
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 24px;
  align-items: stretch;
}

/* --- 卡片 --- */
.policy-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px;
  background: #FFFFFF;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  transition: box-shadow 0.25s ease;
}

.policy-card:hover {
  box-shadow: 0 10px 28px rgba(31, 45, 61, 0.10);
}

.policy-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.policy-card-img {
  display: block;
  width: 100%;
  height: 249px;
  object-fit: cover;
}

.policy-card-title {
  height: 52px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.policy-card:hover .policy-card-title {
  color: #DA0029;
}

.policy-card-desc {
  height: 51px;
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 25.1px;
  color: #57575C;
  text-align: justify;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.policy-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.policy-card-date,
.policy-card-more {
  font-size: 14px;
  line-height: 21px;
  color: #93959D;
}

.policy-card-more {
  transition: color 0.2s ease;
}

.policy-card:hover .policy-card-more {
  color: #DA0029;
}

.policy-card:focus-visible {
  outline: 2px solid #DA0029;
  outline-offset: 2px;
}

/* --- 加载更多 --- */
.policy-more-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 0 80px;
}

.policy-more {
  width: 177px;
  height: 47px;
  border: 1px solid #57575C;
  background: transparent;
  font-size: 14px;
  line-height: 21px;
  color: #93959D;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.policy-more:hover:not(:disabled) {
  color: #DA0029;
  border-color: #DA0029;
}

.policy-more:disabled {
  color: #B9BBC1;
  border-color: #DBDFE8;
  cursor: not-allowed;
}

/* 空数据兜底 */
.policy-empty {
  grid-column: 1 / -1;
  padding: 80px 0;
  text-align: center;
  font-size: 16px;
  color: #93959D;
}

/* ============================================================
   行业政策详情页
   ============================================================ */
.policy-detail-page {
  background: #FFFFFF;
}

/* 详情页 Banner：高度 274，标题距顶 94（Figma #1703:9537 / #1703:9313） */
.policy-hero-detail {
  height: 274px;
  background-image: url('../../assets/images/info-policy/policy-detail-hero.webp');
}

.policy-hero-detail .policy-hero-inner {
  padding-top: 94px;
}

/* Figma #1703:9576 / #1728:9908：灰色标题 + 灰色短横线 */
.policy-hero-detail .policy-hero-inner h1 {
  color: #ffffff;
}

.policy-hero-detail .policy-hero-line {
  width: 64px;
  height: 5px;
  margin-top: 14px;
  background: #ffffff;
}

.policy-article {
  padding: 32px 0 26px;
}

.policy-article-inner {
  width: 78.4%;
  max-width: 1505px;
  margin: 0 auto;
}

/* --- 面包屑导航 --- */
.policy-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  line-height: 21px;
  color: #93959D;
}

.policy-breadcrumb a {
  color: #93959D;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.policy-breadcrumb-label {
  color: #57575C;
}

.policy-breadcrumb a:hover {
  color: #DA0029;
}

.policy-breadcrumb-sep {
  color: #C3C6CC;
}

.policy-breadcrumb-current {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  color: #57575C;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 返回列表：优先走浏览器返回，保留列表滚动位置与已加载条数 */
.policy-back {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  line-height: 21px;
  color: #57575C;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.policy-back:hover {
  color: #DA0029;
}

.policy-back:focus-visible {
  outline: 2px solid #DA0029;
  outline-offset: 2px;
}

.policy-detail-title {
  width: 100%;
  max-width: 1505px;
  margin: 63px auto 0;
  font-size: 36px;
  font-weight: 400;
  line-height: 48px;
  color: #000000;
  text-align: center;
}

.policy-detail-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 21px;
  color: #000000;
}

/* 详情封面：按接口原图尺寸显示，超宽时等比缩放并水平居中 */
.policy-detail-cover {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0;
}

/* 无配图时整块隐藏（display:block 会覆盖 [hidden] 的默认样式） */
.policy-detail-cover[hidden],
.policy-detail-meta[hidden],
.policy-detail-meta [hidden],
.policy-attach[hidden] {
  display: none;
}

/* --- 附件区 --- */
.policy-attach {
  margin-top: 32px;
  padding: 20px 24px;
  background: #F5F7FA;
}

.policy-attach-title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
}

.policy-attach-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-attach-list li + li {
  margin-top: 10px;
}

.policy-attach-list a {
  font-size: 14px;
  line-height: 24px;
  color: #57575C;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
  word-break: break-all;
}

.policy-attach-list a:hover {
  color: #DA0029;
}

.policy-detail-body {
  margin-top: 40px;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #000000;
}

.policy-detail-body p {
  margin: 0 0 24px;
  text-align: justify;
}

.policy-detail-body p:last-child {
  margin-bottom: 0;
}

/* 正文配图：保持接口原图尺寸，超宽时等比缩放并水平居中 */
.policy-detail-body img {
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

/* --- 文末品牌区：二维码在左，口号/热线/版权卡片在右（Figma #1703:9668 ~ #1703:9671） --- */
.policy-endorsement {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
  margin-top: 16px;
  padding-left: 66px;
  box-sizing: border-box;
}

.policy-endorsement-qr {
  display: block;
  width: 127px;
  height: 127px;
  object-fit: contain;
  flex: none;
}

.policy-endorsement-card {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 879px;
  padding: 26px 20px 18px;
  border: 1px solid #DBDFE8;
  box-sizing: border-box;
}

.policy-endorsement-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.policy-endorsement-slogan,
.policy-endorsement-phone {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 34px;
  color: #57575C;
  white-space: nowrap;
}

.policy-endorsement-note {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #57575C;
  text-align: center;
}

/* --- 上一篇 / 下一篇：单行左 / 右（Figma #1703:9608 / #1703:9609） --- */
.policy-pager {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 62px;
  padding: 24px 48px 0;
  border-top: 1px solid #E9EEF3;
}

.policy-pager-item {
  flex: 1 1 0;
  min-width: 0;
  max-width: 600px;
  display: block;
  text-decoration: none;
}

.policy-pager-next {
  text-align: right;
}

.policy-pager-label,
.policy-pager-title {
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #000000;
  transition: color 0.2s ease;
}

.policy-pager-title {
  display: inline-block;
  max-width: calc(100% - 80px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.policy-pager-item:hover .policy-pager-label,
.policy-pager-item:hover .policy-pager-title {
  color: #DA0029;
}

.policy-pager-item.is-disabled {
  cursor: default;
  pointer-events: none;
}

.policy-pager-item.is-disabled .policy-pager-label,
.policy-pager-item.is-disabled .policy-pager-title {
  color: #B9BBC1;
}

/* --- 载入中骨架（保持版式不跳动） --- */
.policy-skeleton {
  padding-top: 63px;
}

.sk-bar {
  display: block;
  background: #F0F2F5;
  border-radius: 2px;
  animation: skPulse 1.4s ease-in-out infinite;
}

.sk-title {
  width: 91%;
  max-width: 1368px;
  height: 44px;
  margin: 0 auto 16px;
}

.sk-title.sk-w70 {
  width: 64%;
  max-width: 960px;
}

.sk-meta {
  width: 220px;
  height: 18px;
  margin: 28px auto 0;
}

.sk-cover {
  width: 100%;
  height: 520px;
  margin-top: 40px;
}

.sk-line {
  width: 100%;
  height: 16px;
  margin-top: 24px;
}

.sk-line.sk-w70 {
  width: 70%;
}

@keyframes skPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* --- 加载失败 / 无数据 --- */
.policy-state {
  padding: 120px 0 80px;
  text-align: center;
}

.policy-state p {
  margin: 0 0 24px;
  font-size: 16px;
  color: #93959D;
}

.policy-retry {
  min-width: 140px;
  height: 44px;
  border: 1px solid #57575C;
  background: transparent;
  font-size: 14px;
  color: #57575C;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.policy-retry:hover {
  color: #DA0029;
  border-color: #DA0029;
}

.policy-back-link {
  font-size: 14px;
  color: #DA0029;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1440px) {
  .policy-hero-inner {
    padding-top: 120px;
  }

  .policy-hero-detail {
    height: 250px;
  }

  .policy-hero-detail .policy-hero-inner {
    padding-top: 78px;
  }
}

@media (max-width: 1200px) {
  .policy-hero {
    height: 274px;
  }

  .policy-hero-inner {
    padding-top: 110px;
  }

  .policy-hero-detail {
    height: 230px;
  }

  .policy-hero-detail .policy-hero-inner {
    padding-top: 68px;
  }

  .policy-card-img {
    height: 210px;
  }

  .policy-grid {
    row-gap: 60px;
  }

  .sk-cover {
    height: 400px;
  }
}

@media (max-width: 991px) {
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-section-title .title-line {
    width: 110px;
  }

  .policy-article-inner {
    width: 86%;
  }
}

@media (max-width: 767px) {
  .policy-hero {
    height: 274px;
  }

  .policy-hero-inner {
    padding-top: 90px;
  }

  .policy-hero-inner h1 {
    font-size: 28px;
    line-height: 42px;
  }

  .policy-list {
    padding-top: 40px;
  }

  .policy-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }

  .policy-card-img {
    height: 200px;
  }

  .policy-section-title .title-line {
    width: 60px;
  }

  .policy-more-wrap {
    padding: 32px 0 48px;
  }

  .policy-hero-detail {
    height: 200px;
  }

  .policy-hero-detail .policy-hero-inner {
    padding-top: 58px;
  }

  .policy-article {
    padding: 24px 0 56px;
  }

  .policy-article-inner {
    width: 92%;
  }

  .policy-detail-title {
    width: 100%;
    margin-top: 40px;
    font-size: 24px;
  }

  .policy-back {
    margin-left: 0;
  }

  .policy-detail-meta {
    gap: 16px;
    margin-top: 12px;
  }

  .policy-detail-cover {
    margin-top: 24px;
  }

  .policy-detail-body {
    margin-top: 24px;
    font-size: 15px;
    line-height: 28px;
  }

  .policy-skeleton {
    padding-top: 40px;
  }

  .sk-cover {
    height: 260px;
  }

  .policy-endorsement {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 28px;
    padding-left: 0;
  }

  .policy-endorsement-qr {
    width: 96px;
    height: 96px;
  }

  .policy-endorsement-card {
    flex: 1 1 100%;
    max-width: none;
    padding: 18px 16px 14px;
  }

  .policy-endorsement-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .policy-endorsement-slogan,
  .policy-endorsement-phone {
    font-size: 18px;
    line-height: 26px;
    white-space: normal;
  }

  .policy-endorsement-note {
    margin-top: 12px;
    font-size: 14px;
    line-height: 24px;
    text-align: left;
  }

  .policy-pager {
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
    padding: 20px 0 0;
  }

  .policy-pager-next {
    text-align: left;
  }

  .policy-pager-item {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .policy-hero {
    height: 274px;
  }

  .policy-hero-inner {
    padding-top: 76px;
  }

  .policy-hero-detail {
    height: 165px;
  }

  .policy-hero-detail .policy-hero-inner {
    padding-top: 46px;
  }

  .policy-hero-inner h1 {
    font-size: 24px;
    line-height: 36px;
  }

  .policy-detail-title {
    font-size: 20px;
  }

  .policy-card {
    padding: 12px;
  }

  .policy-card-img {
    height: 180px;
  }

  .policy-section-title .title-line {
    display: none;
  }
}


/* ============================================================
   Footer 产品中心嵌套展开样式（仅作用于本页，不影响全局 footer.css）
   - 一级：数字化物流 / 数字化供应链
   - 二级：多式联运 / 公路物流
   ============================================================ */



/* 外层 sub 的 l3 容器（内含内层 sub）：给内层 sub 之间加点间距 */
.footer-col-col-product > .footer-col-sub > .footer-col-l3 > .footer-col-sub {
  margin-bottom: 8px;
}

.footer-col-col-product > .footer-col-sub > .footer-col-l3 > .footer-col-sub:last-child {
  margin-bottom: 0;
}

/* 二级分组的 l3 内链：缩进一点，视觉上区分层级 */
.footer-col-col-product .footer-col-l3 > .footer-col-sub > .footer-col-l3 a {
  padding-left: 12px;
  position: relative;
}

.footer-col-col-product .footer-col-l3 > .footer-col-sub > .footer-col-l3 a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 1px;
  background: #999;
}
/* ============================================================
   内容容器宽度统一对齐 station-operation（2026-11-19）
   - 桌面端（>=769px）：列表 / 详情正文容器 83%
   - 移动端（<=768px）：列表 / 详情正文容器 100%
   - 仅调整外层内容容器宽度，页头 Banner 与其他样式不变
   ============================================================ */
@media (min-width: 769px) {
  .policy-container,
  .policy-article-inner {
    width: 83%;
    max-width: 83%;
  }
}

@media (max-width: 768px) {
  .policy-container,
  .policy-article-inner {
    width: 90%;
    max-width: 90%;
  }

  /* 768 边界宽度：文末品牌区允许换行，避免口号/热线撑出屏幕 */
  .policy-endorsement-top {
    flex-wrap: wrap;
  }

  .policy-endorsement-slogan,
  .policy-endorsement-phone {
    white-space: normal;
  }

  /* 手机端详情页：文末品牌区不显示二维码（footer 二维码不受影响） */
  .policy-endorsement-qr {
    display: none;
  }
}
