/* Existing desktop placement is retained. Stack category sections below 1025px. */
@media (max-width: 1024px) {
    body.home .elementor .rm-auto-category {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        gap: 24px !important;
        align-items: start !important;
    }
    body.home .elementor .rm-auto-category > .rm-auto-category-visual,
    body.home .elementor .rm-auto-category > .rm-auto-category-cards {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-block: 0 !important;
        transform: none !important;
        flex: none !important;
    }
    body.home .elementor .rm-auto-category > .rm-auto-category-visual { order: 0 !important; }
    body.home .elementor .rm-auto-category > .rm-auto-category-cards { order: 1 !important; }
    body.home .elementor .rm-auto-category .e-con {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        flex-shrink: 0 !important;
    }
    body.home .elementor .rm-auto-category .rm-auto-category-image {
        display: grid !important;
        width: min(100%, 320px) !important;
        max-width: 320px !important;
        height: auto !important;
        block-size: auto !important;
        min-height: var(--rm-illustration-height, 0px) !important;
        min-block-size: var(--rm-illustration-height, 0px) !important;
        max-height: none !important;
        max-block-size: none !important;
        aspect-ratio: var(--rm-illustration-ratio, auto) !important;
        margin: 0 auto !important;
        flex: none !important;
    }
    body.home .elementor .rm-auto-category .rm-auto-category-image img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain;
        margin: 0 !important;
    }
}
