/* ============================================================
   hangye-rencai.css —— 排行条 + 画像卡 新骨架
   ============================================================ */

/* ---------- 首屏：左文右图 ---------- */
.hr-hero {
  position: relative;
  padding: 120px 0 140px;
  background: linear-gradient(100deg, #EAF6EF 0%, #F6FAF7 60%, #FFF7DC 100%);
  overflow: hidden;
}
.hr-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
}
.hr-kicker {
  display: inline-block;
  background: #41B383; color: #fff;
  font-weight: 700; border-radius: 20px; padding: 5px 16px; font-size: 14px;
}
.hr-title { font-size: 44px; line-height: 1.3; color: #153238; margin: 16px 0 16px; }
.hr-sub { font-size: 16.5px; line-height: 1.95; color: #2E4A50; max-width: 560px; }
.hr-actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.hr-hero-img img {
  width: 100%; border-radius: 18px;
  box-shadow: 0 18px 50px rgba(21,50,56,.18);
  aspect-ratio: 16/9; object-fit: cover;
}
.hr-hero-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; }

.split { line-height: 0; overflow: hidden; }
.split svg { display: block; width: 100%; height: 70px; }

/* ---------- 排行条 ---------- */
.hr-rank-list {
  max-width: 820px; margin: 40px auto 0;
  display: grid; gap: 16px;
}
.hr-bar-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 6px;
}
.hr-bar-head span:first-child { font-weight: 700; color: #153238; font-size: 15.5px; }
.hr-bar-num { color: #8AA3AA; font-size: 13px; }
.hr-bar-track {
  background: #EDF3F0;
  border-radius: 20px;
  height: 22px; overflow: hidden;
}
.hr-bar-fill {
  height: 100%; border-radius: 20px;
  transition: width .4s ease;
}
.bar-green { background: linear-gradient(90deg, #63C79B, #2E9B6E); }
.bar-blue { background: linear-gradient(90deg, #7CB6D9, #4493C4); }
.bar-yellow { background: linear-gradient(90deg, #FFE082, #F0B429); }
.w92 { width: 92%; }
.w86 { width: 86%; }
.w78 { width: 78%; }
.w72 { width: 72%; }
.w64 { width: 64%; }
.w58 { width: 58%; }
.w48 { width: 48%; }
.w42 { width: 42%; }
.hr-rank-note { text-align: center; margin-top: 20px; color: #8AA3AA; font-size: 13.5px; }

/* ---------- 画像卡 ---------- */
.hr-persona-row { gap: 18px; }
.hr-persona {
  background: #fff; border: 1px solid #E3EEE7;
  border-radius: 14px; padding: 26px 24px;
  position: relative;
  box-shadow: 0 6px 18px rgba(21,50,56,.06);
}
.hr-persona-no {
  position: absolute; top: -18px; left: 22px;
  width: 38px; height: 38px;
  background: #FFCE33; color: #153238;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(255,206,51,.4);
}
.hr-persona:nth-child(2) .hr-persona-no { background: #4493C4; color: #fff; }
.hr-persona:nth-child(3) .hr-persona-no { background: #41B383; color: #fff; }
.hr-persona h3 { font-size: 17px; color: #153238; margin: 10px 0 8px; }
.hr-persona p { color: #58727A; line-height: 1.9; font-size: 14.5px; }

/* ---------- 建议 ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-2 h3 { font-size: 18px; color: #153238; margin-bottom: 10px; }
.grid-2 p { color: #58727A; line-height: 2; font-size: 15px; margin-bottom: 10px; }
.hr-img-wide { margin-top: 26px; }
.hr-img-wide img { width: 100%; border-radius: 12px; aspect-ratio: 21/9; object-fit: cover; }

/* ---------- 提示条 ---------- */
.notice {
  margin: 46px 0;
  background: #FFF7DC;
  border: 1px dashed #FFCE33;
  border-radius: 12px;
  padding: 18px 24px;
  color: #5c4a12; line-height: 1.9; font-size: 15px;
}

/* ---------- 延伸卡 ---------- */
.hr-link-grid { gap: 16px; }
.hr-link {
  display: block; background: #fff;
  border: 1px solid #E3EEE7; border-radius: 10px;
  padding: 16px 20px; text-decoration: none;
  border-style: dashed; border-width: 1.5px;
  border-color: #CFE2D6;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hr-link:nth-child(3n+2) { border-color: #B9D8EC; }
.hr-link:nth-child(3n) { border-color: #FFE9A8; }
.hr-link strong { display: block; color: #153238; font-size: 16px; margin-bottom: 4px; }
.hr-link span { color: #8AA3AA; font-size: 13.5px; }
.hr-link:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(21,50,56,.12); }

/* ---------- CTA ---------- */
.hr-cta { position: relative; overflow: hidden; margin-top: 20px; }
.hr-cta > img { width: 100%; height: 300px; object-fit: cover; display: block; }
.hr-cta-mask { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(21,50,56,.88), rgba(21,50,56,.35)); }
.hr-cta-inner {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-end;
  text-align: right; padding: 0 8%; color: #fff;
}
.hr-cta-inner h2 { font-size: 28px; margin-bottom: 10px; }
.hr-cta-inner p { opacity: .92; margin-bottom: 16px; max-width: 480px; line-height: 1.8; }

/* ---------- 窄屏 ---------- */
@media (max-width: 900px) {
  .hr-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hr-title { font-size: 32px; }
  .hr-persona-row, .grid-2 { grid-template-columns: 1fr; }
  .hr-cta-inner { align-items: flex-start; text-align: left; }
}
@media (max-width: 640px) {
  .hr-actions { flex-direction: column; align-items: stretch; }
  .hr-actions .btn { width: 100%; }
}
