.hubspot-form {
    --margin: 1.5rem;
    
    display: flex;
}

.hubspot-form > .card > * {
    margin: 0;
}

.hubspot-form > .card > * + * {
    margin-top: 1.5rem;
}

.hubspot-form > .card > :where(.card-header, .card-body) {
    padding: var(--margin);
    width: 100%;
}

.hubspot-form > .card .headline {
    font-size: clamp(1.75rem, 5vw, 3rem);
    line-height: 1;
    color: var(--azamara-blue);
}

.hubspot-form > .card .blurb {
    font-size: 1rem;
    line-height: 1.75;

    color: var(--dusk);
}

.hubspot-form > .card {
    color: var(--dark-blue);
    margin: var(--margin) auto;
    width: calc(100% - (2 * var(--margin)));
    max-width: 800px;

    display: flex;
    align-items: center;
}

.hubspot-form .loading-placeholder {
    
}

.hubspot-form * {
    font-family: 'brandon-grotesque';
    font-weight: 400;
    font-size: 16px;
    line-height: 32px;
    color: var(--night-sky);
}

.hubspot-form fieldset {
    max-width: none !important;
}

.hubspot-form p {
    font-size: 16px;
    margin-bottom: 1rem !important;
}

.hubspot-form p:has(strong:only-child) {
    margin-bottom: 0 !important;
    margin-top: 1rem;
}

/* .hubspot-form p:last-child {
    margin-bottom: 0 !important;
} */

.hubspot-form br + br,
strong > br:only-child {
    display: none;
}

.hubspot-form legend {
    font-size: 16px;
    font-style: italic;
}

.hubspot-form strong {
    color: var(--azamara-blue);
    font-weight: 700;
}

.hubspot-form ul {
    list-style: none;
    padding: 0;
}

.hubspot-form .field {
    margin-bottom: 1rem;
}

.hubspot-form .form-columns-2 > .field {
    margin-bottom: 0;
}

.hubspot-form .form-columns-2 {
    margin-bottom: 1rem;
}

.hubspot-form label {
    margin-bottom: .5rem;
    display: inline;
}

/* .hubspot-form label > span {
    font-weight: 700;
} */

.hubspot-form .hs-input {
    border: 1px solid var(--dusk);
    border-radius: 4px;
    width: 100%;
    max-width: 356px;
    height: 40px;
    padding: 8px 13px;
    
}

.hubspot-form .hs-form-booleancheckbox > label {
    /* display: flex;
    align-items: center;
    gap: .5rem; */
}

.hubspot-form :is(.hs-form-booleancheckbox, .hs-form-checkbox) > label > input {
    margin-top: 7px !important;
    margin-right: 8px !important;
}

.hubspot-form .hs-input[type="file"]{
    height: auto;
}

.hubspot-form .hs-fieldtype-text .hs-input.invalid{
    border-color: var(--danger);
}

.hubspot-form .hs-fieldtype-text .hs-input.error {

}

.hubspot-form .hs-input::placeholder {
    color: var(--dusk);
    padding-left: 0;
}

.hubspot-form .hs-input[type="radio"], .hubspot-form .hs-input[type="checkbox"] {
    height: 16px;
    width: 16px;
    margin-right: 8px;
    padding: 0;
}

.hubspot-form .hs-input[type="checkbox"], .hubspot-form .hs-input[type="radio"] {
    margin-top: .25em;
    width: 1em !important;
    height: 1em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0,0,0,.25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
  
}

.hubspot-form .hs-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
    background-color: var(--azamara-blue);
}

.hubspot-form .hs-input[type=radio] {
    border-radius: 50%;
}

.hubspot-form .hs-input:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
    background-color: var(--azamara-blue);
}

.hubspot-form .hs-error-msg {
    margin-bottom: 0;
    color: var(--danger);
}

.hubspot-form .hs-form-required {
    color: var(--danger);
}

.hubspot-form .hs-button {
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: background-color .4s;
}

.hubspot-form .hs-button.primary {
    background-color: var(--azamara-blue);
    color: #fff;
}

.hubspot-form .hs-button.primary:hover {
    background-color: var(--dark-blue);
}

.hubspot-form .hs-button.large {
    height: 48px;
    padding: 10px 17px;
}

/* -sm breakpoint */
@media (min-width: 576px) {
    .hubspot-form > .card .blurb {
        font-size: 1.2rem;
    }
}

/* -md breakpoint */
@media (min-width: 768px) {
    .hubspot-form {
        --margin: 3rem;
    }
}

/* -lg breakpoint*/
@media (min-width: 992px) {

}

/* -xl breakpoint */
@media (min-width: 1200px) {

}

/* -xxl breakpoint */
@media (min-width: 1400px) {

}