.lottie-animation-block .nls-block-wrapper {
  padding: 40px 20px !important;
}

.lottie-animation-block.neutral {
  background-color: #f4f4f4 !important;
}

.lottie-animation-block.secondary {
  background-color: #174274 !important;
}

/* Two-column layout */
.lottie-animation-block .nls-block-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1220px;
  margin: 0 auto;
}

/* Flip: animation on left, text on right */
.lottie-animation-block .nls-block-container.animation-left {
  flex-direction: row-reverse;
}

/* Text column */
.lottie-animation-block .nls-block-text {
  flex: 0 0 48%;
}

.lottie-animation-block .nls-eyebrow {
  display: block;
  text-transform: uppercase;
  font-size: 22px;
  margin: 0 0 14px;
  color: var(--nls-eyebrow-color, inherit);
}

.lottie-animation-block .nls-title {
  margin: 0 0 16px;
  font-weight: 500;
  color: var(--nls-heading-color, inherit);
}

.lottie-animation-block .nls-body {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 20px;
  color: var(--nls-body-color, inherit);
}

.lottie-animation-block .nls-tertiary-button {
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  background-color: #234273;
  padding: 5px 15px;
  transition: .3s;
  border: 1px solid #234273;
  color: #fff;
}

.lottie-animation-block .nls-tertiary-button:hover {
  background-color: transparent;
  color: #234273;
}

/* Animation column */
.lottie-animation-block .nls-lottie-column {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lottie-animation-block .nls-lottie-player {
  width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 900px) {
  .lottie-animation-block .nls-block-container,
  .lottie-animation-block .nls-block-container.animation-left {
    flex-direction: column;
  }

  .lottie-animation-block .nls-block-text {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .lottie-animation-block .nls-block-wrapper {
    padding: 40px 20px;
  }
}
