.msh-trida-story {
  display: grid;
  gap: 22px;
  margin-top: 8px;
}

.msh-trida-intro p,
.msh-trida-copy p,
.msh-trida-note p {
  margin: 0 0 10px;
}

.msh-trida-intro p:last-child,
.msh-trida-copy p:last-child,
.msh-trida-note p:last-child {
  margin-bottom: 0;
}

.msh-trida-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

.msh-trida-copy {
  min-width: 0;
}

.msh-trida-media {
  min-width: 0;
}

.msh-trida-photo {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  line-height: 0;
}

.msh-trida-photo img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.msh-trida-slider {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.msh-trida-slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: 18px;
}

.msh-trida-slider__track::-webkit-scrollbar {
  display: none;
}

.msh-trida-slider__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.msh-trida-slider__btn {
  position: relative;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #ff9f6b;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(47, 111, 174, 0.16);
}

.msh-trida-slider__btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.msh-trida-slider__btn--prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.msh-trida-slider__btn--next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.msh-trida-slider__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.msh-trida-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.72);
}

.msh-trida-lightbox[hidden] {
  display: none;
}

.msh-trida-lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  border-radius: 18px;
}

.msh-trida-lightbox__close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

@media (min-width: 760px) {
  .msh-trida-row {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .msh-trida-row.is-flip .msh-trida-copy {
    order: 2;
  }

  .msh-trida-photo img {
    height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .msh-trida-slider__track {
    scroll-behavior: auto;
  }
}
