@charset "utf-8";
/* ============================================================
   专题60 · 《版权工作“十五五”规划》解读 — 首页
   设计稿：1920×2268，版心 1200
   本文件与切图素材同目录（images/），图片使用同级相对路径
   ============================================================ */

/* ---------- 全局重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
ul, li, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; border: 0; }
h1, h2, h3, h4 { font-weight: normal; font-size: inherit; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  color: #333;
  background: #F8F8F8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { width: 1200px; margin: 0 auto; }

/* ============================================================
   一、头部 Banner
   ============================================================ */
.banner {
  line-height: 0;
  background: #E51B18;
  overflow: hidden;
}
.banner__img { width: 100%; height: auto; }

/* ============================================================
   二、主内容区
   ============================================================ */
.main { padding-top: 59px; background: #F8F8F8; }

/* ---------- 2.1 规划简介卡 ---------- */
.intro {
  position: relative;
  height: 249px;
  background: linear-gradient(180deg, #FFFEFE 0%, #FBF1E1 100%);
  border: 1px solid #EFE7E7;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(180, 130, 110, .06);
  text-align: center;
}
/* 左上、右下红色角标 */
.intro::before,
.intro::after {
  content: '';
  position: absolute;
  width: 48px;
  height: 42px;
  border: 6px solid #E60012;
}
.intro::before {
  left: 29px;
  top: 30px;
  border-right: 0;
  border-bottom: 0;
}
.intro::after {
  right: 29px;
  bottom: 29px;
  border-left: 0;
  border-top: 0;
}

.intro__title {
  padding-top: 38px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: #000;
}
.intro__desc {
  max-width: 918px;
  margin: 25px auto 0;
  font-size: 14px;
  line-height: 24px;
  color: #333;
  text-align: justify;
}
.intro__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 126px;
  height: 34px;
  margin-top: 36px;
  border-radius: 17px;
  background: linear-gradient(180deg, #E51B18 0%, #BA0D0A 100%);
  font-size: 15px;
  color: #fff;
  transition: opacity .3s ease;
}
.intro__btn:hover { opacity: .88; }

/* ---------- 2.2 栏目卡片（3×3） ---------- */
.card-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 94px;
  row-gap: 113px;
  margin-top: 141px;
}
/* 单项：承载米色底块、细线框，白卡在其上 */
.card-list__item {
  position: relative;
  width: 320px;
  height: 322px;
}
/* 左上粉色底块 */
.card-list__item::before {
  content: '';
  position: absolute;
  left: -21px;
  top: -21px;
  z-index: 0;
  width: 302px;
  height: 310px;
  background: #FDE8E8;
}
/* 右下细线框 */
.card-list__item::after {
  content: '';
  position: absolute;
  left: 22px;
  top: 36px;
  z-index: 0;
  width: 315px;
  height: 304px;
  border: 1px solid #D1B2B2;
}

.plan-card {
  position: relative;
  z-index: 1;
  height: 322px;
  padding: 27px 24px 0;
  background: linear-gradient(180deg, #FBF0E1 0%, #FDFAF6 100%);
  border-radius: 2px 2px 38px 2px;
  box-shadow: 0 6px 14px rgba(180, 130, 110, .1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card-list__item:hover .plan-card {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(180, 130, 110, .18);
}
/* 左上红色角标 */
.plan-card::after {
  content: '';
  position: absolute;
  left: -37px;
  top: -38px;
  width: 36px;
  height: 37px;
  border: 6px solid #E60012;
  border-right: 0;
  border-bottom: 0;
}

.plan-card__title {
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .3s ease;
}
.card-list__item:hover .plan-card__title { color: #CE0E0B; }
.plan-card__desc {
  margin-top: 28px;
  font-size: 14px;
  line-height: 24px;
  color: #726E68;
  text-align: justify;
}
.plan-card__btn {
  position: absolute;
  left: 22px;
  bottom: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 106px;
  height: 34px;
  border-radius: 17px;
  background: linear-gradient(180deg, #E51B18 0%, #BA0D0A 100%);
  font-size: 14px;
  color: #fff;
  transition: opacity .3s ease, width .3s ease;
}
.plan-card__btn:hover { width: 118px; opacity: .9; }

/* ============================================================
   三、页脚
   ============================================================ */
.site-footer {
  margin-top: 105px;
  height: 112px;
  background: #B90B09;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  letter-spacing: 1px;
}

/* ============================================================
   四、内页（二级页 list.html / 内容页 detail.html）
   沿用专题59的版式，配色换成十五五的奶油底 + 正红
   ============================================================ */
.page-list .site-footer,
.page-article .site-footer { margin-top: 60px; }

/* 白色内容卡：与首页简介卡同一套质感 */
.panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px 90px 60px;
  background: linear-gradient(180deg, #FFFEFE 0%, #FBF1E1 100%);
  border: 1px solid #EFE7E7;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(180, 130, 110, .06);
}

/* 返回 + 正红分隔线 */
.panel__head {
  padding-bottom: 14px;
  border-bottom: 2px solid #E60012;
  line-height: 20px;
}
.panel__back {
  font-size: 14px;
  line-height: 20px;
  color: #333;
  transition: color .3s ease;
}
.panel__back:hover { color: #E60012; }

/* ---------- 4.1 文章列表 ---------- */
.article-list__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 71.6px;
  padding: 0 13px 0 19px;
  background-image: repeating-linear-gradient(90deg, #E3D6C7 0 1px, transparent 1px 2px);
  background-size: 100% 2px;
  background-position: left bottom;
  background-repeat: no-repeat;
}
/* 行首红色小方块 */
.article-list__item::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  background: #E60012;
}
.article-list__link {
  flex: 1;
  margin-right: 20px;
  font-size: 16px;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .3s ease;
}
.article-list__link:hover { color: #E60012; }
.article-list__date {
  flex: none;
  font-size: 16px;
  color: #000;
}

/* ---------- 4.2 系统分页 .pages ---------- */
.pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 52px;
  font-size: 13px;
  color: #333;
}
.pages .pages_a,
.pages .pages_go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border: 1px solid #C9B7A6;
  font-size: 13px;
  color: #333;
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}
.pages .pages_a:hover,
.pages .pages_go:hover { color: #fff; background: #E60012; border-color: #E60012; }
.pages .pages_a[href="javascript:;"],
.pages .pages_a[href="javascript:;"]:hover {
  color: #BBB;
  background: none;
  border-color: #E2DCD5;
  cursor: not-allowed;
}
/* 顺序重排：[首页][上一页][第X页][下一页][尾页] 共X页 [输入] GO */
.pages a:nth-last-of-type(4),
.pages a:nth-last-of-type(3) { order: 1; }
.pages a:nth-last-of-type(2),
.pages a:nth-last-of-type(1) { order: 3; }
.pages .pages_span:last-of-type { order: 2; }
.pages .pages_span:first-of-type { order: 4; }
.pages .pages_int { order: 5; }
.pages .pages_go { order: 6; }

.pages .pages_span:last-of-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 8px;
  background: #E60012;
  color: #fff;
}
.pages .pages_span:first-of-type {
  margin-left: 10px;
  font-size: 12px;
  color: #666;
}
.pages .pages_int {
  width: 36px;
  height: 24px;
  border: 1px solid #C9B7A6;
  text-align: center;
  font-family: inherit;
  font-size: 13px;
  color: #333;
  outline: none;
}
.pages .pages_int:focus { border-color: #E60012; }
.pages .pages_go { color: #E60012; }

/* ---------- 4.3 内容页正文 ---------- */
.panel--article { padding: 25px 145px 56px; }

.article__title {
  margin-top: 28px;
  font-size: 24px;
  line-height: 38px;
  font-weight: 700;
  color: #000;
  text-align: center;
}
.article__date {
  margin-top: 14px;
  font-size: 14px;
  line-height: 20px;
  color: #999;
  text-align: center;
}
.article__divider {
  height: 2px;
  margin-top: 22px;
  background-image: repeating-linear-gradient(90deg, #E3D6C7 0 1px, transparent 1px 2px);
}
.article__body {
  padding-top: 30px;
  font-size: 16px;
  line-height: 32px;
  color: #333;
  text-align: justify;
}
/* 正文图片：保持行内（靠外层 <p> 的 text-align:center 居中），只限制不溢出 */
.article__body img {
  max-width: 100% !important;
  height: auto !important;
}
/* 正文视频：编辑器写死 px 宽高，统一按 16:9 收进正文列 */
.article__body iframe,
.article__body video,
.article__body embed,
.article__body object {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}
.article__body p { line-height: 36px; }
.article__body p:last-child { margin-bottom: 0; }
.article__body h2 {
  margin: 30px 0 16px;
  font-size: 18px;
  line-height: 30px;
  font-weight: 700;
  color: #000;
}
/* 引文：红色竖线 + 奶油底 */
.article__body blockquote {
  margin: 28px 0;
  padding: 16px 22px;
  background: #F6E7D0;
  border-left: 3px solid #E60012;
  font-size: 15px;
  line-height: 28px;
  color: #6B4A38;
  text-align: justify;
}

/* ============================================================
   五、窄屏 / 移动端
   ============================================================ */
@media (hover: none) {
  .card-list__item:hover .plan-card { transform: none; box-shadow: 0 6px 14px rgba(180, 130, 110, .1); }
  .card-list__item:hover .plan-card__title { color: #000; }
  .plan-card__btn:hover { width: 106px; opacity: 1; }
}

/* ---------- ≤1239px：容器自适应 ---------- */
@media (max-width: 1239px) {
  .container { width: auto; padding: 0 24px; }
  .card-list { column-gap: 60px; row-gap: 90px; margin-top: 120px; }
  .intro__desc { padding: 0 40px; }
}

/* ---------- 768–991px：卡片两列 ---------- */
@media (max-width: 991px) and (min-width: 768px) {
  .card-list { column-gap: 50px; row-gap: 80px; margin-top: 100px; }
  .card-list__item::before { left: -14px; top: -14px; }
  .plan-card::after { left: -26px; top: -27px; }
}

/* ---------- ≤767px：手机版 ---------- */
@media (max-width: 767px) {
  .container { padding: 0 16px; }

  .banner__img { height: 150px; object-fit: cover; object-position: center; }

  .main { padding-top: 20px; }

  /* 简介卡：高度自适应，角标缩小 */
  .intro {
    height: auto;
    padding: 20px 18px 24px;
    border-radius: 6px;
  }
  .intro::before,
  .intro::after { width: 26px; height: 24px; border-width: 4px; }
  .intro::before { left: 10px; top: 10px; }
  .intro::after { right: 10px; bottom: 10px; }
  .intro__title { padding-top: 8px; font-size: 17px; line-height: 26px; }
  .intro__desc { margin-top: 14px; padding: 0; font-size: 13px; line-height: 22px; text-align: left; }
  .intro__btn { width: 112px; height: 32px; margin-top: 18px; font-size: 14px; }

  /* 卡片：单列，装饰整体内收 */
  .card-list {
    column-gap: 0;
    row-gap: 44px;
    margin-top: 76px;
  }
  .card-list__item {
    width: 100%;
    height: auto;
  }
  .card-list__item::before {
    left: -10px;
    right: 10px;
    top: -10px;
    bottom: 10px;
    width: auto;
    height: auto;
  }
  .card-list__item::after {
    left: 10px;
    right: -10px;
    top: 10px;
    bottom: -10px;
    width: auto;
    height: auto;
  }
  .plan-card {
    height: auto;
    padding: 22px 18px 76px;
    border-radius: 2px 2px 26px 2px;
  }
  .plan-card::after {
    left: -10px;
    top: -10px;
    width: 26px;
    height: 26px;
    border-width: 4px;
  }
  .plan-card__title { font-size: 17px; line-height: 26px; }
  .plan-card__desc { margin-top: 14px; font-size: 13px; line-height: 22px; }
  .plan-card__btn {
    left: 18px;
    bottom: 20px;
    width: 100px;
    height: 32px;
    font-size: 13px;
  }

  .site-footer {
    margin-top: 56px;
    height: 76px;
    font-size: 13px;
    letter-spacing: 0;
  }

  /* ---------- 内页：手机版 ---------- */
  .panel {
    padding: 16px 16px 32px;
    border-radius: 6px;
  }
  .panel__head { padding-bottom: 12px; }
  .article-list__item {
    height: auto;
    min-height: 56px;
    padding: 13px 0 13px 15px;
  }
  .article-list__item::before { left: 0; }
  .article-list__link {
    margin-right: 12px;
    font-size: 14px;
    line-height: 22px;
    white-space: normal;
  }
  .article-list__date { font-size: 12px; color: #999; }
  .pages { margin-top: 26px; gap: 5px; }
  .pages .pages_a,
  .pages .pages_go { padding: 0 8px; }
  .pages .pages_span:first-of-type { margin-left: 4px; }

  .panel--article { padding: 16px 16px 32px; }
  .article__title { margin-top: 18px; font-size: 19px; line-height: 30px; }
  .article__date { margin-top: 10px; font-size: 12px; }
  .article__divider { margin-top: 16px; }
  .article__body { padding-top: 22px; font-size: 15px; line-height: 28px; }
  .article__body p { margin-bottom: 18px; }
  .article__body h2 { margin: 22px 0 12px; font-size: 16px; line-height: 26px; }
  .article__body blockquote {
    margin: 20px 0;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 25px;
  }
  .page-list .site-footer,
  .page-article .site-footer { margin-top: 36px; height: 76px; }
}
