: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);
  }
}

.posts-filter h2 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: var(--wp--preset--font-size--font-36);
}
.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: #26252C;
}
.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;
  padding: var(--wp--preset--spacing--small) 0;
  border-top: 1px solid #63695E;
  border-bottom: 1px solid #63695E;
}
.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 {
  background: #dfdfd5;
  position: relative;
}
.posts-filter-controls .dropdown button {
  width: 100%;
  min-width: 125px;
  font-family: var(--wp--preset--font-family--secondary);
  font-size: var(--wp--preset--font-size--font-17);
  font-weight: 500;
  padding: 0.6rem 1rem;
  color: #26252C;
  transition: background 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: 17px;
  height: 9px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='14' fill='none'%3E%3Cpath stroke='%2326252C' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m24.383.75-11.764 12L.75.75'/%3E%3C/svg%3E");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: calc(50% - 5px);
  right: 1rem;
  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.5rem;
  width: 100%;
  font-size: 1.6rem;
  font-weight: 500;
  list-style: none;
  margin: 0;
  padding: 1.5rem;
  color: #26252C;
  background: #C7CDC2;
  position: absolute;
  z-index: 5;
}
.posts-filter-controls .dropdown .dropdown-menu li {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--wp--preset--font-family--secondary);
  font-weight: 500;
  margin: 0;
  padding: 0.6rem 0;
  color: #4F554A;
  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: 11px;
  height: 9px;
  margin-top: 0.6ch;
  background: #92712E;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='12' fill='none'%3E%3Cpath stroke='%23B89F6B' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m.75.75 5.078 4.978L.75 10.75M6.828.75l5.077 4.978-5.077 5.022'/%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: #26252C;
  cursor: pointer;
}
.posts-filter-controls .dropdown .dropdown-menu li.active {
  font-weight: 700;
  color: #26252C;
}
.posts-filter-controls .dropdown .dropdown-menu.cat-dropdown {
  min-width: 180px;
}
.posts-filter-controls .search-bar input {
  height: 4.2rem;
  width: 100%;
  font-family: var(--wp--preset--font-family--secondary);
  font-size: var(--wp--preset--font-size--font-17);
  font-weight: 500;
  padding: 0.7rem 40px 0.7rem 1rem;
  color: #26252C;
  background-color: #dfdfd5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath stroke='%2326252C' 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: calc(100% - 1rem) 50%;
  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--m);
}
.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: 600;
  line-height: 1.025;
  text-align: center;
  text-decoration: none;
  padding: 1.1rem 2rem 1.1rem 4rem;
  color: #fff;
  border-radius: 5rem;
  cursor: pointer;
  position: relative;
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #B89F6B;
  padding-left: 4.4rem;
}
.load-more-posts .load-more:hover, .load-more-posts .load-more:active, .load-more-posts .load-more:focus {
  color: #92712E;
  background: #fff;
}
.load-more-posts .load-more:hover, .load-more-posts .load-more:active, .load-more-posts .load-more:focus {
  color: #fff;
  background: #92712E;
  border-color: #92712E;
}
.load-more-posts .load-more:before {
  content: "";
  display: block;
  width: 13px;
  height: 12px;
  background-color: #fff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='12' fill='none'%3E%3Cpath stroke='%23B89F6B' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m.75.75 5.078 4.978L.75 10.75M6.828.75l5.077 4.978-5.077 5.022'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: calc(50% - 6px);
  left: 2rem;
}
.load-more-posts .load-more:before {
  background-color: #B89F6B;
}
.load-more-posts .load-more:before {
  transform: rotate(90deg);
}
.load-more-posts .load-more:hover:before {
  background-color: #fff;
}

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

.glightbox-clean .gslide-media {
  box-shadow: none !important;
}
.glightbox-clean .gslide-description {
  background: #dfdfd5 !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;
}
