: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 .post-item {
    width: calc(33.33% - 2rem);
  }
}

.posts-filter h2 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: var(--wp--preset--font-size--font-32);
}
.posts-filter h2 .post-counter {
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--font-17);
  font-weight: 500;
  color: #101010;
}
.posts-filter h2 .post-counter strong {
  font-weight: 500;
}

.posts-filter-controls {
  margin: var(--wp--preset--spacing--normal) 0 var(--wp--preset--spacing--m) 0;
}
.posts-filter-controls .inner {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 2rem;
}
.posts-filter-controls .posts-filter-label {
  display: none;
}
.posts-filter-controls .dropdown {
  border-bottom: 1px solid rgba(55, 42, 102, 0.4);
  position: relative;
}
.posts-filter-controls .dropdown button {
  width: 100%;
  min-width: 125px;
  font-size: var(--wp--preset--font-size--font-18);
  padding: 0.7rem 0;
  color: #101010;
  transition: border 0.35s ease-in-out;
}
.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: 20px;
  height: 11px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='11' fill='none'%3E%3Cpath stroke='%23101010' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M1.258.843 10.1 9.86 19.02.843'/%3E%3C/svg%3E");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: calc(50% - 5px);
  right: 0;
  transition: transform 0.35s 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.7rem;
  width: 100%;
  font-size: 1.5rem;
  font-weight: 500;
  list-style: none;
  margin: 0;
  padding: 1.5rem;
  color: #101010;
  background: #f5f4f8;
  border-radius: 3px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  position: absolute;
  z-index: 5;
}
.posts-filter-controls .dropdown .dropdown-menu li {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0.6rem 0;
  position: relative;
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.posts-filter-controls .dropdown .dropdown-menu li:before {
  content: "";
  display: block;
  width: 7px;
  height: 12px;
  margin-top: 0.7ch;
  background: #B11226;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' fill='none'%3E%3Cpath stroke='%23B11226' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.2' d='m1.287 10.59 5-4.903-5-4.946'/%3E%3C/svg%3E");
  background-size: cover;
  mask-size: cover;
  mask-position: center;
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.posts-filter-controls .dropdown .dropdown-menu li:hover {
  color: #372A66;
  cursor: pointer;
}
.posts-filter-controls .dropdown .dropdown-menu li.active {
  font-weight: 600;
  color: #372A66;
}
.posts-filter-controls .dropdown .dropdown-menu.cat-dropdown {
  min-width: 180px;
}
.posts-filter-controls .search-bar {
  border-bottom: 1px solid rgba(55, 42, 102, 0.4);
}
.posts-filter-controls .search-bar input {
  height: 4.2rem;
  width: 100%;
  font-size: var(--wp--preset--font-size--font-18);
  padding: 0.7rem 40px 0.7rem 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath stroke='%23101010' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.2' d='m14.822 15.134-3.378-3.378m0 0a6.222 6.222 0 1 0-8.799-8.8 6.222 6.222 0 0 0 8.8 8.8Z'/%3E%3C/svg%3E");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 20px;
  border: none;
}
.posts-filter-controls .search-bar input:focus, .posts-filter-controls .search-bar input:active {
  outline: none;
}
@media (min-width: 600px) {
  .posts-filter-controls .inner {
    flex-direction: row;
  }
  .posts-filter-controls .inner .dropdown-topics {
    margin-left: auto;
  }
}
@media (min-width: 680px) {
  .posts-filter-controls .search-bar {
    width: calc(50% - 1.5rem);
  }
}
@media (min-width: 1024px) {
  .posts-filter-controls .dropdown-topics {
    width: 220px;
  }
}

.load-more-posts {
  text-align: center;
  margin-top: var(--wp--preset--spacing--normal);
}
.load-more-posts .load-more {
  min-height: 44px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  font-size: var(--wp--preset--font-size--font-17);
  font-weight: 600;
  color: #101010;
  transition: color 0.35s ease-in-out;
  position: relative;
  cursor: pointer;
  transition: color 0.35s ease-in-out;
}
.load-more-posts .load-more:before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' fill='none'%3E%3Crect width='43' height='43' x='.5' y='.5' stroke='%23372A66' rx='21.5'/%3E%3Cpath stroke='%232E2A4D' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m13.613 24.205 8.35 8.517 8.424-8.517'/%3E%3Cpath stroke='%232E2A4D' stroke-linecap='round' stroke-width='1.5' d='M21.949 32.066V12.188'/%3E%3C/svg%3E");
  background: #44307C;
  transition: background 0.35s ease-in-out;
}
.load-more-posts .load-more:hover {
  color: #372A66;
}
.load-more-posts .load-more:hover:before {
  background: #B11226;
}

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

.glightbox-clean .gslide-description {
  border-radius: 0 0 5px 5px;
}
.glightbox-clean h4.gslide-title {
  font-family: var(--wp--preset--font-family--secondary);
  font-size: var(--wp--preset--font-size--font-21);
  font-weight: 500;
  margin-bottom: 0;
}
