/* Digital Marketing page: "Our Step-by-Step Digital Marketing Process" (same grid as the website page).
   Figma: heading on the left, intro on the right, 3 x 2 grid of 305px cells. */
@media (min-width: 1200px) {
  body.service-page .web-solutions-section {
    width: min(1240px, calc(100% - 48px));
    margin: 72px auto;
    padding: 0;
  }

  body.service-page .web-solutions-section .header {
    display: block;
    margin-bottom: 40px;
  }

  body.service-page .web-solutions-section .header h2 {
    max-width: none;
    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 .web-solutions-section .header p {
    max-width: 720px;
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    text-align: left;
  }

  /* Figma cell: 305px tall. Icon at 32px, STEP at 145px, heading at 173px,
     text at 201px, so every cell lines up across a row. */
  body.service-page .web-solutions-section {
    --border: #5b6d49;
    --bw: 1px;
  }

  body.service-page .web-solutions-section .cell {
    min-height: 305px;
    padding: 32px 14px 24px 7.4%;
  }

  body.service-page .web-solutions-section .cell .icon {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: auto;
    height: 60px;
    margin: 0 0 53px;
  }

  body.service-page .web-solutions-section .cell .icon img {
    flex: none;
    width: auto;
    height: 52px;
    object-fit: contain;
  }

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

  body.service-page .web-solutions-section .cell h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    color: #000;
  }

  body.service-page .web-solutions-section .cell p {
    max-width: 356px;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
  }
}

/* Tablet and mobile: the intro line is now real content, so show it. */
@media (max-width: 1199px) {
  body.service-page .web-solutions-section .header > p {
    display: block !important;
    margin: 12px 0 0 !important;
    font-size: clamp(15px, 1.7vw, 16px) !important;
    line-height: 1.5 !important;
    color: #000;
  }
}


@media (min-width: 1200px) {
  body.service-page .web-solutions-section .header {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 49px;
  }

  body.service-page .web-solutions-section .header h2 {
    flex: 0 1 708px;
    min-width: 0;
  }

  body.service-page .web-solutions-section .header p {
    flex: 0 0 583px;
    max-width: none;
    margin: 18px 0 0;
  }
}

/* The external "SEO activities" link inside step 4. */
.web-solutions-section .approach-link {
  color: inherit;
  text-decoration: underline;
}

.web-solutions-section .approach-link:hover {
  color: #0c3c01;
}

/* Step 3's title is wider than its cell at 19px (it is clipped in the Figma frame), so it is set
   a little smaller to stay on one line inside the cell. */
@media (min-width: 1200px) {
  body.service-page .web-solutions-section .cell h3.approach-title-long {
    font-size: 16px;
  }
}
