/*PARA PODER BUSCAR EN EL MOVIL*/
body:has(.home-slider) .search_responsive { 
    z-index: 1000; 
}

/* FORMATOS DE SLIDER */
.hero-item__meta .formato {
  background: #cc3232;
  font-size: 12px;
  padding: 0 0.5rem;
  line-height: 1.3rem;
  border-radius: 25px;
  text-shadow: 0 1px 1px rgb(0 0 0 / 50%);
  box-shadow: rgb(50 50 93 / 25%) 0 13px 27px -5px,
    rgb(0 0 0 / 30%) 0 8px 16px -8px;
	text-transform: uppercase;
}

.hero-item {
  position: relative;
  height: 540px;
  display: flex;
  align-items: end;
  justify-content: center;
  padding-left: 10px;
  padding-right: 10px;
}

@media screen and (max-width: 768px) {
  .hero-item {
    height: 400px;
  }
}

.hero-item__wrapper {
  position: relative;
  z-index: 20;
  width: 100%;
  /*max-width: 1200px;*/
	/*max-width: 1293px;*/
	max-width: 1226px;
  padding-left: 10px;
  padding-right: 10px;
  /*margin-bottom: 64px;*/
	margin-bottom: 50px 
}
/* Distancia vertical de texto en slider */
@media screen and (max-width: 768px) {
.hero-item__wrapper {
        margin-bottom: 1px !important;
}
}
/* Distancia vertical de paginación del slider */
@media screen and (max-width: 768px) {
.owl-theme .owl-controls {
   /* margin-top: 60px;*/
    text-align: center;
	margin-bottom: 20px !important;
}
}

.hero-item__wrapper div a {
  color: #fff !important;
}
.hero-item__wrapper div h2 {
  color: #fff !important;
  font-size: 32px;
  line-height: 1.3;
}

@media screen and (min-width: 768px) {
  .hero-item__wrapper div h2 {
    font-size: 48px;
  }
}

.hero-item__meta {
  padding: 8px 0;
  font-size: 16px;
  line-height: 1.1;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-item__meta .sep {
  opacity: 0.5;
}
.hero-item__meta .imdb {
  color: #ffcd73;
}

.hero-item__meta .imdb i {
  animation: none;
}

.hero-item__meta .imdb span {
  font-size: 12px;
}

.hero-item__meta .format {
  background: #673ab7;
  font-size: 12px;
  padding: 4px .5rem;
  line-height: 1.3rem;
  border-radius: 25px;
  text-shadow: 0 1px 1px rgb(0 0 0 / 50%);
  box-shadow: rgb(50 50 93 / 25%) 0 13px 27px -5px,
    rgb(0 0 0 / 30%) 0 8px 16px -8px;
}




.hero-item__bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.hero-item__bottom .langs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-item__bottom .langs img {
  width: 24px;
  height: 18px;
  left: 0;
  bottom: 0;
  border-radius: 0px;
  display: block;
}

.hero-item__bottom .item-format {
  position: relative;
  width: auto;
  transform: translateY(0);
  border-radius: 999px;
  font-size: 12px;
  left: 0;
  bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding: 0 0.5rem;
  line-height: 1.3rem;
}

.hero-item__link {
  line-height: 48px;
  height: 48px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  border-radius: 50px;
  /*background: #dd3333;*/
	background: #408bea;
  color: #fff !important;
  opacity: 0.9;
  margin-top: 32px;
  transition: opacity 0.3s ease-in-out;
}
.hero-item__link:hover {
  opacity: 1;
}

/* color y forma del boton de pelicula o serie del slider home */
/*.hero-item__wrapper div h2 span {*/
.hero-item__wrapper section h2 span { /* Cambia 'div' a 'section' */
  display: inline-block;
  vertical-align: middle;
  font-size: 0.6rem;
  background: var(--main-color, #dd3333);
  padding: 1px 8px;
  line-height: 1rem;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
}
/* Tamaño de la letra del titulo de la pelicula o serie en el slider home*/
  .hero-item__wrapper section h2 a { /* Asumiendo esta estructura */
    font-size: 40px; /* Ejemplo de tamaño más grande - AJÚSTALO */
    line-height: 1.3;
    color:#FFFFFF !important;
  }

@media (max-width: 767px) {  
    .hero-item__wrapper section h2 a { /* Asumiendo esta estructura */
    font-size: 28px; /* Ejemplo de tamaño más grande - AJÚSTALO */
    line-height: 1.3;
    color:#FFFFFF !important;
  }
}

.hero-item__summary {
  text-align: left;
  user-select: none;
  color: #ccd1de;
  font-size: 1.2rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  line-height: 1.6;
  margin-top: 16px;
}

@media screen and (max-width: 768px) {
  .hero-item__summary {
    font-size: 1rem;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  }
}

.hero-item__backdrop {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.hero-item__backdrop:before {
  content: "";
  position: absolute;
  left: 0;
  /*bottom: 0;*/
	bottom: -1px;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 14, 23, 0) 0, #0a0e17 100%);
  z-index: 10;
}

.hero-item__backdrop img {
  /*width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;*/
	
  width: 100%;
  height: 163%;
  object-fit: cover;
  opacity: 0.9;
  margin-top: 0px;
}
/* Distancia vertical de boton de descarga y botones de paginación - Home*/
/* owl-carousel */
.home-slider .owl-pagination {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  text-align: right;
  padding: 0 10px;
  margin-top: 0px;
}
.home-slider .owl-theme .owl-controls {
  transform: translateY(-32px);
}
@media screen and (max-width: 768px) {
  .home-slider .owl-pagination {
    text-align: center;
	margin-top: 55px !important;
  }
}

@media screen and (min-width: 768px) {
  .home-slider .owl-theme .owl-controls {
    transform: translateY(-64px);
  }
}

/* Estilos de header */
body:has(.home-slider) #header.main {
  background: linear-gradient(to top, rgba(10, 14, 23, 0) 0, #0a0e17 100%);
  backdrop-filter: none;
  border: 0;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease-in-out;
}

body:has(.home-slider) #header.main.fx[style="opacity: 1;"] {
  background: #141b29;
	/*background: #141d3b;*/
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  /*border-bottom: 1px solid #000;*/
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
}

body:has(.home-slider) #searchform {
  border-radius: 999px;
  background: rgb(24 32 49 / 50%);
  border: 2px solid #dd3333;
}

