.form-container.smp-bfcm-inquiry {
    padding-top: 0 !important;
    background: #e8e8e8;
    border-radius: 0 0 16px 16px !important;
}
.smp-bfcm-inquiry-art { position: relative; left: 50%; transform: translateX(-50%); margin: 0; background: #fff; }
.smp-bfcm-inquiry-art img,
.smp-bfcm-reserve :is(.smp-bfcm-reserve-wide, .smp-bfcm-reserve-mobile) img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
}
.smp-bfcm-inquiry .form-heading {
    width: 100%;
    padding: 16px 0 !important;
    text-align: center;
}
.smp-bfcm-inquiry .form-heading h5 {
    margin: 0;
    font-size: 14px;
    line-height: 18px !important;
    color: #141510;
}
.smp-bfcm-inquiry .form-heading strong { line-height: inherit; }
.smp-bfcm-contact-row {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 8px;
    clear: both;
}
.smp-bfcm-contact-row > .hs-form-field { width: auto !important; min-width: 0; float: none !important; }
.smp-bfcm-contact-row .input { margin-right: 0 !important; }
.smp-bfcm-contact-row input.hs-input { min-width: 0; max-width: 100%; box-sizing: border-box; margin-bottom: 0 !important; }
@media (max-width: 340px) {
    .smp-bfcm-contact-row input::placeholder { font-size: 12px !important; }
}
@media (max-width: 767px) {
    .smp-bfcm-packages-widget,
    .smp-bfcm-packages-widget .smp-bfcm-inquiry {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}
@media (min-width: 768px) {
    .form-container.smp-bfcm-inquiry { width: 600px !important; max-width: calc(100% - 40px) !important; }
    .smp-bfcm-inquiry .form-heading { padding: 20px 0 19px !important; }
    .smp-bfcm-inquiry .form-heading h5 { font-size: 17.5px; line-height: 22px !important; }
    .smp-bfcm-inquiry .form-column {
        width: 380px !important;
        max-width: 100% !important;
        padding-inline: 15px !important;
        flex: none;
        margin-inline: auto !important;
    }
}
.smp-bfcm-reserve-wide, .smp-bfcm-reserve-mobile { width: 100%; }
.smp-bfcm-reserve :is(.smp-bfcm-reserve-wide, .smp-bfcm-reserve-mobile) > p {
    text-align: center;
    margin: 4px 0 6px !important;
    font-size: clamp(16px, 1.4vw, 20px) !important;
    line-height: 1.35 !important;
}
.smp-bfcm-reserve :is(.smp-bfcm-reserve-wide, .smp-bfcm-reserve-mobile) strong { font-size: inherit !important; font-weight: 700; }
@media (min-width: 601px) {
    .smp-bfcm-reserve > :not(.smp-bfcm-reserve-wide) { display: none !important; }
}
@media (max-width: 600px) {
    .smp-header-with-photos.smp-bfcm-reserve { padding-bottom: 0 !important; }
    .smp-bfcm-reserve .smp-header-center { margin-bottom: 0 !important; }
    .smp-bfcm-reserve + .smp-form-container { margin-top: 0 !important; padding-top: 6px !important; }
    .smp-bfcm-reserve .smp-header-center > :is(h2, .smp-header-subtitle),
    .smp-bfcm-reserve > .smp-bfcm-reserve-wide { display: none !important; }
}

