.manufacturing-pin>.elementor-widget-html {
  width: 100%;
}

.small-laptop-menu {
  display: none;
}

.build {
  position: relative;
}

@media screen and (min-width: 1025px) {
  .build__viewport::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom,
        transparent,
        var(--darktheme-bg-black-primary));
    pointer-events: none;
    z-index: 1;
  }
}

@media screen and (min-width: 1699px) {
	.build__wrap {
		padding: 0 !important;
	}
}

.build__wrap {
  width: var(--content-width);
  margin: 0 auto;
  height: 100vh;
  display: flex;
  align-items: stretch;
  gap: 80px;
  padding: 0 50px;
}

@media screen and (max-width: 1365px) {
  .build__wrap {
    padding: 0 40px;
  }
}

@media screen and (max-width: 1024px) {
  .build__wrap {
    padding: 0 30px;
  }
}

@media screen and (max-width: 767px) {
  .build__wrap {
    padding: 0 20px;
  }
}

/* LEFT NAV ---------------------------------------- */
.build__nav {
  position: relative;
  flex: 0 0 33%;
  max-width: 520px;
  align-self: center;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-art {
  width: 100%;
}

.nav-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  max-height: calc(100vh - 150px);
  transform: translateY(30px);
}

.nav-svg circle[stroke="#FE6B00"] {
  filter: drop-shadow(0 0 6px rgba(254, 107, 0, 0.5));
}

.nav-marker {
  position: absolute;
  right: -13px;
  top: 0;
  width: 26px;
  height: 26px;
  transform: translate(0, -50%);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  transition: top 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
}

.nav-marker svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* RIGHT VIEWPORT / TRACK ----------------------------- */
.build__viewport {
  position: relative;
  flex: 1 1 auto;
  height: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.build__track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  will-change: transform;
  display: flex;
  flex-direction: column;
}

.panel {
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.panel[data-index="0"] {
  margin-top: 25vh;
}

.panel[data-index="4"] {
  margin-bottom: 25vh;
}

@media screen and (min-width: 1025px) and (max-width: 1600px) {
  .panel {
    min-height: 66vh;
  }

  .panel[data-index="0"] {
    margin-top: 15vh;
  }

  .panel[data-index="4"] {
    margin-bottom: 15vh;
  }
}

.panel__media {
  width: clamp(220px, 30vw, 340px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.panel__body {
    /* max-width: 540px; */
    flex: 1;
}

.panel__body p {
  line-height: 1.62;
  margin: 0 0 20px;
}

.panel__body p:last-child {
  margin-bottom: 0;
}

p.panel__sub {
  margin: 0 0 30px;
  color: var(--darktheme-bg-medium-gray);
}

@media (min-width: 1025px) and (max-width: 1365px) {
  .panel__media {
    display: none;
  }

  .small-laptop-menu {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-direction: column;
    gap: 20px;
  }

  #navArt {
    display: none;
  }

  .module-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 520px;
    list-style: none;
  }

  .module-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: transparent;
    border: 1px solid var(--darktheme-bg-medium-gray);
    border-radius: 120px;
    padding: 18px 28px 18px 18px;
    cursor: pointer;
    text-decoration: none;
  }

  .module-card.is-active .icon-wrap {
    border: 2px var(--darktheme-bg-orange) solid;
  }

  .icon-wrap {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .icon-wrap img,
  .icon-wrap svg {
    width: 44px;
    height: 44px;
    object-fit: contain;
  }

  .module-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .module-meta {
    font-size: 16px;
    color: var(--darktheme-bg-medium-gray);
  }

  .module-card.is-active .module-title {
    color: #ffffff;
  }

  .panel__body {
    max-width: 100%;
  }
}

/* =================== MOBILE & TABLET =================== */
@media (max-width: 1024px) {

  .build__wrap {
    height: auto;
    flex-direction: column;
    padding: 40px 20px;
    gap: 0;
  }

  .build__nav {
    display: none;
  }

  .build__viewport {
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .build__track {
    position: static;
    transform: none !important;
  }

  .panel {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    border: 1px solid var(--darktheme-bg-medium-gray);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.015);
    cursor: pointer;
  }

  .panel[data-index="0"] {
    margin-top: 0;
  }

  .panel[data-index="4"] {
    margin-bottom: 0;
  }

  .panel__media {
    display: none;
  }

  .panel__body {
    max-width: 100%;
    padding: 22px 20px;
  }

  .build .custom-title-3 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
  }

  .build .custom-title-3 h3 {
    margin: 0;
    font-size: 20px;
    -webkit-text-fill-color: unset;
  }

  .build .custom-title-3::after {
    content: "";
    flex: 0 0 26px;
    height: 26px;
    margin-top: 4px;
    background:
      linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
    transition: opacity 0.3s ease;
  }

  .build .panel.is-open .custom-title-3::after {
    background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
  }

  /* Sub text */
  p.panel__sub {
    margin: 0;
    color: var(--darktheme-bg-medium-gray);
  }

  .panel__body .panel__sub~p {
    display: none;
    line-height: 1.6;
    margin: 0 0 16px;
  }

  .panel__body p.panel__sub+p {
    border-top: 1px var(--darktheme-bg-medium-gray) solid;
    padding-top: 20px;
    margin: 10px 0 16px;
  }

  .panel__body .panel__sub~p:last-child {
    margin-bottom: 0;
  }

  .panel.is-open .panel__body .panel__sub~p {
    display: block;
  }

  .panel.is-open .panel__body .panel__sub~p:first-of-type {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--darktheme-bg-medium-gray);
  }
}

@media (prefers-reduced-motion: reduce) {

  .nav-marker,
  .nav-pill,
  .build .custom-title-3::after {
    transition: none;
  }
}