.lta-newly-adopted-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px 0;
}

.lta-newly-adopted-list .lta-item {
  flex: 0 0 calc(33.333333% - calc(30px / 1.5));
}

.lta-newly-adopted-list .lta-item-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%; /* Ensure it takes full width */
  height: 351px; /* Fixed height to keep the box consistent */
  background-color: #e0e0e0; /* Placeholder background color */
}

.lta-newly-adopted-list .lta-item-wrapper > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the image covers the box without distortion */
}

.lta-newly-adopted-list .lta-hover-element {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.33333);
  transition: all 0.25s linear 0s;
}

.lta-newly-adopted-list .lta-item-wrapper:hover .lta-hover-element {
  opacity: 1;
}

.lta-newly-adopted-list .lta-hover-content {
  color: #fff;
  text-align: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 25px;
  line-height: 1.25;
}

.lta-newly-adopted-list .lta-hover-content > p:last-child {
  margin-bottom: 0;
}
.pagination-wrapper {
  text-align: center;
  padding: 30px 0;
}

.pagination {
  display: inline-block;
  height: 70px;
  padding: 0 25px;
  border-radius: 35px;
  background-color: #fff;
}

.page-numbers {
  display: block;
  padding: 0 25px;
  float: left;
  transition: 400ms ease;
  font-size: 20px;
  letter-spacing: .1em;
  line-height: 70px;
}

.page-numbers:hover,
.page-numbers.current {
  background-color: #495C29;
  color: #fff;
}

.page-numbers.gap:hover {
  background-color: #FFF;
  color: #c26b6b;
  cursor: default;
}

/* Responsive styles */
@media (max-width: 768px) {
  .pagination {
    height: auto;
    padding: 0;
  }

  .page-numbers {
    float: none;
    display: inline-block;
    padding: 10px 15px;
    font-size: 16px;
    line-height: 40px;
  }
}

@media screen and (max-width: 1199px) {
  .lta-newly-adopted-list .lta-item {
    flex: 0 0 calc(50% - calc(30px / 2));
  }

  .lta-newly-adopted-list .lta-item.active-on-click .lta-hover-element {
    opacity: 1;
  }
}

@media screen and (max-width: 575px) {
  .lta-newly-adopted-list .lta-item {
    flex: 0 0 calc(100%);
  }
}

/* Skeleton loading styles */
.lta-skeleton {
  background-color: #f9f9f9; /* White background color */
  border-radius: 0.25rem;
  animation: lta-pulse 1.5s infinite;
}

.lta-skeleton-thumbnail {
  width: 100%;
  padding-bottom: 100%; /* Maintain aspect ratio for squares */
}

@keyframes lta-pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}


.lta-available-adoption-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px 0;
}

.lta-available-adoption-list .lta-item {
  flex: 0 0 calc(33.333333% - calc(30px / 1.5));
}

.lta-available-adoption-list .lta-item-content {
  max-width: 75%;
  margin: 0 auto;
  background-color: #fff;
  padding: 25px;
  text-align: center;
  height: 100%;
}

.lta-available-adoption-list .lta-item-title {
  padding-bottom: 0;
  font-size: 18px;
}

.lta-available-adoption-list .lta-sep {
  position: relative;
  margin: 15px 0 10px;
}

.lta-available-adoption-list .lta-sep:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #69803c;
}

.lta-available-adoption-list .lta-sep:after {
  content: "";
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 auto;
  width: 27px;
  height: 27px;
  padding: 0 18px;
  background: url('../images/shape-heart.svg') no-repeat #fff center / 27px;
}

.lta-available-adoption-list .lta-item-content > *:last-child {
  padding-bottom: 0;
}

@media screen and (max-width: 1199px) {
  .lta-available-adoption-list .lta-item {
    flex: 0 0 calc(50% - calc(30px / 2));
  }
}

@media screen and (max-width: 992px) {
  .lta-available-adoption-list .lta-item-content {
    max-width: 100%;
  }
}

@media screen and (max-width: 575px) {
  .lta-available-adoption-list .lta-item {
    flex: 0 0 calc(100%);
  }
}

/* Skeleton loading styles */
.lta-available-adoption-skeleton {
  background-color: #ffffff; /* White background color */
  border-radius: 0.25rem;
  animation: lta-pulse 1.5s infinite;
  height: 100px;
  width: 100%;
}

@keyframes lta-pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}
