.cp-form {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 24px;
    text-align: left;
    color: #393939;
    font-size: 13px;
}
.cp-form h3 {
    background: #f7f7f2;
    border-bottom: 1px solid #967c59;
    padding: 10px;
    margin: 24px 0 12px;
}
.cp-form p {
    margin: 12px 0;
}
.cp-form .cp-field {
    display: block;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    min-width: 0;
}
.cp-form .cp-field[hidden] {
    display: none;
}
.cp-field > label,
.cp-field legend {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
}
.cp-field label.cp-choice {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 14px;
    font-weight: 400;
}
.cp-field input:not([type='radio']):not([type='checkbox']),
.cp-field select,
.cp-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #ddd;
    background: #fafafa;
    color: #222;
    border-radius: 2px;
    padding: 8px 10px;
    font: inherit;
}
.cp-field textarea {
    resize: vertical;
}
.cp-field input[type='checkbox'],
.cp-field input[type='radio'] {
    accent-color: #816947;
}
.cp-field small {
    display: block;
}
.cp-form .cp-form-trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
.cp-form button {
    background: #967c59;
    color: #fff;
    border: 0;
    padding: 12px 32px;
    border-radius: 20px;
    cursor: pointer;
}
.wp-block-column:has(> .cp-form .left-half) { padding: 16px; border: 5px dashed #967c59; }
@media (min-width: 768px) {
    .cp-form:has(.left-half) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
    .cp-form:has(.left-half) > :not(.left-half, .right-half) { grid-column: 1 / -1; }
    .cp-form button { justify-self: start; }
}
