/* Software page: "How We Turn Your Software Requirements into Working Solutions".
   Same grid as the website page's "Our Website Development Process" (light 2px outline, rounded corners,
   chevrons on the dividers, hover tint, animated icons), laid out for seven steps: three cells, three
   cells, and the last step across the full width. Heading on the left, intro on the right. */

@media (min-width: 1001px) {
  body.service-page .ect-sw-process {
    width: min(1240px, calc(100% - 48px));
    margin: 72px auto;
    padding: 0;
  }

  body.service-page .ect-sw-process .header {
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 32px;
  }

  body.service-page .ect-sw-process .header h2 {
    flex: 0 1 640px;
    max-width: 640px;
    margin: 0;
    font-family: "Montserrat", "Montserrat Variable", sans-serif !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #000 !important;
  }

  body.service-page .ect-sw-process .header p {
    flex: 0 1 460px;
    max-width: 460px;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    text-align: left;
  }

  body.service-page .ect-sw-process .cell {
    min-height: 300px;
    padding: 32px 28px 28px 32px;
  }

  body.service-page .ect-sw-process .cell .icon {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: auto;
    height: 56px;
    margin: 0 0 28px;
  }

  body.service-page .ect-sw-process .cell .icon img {
    flex: none;
    width: auto;
    height: 52px;
    object-fit: contain;
  }

  body.service-page .ect-sw-process .step {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
    color: #000;
  }

  body.service-page .ect-sw-process .cell h3 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
    color: #000;
  }

  body.service-page .ect-sw-process .cell p {
    max-width: none;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    text-align: left;
  }

  /* Dividers: the second row now has a line under it as well, and the seventh step sits alone on the last row. */
  body.service-page .ect-sw-process .cell:nth-child(n + 4):nth-child(-n + 6) {
    border-bottom: var(--bw) solid var(--border);
  }

  body.service-page .ect-sw-process .cell:nth-child(7) {
    grid-column: 1 / -1;
    min-height: 0;
    border-right: 0;
  }

  body.service-page .ect-sw-process .cell:nth-child(7)::after {
    display: none;
  }

  body.service-page .ect-sw-process .cell:nth-child(7) p {
    max-width: 760px;
  }
}

/* The last step spans both columns on tablets too. */
@media (max-width: 1000px) and (min-width: 641px) {
  body.service-page .ect-sw-process .cell:last-child {
    grid-column: 1 / -1;
    border-right: 0 !important;
  }
}
