/* =============================================
   HERO LAYOUT FIX v2.0.0
   ============================================= */

/* Hero outer: align top for sticky to work */
.elementor-element-vu2fk7egl.e-con {
    align-items: flex-start !important;
}

/* Left text column: sticky */
.elementor-element-aj2x76sc7.e-con {
    position: sticky !important;
    top: 24px !important;
    align-self: flex-start !important;
    max-height: calc(100vh - 48px) !important;
    overflow: visible !important;
}
body.admin-bar .elementor-element-aj2x76sc7.e-con {
    top: calc(var(--wp-admin--admin-bar--height, 32px) + 24px) !important;
}

/* Right column */
.elementor-element-1vs1okhfg.e-con {
    width: 46% !important;
    flex: 0 0 46% !important;
}

/* Form card: compact + scrollable */
.elementor-element-2js1kz7cb.e-con {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 82vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    padding: 1.5rem !important;
    gap: 0.6rem !important;
    scrollbar-width: thin !important;
    scrollbar-color: #F97316 #f0f0f0 !important;
}
.elementor-element-2js1kz7cb.e-con::-webkit-scrollbar {
    width: 5px !important;
}
.elementor-element-2js1kz7cb.e-con::-webkit-scrollbar-track {
    background: #f0f0f0 !important;
    border-radius: 8px !important;
}
.elementor-element-2js1kz7cb.e-con::-webkit-scrollbar-thumb {
    background: #F97316 !important;
    border-radius: 8px !important;
}

/* WS Form: no internal scroll — parent handles it */
.elementor-element-2js1kz7cb .wsf-form {
    overflow: visible !important;
    max-height: none !important;
}

/* Tighten field spacing inside form */
.elementor-element-2js1kz7cb .wsf-field-wrapper,
.elementor-element-2js1kz7cb .wsf-group,
.elementor-element-2js1kz7cb .wsf-fieldset {
    margin-bottom: 0.4rem !important;
}
.elementor-element-2js1kz7cb .wsf-form label {
    margin-bottom: 2px !important;
    font-size: 0.85rem !important;
}
.elementor-element-2js1kz7cb .wsf-form input,
.elementor-element-2js1kz7cb .wsf-form select,
.elementor-element-2js1kz7cb .wsf-form textarea {
    padding: 0.4rem 0.6rem !important;
    font-size: 0.9rem !important;
}

/* Heading and subtext inside form card: compact */
.elementor-element-2js1kz7cb .elementor-widget-heading .elementor-heading-title {
    font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.2 !important;
}
.elementor-element-2js1kz7cb .elementor-widget-text-editor p {
    font-size: 0.85rem !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.4 !important;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .elementor-element-aj2x76sc7.e-con {
        width: 50% !important;
    }
    .elementor-element-1vs1okhfg.e-con {
        width: 48% !important;
        flex: 0 0 48% !important;
    }
}
@media (max-width: 768px) {
    .elementor-element-aj2x76sc7.e-con {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        max-height: none !important;
        text-align: center !important;
        align-items: center !important;
        margin-bottom: 2rem !important;
    }
    .elementor-element-1vs1okhfg.e-con {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
    .elementor-element-2js1kz7cb.e-con {
        max-height: 80vh !important;
    }
}
