[x-cloak] {
  display: none !important;
}

.documents-filter {
  padding: 2rem;
  background: rgba(10, 41, 72, 0.05);
  border-radius: 5px;
}
h2 + .documents-filter {
  margin-top: var(--wp--preset--spacing--m);
}
.documents-filter .load-more-wrap {
  text-align: center;
  margin-top: var(--wp--preset--spacing--normal);
}
.documents-filter .load-more {
  display: inline-flex;
  align-items: center;
  font-family: var(--wp--preset--font-family--secondary);
  font-size: var(--wp--preset--font-size--font-16);
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  border-radius: 3px;
  background: linear-gradient(119deg, #d38e1b 68.14%, #0a2948 260.91%), rgba(79, 91, 103, 0.2);
  background-size: 180% 180%;
  background-position: 0% 50%;
  font-weight: 500;
  text-transform: uppercase;
  padding: 14px 20px;
  cursor: pointer;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-position 0.3s ease, transform 0.25s ease;
  letter-spacing: 2%;
  min-height: 44px;
  display: inline-flex;
  flex-wrap: wrap;
  transition: color 0.25s ease-in-out;
  position: relative;
  cursor: pointer;
  transition: color 0.25s ease-in-out;
  color: white;
}
.documents-filter .load-more:after {
  content: "";
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="19" height="10" viewBox="0 0 19 10" fill="none"><path d="M18 4.92334H0" stroke="white" stroke-width="1.3"/><path d="M14.1428 9.42303L18 4.92303L14.1428 0.423035" stroke="white" stroke-width="1.3"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  width: 18px;
  height: 9px;
  display: block;
  z-index: 2;
  margin-left: 1.2rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.documents-filter .load-more:hover, .documents-filter .load-more:active, .documents-filter .load-more:focus {
  color: white;
  background-position: 100% 50%;
}
.documents-filter .load-more:after {
  transform: rotate(90deg);
}
* + .documents-filter {
  margin-top: var(--wp--preset--spacing--normal);
}

.documents-filter-controls {
  margin: 0;
  padding: 1.6rem;
  background-color: rgba(17, 20, 23, 0.075);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="215" height="168" viewBox="0 0 215 168" fill="none"><rect width="215" height="167.5" rx="5" fill="url(%23pattern0_152_294)" fill-opacity="0.1"/><defs><pattern id="pattern0_152_294" patternUnits="userSpaceOnUse" patternTransform="matrix(7.50049 0 0 7.50195 0 0)" preserveAspectRatio="none" viewBox="0 0 15.001 15.0039" width="1" height="1"><g id="pattern0_152_294_inner"><path d="M15.001 0.794922L0.794922 15.0039H0V14.209L14.207 0H15.001V0.794922Z" fill="%230A2948"/></g></pattern></defs></svg>');
}
.documents-filter-controls .inner {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 2rem;
}
.documents-filter-controls .type-filters,
.documents-filter-controls .year {
  border-bottom: #e8bf55;
}
.documents-filter-controls .dropdown {
  position: relative;
}
.documents-filter-controls .dropdown button {
  -webkit-appearance: none;
  appearance: none;
  min-width: 140px;
  padding: 0.8ch 1.2rem;
  border: 1px solid rgba(79, 91, 103, 0.5);
  border-radius: 3px;
  background-color: #e0e2e5;
  font-size: var(--wp--preset--font-size--font-15);
  font-weight: 500;
  color: #313d49;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 4.5rem;
  text-align: left;
  width: 100%;
}
.documents-filter-controls .dropdown button span {
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 30px;
  overflow: hidden;
}
.documents-filter-controls .dropdown button::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 27px;
  height: 40px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="800" fill="none" viewBox="0 0 24 24"><path stroke="%23111417" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v16m0 0-4-4m4 4 4-4"/></svg>') center center no-repeat;
  background-size: 2rem;
  border-radius: 50%;
  pointer-events: none;
}
.documents-filter-controls .dropdown button:focus, .documents-filter-controls .dropdown button:active {
  outline: none;
  border-color: var(--color-text-main);
  background-color: #fff;
}
.documents-filter-controls .dropdown button:hover {
  cursor: pointer;
}
.documents-filter-controls .dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background-color: #fff;
  border-radius: 4px;
  padding: 0.8rem 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  z-index: 10;
  overflow: hidden;
}
.documents-filter-controls .dropdown .dropdown-menu li {
  margin: 0 0 4px 0;
  padding: 8px 20px;
  font-size: 1.5rem;
  color: #313d49;
  cursor: pointer;
  transition: background-color 0.25s ease-in-out;
}
.documents-filter-controls .dropdown .dropdown-menu li.active-item, .documents-filter-controls .dropdown .dropdown-menu li:hover {
  background-color: #f3f5f7;
}
.documents-filter-controls .dropdown .dropdown-menu li:last-child {
  margin: 0;
}
@media (min-width: 450px) {
  .documents-filter-controls .inner {
    flex-direction: row;
  }
  .documents-filter-controls .inner > div {
    width: calc(50% - 1rem);
  }
  .documents-filter-controls .inner .dropdown .dropdown-menu.year-dropdown li:first-child {
    width: 100%;
  }
}
@media (max-width: 899px) {
  .documents-filter-controls .type-filters .label,
  .documents-filter-controls .type-filters .filter-inline {
    display: none;
  }
}
@media (min-width: 900px) {
  .documents-filter-controls .type-filters .filter-dropdown {
    display: none;
  }
  .documents-filter-controls .inner {
    justify-content: space-between;
  }
  .documents-filter-controls .inner > div.year {
    width: 200px;
  }
  .documents-filter-controls .inner > div.type-filters {
    width: auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  .documents-filter-controls .inner > div.type-filters .filter-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .documents-filter-controls .inner > div.type-filters .filter-inline > * {
    padding: 0.7rem 0;
    cursor: pointer;
    position: relative;
  }
  .documents-filter-controls .inner > div.type-filters .label {
    font-size: 1.6rem;
    color: #111417;
    font-weight: 500;
  }
}
@media (min-width: 1400px) {
  .documents-filter-controls .inner > div.type-filters .filter-inline {
    gap: 3rem;
  }
}

.documents-list .document-item:nth-child(odd) .document-card {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 5px;
}
.documents-list .document-card {
  display: flex;
  flex-wrap: wrap;
  text-decoration: none;
  color: inherit;
}
.documents-list .document-card > span {
  padding: 1.6rem !important;
}
.documents-list .document-card span {
  display: block;
}
.documents-list .document-card span.date {
  font-size: var(--wp--preset--font-size--font-16);
  color: #313d49;
}
.documents-list .document-card span.format, .documents-list .document-card span.size {
  font-size: var(--wp--preset--font-size--font-16);
  text-transform: uppercase;
  color: #313d49;
}
.documents-list .document-card span.title {
  font-size: var(--wp--preset--font-size--font-17);
  font-weight: 600;
  line-height: 1.85;
  color: #0a2948;
  cursor: pointer;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.documents-list .document-card span.title a {
  color: inherit;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1), text-decoration-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.documents-list .document-card span.title a:hover, .documents-list .document-card span.title a:active, .documents-list .document-card span.title a:focus {
  color: rgba(49, 61, 73, 0.7);
}
.documents-list .document-card span.icon {
  width: 54px;
  background-repeat: no-repeat;
  background-size: 15px;
  background-position: center;
  padding: 14px;
  border-radius: 50%;
}
.documents-list .document-card span.icon svg {
  width: 54px;
  height: 54px;
}
.documents-list .document-card:hover, .documents-list .document-card:active, .documents-list .document-card:focus {
  text-decoration: none;
}
@media (max-width: 799px) {
  .documents-list .document-card {
    padding-left: 72px;
    position: relative;
  }
  .documents-list .document-card span {
    display: block;
  }
  .documents-list .document-card span.date {
    width: 100%;
  }
  .documents-list .document-card span.title {
    width: 100%;
    padding: 0.5ch 0 1ch 0;
  }
  .documents-list .document-card span.icon {
    position: absolute;
    top: 18px;
    left: 18px;
  }
  .documents-list .document-card span.format, .documents-list .document-card span.size {
    padding-right: 2ch;
  }
}
@media (min-width: 800px) {
  .documents-list .document-card {
    align-items: center;
    justify-content: space-between;
  }
  .documents-list .document-card > span {
    padding: 2rem;
  }
  .documents-list .document-card span {
    flex: 1;
  }
  .documents-list .document-card span.date {
    flex: 2;
    font-size: var(--wp--preset--font-size--font-17);
  }
  .documents-list .document-card span.format {
    font-size: var(--wp--preset--font-size--font-17);
  }
  .documents-list .document-card span.size {
    flex: 1.5;
    font-size: var(--wp--preset--font-size--font-17);
  }
  .documents-list .document-card span.title {
    flex: 4;
    padding-right: 2ch;
  }
}
@media (min-width: 1100px) {
  .documents-list .document-card span.title {
    flex: 7;
  }
}
