/* Better backpage graphics */

.jfd-backpage-graphic {
  max-width: 1180px;
  margin: 24px auto 34px;
  padding: 0 22px;
}

.jfd-backpage-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 24px;
  align-items: stretch;
}

.jfd-backpage-image {
  min-height: 430px;
  border-radius: 26px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
  box-shadow: 0 18px 48px rgba(0,0,0,.16);
}

.jfd-backpage-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.18), rgba(0,0,0,.02));
}

.jfd-backpage-panel {
  background: #f7f1e5;
  border: 1px solid #ded2bd;
  border-radius: 26px;
  padding: clamp(24px, 4vw, 42px);
}

.jfd-backpage-eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 900;
  color: #2f5f45;
  margin-bottom: 10px;
}

.jfd-backpage-panel h1,
.jfd-backpage-panel h2 {
  margin: 0 0 14px;
  line-height: 1.02;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.jfd-backpage-panel p {
  font-size: 1.07rem;
}

.jfd-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 22px;
}

.jfd-mini-card {
  background: #fff;
  border: 1px solid #ded2bd;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.jfd-mini-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #2f5f45;
  color: #fff;
  font-weight: 1000;
  margin-bottom: 12px;
}

.jfd-mini-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.jfd-mini-card p {
  margin: 0;
  font-size: .95rem;
}

.jfd-zone-diagram {
  background: #fff;
  border: 1px solid #ded2bd;
  border-radius: 24px;
  padding: 24px;
  margin-top: 22px;
}

.jfd-zone-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  margin: 12px 0;
}

.jfd-zone-label {
  font-weight: 900;
  color: #2f5f45;
}

.jfd-zone-bar {
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
}

.jfd-zone-zero { background: #fde7d8; }
.jfd-zone-one { background: #e7f4e9; }
.jfd-zone-two { background: #e8eef8; }

.jfd-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 22px;
}

.jfd-process-step {
  background: #fff;
  border: 1px solid #ded2bd;
  border-radius: 18px;
  padding: 18px;
  position: relative;
}

.jfd-process-num {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #2f5f45;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 1000;
  margin-bottom: 12px;
}

.jfd-fire-band {
  background: linear-gradient(135deg, #fff7e6, #f6ead5);
  border: 1px solid #ded2bd;
  border-radius: 22px;
  padding: 22px;
  margin-top: 22px;
}

.jfd-fire-band strong {
  color: #2f5f45;
}

@media (max-width: 950px) {
  .jfd-backpage-visual,
  .jfd-mini-grid,
  .jfd-process {
    grid-template-columns: 1fr;
  }

  .jfd-backpage-image {
    min-height: 300px;
    order: 1;
  }

  .jfd-backpage-panel {
    order: 2;
  }

  .jfd-zone-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .jfd-backpage-graphic {
    padding: 0 16px;
    margin-top: 14px;
  }

  .jfd-backpage-image,
  .jfd-backpage-panel,
  .jfd-zone-diagram,
  .jfd-fire-band {
    border-radius: 18px;
  }

  .jfd-backpage-image {
    min-height: 230px;
  }
}
