/* Styles for src/pages/solution-catalog.njk.
   Moved out of the template; the catalog-<tag>-<n> classes replace former
   inline style attributes. Give them meaningful names when you next edit them. */

@layer site {
  .about-section {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 60px;
  }

  .about-image {
    width: 40%;
  }

  .about-content {
    width: 60%;
  }

  @media (max-width: 980px) {
    .about-section {
      flex-direction: column;
    }

    .about-image,
    .about-content {
      width: 100%;
    }

    .partner-grid {
      grid-template-columns: 1fr !important;
    }
  }

  @media (max-width: 767px) {
    .about-content h2 {
      font-size: 36px !important;
    }

    .about-content h2 span {
      font-size: 16px !important;
    }

    .about-content h2 span:nth-child(2) {
      font-size: 24px !important;
    }

    .about-content h2 span:nth-child(3) {
      font-size: 30px !important;
    }
  }
}

/* Former inline styles: unlayered so they keep priority over the site
   stylesheets, as inline styles did. */
.catalog-section-1 {
  padding: 60px 40px;
}

.catalog-div-1 {
  max-width: 1200px;
  margin: 0 auto;
}

.catalog-div-2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-img-1 {
  max-width: 400px;
  width: 100%;
  height: auto;
}

.catalog-h2-1 {
  color: var(--color-heading);
  margin-bottom: 30px;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
}

.catalog-span-1 {
  font-size: 20px;
  display: block;
  color: var(--color-subheading);
}

.catalog-span-2 {
  font-size: 30px;
  display: block;
  color: var(--color-subheading);
}

.catalog-span-3 {
  font-size: 40px;
  display: block;
}

.catalog-p-1 {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.catalog-p-2 {
  font-size: 16px;
  line-height: 1.8;
}

.catalog-section-2 {
  padding: 80px 40px;
}

.catalog-div-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 60px;
}

.catalog-div-4 {
  text-align: center;
}

.catalog-div-5 {
  margin-bottom: 30px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-img-2 {
  max-width: 280px;
  width: 100%;
  height: auto;
}

.catalog-h4-1 {
  color: var(--color-heading);
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 700;
}

.catalog-a-1 {
  color: var(--color-heading);
  text-decoration: none;
}

.catalog-p-3 {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
}

/* Was an h4: keep the h4 line height */
.catalog-h4-1 {
  line-height: 30px;
}
