/* Search form  */
.search-form {
  margin-bottom: 16px;
}

/* Search bar */
.search-bar {
  display: flex;
  margin-bottom: 16px;
}
.search-input-wrapper {
  display: flex;
  position: relative;
  flex: 1;
}
.search-input-wrapper svg {
  width: 20px;
  height: 20px;
  fill: #8e8e8e!important;
  position: absolute;
  left: 1rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.search-input {
  border: 0 !important ;
  padding: 6px 12px 6px 48px !important;
}
.search-input:focus,
.search-input:focus-visible {
  outline: none;
}
.sort-button {
  padding: 8px;
  margin-left: 8px;
  border: none;
  border-radius: 0;
  letter-spacing: normal;
}
.sort-button svg {
  fill: #8e8e8e!important;
}
.sort-asc {
  background-color: #ffffff !important;
}
.sort-desc {
  background-color: #b2b2b0 !important;
}

/* Taxonomy filter buttons */
.taxonomy-filters {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 10px;
}
.taxonomy-filters .taxonomy-item,
.taxonomy-filters .taxonomy-item:hover,
.taxonomy-filters .taxonomy-item:focus,
.taxonomy-filters .taxonomy-item:active,
.taxonomy-filters .taxonomy-item:visited {
  background-color: #ffffff;
  color: #8e8e8e;
  padding: 16px;
  flex-basis: content;
  flex-grow: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 14px;
  border: none;
  border-radius: 0;
  letter-spacing: normal;
  text-shadow: none;
}
.taxonomy-filters .taxonomy-item.active {
  background-color: #B2B2B0;
  color: #ffffff;
}

/* Dropdown filter */
.po-id-dropdown-filter {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Dropdown filter: toggle button, menu & menu items */
.po-id-dropdown-filter .po-id-dropdown-toggle {
  position: relative;
  min-width: 320px;
  display: flex;
  align-items: center;
  width: fit-content;
  cursor: pointer;
  text-align: left;
  border-radius: 0;
  padding: .5rem 2.5rem .5rem 1rem;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: normal;
  color: #b2b2b0;
  background-color: #ffffff;
  border: 1px solid #b2b2b0;
  text-transform: uppercase;
  line-height: 1.6;
  text-shadow: none;
}
@media (max-width: 767.98px) {
  .po-id-dropdown-filter .po-id-dropdown-toggle {
    min-width: 0;
    width: 100%;
    font-size: 14px;
  }
}
.po-id-dropdown-filter .po-id-dropdown-toggle svg {
  position: absolute;
  right: 10px;
  height: 20px;
  width: 20px;
}
.po-id-dropdown-filter .po-id-dropdown-toggle:hover,
.po-id-dropdown-filter .po-id-dropdown-toggle:focus,
.po-id-dropdown-filter .po-id-dropdown-toggle:focus-visible {
  background-color: #b2b2b0;
  color: #ffffff;
  outline: none;
}
.po-id-dropdown-filter .po-id-dropdown-menu {
  position: absolute;
  top: 2.7rem;
  display: none;
  flex-direction: column;
  min-width: 10rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
  background: #ffffff;
  z-index: 9999;
  border-radius: .25rem;
  border: 1px solid rgba(0, 0, 0, .2);
}
.po-id-dropdown-filter .po-id-dropdown-menu .po-id-dropdown-item,
.po-id-dropdown-filter .po-id-dropdown-menu .po-id-dropdown-item:hover,
.po-id-dropdown-filter .po-id-dropdown-menu .po-id-dropdown-item:focus,
.po-id-dropdown-filter .po-id-dropdown-menu .po-id-dropdown-item:active,
.po-id-dropdown-filter .po-id-dropdown-menu .po-id-dropdown-item:visited {
  color: #b2b2b0;
  background-color: #ffffff;
  padding: .5rem 1rem;
  margin-bottom: .15rem;
  text-decoration: none;
  text-transform: uppercase;
  outline: 0;
}
.po-id-dropdown-filter .po-id-dropdown-menu .po-id-dropdown-item:hover {
  background-color: rgba(178, 178, 176, 0.1);
}
.po-id-dropdown-filter .po-id-dropdown-menu .po-id-dropdown-item.active {
  color: #ffffff;
  background-color: #b2b2b0;
}

/* Worldwide archive page only */
.worldwide-center-card .worldwide-center-card-image::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #000;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.worldwide-center-card .worldwide-center-card-image {
  z-index: 1;
}
.worldwide-center-card .worldwide-center-card-heading {
  z-index: 3;
}
.worldwide-center-card-urls {
  opacity: 0;
  transition: opacity 0.2s ease 0.1s;
  z-index: 99;
}

.worldwide-center-card:hover .worldwide-center-card-image::before {
  opacity: 0.4;
}
.worldwide-center-card:hover .worldwide-center-card-urls {
  opacity: 1;
}
