/*
  WebAct shared Jotform hero layout.
  Based on digital-ads/local-services-advertising.html.
*/

.webact-jotform-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .72fr) !important;
    gap: 48px !important;
    align-items: center !important;
    padding: 92px min(6vw, 72px) !important;
    box-sizing: border-box !important;
}

.webact-jotform-hero > * {
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.webact-jotform-hero > :first-child {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-self: stretch !important;
}

.webact-jotform-hero > :has(iframe[id^="JotFormIFrame-"]),
.webact-jotform-hero > :has(iframe[src*="form.jotform.com/"]) {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-self: stretch !important;
    align-self: center !important;
    box-sizing: border-box !important;
}

.webact-jotform-hero .webact-shared-jotform,
.webact-jotform-hero .webact-jotform-card,
.webact-jotform-hero .hero-form-card,
.webact-jotform-hero .hero-form-v2,
.webact-jotform-hero .hero-card,
.webact-jotform-hero .form-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-self: stretch !important;
    box-sizing: border-box !important;
}

.webact-jotform-hero iframe[id^="JotFormIFrame-"],
.webact-jotform-hero iframe[src*="form.jotform.com/"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 1080px) {
    .webact-jotform-hero {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 680px) {
    .webact-jotform-hero {
        padding: 56px 20px !important;
    }
}
