/* =========================================================
   CMS additions to the design (css/style3.css and the page stylesheets come from the design unchanged;
   rules here cover admin content the design has no place for). Loaded after style3.css on every page.
   ========================================================= */

/* Process steps (home): the first paragraph is the step's intro, the rest of the admin text (sub-headings + text) follows it */
.tstep__more { margin-top: 22px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.tstep__more h4 { margin: 20px 0 6px; color: var(--text); font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.3; }
.tstep__more h4:first-child { margin-top: 0; }
.tstep__more p + p { margin-top: 10px; }
.tstep__more ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }

/* Careers: the hero uses the shared inner-page header (.pg-hero); its buttons line up on the left like the text */
.pg-hero .cr-hero__actions { justify-content: flex-start; }
.pg-hero .eyebrow + .pg-hero__title { margin-top: 18px; }

/* Contact: the form moved into the hero (design), so "what happens next" stands on its own:
   heading and lead on the left, the steps side by side under it */
.ct-brief--solo { padding-top: clamp(40px, 5vw, 80px); }
.ct-brief--solo .ct-brief__grid { grid-template-columns: 1fr; }
.ct-brief--solo .ct-brief__aside { position: static; }
.ct-brief--solo .ct-brief__lead { max-width: 60ch; }
.ct-brief--solo .ct-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: clamp(20px, 3vw, 48px); border-top: 0; }
.ct-brief--solo .ct-next li { border-top: 1px solid var(--line-2); border-bottom: 0; }

/* Service pages: local content the version 6 design has no rules for (rules taken from the earlier version of the design) */
.svm__intro { max-width: 48ch; margin: clamp(18px, 2vw, 28px) 0 clamp(22px, 2.4vw, 34px); color: var(--muted); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.7; }
.ux-intro__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-2); }
.ux-intro__list li { padding-block: clamp(18px, 1.8vw, 28px); border-top: 1px solid var(--line-2); font-size: clamp(17px, 1.4vw, 24px); line-height: 1.35; color: var(--text); }
.svx-process__sub { margin-bottom: 12px; color: var(--text) !important; font-family: var(--display); font-weight: 600; font-size: clamp(19px, 1.6vw, 26px); line-height: 1.25; letter-spacing: 0; }
.svm__head .svm__intro { margin-inline: auto; }
.svm__head .eyebrow + .pg-hero__title { margin-top: 14px; }
/* the intro's paragraphs after the large lead paragraph */
.pg-intro .eyebrow + .pg-hero__title { margin-top: 18px; }
.pg-intro .ux-intro__list { margin-top: clamp(24px, 2.6vw, 40px); }
.pg-intro__more { max-width: 72ch; margin-top: clamp(22px, 2.4vw, 36px); color: var(--muted); font-size: clamp(16px, 1.15vw, 19px); line-height: 1.75; }
.pg-intro__more p + p { margin-top: 14px; }

/* Service pages: related services as the About page's bento tiles (css/about.css). With four of them they fill the
   grid: the first one large (two columns, two rows), two single tiles beside it, the last one under them on the gradient */
.svc-rel__bento .svc-rel__lead { grid-row: span 2; }
.svc-rel__bento .abt-tile--grad:last-child:nth-child(4) { grid-column: span 2; }
@media (max-width: 1100px) {
  .svc-rel__bento .svc-rel__lead { grid-row: auto; }
}
@media (max-width: 560px) {
  .svc-rel__bento .abt-tile--grad:last-child:nth-child(4) { grid-column: auto; }
}
