.lm-our-story {
  --lm-our-story-accent: #b8956a;
  --lm-our-story-title: #2b2420;
  --lm-our-story-text: #5d5650;
  --lm-our-story-stat: #b8956a;
  padding: 30px 0 30px;
  width: 100%;
  position: relative;
}

.wp-block-acf-lm-our-story {
  margin-block: 0;
}

.lm-our-story.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.wp-admin .lm-our-story.alignfull,
.editor-styles-wrapper .lm-our-story.alignfull,
.block-editor-block-list__layout .lm-our-story.alignfull {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.lm-our-story__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.lm-our-story__title {
  margin: 0 0 36px;
  text-align: center;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  color: var(--lm-our-story-title);
  font-family: var(--wd-title-font, inherit);
}

.lm-our-story__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
}

.lm-our-story__media {
  position: relative;
}

.lm-our-story__slider {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: #e9e2da;
  box-shadow: 0 18px 40px rgba(28, 22, 18, 0.18);
  user-select: none;
  touch-action: none;
  --lm-compare: 50%;
}

.lm-our-story__media-layer {
  position: absolute;
  inset: 0;
}

.lm-our-story__media-layer--right {
  clip-path: inset(0 0 0 var(--lm-compare));
}

.lm-our-story__media-el {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.lm-our-story__media-overlay {
  position: absolute;
  inset: 0;
  padding: 22px 22px 20px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.lm-our-story__media-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: -1;
}

.lm-our-story__media-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.lm-our-story__media-tag {
  background: rgba(255, 255, 255, 0.75);
  color: #2b2420;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
}

.lm-our-story__media-count {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lm-our-story__media-title {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.2;
  font-family: var(--wd-title-font, inherit);
}

.lm-our-story__media-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.lm-our-story__play {
  display: none;
}

.lm-our-story__play svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  margin-left: 2px;
}

.lm-our-story__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--lm-compare);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
}

.lm-our-story__divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--lm-our-story-accent);
}

.lm-our-story__handle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--lm-our-story-accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(28, 22, 18, 0.25);
  cursor: ew-resize;
  pointer-events: auto;
}

.lm-our-story__handle svg {
  width: 22px;
  height: 22px;
}

.lm-our-story__slider.is-dragging .lm-our-story__handle {
  cursor: grabbing;
}

.lm-our-story__content {
  color: var(--lm-our-story-text);
  font-size: 16px;
  line-height: 1.75;
}

.lm-our-story__body p {
  margin: 0 0 18px;
}

.lm-our-story__body p:last-child {
  margin-bottom: 0;
}

.lm-our-story__body strong {
  color: var(--lm-our-story-accent);
}

.lm-our-story__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 26px;
}

.lm-our-story__stat-value {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--lm-our-story-stat);
  line-height: 1.1;
}

.lm-our-story__stat-label {
  font-size: 14px;
  color: #7a736c;
  margin-top: 6px;
}

@media (max-width: 980px) {
  .lm-our-story__layout {
    grid-template-columns: 1fr;
  }

  .lm-our-story__content {
    max-width: 620px;
  }
}

@media (max-width: 600px) {
  .lm-our-story {
    padding: 10px 0 12px;
  }

  .lm-our-story__media-overlay {
    padding: 18px 18px 16px;
  }

  .lm-our-story__handle {
    width: 48px;
    height: 48px;
  }

  .lm-our-story__play {
    width: 38px;
    height: 38px;
  }
}