/*BUSCADOR*/
body:has(.home-slider) #header .search {
 /* width: 240px;*/
	 /*width: 190px;*/
	
}

@media screen and (max-width: 768px) {
  body:has(.home-slider) .responsive {
    background: linear-gradient(to top, rgba(10, 14, 23, 0) 0, #0a0e17 100%);
    z-index: 20;
  }
}

/* Estilos de los filtro */
.filter-content {
  width: 100%;
  /*max-width: 1200px;*/
  /*max-width: 1293px;*/
	max-width: 1226px;
  margin: auto;
  padding-left: 10px;
  padding-right: 10px;
  /*margin-top: 24px;*/
  margin-top: -31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .filter-content {
    align-items: start;
    flex-direction: column;
    text-align: left;
    gap: 32px;
    margin-top: 0px;
  }
}

.filter-items {
  display: flex;
  align-items: center;
  gap: 32px;
	position: relative;
    z-index: 9;
}
.home .filter-items {
    position: relative;
    z-index: 21;
}

@media screen and (max-width: 768px) {
  .filter-items {
    align-items: start;
    flex-direction: column;
    margin-left: 16px !important;
  }
}

.filter-item__btn {
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  outline: 0;
  padding-left: 0;
  padding-right: 0;
  gap: 8px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 12px !important;
}

.filter-item__label {
  display: flex;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  align-items: center;
  margin-bottom: 8px;
}

.filter-item__btn:hover span {
  color: #dd3333;
  transition: 0.4s ease;
}

.filter-item__btn span {
  position: relative;
  width: 16px;
  height: 16px;
  display: block;
  margin-top: 1px;
}

.filter-item__btn span:after,
.filter-item__btn span:before {
  content: "";
  position: absolute;
  display: block;
  width: 16px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  left: 0;
  top: 50%;
  margin-top: -5px;
  transition: all .3s ease;
}

.filter-item__btn span:after {
  margin-top: 2px;
  width: 10px;
}

.filter-item__btn.is-active span:before {
  transform: rotate(45deg);
  margin-top: -1px;
  color: #dd3333;
}

.filter-item__btn.is-active span:after {
  margin-top: -1px;
  width: 16px;
  transform: rotate(-45deg);
  color: #dd3333;
}

.filter-item__flags {
  display: flex;
  gap: 8px;
  align-items: center;
}

.filter-item.idiomas {
  text-align: left;
	margin-left: 12px;
	position: relative;
    z-index: 9;
}

.filter-item__flags a {
  transition: all 0.3s ease;
}
.filter-item__flags img {
  width: 32px;
  height: auto;
  border-radius: 0px;
}

.filter-item__flags a:hover {
  scale: 1.1;
}

@media screen and (max-width: 768px) {
  .filter-item.idiomas {
    display: none;
  }
}

.filter-list {
  position: relative;
}

.filter-list__wrapper {
  background-color: #141d3b;
  position: absolute;
  top: 100%;
  margin-top: 8px;
 /* min-width: 200px;*/
  min-width: 177px;
  border-radius: 8px;
  padding: 16px;
  display: none;
  z-index: 20;
}

@media screen and (min-width: 768px) {
  .filter-list__wrapper {
    /*right: 0;*/
	  right: -7px;
  }
}

@media screen and (max-width: 768px) {
  .filter-list__wrapper {
    left: 0;
  }
}

.filter-list__wrapper.is-active {
  display: block;
  animation: filterFadeIn .9s;
}

.filter-list__wrapper ul {
  overflow: auto;
  height: 200px;
  /* scrollbar-color: #dd3333 #0a0e17;
  scrollbar-width: thin; */
}

.filter-list__wrapper ul {
  overflow-y: auto;
  overflow-x: hidden;
}

.filter-list__wrapper ul::-webkit-scrollbar {
  width: 2px;
}

.filter-list__wrapper ul::-webkit-scrollbar-track {
  background: #0a0e17;
  border-radius: 10px;
}

.filter-list__wrapper ul::-webkit-scrollbar-thumb {
  background: #dd3333;
  border-radius: 10px;
}

.filter-list__wrapper ul::-webkit-scrollbar-thumb:hover {
  background: #dd3333;
}


.filter-list__wrapper li a {
  font-size: 13px;
  text-transform: uppercase;
  color: #fff;
  height: 21px;
  line-height: 21px;
  margin-bottom: 16px;
  font-weight: 500;
  display: block;
  transition: all .6s ease;
}

.filter-list__wrapper li:last-child a {margin-bottom: 0;}

.filter-list__wrapper li a:hover {
  color: #167ac6 !important;
}

body:has(.home-slider) .module {border-top: 0;} 

@keyframes filterFadeIn {
  from {
    transform: translateY(12px);
    opacity: 0;
  } to {
    transform: translateY(0);
    opacity: 1;
  }
}