.contatto-captcha {
  margin: 8px 0 18px;
}

.contatto-captcha-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--black, #302520);
}

.contatto-captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.contatto-captcha-img {
  display: block;
  width: 180px;
  height: 60px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid rgba(48, 37, 32, 0.15);
}

.contatto-captcha-refresh {
  background: transparent;
  border: 1px solid var(--second, #769B54);
  color: var(--second, #769B54);
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.2;
}

.contatto-captcha-refresh:hover,
.contatto-captcha-refresh:focus {
  background: var(--second, #769B54);
  color: #fff;
}

.contatto-captcha .wpcf7-form-control-wrap {
  flex: 1 1 180px;
  max-width: 260px;
}

.contatto-captcha .wpcf7-text {
  width: 100%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contatto-locale .wpcf7-response-output {
  display: none;
}

.contatto-locale.sent .wpcf7-response-output,
.contatto-locale.invalid .wpcf7-response-output,
.contatto-locale.failed .wpcf7-response-output {
  display: block;
}

.contatto-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

#custom_html-2 .contatto-captcha-label {
  color: #fff;
}

#custom_html-2 .contatto-captcha-refresh {
  border-color: #fff;
  color: #fff;
}

#custom_html-2 .contatto-captcha-refresh:hover,
#custom_html-2 .contatto-captcha-refresh:focus {
  background: #fff;
  color: #769B54;
}

#custom_html-2 .contatto-captcha {
  margin-top: 14px;
}
