.CategoryHeader {
  margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
  grid-area: categoryHeader;
}

.CategoryHeader--rich {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "categoryTitle";
  align-items: start;
}

.CategoryHeader--rich:has(.CategoryHeader-text) {
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-rows: max-content minmax(0, 1fr);
  gap: 2rem 0;
  grid-template-areas: "categoryTitle" "categoryText";
}

.CategoryHeader--rich:has(.CategoryHeader-image) {
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-rows: max-content minmax(0, 1fr);
  gap: 2rem 0;
  grid-template-areas: "categoryTitle categoryImage" ". categoryImage";
}

@media (max-width: 1199px) {
  .CategoryHeader--rich:has(.CategoryHeader-image) {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem 0;
    grid-template-areas: "categoryTitle" "categoryImage";
  }
}

.CategoryHeader--rich:has(.CategoryHeader-image):has(.CategoryHeader-text) {
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-rows: max-content minmax(0, 1fr);
  gap: 2rem;
  grid-template-areas: "categoryTitle categoryImage" "categoryText categoryImage";
}

@media (max-width: 1199px) {
  .CategoryHeader--rich:has(.CategoryHeader-image):has(.CategoryHeader-text) {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem 0;
    grid-template-areas: "categoryTitle" "categoryText" "categoryImage";
  }
}

.CategoryHeader:last-child {
  margin-bottom: 0;
}

.CategoryHeader-text.StyledText p {
  font-size: 1rem;
  line-height: 1.5;
}

.CategoryHeader-textContainer {
  grid-area: categoryText;
  display: flex;
  flex-flow: column;
  gap: 1.25rem;
}

.CategoryHeader-textClamp {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.CategoryHeader-textContainer.is-shown .CategoryHeader-textClamp {
  overflow: initial;
  text-overflow: initial;
  display: initial;
  -webkit-line-clamp: initial;
  line-clamp: initial;
  -webkit-box-orient: initial;
}

.CategoryHeader-textMore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--colorBrand);
  align-self: flex-start;
  cursor: pointer;
}

.CategoryHeader-textMore:hover, .CategoryHeader-textMore:active, .CategoryHeader-textMore:focus {
  text-decoration: underline;
}

.CategoryHeader-textMore svg {
  transition: var(--animationBase);
}

.CategoryHeader-textContainer.is-shown .CategoryHeader-textMore svg {
  transform: rotate(180deg);
}

.CategoryHeader-title {
  margin: 0;
  grid-area: categoryTitle;
}

.CategoryHeader-title.is-onlyChild {
  width: 100%;
  margin-bottom: 0;
}

.CategoryHeader-image {
  grid-area: categoryImage;
}

@media (max-width: 1199px) {
  .CategoryHeader-image {
    justify-self: center;
  }
}

/*# sourceMappingURL=category-header.min.css.map */
