@keyframes shake {0% { transform: translateX(0) }25% { transform: translateX(15px) }50% { transform: translateX(-5px) }75% { transform: translateX(15px) }100% { transform: translateX(0) }}
@keyframes shake-pre {0% { transform: translateX(0) }25% { transform: translateX(-15px) }50% { transform: translateX(5px) }75% { transform: translateX(-15px) }100% { transform: translateX(0) }}

body {
  font-family: Roboto, Noto Sans SC;
  margin: 0;
  padding: 0;
  background-color:#fff8f9;
  background-image: url(../img/future-bg.png);
  background-repeat: no-repeat;
  background-size: 15%; 
  background-position: top left; 
}
*, *::before, *::after {
  box-sizing: border-box;
}
.view-desktop{display:block;width:100%;-webkit-overflow-scrolling:touch;}
.view-mobile,.view-tablet{display:none;width:100%;-webkit-overflow-scrolling:touch;}
.view-tablet,.view-tablet{display:none;width:100%;-webkit-overflow-scrolling:touch;}
.intro-text{
  text-align: center;
  margin: 0.5em 0;
  font-size: 1.5rem;
}
.intro-text b{
  font-weight: 700;
  font-size: 1.8rem;    
  letter-spacing: 1.5px;
  }
.main-logo{
  width: 100%;
  text-align: center;
}
.future-logo {
  width: 13%;
}
.display-full {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.future{
  border-radius: 15px;
  background-color: #fff;
  width: 100%;
  height:auto;
  display: flex;
  position: relative;
}
.future-s1{
  border: #cd163d38 solid 10px;
}
.future-s2{
  border: #319eeb38 solid 10px;
}
.swiper {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #cd163d38;
}
.swiper-wrapper-top {
  height: 300px!important;
}
.swiper-wrapper {
  height: 493px;
}
.swiper-slide-top {
  background-size: 40%!important;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: flex-end;
  padding-top: 2em;
  align-items: flex-start;
  background-size: 85%;
  background-position: left bottom;
  background-repeat: no-repeat;
}
.swiper-s1ep1{
  background-image: url(../img/ai-lee-kai-fu.webp);
}
.swiper-s1ep2{
  background-image: url(../img/sd-chan-heng-chee.webp);
}
.swiper-s1ep3{
  background-image: url(../img/int-politics-liu-bin.webp);
}
.swiper-s1ep4{
  background-image: url(../img/finance-ravi-menon.webp);
}
.swiper-s2ep1{
  background-image: url(../img/langlang-classical-music-revival.webp);
}
.swiper-s2ep2{
  background-image: url(../img/laureen-wang-healthy-longevity.webp);
}
.swiper-s2ep3{
  background-image: url(../img/tan-min-yih-energy-transition-green-mobility.webp);
}
.swiper-s2ep4{
  background-image: url(../img/ho-teck-hua-ai.webp);
}
.swiper-slide {
  width: 95%;
}
.slide-text{
width: 60%;
padding: 0 1em;
box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.06);
background: rgba(255, 255, 255, 0.3);
backdrop-filter: blur(3px);
border-radius: 10px;
text-align: left;
}
.swiper-button-prev, .swiper-button-next {
  background-color: #f6d0d5 !important;
    top: 95%;
    padding: 20px;
    background-position: center!important;
    background-size: 35%!important;
    background-repeat: no-repeat!important;
    color: transparent;
    right: 15px;
}
.swiper-button-prev{
  left: auto;
  top: 85%;
}
.arrow, .swiper-button-prev:before, .swiper-button-next:before{
  display: none;
}
.swiper-button-next:hover{
  animation: shake 2s;
}
.swiper-button-prev:hover {
  animation: shake-pre 2s;
}
.swiper-button-next:active, .swiper-button-prev:active {
  background-color: var(--theme-ui-colors-main);
}
.swiper-button-next {
  background-image: url(../img/arrow-right.svg) !important;
}
.swiper-button-prev {
  background-image: url(../img/arrow-left.svg) !important;
}
.quote{
  border-bottom: 1px solid #aeb4b9;
}
.quote p{
margin-top: 0;
font-size: 1rem;
}
.quote blockquote{
margin: 0 0 0.5em 0;
padding: 1em 0;
}
.quote cite{
font-size: 0.8rem;
font-weight: 600;
}
.sm{
margin-left: 0.5em;
font-weight: 400;
}
.keywords{
font-size: 0.7rem;
color: #b80b4d;
padding: 0.5em 0 1em 0;
}
.keyword{
padding: 0 0.5em;
}
.topic-img-top{
  width: 25%!important;
}
.topic-img{
width: 60%;
}
.s1title-slider{
  display: block;
  width: 100%;
  height: auto;
}
.s1-tagline{
  width: 90%;
}
.s1title{
  align-content: center;
  display: grid;
  background: linear-gradient(to right, rgb(246 208 213), rgba(255, 192, 203, 0));
}
.s2title{
  align-content: center;
  display: grid;
  background: linear-gradient(to right, rgb(211 232 249), rgba(255, 192, 203, 0));
}
.entrypoints{
  display: flex;
  gap: 1em;
  text-align: justify;
  align-items: center;
  justify-content: center;
  margin: 1em 0;
 width: 100%;
}
.future-entrypoint{
  padding: 0.5em 0.7em;
  border-radius: 20px;
  color: #fff!important;
  background-color: #e90044!important;
}
.future-entrypoint:hover{
  color: #fff!important;
  background-color: #003866!important;
}
.future-entrypoint::before {
background-size: contain; 
content: '';
display: inline-block;
width: 20px;
height: 16px;
margin-right: 0.2em;
}
.interactive.future-entrypoint::before {
background: url('../img/interactive.svg') no-repeat center;
}
.ebook.future-entrypoint::before {
background: url('../img/epaper.svg') no-repeat center;
}
.future-videos{
background-color: #fff; 
border-radius: 15px;
height: fit-content;
padding: 10px;
}
.future-videos #jumbotron-video.sph-video-widget {
margin-bottom: 0em!important;
}
@media (min-width: 800px) and (max-width: 1024px) and (orientation: portrait) {
  .s1title.view-tablet{display:block!important;}
  /* .view-desktop{display:none!important;} */
  body {
  overflow-x: hidden;
  background-size: 30%;
  }
.future-logo {
  width: 20%;
}
.swiper-wrapper-top .swiper-slide-top {
 background-size: 70%!important;
 justify-content: end;
}

.swiper-slide {
 background-size: 70%!important;
 justify-content: end;
}
.swiper-wrapper-top {
  height: 470px!important;
}
.swiper-wrapper {
  height: 470px;
}
.s1title-bg{
    background: linear-gradient(to bottom, rgb(246 208 213), rgba(255, 192, 203, 0));

}
.s1-tagline-t{
display: none;
}
.s1-tagline-tablet{
  display: block;
  margin: auto;
  padding: 1em;
  }
.slide-text {
  width: 60%;
  padding-left: 2em;
}
.future-s1 {
  display: block;
}
}
@media (min-width: 768px) and (max-width: 799px) and (orientation: portrait) {
  .s1-tagline-n{
    display: none!important;
  }
}
@media (min-height: 600px) and (max-height: 750px) and (orientation: landscape) {
.main-logo {
  top: 5%;
}
}
@media (min-width:200px) and (max-width:767px) {
  body {
    background-size: 35%; 
    background-image: url(../img/future365-bg-m.png);
  }
  .view-mobile{display:block!important;}
  .view-desktop{display:none!important;}
  .main-logo {
  top: 5%;
  }
  .future-logo {
  width: 35%;
  }
  .future {
  display: block;
  }
  .s1-tagline{
  margin: auto;
  width: 75%;
  }
  .s2title {
  background: linear-gradient(to bottom, rgb(211 232 249), rgba(255, 192, 203, 0));
  }
  .s1title {
  background: linear-gradient(to bottom, rgb(246 208 213), rgba(255, 192, 203, 0));
  }
  .slide-text {
  width: 80%;
  }
  .topic-img-top{
  width: 60%!important;
  }
  .swiper-slide-top {
  background-size: 85%!important;
  }
  .swiper-slide {
  background-size: 85%;
  justify-content: center;
  align-items: flex-end;
  background-position: center top;
  }
  .swiper-button-prev, .swiper-button-next {
  top: 45%;
  background-color: #f6d0d5!important;
  }
  .swiper-button-next:hover, .swiper-button-prev:hover {
  animation:none;
  }
  .swiper-button-prev {
  left: 0;
  border-radius: 0 50% 50% 0;
  }
  .swiper-button-next {
  right: 0;
  border-radius: 50% 0 0 50%;
  }
  .swiper-wrapper-top {
  height: 470px!important;
  }
  .swiper-wrapper {
  height:470px;
  }
  .intro-text{
  font-size: 2rem;
  }
  .intro-text b{
  font-size: 2rem; 
  }
  .quote p {
  font-size: 1.2rem;
  }
  .keywords {
  font-size: 0.8rem;
  }
}