/* Scoped widget styles. Field and button declarations use the supplied WPResidence main.css theme variables and values. */
.sdhe-layout{--sdhe-accent:var(--wp-estate-main-color-option,var(--wp-estate-main-color,#0073e1));--sdhe-text:var(--wp-estate-font-color-option,var(--wp-estate-font-color,#64748b));--sdhe-radius:var(--wp-estate-border-radius-corner-option,var(--wp_estate_border_radius_corner,6px));display:grid;grid-template-columns:minmax(0,var(--sdhe-left,46%)) minmax(0,1fr);gap:24px;align-items:start;width:100%;color:var(--sdhe-text)}
.sdhe-layout *{box-sizing:border-box}
.sdhe-layout .sdhe-card{background:var(--sdhe-card-bg,#fff);border:1px solid #f0f0f0;border-radius:var(--sdhe-radius);padding:30px;min-width:0}
.sdhe-layout .sdhe-info h2{font-size:clamp(23px,2.5vw,30px);font-weight:600;line-height:1.25;margin:0 0 12px;color:var(--wp-estate-heading-color-option,#222)}
.sdhe-layout .sdhe-intro{line-height:1.65;margin:0 0 26px}
.sdhe-layout .sdhe-details{display:grid;gap:22px}
.sdhe-layout .sdhe-detail{display:flex;align-items:flex-start;gap:15px;min-width:0}
.sdhe-layout .sdhe-detail>div{min-width:0;overflow-wrap:anywhere}
.sdhe-layout .sdhe-icon{display:grid;place-items:center;flex:0 0 46px;height:46px;border:1px solid #e7e7e7;border-radius:var(--sdhe-radius);color:var(--sdhe-accent);background:#fff}
.sdhe-layout .sdhe-detail h3{font-size:15px;font-weight:600;line-height:1.35;margin:0 0 4px;color:var(--wp-estate-heading-color-option,#222)}
.sdhe-layout .sdhe-detail a,.sdhe-layout .sdhe-detail address{color:var(--sdhe-text);font-style:normal;line-height:1.6;margin:0;text-decoration:none}
.sdhe-layout .sdhe-detail a:hover,.sdhe-layout .sdhe-detail .sdhe-directions{color:var(--sdhe-accent)}
.sdhe-layout .sdhe-detail .sdhe-directions{display:inline-block;margin-top:6px;font-size:13px;font-weight:500}
/* Native footer form: flex direction and 10px gap copied from #footer-contact-form. */
.sdhe-layout .sdhe-form{display:flex;flex-direction:column;gap:10px;margin:0}
.sdhe-layout .sdhe-form h4{margin:0;font-size:18px;font-weight:600;line-height:1.4;color:var(--wp-estate-heading-color-option,#222)}
.sdhe-layout .sdhe-form>p{font-size:13px;margin:0 0 10px;line-height:1.5}
.sdhe-layout .sdhe-form .form-control{background-color:#fff;background-image:none;border:1px solid #e7e7e7;border-radius:var(--sdhe-radius);box-shadow:none;color:var(--sdhe-text);display:block;font-size:13px;line-height:1.4;padding:10px 15px;transition:all .1s ease;width:100%;margin:0;min-height:0;float:none;font-family:inherit}
.sdhe-layout .sdhe-form .form-control::placeholder{color:var(--sdhe-text);opacity:1}
.sdhe-layout .sdhe-form .form-control:focus{background-color:var(--wp_estate_adv_search_background_color-option,var(--wp_estate_adv_search_background_color,#fff));border:1px solid #e7e7e7;box-shadow:none;color:var(--wp-estate-adv-search-font-color-option,var(--wp_estate_adv_search_font_color,#222));outline:2px solid var(--sdhe-accent);outline-offset:1px}
.sdhe-layout .sdhe-form textarea.form-control{resize:vertical;min-height:90px}
.sdhe-layout .sdhe-form .wpresidence_button{background-color:var(--sdhe-accent);background-image:linear-gradient(to right,transparent 50%,var(--sdhe-accent) 50%);background-position:100% 100%;background-size:200% 100%;border:1px solid var(--sdhe-accent);color:#fff;display:inline-block;font-size:14px;font-weight:500;line-height:28px;margin:0;padding:5px 34px;text-decoration:none;text-shadow:none;text-transform:capitalize;text-align:center;width:100%;border-radius:var(--sdhe-radius);font-family:inherit;transition:all .4s ease;cursor:pointer}
.sdhe-layout .sdhe-form .wpresidence_button:hover{background-color:transparent;background-position:0 100%;color:var(--sdhe-accent)}
.sdhe-layout .sdhe-form button:disabled{opacity:.65;cursor:wait}
.sdhe-layout .sdhe-consent{display:flex;align-items:flex-start;gap:6px;font-size:12px;line-height:1.5;margin:4px 0;cursor:pointer}
.sdhe-layout .sdhe-consent input{flex:0 0 15px;margin:2px 0 0;accent-color:var(--sdhe-accent)}
.sdhe-layout .sdhe-consent a{color:var(--sdhe-accent);text-decoration:underline}
.sdhe-layout .sdhe-trap{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;pointer-events:none}
.sdhe-layout .sdhe-status{padding:10px 12px;border-radius:var(--sdhe-radius);font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.sdhe-layout .sdhe-status[hidden]{display:none!important}
.sdhe-layout .sdhe-status.sdhe-success{background:#eef8f1;color:#196139}
.sdhe-layout .sdhe-status.sdhe-error{background:#f7f7f7;color:#444}
@media(max-width:767px){.sdhe-layout{grid-template-columns:minmax(0,1fr);gap:16px}.sdhe-layout .sdhe-card{padding:22px}.sdhe-layout .sdhe-detail{gap:12px}}
@media(prefers-reduced-motion:reduce){.sdhe-layout *{transition:none!important}}
