/* Shared component behaviour; typography itself is stored in editable Atomic classes. */
html{scrollbar-gutter:stable;scroll-padding-top:7rem}
:is(h1,h2,h3,h4) strong{font-weight:inherit}
.mm-type-body a,.mm-type-review a,.mm-article a{color:#c7ac7b;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em}
.mm-type-body a:hover,.mm-article a:hover{color:#fff}
.mm-type-body strong{font-weight:600}
.mm-type-body:is(ul,ol),.mm-article :is(ul,ol){padding-inline-start:1.4em}
.mm-article li+li{margin-top:.6em}
.elementor .mm-article .mm-type-body{max-width:100%}
.mm-article :is(h2,h3){scroll-margin-top:8rem}

/* Exclude the navigation disclosure from FAQ question/answer treatment. */
.e-atomic-element[data-element_type="e-accordion-item"]:not([id^="mm-menu-"])>summary{align-items:center;gap:1rem;padding:1.25rem}
.e-atomic-element[data-element_type="e-accordion-item"]:not([id^="mm-menu-"])>summary::after{content:"";display:block;flex:0 0 9px;width:9px;height:9px;margin-inline:10px 4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);font-size:0;line-height:0;transition:transform .18s ease}
.e-atomic-element[data-element_type="e-accordion-item"]:not([id^="mm-menu-"])[open]>summary::after{content:"";transform:translateY(2px) rotate(225deg)}
.e-atomic-element[data-element_type="e-accordion-item"]:not([id^="mm-menu-"])>[data-element_type="e-accordion-item-content"]{padding:1.5rem 1.25rem 2rem}
[id^="mm-menu-"][open]>summary::after{transform:translateY(2px) rotate(225deg)}

/* Set final popup geometry before its document CSS or entrance animation arrives. */
.elementor-popup-modal .dialog-close-button{color:#f0f0f0;width:44px;height:44px;top:8px;right:8px;align-items:center;justify-content:center}
.elementor-popup-modal .dialog-close-button svg{display:none}
.elementor-popup-modal .dialog-close-button::before,.elementor-popup-modal .dialog-close-button::after{content:"";position:absolute;width:20px;height:2px;background:currentColor;transform:rotate(45deg)}
.elementor-popup-modal .dialog-close-button::after{transform:rotate(-45deg)}
.elementor-popup-modal .dialog-close-button:focus-visible{outline:2px solid #c7ac7b;outline-offset:2px}
:is(#elementor-popup-modal-592,#elementor-popup-modal-1050).elementor-popup-modal{overflow:hidden;justify-content:flex-end;align-items:stretch}
:is(#elementor-popup-modal-592,#elementor-popup-modal-1050).elementor-popup-modal .dialog-close-button{color:#f0f0f0}
:is(#elementor-popup-modal-592,#elementor-popup-modal-1050).elementor-popup-modal .dialog-widget-content{width:min(25rem,100%);max-width:100%;height:100dvh;max-height:100dvh;margin:0;background:#222;animation-duration:.25s;animation-timing-function:cubic-bezier(.22,.61,.36,1);animation-fill-mode:both}
:is(#elementor-popup-modal-592,#elementor-popup-modal-1050).elementor-popup-modal .dialog-message{width:100%;max-width:100%;height:100%;max-height:100%;overflow-x:hidden;overscroll-behavior:contain}
:is(#elementor-popup-modal-592,#elementor-popup-modal-1050) .dialog-widget-content.slideInRight{animation-name:mm-menu-enter}
:is(#elementor-popup-modal-592,#elementor-popup-modal-1050) .dialog-widget-content.slideOutRight{animation-name:mm-menu-leave}
@keyframes mm-menu-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}
@keyframes mm-menu-leave{from{transform:translateX(0)}to{transform:translateX(100%)}}

@media(max-width:767px){
 .e-atomic-element[data-element_type="e-accordion-item"]:not([id^="mm-menu-"])>summary{padding:1.1rem .75rem}
 .e-atomic-element[data-element_type="e-accordion-item"]:not([id^="mm-menu-"])>[data-element_type="e-accordion-item-content"]{padding:1.4rem .75rem 1.8rem}
 footer.elementor-location-footer{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}
 :is(#elementor-popup-modal-592,#elementor-popup-modal-1050) .elementor-location-popup{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))}
 .wa__btn_popup .wa__btn_popup_txt{display:none!important}
 .mm-type-tab{white-space:normal}
 .mm-type-body{max-width:100%}
}
@media(prefers-reduced-motion:reduce){
 .elementor-popup-modal .dialog-widget-content{animation:none!important}
 .e-atomic-element[data-element_type="e-accordion-item"]>summary::after{transition:none}
}

/* Funeral home content and the two location sections. */
:is(#powiazane-informacje,.page-id-1688) .e-paragraph-base a {
  color: #c7ac7b;
  text-underline-offset: .18em;
}

.elementor #powiazane-informacje {
  flex-direction: column !important;
  align-items: stretch !important;
}

.elementor-location-footer nav.e-flexbox-base {
  flex-direction: column;
  align-items: flex-start;
}

.elementor-location-header .e-flexbox-base:has(> nav) {
  min-width: 0;
}

.elementor [data-id="58e4948"] {
  isolation: isolate;
}

.elementor [data-id="58e4948"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1 !important;
  background: rgba(0, 0, 0, .5) !important;
  opacity: 1 !important;
  pointer-events: none;
}

.elementor [data-id="58e4948"] > :is([data-id="4a412e0"],.e-image-base) {
  z-index: 2 !important;
}

.elementor [data-id="58e4948"] > [data-id="600c0e9f"] video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Match the site header's content rail while keeping hero photography full bleed. */
.elementor :is([data-id="feaabd0"],[data-id="3bacecf"]) {
  justify-content: center !important;
}

.elementor :is([data-id="1268e24"],[data-id="9bd8a46"]) {
  box-sizing: border-box;
  width: min(1140px, calc(100% - 60px)) !important;
  max-width: 1140px !important;
  flex: 0 1 auto;
  margin-inline: auto !important;
  padding-inline: 0 !important;
  min-width: 0;
}

.elementor :is([data-id="feaabd0"],[data-id="3bacecf"]) > :is([data-id="db66843"],[data-id="c8f61a7"]) {
  display: none !important;
}

.elementor :is([data-id="b712100"],[data-id="6c19d39"]) > .e-flexbox-base {
  position: relative;
  z-index: 3;
}

.elementor :is([data-id="2124b4f"],[data-id="65e13c4"]) {
  position: relative;
  z-index: 4;
  margin-top: calc(-1 * clamp(64px, 9vw, 112px));
  padding: 24px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.85) 45%, #000);
}

.elementor [data-id="9b098a8"] {
  width: 100% !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 20px !important;
}

.elementor [data-id="9b098a8"] > [data-id="f05a32c"] {
  width: 100% !important;
}

.elementor [data-id="9b098a8"] > [data-id="b165fec"] {
  align-self: center !important;
  width: fit-content !important;
  margin-inline: auto !important;
  max-width: 100%;
}

.elementor [data-id="2b85827c"] {
  justify-content: flex-start !important;
  gap: 12px !important;
}

.elementor [data-id="2b85827c"] > :is([data-id="327bd3c7"],[data-id="24f3d36"],[data-id="ea309ee"]) {
  margin-block: 0 !important;
  padding-block: 0 !important;
}

.elementor [data-id="24f3d36"] {
  width: 56px;
  height: 1px;
  min-height: 1px;
}

.elementor [data-id="6cea4a63"] {
  width: 158px !important;
  max-width: 100% !important;
}

.elementor [data-id="6cea4a63"] img {
  width: 100% !important;
  height: auto;
}

@media (max-width: 1024px) {
  .elementor [data-id="2b85827c"] {
    display: none !important;
  }
}

.elementor [data-id="ea309ee"] {
  gap: 0;
}

.elementor :is([data-id="d920873"],[data-id="5e3a0f9"],[data-id="ce92568"],[data-id="f5f6279"],[data-id="7701179"],[data-id="230b555"],[data-id="6a5d95b"],[data-id="dc4a5bb"],[data-id="9e5a552"],[data-id="2ed618f"],[data-id="da6d225"],[data-id="2f5d1f6"],[data-id="39f9a13"],[data-id="93e53f6"],[data-id="b7cdc23"],[data-id="b1ce18f"],[data-id="5ffb849"],[data-id="09ad1f0"],[data-id="6cb92ff"]) {
  gap: 6px;
}

.elementor :is([data-id="d920873"],[data-id="5e3a0f9"],[data-id="ce92568"],[data-id="f5f6279"],[data-id="7701179"],[data-id="230b555"],[data-id="6a5d95b"],[data-id="dc4a5bb"],[data-id="9e5a552"],[data-id="2ed618f"],[data-id="da6d225"],[data-id="2f5d1f6"],[data-id="39f9a13"],[data-id="93e53f6"],[data-id="b7cdc23"],[data-id="b1ce18f"],[data-id="5ffb849"],[data-id="09ad1f0"],[data-id="6cb92ff"]) > .e-paragraph-base {
  position: relative;
  padding-inline-start: 1.2em;
  margin: 0;
}

.elementor :is([data-id="d920873"],[data-id="5e3a0f9"],[data-id="ce92568"],[data-id="f5f6279"],[data-id="7701179"],[data-id="230b555"],[data-id="6a5d95b"],[data-id="dc4a5bb"],[data-id="9e5a552"],[data-id="2ed618f"],[data-id="da6d225"],[data-id="2f5d1f6"],[data-id="39f9a13"],[data-id="93e53f6"],[data-id="b7cdc23"],[data-id="b1ce18f"],[data-id="5ffb849"],[data-id="09ad1f0"],[data-id="6cb92ff"]) > .e-paragraph-base::before {
  content: "";
  position: absolute;
  inset-inline-start: .12em;
  top: .48em;
  width: .34em;
  height: .34em;
  border: solid #b59a6a;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(-45deg);
}

.elementor [data-id="3d86da1"] :is(details,summary,.e-accordion-item-title-base,.e-accordion-item-content-base,.e-paragraph-base) {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.elementor [data-id="3d86da1"] {
  flex-direction: column !important;
  align-items: stretch !important;
}

.elementor :is([data-id="c1e8f65"],[data-id="58dc3bb"],[data-id="857f265"],[data-id="f49e992"],[data-id="611a5bd"],[data-id="cde757c"],[data-id="5d27d92"],[data-id="bbb08fa"],[data-id="f292584"]) {
  display: none !important;
}

@media (max-width: 767px) {
  :is(.page-id-72,.page-id-937,.page-id-1368,.page-id-1391,.page-id-1393,.page-id-1395,.page-id-1397,.page-id-1398,.page-id-1404,.page-id-1688) h1.e-heading-base {
    max-width: 100%;
    font-size: clamp(2rem, 9.25vw, 2.25rem);
    line-height: 1.12;
    text-wrap: balance;
  }

  :is([data-id="1268e24"],[data-id="9bd8a46"]) {
    align-items: center;
    text-align: center;
  }

  .elementor :is([data-id="1268e24"],[data-id="9bd8a46"]) {
    width: calc(100% - 40px) !important;
    padding-top: 114px !important;
  }

  :is([data-id="1268e24"],[data-id="9bd8a46"]) .e-button-base {
    align-self: center;
  }

  .elementor :is([data-id="6a3b99a"],[data-id="fa4dce4"],[data-id="48843a1"],[data-id="f6e62ab"],[data-id="027cf6f"],[data-id="75df9d8"],[data-id="1078947"],[data-id="9e9f745"],[data-id="dfe29ae"]) {
    background-image: none !important;
    background-color: #0c0c0c;
    min-height: 0;
    padding: 34px 20px 38px !important;
  }

  .elementor :is([data-id="6a3b99a"],[data-id="fa4dce4"],[data-id="48843a1"],[data-id="f6e62ab"],[data-id="027cf6f"],[data-id="75df9d8"],[data-id="1078947"],[data-id="9e9f745"],[data-id="dfe29ae"])::before,
  .elementor :is([data-id="6a3b99a"],[data-id="fa4dce4"],[data-id="48843a1"],[data-id="f6e62ab"],[data-id="027cf6f"],[data-id="75df9d8"],[data-id="1078947"],[data-id="9e9f745"],[data-id="dfe29ae"]) > .e-image-base {
    display: none;
  }

  .elementor :is([data-id="b9706c3"],[data-id="86756be"],[data-id="85b2f73"],[data-id="34eec6d"],[data-id="04b329a"],[data-id="c83a804"],[data-id="e9f2ab4"],[data-id="8f622f1"],[data-id="968da44"]) {
    width: 100%;
    gap: 18px !important;
    min-width: 0;
    text-align: start;
  }


  .elementor :is(.page-id-1393 .e-paragraph-base,.page-id-1397 .e-paragraph-base,.page-id-1688 .e-paragraph-base) {
    overflow-wrap: anywhere;
  }

  .elementor [data-id="a5501ed"] > :is(.e-heading-base,.e-paragraph-base),
  .elementor [data-id="61e06c0"] > :is(.e-heading-base,.e-paragraph-base),
  .page-id-1688 .elementor[data-elementor-id="1688"] :is(.e-heading-base,.e-paragraph-base) {
    box-sizing: border-box;
    inline-size: auto !important;
    min-inline-size: 0 !important;
    max-inline-size: 100% !important;
    overflow-wrap: anywhere;
  }
}
