.random-card {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
}
.random-card button {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
  z-index: 3;
  background: transparent;
  border: none;
  cursor: pointer;
}
html.cpTplGBlockScroll .random-card button {
  visibility: hidden;
}
.random-card .random-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}
html.no-touch .random-card .random-card-inner:hover .random-card-image img {
  -webkit-transform: scale(1.1);
     -moz-transform: scale(1.1);
      -ms-transform: scale(1.1);
       -o-transform: scale(1.1);
          transform: scale(1.1);
}
html.no-touch .random-card .random-card-inner:hover .global-icons {
  -webkit-transform: rotate(90deg) translate3d(0, -5px, 0);
     -moz-transform: rotate(90deg) translate3d(0, -5px, 0);
          transform: rotate(90deg) translate3d(0, -5px, 0);
}
.random-card .random-card-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
     -moz-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
.random-card .random-card-image:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(#000), color-stop(48.77%, rgba(0, 0, 0, 0.49)), to(#000));
  background: -webkit-linear-gradient(#000, rgba(0, 0, 0, 0.49) 48.77%, #000);
  background: -moz-linear-gradient(#000, rgba(0, 0, 0, 0.49) 48.77%, #000);
  background: -o-linear-gradient(#000, rgba(0, 0, 0, 0.49) 48.77%, #000);
  background: linear-gradient(#000, rgba(0, 0, 0, 0.49) 48.77%, #000);
  opacity: 0.5;
  z-index: 2;
}
.random-card .random-card-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 1;
  margin: 0 !important;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: -o-transform 0.3s ease;
  -moz-transition: transform 0.3s ease, -moz-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease, -moz-transform 0.3s ease, -o-transform 0.3s ease;
}
.random-card .random-card-content {
  width: 100%;
  position: absolute;
  bottom: 20px;
  left: 0;
  z-index: 2;
  color: #fff;
  padding: 0 20px;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
}
.random-card .random-card-content .title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: inherit;
  margin: 0;
  padding-right: 20px;
}
.random-card .random-card-content .sub {
  font-size: 16px;
  line-height: 1.4;
  margin: 10px 0 0;
  color: inherit;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 89.6px;
  padding-right: 20px;
}
.random-card .global-icons {
  position: absolute;
  bottom: 10px;
  right: 15px;
  z-index: 2;
  color: #fff;
  -webkit-transform: rotate(90deg);
     -moz-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
       -o-transform: rotate(90deg);
          transform: rotate(90deg);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: -o-transform 0.3s ease;
  -moz-transition: transform 0.3s ease, -moz-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease, -moz-transform 0.3s ease, -o-transform 0.3s ease;
}
.random-card .global-icons:before {
  display: block;
}

.random-content {
  width: 100%;
  position: relative;
  margin-bottom: 40px;
}
.random-content .item-holder-wrapper {
  width: 33.33%;
  display: block;
  position: relative;
  padding: 10px;
  -webkit-flex-basis: 33.33%;
      -ms-flex-preferred-size: 33.33%;
          flex-basis: 33.33%;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
     -moz-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  max-width: 33.33%;
}
@media (max-width: 1000px) {
  .random-content .item-holder-wrapper {
    max-width: 50%;
    width: 50%;
    -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
            flex-basis: 50%;
  }
}
@media (max-width: 550px) {
  .random-content .item-holder-wrapper {
    max-width: none;
    width: 100%;
    -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
            flex-basis: 100%;
    max-width: none;
  }
}
.random-content .random-content-wrapper {
  width: -webkit-calc(100% + 20px);
  width: -moz-calc(100% + 20px);
  width: calc(100% + 20px);
  margin-left: -10px;
  position: relative;
  margin-bottom: 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
     -moz-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.random-content .item-holder {
  width: 100%;
  position: relative;
  aspect-ratio: 4/3;
}
.random-content .next {
  opacity: 0;
  visibility: hidden;
}
.random-content .shuffle-content:not(.has-randomize) {
  display: none !important;
}