: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;
}
.posts-listing .post-item {
  display: flex;
  min-width: 0;
  border-radius: 6px;
}
.posts-listing .excerpt {
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0 !important;
  width: 100%;
  height: 100%;
  background: #FFF;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1.2rem 3rem rgba(9, 41, 62, 0);
  transform: translateY(0);
  transition: box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.posts-listing .excerpt__thumb {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.posts-listing .excerpt__thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.posts-listing .excerpt__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  gap: 1.5rem;
  padding: clamp(2rem, 2.2vw, 3rem);
}
.posts-listing .excerpt__body .meta {
  margin: 0;
  font-size: var(--wp--preset--font-size--font-15);
  font-weight: 400;
  text-transform: uppercase;
  color: #FF4D2D;
}
.posts-listing .excerpt__body h3 {
  font-size: var(--wp--preset--font-size--font-20);
  font-weight: 400;
  line-height: 1.45;
  margin: 0 0 2ch 0 !important;
  color: #0A0A0A;
}
.posts-listing .excerpt__action {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0;
  font-family: var(--wp--preset--font-family--secondary);
  font-size: var(--wp--preset--font-size--font-16);
  font-weight: 500;
  color: #09293E;
  transition: color 0.45s ease-in-out;
}
.posts-listing .excerpt__action-icon {
  display: block;
  flex: 0 0 2.2rem;
  width: 2.2rem;
  height: 2.2rem;
  background-color: #09293E;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  transition: background-color 0.45s ease-in-out;
}
.posts-listing .excerpt__action--internal .excerpt__action-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23' height='16' fill='none'%3E%3Cpath stroke='%23000' d='m14.404.354 7.125 7.125-7.482 7.482m7.482-7.482H0'/%3E%3C/svg%3E");
}
.posts-listing .excerpt__action--external .excerpt__action-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none'%3E%3Cpath stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.3' d='m15 5-10 .1M15 5l-.1 10M15 5 4.5 15.5'/%3E%3C/svg%3E");
}
.posts-listing .excerpt__action--video .excerpt__action-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='16' viewBox='0 0 14 16' fill='none'%3E%3Cpath d='M13 8 1 15V1l12 7Z' stroke='%23000' stroke-width='1' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-size: 1.4rem 1.6rem;
}
.posts-listing .excerpt:hover, .posts-listing .excerpt:active, .posts-listing .excerpt:focus-visible {
  box-shadow: 0 1.2rem 3rem rgba(9, 41, 62, 0.12);
  transform: translateY(-0.4rem);
}
.posts-listing .excerpt:hover .excerpt__action, .posts-listing .excerpt:active .excerpt__action, .posts-listing .excerpt:focus-visible .excerpt__action {
  color: #FF4D2D;
}
.posts-listing .excerpt:hover .excerpt__action-icon, .posts-listing .excerpt:active .excerpt__action-icon, .posts-listing .excerpt:focus-visible .excerpt__action-icon {
  background-color: #FF4D2D;
}
.posts-listing .excerpt:focus-visible {
  outline: 1px solid rgba(255, 77, 45, 0.7);
  outline-offset: 0.5rem;
}
@media (min-width: 680px) {
  .posts-listing {
    flex-direction: row;
    gap: 3rem;
  }
  .posts-listing .excerpt__action {
    margin-top: auto;
  }
  .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);
}
@media (min-width: 1024px) {
  .post-filters-head {
    margin-bottom: var(--wp--preset--spacing--l);
  }
}
@media (min-width: 1200px) {
  .post-filters-head {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
  }
  .post-filters-head .posts-filter-controls {
    width: calc(66.6% - 1rem);
    width: 100%;
  }
}

.posts-filter-controls .search-bar input {
  height: 4.6rem;
  width: 100%;
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--font-16);
  padding: 0.8rem 40px 0.8rem 2rem;
  color: #0A0A0A;
  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='%23E46030' stroke-width='1.5' 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 rgba(255, 77, 45, 0.6);
  border-radius: 5rem;
  transition: border 0.45s ease-in-out;
}
.posts-filter-controls .search-bar input:focus, .posts-filter-controls .search-bar input:active {
  outline: none;
  border-color: #FF4D2D;
}
.posts-filter-controls .dropdown {
  height: 46px;
  background: transparent;
  position: relative;
}
.posts-filter-controls .dropdown button {
  width: 100%;
  min-width: 125px;
  height: 46px;
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--font-16);
  padding: 0.5rem 2rem;
  color: #0A0A0A;
  border: 1px solid rgba(255, 77, 45, 0.6);
  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: 13px;
  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='%23E46030' stroke-width='1.5' 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: 15px 0 0 0;
  padding: 1.7rem 2rem;
  color: #0A0A0A;
  background: #FFF;
  border-radius: 6px;
  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: #0A0A0A;
  position: relative;
  transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.posts-filter-controls .dropdown .dropdown-menu li:hover {
  color: #FF4D2D;
  cursor: pointer;
}
.posts-filter-controls .dropdown .dropdown-menu li.active {
  font-weight: 500;
  color: #09293E;
}
.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: 600px) {
  .posts-filter-controls .inner {
    flex-direction: row;
    padding: 7px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 100px;
  }
  .posts-filter-controls .inner > div {
    width: calc(50% - 1.4rem);
  }
  .posts-filter-controls .inner > div.dropdown-years {
    max-width: 200px;
  }
  .posts-filter-controls .inner > div.search-bar {
    margin-right: auto;
  }
}
@media (min-width: 1200px) {
  .posts-filter-controls .inner > div.search-bar {
    width: calc(50% - 1.4rem);
  }
  .posts-filter-controls .inner > div.dropdown-topics {
    width: calc(33.33% - 1.4rem);
  }
}

.load-more-posts {
  text-align: center;
  margin-top: var(--wp--preset--spacing--l);
}
.load-more-posts .load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  font-family: var(--wp--preset--font-family--secondary);
  font-size: var(--wp--preset--font-size--font-18);
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  padding: 11px 2.2rem;
  color: #0A0A0A;
  border: 0.1rem solid #FF4D2D;
  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);
}
.load-more-posts .load-more:after {
  content: "";
  display: block;
  width: 22px;
  height: 15px;
  background: #FF4D2D;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23' height='16' fill='none'%3E%3Cpath stroke='%23ff4d2d' d='m14.404.354 7.125 7.125-7.482 7.482m7.482-7.482H0'/%3E%3C/svg%3E");
  transition: background 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.load-more-posts .load-more:hover, .load-more-posts .load-more:active, .load-more-posts .load-more:focus {
  color: #FFF;
  background: #FF4D2D;
}
.load-more-posts .load-more:hover:after, .load-more-posts .load-more:active:after, .load-more-posts .load-more:focus:after {
  background: #FFF;
}
.load-more-posts .load-more[href$=".pdf"]:after {
  transform: rotate(90deg);
}
.load-more-posts .load-more:after {
  transform: rotate(90deg);
}
