.categoryList {
  text-align: center;
}

.categoryList li {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #8E8E8E;
  margin-right: 30px;
  display: inline;
  cursor : pointer;
}

.categoryList li:last-child {
  margin-right: unset;
}

.categoryList li.active, .categoryList li.hover {
  text-decoration: none;
  border-bottom: 2px solid #FF2E00;
}

.categoryList li.active {
  color: #000000;
}

.categoryContent {
  margin-top: 65px;
  display: none;
}

.categoryContent.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.categoryContent .postItem {
  width: 390px;
  height: 100%;
  background: #FFFFFF;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin-bottom: 60px;
}

.categoryContent .postItem > a img {
  max-width: 390px;
  width: 100%;
  max-height: 300px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.categoryContent .postItem a {
  text-decoration: none;
  transition: 0.3s;
  color: black;
}

.infoContent {
  margin: 20px;
}

.infoContent p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 15px;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
}

.infoContent p img {
  margin-right: 15px;
}

.infoContent h3,
.infoContent h1 {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 20px;
  height: 64px;
  overflow: hidden;
  display: -webkit-box;
  word-break: break-word;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
}

.infoContent .description {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #979797;
  height: 160px;
  overflow: hidden;
  border-bottom: 1px solid #9EC3FF;
}

.itemFooter {
  padding: 31px 0 0;
  color: #3333FF;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.itemFooter .likeReadBlock {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.itemFooter a {
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 17px;
  color: #3333FF;
  letter-spacing: 0.04em;
  padding: 11px 17px 12px 15px;
  text-decoration: none;
}

.itemFooter a:hover {
  background: #EBF2FF;
  border-radius: 5px;
  color: #000000;
}

.itemFooter .value {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  color: #000000;
}

.likeReadBlock span {
  margin-right: 20px;
  margin-left: 5px;
}

.categoryContent .postPage > img, .postPage > img {
  width: 100%;
  max-height: 450px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-top: 65px;
  margin-bottom: 30px;
}

.categoryContent .postPage .backToMain {
  margin-right: 32px;
  margin-left: 75px;
}

.categoryContent .postPage .postPageContent {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.categoryContent .postPage .postContent {
  margin: 0;
}


.categoryContent .postPage .postContent p {
  display: block;
}

.categoryContent .postPage .content {
  margin-bottom: 60px;
  border-bottom: 1px solid #9EC3FF;
}

.postPage .itemFooter a:hover {
  background: unset;
  border-radius: unset;
  color: unset;
}

.postPage .itemFooter .fa {
  color: #ffffff;
  border-radius: 50%;
  font-size: 20px;
}

.postPage .itemFooter .fa-facebook {
  background: #3B5998;
  padding: 9.5px 14px 9.5px 13px;
}

.postPage .itemFooter .fa-twitter {
  background: #55ACEE;
  padding: 9.5px 10px 9.5px 10px;
}

.postPage .itemFooter .fa-linkedin {
  background: #0077B5;
  padding: 9.5px 11px 9.5px 11px;
}

.postPage .itemFooter .fa-pinterest-p {
  background: #BD081C;
  padding: 9.5px 12.5px 9.5px 12.5px;
}

@media (max-width: 1320px) {
  .categoryContent .postItem {
    width: 48%;
  }

  .categoryContent .postItem > img {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .categoryContent .postItem {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .categoryList a {
    margin: 27px 6px 10px !important;
  }
}

@media (max-width: 800px) {

  .categoryContent .postItem {
    width: 100%;
  }
}

@media (max-width: 550px) {
  .categoryList {
    display: -ms-grid;
    display: grid;
  }
}
