/* Zoho page: "Explore Real Business Solutions Built with Zoho Applications" (class work, copied from the website page): heading and intro on top,
   three project cards, arrows centred underneath (Figma). */
body.service-page .work .work__inner {
  width: min(1240px, calc(100% - 48px));
  max-width: none;
}

body.service-page .work .work__head {
  display: flex;
  width: 100%;
  min-height: 0;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

body.service-page .work .work__title {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  min-height: 0;
  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;
}

body.service-page .work .work__intro {
  flex: none;
  width: 440px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

/* base.min.css hides .work__nav everywhere; the new design shows the arrows under the cards. */
body.service-page .work .work__nav--below {
  display: flex !important;
  justify-content: center;
  gap: 24px;
  padding: 40px 0 0;
}

@media (max-width: 1199px) {
  body.service-page .zoho-work .work__inner {
    display: flex;
    flex-direction: column;
  }

  body.service-page .zoho-work .work__head {
    display: contents;
  }

  body.service-page .zoho-work .work__title {
    order: 1;
    margin-bottom: 28px;
    font-size: clamp(28px, 4.4vw, 36px) !important;
  }

  body.service-page .zoho-work .work__grid {
    order: 2;
  }

  body.service-page .zoho-work .work__intro {
    order: 3;
    width: auto;
    max-width: 560px;
    margin-top: 24px;
    font-size: 15px;
  }

  body.service-page .zoho-work .work__nav--below {
    display: none !important;
  }
}

@media (min-width: 641px) and (max-width: 1199px) {
  body.service-page .zoho-work .work__grid {
    gap: 16px;
  }

  body.service-page .zoho-work .card {
    flex: 0 0 clamp(280px, 42vw, 320px);
  }
}

@media (max-width: 640px) {
  body.service-page .zoho-work .work__inner {
    width: calc(100% - 32px);
  }

  body.service-page .zoho-work .work__title {
    font-size: 26px !important;
  }
}

/* Arrow buttons (same as the website page). */
.work .nav-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #0E3B12;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}

.work .nav-btn:hover {
  transform: scale(1.06);
  background: #155219;
}

.work .nav-btn:focus-visible {
  outline: .125rem solid #0E3B12;
  outline-offset: .1875rem;
}

.work .nav-btn svg {
  width: 40%;
  height: 40%;
  stroke: #ffffff;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
