/* "Upcoming events" strip under the site header, mobile only. See inc/events/events-bar.php. */
.sf-events-bar {
    background-color: #eaf8f6;
    border-bottom: 1px solid #cdeee9;
    font-size: 14px;
    line-height: 1.4;
}
/* The heading on its own line, as on the other two sites, then the events with the arrow on the right. The
   events stay on one line and scroll sideways inside the strip when they do not fit. */
.sf-events-bar__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    padding: 10px 16px;
}
.sf-events-bar__heading {
    grid-column: 1 / -1;
    color: var(--electric-purple, #24beac);
    font-weight: 600;
}
.sf-events-bar__events {
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
.sf-events-bar__events::-webkit-scrollbar {
    display: none;
}
.sf-events-bar a {
    color: inherit;
    text-decoration: none;
}
.sf-events-bar__sep {
    margin: 0 6px;
    opacity: 0.5;
}
.sf-events-bar a.sf-events-bar__all {
    color: var(--electric-purple, #24beac);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
}
/* Sit 16px under the header, white between the two, and take over the header's bottom
   margin. Other header Elements, such as the login modal, can print between the two, so match any later
   sibling. The sticky header script inserts a clone of the header before it as a placeholder, so that clone
   loses its margin too. */
@media (max-width: 767px) {
    .gb-site-header:has(~ .sf-events-bar),
    .header-placeholder:has(~ .sf-events-bar) {
        margin-bottom: 0;
    }
    .sf-events-bar {
        margin-top: 16px;
        margin-bottom: 24px;
    }
}
@media (min-width: 768px) {
    .sf-events-bar {
        display: none;
    }
}
