#member-page.content-open #page-content {
  margin-bottom: 50px;
}
@media only screen and (min-width: 1100px) {
  #member-page.content-open #page-content {
    margin-bottom: 6.25rem;
  }
}

#posts-content {
  padding-left: 20px;
  padding-right: 20px;
}
@media only screen and (min-width: 700px) {
  #posts-content {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media only screen and (min-width: 1100px) {
  #posts-content {
    padding-left: 18.75rem;
    padding-right: 18.75rem;
  }
}

.dropdown-wrapper {
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}
@media only screen and (min-width: 1100px) {
  .dropdown-wrapper {
    margin-bottom: 5.625rem;
  }
}
.dropdown-wrapper .dropdown-btn {
  padding: 14px 25px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #acacac;
  width: 31.25rem;
  max-width: 100%;
  min-width: 260px;
  position: relative;
  border-radius: 5px;
}
.dropdown-wrapper .dropdown-btn::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
}
.dropdown-wrapper.open .dropdown-btn::after {
  transform: translateY(-20%) rotate(-135deg);
}
.dropdown-wrapper .dropdown-content {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #fff;
  border: 1px solid #acacac;
  width: 100%;
  position: absolute;
  z-index: 2;
  display: none;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  margin-top: -2px;
}
.dropdown-wrapper.open .dropdown-content {
  display: block;
  height: auto;
  padding: 12px 0;
}
.dropdown-wrapper .dropdown-content a {
  text-decoration: none;
}
.dropdown-wrapper .dropdown-content li {
  margin: 0 25px 10px;
  display: block;
}
.dropdown-wrapper .dropdown-content li a {
  display: block;
  color: #1a1a1a;
  position: relative;
  padding-left: 40px;
  cursor: pointer;
}
.dropdown-wrapper .dropdown-content li a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 24px;
  height: 24px;
  border: 1px solid #acacac;
  border-radius: 3px;
}
.dropdown-wrapper .dropdown-content li a.active::after {
  background-color: var(--primary-color);
  box-shadow: inset 0 0 0 4px #fff;
}

@media only screen and (min-width: 700px) {
  .categories-filter-wrapper {
    display: grid;
    grid-template-columns: 1fr 3fr 3fr;
    padding-right: 10px;
  }
}
.categories-filter-wrapper ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.categories-filter-wrapper .all a,
.categories-filter-wrapper .first-level-list > li > a {
  font-weight: 600;
}
.categories-filter-wrapper .second-level-list {
  margin-left: 5px;
}
.categories-filter-wrapper .second-level-list li a,
.categories-filter-wrapper .third-level-list li a {
  padding-left: 30px;
  font-size: 14px;
  line-height: 22px;
}
@media only screen and (min-width: 1100px) {
  .categories-filter-wrapper .second-level-list li a,
  .categories-filter-wrapper .third-level-list li a {
    font-size: 18px;
    line-height: 28px;
  }
}
.categories-filter-wrapper .second-level-list li a::after,
.categories-filter-wrapper .third-level-list li a::after {
  width: 20px;
  height: 20px;
}
.categories-filter-wrapper .third-level-list {
  margin-left: 30px;
  display: flex;
  flex-wrap: wrap;
}
.categories-filter-wrapper .third-level-list li {
  margin-right: 0;
}

.documentary {
  border-bottom: 1px solid #acacac;
  margin-bottom: 36px;
}
@media only screen and (min-width: 1100px) {
  .documentary {
    margin-bottom: 50px;
  }
}
.documentary-details h4 {
  margin-bottom: 10px;
}

.documentary-content .wp-block-file {
  margin: 0 0 12px;
}
.documentary-content .wp-block-file:last-child {
  margin-bottom: 20px;
}
.documentary-content .wp-block-file a:not(.wp-block-file__button) {
  border-radius: 4px;
  background-color: var(--secondary-color);
  color: #1a1a1a;
  font-size: 16px;
  line-height: 25px;
  display: block;
  padding: 13px 130px 13px 20px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
@media only screen and (min-width: 1100px) {
  .documentary-content .wp-block-file a:not(.wp-block-file__button) {
    font-size: 22px;
    line-height: 34px;
  }
}
@media only screen and (max-width: 699px) {
  .documentary-content .wp-block-file a:not(.wp-block-file__button) {
    padding-right: 100px;
  }
}
.documentary-content .wp-block-file a:not(.wp-block-file__button):after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: url(../../img/download.svg) no-repeat center;
  background-size: 30%;
  width: 115px;
  background-color: var(--primary-color);
}
@media only screen and (max-width: 699px) {
  .documentary-content .wp-block-file a:not(.wp-block-file__button):after {
    width: 90px;
  }
}
.documentary-content .wp-block-file a:not(.wp-block-file__button):hover,
.documentary-content .wp-block-file a:not(.wp-block-file__button):focus {
  color: #1a1a1a;
  text-decoration: none;
}
.documentary-content .wp-block-file__button {
  display: none;
}
