/* All styles are scoped to this widget and the containing opted-in popup. */
.esfm {
  --esfm-text: #292921;
  --esfm-active: #704f32;
  --esfm-focus: #722f06;
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--esfm-text);
  font-family: inherit;
  line-height: 1.5;
  text-align: start;
  background: #fff9ef;
}
.esfm, .esfm * { box-sizing: border-box; }
.esfm .esfm-panel {
  flex: 0 0 auto;
  width: 26%;
  min-width: min(280px, 100%);
  max-width: 100%;
  padding: 28px 28px 32px;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  background-color: #fff9ef;
  background-size: cover;
  position: relative;
}
.esfm .esfm-close, .esfm .esfm-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  padding: 0;
  cursor: pointer;
  min-width: 48px;
  min-height: 48px;
  line-height: 1;
}
.esfm .esfm-close {
  position: sticky;
  top: 0;
  z-index: 9999;
  isolation: isolate;
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.esfm .esfm-close span,
.esfm .esfm-close span::before,
.esfm .esfm-close span::after { pointer-events: none; }
.esfm .esfm-close span { position: relative; display: block; width: 28px; height: 28px; }
.esfm .esfm-close span::before, .esfm .esfm-close span::after {
  content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1.5px; background: currentColor; transform: rotate(45deg);
}
.esfm .esfm-close span::after { transform: rotate(-45deg); }
.esfm .esfm-nav { margin-top: 42px; }
.esfm .esfm-list, .esfm .sub-menu { list-style: none; padding: 0; margin: 0; }
.esfm .esfm-list li { list-style: none; position: relative; padding: 0; margin: 0; }
.esfm .esfm-list > li + li { margin-top: 4px; }
.esfm .esfm-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 7px 0;
  color: var(--esfm-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  text-decoration: none;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
  transition: color .18s ease;
}
.esfm .menu-item-has-children > a { max-width: calc(100% - 48px); }
.esfm .esfm-list a:hover, .esfm .esfm-list a:focus-visible,
.esfm .current-menu-item > a, .esfm .current-menu-ancestor > a, .esfm a[aria-current="page"] {
  color: var(--esfm-active);
  text-decoration: underline;
}
.esfm .esfm-toggle { vertical-align: middle; margin-inline-start: 4px; }
.esfm .esfm-toggle span { width: 7px; height: 7px; border-inline-end: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
.esfm .esfm-toggle[aria-expanded="true"] span { transform: translateY(2px) rotate(225deg); }
.esfm .sub-menu { padding: 3px 0 8px 18px; }
.esfm .sub-menu[hidden] { display: none !important; }
.esfm .sub-menu a { font-size: 15px; }
.esfm .esfm-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 24px;
  padding: 14px 18px;
  background: #704f32;
  color: #fff9ef;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color .18s ease;
}
.esfm .esfm-cta:hover { background: #722f06; color: #fff9ef; }
.esfm :is(a, button):focus-visible { outline: 2px solid var(--esfm-focus); outline-offset: 4px; }
.esfm .esfm-photo { flex: 1 1 0%; min-width: 0; min-height: 260px; position: relative; background: #302820; overflow: hidden; }
.esfm .esfm-photo picture { position: absolute; inset: 0; display: block; }
.esfm .esfm-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; border-radius: 0; }
.esfm .esfm-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.esfm .esfm-setup { font-size: 15px; }
/* JS adds this only to the popup containing this widget, never all site popups. */
.elementor-popup-modal.esfm-popup-shell .dialog-widget-content {
  width: 100vw !important; max-width: 100vw !important; height: 100vh !important; height: 100dvh !important;
  max-height: none !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important;
  box-shadow: none !important; overflow: hidden !important;
}
.elementor-popup-modal.esfm-popup-shell .dialog-message {
  width: 100vw !important; max-width: none !important; height: 100vh !important; height: 100dvh !important;
  max-height: none !important; padding: 0 !important; overflow: auto !important; overscroll-behavior: contain;
}
.elementor-popup-modal.esfm-popup-shell .dialog-close-button { display: none !important; }
.esfm-popup-shell .esfm-ancestor {
  width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important;
  gap: 0 !important; --container-max-width: 100%; --content-width: 100%; --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
}
/* Defaults before Elementor responsive CSS loads; editor controls override these. */
@media (max-width: 1024px) { .esfm .esfm-panel { width: 42%; } }
@media (max-width: 767px) {
  .esfm { flex-direction: column; }
  .esfm .esfm-panel { width: 100%; padding: 16px 24px 32px; }
  .esfm .esfm-nav { margin-top: 24px; }
  .esfm .esfm-photo { display: none; }
}
@media (prefers-reduced-motion: reduce) { .esfm * { transition: none !important; } }
