/* Card Grid — shared grid of cards (Views/Partials/cardGrid), scoped to .card-grid.
   Variants reproduce the approved UATM designs (values from uatm.css):
   --illustrationGrid  UATM Solutions: one row of all items, 130px illustrations, accent titles, taglines.
   --iconGrid          UATM Advantages: two columns, 48px icons, text-coloured titles, centred title.
   --thumbnailRows     ESG Core Values: one item per row, 210px thumbnail beside the text (reference .leads).
   --inlineIconGrid    ESG Ambition: title + lead, 76px icon tile beside the text, two columns (reference .new-grid.our).
   --linkedIllustrationGrid  ESG Pillars: 170px illustration, title, tagline, text and a bottom-aligned link,
                       three columns (reference .new-grid.new-grid-esg.new-grid-3).
   --mediaRows         Careers Values: 50% image beside the text, one item per row, section link
                       right-aligned after the rows (reference .articles / .articles-item, .text-right.cta).
   --stats             ESG sub-pages: 170px image above short text, five columns (three at ≤850px, one at ≤700px),
                       with its own 100px top spacing (reference .new-grid.new-grid-5).
   --textColumns       ESG Social Initiatives: text heading in the text column, cards of an accent title and
                       paragraphs, four columns (two at ≤850px, one at ≤700px) (reference .new-grid.new-grid-4).
   --featureColumns    TechCare service sections: eyebrow, heading, lead and body in the text column, then cards of an
                       optional 204px image, accent title and paragraphs, three columns (one at ≤850px)
                       (reference .entry-content-fix > span + h3 + p, .new-grid.new-grid-3 / .new-grid-1).
   Item links (.card-grid__cta) render in any variant when the card has a link;
   the section link (.card-grid__footer) renders after the items when the grid has a link.
   Bottom spacing comes from sectionComposition.spacingBottom (none / small / medium / large);
   --space-default is used when thumbnailRows / inlineIconGrid (100px, 50px at ≤700px)
   or linkedIllustrationGrid (170px, 100px at ≤700px) or mediaRows (160px, 80px at ≤850px) or stats (100px, 50px at ≤700px)
   or textColumns (50px) leave it empty. */

/* Reference grid: 1200px container, 15px gutter → 1170px content. */
.card-grid__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.card-grid__title {
  margin: 0 0 40px;
  font-family: var(--eve-font-display-regular);
  font-weight: 400;
  font-size: 30px;
  line-height: 42px;
  text-align: center;
  color: var(--eve-page-accent, var(--eve-color-violet));
}

.card-grid__items {
  display: grid;
  gap: 60px;
  text-align: left;
}

.card-grid--illustrationGrid .card-grid__items {
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}

.card-grid--iconGrid .card-grid__items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid__image {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 20px;
  width: 50px;
  height: 50px;
}

.card-grid--illustrationGrid .card-grid__image {
  width: auto;
  height: 130px;
  margin-bottom: 35px;
}

.card-grid__item-title {
  margin: 0 0 8px;
  font-family: var(--eve-font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: var(--eve-color-text);
}

.card-grid--illustrationGrid .card-grid__item-title {
  margin-bottom: 3px;
  color: var(--eve-page-accent, var(--eve-color-violet));
  /* Reproduces the reference title line breaks without HTML in the title */
  max-width: 10em;
}

.card-grid__tagline small {
  display: block;
  margin: 0 0 10px;
  font-size: 12.8px;
  line-height: 30px;
  color: var(--eve-page-accent, var(--eve-color-violet));
}

.card-grid__body p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 20px;
  color: var(--eve-color-text);
}

.card-grid--space-none {
  padding-bottom: 0;
}

.card-grid--space-small {
  padding-bottom: 50px;
}

.card-grid--space-medium {
  padding-bottom: 80px;
}

.card-grid--space-large {
  padding-bottom: 170px;
}

