/* NLF Content Model v0.6.2 — small site-level visual refinements. */

/* Final About section: keep the heading only slightly larger than the
 * principle headings at right and shorten the decorative horizontal rule. */
.nlf-final-about__rule {
  flex-basis: clamp(34px, 3vw, 44px) !important;
}

.nlf-final-about__title {
  font-size: clamp(27px, 1.9vw, 31px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.016em !important;
}

@media (max-width: 560px) {
  .nlf-final-about__rule {
    flex-basis: 28px !important;
  }

  .nlf-final-about__title {
    font-size: 28px !important;
  }
}

/* v0.6.3 — About hero should meet the shared header with no theme block gap.
 * The Standard Template shell is a flex column; WordPress can preserve a
 * block-gap value when it becomes flex, which shows up as a beige strip. */
body.nlf-about-page .nlf-standard-page-shell,
body:has([data-nlf-am4]) .nlf-standard-page-shell {
  gap: 0 !important;
  row-gap: 0 !important;
}

body.nlf-about-page .nlf-standard-page-content,
body:has([data-nlf-am4]) .nlf-standard-page-content,
body.nlf-about-page [data-nlf-am4],
body:has([data-nlf-am4]) [data-nlf-am4] {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  padding-top: 0 !important;
}
