/*
 * .cta__card side padding — every page, home included. Overrides the frozen
 * index.css (10 px) without editing it: 15 px up to 768 → 50 px at 1440
 * (Pavlo, 2026-10-13).
 */

/* .cta__card */
.cta__card {
  padding-right: clamp(0.9375rem, -1.5625rem + 5.20833vw, 3.125rem);
  padding-left: clamp(0.9375rem, -1.5625rem + 5.20833vw, 3.125rem);
}

/*
 * Phase-2 pages only (Figma frames: industries 926 px paragraph, solutions 824 px, Assessment 960 px).
 * !important beats the cap in sections-adopt.css / index.css.
 */

/* :is(.postid-78 … .postid-81) .page-sections .cta__subtitle — Figma paragraph box 926 px, line-height 140 % from 768 px */
:is(.postid-78, .postid-79, .postid-80, .postid-81) .page-sections .cta__subtitle {
  max-width: 57.875rem !important;

  /* @media (width >= 48em) :is(.postid-78 … .postid-81) .page-sections .cta__subtitle */
  @media (width >= 48em) {
    line-height: 1.4;
    margin-top: -0.34em;
    padding-bottom: calc(clamp(3.125rem, 2.0142rem + 4.7393vw, 6.25rem) - 0.34em);
  }
}

/* :is(.page-id-124 … .page-id-127, .page-id-122 Guides, .page-slug-frequently-asked-questions FAQ) .page-sections .cta__subtitle — Figma paragraph box 824 px */
:is(.page-id-124, .page-id-125, .page-id-126, .page-id-127, .page-id-122, .page-slug-frequently-asked-questions) .page-sections .cta__subtitle {
  max-width: 51.5rem !important;
}

/* .page-id-116 .cta__subtitle — About only (Figma D 18:42682): 960 px box, a blank line between the bold lead and the paragraph */
.page-id-116 .page-sections .cta__subtitle {
  max-width: 60rem !important;

  /* .page-id-116 .page-sections .cta__subtitle > * + * */
  & > * + * {
    margin-top: 1.26em;
  }

  /* @media (width < 48em) .page-id-116 .page-sections .cta__subtitle .nv-bold-line — the phone lead breaks in four lines
     ("Every manufacturing / organization faces unique / …"): a 300 px box */
  @media (width < 48em) {
    & .nv-bold-line {
      max-width: 18.75rem;
      margin-inline: auto;
    }
  }
}


/* .page-slug-erp-readiness-assessment .cta__subtitle — Figma paragraph box 960 px */
.page-slug-erp-readiness-assessment .page-sections .cta__subtitle {
  max-width: 60rem !important;
}

/* .page-slug-erp-readiness-assessment .page-sections .cta__heading — Figma breaks the heading in three lines: "Want to understand" /
   "what your results mean" / "for your business?" (between 10.17 and 11.18 em) */
.page-slug-erp-readiness-assessment .page-sections .cta__heading {
  max-width: 10.8em;
}

/* :is(.postid-78 … .postid-81, .page-id-124 … .page-id-127, .page-id-122, .page-slug-frequently-asked-questions, .page-id-116, .page-slug-erp-readiness-assessment) .page-sections .cta__heading —
   phone frames: 25 px to the paragraph (30 px on the site); the clamp from sections-adopt.css returns from 768 px */
:is(.postid-78, .postid-79, .postid-80, .postid-81, .page-id-124, .page-id-125, .page-id-126, .page-id-127, .page-id-122, .page-slug-frequently-asked-questions, .page-id-116, .page-slug-erp-readiness-assessment) .page-sections .cta__heading {
  padding-bottom: 1.5625rem;

  /* @media (width >= 48em) :is(…) .page-sections .cta__heading */
  @media (width >= 48em) {
    padding-bottom: clamp(1.875rem, 1.2086rem + 2.8436vw, 3.75rem);
  }
}

/* :is(…) .cta__card-bg — phone frames: the picture is 335 × 393 px at the top of the card, the rest is flat blue
   (it was stretched over the whole card) */
:is(.postid-78, .postid-79, .postid-80, .postid-81, .page-id-124, .page-id-125, .page-id-126, .page-id-127, .page-id-122, .page-slug-frequently-asked-questions, .page-id-116, .page-slug-erp-readiness-assessment) .cta__card-bg {
  @media (width < 48em) {
    height: 24.5625rem;
  }
}

/* :is(…) .page-sections .cta__subtitle — phone frames: 45 px to the buttons (50 px on the site); desktop keeps the
   value from sections-adopt.css / the industries rule above */
:is(.postid-78, .postid-79, .postid-80, .postid-81, .page-id-124, .page-id-125, .page-id-126, .page-id-127, .page-id-122, .page-slug-frequently-asked-questions, .page-id-116, .page-slug-erp-readiness-assessment) .page-sections .cta__subtitle {
  @media (width < 48em) {
    padding-bottom: 2.8125rem;
  }
}

/* @media (width < 48em) .page-id-116 .page-sections .cta__heading — 15 px to the lead on phones (Figma M 18:50329) */
.page-id-116 .page-sections .cta__heading {
  @media (width < 48em) {
    padding-bottom: 0.9375rem;
  }
}
