.text-mobile {
  display: none;
}

.sticky-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0B2FAC;
  color: #ffffff;
  padding: 35px 20px;
  box-sizing: border-box;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  font-family: sans-serif;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
}

.text-container {
  display: flex;
  flex-direction: column;
}

/* Left text */
.banner-text {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 600;
  font-family: "Raleway", sans-serif;
}

.legal-text {
  opacity: 0.5;
  color: #FFF;
  font-size: 12px;
  margin: 5px 0 0 0;
  font-family: "Work Sans", sans-serif;
}

.legal-text a {
  color: #FFF;
}

.legal-text a:hover {
  color: #FFF;
}

/* Form layout */
.banner-form {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

/* Email input field */
.banner-form input[type="email"] {
  padding: 20px 30px !important;
  font-size: 1rem !important;
  border: none !important;
  border-radius: 4px !important;
  margin-right: 10px !important;
  width: max-content !important;
  text-align: center !important;
  min-width: 220px !important;
}

.banner-form input[type="email"]::placeholder { 
  color: rgba(4, 19, 69, 0.70) !important; 
}

/* Subscribe button */
.banner-form button {
  padding: 15px 50px !important;
  font-size: 1rem !important;
  border: none !important;
  border-radius: 4px !important;
  background-color: #FFD363 !important;
  color: #000 !important;
  cursor: pointer !important;
  font-weight: 400 !important;
}

#hsForm_8297f0d6-62ff-4c2e-bacf-09f109938f7a {
  display: flex !important;
  gap: 1rem;
  align-items: center !important;
  
  .legal-consent-container {
    display: none !important;
  }
  
  .actions {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }
  
  .field {
    margin: 0 !important;
  }

}

label.hs-error-msg.hs-main-font-element { 
  font-family: 'Work Sans' !important;
  display: block !important;
  position: absolute !important;
  top: 15px !important;
  color: red !important;
}

.hs-custom-style>div input:not([type=image]):not([type=submit]):not([type=button]):not([type=radio]):not([type=checkbox]):not([type=file]), .hs-custom-style fieldset input:not([type=image]):not([type=submit]):not([type=button]):not([type=radio]):not([type=checkbox]):not([type=file]) {
  min-height: 55px !important;
  padding: 0 10px !important;
  margin: 0 !important;
  font-size: 0.8rem !important;
  min-width: 250px !important;
}

.actions .hs-button.primary.large {
  min-height: 55px !important;
  background-color: #FFD363 !important;
  color: black !important;
  font-weight: 400 !important;
  border-color: #FFD363 !important;
  padding: 0 40px !important;
  font-family: "Work Sans", sans-serif !important;
  text-transform: none !important;
  font-size: .8rem !important;
  text-shadow: none !important;
}

.actions .hs-button.primary.large:hover {
  font-size: .8rem !important;
  font-family: 'Work Sans' !important;
}

.close-banner {
  position: absolute !important;
  top: 5px !important;
  right: 15px !important;
  background: none !important;
  border: none !important;
  font-size: 24px !important;
  color: white !important;
  cursor: pointer !important;
  transition: opacity 0.3s !important;
}

.close-banner:hover {
  opacity: 0.7 !important;
}

/* Mobile */
@media (max-width: 767px) {
  
  .text-mobile {
    display: block;
  }
  .text-desktop {
    display: none;
  }
  .sticky-banner {
    flex-direction: column;
    gap: .8rem;
    padding: 20px;
    border-radius: 8px 8px 0 0;
  }
  
  .banner-form, .hbspt-form, .field, .hs_submit, .hs-button {
    width: 100%;
  }
  
  .banner-text {
    padding-top: 20px;
  }
  
  .hs-form {
    flex-direction: column;
    gap: .5rem !important;
    align-items: start !important;
  }
  .hs_submit hs-submit {
    width: 100%;
  }
  
  .hs-form input[type=email] {
    text-align: left !important;
  }
  
  label.hs-error-msg.hs-main-font-element {
    position: static !important; 
}