.nutriadvicer-case .case-description {
  width: 580px;
  text-wrap: pretty;
}

.nutriadvicer-case .case-meta {
  right: 41px;
  width: 530px;
}

.nutriadvicer-case .case-live-link {
  top: 389px;
}

.nutriadvicer-case .case-live-link::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 20px);
  height: 40px;
  content: "";
  transform: translate(-50%, -50%);
}

.nutriadvicer-showcase {
  --na-image-shadow:
    0 1px 2px rgb(40 36 32 / 8%),
    0 7px 18px -10px rgb(40 36 32 / 26%);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 468px 41px 0;
}

.nutriadvicer-showcase figure {
  margin: 0;
}

.nutriadvicer-showcase img,
.na-web-stage video {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: auto;
  object-fit: contain;
}

.na-web-stage video {
  pointer-events: none;
}

.na-web-stage video::-webkit-media-controls,
.na-web-stage video::-webkit-media-controls-enclosure,
.na-web-stage video::-webkit-media-controls-panel,
.na-web-stage video::-webkit-media-controls-start-playback-button {
  display: none !important;
  appearance: none;
  opacity: 0;
}

.na-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.na-web-stage {
  display: grid;
  grid-template-columns: minmax(0, 1538fr) minmax(0, 460fr);
  gap: 54px;
  align-items: start;
}

.na-web-stage figure {
  overflow: hidden;
  border-radius: 5px;
  box-shadow: var(--na-image-shadow);
}

.na-web-stage figure:first-of-type,
.na-web-stage figure:last-of-type {
  aspect-ratio: auto;
}

.na-social-stage {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.na-carousel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.na-carousel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 5px;
  background: #ece9e4;
  box-shadow: var(--na-image-shadow);
}

.na-carousel-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.na-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition-property: transform;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.na-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.na-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.na-carousel-button {
  position: absolute;
  z-index: 1;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #282420;
  background: rgb(243 240 235 / 94%);
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 7%),
    0 2px 6px rgb(0 0 0 / 10%);
  cursor: pointer;
  transform: translateY(-50%);
  transition-property: transform, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.na-carousel-button:hover {
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 10%),
    0 3px 9px rgb(0 0 0 / 14%);
}

.na-carousel-button:active {
  transform: translateY(-50%) scale(0.96);
}

.na-carousel-button:focus-visible {
  outline: 2px solid #282420;
  outline-offset: 3px;
}

.na-carousel-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.na-carousel-previous {
  left: 14px;
}

.na-carousel-next {
  right: 14px;
}

.na-static-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.na-static-grid figure {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 5px;
  box-shadow: var(--na-image-shadow);
}

@media (prefers-reduced-motion: reduce) {
  .na-carousel-track,
  .na-carousel-button {
    transition: none;
  }
}

@media (max-width: 1279px) {
  .nutriadvicer-case .case-description,
  .nutriadvicer-case .case-meta {
    width: 100%;
  }

  .nutriadvicer-case .case-live-link {
    top: auto;
  }

  .nutriadvicer-showcase {
    margin: 16px var(--page-gutter, 28px) 0;
  }

  .na-web-stage {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .na-web-stage figure:last-of-type {
    max-width: 280px;
    margin-inline: auto;
  }

  .na-carousel-grid {
    grid-template-columns: 1fr 1fr;
  }

  .na-static-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .na-carousel-grid,
  .na-static-grid {
    grid-template-columns: 1fr;
  }
}
