/* Post consultation only. Fluent Forms retains its fields, validation and submit flow. */
.single-post .contact_form.hd-post-consultation {
    --hd-pc-ink: #07544d;
    --hd-pc-muted: #566966;
    --hd-pc-green: #087a63;
    margin: 24px 0 0;
    padding: 56px 24px;
    background: #f0faf6;
    color: var(--hd-pc-ink);
}
.hd-post-consultation *, .hd-post-consultation *::before, .hd-post-consultation *::after { box-sizing: border-box; }
.hd-post-consultation .hd-post-consultation__inner { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: 32px; width: 100%; max-width: 1200px; margin: 0 auto; align-items: stretch; }
/* The approved landscape reference remains the tablet/mobile composition. */
.hd-post-consultation .hd-post-consultation__intro { position: relative; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; container-type: inline-size; overflow: hidden; min-width: 0; aspect-ratio: 1007 / 684; padding: 0; border-radius: 20px; background: #e6f4ef; color: #164e49; }
.hd-post-consultation .hd-post-consultation__media { position: absolute; z-index: -1; inset: 0; display: block; }
.hd-post-consultation .hd-post-consultation__image { position: absolute; inset: 0; width: 100%; height: 100%; max-height: 67.925cqw; margin: 0; object-fit: cover; object-position: right center; }
.hd-post-consultation .hd-post-consultation__copy { position: relative; margin: 4.8% 0 0 4.8%; }
.hd-post-consultation p { margin: 0; }
.hd-post-consultation .hd-post-consultation__eyebrow { margin: 0 0 1.5cqw; color: #285b57; font-size: 2.2cqw; font-weight: 700; letter-spacing: .12em; line-height: 1.5; }
.hd-post-consultation .hd-post-consultation__eyebrow span { display: block; font-size: 2.1cqw; font-weight: 500; letter-spacing: .04em; }
.hd-post-consultation #hd-post-consultation-title { margin: 0 0 1.2cqw; color: #008b67; font-size: 6.9cqw; font-weight: 700; letter-spacing: -.02em; line-height: 1.22; }
.hd-post-consultation #hd-post-consultation-title span { color: #164e49; font-size: 6.45cqw; }
.hd-post-consultation .hd-post-consultation__description { color: #4b6561; font-size: 3.15cqw; line-height: 1.4; }
.hd-post-consultation .hd-post-consultation__benefits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, 1fr); gap: 1.2cqw; margin: 3.2cqw 4.6cqw 2.5cqw; padding: 0; list-style: none; }
.hd-post-consultation .hd-post-consultation__benefits li { display: grid; grid-template-columns: 8.8cqw minmax(0, 1fr); align-items: start; gap: 1.2cqw; min-width: 0; min-height: 18.6cqw; margin: 0; padding: 1.8cqw 1.2cqw; border-radius: 3.2cqw; background: #fffffff2; color: #215953; }
.hd-post-consultation .hd-post-consultation__benefit-icon { display: grid; width: 8.8cqw; height: 8.8cqw; place-items: center; border-radius: 50%; background: #d1eade; color: #078461; }
.hd-post-consultation .hd-post-consultation__benefits svg { width: 5cqw; height: 5cqw; }
.hd-post-consultation .hd-post-consultation__benefits strong { display: block; font-size: 2.6cqw; font-weight: 700; line-height: 1.35; white-space: nowrap; }
.hd-post-consultation .hd-post-consultation__benefits p { margin: .9cqw 0 0; color: #566e68; font-size: 2.15cqw; line-height: 1.4; white-space: nowrap; }
.hd-post-consultation .hd-post-consultation__card { position: relative; min-width: 0; width: 100%; max-width: 680px; margin: 0; padding: 30px; border: 1px solid #e8f2ec; border-radius: 24px; background: #fff; box-shadow: 0 12px 40px #07544d0a; }
.hd-post-consultation .hd-post-consultation__heading { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.hd-post-consultation .hd-post-consultation__calendar { display: grid; flex: 0 0 58px; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #e7f5ee; color: var(--hd-pc-green); }
.hd-post-consultation .hd-post-consultation__calendar svg { width: 34px; height: 34px; }
.hd-post-consultation .hd-post-consultation__heading h3 { margin: 0 0 6px; color: var(--hd-pc-ink); font-size: 24px; font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.hd-post-consultation .hd-post-consultation__heading p { color: var(--hd-pc-muted); font-size: 15px; line-height: 1.5; }
.hd-post-consultation .fluentform, .hd-post-consultation .frm-fluent-form, .hd-post-consultation fieldset { min-width: 0; margin: 0; }
.hd-post-consultation .ff-t-container { display: block; margin: 0; }
.hd-post-consultation .ff-t-cell { width: 100%; min-width: 0; margin: 0; padding: 0; }
.hd-post-consultation .ff-el-group { margin: 0 0 12px; }
.hd-post-consultation .hd-post-contact-field { display: grid; grid-template-columns: 34px 126px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 58px; margin: 0 0 12px; padding: 8px 12px; border: 1px solid #d7e2dd; border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.hd-post-consultation .fluentform .hd-post-contact-field { margin: 0 0 12px; }
.hd-post-consultation .hd-post-contact-field::before { display: block; grid-column: 1; grid-row: 1; width: 34px; height: 34px; border-radius: 50%; background: #e7f5ee var(--hd-pc-icon) center / 22px no-repeat; content: ''; }
/* Fluent Forms' float clearfix adds an unwanted empty grid row. */
.hd-post-consultation .fluentform .hd-post-contact-field::after { display: none; content: none; }
.hd-post-consultation .hd-post-contact-field--user { --hd-pc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087a63' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4 21v-2a8 6 0 0 1 16 0v2H4Z'/%3E%3C/svg%3E"); }
.hd-post-consultation .hd-post-contact-field--phone { --hd-pc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087a63' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 3 3 5-3 2c2 4 3 5 7 7l2-3 5 3c-1 5-4 5-8 3C8 18 3 13 2 8c-1-3 2-5 5-5Z'/%3E%3C/svg%3E"); }
.hd-post-consultation .hd-post-contact-field--mail { --hd-pc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087a63' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='m3 5 9 8 9-8'/%3E%3C/svg%3E"); }
.hd-post-consultation .hd-post-contact-field--pin { --hd-pc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087a63' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.hd-post-consultation .hd-post-contact-field--building { --hd-pc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087a63' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22V3l11-2v21M15 9h5v13M2 22h20M8 6h2m-2 4h2m-2 4h2m-2 4h2m7-5h1m-1 4h1'/%3E%3C/svg%3E"); }
.hd-post-consultation .hd-post-contact-field--tooth { --hd-pc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087a63' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4C9 1 4 2 4 7c0 3 2 5 2 9 0 8 4 7 4 1 0-4 4-4 4 0 0 6 4 7 4-1 0-4 2-6 2-9 0-5-5-6-8-3Z'/%3E%3C/svg%3E"); }
.hd-post-consultation .hd-post-contact-field .ff-el-input--label { grid-column: 2; min-width: 0; margin: 0; padding: 0; }
.hd-post-consultation .hd-post-contact-field .ff-el-input--label label { display: inline-block; margin: 0; color: var(--hd-pc-muted); font-size: 14px; font-weight: 400; line-height: 1.4; }
.hd-post-consultation .ff-el-is-required label::after { color: #b3261e; }
.hd-post-consultation .hd-post-contact-field .ff-el-input--content { grid-column: 3; justify-self: stretch; width: auto; min-width: 0; margin: 0; padding: 0; }
/* The plugin's top-label margin:auto otherwise shrinks this grid cell to its text. */
.hd-post-consultation .fluentform .hd-post-contact-field.ff-el-group .ff-el-input--content { margin-left: 0; }
.hd-post-consultation .hd-post-contact-field .ff-el-form-control { display: block; width: 100%; min-width: 0; height: 40px; min-height: 40px; margin: 0; padding: 6px 0; border: 0; border-radius: 0; background-color: transparent; box-shadow: none; color: #213e37; font-size: 16px; font-weight: 500; line-height: 1.4; text-align: left; }
.hd-post-consultation .ff-el-form-control::placeholder { color: #5b6c65; font-weight: 400; opacity: 1; }
.hd-post-consultation .hd-post-contact-field select.ff-el-form-control { padding-right: 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2307544d' stroke-width='1.7'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 16px; text-overflow: ellipsis; }
.hd-post-consultation .hd-post-contact-field:focus-within { border-color: var(--hd-pc-green); box-shadow: 0 0 0 3px #087a6326; }
.hd-post-consultation .hd-post-contact-field .ff-el-form-control:focus { outline: none; box-shadow: none; background-color: transparent; }
.hd-post-consultation .hd-post-contact-field:has(:disabled) { background-color: #f4f8f5; }
.hd-post-consultation .ff-el-form-control:disabled { color: #63776f; opacity: 1; cursor: wait; }
.hd-post-consultation .hd-post-contact-field.ff-el-is-error, .hd-post-consultation .hd-post-contact-field:has([aria-invalid="true"]) { border-color: #b3261e; background-color: #fffafa; }
.hd-post-consultation .error.text-danger, .hd-post-consultation .ff-el-error-message { margin: 5px 0 0; color: #a52620; font-size: 12px; line-height: 1.4; }
.hd-post-consultation .ff_submit_btn_wrapper { margin: 20px 0 0; }
.hd-post-consultation .fluentform .ff-btn-submit.ff_btn_style { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 60px; margin: 0; padding: 14px 40px; border: 1px solid #f99a0a !important; border-radius: 17px; background: linear-gradient(110deg, #ffae11, #ff8c08) !important; box-shadow: inset 0 1px 2px #fff9, 0 8px 18px #d9850a16; color: #143c34 !important; font-size: 20px; font-weight: 700 !important; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.hd-post-consultation .ff-btn-submit::before { width: 26px; height: 26px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M7 3v5m10-5v5M3 11h18m-13 5 2 2 5-5'/%3E%3C/svg%3E") center / contain no-repeat; content: ''; }
.hd-post-consultation .ff-btn-submit:not(.ff-working)::after { position: absolute; top: 50%; right: 22px; font-size: 28px; line-height: 1; content: '›'; transform: translateY(-50%); }
.hd-post-consultation .fluentform .ff-btn-submit.ff_btn_style:hover, .hd-post-consultation .fluentform .ff-btn-submit.ff_btn_style:focus { background: linear-gradient(110deg, #ffbc38, #ffa020) !important; color: #143c34 !important; border-color: #e28d05 !important; opacity: 1; }
.hd-post-consultation .ff-btn-submit:focus-visible { outline: 3px solid var(--hd-pc-ink); outline-offset: 4px; }
.hd-post-consultation .ff-btn-submit:disabled { cursor: wait; opacity: .75; }
.hd-post-consultation .hd-post-consultation__privacy { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 16px 0 0; color: var(--hd-pc-muted); font-size: 13px; line-height: 1.5; text-align: center; }
.hd-post-consultation .hd-post-consultation__privacy svg { flex: 0 0 16px; width: 16px; height: 16px; }
.hd-post-consultation .ff-message-success { margin: 16px 0; padding: 18px; border: 1px solid #9fcbb8; border-radius: 14px; background: #edf8f1; color: #07544d; font-size: 16px; line-height: 1.6; box-shadow: none; }
.hd-post-consultation .ff-message-success p, .hd-post-consultation .ff-errors-in-stack { color: inherit; }
.hd-post-consultation .hd-post-contact-address-status { margin: -4px 0 12px; color: var(--hd-pc-muted); font-size: 13px; line-height: 1.5; }
.hd-post-consultation .hd-post-contact-address-status[hidden] { display: none; }
/* Announce loading without adding a row below the address control. */
.hd-post-consultation .hd-post-contact-address-status--loading { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hd-post-consultation .hd-post-contact-address-retry { min-height: 32px; margin: 0 0 0 6px; padding: 0 4px; border: 0; border-radius: 4px; background: transparent; color: var(--hd-pc-ink); font: inherit; line-height: 1.5; letter-spacing: 0; text-transform: none; text-decoration: underline; }
.hd-post-consultation a { color: var(--hd-pc-ink); text-decoration: underline; }
/* Let the form determine the shared desktop height; the portrait fills its column. */
@media (min-width: 1024px) {
    .hd-post-consultation .hd-post-consultation__intro { aspect-ratio: auto; }
    .hd-post-consultation .hd-post-consultation__image { max-height: none; object-position: center; }
}
@media (max-width: 1199px) and (min-width: 1024px) {
    .hd-post-consultation .hd-post-consultation__inner { gap: 24px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
    .hd-post-consultation .hd-post-consultation__card { padding: 24px; }
    .hd-post-consultation .hd-post-contact-field { grid-template-columns: 32px 112px minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 1023px) {
    .single-post .contact_form.hd-post-consultation { padding: 40px 24px; }
    .hd-post-consultation .hd-post-consultation__inner { display: block; max-width: 720px; }
    .hd-post-consultation .hd-post-consultation__card { width: 100%; max-width: none; margin: 20px auto 0; }
}
@media (max-width: 767px) {
    .single-post .contact_form.hd-post-consultation { padding: 24px 0 32px; }
    .hd-post-consultation .hd-post-consultation__intro { border-radius: 16px; }
    .hd-post-consultation .hd-post-consultation__card { width: calc(100% - 24px); padding: 24px 16px; border-radius: 20px; }
    .hd-post-consultation .hd-post-consultation__heading { gap: 12px; margin-bottom: 20px; }
    .hd-post-consultation .hd-post-consultation__calendar { flex-basis: 44px; width: 44px; height: 44px; }
    .hd-post-consultation .hd-post-consultation__calendar svg { width: 27px; height: 27px; }
    .hd-post-consultation .hd-post-consultation__heading h3 { font-size: 20px; }
    .hd-post-consultation .hd-post-consultation__heading p { font-size: 14px; }
    .hd-post-consultation .hd-post-contact-field { grid-template-columns: 32px minmax(0, 1fr); align-items: start; gap: 2px 12px; min-height: 78px; padding: 11px 12px; border-radius: 12px; }
    .hd-post-consultation .hd-post-contact-field::before { grid-row: 1 / 3; align-self: center; width: 32px; height: 32px; background-size: 21px; }
    .hd-post-consultation .hd-post-contact-field .ff-el-input--label { grid-column: 2; grid-row: 1; }
    .hd-post-consultation .hd-post-contact-field .ff-el-input--content { grid-column: 2; grid-row: 2; }
    .hd-post-consultation .hd-post-contact-field .ff-el-input--label label { font-size: 13px; font-weight: 500; }
    .hd-post-consultation .hd-post-contact-field .ff-el-form-control { height: 34px; min-height: 34px; padding-block: 3px; }
    .hd-post-consultation .fluentform .ff-btn-submit.ff_btn_style { min-height: 56px; padding-inline: 32px; font-size: 18px; }
    .hd-post-consultation .ff-btn-submit:not(.ff-working)::after { right: 15px; }
    .hd-post-consultation .hd-post-consultation__privacy { font-size: 12px; }
}
@media (max-width: 389px) {
    .hd-post-consultation .hd-post-contact-field { grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; padding-inline: 10px; }
    .hd-post-consultation .hd-post-contact-field::before { grid-row: 1 / 3; align-self: center; }
    .hd-post-consultation .hd-post-contact-field .ff-el-input--label, .hd-post-consultation .hd-post-contact-field .ff-el-input--content { grid-column: 2; }
}
@media (max-width: 420px) {
    .hd-post-consultation .hd-post-consultation__intro { aspect-ratio: auto; }
}
/* Small panels keep readable benefit copy while retaining the three reference cards. */
@container (max-width: 420px) {
    .hd-post-consultation .hd-post-consultation__eyebrow { font-size: 9px; }
    .hd-post-consultation .hd-post-consultation__eyebrow span { font-size: 8px; letter-spacing: 0; }
    .hd-post-consultation #hd-post-consultation-title { font-size: max(23px, 6.9cqw); }
    .hd-post-consultation #hd-post-consultation-title span { font-size: max(21px, 6.45cqw); }
    .hd-post-consultation .hd-post-consultation__description { font-size: max(11px, 3.15cqw); }
    .hd-post-consultation .hd-post-consultation__benefits { margin-top: 5cqw; }
    .hd-post-consultation .hd-post-consultation__benefits li { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 8px; padding: 10px 6px; border-radius: 12px; background: #fff; }
    .hd-post-consultation .hd-post-consultation__benefit-icon { width: 32px; height: 32px; }
    .hd-post-consultation .hd-post-consultation__benefits svg { width: 20px; height: 20px; }
    .hd-post-consultation .hd-post-consultation__benefits strong { font-size: 12px; }
    .hd-post-consultation .hd-post-consultation__benefits p { margin-top: 5px; font-size: 11px; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
    .hd-post-consultation .hd-post-contact-field { transition: none; }
}
/* Reserve room for the existing fixed contact rail at tablet/laptop widths. */
@media (min-width: 768px) and (max-width: 1439px) and (min-height: 541px) {
    .single-post .contact_form.hd-post-consultation { padding-right: 128px; }
}
