* {
  padding: 0;
  margin: 0;
}

.cover {
  display: flex;
  justify-content: center;
}

.cover,.cover-mobile {
  background-color: #fffcf5;
  padding-bottom: 1em;
}

.content-container {
  /* position: relative; */
  z-index: 20;
  text-align: center;
  display: flex;
  justify-content: center;
  padding-top: 3em;
  height: auto;
  width: 100%;
}

.zbonline30-globe {
  width: 45%;
}

.zbonline30-logo {
  width: 25vw;
  padding-bottom: 2em;
}

.celebsImg {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  position: relative;
}

.celeb {
  display: flex;
}

.celeb img{
  min-width: 100px;
  width: 100%;
  flex-direction: column;
}


.header {
  position: absolute;
  width: 60%;
  transform: translateY(4em);
}

.title {
  font-size: 2.8rem;
  font-weight: 800;
}

.standfirst {
  width: 80%;
  margin: auto;
}

body.theme-light .publish .date {
  border: none;
}

.nav-wrapper {
  padding: 0 1em;
  width: auto;
  top: 6%;
  float: left;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  z-index: 100001;
  flex-flow: column nowrap;
  justify-content: flex-end;
  position: -webkit-sticky;
  position: sticky;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#profile-nav .nav-wrapper {
  bottom: auto;
  top: 0;
  background: var(--theme-ui-colors-secondary);
  display: block;
  position: fixed;
  z-index: 100000000;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.5s;
  line-height: 1.2;
  width: 100%;
}

.nav {
  margin: 0 0 80px 2em;
}
.nav-counter {
  font-size: 1em;
  transition: all 0.15s ease-out;
}
.nav-title {
  font-weight: 300;
  margin: 0 0 0.25em;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.3s ease-out, opacity 0.2s ease-out;
}
.nav-body {
  font-weight: 300;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.3s ease-out, opacity 0.2s ease-out;
}
.nav,
.nav li {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.nav li h3 {
  padding: 0.2em 0;
  margin: 0;
  font-size: 1em;
}
.nav li h3 a {
  padding: 0.4em;
  border: 1px solid var(--theme-ui-colors-white);
  color: rgba(0, 0, 0, 0.3);
  display: block;
}
.nav li.active h3 {
  pointer-events: none;
  padding-left: 0;
  font-weight: bold;
}
.nav li.active h3 a {
  border: none;
}
.nav-sub {
  padding: 0 0.4em 1em 0.4em;
  display: none;
  transition: all 0.3s ease-out;
}
.nav li.active .nav-sub {
  display: block;
}
.nav-sub li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease-out;
}
.nav-sub li:after {
  display: none;
  content: "";
  border-left: 1px solid grey;
  border-top: 1px solid grey;
  height: 250px;
  width: 20px;
  position: absolute;
  left: -30px;
  top: 30px;
}
.nav-sub li a {
  display: block;
  line-height: 1.2;
  padding: 0.4em 0;
  color: #333333;
  font-weight: 400;
  transition: all 0.15s ease-out;
}
.nav-sub li a:hover {
  background-color: transparent;
  padding-left: 1em;
}
.nav-sub li a:focus {
  background-color: transparent;
}
.nav-sub li.active {
  border-color: var(--theme-ui-colors-primary);
  pointer-events: none;
  background: none;
  font-weight: 900;
}
.nav-sub li.active:after {
  display: none;
  width: 35px;
  height: 400px;
  top: 1.4em;
}
.nav-sub li.active a {
  font-weight: 500;
  background: none;
}
.nav-sub li.active .nav-counter {
  color: var(--theme-ui-colors-primary);
}
.nav-sub li.active .nav-title {
  height: 40px;
  opacity: 1;
  overflow: visible;
}
.nav-sub li.active .nav-body {
  height: 60px;
  opacity: 1;
  overflow: visible;
}
.nav-sub em {
  font-size: 0.9em;
}
.nav-sub li em {
  color: #aaa;
}
.nav-sub li.segment,
.nav-sub li.segment a {
  height: auto;
  padding: 0;
  border: none;
}
.nav li.shy,
.nav li.shy a {
  width: 0;
  height: 0;
  opacity: 0;
}
.nav li.active h3 a,
.nav-sub li.active em {
  color: #000;
}

#content-container {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

#profile-nav {
  display: block;
}

#profile-nav .nav-wrapper span {
  font-size: 0.9em;
  padding: 0.5em;
  display: block;
  text-align: center;
  position: relative;
}

#profile-nav .nav-wrapper ul {
  height: auto;
  font-size: 0.8em;
  margin: auto;
  padding: 1em 0em 1em 0em !important;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center !important;
  overflow: hidden;
  overflow-x: scroll;
}

.nav-scrollbar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  width: 100%;
}

.nav-scrollbar-thumb {
  width: 40px;
  height: 100%;
  background: var(--theme-ui-colors-white);
  border-radius: 4px;
  margin: auto;
  animation: scrollbar-move 3s ease-in-out infinite;
  display: none;
  opacity: .7;
}

