/* Document-level styles for any page that hosts the DOE Creative Community block.
   Everything else lives in styles.css inside the block's shadow root. */

/* Hidden until the block's own stylesheet loads (styles.css sets :host visible !important),
   with a 3 s failsafe so the block can never stay invisible. */
.doe-cc-host { display: block; visibility: hidden; animation: doecc-host-failsafe 0s 3s forwards; }
@keyframes doecc-host-failsafe { to { visibility: visible; } }

/* Lenis smooth scrolling */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Standalone page only */
body.doe-cc-page { margin: 0; background: #000; overflow-x: hidden; overflow-x: clip; }
