.wgt-platform-structure.platform-structure {
  background: linear-gradient(
    324deg,
    rgba(120, 86, 255, 0.2) -30%,
    rgba(123, 102, 201, 0.09) -15%,
    rgba(255, 255, 255, 0.03) 50%
  );

  padding-bottom: 100px;
  margin-bottom: 140px;
}
.wgt-platform-structure.platform-structure .inner {
  width: 85%;
  margin: auto;
  max-width: 1500px;
}
.wgt-platform-structure .platform-structure-text {
  text-align: center;
  margin: auto;
  max-width: 580px;
  color: black;
}
.wgt-platform-structure .platform-structure-text p {
  color: #878787;
}
.wgt-platform-structure .structure-graph .graph-image {
  transition: opacity 100ms ease;
  margin-top: -80px;
}
.wgt-platform-structure .structure-graph .graph-image .mobile {
  display: none;
}
.wgt-platform-structure .structure-graph img {
  width: 100%;
  height: auto;
}
.wgt-platform-structure .cards-container {
  display: flex;
  justify-content: space-around;
}
.wgt-platform-structure .etl-card {
  display: flex;
  width: 21%;
  aspect-ratio: 1 / 1.3;
  padding: 2.5rem 2.5rem 2.5rem 1.25rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  border-radius: 10px;
  background: var(--grayscale-color-5);
  box-shadow: 0 4px 22px 0 rgba(185, 238, 255, 0.05);
  transition: box-shadow 300ms ease-in-out;
}
.wgt-platform-structure .etl-card img {
  width: 3vw;
  height: 3vw;
  margin-bottom: 1.25rem;
  max-width: 45px;
  max-height: 45px;
}
.wgt-platform-structure .etl-card :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.5vw;
}
.wgt-platform-structure .etl-card p {
  color: var(--grayscale-color-2);
  font-size: 1vw;
  font-weight: 400;
  line-height: 140%;
}
.wgt-platform-structure .etl-card a {
  width: fit-content;
  color: var(--primary-color-1);
  font-weight: 500;
  line-height: 140%;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-size: 1.1vw;
}
.wgt-platform-structure .etl-card a:hover {
  color: #9160f3;
}
.wgt-platform-structure .cards-container .etl-card:first-child {
  border: 1px solid #b9eeff;
}
.wgt-platform-structure .cards-container .etl-card:first-child:hover {
  box-shadow: 0 4px 30px 0 rgba(171, 235, 255, 0.2);
}
.wgt-platform-structure .cards-container .etl-card:nth-child(2) {
  border: 1px solid #cbff89;
}
.wgt-platform-structure .cards-container .etl-card:nth-child(2):hover {
  box-shadow: 0 4px 30px 0 rgba(199, 255, 127, 0.2);
}
.wgt-platform-structure .cards-container .etl-card:nth-child(3) {
  border: 1px solid #fff3c8;
}
.wgt-platform-structure .cards-container .etl-card:nth-child(3):hover {
  box-shadow: 0 4px 30px 0 rgba(255, 240, 185, 0.2);
}
.wgt-platform-structure .cards-container .etl-card:nth-child(4) {
  border: 1px solid #ffdae3;
}
.wgt-platform-structure .cards-container .etl-card:nth-child(4):hover {
  box-shadow: 0 4px 30px 0 rgba(255, 146, 173, 0.2);
}
@media (min-width: 1850px) {
  .wgt-platform-structure .etl-card {
    aspect-ratio: 10 / 13;
  }
  .wgt-platform-structure .etl-card :is(h1, h2, h3, h4, h5, h6) {
    font-size: calc(1.5 * 18px);
  }
  .wgt-platform-structure .etl-card p,
  .wgt-platform-structure .etl-card a {
    font-size: 18px;
  }
}
@media (max-width: 1100px) {
  .wgt-platform-structure .etl-card {
    padding: 1rem;
    width: 23%;
  }
  .wgt-platform-structure .etl-card :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.8vw;
  }
  .wgt-platform-structure .etl-card p,
  .wgt-platform-structure .etl-card a {
    font-size: 1.3vw;
  }
}
@media (max-width: 768px) {
  .wgt-platform-structure.platform-structure {
    margin-bottom: 80px;
  }
  .wgt-platform-structure.platform-structure .inner {
    width: 90%;
  }
  .wgt-platform-structure .structure-graph .graph-image {
    margin-top: unset;
  }
  .wgt-platform-structure .structure-graph .graph-image .desktop {
    display: none;
  }
  .wgt-platform-structure .structure-graph .graph-image .mobile {
    display: block;
  }
  .wgt-platform-structure .cards-container {
    flex-direction: column;
    gap: 13vw;
  }
  .wgt-platform-structure .etl-card {
    width: 85%;
    margin: auto;
    border-radius: 20px;
    padding: 10vw 4.5vw;
    aspect-ratio: 1 / 0.8;
    position: relative;
  }
  .wgt-platform-structure .cards-container .etl-card:not(:last-child)::after {
    content: "";
    display: block;
    width: 2.4vw;
    height: 4.5vh;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    bottom: -9vh;
    background-size: 100%;
    background-image: url("/static/img/icons/arrow.svg");
    background-repeat: no-repeat;
  }
  .wgt-platform-structure .etl-card img {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.625rem;
  }
  .wgt-platform-structure .etl-card :is(h1, h2, h3, h4, h5, h6) {
    font-size: 4.5vw;
  }
  .wgt-platform-structure .etl-card p,
  .wgt-platform-structure .etl-card a {
    font-size: 3vw;
  }
}
@media (max-width: 452px) {
  .wgt-platform-structure .structure-graph {
    width: 110%;
    margin-left: -5%;
  }
  .wgt-platform-structure .etl-card p,
  .wgt-platform-structure .etl-card a {
    font-size: 1rem;
  }
}

/* Neutralise page-level negative margin that creates overlap with header on platform page */
.wgt-platform-structure .structure-graph .graph-image {
  margin-top: 0;
}
@media (max-width: 767px) {
  .wgt-platform-structure .structure-graph {
    width: 100%;
    margin-left: 0;
  }
}
