.hero-section__form form {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas: "hero-email hero-submit"
        "hero-errors hero-errors";
}

.hero-section__form--gdpr form {
    grid-template-areas: "hero-email hero-submit"
        "hero-mandatorycheckbox hero-mandatorycheckbox"
        "hero-consent hero-consent"
        "hero-errors hero-errors";
}

.hero-section__form .hs-email {
    grid-area: hero-email;
}

.hero-section__form .hs-email input {
    min-width: 21.88vw;
    padding: 0.8vw 0.83vw;
    background-color: var(--gray-75-color);
    border-radius: 0.35vw 0 0 0.35vw;
    border: 1px solid var(--dark-blue-color);
    border-right: none;
    outline: none;
    font-family: var(--manrope-font);
    font-size: 1.04vw;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(20, 52, 70, 0.7);
}

.hero-section__form .hs-email input::placeholder,
.hero-section__form .hs-email input::-moz-placeholder {
    color: rgba(20, 52, 70, 0.7);
}

.hero-section__form .hs-fieldtype-booleancheckbox {
    display: none;
}

.hero-section__form--gdpr .hs-fieldtype-booleancheckbox {
    display: unset;
}

.hero-section__form--gdpr .hs_gdpr_mandatorycheckbox {
    
    grid-area: hero-mandatorycheckbox;
}

.hero-section__form--gdpr .hs_gdpr_consent {
    grid-area: hero-consent;
}

.hero-section__form--gdpr .hs_gdpr_mandatorycheckbox,
.hero-section__form--gdpr .hs_gdpr_consent {
    max-width: 31.25vw;
    padding: 0.42vw 0;
    font-size: 0.97vw;
    line-height: 1.2;
}

.hero-section__form .hs-submit {
    grid-area: hero-submit;
}

.hero-section__form .hs-submit input {
    padding: 0.59vw 0.97vw 0.59vw 1.39vw;
    background-color: var(--dark-blue-color);
    border-radius: 0 0.35vw 0.35vw 0;
    border: 1px solid var(--dark-blue-color);
    font-family: var(--sharp-grotesk-font);
    font-size: 1.39vw;
    font-weight: 600;
    font-variation-settings: var(--fvs-style-bold-13);
    line-height: 1.5;
    letter-spacing: 0.014vw;
    cursor: pointer;
    color: var(--white-color);
    transition: all .25s ease-in-out;
}

@media screen and (min-width:768px) {
    .hero-section__form .hs-submit input:hover {
        color: var(--dark-blue-color);
        background-color: var(--white-color);
    }
}

.hero-section__form .hs-email .hs-error-msgs {
    max-width: 21.88vw;
    margin-top: 0.83vw;
}

.hero-section__form .hs_error_rollup {
    display: none;
    grid-area: hero-errors;
    order: 3;
}

.hero-section__form .subscription-thanks {
    display: none;
    max-width: 38.19vw;
    margin: -1.67vw auto 0;
    font-size: 1.25vw;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    color: var(--dark-blue-color);
}

@media screen and (max-width:768px) {
    .hero-section__form form {
        display: flex;
        flex-direction: column;
    }
    .hero-section__form--gdpr form {
        display: grid;
        grid-template-areas: "hero-email"
            "hero-submit"
            "hero-mandatorycheckbox"
            "hero-consent"
            "hero-errors";
    }
    .hero-section__form .hs-email input {
        min-width: 100%;
        padding: 4.8vw 3.2vw;
        border-radius: 1.33vw 1.33vw 0 0;
        border-right: 1px solid var(--dark-blue-color);
        border-bottom: none;
        font-size: 3.2vw;
    }
    .hero-section__form .hs-submit input {
        width: 100%;
        padding: 3.33vw;
        border-radius: 0 0 1.33vw 1.33vw;
        border-right: 1px solid var(--dark-blue-color);
        border-top: none;
        font-size: 5.33vw;
        letter-spacing: 0.05vw;
    }

    .hero-section__form .hs-email .hs-error-msgs {
        max-width: unset;
        margin-top: 3.2vw;
    }

    .hero-section__form .hs_error_rollup {
        order: 3;
    }
    .hero-section__form--gdpr .hs_gdpr_mandatorycheckbox,
    .hero-section__form--gdpr .hs_gdpr_consent {
        max-width: unset;
        padding: 1.6vw 0;
        font-size: 3.73vw;
    }
    .hero-section__form .subscription-thanks {
        max-width: 100%;
        margin-top: 1.07vw;
        font-size: 4.27vw;
    }
}