/* Elementor 3.x shape divider z-index regression fix
   Elementor 3.4+ sets z-index:-1 on shape divider SVGs, pushing them behind
   the section stacking context and making them invisible.
   Source: Elementor shapes.min.css change in v3.4, affects all migrated sites.
*/
/* Section following a Swiper/slides widget needs z-index to overlay slider's stacking context */
body.elementor-page .elementor-section:has(.elementor-widget-slides) + .elementor-section {
    position: relative;
    z-index: 2;
}
body.elementor-page .elementor-section:has(.elementor-shape-bottom) + .elementor-section::before {
    z-index: 2 !important;
}
body.elementor-page .elementor-shape-bottom,
body.elementor-page .elementor-shape-top {
    z-index: 1 !important;
}
body.elementor-page .elementor-shape-bottom svg,
body.elementor-page .elementor-shape-top svg {
    z-index: 1 !important;
}

/* ICS Calendar plugin layout fix
   Fixes display issues on homepage calendar widget.
   Source: Client feedback 23 Feb 2026, item #6
*/
.ics-calendar {
    margin: 0;
}
.ics-calendar dt,
.ics-calendar dd {
    background-color: rgb(255 255 255 / 0%) !important;
    padding: 0.1em 0.5em !important;
}
.ics-calendar .events {
    font-size: 13px;
}
.ics-calendar dl {
    border: 1px solid #ccc;
    padding: 0.6em;
    border-radius: 0.5em;
}
