.category-panels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 25px;
  column-gap: 30px;

  .category-panel {
    width: 358px;
    height: 180px;
    display: inline-block;
    position: relative;

    @media screen and (min-width: 768px) {
      width: 280px;
    }

    @media screen and (min-width: 992px) {
      width: 403px;
    }
  }

  .category-panel::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #002154;
    opacity: 60%;
    border-radius: 8px;
  }

  .featured-image {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: -1;
    max-height: calc(180px - 40px);
  }

  .category-title {
    position: absolute;
    top: 24px;
    left: 24px;
    color: white;
    font-weight: 600;
    font-size: 20px;
    line-height: 140%;
  }
}

.category-description {
  padding: 1rem;
  margin: 0 auto;

  h1 {
    font-size: 1.333rem;
    line-height: 160%;
    margin-bottom: 30px;
  }

  @media (min-width: 768px) {
    max-width: calc(750px + 80px);
    padding: 80px;
  }
}

.dropdown-item {
  cursor: pointer;
}
