/* Elementor editing and content wrappers follow the original section geometry. */
.hmh-theme:not(.elementor-editor-active) :is(.elementor, .hmh-elementor-root, .hmh-elementor-structure, .hmh-elementor-structure > .e-con-inner, .elementor-widget-hmh_region, .elementor-widget-hmh_region > .elementor-widget-container) {
 display: contents;
}
.hmh-theme.elementor-editor-active .hmh-elementor-structure {
 --padding-top: 0px;
 --padding-right: 0px;
 --padding-bottom: 0px;
 --padding-left: 0px;
 --container-default-padding-top: 0px;
 --container-default-padding-right: 0px;
 --container-default-padding-bottom: 0px;
 --container-default-padding-left: 0px;
}
.hmh-theme.elementor-editor-active .elementor-widget-hmh_region .top { position: relative; }
.hmh-theme.elementor-editor-active .elementor-widget-hmh_region .site-navigation {
 display: block;
 position: relative;
 height: auto;
}
.hmh-theme .admin-bar, .hmh-theme.admin-bar .top { inset-block-start: var(--wp-admin--admin-bar--height, 32px); }
.hmh-theme .hmh-effects-root { display: contents; }
.hmh-theme [hidden] { display: none !important; }

/* Original image geometry for both the public layout and Elementor canvas. */
.hmh-theme.elementor-editor-active .hmh-native-container {
 --padding-top: 0px;
 --padding-right: 0px;
 --padding-bottom: 0px;
 --padding-left: 0px;
 --min-height: initial;
 --widgets-spacing: 0px;
 --gap: 0px;
}
.hmh-theme.elementor-editor-active .hmh-native-widget .elementor-widget-container { margin: 0; }
.hmh-theme.elementor-editor-active .hmh-native-widget img { display: block; width: 100%; }
.hmh-theme.elementor-editor-active .hmh-native-container.top { position: relative; }
.hmh-theme.elementor-editor-active .hmh-native-container.site-navigation { position: relative; height: auto; display: block; }
.hmh-theme .hazara-heart-button[aria-disabled=true] { cursor: default; }
.hmh-theme .hmh-heart-error { color: #b12950; font-size: .875rem; }

/* Apply native container control variables only where a control was set. */
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-width { width:var(--width); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-min_height { min-height:var(--min-height); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-margin { margin:var(--margin-top,0) var(--margin-right,0) var(--margin-bottom,0) var(--margin-left,0); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-padding { padding:var(--padding-top,0) var(--padding-right,0) var(--padding-bottom,0) var(--padding-left,0); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_direction { display:flex;flex-direction:var(--flex-direction); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_wrap { flex-wrap:var(--flex-wrap); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_justify_content { justify-content:var(--justify-content); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_align_items { align-items:var(--align-items); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_align_content { align-content:var(--align-content); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_gap { gap:var(--row-gap,0) var(--column-gap,0); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-position { position:var(--position,relative); }
@media (max-width:1024px) {
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-width_tablet { width:var(--width); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-min_height_tablet { min-height:var(--min-height); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-margin_tablet { margin:var(--margin-top,0) var(--margin-right,0) var(--margin-bottom,0) var(--margin-left,0); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-padding_tablet { padding:var(--padding-top,0) var(--padding-right,0) var(--padding-bottom,0) var(--padding-left,0); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_direction_tablet { display:flex;flex-direction:var(--flex-direction); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_wrap_tablet { flex-wrap:var(--flex-wrap); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_justify_content_tablet { justify-content:var(--justify-content); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_align_items_tablet { align-items:var(--align-items); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_align_content_tablet { align-content:var(--align-content); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_gap_tablet { gap:var(--row-gap,0) var(--column-gap,0); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-position_tablet { position:var(--position,relative); }
}
@media (max-width:767px) {
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-width_mobile { width:var(--width); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-min_height_mobile { min-height:var(--min-height); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-margin_mobile { margin:var(--margin-top,0) var(--margin-right,0) var(--margin-bottom,0) var(--margin-left,0); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-padding_mobile { padding:var(--padding-top,0) var(--padding-right,0) var(--padding-bottom,0) var(--padding-left,0); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_direction_mobile { display:flex;flex-direction:var(--flex-direction); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_wrap_mobile { flex-wrap:var(--flex-wrap); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_justify_content_mobile { justify-content:var(--justify-content); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_align_items_mobile { align-items:var(--align-items); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_align_content_mobile { align-content:var(--align-content); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-flex_gap_mobile { gap:var(--row-gap,0) var(--column-gap,0); }
.hmh-theme:not(.elementor-editor-active) .hmh-elementor-root .hmh-edit-position_mobile { position:var(--position,relative); }
}

/* Keep the home images inside their frames when WordPress resets image height. */
.hmh-theme:not(.elementor-editor-active) .hero {
 overflow: hidden;
}
.hmh-theme:not(.elementor-editor-active) .hero > .museum-hero-image {
 width: 100%;
 height: 100%;
 object-fit: cover;
}
.hmh-theme:not(.elementor-editor-active) .heritage-photo-frame > img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
}
@media (max-width: 700px) {
 .hmh-theme:not(.elementor-editor-active) .hero > .museum-hero-image {
  height: clamp(365px, 96vw, 590px);
 }
}
