html,
body {
  padding: 0;
  margin: 0;
  background-color: #fff;
}
* {
  font-family: "Roboto", sans-serif;
}
.main {
  padding-bottom: 60px;
}
@media (min-width: 420px) {
  body {
    max-width: 420px;
    margin: 0 auto;
  }
}
.container {
  padding: 8px 16px;
  box-sizing: border-box;
  border-radius: 20px 20px 0 0;
  position: relative;
  top: -22px;
  background-color: #fff;
  z-index: 10;
}
.center {
  text-align: center;
}
.author-info {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 12px;
  line-height: 12px;
}
.dot {
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: #fff;
  margin: 0 5px;
}
.title-container {
  position: absolute;
  bottom: 32px;
  color: #fff;
  left: 16px;
}
.title-container h1 {
  font-size: 16px;
  font-weight: 700;
  margin: 5px 0;
  line-height: 20px;
}
.container .description {
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: rgba(41, 41, 41, 0.5);
}
.banner-image {
  width: 100%;
  position: relative;
}
.banner-image > img {
  width: 100%;
  height: auto;
}
.banner-image > .bottom-shadow {
  background: linear-gradient(
    180deg,
    rgba(145, 145, 145, 0) 17.19%,
    #000000 98.44%
  );
  height: 200px;
  width: 100%;
  position: absolute;
  bottom: 0;
}
body,
.article p {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #292929;
}
.article img {
  max-width: 100% !important;
  height: auto !important;
}
.article figure {
  width: auto !important;
  margin: 0;
}
.redirect-button {
  background: #226dff;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  border: none;
  padding: 10px 16px;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  margin-top: 14px;
}
.ad-slot-300x250 {
  width: 100%;
  border-radius: 5px;
  overflow: scroll;
  background: linear-gradient(
    127.35deg,
    rgba(194, 194, 194, 0.59) -7.28%,
    rgba(156, 156, 156, 0.19) 118.89%
  );
  box-sizing: border-box;
  padding: 8px;
  min-height: 284px;
  margin-bottom: 8px;
}
.ad-title {
  margin: 0 !important;
  font-size: 10px !important;
  color: #fff !important;
}
.ad-slot-300x250 div {
  min-height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ad-slot-320x50 {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.05);
  min-height: 50px;
}
.ad-slot-floating {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  max-width: 420px;
  z-index: 12;
  min-height: 60px;
  border-radius: 5px;
  overflow: scroll;
  background: #ddd;
  box-sizing: border-box;
  padding: 6px;
}
.related-container h2 {
  padding: 20px 16px;
  font-size: 20px;
  margin: 0;
  font-weight: 700;
}
.related-box {
  margin-bottom: 16px;
  padding: 20px 16px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.related-box a {
  text-decoration: none;
}
.related-box h3 {
  font-size: 16px;
  margin: 12px 0;
  color: initial;
}
.related-box .related-img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.related-box .related-img-cover {
  width: 100%;
  aspect-ratio: 16/9;
  background-repeat: no-repeat;
  background-position: center 38%;
}
.article-author-info {
  display: flex;
  align-items: center;
  font-size: 12px;
  line-height: 12px;
  margin: 12px 0;
}
.article-author-info img {
  width: 16px;
  margin-right: 8px;
}
#non-banner-title {
  padding: 31px 16px 0px 16px;
  color: black;
}
#non-banner-title h1 {
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
}
.article-helper-text {
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  color: rgba(99, 99, 99, 1);
}
.remove-postion {
  position: static;
}
ul .ad-slot-300x250,
ol .ad-slot-300x250 {
  margin-left: -1em !important;
}
#ad-container-floating {
  width: 320px;
  margin: 0 auto;
}

/* FC animation */
.wrapper {
  display: block;
  background: #000;
  padding: 20px 16px 36px;
  overflow: hidden;
}

.holder {
  width: 260px;
  height: 312px;
  position: relative;
  margin: 50px auto;
  user-select: none;
  display: flex;
  text-decoration: none;
}

.holder::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 16px;
  top: 16px;
  border-radius: 50%;
}

.holder::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: 30%;
  width: 20%;
  height: 20%;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  z-index: 10;
  opacity: 0;
}

.holder .slide {
  width: 100%;
  height: 100%;
  border: 1px solid transparent;
  border-width: 1px;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 13.64%,
    rgba(0, 0, 0, 0.6) 46.47%,
    #000 100%
  );
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 1)
  );
  background-origin: border-box;
  background-clip: border-box, content-box;
  position: absolute;
  top: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.holder .slide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  border-radius: 0px 0px 16px 16px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 38.02%,
    #000 100%
  );
}

.holder .slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.holder .slide h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  margin: 0 16px 8px 16px;
  z-index: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.holder .slide .cta-holder {
  display: flex;
  justify-content: flex-end;
  padding: 5px 10px 20px;
}

.holder .slide .cta-holder::after {
  content: attr(data-text);
  background-color: #ff5000;
  color: #fff;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 400;
  line-height: 8px;
  border-radius: 100px;
}

.holder .slide > * {
  position: relative;
  z-index: 2;
}

.holder .slide:nth-child(1) {
  z-index: 5;
  transform: translateY(0) scale(1);
}

.holder .slide:nth-child(2) {
  z-index: 4;
  transform: translateY(10%) scale(0.9);
  filter: blur(1px);
}

.holder .slide:nth-child(3) {
  z-index: 3;
  transform: translateY(20%) scale(0.8);
  filter: blur(2px);
}

.holder .slide:nth-child(4) {
  z-index: 2;
  transform: translateY(30%) scale(0.7);
  filter: blur(3px);
}

.holder .slide:nth-child(n + 4) {
  opacity: 0;
}

.holder.animate::after {
  animation: touch-drag-up 1s linear forwards;
}

.holder.animate .slide:nth-child(1) {
  animation: slide-up 1s linear forwards;
}

.holder.animate .slide:nth-child(2) {
  animation: slide-up2 0.5s linear forwards;
}

.holder.animate .slide:nth-child(3) {
  animation: slide-up3 0.5s linear forwards;
}

.holder.animate .slide:nth-child(4) {
  animation: slide-up4 0.5s linear forwards;
}

.holder.animate .slide:nth-child(n + 4) {
  opacity: 0;
}

@keyframes slide-up {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  30% {
    transform: translateY(-30%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes slide-up2 {
  0% {
    transform: translateY(10%) scale(0.9);
    filter: blur(1px);
  }

  100% {
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes slide-up3 {
  0% {
    transform: translateY(20%) scale(0.8);
    filter: blur(2px);
  }

  100% {
    transform: translateY(10%) scale(0.9);
    filter: blur(1px);
  }
}

@keyframes slide-up4 {
  0% {
    transform: translateY(30%) scale(0.7);
    opacity: 0;
  }

  100% {
    transform: translateY(20%) scale(0.8);
    opacity: 1;
    filter: blur(2px);
  }
}

@keyframes touch-drag-up {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  40% {
    height: 30%;
    bottom: 80%;
    opacity: 0.8;
  }

  80% {
    height: 20%;
    opacity: 0.5;
  }

  100% {
    bottom: 82%;
    opacity: 0;
  }
}

/* add css for Shop Now btn on product video on Shop LPs */
.shop_video_wrapper {
  display: flex;
  justify-content: center;
}

.shop_video_wrapper > p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.shop_now_button {
  width: -webkit-fill-available;
  background-color: #f93d66;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  text-decoration: none;
}

.shop_now_button > .arrow--right {
  color: #ffffff;
}
