.aps3-cta-wrapper {
  display: flex;
  width: 100%;
  margin: 24px 0 34px;
}

.aps3-cta-align-left {
  justify-content: flex-start;
}

.aps3-cta-align-center {
  justify-content: center;
}

.aps3-cta-align-right {
  justify-content: flex-end;
}

.aps3-cta-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: linear-gradient(135deg, #1f6444 0%, #0fb674 100%);
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  box-shadow: 0 5px 12px rgba(31, 100, 68, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.aps3-cta-button::after {
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.85em;
  height: 1.85em;
  margin-left: 10px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h12' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13 6l6 6-6 6' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60% 60%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  line-height: 1;
  transform: translateY(0);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.aps3-cta-button:hover,
.aps3-cta-button:focus {
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(31, 100, 68, 0.20);
  filter: brightness(1.03);
  text-decoration: none !important;
}

.aps3-cta-button:hover::after,
.aps3-cta-button:focus::after {
  transform: translate(2px, -1px) scale(1.04);
  background-color: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.34);
}

.aps3-cta-button:focus-visible {
  outline: 3px solid rgba(15, 182, 116, 0.35);
  outline-offset: 3px;
}

.aps3-cta-button--compact {
  max-width: 100%;
  padding: 9px 17px;
  font-size: 17px;
}

.aps3-cta-button--wide {
  width: 100%;
  max-width: 860px;
  min-height: 48px;
  padding: 15px 22px;
  font-size: 18px;
  line-height: 1.45;
}

.aps3-cta-button--outline {
  background: #ffffff;
  color: #1f6444 !important;
  border-color: rgba(31, 100, 68, 0.35);
  box-shadow: 0 5px 12px rgba(31, 100, 68, 0.10);
}

.aps3-cta-button--outline:hover,
.aps3-cta-button--outline:focus {
  background: linear-gradient(135deg, #1f6444 0%, #0fb674 100%);
  color: #ffffff !important;
  border-color: transparent;
}


.aps3-cta-button--outline::after {
  background-color: rgba(31, 100, 68, 0.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h12' stroke='%231f6444' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13 6l6 6-6 6' stroke='%231f6444' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60% 60%;
  border-color: rgba(31, 100, 68, 0.16);
  box-shadow: none;
}

.aps3-cta-button--outline:hover::after,
.aps3-cta-button--outline:focus::after {
  background-color: rgba(255, 255, 255, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h12' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13 6l6 6-6 6' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border-color: rgba(255, 255, 255, 0.28);
}

.aps3-cta-button--full,
.aps3-cta-width-full .aps3-cta-button {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 640px) {
  .aps3-cta-wrapper {
    margin: 22px 0 32px;
  }

  .aps3-cta-button,
  .aps3-cta-button--compact,
  .aps3-cta-button--wide {
    width: 100%;
    padding: 13px 16px;
    font-size: 17px;
    line-height: 1.42;
  }
}
