.lm-text-and-buttons {
  --lm-tb-title: #1d1d1f;
  --lm-tb-text: #666666;
  --lm-tb-accent: #b08a5c;
  position: relative;
  padding: clamp(20px, 3.2vw, 44px) clamp(20px, 5vw, 64px);
  background: transparent;
  overflow: hidden;
}

.wp-block-acf-lm-text-and-buttons {
  margin-top: 0;
  margin-bottom: 0;
}

.lm-text-and-buttons.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.lm-text-and-buttons__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: center;
  gap: clamp(26px, 5vw, 92px);
}

.lm-text-and-buttons__title {
  margin: 0 0 clamp(16px, 2.2vw, 28px);
  color: var(--lm-tb-title);
  font-family: var(--wd-title-font, inherit);
  font-weight: var(--wd-title-font-weight, 600);
  font-style: var(--wd-title-font-style, inherit);
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lm-text-and-buttons__content {
  color: var(--lm-tb-text);
  font-size: clamp(14px, 1.15vw, 19px);
  line-height: 1.65;
}

.lm-text-and-buttons__content > *:first-child {
  margin-top: 0;
}

.lm-text-and-buttons__content > *:last-child {
  margin-bottom: 0;
}

.lm-text-and-buttons__content ul,
.lm-text-and-buttons__content ol {
  margin: 0;
  padding-left: 1.15em;
}

.lm-text-and-buttons__content li {
  margin: 0 0 clamp(8px, 0.8vw, 12px);
}

.lm-text-and-buttons__content li::marker {
  color: var(--lm-tb-accent);
}

.lm-text-and-buttons__right {
  justify-self: start;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2.2vw, 26px);
  min-height: 100%;
}

.lm-text-and-buttons__icon {
  display: none;
  place-items: center;
  width: clamp(66px, 5.5vw, 94px);
  height: clamp(66px, 5.5vw, 94px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--lm-tb-accent);
  font-size: clamp(28px, 2.5vw, 42px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  animation: lmTbIconFloat 4.2s ease-in-out infinite;
}

.lm-text-and-buttons__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.lm-text-and-buttons__action-row {
  --lm-tb-delay: 0s;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  animation: lmTbButtonDrift 5.5s ease-in-out infinite;
  animation-delay: var(--lm-tb-delay);
}

.lm-text-and-buttons__button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 240px;
  height: 52px;
  padding: 0 20px;
  border: 1px solid var(--lm-tb-accent);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.lm-text-and-buttons__button i {
  width: 20px;
  text-align: center;
  font-size: 16px;
  line-height: 1;
}

.lm-text-and-buttons__button.is-solid {
  background: var(--lm-tb-accent);
  color: #ffffff;
}

.lm-text-and-buttons__button.is-outline {
  background: transparent;
  color: var(--lm-tb-accent);
}

.lm-text-and-buttons__button:hover {
  animation: lmTbHoverBreath 1.1s ease-in-out infinite;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.16);
}

.lm-text-and-buttons__button:focus-visible {
  outline: 2px solid rgba(176, 138, 92, 0.6);
  outline-offset: 2px;
}

@keyframes lmTbIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes lmTbButtonDrift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes lmTbHoverBreath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@media (max-width: 900px) {
  .lm-text-and-buttons__inner {
    grid-template-columns: 1fr;
  }

  .lm-text-and-buttons__right {
    justify-self: start;
    align-items: flex-start;
  }

  .lm-text-and-buttons__action-row {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .lm-text-and-buttons {
    padding: 18px 16px 22px;
  }

  .lm-text-and-buttons__right {
    width: 100%;
    align-items: center;
  }

  .lm-text-and-buttons__button {
    width: 100%;
    max-width: 240px;
    justify-content: center;
  }

  .lm-text-and-buttons__action-row {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lm-text-and-buttons__icon,
  .lm-text-and-buttons__action-row,
  .lm-text-and-buttons__button:hover {
    animation: none;
  }

  .lm-text-and-buttons__button {
    transition: none;
  }
}
