/* Scoped to event pages: do not alter article headings or other Jetpack blocks. */
body.single-tribe_events #jp-relatedposts .jp-relatedposts-headline,
body.single-tribe_events #jp-relatedposts .jp-relatedposts-headline em {
    font-family: 'Mate SC', Helvetica, Arial, sans-serif !important;
    font-size: 28px !important;
    line-height: 1.3 !important;
    font-style: normal !important;
    color: #405e84;
}
body.single-tribe_events #jp-relatedposts .jp-relatedposts-items {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: both;
}
body.single-tribe_events #jp-relatedposts .jp-relatedposts-items::before,
body.single-tribe_events #jp-relatedposts .jp-relatedposts-items::after { display: none !important; }
body.single-tribe_events #jp-relatedposts .jp-relatedposts-post {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
}
body.single-tribe_events #jp-relatedposts .jp-relatedposts-post > a {
    display: block;
    margin-bottom: 14px;
}
body.single-tribe_events #jp-relatedposts .jp-relatedposts-post-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}
body.single-tribe_events #jp-relatedposts .jp-relatedposts-post-title,
body.single-tribe_events #jp-relatedposts .jp-relatedposts-post-title a {
    font-family: 'Mate SC', Helvetica, Arial, sans-serif !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
    color: #405e84 !important;
    height: auto !important;
}
body.single-tribe_events #jp-relatedposts .jp-relatedposts-post-title {
    display: block;
    margin: 0 0 8px !important;
    padding: 0 !important;
}
body.single-tribe_events #jp-relatedposts .jp-relatedposts-post-date,
body.single-tribe_events #jp-relatedposts .jp-relatedposts-post-context,
body.single-tribe_events #jp-relatedposts .jp-relatedposts-post-excerpt {
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
    color: #667080 !important;
    opacity: 1 !important;
    height: auto !important;
}
@media (max-width: 767px) {
    body.single-tribe_events #jp-relatedposts .jp-relatedposts-items {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