@media (max-width: 850px) {
  .card-grid__inner {
    padding: 0 20px;
  }

  .card-grid__title {
    margin-bottom: 30px;
    font-size: 25px;
    line-height: 27px;
    text-align: left;
  }

  .card-grid__items,
  .card-grid--illustrationGrid .card-grid__items,
  .card-grid--iconGrid .card-grid__items {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .card-grid__item-title {
    font-size: 16px;
    line-height: 19px;
  }

  .card-grid--space-small,
  .card-grid--space-medium {
    padding-bottom: 40px;
  }

  .card-grid--space-large {
    padding-bottom: 100px;
  }
}

@media (min-width: 851px) and (max-width: 1024px) {
  .card-grid--illustrationGrid .card-grid__items {
    gap: 30px;
  }
}

@media (max-width: 700px) {
  .card-grid__body p {
    font-size: 14px;
    line-height: 20px;
  }
}

/* Lead under the title (inlineIconGrid uses it). */
.card-grid__lead {
  margin: 0 0 50px;
  font-size: 16px;
  line-height: 30px;
  color: var(--eve-color-text);
}

/* Variant default spacing (reference .mb-100). */
.card-grid--space-default {
  padding-bottom: 100px;
}

/* —— thumbnailRows (ESG Core Values; reference .leads / .lead-item) —— */
.card-grid--thumbnailRows .card-grid__inner,
.card-grid--inlineIconGrid .card-grid__inner {
  padding-left: 315px;
}

.card-grid--thumbnailRows .card-grid__items {
  grid-template-columns: minmax(0, 1fr);
  gap: 50px;
}

.card-grid--thumbnailRows .card-grid__item {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 35px;
  align-items: start;
}

.card-grid--thumbnailRows .card-grid__item:not(:has(> .card-grid__image)) {
  display: block;
}

.card-grid--thumbnailRows .card-grid__image {
  grid-column: 1;
  grid-row: 1 / span 3;
  display: block;
  width: 210px;
  height: auto;
  margin: 0;
}

.card-grid--thumbnailRows .card-grid__item-title,
.card-grid--thumbnailRows .card-grid__tagline,
.card-grid--thumbnailRows .card-grid__body {
  grid-column: 2;
}

.card-grid--thumbnailRows .card-grid__item-title {
  margin: 0 0 20px;
  font-family: var(--eve-font-display-extralight);
  font-weight: 800;
  font-size: 28px;
  line-height: 32px;
  color: var(--eve-color-text);
}

.card-grid--thumbnailRows .card-grid__body p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 30px;
}

/* —— inlineIconGrid (ESG Ambition; reference .entry-content-fix > h3 + p, .new-grid.our.new-grid-2) —— */
.card-grid--inlineIconGrid .card-grid__title {
  margin: 0 0 20px;
  font-family: var(--eve-font-display-extralight);
  font-weight: 800;
  font-size: 28px;
  line-height: 32px;
  text-align: left;
  color: var(--eve-color-text);
}

.card-grid--inlineIconGrid .card-grid__items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 27px;
}

.card-grid--inlineIconGrid .card-grid__item {
  display: flex;
  align-items: center;
  gap: 17px;
}

.card-grid--inlineIconGrid .card-grid__image {
  flex: 0 0 auto;
  display: block;
  width: 76px;
  height: auto;
  margin: 0;
  border-radius: 8px;
  background-color: #949494;
}

.card-grid--inlineIconGrid .card-grid__body {
  flex: 1 1 0%;
  min-width: 0;
}

.card-grid--inlineIconGrid .card-grid__body p {
  margin: 0;
  padding-right: 50px;
  font-size: 16px;
  line-height: 22px;
}

