:root {
  --spacer-sm: 1.5rem;
  --spacer: 2.5rem;
  --spacer-md: 4rem;
  --spacer-lg: 5rem;
}

@media (min-width: 782px) {
  :root {
    --spacer: 3rem;
    --spacer-md: 6rem;
    --spacer-lg: 8rem;
  }
}
.file-archive__filter {
  padding-top: 30px;
  padding-bottom: 30px;
  background: #e5dbd0;
  border-bottom: 10px solid #fff;
  position: relative;
  z-index: 4;
}
.file-archive__filter > * {
  position: relative;
  z-index: 4;
}
.file-archive__filter .facetwp-facet {
  margin-bottom: 10px;
}
.file-archive__filter .facetwp-facet.is-loading {
  opacity: 1;
}
.file-archive__filter .facetwp-facet.facetwp-facet-reset {
  text-align: right;
  margin: 0;
}
@media (min-width: 500px) {
  .file-archive__filter .inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    max-width: 1080px;
  }
  .file-archive__filter .facetwp-facet {
    width: calc(50% - 5px);
    margin: 0;
  }
  .file-archive__filter .facetwp-facet.facetwp-facet-reset, .file-archive__filter .facetwp-facet.facetwp-type-search {
    width: 100%;
  }
}
@media (min-width: 782px) {
  .file-archive__filter .facetwp-facet.facetwp-facet-document_category {
    width: 220px;
  }
  .file-archive__filter .facetwp-facet.facetwp-facet-year {
    width: 120px;
  }
  .file-archive__filter .facetwp-facet.facetwp-facet-filesearch {
    width: 220px;
    margin-left: auto;
  }
}
@media (min-width: 1024px) {
  .file-archive__filter {
    position: sticky;
    top: 0;
  }
  .file-archive__filter .inner {
    padding-right: 6rem;
  }
}
.file-archive__table {
  padding-top: 20px;
  padding-bottom: var(--wp--preset--spacing--large);
}
.file-archive__table .file {
  display: flex;
  flex-wrap: wrap;
  text-decoration: none;
  padding: 15px;
  color: #1f2329;
  position: relative;
  transition: background 0.25s ease-in-out;
}
.file-archive__table .file:nth-child(even) {
  background: rgba(168, 136, 99, 0.1);
}
.file-archive__table .file:hover, .file-archive__table .file:active, .file-archive__table .file:focus {
  background: rgba(18, 40, 76, 0.075);
}
.file-archive__table .file .rect {
  fill: #a88863;
  transition: fill 0.18s ease-in-out;
}
.file-archive__table .file span {
  display: block;
}
.file-archive__table .file span.date {
  font-size: 1.4rem;
  text-transform: uppercase;
  color: rgba(18, 40, 76, 0.7);
  white-space: nowrap;
}
.file-archive__table .file span.size {
  font-size: 1.4rem;
  text-transform: uppercase;
  color: rgba(18, 40, 76, 0.7);
  white-space: nowrap;
}
.file-archive__table .file span.title {
  transition: color 0.18s ease-in-out 0.05s;
}
.file-archive__table .file span.title .categories {
  margin-bottom: 1.3ch;
}
.file-archive__table .file span.title .cat {
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  margin-right: 0.5ch;
  padding: 0.3ch 1ch 0.35ch 1ch;
  color: #12284C;
  background: rgba(217, 214, 222, 0.7);
  border-radius: 2px;
}
.file-archive__table .file span.icon {
  width: 36px;
}
.file-archive__table .file span.icon svg {
  width: 36px;
}
.file-archive__table .file span.icon svg .rect {
  transition: fill 0.18s ease-in-out 0.05s;
}
.file-archive__table .file span:not(.title) {
  font-size: 1.4rem;
  text-transform: uppercase;
}
.file-archive__table .file:hover, .file-archive__table .file:active, .file-archive__table .file:focus {
  text-decoration: none;
}
.file-archive__table .file:hover .rect, .file-archive__table .file:active .rect, .file-archive__table .file:focus .rect {
  fill: #1f2329;
}
.file-archive__table .file:hover .title, .file-archive__table .file:active .title, .file-archive__table .file:focus .title {
  color: #12284C;
}
@media (max-width: 781px) {
  .file-archive__table .file span {
    display: block;
  }
  .file-archive__table .file span.date, .file-archive__table .file span.title {
    width: 100%;
  }
  .file-archive__table .file span.title {
    padding: 1ch 0 0 0;
  }
  .file-archive__table .file span.icon {
    display: none;
  }
  .file-archive__table .file span.size {
    position: absolute;
    right: 15px;
  }
}
@media (min-width: 782px) {
  .file-archive__table .file span.date {
    font-size: 1.5rem;
    width: 130px;
  }
  .file-archive__table .file span.size {
    width: 80px;
    font-size: 1.6rem;
    text-align: right;
    padding-top: 7px;
  }
  .file-archive__table .file span.icon {
    width: 34px;
  }
  .file-archive__table .file span.title {
    width: calc(100% - 244px);
    display: flex;
    flex-direction: column-reverse;
    padding-right: 2rem;
  }
  .file-archive__table .file span.title .categories {
    margin: 1ch 0 0.4ch 0;
  }
}
@media (min-width: 1300px) {
  .file-archive__table .file span.date {
    width: 150px;
  }
  .file-archive__table .file span.title {
    width: calc(100% - 264px);
  }
}

