/* Only the homepage services layout, including its separate mobile variant.
   Decorative pseudo-elements leave card content, links and screen readers intact. */
.home .elementor-element-fd3d617 .sc_services_item:is([data-post-id="22483"], [data-post-id="20306"], [data-post-id="22485"]) {
    position: relative;
    overflow: visible;
    min-height: 400px;
}
.home .elementor-element-fd3d617 .sc_services_item:is([data-post-id="22483"], [data-post-id="20306"], [data-post-id="22485"])::after {
    content: "";
    position: absolute;
    z-index: 5;
    top: -65px;
    left: -65px;
    width: 150px;
    height: 100px;
    background: url("christmas-hat.png") center / contain no-repeat;
    transform: rotate(-15deg);
    pointer-events: none;
}
.home .elementor-element-fd3d617 .sc_services_item:is([data-post-id="22483"], [data-post-id="20306"], [data-post-id="22485"]) .sc_services_item_content_inner_bottom {
    overflow: visible;
    transform: none;
}
/* The theme's old pictogram still reserves height even when transparent.
   The corner hat replaces that decorative slot during Christmas. */
.home .elementor-element-fd3d617 .sc_services_item:is([data-post-id="22483"], [data-post-id="20306"], [data-post-id="22485"]) .sc_services_item_content_inner_top {
    display: none;
}
@media (max-width: 1439px) {
    .home .elementor-element-fd3d617 .sc_services_item:is([data-post-id="22483"], [data-post-id="20306"], [data-post-id="22485"])::after {
        width: 110px;
        height: 73.33px;
        top: -48px;
        left: -47px;
    }
}
@media (min-width: 768px) and (max-width: 1279px) {
    .home .elementor-element-fd3d617 .sc_services_columns_wrap {
        row-gap: 64px;
    }
}
@media (max-width: 767px) {
    .home .elementor-element-fd3d617 .elementor-element-9c09da9 {
        overflow: visible;
        padding-inline: 24px;
    }
    .home .elementor-element-fd3d617 .sc_services_item:is([data-post-id="22483"], [data-post-id="20306"], [data-post-id="22485"])::after {
        width: 90px;
        height: 60px;
        top: -39px;
        left: -38px;
    }
    .home .elementor-element-fd3d617 .elementor-widget-trx_sc_services:has(.sc_services_item:is([data-post-id="22483"], [data-post-id="20306"], [data-post-id="22485"])) {
        margin-top: 44px;
    }
}
@media (max-width: 479px) {
    .home .elementor-element-fd3d617 .sc_services_item:is([data-post-id="22483"], [data-post-id="20306"], [data-post-id="22485"]) {
        min-height: 400px;
    }
    .home .elementor-element-fd3d617 .sc_services_item:is([data-post-id="22483"], [data-post-id="20306"], [data-post-id="22485"]) .sc_services_item_content_inner_bottom {
        overflow: visible;
        transform: none;
    }
}
