/* ==== GENÉRICOS (compartidos por juperu y juargentina) ==== */
.custom-select1 {
  position: relative;
  margin-top: 20px;
}

.custom-select1 input {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 0;
  cursor: pointer;
  height: 50px;
}

.custom-select1 input.search__select {
  background: #fff url('/wp-content/themes/Ceco/images/icons/icon-search.svg') no-repeat right 7px center;
  background-size: 12px 12px;
}

.custom-select1 .fa-chevron-down {
  position: absolute;
  right: .6rem;
  color: black;
  top: 1rem;
  z-index: 0;
  transition: transform 0.3s ease;
}

.options {
  position: absolute;
  width: 100%;
  max-height: 250px;
  overflow-y: scroll;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  display: none;
  z-index: 1000;
  padding: 10px;
}

.select-box {
  margin: 0;
  color: #1d1e20;
  font-size: 13px;
  line-height: 140%;
  font-weight: 600;
}

.option {
  padding: 14px 8px;
  cursor: pointer;
  margin: 0;
  color: #1d1e20;
  font-size: 13px;
  line-height: 140%;
}

.option:hover {
  background: #f0f0f0;
  color: #f65058;
}

.show {
  display: block;
}

.content__search {
  position: relative;
  grid-column: 1 / 4;
  margin-bottom: 20px;
}

.content__search .ajax-filter--textfield {
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
  padding: 0 20px;
  border-radius: 0;
  max-width: 100%;
  width: 100%;
  height: 58px;
  line-height: 40px;
  outline: none;
  transition: border-color .15s ease;
  font-size: 15px;
  min-width: 100px;
  position: relative;
  z-index: 10;
}

.content__search button {
  padding: 0 2rem;
  border-radius: 0;
  background-color: #1d1e20;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  transition: 0.3s;
  font-size: 18px;
  line-height: 140%;
  font-weight: 700;
  font-family: "Foundry Sterling OT2 Bold";
  color: #ffffff;
  z-index: 20;
}

.rotate {
  transform: rotate(180deg);
}

.module-results .results__ajax {
  display: grid;
  gap: 35px;
  grid-template-columns: repeat(3, 1fr);
  padding: 2.5rem;
  padding-bottom: 2rem;
  background-color: #f2f2f2;
  position: relative;
  min-height: 600px;
}

#pagination-container {
  display: flex;
  justify-content: flex-end;
  padding: 0 30px 3rem;
  background: #f2f2f2;
}

#pagination-container > div {
  padding: 2px;
  background-color: #fff;
}

#pagination-container .pagination-button {
  border: none;
  background-color: transparent;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
  background: #fff;
  color: #707070;
  margin: 0 10px;
}

#pagination-container .pagination-button.active {
  background: #f65058;
  border-color: #f65058;
  color: #fff;
}

#pagination-container .pagination-button i {
  color: #41b38e;
}

#pagination-container .pagination-button:disabled i {
  opacity: .5;
}

.roller-loader {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  transition: all .15s ease;
  background-color: hsla(0, 0%, 100%, .1);
  background-image: url('/wp-content/plugins/ajax-load-more-pro/pro/ajax-load-more-paging/core/img/ajax-loader.gif');
  background-repeat: no-repeat;
  background-position: 50%;
}

.result__post__number {
  grid-column: 1 / 4;
  color: #707070;
  margin-top: 35px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Foundry Sterling OT2 bold";
}

/* ==== ESPECÍFICOS PARA PERÚ Y ARGENTINA ==== */
form.juperu,
form.juargentina {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 50px;
}

.juperu label,
.juargentina label {
  font-weight: 600;
  font-size: 15px;
  display: block;
  margin: 0 0 10px;
  cursor: pointer;
  color: #fff;
}

/* ==== RESPONSIVE ==== */
@media(max-width:968px) {
  form.juperu,
  form.juargentina {
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
  }

  .module-results .results__ajax {
    grid-template-columns: repeat(1, 1fr);
  }

  form.juperu .content__search,
  form.juargentina .content__search,
  .result__post__number {
    grid-column: 1;
  }

  .content__btn {
    gap: 20px;
  }

  .content__btn a {
    width: 100%;
  }

  .content__btn a .btn__jurisprudencia_ {
    width: 100%;
    margin: 0;
  }
}