.facetwp-counter {
  display: none;
}

.facetwp-dropdown {
  width: 100%;
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.4;
  padding: 1ch;
  color: #1f2329;
  background-color: #fff;
  background-size: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11.515' height='6.465' viewBox='0 0 11.515 6.465'%3E%3Cpath fill='none' stroke='%23a88863' d='m.354.353 5.4 5.4 5.4-5.4'/%3E%3C/svg%3E");
  background-position: calc(100% - 10px) 50%;
  background-repeat: no-repeat;
  border: 1px solid #a88863;
  border-radius: 3px;
  -webkit-appearance: none;
  outline: none !important;
}
.facetwp-dropdown:active, .facetwp-dropdown:focus, .facetwp-dropdown:focus-visible {
  border: 1px solid #6F6B8E !important;
}

.facetwp-type-search {
  margin: 0;
}
.facetwp-type-search .facetwp-input-wrap {
  display: block;
  width: 100%;
}
.facetwp-type-search .facetwp-input-wrap .facetwp-icon {
  width: 40px;
  height: 40px;
  background: url(../../../assets/images/theme/icon-search.svg) center no-repeat;
  border-radius: 50px;
  opacity: 1;
  transition: 200ms ease-in-out;
}
.facetwp-type-search .facetwp-input-wrap .facetwp-icon:before {
  display: none;
}
.facetwp-type-search .facetwp-input-wrap input {
  display: block;
  width: 100%;
  min-width: auto !important;
  height: auto;
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.4;
  padding: 1ch;
  color: #1f2329;
  background: #fff;
  border: 1px solid #a88863;
  border-radius: 3px;
  outline: none;
}
.facetwp-type-search .facetwp-input-wrap input:active, .facetwp-type-search .facetwp-input-wrap input:focus, .facetwp-type-search .facetwp-input-wrap input:focus-visible {
  border: 1px solid #6F6B8E !important;
}
.facetwp-type-search ::-moz-placeholder {
  color: #1f2329;
}
.facetwp-type-search ::placeholder {
  color: #1f2329;
}

.facetwp-reset {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.18s ease-in-out;
}
.facetwp-reset:hover, .facetwp-reset:active, .facetwp-reset:focus {
  color: #464360;
}

.facetwp-load-more {
  display: flex;
  flex-wrap: wrap;
  font-family: "Merriweather Sans", sans-serif;
  font-size: 1.6rem;
  margin: 0 auto 1rem auto !important;
  padding: 0.5ch 46px 0.5ch 0;
  position: relative;
  cursor: pointer;
}
.facetwp-load-more:after {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  background-color: #12284C;
  -webkit-mask: url(../../../assets/images/theme/arrow-menu.svg) no-repeat center/contain;
          mask: url(../../../assets/images/theme/arrow-menu.svg) no-repeat center/contain;
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(90deg);
}
.facetwp-load-more:hover:after {
  background-color: #6F6B8E;
}
.facetwp-load-more.facetwp-hidden {
  display: none;
}