
/* ---- Scope everything under .pjh-hero ---------------------------------- */
.pjh-hero,
.pjh-hero *,
.pjh-hero *::before,
.pjh-hero *::after {
  box-sizing: border-box;
}

.pjh-hero {
  /* Local theme tokens – tweak here only */
  --pjh-teal: #1f9c8e;          /* rule colour */
  --pjh-ink: #2b2b2b;           /* headings */
  --pjh-body: #5c6b70;          /* paragraph text */
  --pjh-max: 1180px;

  display: block;
  width: 100%;
  padding: 64px 24px;
  background: transparent;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.pjh-hero__inner {
  max-width: var(--pjh-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

/* ---- Media ----------------------------------------------------------- */
.pjh-hero__media {
  margin: 0;
  min-width: 0;
}

.pjh-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* ---- Content -------------------------------------------------------- */
.pjh-hero__content {
  min-width: 0;
}

.pjh-hero__title {
  margin: 0;
  font-size: clamp(1.9rem, 1.2rem + 2vw, 2.65rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--pjh-ink);
}

.pjh-hero__rule {
  display: block;
  width: 56px;
  height: 3px;
  margin: 22px 0 26px;
  background: var(--pjh-teal);
  border-radius: 2px;
}

.pjh-hero__text {
  margin: 0 0 18px;
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--pjh-body);
}

.pjh-hero__text:last-of-type {
  margin-bottom: 0;
}

/* ---- Responsive --------------------------------------------------- */
@media (max-width: 900px) {
  .pjh-hero {
    padding: 48px 22px;
  }
  .pjh-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pjh-hero__media {
    max-width: 560px;
    margin: 0 auto;
  }
  .pjh-hero__text {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .pjh-hero {
    padding: 36px 18px;
  }
  .pjh-hero__rule {
    margin: 18px 0 22px;
  }
  .pjh-hero__text {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 16px;
  }
  .pjh-hero__text:last-of-type {
    margin-bottom: 0;
  }
}
