html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    touch-action: pan-y !important;
    overscroll-behavior-x: none;
    -webkit-user-select: none; /* Prevent text selection */
    user-select: none;
}

* {
    touch-action: inherit !important;
    pointer-events: auto;
    -webkit-user-drag: none; /* Prevent dragging */
    user-drag: none;
}

header, footer, nav, aside, .wp-block-post, .post, article, main, div, section {
    touch-action: inherit !important;
    pointer-events: auto;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
}

/* Ensure content area supports long press */
.wp-block-post-content {
    touch-action: pan-y !important;
    position: relative;
    z-index: 2; /* Above swipe layer */
}

/* Single post swipe layer */
.single_class_swipe {
    touch-action: pan-y !important;
    pointer-events: auto; /* Allow swipes */
}

/* Debug: Highlight swipe-blocking elements */
.swipe-blocked {
    outline: 2px solid red !important;
}