#person__grid-wpa {
  padding: 2vh 0;
}
.container-fluid.sticky-container {
  background-color: #fff;
  transition: background-color 1000ms cubic-bezier(0.77, 0, 0.175, 1); /* easeInOutQuart */
  transition-timing-function: cubic-bezier(
    0.77,
    0,
    0.175,
    1
  ); /* easeInOutQuart */
}
.container-fluid.sticky-container.in {
  background-color: #fff;
}

.persons__loader_container {
  display: flex;
  margin: 5rem auto;
  align-items: center;
  justify-content: center;
}

.persons__loader {
  width: 60px;
  aspect-ratio: 4;
  --c: #000 90%, #0000;
  background: radial-gradient(circle closest-side at left 6px top 50%, var(--c)),
    radial-gradient(circle closest-side, var(--c)),
    radial-gradient(circle closest-side at right 6px top 50%, var(--c));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation: l4 1s infinite alternate;
}
@keyframes l4 {
  to {
    width: 25px;
    aspect-ratio: 1;
  }
}

#main_header {
  border-bottom: none;
}

.home__item:last-child {
  display: flex;
}

.paginated_button.prev img {
  transform: rotate(180deg);
  margin-right: 10px;
}

.paginated_button.next img {
  margin-left: 10px;
}

.empty-button img {
  width: 100%;
}

.paginated_button {
  font-family: "BanamexDisplay";
  font-weight: 400;
}

.paginated_button {
  align-items: center;
  display: flex;
  justify-content: center;
  font-size: 1.15rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.875rem;
  text-transform: uppercase;
}

/* DESKTOP ANIMATIONS */
.home__item {
  transition: opacity 1000ms cubic-bezier(0.77, 0, 0.175, 1); /* easeInOutQuart */
  transition-timing-function: cubic-bezier(
    0.77,
    0,
    0.175,
    1
  ); /* easeInOutQuart */
  opacity: 1;
}

.home__item.out {
  opacity: 0;
}

.home__item_cover {
  transition: all 1000ms cubic-bezier(0.77, 0, 0.175, 1); /* easeInOutQuart */
  transition-timing-function: cubic-bezier(
    0.77,
    0,
    0.175,
    1
  ); /* easeInOutQuart */
  transform: scale(1);
}

.home__item.out .home__item_cover {
  transform: scale(1.2);
  border-radius: 0% !important;
}

#main_header .logo,
#header-menu .menu-item {
  transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275); /* easeOutBack */
  transition-timing-function: cubic-bezier(
    0.175,
    0.885,
    0.32,
    1.275
  ); /* easeOutBack */
  transform: translateY(0px);
  opacity: 1;
}
#main_header .logo.out,
#header-menu .menu-item.out {
  transform: translateY(-50px);
  opacity: 0;
}

#footer_home {
  opacity: 0;
  transition: opacity 1000ms cubic-bezier(0.77, 0, 0.175, 1); /* easeInOutQuart */
  transition-timing-function: cubic-bezier(
    0.77,
    0,
    0.175,
    1
  ); /* easeInOutQuart */
}
#footer_home.in {
  opacity: 1;
}

.logo_centered {
  display: none;
}

@media screen and (max-width: 768px) {
  .home__item:nth-child(1) {
    border-bottom: none;
  }

  .empty-button.left,
  .paginated_button.prev {
    border-right: solid 1px #000;
  }

  .paginated_button,
  .empty-button {
    border-bottom: solid 1px #000 !important;
    border-top: none !important;
  }

  .paginated_button {
    padding: 2rem 0;
    width: 50vw;
  }

  .empty-button {
    width: 50vw;
  }

  .empty-button img {
    display: none;
  }

  .paginated_button.next {
  }

  .home__grid .paginated_button,
  .home__grid .empty-button {
    display: none;
  }

  .paginated__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 768px) {
  .page-template-temp_personas .template-0 .item_2 .sm_thumb,
  .page-template-temp_personas .template-0 .item_4 .sm_thumb,
  .page-template-temp_personas .template-0 .item_6 .sm_thumb,
  .page-template-temp_personas .template-1 .item_0 .sm_thumb,
  .page-template-temp_personas .template-2 .item_1 .sm_thumb,
  .page-template-temp_personas .template-2 .item_2 .sm_thumb,
  .page-template-temp_personas .template-2 .item_5 .sm_thumb {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1300px) {
  .paginated__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  /*
  .home__grid {
    grid-template-rows: auto;
  }
	*/
  .paginated_button.prev {
    border-left: none;
  }

  .paginated_button.next {
    border-right: none;
  }

  .paginated__container .paginated_button,
  .paginated__container .empty-button {
    height: 10vh;
    width: 100%;
  }

  .home__grid .paginated_button,
  .home__grid .empty-button {
    display: none;
  }

  .empty-button img {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1400px) {
  .card__container.column.left .card__cover_container .card__cover_container {
    left: 0% !important;
    width: 100% !important;
  }
}

@media screen and (min-width: 1400px) {
  .paginated__container {
    display: none;
  }
  .paginated_button {
    align-items: center;
    display: flex;
    justify-content: center;
  }
}

@media screen and (min-width: 768px) and (max-width: 1000px) {
  .home__item_content .title {
    font-size: 1.8rem !important;
    line-height: 120%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .home__item_content {
    padding: 1.2rem;
  }
}
