/* Contact page presentation around the existing WPForms form. */
body.bv-contact-page #content > .ast-container {
    max-width: none;
    padding: 0;
}

body.bv-contact-page #primary,
body.bv-contact-page #content .ast-article-single {
    margin: 0;
    padding: 0;
}

body.bv-contact-page #content .entry-header {
    display: none;
}

body.bv-contact-page #content .entry-content > .bv-contact {
    width: 100%;
    max-width: none !important;
    margin: 0;
    padding: 0;
}

.bv-contact {
    --bv-contact-red: #aa0232;
    --bv-contact-red-dark: #8c0624;
    --bv-contact-bg: #f8f5f0;
    --bv-contact-bg-2: #efe8e0;
    --bv-contact-line: #ddd5ca;
    --bv-contact-ink: #2b2325;
    --bv-contact-muted: #6f6669;
    background: var(--bv-contact-bg);
    color: var(--bv-contact-ink);
    font: .78rem/1.5 Inter, system-ui, sans-serif;
}

.bv-contact,
.bv-contact * {
    box-sizing: border-box;
}

body.bv-contact-page #content .bv-contact-container {
    width: 100%;
    max-width: 980px !important;
    padding: 0 12px;
    margin: 0 auto;
}

.bv-contact h1,
.bv-contact h2,
.bv-contact h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    color: var(--bv-contact-ink);
}

.bv-contact-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    padding: 3rem 0 1.5rem;
    border-bottom: 1px solid var(--bv-contact-line);
}

.bv-contact-eyebrow {
    color: var(--bv-contact-red);
    font-size: .5rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.bv-contact-head h1 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    line-height: 1.1;
    margin: .6rem 0 0;
}

.bv-contact-head h1 span {
    color: var(--bv-contact-red);
}

.bv-contact-head p {
    max-width: 260px;
    color: var(--bv-contact-muted);
    font-size: .72rem;
    line-height: 1.6;
    margin: 0 0 .25rem;
}

.bv-contact-main-grid,
.bv-contact-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: start;
}

.bv-contact-main-grid {
    padding-top: 1.5rem;
}

.bv-contact-info-item {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--bv-contact-line);
}

.bv-contact-info-item:first-child {
    padding-top: .3rem;
}

.bv-contact-info-item i {
    color: var(--bv-contact-red);
    font-size: 1rem;
    margin-top: .15rem;
}

.bv-contact-info-item h3 {
    font-size: 1.05rem;
    line-height: 1.2;
    margin: 0 0 .25rem;
}

.bv-contact-info-item p {
    margin: 0;
    font-size: .68rem;
    line-height: 1.7;
}

.bv-contact-info-item a {
    color: var(--bv-contact-red);
    text-decoration: none;
}

.bv-contact-info-item a:hover {
    text-decoration: underline;
}

.bv-contact-hours {
    border-bottom: 0;
}

.bv-contact-vineyard {
    margin-top: 1.4rem;
    background: #f8e9d2;
    border-radius: 2px;
    overflow: hidden;
}

.bv-contact-vineyard img {
    width: 100%;
    height: auto;
    display: block;
}

.bv-contact-form-card {
    min-width: 0;
    background: #fffdfa;
    border-top: 2px solid var(--bv-contact-red);
    padding: 1.6rem 1.9rem 1.7rem;
    box-shadow: 0 1px 0 var(--bv-contact-line);
}

.bv-contact-form-card h2 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin: 0 0 .4rem;
}

.bv-contact-form-intro {
    font-size: .66rem;
    color: var(--bv-contact-muted);
    margin-bottom: 1.2rem;
    max-width: 380px;
    line-height: 1.5;
}

body.bv-contact-page .bv-contact .wpforms-container {
    margin: 0;
    padding: 0;
    font-family: Inter, system-ui, sans-serif;
}

body.bv-contact-page .bv-contact .wpforms-field-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
}

body.bv-contact-page .bv-contact .wpforms-field {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0;
    padding: 0 0 1rem;
}

body.bv-contact-page .bv-contact #wpforms-2392-field_1-container {
    grid-column: 1;
}

body.bv-contact-page .bv-contact #wpforms-2392-field_2-container {
    grid-column: 2;
}

body.bv-contact-page .bv-contact .wpforms-container .wpforms-field-label {
    font-family: Inter, system-ui, sans-serif;
    font-size: .58rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 .3rem;
    padding: 0;
    color: var(--bv-contact-ink);
}

body.bv-contact-page .bv-contact .wpforms-container .wpforms-field input,
body.bv-contact-page .bv-contact .wpforms-container .wpforms-field select,
body.bv-contact-page .bv-contact .wpforms-container .wpforms-field textarea {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    padding: .6rem .7rem;
    border: 1px solid var(--bv-contact-line);
    border-radius: 2px;
    background: #fff;
    font-family: Inter, system-ui, sans-serif;
    font-size: .66rem;
    line-height: 1.5;
    color: var(--bv-contact-ink);
    box-shadow: none;
}

