{# Baseline styles - Content rich and classic layouts #}
#hs_cos_wrapper_knowledgebase_category_listing {
  container-type: inline-size;
  container-name: knowledgebase-category-listing;
  --hs-kb-home-list-gap: 32px;
}

.hs-kb-home-list {
  gap: var(--hs-kb-home-list-gap);
  display: flex;
  padding-top: 75px;
  padding-bottom: 75px;
  flex-wrap: wrap;
  justify-content: center;

  a:not(.unstyled) {
    font-family: var(--a-primary-body-font-family);
    font-style: var(--a-primary-body-font-style);
    font-weight: var(--a-primary-body-font-weight);
    line-height: var(--a-primary-body-line-height);
    color: var(--a-primary-body-font-color);
    text-decoration: var(--a-primary-body-text-decoration);
    text-transform: var(--a-primary-body-text-transform);
  }

  a:not(.unstyled):hover,
  a:not(.unstyled):focus {
    font-family: var(--a-hover-primary-body-font-family);
    font-style: var(--a-hover-primary-body-font-style);
    font-weight: var(--a-hover-primary-body-font-weight);
    color: var(--a-hover-primary-body-font-color);
    text-decoration: var(--a-hover-primary-body-text-decoration);
    text-transform: var(--a-hover-primary-body-text-transform);
  }

  a:not(.unstyled):active {
    color: var(--a-hover-primary-body-font-color);
  }

  a.unstyled {
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    text-decoration: inherit;
    text-transform: inherit;
  }
}

.hs-kb-home-list__category {
  --column-width: calc(33.33% - var(--hs-kb-home-list-gap));
  box-sizing: content-box;
  min-width: 300px;
  width: var(--column-width);
  max-width: var(--column-width);
  flex-grow: 1;

  @container knowledgebase-category-listing (width <= 768px) {
    --column-width: 100%;
  }
}

.hs-kb-home-list__icon {
  display: flex;
  margin-bottom: 1rem;
}

.hs-kb-home-list__image {
  width: 32px;
}

.hs-kb-home-list__icon svg {
  height: 32px;
  width: 32px;
  fill: currentColor;
}

.hs-kb-home-list__icon-svg {
  height: 32px;
  width: 32px;
}

.hs-kb-category-article-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.hs-kb-category-article-list li {
  padding: 0;
  margin: 0;
}

.hs-kb-category-article-list__link,
.hs-kb-home-list__text__category-link {
  padding: 0.5em 0;
  display: block;
}

.hs-kb-home-list__text__category-link {
  color: #61778f;

  .hs-kb-home-list__text {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
  }

  .hs-kb-home-list__text__category-title,
  .hs-kb-home-list__text__category-description {
    margin-bottom: 0;
  }
}

.hs-kb-home-list__text__category-link:after {
  display: inline-flex;
  height: 0.75rem;
  width: 0.75rem;
  margin-left: 10px;
  background-color: currentColor;
  background-size: 0.75rem 0.75rem;
  content: '';
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg version='1.0' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' aria-hidden='true'%3E%3Cg id='arrow-right2_layer'%3E%3Cpath d='M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg version='1.0' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' aria-hidden='true'%3E%3Cg id='arrow-right2_layer'%3E%3Cpath d='M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}


@media only screen and (max-width: 767px) {
  .hs-kb-home-list {
    padding-top: 24px;
  }

  .hs-kb-home-list__category {
    max-width: initial;
  }
}
