/* Keep the third-party BoB markup readable inside both light and dark sections. */
.tateeda-bob-form .bob-form {
    color: #191919 !important;
}

.tateeda-bob-form .bob-form h3 {
    color: #33475b !important;
}

.tateeda-bob-form .bob-form .bob-field > label,
.tateeda-bob-form .bob-form .bob-field > label > span:not([style*="color:red"]) {
    color: #191919 !important;
}

.tateeda-bob-form .bob-form .bob-field > label > span[style*="color:red"],
.tateeda-bob-form .bob-form .bob-field > label > span > span[style*="color:red"],
.tateeda-bob-form .bob-form .bob-field-error {
    color: #dc2626 !important;
}

.tateeda-bob-form .bob-form .bob-field > label a {
    color: #1d73be !important;
}

.tateeda-bob-form .bob-form input:not([type="checkbox"]):not([type="file"]),
.tateeda-bob-form .bob-form textarea {
    color: #33475b !important;
}

.tateeda-bob-form .bob-form input::placeholder,
.tateeda-bob-form .bob-form textarea::placeholder {
    color: #6b7280 !important;
    opacity: 1 !important;
}

.tateeda-bob-form-reassurance {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #6b7280;
    text-align: center;
}

/*
 * The "Book" call to action under the contacts form is an inline <a> carrying
 * padding: 12px 48px, authored as an inline style in the cf_bottom_info ACF
 * field. An inline box paints its vertical padding outside the line box without
 * reserving any space, so the button overlapped whatever sat above it. That was
 * invisible until the reassurance paragraph moved directly above it, and then
 * the button covered the sentence.
 *
 * inline-block makes the padding participate in layout, so the collision cannot
 * come back at any viewport width. Fixing the field instead would not hold: the
 * next editor save rewrites the inline style.
 */
.bottom-form-area a {
    display: inline-block;
}

.bottom-form-area > p:first-child {
    margin-top: 20px;
}
