/*
thumbwall--mobile.css
2-column set up for mobile.
*/
.thumbwall {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  justify-content: space-between;
  --thumb-gap: 0.5rem;
  gap: var(--thumb-gap);
}

/* <li> limiting the size */
.thumbwall__item {
  width: calc(50% - var(--thumb-gap));
  position: relative;
  line-height: 0;
}

/* <a> tag. resetting some default link styles */
.thumbwall__link {
  text-decoration: none;
  color: #000;
}

/* <img> the actual image */
.thumbwall__img {
  width: 100%;
  min-height: 16em;
  object-fit: contain;
  object-position: bottom;
  /*background: gray;*/
}
.thumbwall__img.loaded {
  filter: drop-shadow(0 0px 2px var(--uphe-light-gray));
}


/* [BUY NOW] and [MORE INFO] buttons for Movies/TV Page */
.thumbwall__pseudo-buttons {
  display: none;
}

.pseudo-buttons-visible .thumbwall__pseudo-buttons {
  display: flex;
  gap: 0 0.5%;
  justify-content: space-between;
}

.pseudo-button__buy-now,
.pseudo-button__buy-now-sku,
.pseudo-button__more-info {
  display: inline;
  border: none;
  text-decoration: none;
  background: #e4e4e4;
  padding: 0;
  color: var(--uphe-gray);
  width: calc(50% - 1px);
  font-size: 0.5em;
  font-weight: 800;
  text-align: center;
  line-height: 2em;
  cursor: pointer;
}
a.pseudo-button__more-info.no-buy-botton{
   width: calc(100% - 1px);
}
/* <p> shows title of the thumbnail */
.thumbwall__title {
  margin: 0.4em 0 0;
  line-height: 1.2em;
  font-size: 0.75rem;
  height: 3.5em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Synopsis placeholder. Only used for search result mode */
.thumbwall__synopsis {
  display: none;
}

.thumbwall__read-more {
  display: none;
}

/* "View More Movies/TV" button */
.thumwall__btn-load-more,ul.pager-load-more a {
  padding: 0.5rem 2rem;
  width: 13em;
  font-size: 1rem;
  margin: 2rem auto;
  display: block;
  color: var(--uphe-blue-dark);
  border-color: var(--uphe-blue-dark);
}
/*
.thumwall__btn-load-more:hover,
.thumwall__btn-load-more:active,ul.pager-load-more a:hover,,ul.pager-load-more a:active {
  background: var(--uphe-blue-dark);
    color: #fff;
} */

/*
thumbwall desktop

Responsive array of thumbnails.
4-column set up for anything above.
*/

@media (min-width: 700px) {
  .thumbwall__wrapper,.available-now__movies .item-list,.available-now__tv .item-list {
    width: 100%;
    font-size: max(1vw, 0.6rem);
  }
  .thumbwall {
    justify-content: left;
    --thumb-gap: 1em;
    gap: var(--thumb-gap);
  }

  /* <li> limiting the size */
  .thumbwall__item {
    width: calc(16.8% - var(--thumb-gap));
    margin-bottom: 0em;
  }

  /* <a> tag. resetting some default link styles */
  .thumbwall__link {
  }

  /* <img> the actual image */
  .thumbwall__img {
    min-height: 21em;
    min-height: 22vw;
    transition: filter var(--hover-transition-duration);
    height: auto !important;
  }
  .pseudo-button__buy-now,
  .pseudo-button__buy-now-sku,
  .pseudo-button__more-info {
    font-size: 0.7em;
  }

  .thumbwall__link:hover .thumbwall__img {
    filter: brightness(1.05) saturate(1.1) contrast(1.1);
  }

  /* <p> shows title of the thumbnail */
  .thumbwall__title {
    font-size: 1.1em;
  }

  /* "View More Movies/TV" button */
  .thumwall__btn-load-more,ul.pager-load-more a {
    padding: 0.5em 0;
    width: 14em;
    font-size: 1.2em;
    line-height: 1.1em;
    margin: 0 auto 2em auto;
    /* transition: filter var(--hover-transition-duration); */
    transition: all var(--hover-transition-duration);
  }
}
@media (hover: hover) and (min-width: 700px) {
  .thumwall__btn-load-more:hover,ul.pager-load-more a:hover {
    background: var(--uphe-blue-dark);
    color: #fff;
  }
}
