/* BUTTON  */
.et_pb_button {
  /* border-radius: 15px !important; */
  font-size: 16px !important;
  padding: 16px 40px 16px 30px !important;
}
@media (max-width: 768px) {
  .et_pb_button {
    padding: 6px 40px 6px 20px !important;
  }
}

.et_pb_button::after,
.et_pb_button::before {
  font-size: 21px !important;
}

.et_pb_button-lite,
.et_pb_more_button {
  background-color: var(--link-clr-primary) !important;
  border: 1px solid var(--link-clr-primary) !important;
  color: var(--clr-third) !important;
}

.et_pb_button::after {
  margin-left: 5px;
}
.et_pb_button-dark {
  background-color: var(--color-secondary) !important;
  color: #fff !important;
  border: 1px solid var(--color-secondary) !important;
}

.wpcf7-submit {
  margin-top: 20px;
}

.hwm_button {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-family: var(--font-4);
  color: #fff !important;
  text-align: center;
  border-radius: 50px;
  padding: 18px 30px;
  font-size: var(--font-size-XS) !important;
  line-height: 1.2em;
  transition: background-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
  width: max-content;
}

.hwm_button {
  position: relative;
  padding-right: 56px; /* ruum noole jaoks */
}

/* Divi nool */
.hwm_button::after {
  content: "\35"; /* Divi paremnool */
  font-family: "ETmodules";
  font-size: 20px;
  position: absolute;
  right: 24px;
  top: 48%;
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}

/* hover animatsioon – nagu Divis */
.hwm_button:hover::after {
  transform: translate(6px, -50%);
}

.hwm_button:hover {
  background-color: #0c2134;
}

.hwm_button_lite {
  background-color: var(--link-clr-primary);
}

.hwm_button_dark {
  color: #111;
  background-color: var(--title-clr-second-dark);
}

.learn-more {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

.test-nupp::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: #000;
  left: 0;
  bottom: -4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.test-nupp:hover::after {
  transform: scaleX(1);
}

.hwm_cta-buttons {
  display: flex;
}

.hwm_cta-buttons a:first-child {
  margin-right: 10px;
}

.button-center {
  margin-left: auto;
  margin-right: auto;
}

details summary {
  margin-bottom: 15px;
}

/* details {
  margin-bottom: 15px;
} */

summary {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-family: var(--font-4);
  color: #fff !important;

  border-radius: 50px;
  padding: 18px 30px;
  font-size: var(--font-size-XS);
  line-height: 1.2em;
  transition: background-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  width: 100%;

  background-color: var(--link-clr-primary);
}
details h4,
details p,
details figure,
details img {
  margin-left: 20px;
  margin-right: 20px;
}

details h4 {
  margin-top: 20px;
}

details p:last-child {
  margin-bottom: 20px;
}

/* MOBIILI VAADE */
@media (max-width: 768px) {
  .hwm_cta-buttons {
    flex-direction: column;
  }

  .tegevus-button {
    margin-left: auto;
    margin-right: auto;
  }

  .hwm_cta-buttons .hwm_button:last-child {
    margin-top: 15px;
  }
  details p {
    margin-left: 10px;
    margin-right: 10px;
  }
  #hwm_row_banner .hwm_button {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }
}
