/*------------------------------------------------------------------------------*/
/* Category Header
/*------------------------------------------------------------------------------*/
.CategoryImage {
  background-color: var(--background-color-shade-1);
  margin: var(--default-margin);
}

.CategoryImage .AspectRatio {
  --aspect-ratio: 30%;
}

.CategoryImage.ImageHeightLow .AspectRatio {
  --aspect-ratio: 20%;
}

.CategoryImage.ImageHeightHigh .AspectRatio {
  --aspect-ratio: 50%;
}

.CategoryImage img {
  border-radius: var(--border-radius-images);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.CategoryImageFullWidth {
  margin-bottom: 0;
  margin-inline: auto;
  max-width: var(--full-width-limit);
  width: 100%;
}

.CategoryImageFullWidth img {
  border-radius: 0;
}

.CategoryDescription {
  max-width: 90ch;
  width: 100%;
}

@media screen and (max-width: 550px) {
  .CategoryImage .AspectRatio::before {
    padding-top: calc(var(--aspect-ratio) * 1.5);
  }
}
.CategoryDescription:before {
  position: absolute;
  inset: 0;
  content: "";
  display: flex;
  background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s;
  z-index: 1;
}

.CategoryDescription.Hidden:before {
  opacity: 1;
}

@media screen and (max-width: 550px) {
  .CategoryImage .AspectRatio::before {
    padding-top: calc(var(--aspect-ratio) * 1.5);
  }
}
.CategoryDescription:not(.Hidden) {
  margin-bottom: calc(var(--input-height));
}

/*# sourceMappingURL=category.css.map */
