/* Zoho page: "Explore Zoho Applications for Every Business Function".
   Same wheel as the website page (website-benefits.css / website-benefits.js), with 12 cards.
   Each card: title, bold list of Zoho apps, then the description. */

.website-benefits--zoho .website-benefits__body {
  margin-top: auto;
}

.website-benefits--zoho.website-benefits--compact .website-benefits__card:nth-child(n) p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.website-benefits--zoho.website-benefits--compact .website-benefits__card:nth-child(n) p.website-benefits__apps {
  margin-bottom: 8px;
  font-weight: 700;
}

.website-benefits--zoho .website-benefits__link {
  color: inherit;
  text-decoration: underline;
}

#zoho-applications .website-benefits__cta--after {
  display: none;
}

/* The ERP card has the longest text. */
.website-benefits--zoho.website-benefits--compact .website-benefits__card:nth-child(4) p {
  font-size: 12.5px;
  line-height: 1.38;
}

@media (max-width: 1024px) {
  #zoho-applications .website-benefits__number {
    display: none;
  }

  #zoho-applications .website-benefits__intro {
    margin-bottom: 28px;
    text-align: left;
  }

  #zoho-applications .website-benefits__intro h2,
  #zoho-applications .website-benefits__intro p {
    margin-left: 0;
    text-align: left;
  }

  #zoho-applications .website-benefits__intro .website-benefits__cta {
    display: none;
  }

  #zoho-applications .website-benefits__cta--after {
    display: inline-flex;
    align-self: flex-start;
    min-height: 48px;
    margin: 8px 0 0 max(20px, calc((100% - 700px) / 2));
    padding: 12px 22px;
    font-size: 15px;
    line-height: 1.2;
  }

  #zoho-applications .website-benefits__card {
    height: 360px;
    min-height: 360px;
    scroll-snap-align: start;
  }

  .website-benefits--zoho.website-benefits--compact .website-benefits__card:nth-child(n) p {
    font-size: 13px;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  #zoho-applications .website-benefits__orbit {
    padding-inline: max(20px, calc((100% - 700px) / 2));
    scroll-padding-inline: max(20px, calc((100% - 700px) / 2));
  }
}

@media (max-width: 600px) {
  #zoho-applications .website-benefits__intro {
    margin-bottom: 24px;
  }

  #zoho-applications .website-benefits__cta--after {
    margin-left: 20px;
  }

  #zoho-applications .website-benefits__card {
    height: 400px;
    min-height: 400px;
  }
}
