.main-body {
  background: white;
  padding: 40px 20px;

  @media (max-width: 768px) {
    padding: 16px;
  }
}

.movies-banner {
  @media (max-width: 960px) {
    width: 150px;
  }

  @media (max-width: 768px) {
    display: none;
  }
}

.movies-banner img {
  @media (max-width: 960px) {
    width: 100%;
    height: auto;
  }
}

.movie-title {
  color: #000;
  font-size: 30px;
  line-height: 30px;
  padding-bottom: 10px;
  font-weight: normal;
}

.movie-tabs {
  display: flex;
}

.movie-tab, .movie-tab a {
  color: #000;
  cursor: pointer;
  font-size: 13px;
  display: block;
  padding: 10px;
  text-decoration: underline;
  text-wrap: nowrap;
}

@media (max-width: 768px) {
  .movie-title {
    font-size: 24px;
    line-height: 26px;
    margin-bottom: 10px;
  }

  .movie-tab {
    padding: 6px;
    font-size: 12px;
  }
}

.movie-tab:hover, .movie-tab:hover a {
  background: #333;
  color: #bbb;
  text-decoration: none;
}

.movie-tab.active, .movie-tab.active a {
  background: black;
  color: #bbb;
  text-decoration: none;
}

.movies-banner {
  @media (max-width: 768px) {
    display: none;
  }
}

.movies-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  padding-top: 38px;
  gap: 10px;
}

.movies-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Всегда 4 колонки */
    gap: 15px 0;
    width: 100%;
}

.movies-list::after {
    content: '';
    grid-column: span 4; /* Псевдоэлемент для заполнения пространства */
}

/*
.movies-list {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  gap: 15px 0;
  width: 100%;
}
*/

.container-pagination {
  padding: 40px 0;
  max-width: 720px;
  width: 100%;
}

.custom-pagination span.page.current{
	padding: 0px 10px 5px 10px;
	/*border: solid 1px black;*/
}

.custom-pagination .last a,
.custom-pagination .next a,
.custom-pagination .prev a,
.custom-pagination .first a{
    background-color: white;
    color: black;
	font-size: 24pt;
	font-weight: bolder;
	padding: 10px 15px;
}

.custom-pagination .page-link, 
.custom-pagination a
{
    border: none;
    background-color: black;
    border-radius: 5px;
    color: white;
    margin: 0 1px;
    padding: 10px 15px;
    text-decoration: none;
}
.custom-pagination .page-item.active .page-link, 
.custom-pagination .current a, 
{
  border: none;
  background-color: #bfbfbf;
  border-radius: 5px;
  padding: 4px 8px;
}

.custom-pagination .page-item .page-link:hover, 
.custom-pagination a:hover 
{
  text-decoration: underline;
}

.custom-pagination .button-prev .page-link,
.custom-pagination .button-next .page-link,
.custom-pagination .next a,
.custom-pagination .prev a
{
  display: flex;
  justify-content: center;
  align-items: center;
  /*
  background-color: black;
  width: 20px;
  */
  background-color: white;
  color: black;
  height: 20px;
  border-radius: 50%;
  border-color: #dee2e6;
}

.custom-pagination .button-prev img,
.custom-pagination .button-next img
{
  background-color: black;
  border-radius: 50%;
  border-color: #dee2e6;
}

.custom-pagination .button-prev img {
  transform: rotate(90deg);
}

.custom-pagination .button-next img {
  transform: rotate(-90deg);
}

.breadcrumbs {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.breadcrumbs-link {
  color: #2e859e;
  text-decoration: none;
  font-size: 14px;
  font-weight: normal;
  line-height: normal;
}

.breadcrumbs-link.inactive {
  color: #777;
}

.breadcrumbs-link:hover {
  text-decoration: underline;
}

.breadcrumbs-link.inactive:hover {
  text-decoration: none;
  cursor: default;
}

.movie-type-text {
  @media (max-width: 768px) {
    display: none;
  }
}







