.category-page {
  flex: 1 1 100%;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1240px;
  margin: 4em auto;
}
.category-header {
  padding: 3em 0 0;
}
.category-header h1 {
  color: #345775;
  font-size: 2.85714rem;
  font-weight: 300;
}
.category-content {
  padding: 3em;
  background-color: white;
}
.category-content .category.level-2 .subcategories {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 10px;
  justify-content: center;
}
.category-content .category.level-2 .subcategories .category.level-3 {
  flex: 1 0 250px;
  text-align: center;
}
.category-content .category.level-2 .subcategories .category.level-4 {
  flex: 1 1 100%;
  text-align: center;
  margin-bottom: 5px;
}
.category-content h2 {
  font-size: 1.675rem;
  font-weight: normal;
  line-height: 1.3;
  margin-bottom: 40px;
  color: black;
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
  border-bottom: 1px solid #ececec;
  width: 100%;
  height: 55px;
  text-align: center;
  text-transform: uppercase;
}
.category-content .category {
  margin-bottom: 20px;
}
.category-content .category h3 {
  text-align: center;
  margin-bottom: 20px;
}
.category-content .category h3 a {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 13px;
  color: black;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.category-content .category h3 a i {
  flex: 1 1 100%;
  font-size: 40px;
}
.category-content .subcategories .category.level-3 h4 a {
  color: black;
  font-size: 1.25rem;
  font-weight: 300;
}
@media (min-width: 922px) {
  .category h3 {
    display: inline-block;
    height: 70px;
  }
}