body.bv-contact-page .bv-contact .wpforms-container .wpforms-field select {
    padding-right: 2rem;
}

body.bv-contact-page .bv-contact .wpforms-container .wpforms-field textarea {
    min-height: 108px;
    resize: vertical;
}

body.bv-contact-page .bv-contact .wpforms-container .wpforms-field input::placeholder,
body.bv-contact-page .bv-contact .wpforms-container .wpforms-field textarea::placeholder {
    color: #9a9094;
}

body.bv-contact-page .bv-contact .wpforms-container .wpforms-field input:focus,
body.bv-contact-page .bv-contact .wpforms-container .wpforms-field select:focus,
body.bv-contact-page .bv-contact .wpforms-container .wpforms-field textarea:focus {
    border-color: var(--bv-contact-red);
    box-shadow: 0 0 0 .18rem rgba(168, 8, 43, .15);
    outline: none;
}

body.bv-contact-page .bv-contact .wpforms-container .wpforms-submit-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: .25rem 0 0;
}

body.bv-contact-page .bv-contact .wpforms-submit-container::before {
    content: '* Required fields';
    margin-right: auto;
    font-size: .55rem;
    color: var(--bv-contact-muted);
}

body.bv-contact-page .bv-contact .wpforms-container button.wpforms-submit {
    background: var(--bv-contact-red) !important;
    color: #fff !important;
    border: 0;
    border-radius: 2px;
    font-family: Inter, system-ui, sans-serif;
    font-size: .66rem;
    font-weight: 500;
    line-height: 1.5;
    padding: .65rem 1.6rem;
    height: auto;
    min-height: 0;
    margin: 0;
    box-shadow: none;
    letter-spacing: normal;
    text-transform: none;
}

body.bv-contact-page .bv-contact .wpforms-container button.wpforms-submit::after {
    content: '↗';
    margin-left: .25rem;
}

body.bv-contact-page .bv-contact .wpforms-container button.wpforms-submit:hover {
    background: var(--bv-contact-red-dark) !important;
    color: #fff;
}

body.bv-contact-page .bv-contact .wpforms-container button.wpforms-submit:focus-visible {
    outline: 2px solid var(--bv-contact-ink);
    outline-offset: 2px;
}

.bv-contact-faq {
    background: var(--bv-contact-bg-2);
    padding: 2.6rem 0 2.8rem;
    margin-top: 2.4rem;
}

.bv-contact-faq h2 {
    font-size: 1.9rem;
    line-height: 1.1;
    margin: .5rem 0 1rem;
}

.bv-contact-faq-lead {
    font-size: .66rem;
    color: var(--bv-contact-muted);
    line-height: 1.6;
    max-width: 210px;
}

.bv-contact-faq-link {
    display: inline-block;
    font-size: .62rem;
    color: var(--bv-contact-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--bv-contact-red);
    padding-bottom: .15rem;
    margin-top: .8rem;
}

.bv-contact-faq-link:hover {
    color: var(--bv-contact-red);
}

.bv-contact-faq-item {
    border: 0;
    border-top: 1px solid var(--bv-contact-line);
}

.bv-contact-faq-item:last-child {
    border-bottom: 1px solid var(--bv-contact-line);
}

.bv-contact-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 1.05rem 0;
    font-size: .68rem;
    list-style: none;
    cursor: pointer;
}

.bv-contact-faq-item summary::-webkit-details-marker {
    display: none;
}

.bv-contact-faq-item summary::after {
    content: '+';
    color: var(--bv-contact-red);
    font-size: 1rem;
    line-height: 1;
}

.bv-contact-faq-item[open] summary::after {
    content: '−';
}

.bv-contact-faq-item summary:focus-visible {
    outline: 2px solid var(--bv-contact-red);
    outline-offset: 3px;
}

.bv-contact-faq-item > div {
    font-size: .68rem;
    color: var(--bv-contact-muted);
    line-height: 1.7;
    padding: 0 0 1rem;
}

.bv-contact-faq-item a {
    color: var(--bv-contact-red);
}

@media (max-width: 991.98px) {
    .bv-contact-main-grid,
    .bv-contact-faq-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 767.98px) {
    .bv-contact-form-card { padding: 1.3rem 1.1rem; }
    .bv-contact-head p { max-width: none; }
}

@media (max-width: 575.98px) {
    body.bv-contact-page .bv-contact #wpforms-2392-field_1-container,
    body.bv-contact-page .bv-contact #wpforms-2392-field_2-container { grid-column: 1 / -1; }
}
