/* 合伙人申请表单锚点：避开顶栏遮挡 */
#partner-apply,
#consult {
  scroll-margin-top: 88px;
}

/* 全站「之家」合伙人权益 · 图文大气版 */
.gf-pb {
  position: relative;
}

.gf-pb__core {
  position: relative;
  margin: 0 0 20px;
  padding: 20px 22px 18px;
  border-radius: 20px;
  border: 1px solid rgba(245, 197, 66, 0.5);
  background:
    linear-gradient(135deg, rgba(245, 197, 66, 0.22), rgba(20, 16, 10, 0.55) 42%, rgba(36, 28, 14, 0.7)),
    rgba(0, 0, 0, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 232, 180, 0.08);
}

.gf-pb__core-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe45a, #f5c542);
  color: #1a1200;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gf-pb__core strong {
  display: block;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 800;
  color: #fff8e8;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.gf-pb__core p {
  margin: 0;
  color: rgba(255, 240, 210, 0.86);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 52rem;
}

.gf-pb__card--core {
  border-color: rgba(245, 197, 66, 0.48);
  box-shadow: 0 14px 36px rgba(245, 197, 66, 0.12), 0 12px 32px rgba(0, 0, 0, 0.2);
}

.gf-pb__card--core .gf-pb__tag {
  background: linear-gradient(180deg, #fff1a0, #f5c542);
}

.gf-pb__hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 0 22px;
}

@media (min-width: 860px) {
  .gf-pb__hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }
}

.gf-pb__hero-main {
  position: relative;
  min-height: 220px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(245, 197, 66, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.gf-pb__hero-main img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.gf-pb__hero-main figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
}

.gf-pb__hero-main figcaption strong {
  display: block;
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  font-weight: 800;
  margin-bottom: 4px;
}

.gf-pb__hero-main figcaption span {
  font-size: 0.88rem;
  color: rgba(255, 240, 200, 0.88);
  line-height: 1.45;
}

.gf-pb__hero-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gf-pb__hero-side figure {
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gf-pb__hero-side img {
  width: 100%;
  height: 100%;
  min-height: 104px;
  object-fit: cover;
  display: block;
}

.gf-pb__hero-side figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 10px 8px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.gf-pb__banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(245, 197, 66, 0.35);
  background:
    radial-gradient(ellipse 70% 120% at 0% 0%, rgba(245, 197, 66, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 100% at 100% 100%, rgba(255, 255, 255, 0.05), transparent 50%),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.gf-pb__banner strong {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 800;
  color: #fff8e8;
  letter-spacing: 0.01em;
}

.gf-pb__banner span {
  color: rgba(230, 236, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

.gf-pb__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.gf-pb__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 197, 66, 0.28);
  background: rgba(245, 197, 66, 0.08);
  color: var(--gold, #f5c542);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.gf-pb__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 720px) {
  .gf-pb__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1020px) {
  .gf-pb__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gf-pb__card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gf-pb__card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 197, 66, 0.42);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.gf-pb__card-media {
  position: relative;
  height: 148px;
  overflow: hidden;
}

.gf-pb__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gf-pb__card:hover .gf-pb__card-media img {
  transform: scale(1.06);
}

.gf-pb__card-media .gf-pb__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe45a, #f5c542);
  color: #1a1200;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.gf-pb__card-body {
  padding: 16px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gf-pb__card-body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
}

.gf-pb__card-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--mute, #9ab0c4);
  flex: 1;
}

.gf-pb__card-body em {
  font-style: normal;
  color: var(--gold, #f5c542);
  font-weight: 700;
}

.gf-pb__card-body .gf-pb__point {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 232, 180, 0.9);
}

.gf-pb__teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0 8px;
}

@media (min-width: 800px) {
  .gf-pb__teaser {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gf-pb__teaser article {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(245, 197, 66, 0.22);
  background: rgba(245, 197, 66, 0.05);
}

.gf-pb__teaser img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.gf-pb__teaser .gf-pb__teaser-body {
  padding: 12px 12px 14px;
}

.gf-pb__teaser strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.98rem;
}

.gf-pb__teaser span {
  display: block;
  color: var(--mute, #9ab0c4);
  font-size: 0.84rem;
  line-height: 1.55;
}

/* 主站招商强调条 */
.vs-pb-strip {
  margin: 18px 0;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(240, 193, 75, 0.4);
  background:
    linear-gradient(120deg, rgba(240, 193, 75, 0.16), rgba(26, 124, 255, 0.12));
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
}

.vs-pb-strip__copy strong {
  display: block;
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.vs-pb-strip__copy p {
  margin: 0;
  color: rgba(215, 232, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

.vs-pb-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* —— 手机端合伙人权益 —— */
@media (max-width: 720px) {
  .gf-pb__core {
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 16px;
  }

  .gf-pb__core strong {
    font-size: 1.18rem;
    line-height: 1.35;
  }

  .gf-pb__core p {
    font-size: 0.9rem;
  }

  .gf-pb__hero {
    gap: 12px;
    margin-bottom: 18px;
  }

  .gf-pb__hero-main {
    min-height: 180px;
    border-radius: 16px;
  }

  .gf-pb__hero-side {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gf-pb__banner {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .gf-pb__stats {
    gap: 8px;
  }

  .gf-pb__stat {
    font-size: 0.78rem;
    padding: 8px 10px;
  }

  .gf-pb__grid {
    gap: 14px;
  }

  .gf-pb__card {
    border-radius: 16px;
  }

  .gf-pb__card-body {
    padding: 14px 16px 16px;
  }

  .gf-pb__card-body h3 {
    font-size: 1.05rem;
  }

  .gf-pb__card-body p {
    font-size: 0.88rem;
  }

  .gf-pb__teaser {
    gap: 12px;
    margin: 14px 0 10px;
  }

  .gf-pb__teaser article {
    border-radius: 14px;
  }

  .gf-pb__teaser img {
    height: 132px;
  }

  .gf-pb__teaser .gf-pb__teaser-body {
    padding: 12px 14px 14px;
  }

  .gf-pb__teaser strong {
    font-size: 0.95rem;
  }

  .gf-pb__teaser span {
    font-size: 0.82rem;
  }

  .vs-pb-strip {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .vs-pb-strip__actions {
    width: 100%;
  }

  .vs-pb-strip__actions .gf-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}
