.resource-form-wrapper{
    background-color: var(--poka-pearl);
    padding: 2rem;
    border-radius: 0.938rem;
}
/**
 * HubSpot form — two column layout.
 * Based on HubSpot's actual rendered HTML structure.
 */

/* Make the form a two column grid */
.hs-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    align-items: start;
}

/* Each field takes one column by default */
.hs-form-field {
    display: flex;
    flex-direction: column;
    margin-bottom:0.75rem;
}

/* Labels sit above inputs */
.hs-form-field label {
    margin-bottom: 0;
}

/* Inputs fill their column */
.hs-form-field .input,
.hs-form-field .hs-input,
.hs-form-field select {
    width: 100% !important;
}

/* Industry, Email and submit button span full width */
.hs-form .hs_industry,
.hs-form .hs_email,
.hs-form .hs_submit {
    grid-column: 1 / -1;
}
.hs-form .legal-consent-container {
    grid-column: 1 / -1;
}
/* Stack on mobile */
@media ( max-width: 767px ) {
    .hs-form {
        grid-template-columns: 1fr;
    }

    .hs-form .hs_industry,
    .hs-form .hs_email,
    .hs-form .hs_submit {
        grid-column: span 1;
    }
}