:root {
  --sidebar-width: 22rem;
  --layout-gap: 6rem;
  --border-separator: 4px;
  --header-height: 62px;
}

@media (min-width: 1024px) {
  :root {
    --border-separator: 6px;
    --header-height: 95px;
  }
}
@media (min-width: 1150px) {
  :root {
    --header-height: 101px;
  }
}
@media (min-width: 1300px) {
  :root {
    --sidebar-width: 27rem;
    --layout-gap: 8rem;
  }
}
[x-cloak] {
  display: none !important;
}

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

.load-more-posts {
  text-align: center;
  padding: var(--wp--preset--spacing--m) 0 0 0;
}
.load-more-posts .btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--font-16);
  font-weight: 600;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  padding: 1.1ch 1.6rem;
  color: #1C2636;
  background: transparent;
  border: 1px solid #3EA3FF;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  box-shadow: none;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}
.load-more-posts .btn:hover, .load-more-posts .btn:active, .load-more-posts .btn:focus {
  color: #fff;
  background: #3EA3FF;
  cursor: pointer;
  box-shadow: -3px -3px 0 0 rgba(125, 199, 255, 0.5);
}
.load-more-posts .btn:after {
  transform: rotate(90deg);
}

.goverlay {
  background: linear-gradient(114deg, #eeeff5 5%, rgb(223.4090909091, 221.8295454545, 217.0909090909) 95%) !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;
}

.posts-filter .fade-transition {
  transition: opacity 200ms ease;
}
.posts-filter .fade-enter {
  opacity: 0;
}
.posts-filter .fade-enter-active {
  opacity: 1;
}
.posts-filter .fade-leave {
  opacity: 1;
}
.posts-filter .fade-leave-active {
  opacity: 0;
}

.posts-filter-controls {
  margin: 0 0 3rem 0;
}
.posts-filter-controls .inner {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 1rem;
  padding: 1.2rem;
  background: linear-gradient(142deg, #EBEAE7 0%, #fafafa 100%);
}
.posts-filter-controls .posts-filter-label {
  font-size: var(--wp--preset--font-size--font-16);
  color: rgba(28, 38, 54, 0.7);
  display: none;
}
.posts-filter-controls input {
  height: 4.2rem;
  width: 100%;
  font-size: var(--wp--preset--font-size--font-16);
  padding: 0 40px 0 2rem;
  color: #1C2636;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath stroke='%233EA3FF' 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% - 2rem) 50%;
  background-repeat: no-repeat;
  border: 1px solid rgba(25, 65, 102, 0.3);
}
.posts-filter-controls input:focus, .posts-filter-controls input:active {
  border-color: rgba(25, 65, 102, 0.5);
  outline: none;
}
.posts-filter-controls .dropdown {
  position: relative;
}
.posts-filter-controls .dropdown button {
  width: 100%;
  height: 4.2rem;
  font-size: var(--wp--preset--font-size--font-16);
  padding: 0 1.2rem;
  color: #1C2636;
  background-color: #fff;
  border: 1px solid rgba(25, 65, 102, 0.3);
  transition: border 0.25s ease-in-out;
}
.posts-filter-controls .dropdown button span {
  display: block;
  line-height: 30px;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 20px;
  overflow: hidden;
}
.posts-filter-controls .dropdown button:after {
  content: "";
  display: block;
  width: 12px;
  height: 11px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='11' fill='none'%3E%3Cpath stroke='%233EA3FF' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.2' d='M11 1 6.022 6.078 1 1'/%3E%3Cpath stroke='%233EA3FF' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.2' d='m11 5-4.978 5.078L1 5'/%3E%3C/svg%3E");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: calc(50% - 5px);
  right: 1.2rem;
  transition: transform 0.25s ease-in-out;
}
.posts-filter-controls .dropdown button:focus, .posts-filter-controls .dropdown button:active {
  border: 1px solid rgba(25, 65, 102, 0.5);
  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 {
  width: 100%;
  min-width: 180px;
  font-size: var(--wp--preset--font-size--font-15);
  font-weight: 500;
  list-style: none;
  margin: 0;
  padding: 1.5rem 0;
  color: #1C2636;
  background: rgb(246.5909090909, 246.1704545455, 244.9090909091);
  box-shadow: 0 2px 4px 0 rgba(28, 38, 54, 0.1);
  position: absolute;
  z-index: 5;
}
.posts-filter-controls .dropdown .dropdown-menu li {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0.6rem 2rem;
  position: relative;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1), gap 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.posts-filter-controls .dropdown .dropdown-menu li:before {
  content: "";
  display: block;
  width: 11px;
  height: 12px;
  margin-top: 0.7ch;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 11 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 5.078 4.978L1 11' stroke='%23E3A7AA' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m1 1 5.078 4.978L1 11' stroke='%23E3A7AA' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m1 1 5.078 4.978L1 11' stroke='%23E3A7AA' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m5 1 5.078 4.978L5 11' stroke='%23E3A7AA' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m5 1 5.078 4.978L5 11' stroke='%23E3A7AA' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m5 1 5.078 4.978L5 11' stroke='%23E3A7AA' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background: #3EA3FF;
  background-size: cover;
  transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.posts-filter-controls .dropdown .dropdown-menu li:hover, .posts-filter-controls .dropdown .dropdown-menu li:active, .posts-filter-controls .dropdown .dropdown-menu li:focus {
  gap: 1.25rem;
  cursor: pointer;
}
.posts-filter-controls .dropdown .dropdown-menu li:hover:before, .posts-filter-controls .dropdown .dropdown-menu li:active:before, .posts-filter-controls .dropdown .dropdown-menu li:focus:before {
  background: #194166;
}
.posts-filter-controls .filter-reset {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  font-size: var(--wp--preset--font-size--font-16);
  line-height: 1;
  color: #1C2636;
  cursor: pointer;
  transition: color 0.25s ease-in-out;
}
.posts-filter-controls .filter-reset svg {
  margin-top: -2px;
  transition: transform 0.25s ease-in-out;
}
.posts-filter-controls .filter-reset:hover, .posts-filter-controls .filter-reset:focus-visible {
  color: #194166;
}
.posts-filter-controls .filter-reset:hover svg, .posts-filter-controls .filter-reset:focus-visible svg {
  transform: scale(1.1);
}
@media (min-width: 680px) {
  .posts-filter-controls .inner {
    flex-direction: row;
  }
  .posts-filter-controls .inner > div {
    width: calc(50% - 0.5rem);
  }
}
@media (min-width: 1024px) {
  .posts-filter-controls .inner > div {
    width: 20%;
  }
  .posts-filter-controls .inner > div.search-bar {
    width: 31.3%;
    margin-left: auto;
  }
}

.excerpt {
  display: block;
  background: #EBEAE7;
  transition: transform 0.25s ease-in-out, background 0.25s ease-in-out;
}
.excerpt__thumb {
  aspect-ratio: 1/0.575;
  line-height: 0;
  position: relative;
  overflow: hidden;
}
.excerpt__thumb img {
  width: 100%;
  line-height: 0;
  aspect-ratio: 1/0.575;
  object-fit: cover;
}
.excerpt__body {
  padding: 2.4rem 2.4rem 7rem 2.4rem;
  position: relative;
}
.excerpt__body .meta {
  font-size: 1.4rem;
  text-transform: uppercase;
  margin: 0 0 1.4ch 0;
  color: rgba(28, 38, 54, 0.7);
}
.excerpt__body h3 {
  font-size: var(--wp--preset--font-size--font-20);
  margin: 0;
  transition: color 0.25s ease-in-out;
}
.excerpt__body .btn {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-weight: 600;
  color: #1C2636;
  position: absolute;
  bottom: 2.4rem;
  left: 2.4rem;
  transition: gap 0.25s ease-in-out;
}
.excerpt__body .btn:before {
  content: "";
  display: block;
  width: 26px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='18' fill='none' aria-hidden='true'%3E%3Cpath stroke='%23194166' stroke-linecap='round' stroke-width='1.5' d='M25.962 9.093H1.717M18.82 17.02l8.296-8.013L18.82 1.02'/%3E%3C/svg%3E");
  background-size: cover;
}
.excerpt:hover, .excerpt:active, .excerpt:focus {
  background: #F7F7F7;
  transform: translateY(-6px);
}
.excerpt:hover h3, .excerpt:active h3, .excerpt:focus h3 {
  color: #1C2636;
}
.excerpt:hover .btn, .excerpt:active .btn, .excerpt:focus .btn {
  gap: 1.3rem;
}
