.wp-block-pooka-resources-filter .pooka-resources-filters-wrapper {
  background: var(--wp--preset--color--form-grey);
  margin-bottom: var(--wp--preset--spacing--70);
  padding: var(--wp--preset--spacing--50);
}

.wp-block-pooka-resources-filter .pooka-resources-filters-group {
  margin-bottom: var(--wp--preset--spacing--60);
}

.wp-block-pooka-resources-filter .pooka-resources-filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--20);
  margin: 0;
  padding: 0;
  list-style: none;
}

.wp-block-pooka-resources-filter .pooka-resources-filters-list li {
  flex: 0 0 calc(50% - var(--wp--preset--spacing--20));
  position: relative;
}

.wp-block-pooka-resources-filter .pooka-resources-filters-list input[type=checkbox] {
  margin-right: 0.5rem;
  vertical-align: middle;
}

.wp-block-pooka-resources-filter .pooka-resources-item {
  margin-bottom: var(--wp--preset--spacing--80);
}

.wp-block-pooka-resources-filter .pooka-resources-item-private,
.wp-block-pooka-resources-filter .pooka-resources-item-private .entry-title a {
  color: var(--wp--preset--color--dark-grey);
}

.wp-block-pooka-resources-filter .pooka-resources-item-private .entry-title {
  position: relative;
  padding-left: 1.5rem;
}
.wp-block-pooka-resources-filter .pooka-resources-item-private .entry-title:before {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 15px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--wp--preset--color--orange);
  -webkit-mask-image: url('img/itc-icon-lock.svg');
  mask-image: url('img/itc-icon-lock.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
}

.wp-block-pooka-resources-filter .pooka-resources-item-content p {
  margin-top: var(--wp--preset--spacing--30);
  margin-bottom: var(--wp--preset--spacing--30);
}
.wp-block-pooka-resources-filter .entry-title {
  margin-bottom: 0;
}
.wp-block-pooka-resources-filter .pooka-resources-item-categories {
  margin-bottom: var(--wp--preset--spacing--50);
}

/** Custom checkbox **/
.wp-block-pooka-checkbox {
  display: none;
}
.wp-block-pooka-checkbox + label {
  position: relative;
  padding-left: 1.9em;
  cursor: pointer;
  user-select: none;
}

.wp-block-pooka-checkbox + label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 29px;
  height: 29px;
  border: 1px solid var(--wp--preset--color--form-grey);
  background-color: var(--wp--preset--color--light);
  box-sizing: border-box;
}

.wp-block-pooka-checkbox:checked + label:after {
  content: "";
  position: absolute;
  left: 10px;
  top: 40%;
  transform: translateY(-40%) rotate(45deg);
  width: 10px;
  height: 15px;
  border: solid var(--wp--preset--color--ruby);
  border-width: 0 5px 5px 0;
}

.wp-block-pooka-checkbox + label:hover:before,
.wp-block-pooka-checkbox + label:focus:before {
  border-color: var(--wp--preset--color--ruby);
  opacity: 0.2;
  transition: all 0.6s ease-in-out;
}

/*
*  Mobile view
*/
@media (max-width: 992px) {
  .wp-block-pooka-resources-filter .pooka-resources-filters-list {
    flex-direction: column;
  }
}
