

 
/* 1. Completely remove the post form container from the Profile view */
.youzify-profile #youzify-wall-form,
.youzify-profile .youzify-profile-posts-form,
#youzify.yz-profile-page .yz-wall-form {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
}

/* 2. Remove the specific button and action area to prevent "ghost" spacing */
.youzify-profile .yz-wall-actions,
.youzify-profile #yz-publish-post {
    display: none !important;
}
/* 1. Ensure the 'Where to Post' menu is at the absolute top of the stack */
.youzify-where-post-menu,
#youzify .youzify-where-post-menu {
    z-index: 99999999 !important;
    position: absolute !important;
}

/* 2. Flatten the Activity Feed items and their internal headers */
/* This forces the user cover photos in the feed to stay behind the menu */
.yz-activity-item,
#youzify .yz-activity-item,
.yz-activity-item .yz-item-avatar,
.yz-activity-item .yz-post-header,
.yz-activity-item .yz-profile-header {
    z-index: 1 !important;
    position: relative !important;
}

/* Force the browser to use high-quality scaling for avatars */
.yz-profile-photo img, 
.yz-item-avatar img {
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: auto !important;
    object-fit: cover !important;
}
/* Force the Media Page to allow scrolling no matter what */
body.media-php, 
body.media, 
.yz-page.yz-media,
#youzify.yz-media-page {
    overflow: visible !important;
    height: auto !important;
    position: relative !important;
}

/* Ensure the main container isn't locking the height */
#youzify .yz-main-column,
#youzify .yz-content {
    height: auto !important;
    min-height: 100vh !important;
}

/* Prevent sticky footer from trapping mobile scroll gestures */
@media only screen and (max-width: 1200px) {
  .site-footer.is-sticky,
  .youzify-mobile-nav,
  footer.fixed-bottom {
    /* Lets touch-swipes pass right through to the page behind it */
    pointer-events: none !important; 
  }

  /* Keeps buttons and icons inside the footer clickable */
  .site-footer.is-sticky a,
  .site-footer.is-sticky button,
  .youzify-mobile-nav a {
    pointer-events: auto !important;
  }
}