@media (max-width: 850px) {
  .card-grid--thumbnailRows .card-grid__inner,
  .card-grid--inlineIconGrid .card-grid__inner {
    padding-left: 20px;
  }

  .card-grid--thumbnailRows .card-grid__item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .card-grid--thumbnailRows .card-grid__image {
    grid-row: auto;
    margin-bottom: 23px;
  }

  .card-grid--thumbnailRows .card-grid__item-title,
  .card-grid--thumbnailRows .card-grid__tagline,
  .card-grid--thumbnailRows .card-grid__body {
    grid-column: 1;
  }

  .card-grid--thumbnailRows .card-grid__item-title {
    line-height: 28px;
  }

  .card-grid--inlineIconGrid .card-grid__title {
    font-size: 24px;
    line-height: 28px;
  }

  .card-grid--inlineIconGrid .card-grid__items {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .card-grid__lead {
    font-size: 14px;
    line-height: 20px;
  }

  .card-grid--space-default {
    padding-bottom: 50px;
  }

  .card-grid--thumbnailRows .card-grid__image {
    width: 100%;
  }

  .card-grid--thumbnailRows .card-grid__item-title {
    font-size: 23px;
  }

  .card-grid--thumbnailRows .card-grid__body p {
    font-size: 14px;
    line-height: 20px;
  }

  .card-grid--inlineIconGrid .card-grid__body p {
    padding-right: 0;
    font-size: 14px;
  }
}

/* —— Item link (any variant; rendered only when the card has a link with a URL) —— */
.card-grid__cta {
  margin-top: 25px;
}

.card-grid__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
  color: var(--eve-page-accent, var(--eve-color-violet));
  text-decoration: none;
}

.card-grid__cta-link:hover,
.card-grid__cta-link:focus-visible {
  color: var(--eve-page-accent, var(--eve-color-violet));
  text-decoration: none;
}

.card-grid__cta-arrow {
  display: inline-block;
  position: relative;
  width: 15px;
  height: 16px;
  flex-shrink: 0;
  background: var(--eve-page-accent-arrow, url("/img/arrow-purple.svg")) no-repeat center / 14px;
  transform: rotate(270deg);
}

/* —— linkedIllustrationGrid (ESG Pillars; reference .new-grid.new-grid-esg.new-grid-3, .mb-180) —— */
.card-grid--linkedIllustrationGrid.card-grid--space-default {
  padding-bottom: 170px;
}

.card-grid--linkedIllustrationGrid .card-grid__items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px 40px;
}

/* Equal-height cards: the link sits at the bottom, so links line up across a row. */
.card-grid--linkedIllustrationGrid .card-grid__item {
  display: flex;
  flex-direction: column;
}

/* flex-start keeps the image at its natural width, left-aligned (no stretch to the card width). */
.card-grid--linkedIllustrationGrid .card-grid__image {
  align-self: flex-start;
  display: block;
  width: auto;
  height: 170px;
  margin: 0 0 20px;
}

.card-grid--linkedIllustrationGrid .card-grid__item-title {
  margin: 0 0 15px;
  font-family: var(--eve-font-display-extralight);
  font-weight: 800;
  font-size: 28px;
  line-height: 32px;
  color: var(--eve-page-accent, var(--eve-color-violet));
}

.card-grid--linkedIllustrationGrid .card-grid__tagline small {
  display: block;
  margin: 0 0 30px;
  font-size: 16px;
  font-weight: 700;
  line-height: 23px;
  color: var(--eve-color-text);
}

.card-grid--linkedIllustrationGrid .card-grid__body p {
  margin: 0;
  font-size: 16px;
  line-height: 30px;
}

.card-grid--linkedIllustrationGrid .card-grid__cta {
  margin-top: auto;
  padding-top: 25px;
}

