/* 公正邮落地页 */
.page-justice main {
  padding-top: 0;
}

.just-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
  background-color: #1a1035;
  background-image:
    linear-gradient(105deg, rgba(18, 12, 42, 0.88) 0%, rgba(32, 24, 72, 0.72) 42%, rgba(24, 48, 96, 0.55) 100%),
    url('../images/justice/justice-hero-banner.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.just-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 48% 38%, rgba(255, 255, 255, 0.08), transparent 52%),
    linear-gradient(180deg, rgba(10, 8, 28, 0.12) 0%, rgba(10, 8, 28, 0.42) 100%);
  pointer-events: none;
}

.just-hero .container {
  position: relative;
  z-index: 1;
  padding: 88px 20px 44px;
}

.just-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.just-hero-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 16px;
  font-size: 13px;
  letter-spacing: 0.04em;
  border-radius: 20px;
  background: rgba(212, 168, 75, 0.16);
  border: 1px solid rgba(212, 168, 75, 0.38);
  color: #f5dfa0;
  backdrop-filter: blur(4px);
}

.just-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5.2vw, 54px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.38);
}

.just-hero-sub {
  max-width: 640px;
  margin: 0 auto 14px;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.28);
}

.just-hero-highlight {
  display: inline-block;
  background: linear-gradient(90deg, #ffe8a3 0%, #ffd56a 48%, #fff4cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28));
}

.just-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.just-hero-tags li {
  padding: 6px 14px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.just-hero-link {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 14px;
  color: #d4e4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.just-hero-link:hover {
  color: #fff;
}

.just-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.just-hero-btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.just-hero-btn-outline:hover {
  color: var(--primary, #236def);
  background: #fff;
  border-color: #fff;
}

.just-breadcrumb-wrap {
  padding: 16px 0;
  background: #f8f9fb;
  border-bottom: 1px solid var(--border-light, #e8ecf2);
}

.just-section {
  padding: 72px 0;
}

.just-section--gray {
  background: var(--gray-bg, #f8f9fb);
}

.just-section-title {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  color: var(--text-dark, #111f33);
}

.just-section-title span {
  color: var(--primary, #236def);
}

.just-section-lead {
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.85;
  text-align: center;
  color: var(--text-muted, #5a6578);
}

.just-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.just-benefit-card {
  position: relative;
  padding: 32px 28px 28px;
  background: #fff;
  border: 1px solid var(--border-light, #e8ecf2);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(17, 31, 51, 0.06);
}

.just-benefit-num {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--primary, #236def);
}

.just-benefit-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--text-dark, #111f33);
}

.just-benefit-card p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted, #5a6578);
}

.just-benefit-card a {
  font-size: 14px;
  font-weight: 600;
}

.just-about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.just-about-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border-light, #e8ecf2);
  border-radius: 12px;
}

.just-about-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
  color: #1a4480;
}

.just-about-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted, #5a6578);
}

.just-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  counter-reset: just-step;
}

.just-flow-item {
  padding: 28px 20px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border-light, #e8ecf2);
  border-radius: 12px;
  counter-increment: just-step;
}

.just-flow-item::before {
  content: counter(just-step, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--primary, #236def);
  border-radius: 50%;
}

.just-flow-item h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--text-dark, #111f33);
}

.just-flow-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted, #5a6578);
}

.just-cta {
  padding: 64px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
}

.just-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.just-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  font-size: 14px;
}

.just-cta-links a {
  color: var(--primary, #236def);
}

@media (max-width: 991px) {
  .just-benefit-grid,
  .just-about-grid,
  .just-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .just-section {
    padding: 52px 0;
  }

  .just-hero-actions,
  .just-cta-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .just-hero-actions .btn,
  .just-cta-actions .btn {
    width: 100%;
  }

  .just-hero-sub {
    font-size: 17px;
  }
}
