
/* ============================================================
   PC 右栏首页（pc_home.php）
   ============================================================ */
body.pg-pchome { background: #fff; }

.ph-wrap {
  max-width: 800px; margin: 0 auto;
  padding: 30px clamp(24px, 3vw, 44px) 48px;
}

/* 头部 */
.ph-h1 {
  font-size: 26px; font-weight: 700; letter-spacing: -.5px; margin: 0 0 8px;
}
.ph-sub { font-size: 13.5px; color: #6B7078; margin: 0 0 18px; line-height: 1.7; }
.ph-sub b { color: #16181B; font-weight: 600; }

.ph-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-bottom: 28px;
}
.ph-stat {
  background: #F7F8FA; border-radius: 12px; padding: 14px 16px;
}
.ph-stat b { display: block; font-size: 20px; font-weight: 700; color: #16181B; font-variant-numeric: tabular-nums; }
.ph-stat span { display: block; margin-top: 3px; font-size: 11.5px; color: #8E8E93; }

/* 区块标题 */
.ph-sec-h {
  font-size: 13px; font-weight: 700; color: #5A5F66;
  margin: 0 0 10px 2px;
}

/* 分类网格 */
.ph-cat-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 26px;
}
.ph-cat {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 12px 4px; border-radius: 12px; background: #F7F8FA;
  text-decoration: none; transition: background .15s;
}
.ph-cat:hover { background: #F1F2F5; }
.ph-cat i { display: inline-flex; }
.ph-cat i .mi { font-size: 21px; }
.ph-cat b { font-size: 12px; font-weight: 600; color: #2B2F36; }
.ph-cat span { font-size: 10.5px; color: #9AA0A6; }

/* 热门项目 */
.ph-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.ph-card {
  display: block; padding: 14px 16px; border-radius: 12px;
  border: 1px solid #EDEEF1; background: #fff; text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.ph-card:hover { border-color: #E0E2E6; box-shadow: 0 6px 18px rgba(17,24,39,.06); }

.ph-t {
  display: block; font-size: 14px; line-height: 1.5; font-weight: 600; color: #16181B;
  max-height: 42px; overflow: hidden;
}
.ph-meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.ph-cat-tag {
  font-size: 10.5px; padding: 2px 7px; border-radius: 5px;
  background: #FFF0F3; color: #B4233F;
}
.ph-eye { margin-left: auto; font-size: 11px; color: #A8ADB5; display: inline-flex; align-items: center; gap: 3px; }
.ph-eye .mi { font-size: 13px; }

.ph-author { display: flex; align-items: center; gap: 7px; margin-top: 10px; }
.ph-av { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; background: #F1F2F4; flex: none; }
.ph-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-av i { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-style: normal; font-size: 11px; color: #8E8E93; }
.ph-nick { font-size: 11.5px; color: #6B7078; }
.ph-ok { font-size: 10px; padding: 1px 5px; border-radius: 4px; background: #F0F8F3; color: #2F7D52; }

/* 发布引导 */
.ph-cta {
  display: flex; align-items: center; gap: 14px;
  margin-top: 26px;
  padding: 18px 20px; border-radius: 14px;
  background: linear-gradient(135deg, #FFF5F7, #FDF0F6);
  border: 1px solid #F6E3E8;
}
.ph-cta b { display: block; font-size: 14.5px; font-weight: 700; color: #16181B; }
.ph-cta span { display: block; margin-top: 3px; font-size: 12px; color: #7A6A6E; }
.ph-btn {
  margin-left: auto; flex: none;
  padding: 10px 20px; border-radius: 10px; text-decoration: none;
  background: #C41E3A; color: #fff; font-size: 13.5px; font-weight: 600;
}
.ph-btn:hover { background: #A9182F; }

.ph-tip {
  margin-top: 22px; text-align: center; font-size: 11.5px; color: #B0B4BA;
}

/* ---------- 项目推荐：App 那种横排列表 ---------- */
.ph-sec-h { display: flex; align-items: center; gap: 8px; }
.ph-sec-n {
  font-size: 10.5px; font-weight: 600; color: #C41E3A;
  background: #FFF0F3; padding: 1px 7px; border-radius: 5px;
}

.ph-recs { display: flex; flex-direction: column; gap: 8px; }

.ph-rec {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid #EDEEF1; background: #fff; text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.ph-rec:hover { border-color: #E0E2E6; box-shadow: 0 6px 18px rgba(17,24,39,.06); }

.ph-rec-img {
  width: 54px; height: 54px; border-radius: 9px; overflow: hidden; flex: none;
  background: linear-gradient(135deg, #FFF0F3, #FDF2F6);
  display: flex; align-items: center; justify-content: center;
}
.ph-rec-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-rec-img i {
  font-style: normal; font-size: 13px; font-weight: 700; color: rgba(196,30,58,.6);
}

.ph-rec-tx { flex: 1; min-width: 0; }
.ph-rec-tx b {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 14px; line-height: 1.45; font-weight: 600; color: #16181B;
}
.ph-rec-m { display: flex; align-items: center; gap: 9px; margin-top: 6px; font-size: 11px; color: #9AA0A6; }
.ph-rec-m em {
  font-style: normal; padding: 1px 7px; border-radius: 5px;
  background: #FFF0F3; color: #B4233F;
}

.ph-rec-go {
  flex: none; padding: 6px 14px; border-radius: 16px;
  border: 1px solid #F3D6DD; color: #C41E3A; font-size: 12.5px; font-weight: 600;
  background: #FFF8F9;
}
.ph-rec:hover .ph-rec-go { background: #FFF0F3; }


/* ===== 概览区 v2：大数字标题 + 一行统计 + 分类 chips ===== */
.ph-hero2 {
  padding: 22px 24px 18px !important;
  background: #fff;
  border: 1px solid #EFF0F3;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(17,24,39,.05);
  margin-bottom: 16px;
}
.ph-hero-top { display: flex; align-items: flex-start; gap: 16px; }
.ph-hero-top > div { flex: 1; min-width: 0; }

.ph-hero2 .ph-h1 {
  margin: 0;
  font-size: 24px !important;
  font-weight: 700 !important;
  letter-spacing: -.5px;
  color: #16181B;
  line-height: 1.35;
}
.ph-hero2 .ph-h1 b {
  font-size: 30px;
  font-weight: 800;
  color: #C41E3A;
  margin-right: 4px;
  letter-spacing: -1px;
}
.ph-hero2 .ph-sub {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: #9AA0AA;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.ph-hero2 .ph-sub .ph-new { color: #C41E3A; font-weight: 700; }
.ph-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: #D5D8DE; display: inline-block;
}

.ph-all {
  flex: none;
  height: 34px; padding: 0 16px;
  display: inline-flex; align-items: center;
  border-radius: 17px;
  background: #FFF0F3; color: #C41E3A;
  font-size: 12.5px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
}
.ph-all:hover { background: #FFE3E8; }

/* 分类 chips */
.ph-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid #F2F3F5;
}
.ph-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 13px;
  border-radius: 17px;
  background: #F7F8FA; border: 1px solid #EFF0F3;
  color: #3B4048; font-size: 13px; text-decoration: none;
  transition: all .15s;
}
.ph-chip i { display: inline-flex; }
.ph-chip i svg { width: 15px; height: 15px; }
.ph-chip b { font-weight: 600; }
.ph-chip span {
  font-size: 11.5px; font-weight: 700; color: #9AA0AA;
  background: #fff; border-radius: 9px; padding: 1px 7px;
}
.ph-chip:hover { background: #fff; border-color: #E1E3E8; box-shadow: 0 2px 8px rgba(17,24,39,.06); }
.ph-chip:hover b { color: #C41E3A; }
.ph-chip-more { background: #fff; border-style: dashed; color: #9AA0AA; }


/* ===== 概览区 v3：品牌展示块（更高、不可点的信息展示） ===== */
.ph-hero3 {
  position: relative;
  padding: 26px 26px 20px !important;
  border-radius: 18px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(196,30,58,.10) 0%, rgba(196,30,58,0) 46%),
    radial-gradient(90% 120% at 0% 100%, rgba(255,168,80,.12) 0%, rgba(255,168,80,0) 52%),
    #fff;
  border: 1px solid #F2E7EA;
  box-shadow: 0 2px 10px rgba(196,30,58,.06);
  margin-bottom: 18px;
  overflow: hidden;
}

.ph-hero3 .ph-hero-top { display: flex; align-items: flex-start; gap: 18px; }
.ph-hero3 .ph-hero-top > div { flex: 1; min-width: 0; }

.ph-hero3 .ph-h1 {
  margin: 0;
  font-size: 25px !important;
  font-weight: 700 !important;
  letter-spacing: -.6px;
  color: #16181B;
  line-height: 1.34;
}
.ph-hero3 .ph-h1 b {
  font-size: 34px; font-weight: 800; color: #C41E3A;
  margin-right: 5px; letter-spacing: -1.5px;
}

.ph-hero3 .ph-sub {
  margin: 9px 0 0;
  font-size: 12.5px; color: #9AA0AA;
  display: flex; align-items: center; flex-wrap: wrap; gap: 7px;
}
.ph-hero3 .ph-sub .ph-new { color: #C41E3A; font-weight: 700; }

/* 右上角年份徽标 */
.ph-badge {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  height: 30px; padding: 0 13px; border-radius: 15px;
  background: linear-gradient(135deg, #FF5B72, #C41E3A);
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .3px;
  box-shadow: 0 4px 12px rgba(196,30,58,.22);
  white-space: nowrap;
}
.ph-badge i { font-style: normal; font-size: 15px; font-weight: 800; }

/* 四个优势 */
.ph-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.ph-value {
  padding: 14px 14px 13px;
  border-radius: 13px;
  background: rgba(255,255,255,.86);
  border: 1px solid #F5EEF0;
  display: flex; flex-direction: column; gap: 5px;
}
.ph-value-ic {
  width: 30px; height: 30px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #FFF0F3; color: #C41E3A; margin-bottom: 3px;
}
.ph-value-ic svg { width: 17px; height: 17px; }
.ph-value b { font-size: 13.5px; font-weight: 700; color: #16181B; }
.ph-value span { font-size: 11.5px; line-height: 1.55; color: #9AA0AA; }

/* 分类分布：纯信息，不可点 */
.ph-catline {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px;
  margin-top: 18px; padding-top: 14px;
  border-top: 1px dashed #F0E6E9;
  font-size: 12px; color: #5A616B;
}
.ph-catline-k {
  font-size: 11px; font-weight: 700; letter-spacing: .5px; color: #B48D97;
  margin-right: 2px;
}
.ph-catline-i { display: inline-flex; align-items: center; gap: 5px; }
.ph-catline-i i { display: inline-flex; }
.ph-catline-i i svg { width: 14px; height: 14px; }
.ph-catline-i b { color: #9AA0AA; font-weight: 700; }
.ph-catline-more { color: #B4B9C0; }

@media (max-width: 1200px) {
  .ph-values { grid-template-columns: repeat(2, 1fr); }
}


/* 品牌 slogan 当主标题：整句深色，品牌名透红 */
.ph-hero3 .ph-h1 {
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: -.4px;
  color: #16181B;
}
.ph-hero3 .ph-h1 span {
  color: #C41E3A;
  margin-left: 2px;
}
/* 副标题里的数字更醒目一点 */
.ph-hero3 .ph-sub b {
  color: #16181B;
  font-weight: 800;
}