@media (max-width: 850px) {
  .card-grid--linkedIllustrationGrid .card-grid__items {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .card-grid--linkedIllustrationGrid .card-grid__image {
    width: 80%;
  }

  .card-grid--linkedIllustrationGrid .card-grid__item-title {
    font-size: 24px;
    line-height: 28px;
  }

  .card-grid--linkedIllustrationGrid .card-grid__tagline small {
    margin-bottom: 11px;
  }
}

@media (max-width: 700px) {
  .card-grid--linkedIllustrationGrid.card-grid--space-default {
    padding-bottom: 100px;
  }

  .card-grid--linkedIllustrationGrid .card-grid__body p {
    font-size: 14px;
    line-height: 20px;
  }
}

/* —— Section link after the items (any variant; rendered only when the grid has a link with a URL) —— */
.card-grid__footer {
  margin-top: 50px;
}

/* —— mediaRows (Careers Values; reference .articles / .articles-item, .text-right.cta) —— */
.card-grid--mediaRows.card-grid--space-default {
  padding-bottom: 160px;
}

.card-grid--mediaRows .card-grid__inner {
  padding-left: 315px;
}

.card-grid--mediaRows .card-grid__items {
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

/* Image in the left half spanning all rows; the text sits in the right half between two flexible rows,
   so title, tagline and body stay together and centre vertically against the image. */
.card-grid--mediaRows .card-grid__item {
  display: grid;
  grid-template-columns: 50% minmax(0, 1fr);
  grid-template-rows: 1fr auto auto auto 1fr;
  column-gap: 30px;
  align-items: center;
}

.card-grid--mediaRows .card-grid__image {
  grid-column: 1;
  grid-row: 1 / -1;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 6px;
}

.card-grid--mediaRows .card-grid__item-title {
  grid-column: 2;
  grid-row: 2;
  margin: 0 0 20px;
  font-family: var(--eve-font-display-regular);
  font-weight: 400;
  font-size: 28px;
  line-height: 29px;
  color: var(--eve-color-text);
}

.card-grid--mediaRows .card-grid__tagline {
  grid-column: 2;
  grid-row: 3;
}

.card-grid--mediaRows .card-grid__body {
  grid-column: 2;
  grid-row: 4;
}

/* Every paragraph keeps 16px below it, including the last (reference row heights and centring). */
.card-grid--mediaRows .card-grid__body p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 30px;
}

.card-grid--mediaRows .card-grid__footer {
  margin-top: 80px;
  text-align: right;
}

@media (max-width: 850px) {
  .card-grid--mediaRows.card-grid--space-default {
    padding-bottom: 80px;
  }

  .card-grid--mediaRows .card-grid__inner {
    padding-left: 20px;
  }

  .card-grid--mediaRows .card-grid__item-title {
    margin-bottom: 13px;
    font-size: 25px;
    line-height: 27px;
  }

  .card-grid--mediaRows .card-grid__footer {
    margin-top: 40px;
  }
}

@media (max-width: 700px) {
  .card-grid--mediaRows .card-grid__image {
    border-radius: 8px;
  }

  .card-grid--mediaRows .card-grid__body p {
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width: 639px) {
  .card-grid--mediaRows .card-grid__item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .card-grid--mediaRows .card-grid__image {
    grid-row: auto;
    height: 180px;
    margin-bottom: 15px;
    object-fit: cover;
  }

  .card-grid--mediaRows .card-grid__item-title,
  .card-grid--mediaRows .card-grid__tagline,
  .card-grid--mediaRows .card-grid__body {
    grid-column: 1;
    grid-row: auto;
  }
}

/* —— stats (ESG sub-pages; reference .new-grid.new-grid-5) ——
   Image (170px high, cropped to fill) above short text, five equal columns 60px apart;
   three columns at ≤850px (50px between rows); one centred column at ≤700px with the image at 80% width
   and its natural height. Text 16/22 (14/22 at ≤700px), no space between image and text.
   100px above the grid (50px at ≤700px; reference .entry-content-fix.mb-100 after the intro):
   set the Page Intro above it to Spacing Bottom none.
   Bottom spacing: --space-default, 100px / 50px at ≤700px.
   Known reference differences: image height 182px (Social) and 200px (Governance), 170px used for all;
   10px between image and text on Social (0 here); 50px above the grid at ≤700px is 60px on Governance;
   bottom spacing 120px / 70px at ≤850px on Environmental and 60px at ≤700px on Governance. */
.card-grid--stats {
  padding-top: 100px;
}

.card-grid--stats .card-grid__items {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 50px 60px;
}

.card-grid--stats .card-grid__image {
  display: block;
  width: 100%;
  height: 170px;
  margin: 0;
  object-fit: cover;
}

.card-grid--stats .card-grid__body p {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  color: var(--eve-color-text);
}

@media (max-width: 850px) {
  .card-grid--stats .card-grid__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px 60px;
  }
}

@media (max-width: 700px) {
  .card-grid--stats {
    padding-top: 50px;
  }

  .card-grid--stats .card-grid__items {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    text-align: center;
  }

  .card-grid--stats .card-grid__image {
    width: 80%;
    height: auto;
    margin: 0 auto;
  }

  .card-grid--stats .card-grid__body p {
    font-size: 14px;
    line-height: 22px;
  }
}

/* —— textColumns (ESG Social "Initiatives"; reference .entry-content-fix > h3 + .new-grid.new-grid-4) ——
   Grid title as a text heading in the 870px text column (same type as the Rich Text Block title:
   28/32 weight 800, 1px letter-spacing, 30px below; 24/28 at ≤850px), then cards of an accent bold title
   (16/23, 30px below; 11px at ≤850px) and paragraphs (16/24, 24px apart; 14/24 at ≤700px).
   Four columns 40px apart with 50px between rows; two columns at ≤850px; one column at ≤700px.
   Bottom spacing: --space-default, 50px at all widths (reference .new-grid-4.mb-50).
   Known reference difference: the reference heading is an h3; the shared grid title stays an h2. */
.card-grid--textColumns .card-grid__inner {
  padding-left: 315px;
}

.card-grid--textColumns .card-grid__title {
  margin: 0 0 30px;
  font-family: var(--eve-font-display-extralight);
  font-weight: 800;
  font-size: 28px;
  line-height: 32px;
  letter-spacing: 1px;
  text-align: left;
  color: var(--eve-color-text);
}

.card-grid--textColumns .card-grid__items {
  /* 1fr (not minmax(0, 1fr)) as in the reference: a column never gets narrower than its longest word. */
  grid-template-columns: repeat(4, 1fr);
  gap: 50px 40px;
}

.card-grid--textColumns .card-grid__item-title {
  margin: 0 0 30px;
  font-family: var(--eve-font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 23px;
  color: var(--eve-page-accent, var(--eve-color-violet));
}

.card-grid--textColumns .card-grid__body p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 24px;
  color: var(--eve-color-text);
}

.card-grid--textColumns .card-grid__body p:last-child {
  margin-bottom: 0;
}

.card-grid--textColumns.card-grid--space-default {
  padding-bottom: 50px;
}

@media (max-width: 850px) {
  .card-grid--textColumns .card-grid__inner {
    padding-left: 20px;
  }

  .card-grid--textColumns .card-grid__title {
    font-size: 24px;
    line-height: 28px;
  }

  .card-grid--textColumns .card-grid__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px 40px;
  }

  .card-grid--textColumns .card-grid__item-title {
    margin-bottom: 11px;
  }
}

