.hubspotcnt {
  container: container-hubspot/inline-size;
  inline-size: 100%;
}
.hubspotcnt form fieldset:first-child h2 {
  margin-block-start: 0;
}
.hubspotcnt img[src*="logo"] {
  display: none !important;
}
.hubspotcnt:has(.submitted-message) .module__intro {
  display: none;
}
.hubspotcnt h2 {
  background: none;
  color: var(--color-lightblue);
  padding: 0;
  font-size: 2rem;
}
.hubspotcnt svg {
  max-inline-size: 8rem;
  color: var(--color-lightblue);
}
.hubspotcnt .hs-form-required,
.hubspotcnt .hs_error_rollup {
  display: none;
}
.hubspotcnt .module:has(form) {
  display: flex;
  gap: 4rem;
}
.hubspotcnt .module:has(.submitted-message) {
  margin-block: 0;
}
.hubspotcnt [type="submit"] {
  font-weight: 500;
}
.hubspotcnt label {
  display: block;
  margin-block-end: 0.5rem;
}
.hubspotcnt fieldset {
  margin-block: 0 1.25rem !important;
}
.hubspotcnt fieldset:is(.form-columns-2) {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hubspotcnt fieldset:is(.form-columns-2) > div {
  float: none;
  inline-size: 100% !important;
  max-inline-size: 100% !important;
  margin: 0 !important;
}
.hubspotcnt fieldset ul {
  color: var(--color-error);
  font-weight: 300;
}
.hubspotcnt ul {
  margin: 0.25rem 0 0 0;
  padding: 0;
  list-style: none;
}
.hubspotcnt .hs-form-booleancheckbox {
  padding-block-start: 0.5rem;
}
.hubspotcnt .hs-form-booleancheckbox label {
  font-weight: 400;
  display: flex;
  align-items: center;
  position: relative;
}
.hubspotcnt .hs-form-booleancheckbox label::before {
  content: "";
  display: inline-block;
  cursor: pointer;
  border: 1px solid var(--color-border-dark);
  inline-size: 2rem;
  block-size: 2rem;
  padding: 3px;
  border-radius: 3px;
  box-sizing: border-box;
}
.hubspotcnt .hs-form-booleancheckbox label:has(:checked)::before {
  /*  background-repeat: no-repeat;
  background-size: 80% auto;
  background-position: center;
  background-image: linear-gradient(
    var(--color-lightblue),
    var(--color-lightblue)
  );
  background-origin: padding-box;
  background-size: calc(100% - 4px) calc(100% - 4px); */
  background-image: url(/images/checkmark.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: calc(100% - 4px) calc(100% - 4px);
}
.hubspotcnt .hs-form-booleancheckbox label:has(:focus)::before {
  outline: 2px solid var(--color-lightblue);
  outline-offset: 2px;
}
.hubspotcnt .hs-form-booleancheckbox input {
  inline-size: 2rem;
  aspect-ratio: 1;
  border: 0;
  background: transparent;
  opacity: 0.01;
  position: absolute;
  left: 0;
  margin: 0;
  pointer-events: none;
}
.hubspotcnt .hs-form-booleancheckbox input:focus {
  outline: 0;
}
.hubspotcnt .hs-form-booleancheckbox span {
  margin-left: 0;
}
.hubspotcnt
  :is(
    fieldset,
    input:not(:is([type="submit"], [type="checkbox"])),
    select,
    textarea
  ) {
  inline-size: 100% !important;
  max-inline-size: 100% !important;
}
.hubspotcnt .input:has(select) {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}
.hubspotcnt .input:has(select) select {
  border: 0;
  cursor: pointer;
  appearance: none;
}
.hubspotcnt .input:has(select) {
  border: 1px solid var(--color-border-dark);
}
.hubspotcnt .input:has(select)::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background-image:
    url(data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 12" aria-hidden="true" focusable="false" class="svg__downarrow"><path d="M2 2L 10 10L18 2" stroke="%23353641" stroke-width="1" fill="none" /></svg>),
    linear-gradient(to left, var(--bgcolor-button), var(--bgcolor-button)),
    linear-gradient(
      to left,
      #fff 0,
      #fff 3.5em,
      rgba(255, 255, 255, 0) 5em,
      rgba(255, 255, 255, 0) 100%
    );
  background-position:
    calc(100% - 0.875rem) 50%,
    100% 0,
    100% 0;
  background-size:
    1.25rem auto,
    3em 100%,
    100% 100%;
  background-repeat: no-repeat;
}
.hubspotcnt .input:has(select:focus) {
  outline: 2px solid var(--color-lightblue);
  outline-offset: 2px;
}
.hubspotcnt :is(select) {
  block-size: 3rem;
}
.hubspotcnt :is(.module__intro, .module__form) {
  flex: 1;
}
.hubspotcnt .module__form:not(:has([data-hubspot-rendered])) {
  display: grid;
  place-content: center;
}
.hubspotcnt .module__form:has(.hubspot_fallback) {
  display: block;
}
.hubspotcnt .module__form:has([data-hubspot-rendered]) svg {
  display: none;
}
.hubspotcnt .input {
  margin-inline-end: 0 !important;
}
.hubspotcnt select,
.hubspotcnt textarea,
.hubspotcnt input:not(:is([type="submit"], [type="checkbox"])) {
  min-block-size: 3rem;
  line-height: 1.5;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border-dark);
  border-radius: 5px;
  padding-inline: var(--space-s);
  color: var(--color-lightblue);
  background: var(--color-white);
}
.hubspotcnt select:focus,
.hubspotcnt textarea:focus,
.hubspotcnt input:not(:is([type="submit"], [type="checkbox"])):focus {
  outline-offset: 2px;
  outline: 2px solid currentColor;
}
.hubspotcnt [type="submit"] {
  min-inline-size: 12rem;
  margin-inline: auto;
}
@media (width > 48rem) {
  .hubspotcnt [type="submit"] {
    margin-inline: auto 0;
  }
}
.hubspotcnt textarea {
  min-block-size: 10rem;
  padding: 0.75rem;
}
.hubspotcnt .legal-consent-container p {
  font-size: 0.92rem;
  line-height: 1.5;
}
.hubspotcnt .submitted-message p:first-child {
  font-size: clamp(1.375rem, 4vw, 1.5rem);
  word-spacing: 0.25rem;
  line-height: 1.33;
  margin: 1.5rem 0 0 0;
  font-weight: 500;
  color: var(--color-lightblue);
}
.hubspotcnt a:any-link:not(.cta) {
  color: var(--color-text);
  font-weight: 500;
}
.hubspotcnt .actions {
  margin-block-start: 3rem;
}

.hubspot_fallback {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem;
  background: var(--color-white);
  margin-block-start: 2rem;
}
.hubspot_fallback h2 {
  margin-block-start: 0 !important;
}
.hubspot_fallback p:has(.cta) {
  margin-block-start: 3rem;
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}
@media (width < 48rem) {
  .hubspot_fallback p:has(.cta) {
    flex-direction: column;
    align-items: center;
  }
}

body:not(.hp) .hubspotcnt .module:has(form) {
  flex-direction: column;
}

@container container-hubspot (width < 60rem) {
  .hp .hubspotcnt .module:has(form) {
    flex-direction: column;
  }
}