@keyframes scrollbar-move {
  0% {
    transform: translateX(40px);
  }
  50% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(40px);
  }
}

#profile-nav .nav-wrapper ul li {
  flex-shrink: 0;
  margin: 0 4px;
}
#profile-nav .nav-wrapper ul li a {
  width: auto;
  height: auto;
  white-space: nowrap;
  border-radius: 0.4em;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  border-radius: 1em;
  border: 1px solid var(--theme-ui-colors-white);
  color: var(--theme-ui-colors-white);
  background: transparent;
}
#profile-nav .nav-wrapper ul li.active a {
  font-weight: 700;
  color: var(--theme-ui-colors-black) !important;
  background: var(--theme-ui-colors-white) !important;
  border-color: transparent !important;
}
#profile-nav .nav-wrapper .profile-logo {
  margin: 0.6em auto;
  display: block;
}
.hide {
  opacity: 0;
}
.peek {
  opacity: 1;
}

/* individuals section */
.container {
  margin: 0;
  padding: 0;
}

.row.align-items-center {
  width: 100vw;
}

/* quotes */
.quotes {
  padding: 1em 0 1em 4em;
}

blockquote {
  margin: 0;
}

blockquote:before {
  background-image: url(https://interactive.zaobao.com.sg/lib/imgs/icons/quote-left.svg);
}

blockquote aside {
  font-size: 0.8em;
  margin: 1em auto 0 auto;
  padding-top: 0;
  border-top: none;
  display: block !important;
  font-weight: 400;
  text-align: left;
}

.comment-text {
  font-size: 1.1rem;
  line-height: 1.9rem;
  font-weight: 400;
  width: 80%;
}

aside.name {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--theme-ui-colors-primary);
}

aside.designation {
  margin: 0;
  font-size: 0.9rem;
}

/* images */
.ratio-9x16 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.ratio-9x16 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.img-fluid,
.swiper-slide img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

.swiper-button-next:after, .swiper-button-prev:after {
  color: var(--theme-ui-colors-main);
}

.tag {
  margin: 2em auto;
  width: 80%;
}

@media (orientation: landscape) {
  #profile-nav .nav-wrapper ul li a:hover {
    color: var(--theme-ui-colors-secondary);
    background: var(--theme-ui-colors-white);
  }
}

@media (min-width: 992px) and (max-width: 1260px) {
  .ratio-9x16 {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 1024px) {
  .quotes {
    padding: 1em 0 1em 3em;
  }

  .comment-text {
    font-size: 1rem;
    line-height: 1.75rem;
  }

  aside.name {
    font-size: 1.2rem;
  }
}

@media (min-width: 600px) and (max-width: 1000px) {
  .zbonline30-globe {
    width: 70% !important;
  }

  .zbonline30-logo {
    width: 50vw !important;
    padding-bottom: 3em;
  }

  .title {
    font-size: 3rem;
  }
}

@media (min-width: 320px) and (max-width: 599px) {
  .zbonline30-globe {
    width: 100% !important;
  }

  .zbonline30-logo {
    width: 50vw !important;
    padding-bottom: 3em;
  }

  .title {
    font-size: 2.5rem;
  }
}

@media (min-width: 320px) and (max-width: 767px) and (orientation: portrait) {
  .cover-mobile {
    overflow: hidden;
  }

  .zbonline30-globe {
    width: 130% !important;
    transform: translate(-20px, 10px);
  }

  .zbonline30-logo {
    width: 60vw !important;
  }

  .title {
    font-size: 2rem;
    font-weight: 800;
  }

  .standfirst {
    width: 100%;
    margin: auto;
  }

  .nav-wrapper {
    display: flex;
    flex-flow: row;
  }

  #profile-nav .nav-wrapper span {
    width: 20%;
    justify-content: center;
    align-items: center;
    display: flex;
  }

  #profile-nav .nav-wrapper ul li a br {
    display: none;
  }
  #profile-nav .nav-wrapper .profile-logo {
    width: 50px;
    margin: auto;
    display: inline-block;
  }
}

@media (min-width: 320px) and (max-width: 991px) {
  .row {
    margin: 0;
  }

  .row > * {
    padding: 0;
  }

  .row.align-items-center {
    width: 100% !important;
  }

  .standfirst {
    width: 100%;
  }

  .container {
    margin: auto;
  }

  .content-container {
    height: 60vh;
  }

  .header {
    transform: translateY(1em);
  }

  .ratio-9x16 {
    aspect-ratio: 16 / 9;
  }

  .img-fluid,
  .swiper-slide img {
    height: auto;
    object-fit: cover;
  }

  .quotes {
    padding: 0;
    width: 80%;
    margin: auto;
  }

  .comment-text {
    width: 100%;
    font-size: 1rem;
  }

  #profile-nav .nav-wrapper ul {
    justify-content: flex-start !important;
  }

  .nav-scrollbar-thumb {
    display: block;
  }

  section[id] {
    scroll-margin-top: 50px;
  }
}
