/* Trancefamily Montréal: site-wide pieces that go with our own theme (loaded by site.php).
   The theme's base.css styles plain text; this file holds what belongs to features of the plugin. */

/* header floating over the top of the page (Trancefamily > Settings > Site) */
.is-header-over .tfm-site-header{position:absolute;top:0;left:0;right:0;z-index:100}
.admin-bar.is-header-over .tfm-site-header{top:0}

/* entrance animations (Elementor > Motion Effects > Entrance Animation > Trancefamily) */
@keyframes tfmFade{from{opacity:0}to{opacity:1}}
@keyframes tfmFadeUp{from{opacity:0;transform:translate3d(0,30px,0)}to{opacity:1;transform:none}}
@keyframes tfmFadeLeft{from{opacity:0;transform:translate3d(-30px,0,0)}to{opacity:1;transform:none}}
@keyframes tfmFadeRight{from{opacity:0;transform:translate3d(30px,0,0)}to{opacity:1;transform:none}}
.tfm-fade{animation-name:tfmFade}
.tfm-fade-up{animation-name:tfmFadeUp}
.tfm-fade-left{animation-name:tfmFadeLeft}
.tfm-fade-right{animation-name:tfmFadeRight}
.animated.tfm-fade,.animated.tfm-fade-up,.animated.tfm-fade-left,.animated.tfm-fade-right{animation-duration:.8s;animation-timing-function:cubic-bezier(.2,.7,.2,1)}
@media(prefers-reduced-motion:reduce){.tfm-fade,.tfm-fade-up,.tfm-fade-left,.tfm-fade-right{animation:none !important}}

/* back-to-top button (Trancefamily > Settings > Site) */
.tfm-to-top{position:fixed;right:24px;bottom:-48px;z-index:7999;width:44.8px;height:44.8px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#17161C;color:#fff;opacity:0;transition:bottom .3s,opacity .3s,background-color .3s,color .3s}
.tfm-to-top.is-on{bottom:24px;opacity:1}
.tfm-to-top:hover{background:var(--tfm-accent,#D5FF00);color:#0E0D15}
/* the purple line before a small lime heading (sections: collective partners and work with us, gallery about, volunteer intro) */
.tmp-eb,.tc-eb,.gab-eb,.vi-eb{display:flex;align-items:center;gap:12px;font:700 12px/1 Epilogue,sans-serif;letter-spacing:3px;text-transform:uppercase;color:#D5FF00}
.tmp-eb,.tc-eb,.gab-eb{margin:0 0 14px}
.tmp-eb::before,.tc-eb::before,.gab-eb::before,.vi-eb::before{content:"";width:28px;height:2px;background:#8B3DFF;box-shadow:0 0 10px #8B3DFF}
/* page not found: exactly one screen, nothing to scroll */
html:has(body.is-fullscreen){height:100%;overflow:hidden;overscroll-behavior:none}
body.is-fullscreen{height:calc(100% - var(--wp-admin--admin-bar--height,0px));overflow:hidden;overscroll-behavior:none}

/* header logo: once the page is scrolled it becomes just the three bars (user, 2026-11-23). The bars are the top half of
   the stacked logo (rows 0-395 of 824), so the picture is trimmed to them and slightly enlarged; the header gets shorter.
   html.tfm-scrolled is set by a small script in site.php. */
.elementor-element-576f5d96 img,.elementor-element-43d6ad11 img{transform-origin:50% 0;transition:clip-path .4s cubic-bezier(.2,.7,.2,1),transform .4s cubic-bezier(.2,.7,.2,1),margin .4s cubic-bezier(.2,.7,.2,1)}
html.tfm-scrolled .elementor-element-576f5d96 img,html.tfm-scrolled .elementor-element-43d6ad11 img{clip-path:inset(0 0 51% 0);transform:translateY(-3px) scale(1.25);margin-bottom:-29px}
@media(max-width:1024px){html.tfm-scrolled .elementor-element-576f5d96 img,html.tfm-scrolled .elementor-element-43d6ad11 img{margin-bottom:-26px}}
@media(max-width:767px){html.tfm-scrolled .elementor-element-576f5d96 img,html.tfm-scrolled .elementor-element-43d6ad11 img{margin-bottom:-22px}}
@media(prefers-reduced-motion:reduce){.elementor-element-576f5d96 img,.elementor-element-43d6ad11 img{transition:none}}

/* volunteer hero squiggles (Elementor Image widgets): decoration only, never in the way */
.tfm-vol-squiggle{pointer-events:none}
.tfm-rv-hero{overflow-x:clip}
.elementor-element-fae50b9{overflow-x:clip}

/* the page is never wider than the screen (phones let you pan sideways otherwise) */
body{overflow-x:clip}