@media (max-width: 700px) {
  .card-grid--textColumns .card-grid__items {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-grid--textColumns .card-grid__body p {
    font-size: 14px;
    line-height: 24px;
  }

  .card-grid--textColumns.card-grid--space-default {
    padding-bottom: 50px;
  }
}

/* —— featureColumns (TechCare service sections; reference .entry-content-fix > span + h3 + p, .new-grid.new-grid-3 / .new-grid-1) ——
   Intro in the 870px text column: eyebrow (uppercase accent 16/30, 14px at ≤850px), heading h3 (28/32 weight 800,
   1px letter-spacing, 5px above and 20px below; 24/28 at ≤850px), lead and body paragraphs (16/30, 16px apart, 50px after
   the last; 14/20 at ≤700px). Cards: optional image 204px wide with 20px below (full width at ≤850px), accent bold
   title h4 (16/23, 18px below; 11px at ≤850px), paragraphs 16/30 16px apart (14/20 at ≤700px).
   Three columns 40px apart with 50px between rows; one column at ≤850px with 40px between rows;
   a single card spans the full text column (reference .new-grid-1).
   Bottom spacing: sectionComposition.spacingBottom, empty = medium (80px, 40px at ≤850px; reference .mb-80). */
.card-grid--featureColumns .card-grid__inner {
  padding-left: 315px;
}

.card-grid--featureColumns .card-grid__intro > :last-child {
  margin-bottom: 50px;
}

.card-grid--featureColumns .card-grid__eyebrow {
  margin: 0;
  font-family: var(--eve-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
  text-transform: uppercase;
  color: var(--eve-page-accent, var(--eve-color-violet));
}

.card-grid--featureColumns .card-grid__title {
  margin: 5px 0 20px;
  font-family: var(--eve-font-display-extralight);
  font-weight: 800;
  font-size: 28px;
  line-height: 32px;
  letter-spacing: 1px;
  text-align: left;
  color: var(--eve-color-text);
}

.card-grid--featureColumns .card-grid__lead,
.card-grid--featureColumns .card-grid__text p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 30px;
  color: var(--eve-color-text);
}

.card-grid--featureColumns .card-grid__text > :last-child {
  margin-bottom: 0;
}

.card-grid--featureColumns .card-grid__items {
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 40px;
}

.card-grid--featureColumns .card-grid__item:only-child {
  grid-column: 1 / -1;
}

.card-grid--featureColumns .card-grid__image {
  width: 204px;
  height: auto;
  vertical-align: middle;
}

.card-grid--featureColumns .card-grid__item-title {
  margin: 0 0 18px;
  font-family: var(--eve-font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 23px;
  color: var(--eve-page-accent, var(--eve-color-violet));
}

.card-grid--featureColumns .card-grid__body p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 30px;
  color: var(--eve-color-text);
}

.card-grid--featureColumns .card-grid__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 850px) {
  .card-grid--featureColumns .card-grid__inner {
    padding-left: 20px;
  }

  .card-grid--featureColumns .card-grid__eyebrow {
    font-size: 14px;
  }

  .card-grid--featureColumns .card-grid__title {
    margin: 5px 0 20px;
    font-size: 24px;
    line-height: 28px;
  }

  .card-grid--featureColumns .card-grid__items {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .card-grid--featureColumns .card-grid__image {
    width: 100%;
  }

  .card-grid--featureColumns .card-grid__item-title {
    margin-bottom: 11px;
  }
}

@media (max-width: 700px) {
  .card-grid--featureColumns .card-grid__lead,
  .card-grid--featureColumns .card-grid__text p,
  .card-grid--featureColumns .card-grid__body p {
    font-size: 14px;
    line-height: 20px;
  }
}

/* —— processSteps / iconSteps (eVTOL; reference .solutions.solutions-inner, main.css):
   both sit in the text column (315px, 20px at ≤850px) with a left-aligned heading 50px above the items (all widths).
   --processSteps  24/7 Coverage: eyebrow in the accent (30/42, 10px below; 25/27 at ≤850px), then title and lead as the
                   two lines of one text-coloured h2; one row of equal columns (minmax(0, 1fr): the reference's plain 1fr
                   let long words widen the row past the page at 851–940px), 60px apart, centred; an arrow after each
                   item but the last, at the reference's fixed position (.parts .solutions-item::after: 88x20, 108px from the
                   item's left, 47px above its middle; it overlaps the next icon on narrow desktops as in the reference),
                   drawn from the reference evtol-arrow.svg embedded below.
   --iconSteps     Entry Into Service Support: accent h2; four plain 1fr columns, 60px apart, left-aligned (.solutions).
                   Empty Spacing Bottom = 160px (80px at ≤850px), the reference page end before the footer.
   At ≤850px: two columns 30px apart, no arrows. Item images and titles use the shared rules (20px below the image,
   18px bold titles, 16/19 at ≤850px). —— */
/* The fixed-position arrow after the 4th step reaches past the page edge at about 851–885px; clip it there
   (horizontal only, so nothing above or below the section is cut). */
.card-grid--processSteps {
  overflow-x: clip;
}

.card-grid--processSteps .card-grid__inner,
.card-grid--iconSteps .card-grid__inner {
  padding-left: 315px;
}

.card-grid--processSteps .card-grid__eyebrow {
  margin: 0 0 10px;
  font-family: var(--eve-font-display-regular);
  font-weight: 400;
  font-size: 30px;
  line-height: 42px;
  color: var(--eve-page-accent, var(--eve-color-violet));
}

.card-grid--processSteps .card-grid__title,
.card-grid--iconSteps .card-grid__title {
  margin-bottom: 50px;
  text-align: left;
}

.card-grid--processSteps .card-grid__title {
  color: var(--eve-color-text);
}

.card-grid--processSteps .card-grid__items {
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}

.card-grid--processSteps .card-grid__item {
  position: relative;
  text-align: center;
}

.card-grid--processSteps .card-grid__item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 108px;
  width: 88px;
  height: 20px;
  margin-top: -47px;
  background: url("data:image/svg+xml,%3Csvg width='86' height='20' viewBox='0 0 86 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M73.992 2.55888L82.6278 6.87912C82.6331 6.88269 82.6386 6.88609 82.6443 6.88931C82.9576 7.06713 83.1807 7.28148 83.328 7.52033L83.329 7.52193C83.4765 7.75712 83.5563 8.01851 83.5563 8.32523V12.1209C83.5563 12.422 83.477 12.6839 83.3285 12.925C83.1856 13.1525 82.9725 13.3637 82.6788 13.5369L73.9514 17.9006L73.9502 17.9012C73.4894 18.1348 73.2969 18.6986 73.5328 19.164C73.7664 19.6249 74.329 19.8162 74.7932 19.5873L74.7944 19.5866L83.5315 15.2181L83.5595 15.2041L83.5596 15.2043L83.5694 15.1989C84.1296 14.8865 84.5994 14.4531 84.9308 13.9259C85.2635 13.3966 85.4442 12.7729 85.4442 12.1256V8.32989C85.4442 7.67777 85.2634 7.05874 84.9308 6.52953C84.5994 6.00241 84.1296 5.56892 83.5694 5.2566L83.5695 5.25638L83.5595 5.25135L83.5316 5.2374L83.5315 5.23738L74.763 0.850812C74.7628 0.850705 74.7626 0.850598 74.7624 0.850492C74.2988 0.615961 73.7287 0.805691 73.4993 1.27464C73.2654 1.73861 73.456 2.30886 73.9259 2.53746C73.9472 2.54781 73.9694 2.55492 73.992 2.55888Z' fill='%23D8E0E3' stroke='%23D8E0E3' stroke-width='0.5' stroke-linejoin='round'/%3E%3Cpath d='M80.821 9.26758H1.6894C1.16724 9.26758 0.750115 9.69375 0.750115 10.2115C0.750115 10.7293 1.16725 11.1555 1.6894 11.1555H80.821C81.3432 11.1555 81.7603 10.7293 81.7603 10.2115C81.7603 9.69264 81.3374 9.26758 80.821 9.26758Z' fill='%23D8E0E3' stroke='%23D8E0E3' stroke-width='0.5' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
}

.card-grid--processSteps .card-grid__item:last-child::after {
  display: none;
}

.card-grid--iconSteps .card-grid__items {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid--iconSteps.card-grid--space-default {
  padding-bottom: 160px;
}

@media (max-width: 850px) {
  .card-grid--processSteps .card-grid__inner,
  .card-grid--iconSteps .card-grid__inner {
    padding-left: 20px;
  }

  .card-grid--processSteps .card-grid__eyebrow {
    font-size: 25px;
    line-height: 27px;
  }

  .card-grid--processSteps .card-grid__items,
  .card-grid--iconSteps .card-grid__items {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .card-grid--processSteps .card-grid__item::after {
    display: none;
  }

  .card-grid--iconSteps.card-grid--space-default {
    padding-bottom: 80px;
  }
}

/* —— featureCards (eVTOL features; reference div.info-area, main.css), values measured 2026-10-23:
   section background from the picked image (--card-grid-background, set inline; none without one), drawn at
   0 -15vh, full height (100% wide from 1505px), no repeat; the section is full width.
   Cards: frosted white (rgba 255,255,255 / 0.2, 7px corners; the reference card PNG is plain white at 20% opacity),
   242x306 (310 at ≤500px), 28px 24px padding; icon 22% wide with 30px below; h3 ClashGrotesk Medium 20/24 and
   text 18/20, both 0.3px letter spacing, at all widths.
   ≤1504px: 46px above the section and 110px inside it; the feature image (≤206px) is centred with its bottom at
   95.5% of the section height, so it overlaps the section above; cards in rows of 3 (771px wide, 14px apart, the
   reference's 10px margin plus the inline-block space), 2 at ≤770px (501px), 1 centred at ≤500px; 18px between rows.
   Below the cards the reference keeps 158px and pulls the next section 86px up, so the background runs under its top
   (--space-default; a set Spacing Bottom replaces both).
   From 1505px: a fixed 732px section with 50px 60px padding; the image (64%, ≤891px) 50px down and 3.3% left of
   its place; the cards 36px from the top and 2.6% from the right in a 52.8% wide area, 10px in, columns of
   30.3% (≤242px) 24px apart, rows 20px apart, the second row starting one card in. —— */
.card-grid--featureCards {
  position: relative;
  margin-top: 46px;
  padding-top: 110px;
  background-image: var(--card-grid-background, none);
  background-repeat: no-repeat;
  background-position: 0 -15vh;
  background-size: auto 100%;
}

.card-grid--featureCards.card-grid--space-default {
  padding-bottom: 158px;
  margin-bottom: -86px;
}

.card-grid--featureCards .card-grid__inner {
  max-width: none;
  padding: 0;
}

.card-grid--featureCards .card-grid__feature-image {
  position: absolute;
  right: 0;
  bottom: 95.5%;
  left: 0;
  z-index: 1;
  display: block;
  width: 64%;
  max-width: 206px;
  height: auto;
  margin: 0 auto;
}

.card-grid--featureCards .card-grid__items {
  grid-template-columns: repeat(3, 242px);
  gap: 18px 14px;
  max-width: 771px;
  margin: 0 auto;
}

.card-grid--featureCards .card-grid__item {
  height: 306px;
  padding: 28px 24px;
  border-radius: 7px;
  background-color: rgba(255, 255, 255, 0.2);
}

.card-grid--featureCards .card-grid__image {
  display: block;
  width: 22%;
  margin: 0 0 30px;
}

.card-grid--featureCards .card-grid__item-title {
  margin: 0 0 8px;
  font-family: var(--eve-font-display-medium);
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.3px;
  color: var(--eve-color-text);
}

.card-grid--featureCards .card-grid__body p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 0.3px;
}

@media (min-width: 1505px) {
  .card-grid--featureCards {
    height: 732px;
    margin-top: 0;
    padding: 50px 60px 0;
    background-size: 100% auto;
  }

  .card-grid--featureCards.card-grid--space-default {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .card-grid--featureCards .card-grid__feature-image {
    position: relative;
    top: 50px;
    right: 3.3%;
    bottom: auto;
    left: auto;
    width: 64%;
    max-width: 891px;
    margin: 0;
  }

  .card-grid--featureCards .card-grid__items {
    position: absolute;
    top: 36px;
    right: 2.6%;
    width: 52.8%;
    max-width: none;
    margin: 0;
    padding-left: 10px;
    grid-template-columns: repeat(3, min(242px, calc((100% + 10px) * 0.303)));
    gap: 20px 24px;
  }

  .card-grid--featureCards .card-grid__item:nth-child(4) {
    grid-column-start: 2;
  }
}

@media (max-width: 770px) {
  .card-grid--featureCards .card-grid__items {
    grid-template-columns: repeat(2, 242px);
    max-width: 501px;
  }
}

@media (max-width: 500px) {
  .card-grid--featureCards .card-grid__items {
    grid-template-columns: 242px;
    justify-content: center;
    max-width: none;
  }

  .card-grid--featureCards .card-grid__item {
    height: 310px;
  }
}
