/* @font-face {
  font-family: "AkkuratLL-Regular";
  src: url("../akkurat/AkkuratLL-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "AkkuratLL-Light";
  src: url("../akkurat/AkkuratLL-Light.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "AkkuratLL-Bold";
  src: url("../akkurat/AkkuratLL-Bold.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
} */

@font-face {
  font-family: "AkkuratLL-Regular";
  src: url("/content/dam/spglobal/commodity-insights/en/content-design/infographics/common/fonts/AkkuratLL-Regular.otf")
    format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "AkkuratLL-Light";
  src: url("/content/dam/spglobal/commodity-insights/en/content-design/infographics/common/fonts/AkkuratLL-Light.otf")
    format("opentype");
  font-weight: normal;
  font-style: normal;
}
  
@font-face {
  font-family: "AkkuratLL-Bold";
  src: url("/content/dam/spglobal/commodity-insights/en/content-design/infographics/common/fonts/AkkuratLL-Bold.otf")
    format("opentype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --swiper-navigation-size: 4vh;
  --swiper-navigation-color: #e4f713;
  --swiper-navigation-color-on-hover: #595959;
  --swiper-pagination-bullet-inactive-width: 1vw;
  --swiper-pagination-bullet-inactive-height: 0.125rem;
  --swiper-pagination-bullet-inactive-color: rgba(255, 255, 255);
  --swiper-pagination-bullet-active-width: 22vw;
  --swiper-pagination-bullet-active-height: 0.1875rem;
  --swiper-pagination-bullet-size: 0.6vw;
  --swiper-pagination-bullet-active-color: #edf86f;
  --swiper-pagination-bullet-horizontal-gap: 0.2vw;
}

.breadcrumb-component_list_lastitem,
.mx-2 {
  color: #fff !important;
}

body {
  background-color: #0a0a0a;
  overflow-y: auto;
  font-family: "AkkuratLL-Light";
  line-height: normal !important;
}

body::-webkit-scrollbar {
  width: 0.45rem;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background-color: #edf86f;
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.final-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.final-wrapper *,
.final-wrapper *::before,
.final-wrapper *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.header {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
}

.breadcrumb-nav {
  margin: 2vh 0 0 1.7vw;
  color: #e4f713;
  font-size: 1vw;
  line-height: 1vw;
}

.best-of-ci-breadcrumb {
  position: relative;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.best-of-ci-breadcrumb.active:hover {
  text-decoration-color: #e4f713;
}

.best-of-ci-breadcrumb:not(.active):hover {
  text-decoration-color: #edf86f;
}

.best-of-ci-breadcrumb:not(:last-child)::after {
  content: " > ";
  margin: 0 0.3rem;
  color: #e4f713;
  display: inline-block;
  text-decoration: none !important;
}

.main-wrapper {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.main-wrapper > section {
  height: 100%;
  display: none;
  overflow: hidden;
}

.persona-section,
.commodity-section {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.top,
.commodity-section .top {
  width: 100%;
  padding: 1vh 0 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.welcome,
.choose {
  font-size: 2.5vw;
  margin: 1vh 0 0 11.4vw;
  position: relative;
  display: inline-block;
  color: #fff;
}

.explanation,
.explanation-c {
  font-size: 0.9vw;
  margin: 1.5vh 0 4vh 11.7vw;
  color: #fff;
}

.occupation,
.select-commodity {
  font-size: 1.2vw;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  color: rgba(255, 255, 255, 0.62);
}

.navigation {
  gap: 6vw;
}

.navigation,
.navigation-c {
  position: relative;
  margin-bottom: -1vh;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.navigation-c {
  gap: 7vw;
}

.swiper-button-prev[data-id="persona"],
.swiper-button-next[data-id="persona"],
.swiper-button-next[data-id="commodity"],
.swiper-button-prev[data-id="commodity"] {
  size: var(--swiper-navigation-size);
  color: var(--swiper-navigation-color);
  z-index: 10;
  position: static;
  transition: color 0.3s ease;
}

.swiper-button-prev[data-id="persona"]:hover,
.swiper-button-next[data-id="persona"]:hover,
.swiper-button-prev[data-id="commodity"]:hover,
.swiper-button-next[data-id="commodity"]:hover {
  color: var(--swiper-navigation-color-on-hover);
}

.persona-name {
  left: 37vw;
  top: 15vh;
}

.persona-name,
.commodity-name {
  position: absolute;
  font-size: 1.7vw;
  line-height: 1.7vw;
  padding: 0.5rem;
  z-index: 10;
  background-color: #0a0a0a;
  transition: all 0.7s ease;
  color: #fff;
  opacity: 1;
  cursor: pointer;
  pointer-events: none;
  transform: translateX(0);
}

.commodity-name {
  left: 37.5vw;
  top: 15vh;
}

.slide-out-to-left {
  transform: translateX(-100%);
  opacity: 0;
}

.slide-in-from-right {
  transform: translateX(100%);
  opacity: 0;
}

.persona-carousel,
.commodity-carousel {
  margin: 0 auto;
  width: 100%;
  height: 61vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.swiper[data-id="persona"],
.swiper[data-id="commodity"] {
  width: 100%;
  height: 90%;
}

.swiper[data-id="persona"] .swiper-wrapper,
.swiper[data-id="commodity"] .swiper-wrapper {
  display: flex;
  align-items: center;
  transition: transform 0.5s ease;
}
.persona-swiper-fix {
  width: 100vw;
  margin: 0;
  padding: 0;
}
.persona-swiper-fix .swiper-wrapper {
  transition: transform 0.3s;
}

.swiper[data-id="persona"] .swiper-slide,
.swiper[data-id="commodity"] .swiper-slide {
  width: 13% !important;
  right: 4.35vw !important;
  opacity: 0.4;
  transition: all 0.5s ease;
  cursor: pointer;
  overflow: hidden;
}

.swiper[data-id="persona"] .swiper-slide-active,
.swiper[data-id="commodity"] .swiper-slide-active {
  width: 22% !important;
  height: 91% !important;
  opacity: 1;
}

.swiper[data-id="persona"]
  .swiper-slide:nth-child(odd):not(.swiper-slide-active),
.swiper[data-id="commodity"]
  .swiper-slide:nth-child(odd):not(.swiper-slide-active) {
  height: 51% !important;
}

.swiper[data-id="persona"]
  .swiper-slide:nth-child(even):not(.swiper-slide-active),
.swiper[data-id="commodity"]
  .swiper-slide:nth-child(even):not(.swiper-slide-active) {
  height: 62% !important;
}

.swiper[data-id="persona"] .swiper-slide img,
.swiper[data-id="commodity"] .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
  transition: all 0.7s ease;
}

.swiper[data-id="persona"] .swiper-slide:not(.swiper-slide-active) img:hover,
.swiper[data-id="commodity"] .swiper-slide:not(.swiper-slide-active) img:hover {
  transform: scale(1.4);
}

.swiper-pagination[data-id="persona"],
.swiper-pagination[data-id="commodity"] {
  position: relative !important;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.7s ease;
  overflow: hidden;
  width: 100%;
  height: 5.5vh;
}

.swiper-pagination[data-id="persona"] {
  padding: 0 0 0 12.6vw;
}

.swiper-pagination[data-id="commodity"] {
  padding: 0 0 0 9.8vw;
}

.swiper-pagination[data-id="persona"] .swiper-pagination-bullet,
.swiper-pagination[data-id="commodity"] .swiper-pagination-bullet {
  width: var(--swiper-pagination-bullet-inactive-width);
  height: var(--swiper-pagination-bullet-inactive-height);
  margin: 0 var(--swiper-pagination-bullet-horizontal-gap);
  border-radius: 0;
  background-color: var(--swiper-pagination-bullet-inactive-color);
  transition: all 0.7s ease;
}

.swiper-pagination[data-id="persona"] .swiper-pagination-bullet-active,
.swiper-pagination[data-id="commodity"] .swiper-pagination-bullet-active {
  width: var(--swiper-pagination-bullet-active-width);
  height: var(--swiper-pagination-bullet-active-height);
  background-color: var(--swiper-pagination-bullet-active-color);
}

.swiper-pagination[data-id="persona"] .swiper-pagination-bullet:hover,
.swiper-pagination[data-id="commodity"] .swiper-pagination-bullet:hover {
  background-color: var(--swiper-pagination-bullet-active-color);
  opacity: 1;
}

.bullet-number {
  position: absolute;
  padding: 0.5rem 0 0 0.1rem;
  font-size: 0.6vw;
  font-family: "AkkuratLL-Regular";
  color: rgba(255, 255, 255);
  transition: all 0.5s ease;
}

.swiper-pagination[data-id="persona"]
  .swiper-pagination-bullet-active
  .bullet-number,
.swiper-pagination[data-id="commodity"]
  .swiper-pagination-bullet-active
  .bullet-number {
  font-size: 0.75vw;
  color: #edf86f;
}

.bullet-title,
.bullet-title-c {
  position: absolute;
  text-align: left;
  width: 20vw;
  top: -2vh;
  font-size: 0.7vw;
  color: #fff;
}

.orientation-dialog {
  display: none;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  justify-content: center;
  align-items: center;

  background-color: rgba(10, 10, 10, 1);

  color: #fff;
  border: none;
  padding: 2rem;
  z-index: 100;
}

.dialog-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.orientation-video {
  width: 150px;
  height: auto;
}

@media (orientation: portrait) {
  .final-wrapper .orientation-dialog {
    display: flex;
  }
}
