/* ==========================================================================
   landing-pages.css - digibiz inner pages (about, how it works, solutions,
   faq, legal, dynamic pages): the few pieces the template's home.css lacks
   because the admin decides how many items there are.
   ========================================================================== */

/* ---- icons stored as an image path or a Lucide name inside .hp-serv-i ---- */
.hp-serv-i img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.hp-serv-i svg {
  width: 24px;
  height: 24px;
}

/* ---- how it works: the snake takes as many columns as the admin has steps ---- */
@media (min-width: 1200px) {
  .hp-steps.lp-steps {
    grid-template-columns: repeat(var(--lp-n, 4), minmax(0, 1fr));
  }
  /* one absolute rail cannot serve two rows */
  .hp-steps.lp-steps.is-wrap::before {
    display: none;
  }
}

/* ---- about: admin-written story under the headline ---- */
.hp-story-c .hp-rich {
  max-width: 560px;
  font-size: 15px;
}
/* without a picture the story takes the full width */
.hp-story.is-solo {
  grid-template-columns: minmax(0, 1fr);
}

/* ---- legal pages: no contents list when the document has under two headings ---- */
.hp-legal.is-solo {
  grid-template-columns: minmax(0, 1fr);
  max-width: 880px;
  margin-inline: auto;
}
.hp-legal-main [id] {
  scroll-margin-top: 120px;
}

/* ---- dynamic pages: a readable measure for admin-written text ---- */
.lp-page-body {
  max-width: 880px;
  margin-inline: auto;
}
