/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 21 2025 | 22:37:54 */
/* [Theme/Sticky] Header/admin bar offsets + sticky utility
   Why: Centralize sticky offsets and provide a reliable sticky helper.
   Added: 2025-09-21 | Owner: Val | Safe to disable: Yes
*/

/* Admin bar height */
:root{ --admin-bar:0px; }
body.admin-bar{ --admin-bar:32px; }
@media (max-width:782px){
  body.admin-bar{ --admin-bar:46px; }
}

/* Header height (adjust to your actual sticky header height) */
:root{ --header-height:68px; }

/* Sticky helper */
.sticky-me{
  position:sticky;
  top:calc(var(--header-height) + var(--admin-bar));
  z-index:11;             /* above content */
  align-self:start;       /* prevent flex stretching */
  height:fit-content;     /* avoid odd flex stretching */
}

/* Only un-comment if a specific ancestor clips stickiness */
/*
.sticky-scope,
.sticky-scope *{
  overflow:visible !important;
  transform:none !important;
  contain:initial !important;
}
*/

