:root {
  --sidebar-width: 31rem;
  --layout-gap: 4rem;
  --wp--style--block-gap: clamp(3.5rem, 2.737rem + 1.404vw, 4rem);
}

@media (min-width: 1300px) {
  :root {
    --sidebar-width: 34rem;
    --layout-gap: 6rem;
  }
}
.posts-listing {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 4rem;
}
@media (min-width: 680px) {
  .posts-listing {
    flex-direction: row;
    gap: 3rem;
  }
  .posts-listing .post-item {
    width: calc(50% - 1.5rem);
  }
}
@media (min-width: 1200px) {
  .posts-listing {
    gap: 4rem;
  }
  .posts-listing .post-item {
    width: calc(33.33% - 2.7rem);
  }
}

.post-filters-head {
  margin-bottom: var(--wp--preset--spacing--m);
}
.post-filters-head h2 {
  display: flex;
  font-size: var(--wp--preset--font-size--font-30);
}
.post-filters-head h2 .post-counter {
  display: block;
  font-size: var(--wp--preset--font-size--font-16);
  margin: 0 0 0 1ch;
  color: #86F1A7;
}
@media (min-width: 1200px) {
  .post-filters-head {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
  }
  .post-filters-head h2 {
    margin: 0;
  }
  .post-filters-head .posts-filter-controls {
    width: calc(66.6% - 1rem);
  }
}

.posts-filter-controls .search-bar input {
  height: 4rem;
  width: 100%;
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--font-17);
  padding: 0.6rem 40px 0.6rem 2rem;
  color: #FFF;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' fill='none'%3E%3Cpath stroke='%23D6DBE7' stroke-linecap='round' stroke-linejoin='round' d='M12.5 12.5 9.605 9.605m0 0a5.334 5.334 0 1 0-7.543-7.543 5.334 5.334 0 0 0 7.543 7.543Z'/%3E%3C/svg%3E");
  background-position: calc(100% - 1.5rem) 50%;
  background-repeat: no-repeat;
  background-size: 14px;
  border: 1px solid #AEB6C6;
  border-radius: 5rem;
}
.posts-filter-controls .search-bar input:focus, .posts-filter-controls .search-bar input:active {
  outline: none;
}
.posts-filter-controls .dropdown {
  height: 40px;
  background: transparent;
  position: relative;
}
.posts-filter-controls .dropdown button {
  width: 100%;
  min-width: 125px;
  height: 40px;
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--font-17);
  padding: 0.5rem 2rem;
  color: #FFF;
  border: 1px solid #AEB6C6;
  border-radius: 5rem;
}
.posts-filter-controls .dropdown button span {
  display: block;
  line-height: 30px;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 30px;
  overflow: hidden;
}
.posts-filter-controls .dropdown button:after {
  content: "";
  display: block;
  width: 11px;
  height: 7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' fill='none'%3E%3Cpath stroke='%23D6DBE7' stroke-linecap='round' stroke-linejoin='round' d='m.5.5 4.977 5.077L10.498.5'/%3E%3C/svg%3E");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: calc(50% - 3px);
  right: 1.5rem;
  transition: transform 0.45s ease-in-out;
}
.posts-filter-controls .dropdown button:focus, .posts-filter-controls .dropdown button:active {
  outline: none;
}
.posts-filter-controls .dropdown button:focus:after {
  transform: scaleY(-1);
}
.posts-filter-controls .dropdown button:hover {
  cursor: pointer;
}
.posts-filter-controls .dropdown .dropdown-menu {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  font-size: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 1.7rem 2rem;
  color: #D6DBE7;
  background: #000A24;
  border-radius: 10px;
  position: absolute;
  z-index: 5;
}
.posts-filter-controls .dropdown .dropdown-menu li {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0;
  padding: 0.4rem 0;
  color: #D6DBE7;
  position: relative;
  transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.posts-filter-controls .dropdown .dropdown-menu li:hover {
  color: #86F1A7;
  cursor: pointer;
}
.posts-filter-controls .dropdown .dropdown-menu li.active {
  color: #86F1A7;
}
.posts-filter-controls .dropdown .dropdown-menu.cat-dropdown {
  min-width: 260px;
}
.posts-filter-controls .inner {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 550px) {
  .posts-filter-controls .inner {
    flex-direction: row;
  }
  .posts-filter-controls .inner > div {
    width: calc(50% - 1rem);
  }
}
@media (min-width: 782px) {
  .posts-filter-controls .inner {
    gap: 8px;
    padding: 5px;
    background: rgba(0, 77, 188, 0.1);
    border-radius: 5rem;
  }
  .posts-filter-controls .inner > div {
    width: calc(20% - 6px);
  }
  .posts-filter-controls .inner > div.search-bar {
    order: 100;
    width: calc(40% - 6px);
  }
}

.load-more-posts {
  text-align: center;
}
.load-more-posts .load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--font-17);
  font-weight: 500;
  line-height: 1.025;
  text-align: center;
  text-decoration: none;
  padding: 1.4rem 3rem;
  color: #02061A;
  border-radius: 5rem;
  cursor: pointer;
  position: relative;
  transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1), background 0.45s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  padding-right: 5.3rem;
  background: #86F1A7;
  border: 1px solid transparent;
}
.load-more-posts .load-more:hover, .load-more-posts .load-more:active, .load-more-posts .load-more:focus {
  color: #86F1A7;
  background: #000A24;
}
.load-more-posts .load-more:after {
  content: "";
  display: block;
  width: 14px;
  height: 8px;
  background-color: #02061A;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none'%3E%3Cpath stroke='%2302061A' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.2' d='m.6.6 5.972 6.092L12.598.6'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  transition: background-color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: calc(50% - 4px);
  right: 2.3rem;
}
.load-more-posts .load-more:hover:after, .load-more-posts .load-more:active:after, .load-more-posts .load-more:focus:after {
  background-color: #86F1A7;
}
.load-more-posts .load-more:hover, .load-more-posts .load-more:active, .load-more-posts .load-more:focus {
  background: transparent;
  border-color: #86F1A7;
}

.goverlay {
  background: linear-gradient(114deg, #001036 5%, #D6DBE7 95%) !important;
}

.glightbox-clean .gslide-media {
  box-shadow: none !important;
}
.glightbox-clean .gslide-description {
  background: #D6DBE7 !important;
}
.glightbox-clean h4.gslide-title {
  font-family: var(--wp--preset--font-family--secondary);
  font-size: var(--wp--preset--font-size--font-20);
  font-weight: 500;
  margin-bottom: 0;
}
