/* 1. Reset the Form Container */
.webform-submission-contact-us-add-form {
    background: transparent !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Fix the 2-Column Spacing (Your Name / Organization, etc.) */
.webform-submission-contact-us-add-form .webform-flexbox {
    gap: 24px !important;
    margin-bottom: 24px !important;
}

/* 3. Style the Labels (Matches your "Eyebrow" text) */
.webform-submission-contact-us-add-form label {
    color: var(--muted) !important;
    font-family: var(--fm) !important;
    font-size: 10px !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
    display: block;
    font-weight: normal !important;
}

/* 4. Style the Inputs, Select Boxes, and Textarea (Theme Changer Ready) */
.webform-submission-contact-us-add-form .form-control,
.webform-submission-contact-us-add-form .form-select,
.webform-submission-contact-us-add-form textarea {
    background-color: transparent !important; /* Lets theme show through */
    border: 1px solid var(--border) !important;
    color: var(--heading) !important; /* Adopts theme text color */
    border-radius: 0 !important; 
    padding: 14px !important;
    font-size: 15px !important;
    box-shadow: none !important;
    width: 100%;
}

/* Change placeholder color so it doesn't clash */
.webform-submission-contact-us-add-form .form-control::placeholder,
.webform-submission-contact-us-add-form textarea::placeholder {
    color: var(--muted) !important; 
}

/* 5. Style the "Send It" Button */
.webform-submission-contact-us-add-form .form-actions {
    margin-top: 10px;
    padding-bottom: 40px;
}

.webform-submission-contact-us-add-form .form-submit {
    background-color: var(--blue) !important; 
    color: #ffffff !important;
    font-family: var(--fd) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em;
    border: none !important;
    padding: 16px 40px !important;
    border-radius: 2px !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.webform-submission-contact-us-add-form .form-submit:hover {
    opacity: 0.9 !important;
    transform: translateY(-2px);
}

/***********************************/

/* TARGET ONLY THE CONTACT US WRAPPER (Stops the bleed!) */
.block-webform:has(.webform-submission-contact-us-add-form) {
    background-color: transparent !important; /* Lets theme show through */
    padding: 20px 0 80px 0 !important;
    width: 100% !important;
}

/* Constrain only the Contact Us form */
.block-webform:has(.webform-submission-contact-us-add-form) .content,
.webform-submission-contact-us-add-form {
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
}

/* Give the left side (fields) more space than the right side (sidebar) */
.webform-submission-contact-us-add-form > .webform-flexbox > .webform-flex--1:first-child {
    flex: 1.5 !important;
    padding-right: 40px !important;
}
.webform-submission-contact-us-add-form > .webform-flexbox > .webform-flex--1:last-child {
    flex: 1 !important;
}

/*******************************/

/* =========================================
   Sidebar "What to Expect" Styling
========================================= */
.jpr-sidebar-box {
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    padding: 40px !important;
    background-color: transparent !important;
    position: sticky !important; /* Keeps it in view as the user scrolls the form */
    top: 120px !important; 
}

.jpr-sidebar-title {
    color: var(--heading) !important;
    font-family: var(--fd) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    margin-bottom: 32px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border-bottom: 1px solid var(--border) !important;
    padding-bottom: 16px !important;
}

/* Force the <strong> tags in your HTML to inherit our styles */
.jpr-sidebar-title strong,
.jpr-sidebar-num strong,
.jpr-sidebar-heading strong {
    font-weight: inherit !important;
    color: inherit !important;
    font-family: inherit !important;
}

.jpr-sidebar-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
    margin-bottom: 32px !important;
}

.jpr-sidebar-item:last-child {
    margin-bottom: 0 !important;
}

.jpr-sidebar-num {
    color: var(--blue) !important;
    font-family: Georgia, serif !important; /* Classy serif to match your quotes */
    font-size: 2.5rem !important;
    line-height: 0.8 !important;
    font-weight: bold !important;
    margin-top: 4px !important;
    min-width: 45px !important; /* Locks the width so the text paragraphs align perfectly */
}

.jpr-sidebar-heading {
    color: var(--heading) !important;
    font-family: var(--fd) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
}

.jpr-sidebar-text {
    color: var(--text2) !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    font-weight: 300 !important;
    margin: 0 !important; /* Resets any default paragraph margins */
}