: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;
  }
}
[x-cloak] {
  display: none !important;
}

.documents-filter .load-more-wrap {
  text-align: center;
  margin-top: var(--wp--preset--spacing--normal);
}
.documents-filter .load-more {
  min-height: 44px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  font-size: var(--wp--preset--font-size--font-17);
  font-weight: 600;
  color: #101010;
  transition: color 0.35s ease-in-out;
  position: relative;
  cursor: pointer;
  transition: color 0.35s ease-in-out;
}
.documents-filter .load-more:before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' fill='none'%3E%3Crect width='43' height='43' x='.5' y='.5' stroke='%23372A66' rx='21.5'/%3E%3Cpath stroke='%232E2A4D' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m13.613 24.205 8.35 8.517 8.424-8.517'/%3E%3Cpath stroke='%232E2A4D' stroke-linecap='round' stroke-width='1.5' d='M21.949 32.066V12.188'/%3E%3C/svg%3E");
  background: #44307C;
  transition: background 0.35s ease-in-out;
}
.documents-filter .load-more:hover {
  color: #372A66;
}
.documents-filter .load-more:hover:before {
  background: #B11226;
}
* + .documents-filter {
  margin-top: var(--wp--preset--spacing--normal);
}

.documents-filter-controls {
  margin: 0 0 var(--wp--preset--spacing--m) 0;
}
.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: 1px solid rgba(55, 42, 102, 0.4);
}
.documents-filter-controls .dropdown {
  position: relative;
}
.documents-filter-controls .dropdown button {
  width: 100%;
  font-size: var(--wp--preset--font-size--font-18);
  padding: 0.7rem 0;
  color: #101010;
  transition: border 0.35s ease-in-out;
}
.documents-filter-controls .dropdown button span {
  display: block;
  line-height: 30px;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 30px;
  overflow: hidden;
}
.documents-filter-controls .dropdown button:after {
  content: "";
  display: block;
  width: 20px;
  height: 11px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='11' fill='none'%3E%3Cpath stroke='%23101010' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M1.258.843 10.1 9.86 19.02.843'/%3E%3C/svg%3E");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: calc(50% - 5px);
  right: 0;
  transition: transform 0.35s ease-in-out;
}
.documents-filter-controls .dropdown button:focus, .documents-filter-controls .dropdown button:active {
  outline: none;
}
.documents-filter-controls .dropdown button:focus:after {
  transform: scaleY(-1);
}
.documents-filter-controls .dropdown button:hover {
  cursor: pointer;
}
.documents-filter-controls .dropdown .dropdown-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  width: 100%;
  min-width: 200px;
  font-size: 1.5rem;
  font-weight: 500;
  list-style: none;
  margin: 0;
  padding: 1.5rem;
  color: #101010;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  position: absolute;
  z-index: 5;
}
.documents-filter-controls .dropdown .dropdown-menu li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0.6rem 0;
  position: relative;
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.documents-filter-controls .dropdown .dropdown-menu li:before {
  content: "";
  display: block;
  width: 7px;
  height: 12px;
  margin-top: 0.7ch;
  background: #B11226;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='12' fill='none'%3E%3Cpath stroke='%23B11226' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.2' d='m1.287 10.59 5-4.903-5-4.946'/%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);
}
.documents-filter-controls .dropdown .dropdown-menu li:hover {
  color: #372A66;
  cursor: pointer;
}
.documents-filter-controls .dropdown .dropdown-menu li.active {
  font-weight: 600;
  color: #372A66;
}
.documents-filter-controls .dropdown .dropdown-menu.cat-dropdown li {
  width: 100%;
}
.documents-filter-controls .dropdown .dropdown-menu.year-dropdown li {
  width: calc(33.33% - 0.5rem);
}
@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;
  }
  .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 {
    color: rgba(16, 16, 16, 0.8);
  }
  .documents-filter-controls .inner > div.type-filters button {
    color: #372A66;
  }
  .documents-filter-controls .inner > div.type-filters button:after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: transparent;
    position: absolute;
    bottom: -3px;
    left: 0;
    transition: background 0.35s ease-in-out;
  }
  .documents-filter-controls .inner > div.type-filters button:hover {
    color: #101010;
  }
  .documents-filter-controls .inner > div.type-filters button:hover:after {
    background: #B11226;
  }
  .documents-filter-controls .inner > div.type-filters button.active {
    font-weight: 600;
    color: #101010;
  }
  .documents-filter-controls .inner > div.type-filters button.active:after {
    background: #B11226;
  }
}
@media (min-width: 1400px) {
  .documents-filter-controls .inner > div.type-filters .filter-inline {
    gap: 3rem;
  }
  .documents-filter-controls .inner > div.type-filters button {
    color: #372A66;
  }
  .documents-filter-controls .inner > div.type-filters button:hover {
    color: #101010;
  }
  .documents-filter-controls .inner > div.type-filters button.active {
    font-weight: 600;
    color: #101010;
  }
  .documents-filter-controls .inner > div.type-filters button.active:after {
    background: #B11226;
  }
}

.documents-list .file {
  display: flex;
  flex-wrap: wrap;
  text-decoration: none;
  padding: 1.8rem;
}
.documents-list .file span {
  display: block;
}
.documents-list .file span.date {
  font-size: var(--wp--preset--font-size--font-16);
  color: #101010;
}
.documents-list .file span.format, .documents-list .file span.size {
  font-size: var(--wp--preset--font-size--font-16);
  text-transform: uppercase;
  color: #101010;
}
.documents-list .file span.title {
  font-size: var(--wp--preset--font-size--font-18);
  font-weight: 500;
  line-height: 1.25;
  color: #372A66;
  cursor: pointer;
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1), text-decoration-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.documents-list .file span.title:hover, .documents-list .file span.title:active .documents-list .file span.title:focus {
  color: #B11226;
}
.documents-list .file span.icon {
  width: 38px;
}
.documents-list .file span.icon svg {
  width: 38px;
  height: 38px;
}
.documents-list .file:hover, .documents-list .file:active, .documents-list .file:focus {
  text-decoration: none;
}
@media (max-width: 799px) {
  .documents-list .file {
    padding-left: 72px;
    position: relative;
  }
  .documents-list .file span {
    display: block;
  }
  .documents-list .file span.date {
    width: 100%;
  }
  .documents-list .file span.title {
    width: 100%;
    padding: 0.5ch 0 1ch 0;
  }
  .documents-list .file span.icon {
    position: absolute;
    top: 18px;
    left: 18px;
  }
  .documents-list .file span.format, .documents-list .file span.size {
    padding-right: 2ch;
  }
}
@media (min-width: 800px) {
  .documents-list .file {
    padding: 2rem;
    align-items: center;
    justify-content: space-between;
  }
  .documents-list .file span {
    flex: 1;
  }
  .documents-list .file span.date {
    flex: 2;
    font-size: var(--wp--preset--font-size--font-18);
  }
  .documents-list .file span.format {
    font-size: var(--wp--preset--font-size--font-18);
  }
  .documents-list .file span.size {
    flex: 1.5;
    font-size: var(--wp--preset--font-size--font-18);
  }
  .documents-list .file span.title {
    flex: 4;
    padding-right: 2ch;
  }
}
@media (min-width: 1100px) {
  .documents-list .file span.title {
    flex: 7;
  }
}
.documents-list .document-item:nth-child(odd) .file {
  background: #fff;
  border-radius: 5px;
}
