/* Client media refresh: six homepage categories, two per row, without category icons.
   DESIGN_VARIANCE 3 / MOTION_INTENSITY 1 / VISUAL_DENSITY 4; retain the established SPA palette. */
body.spa-phase2.home .spa-hero,
body.spa-phase2.home .spa-hero > .elementor-container { min-height:560px; }
/* Move the photograph down on wide screens so the face stays below the top crop. */
body.spa-phase2.home .elementor-2170 .spa-hero { background-position:center 18%; }
body.spa-phase2.home .spa-categories > .elementor-container {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
}
body.spa-phase2.home .spa-categories > .elementor-container > .spa-category-cover { display:flex; }
body.spa-phase2.home .spa-categories > .elementor-container > .elementor-column { order:initial; }
body.spa-phase2.home .spa-category .elementor-image-box-wrapper { height:280px; border-radius:6px; }
body.spa-phase2.home .spa-category .elementor-image-box-content { padding:28px; }
body.spa-phase2.home .spa-category .elementor-image-box-title {
    font-size:23px!important;
    line-height:1.35!important;
    text-shadow:0 1px 3px rgba(0,0,0,.3);
}
body.spa-phase2 .spa-category .elementor-image-box-wrapper::after {
    background:linear-gradient(0deg,rgba(0,35,46,.84) 0%,rgba(0,35,46,.45) 38%,rgba(0,35,46,.06) 100%);
}
body.spa-phase2 .spa-category .elementor-image-box-title::before,
body.spa-phase2 .spa-category .elementor-image-box-title::after,
body.spa-phase2.page-id-14984 .xwp_figure .elementor-image-box-img::before {
    content:none!important;
    display:none!important;
}
body.spa-phase2.page-id-14984 .xwp_figure .elementor-image-box-img img {
    aspect-ratio:3/2;
    object-fit:cover;
    object-position:center;
}
@media(max-width:1023px) {
    body.spa-phase2.home .spa-hero,
    body.spa-phase2.home .spa-hero > .elementor-container { min-height:460px; }
    body.spa-phase2.home .spa-categories > .elementor-container { gap:18px; }
    body.spa-phase2.home .spa-category .elementor-image-box-wrapper { height:230px; }
    body.spa-phase2.home .spa-category .elementor-image-box-content { padding:22px; }
    body.spa-phase2.home .spa-category .elementor-image-box-title { font-size:19px!important; }
}
@media(max-width:650px) {
    body.spa-phase2.home .spa-hero,
    body.spa-phase2.home .spa-hero > .elementor-container { min-height:420px; }
    body.spa-phase2.home .spa-hero { background-position:58% center; }
    body.spa-phase2.home .spa-categories > .elementor-container { gap:12px; }
    body.spa-phase2.home .spa-category .elementor-image-box-wrapper { height:180px; }
    body.spa-phase2.home .spa-category .elementor-image-box-content { padding:14px; }
    body.spa-phase2.home .spa-category .elementor-image-box-title { font-size:13px!important; }
}
