/* Standalone variables
========================================================================== */
/*
==========================================================================
    Mixins - typography - body
========================================================================== */
.c-category-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}
@media (min-width: 0) and (max-width: 1024px) {
  .c-category-list {
    width: 100vw;
    overflow-x: scroll;
    padding-left: 1.25rem;
    margin-left: -1.25rem;
    padding-right: 1.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
}

.c-category-list::-webkit-scrollbar {
  display: none;
}

@media (min-width: 0) and (max-width: 1024px) {
  .c-category-list__item {
    width: 19.75rem;
    flex-shrink: 0;
  }
}
@media (min-width: 1025px) {
  .c-category-list__item {
    flex-basis: 100%;
  }
}

.c-category-list__item:not(:last-child) {
  margin-right: 1.25rem;
}
@media (min-width: 1025px) {
  .c-category-list__item:not(:last-child) {
    margin-right: 2rem;
  }
}

.c-category-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 25.5rem;
  overflow: hidden;
  border-radius: 0.4rem;
  padding: 1rem;
}
@media (min-width: 1025px) {
  .c-category-card {
    min-height: 33.75rem;
  }
}
.c-category-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(254, 254, 254, 0);
  z-index: 1;
  transition-timing-function: ease;
  transition-duration: 250ms;
}
.c-category-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(32, 77, 81, 0.2), rgba(32, 77, 81, 0.2)), linear-gradient(242.97deg, rgba(32, 77, 81, 0) 0%, rgba(32, 77, 81, 0.2) 100%);
}

.c-category-card:hover {
  text-decoration: none;
}
.c-category-card:hover::before {
  background-color: #fefefe;
}
.c-category-card:hover .c-category-card__name {
  color: #204D51;
}

.c-category-card__media {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.c-category-card__name {
  text-align: center;
  color: #FEFEFE;
  z-index: 1;
  transition-timing-function: ease;
  transition-duration: 250ms;
}

.c-category-card--resources {
  min-height: 20rem;
  padding: 1.25rem;
  background-color: currentColor;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.c-category-card--resources .c-category-card__icon {
  display: flex;
  margin-bottom: 1.5rem;
  z-index: 1;
}
@media (min-width: 0) and (max-width: 1024px) {
  .c-category-card--resources .c-category-card__icon {
    max-height: 7rem;
  }
}
@media (min-width: 0) and (max-width: 1024px) {
  .c-category-card--resources .c-category-card__icon svg {
    max-height: 7rem;
  }
}
.c-category-card--resources .c-category-card__name {
  color: #204D51;
}
.c-category-card--resources::after {
  display: none;
}

.ui-theme-color--white .c-category-card:hover::before {
  background-color: transparent;
}
.ui-theme-color--white .c-category-card:hover .c-category-card__name {
  color: #FEFEFE;
}
.ui-theme-color--white .c-category-card--resources {
  background-color: #204D51;
  color: #FEFEFE;
}
.ui-theme-color--white .c-category-card--resources .c-category-card__icon {
  color: transparent;
  stroke: #FEFEFE;
}
.ui-theme-color--white .c-category-card--resources .c-category-card__name {
  color: #FEFEFE;
}
.ui-theme-color--white .c-category-card--resources:hover {
  background: #B4F6D0;
  color: #204D51;
}
.ui-theme-color--white .c-category-card--resources:hover .c-category-card__icon {
  color: transparent;
  stroke: #204D51;
}
.ui-theme-color--white .c-category-card--resources:hover .c-category-card__name {
  color: #204D51;
}
.ui-theme-color--white .c-category-card--resources:hover::before {
  background-color: #B4F6D0;
}
