/* Todwtoot - additions on top of the page-builder stylesheets */

/* Header stays at the top while scrolling */
.elementor-location-header { position: sticky; top: 0; z-index: 99; }

/* Share buttons are plain links */
a.elementor-share-btn { color: inherit; text-decoration: none; }

/* Media inside story text */
.story-video, .story-image { margin: 0 0 1em; }
.story-video video { width: 100%; height: auto; vertical-align: middle; }
.story-image img { max-width: 100%; height: auto; vertical-align: bottom; }

/* Picture grid inside story text: two across on phones, three on wider screens */
.story-gallery { display: flex; flex-wrap: wrap; gap: 24px; margin: 0 0 1em; }
.story-gallery > .story-image { display: flex; flex: 1 1 auto; flex-direction: column; justify-content: center; margin: 0; max-width: 100%; width: calc(50% - 12px); }
.story-gallery > .story-image img { display: block; flex: 1 0 0%; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 600px) {
  .story-gallery > .story-image { width: calc(33.33% - 16px); }
}
