/* Heartland CASA — behaviours Duda's runtime JS added at load time.
   All visual styling still comes from the platform stylesheets; this file only
   restores interaction states the runtime script used to toggle, and replaces
   the third-party map with a static image. */

/* cookie notice: Duda's own #d-notification-bar rules apply; keep the close target usable */
#d-notification-bar .notification-dismiss{font-size:18px;line-height:1;padding:4px 8px}
#d-notification-bar .notification-dismiss:focus-visible{outline:2px solid #fff;outline-offset:-2px}
#dm-outer-wrapper.push-flex-site-content-down{padding-top:var(--notification-bar-height,0px)}
#flex-header[data-sticky="true"]{top:var(--notification-bar-height,0px)}

/* hamburger drawer: runtime CSS animates transform on body.layout-drawer_open; nothing extra needed */

/* testimonial slider: the widget's own styled-components CSS shows the active slot */

/* FAQ accordion */
.hc-acc-desc{display:none}
.hc-acc-open .hc-acc-desc{display:block}
[data-grab="accordion-item-title"]{cursor:pointer}
[data-grab="accordion-item-title"]:focus-visible{outline:2px solid #1e3a5f;outline-offset:2px}

/* static map replacing the Mapbox widget */
.inlineMap .hc-map{display:block;width:100%;height:100%;min-height:340px}
.inlineMap .hc-map picture{display:block;width:100%;height:100%}
.inlineMap .hc-map img{display:block;width:100%;height:100%;object-fit:cover}
@media (max-width:767px){.inlineMap .hc-map{height:340px;min-height:0}}

/* contact form messages */
form[data-hc-form] .dmformsuccess,form[data-hc-form] .dmformerror{display:none}
form[data-hc-form].hc-sent .dmformsuccess{display:block}
