.page-hero-section {
  margin-bottom: 50px;
}

.filtered-hero-content {
  display: none;
}

.filter-section-wrapper {
  margin-bottom: 35px;
  position: relative;
}

.filter-section-inner {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  height: 42px;
  justify-content: space-between;
  z-index: 1;
}

.filter-section__text {
  padding-top: 11px;
}

.filter-list,
.filter-section-inner input {
  background: #FAFAFA;
  border-radius: 5px;
  border: 1px solid #4E3CBB;
  box-sizing: border-box;
  color: #4E3CBB;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.4;
  overflow: hidden;
  width: 280px;
  z-index: 1;
}

.filter-section-inner input {
  padding: 9.5px 12px;
}

.filter-section-inner input::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #4E3CBB;
}

.filter-section-inner input::-moz-placeholder {
  /* Firefox 19+ */
  color: #4E3CBB;
}

.filter-section-inner input:-ms-input-placeholder {
  /* IE 10+ */
  color: #4E3CBB;
}

.filter-section-inner input:-moz-placeholder {
  /* Firefox 18- */
  color: #4E3CBB;
}

.filter-list__items-wrapper,
.filter-list__label-icon--close {
  display: none;
}

.filter-list__label {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.filter-list__label-icon {
  bottom: 2px;
  margin-left: 16px;
  position: relative;
}

.filter-list__label,
.filter-list__item {
  cursor: pointer;
  padding: 9.5px 12px;
  transition: all .3s ease-in-out;
}

.filter-list__item:hover {
  background-color: #4E3CBB;
  color: #fafafa;
}

.filter-section__keyword-field {
  position: relative;
}

.keyword-field-search {
  position: absolute;
  right: 10px;
  top: 10px;
}

.mobile-filter-button {
  display: none;
  padding-top: 25px;
}

.mobile-filter-button .button {
  max-width: 100%;
  width: 100%;
}

#clear-filters {
  cursor: pointer;
  display: none;
}

.clear-filters__inner {
  display: flex;
  padding-left: 4px;
}

.clear-filters__text {
  color: #4E3CBB;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.4;
  margin-left: 5px;
}

.filter-error-message {
  display: none;
}

.latest-posts-wrapper {
  padding-top: 32px;
}

.latest-posts{
  position: relative;
}

.latest-posts__heading{
  font-weight: 600;
  font-size: 26.4px;
  line-height: 120%;
  margin: 0 0 24px 0;
}

.latest-posts-items {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin: 0 -3%;
}

.latest-posts-item {
  margin: 0 2% 64px 2%;
  position: relative;
  transition: all .3s ease-in-out;
  max-width: 331px;
  width: 29%;
}

.latest-posts-item:hover {
  margin-top: -20px;
  margin-bottom: 22px;
}

.latest-posts-item__link {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.latest-posts-item__image{
  border-radius: 5px 5px 5px 5px;
  background-size: cover;
  background-position: center;
  min-height: 214px;
}
.latest-posts-item__image img {
  border-radius: 5px 5px 5px 5px;
  width: 100%;
  display: none;
}

.latest-posts-item__topic-tag {
 
 display: inline-block; 
   font-size: 13px;
    color: #4e3cbb;
  background: #fff;
  font-weight 500;
    padding: 6px 20px 4px;
  border-radius: 50px;
  border: 1px solid  #4e3cbb;
  margin-left: 0px;
  font-size: 12px;
    letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-top: 10px;

}

.latest-posts-item__title {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.3;
  margin: 14px 0px 8px;
  min-height: 60px;
}

.latest-posts-item__sub-title {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin: 7px 0px;
}

.latest-posts__link{
  position: absolute;
  right: 0;
  top: 0;
}

@media(max-width: 1170px){
  .latest-posts-item__image{
    min-height: 164px;
  }
}
  
@media(max-width: 767px){
  .latest-posts-item__image{
    min-height: 214px;
  }
  
  .latest-posts-item{
    width: 100%;
    max-width: none;
    margin-bottom: 42px;
  }
  
  .latest-posts__link{
    position: static;
  }
}

@media (max-width: 820px) and (orientation: portrait) {
  .filter-section-inner {
    height: auto;
  }

  .filter-section__text,
  .filter-list,
  .filter-section__keyword-field,
  .filter-section-inner input {
    width: 100%;
  }

  .filter-section__text {
    padding: 12px 0;
  }

  .mobile-filter-button {
    display: block;
  }
}

@media (max-width: 1180px) and (orientation: landscape) {
  .filter-list {
    width: 180px;
  }

  .filter-section__keyword-field,
  .filter-section-inner input {
    width: auto;
  }
}

