.deia-playlist-wrapper {
  background-color: #000;
  width: 100%;
  padding: 1rem 0 2rem 0;
  margin: 0;
}

.deia-videos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  max-width: 1280px;
  margin: 1rem auto 0 auto;
  padding: 0;
  list-style: none;
}

.deia-videos li {
  background-color: rgba(68, 68, 68, 0.3);
  border-radius: 0.5rem;
  box-shadow: 7px 7px 10px rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease;
}

.deia-videos li:hover {
  background-color: rgba(68, 68, 68, 0.4);
}

.deia-videos .thumbnail {
  display: block;
  background-size: cover;
  background-position: center;
  border: none;
  width: 6rem;
  height: 6rem;
  min-width: 6rem;
  min-height: 6rem;
  border-radius: 5px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
}

.deia-videos li a {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  text-decoration: none;
  color: #fff;
  padding: 1.5rem 1.5rem 0 1.5rem;
}

.deia-videos li a h2 {
  display: block;
  overflow-wrap: anywhere;
  font-size: 1.2rem;
  padding-bottom: 0.4rem;
  color: #fbc051;
}

.deia-videos .share-icons {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0 1rem 1rem 1rem;
}

.deia-videos .share-icons a {
  padding: 0.5rem;
}

.deia-videos .share-icons a img {
  width: 1.6rem;
  height: 1.6rem;
}

.pagination {
  display: flex;
  gap: 0.4em;
  justify-content: end;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 4rem 0;
}

.pagination .prev {
  /* margin: 0 auto 0 0; */
  padding: 0.4rem 0;
}

.pagination .next {
  /* margin: 0 0 0 auto; */
  padding: 0.4rem 0;
}

.pagination .page-numbers {
  display: flex;
  flex-direction: row;
  gap: 0.4rem;
  align-items: center;
  justify-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 0.3rem;
  border: transparent solid 1px;
}

.pagination .page-numbers:hover {
  border: #fbc051 solid 1px;
  color: #fbc051;
}

.pagination .page-numbers.current {
  border-radius: 0.3rem;
  background-color: rgba(68, 68, 68, 0.4);
  border: #2a2a2a solid 1px;
  color: #ffffff;
}

@media (max-width: 992px) {
  .pagination {
    padding: 0 0 4rem 1rem;
  }
}

@media (max-width: 576px) {
  .deia-videos li a {
    display: flex;
    flex-direction: column;
  }

  .deia-videos .thumbnail {
    width: inherit;
    height: inherit;
    min-height: 12rem;
  }

  .deia-videos .share-icons {
    justify-content: flex-start;
  }
}
