/* Hide featured image on single event pages */
.single-em_event .wp-block-post-featured-image,
.single-event .wp-block-post-featured-image {
    display: none !important;
}

/* Hide the button only in the [events_list] shortcode */
.em-item-info .button {
    display: none !important;
}

/* Force event titles to use the theme's contrast color */
.em.pixelbones .em-item-title a {
    color: var(--wp--preset--color--contrast) !important;
}

/* Apply paragraph font to excerpt */
.em-item-desc {
    font-family: var(--wp--preset--font-family--literata) !important;
    font-size: var(--wp--preset--font-size--small) !important;
    font-weight: 300 !important;
    line-height: 1.6 !important;
    letter-spacing: -0.01em !important;
    color: var(--wp--preset--color--contrast) !important;
	margin: 10px 0 !important;
}

/* Fix Events Manager shortcode overflow on mobile */
.em-events-list {
    max-width: 100% !important;
    overflow: hidden !important;
}

.em-events-list * {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

/* Make images responsive */
.em-events-list .em-item-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
}

/* Prevent meta lines from forcing overflow */
.em-events-list .em-item-meta-line {
    display: block !important;
    white-space: normal !important;
}