.wp-block-navigation .wp-block-navigation-item__content {
    padding: 8px 12px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}


/* Newsletter archive images */
body.category-newsletter
img.gridlane-grid-post-thumbnail-img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: contain !important;
    max-height: none !important;
}

/* Hide Likes on blog and archive pages */
body.blog .sharedaddy.sd-like,
body.blog .jetpack-likes-widget-wrapper,
body.archive .sharedaddy.sd-like,
body.archive .jetpack-likes-widget-wrapper {
    display: none !important;
}

/* Equal image spaces, with complete artwork visible */
body.blog img.gridlane-grid-post-thumbnail-img,
body.archive img.gridlane-grid-post-thumbnail-img {
    display: block !important;
    width: 100% !important;
    height: 230px !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #fff;
}
/* Consistent subheading appearance inside articles */
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4,
body.single-post .entry-content h5,
body.single-post .entry-content h6 {
    font-size: 20px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    margin-top: 1.5em !important;
    margin-bottom: 0.6em !important;
}
/* Recommended posts: excerpt formatting */

#jp-relatedposts .otb-related-excerpt {
    display: block;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin-top: 8px;
    font-weight: 400;
}


.entry-content p {
  line-height: 1.55;
  margin-bottom: 0.8em;
}

.wp-block-navigation .wp-block-navigation-item__content:hover {
    background-color: #ffffff;
}

.single-post .wp-block-post-featured-image {
    display: none;
}

@media (min-width: 1024px) {
    .single-post .entry-content {
        font-size: 18px;
        line-height: 1.7;
    }
}

.single-post .wp-block-post-featured-image {
    width: 30%;
	height: 30%;
    margin-left: auto;
    margin-right: auto;
}


.single-post .wp-block-post-featured-image {
    margin-bottom: 80px !important;
}

.single-post h1 {
    margin-top: 50px !important;
}

.entry-content a {
    color: #000000;
}
.entry-content a:hover {
    color: #666666;
}
/* Space between post title and post content */
.single-post .wp-block-post-title {
    margin-bottom: 50px !important;
}


.menu-item a {
    transition: color 0.2s ease;
}


.wp-block-jetpack-subscriptions button,
.wp-block-jetpack-subscriptions a,
.wp-block-jetpack-subscriptions input[type="submit"] {
    background-color: #303639 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.wp-block-jetpack-subscriptions button:hover,
.wp-block-jetpack-subscriptions a:hover {
    background-color: #444444 !important;
    color: #ffffff !important;
}


/* Smaller featured images on individual posts */

body.single-post img.wp-post-image {
    display: block !important;
    width: 75% !important;
    max-width: 620px !important;
    height: auto !important;
    margin: 0 auto 24px !important;
    object-fit: contain !important;
}

/* Mobile */
@media (max-width: 767px) {
    body.single-post img.wp-post-image {
        width: 100% !important;
        max-width: 100% !important;
    }
}




/* OUTOFTHEBURN EVENTS - HORIZONTAL LAYOUT */

/* One event per row */
body.page .col-ime-md-4,
body.page .col-ime-md-6,
body.page .col-ime-md-12 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    float: none !important;
}

/* Horizontal event card */
body.page .ime_event {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 24px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 16px !important;
    margin-bottom: 24px !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 1px solid #eee;
}

/* Image link */
body.page .ime_event > a {
    display: block !important;
    flex: 0 0 38% !important;
    width: 38% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

/* Restore proper image proportions */
body.page .ime_event .ime_img_placeholder {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: white !important;
}

/* Text on right */
body.page .ime_event_details {
    display: block !important;
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 8px 0 !important;
    background: transparent !important;
}

/* Show full event title */
body.page .ime_event_details a {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: normal !important;
    font-size: 19px !important;
    line-height: 1.5 !important;
}

/* Description if included by plugin */
body.page .ime_event_details p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #555 !important;
    margin-top: 12px !important;
}

/* Mobile */
@media (max-width: 768px) {
    body.page .ime_event {
        flex-direction: column !important;
        gap: 12px !important;
    }

    body.page .ime_event > a {
        width: 100% !important;
        flex: 0 0 auto !important;
    }

    body.page .ime_event_details {
        width: 100% !important;
    }
}



/* OutoftheBurn - Show full event titles */

body.page .ime_event_details,
body.page .ime_event_details * {
    max-height: none;
}

body.page .ime_event_details a {
    display: inline-block !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: 100% !important;
    height: auto !important;
    line-height: 1.4 !important;
}

/* Allow title containers to wrap */
body.page .ime_event_details h3,
body.page .ime_event_details h4,
body.page .ime_event_details .ime_event_title {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    height: auto !important;
    max-height: none !important;
}




/* Fast event excerpts */

body.page .ime_event_details .ootb-excerpt {
    display: block !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: #555555 !important;
    margin: 12px 0 0 !important;
    white-space: normal !important;
}



/* Disable clicks on Meetup event images only */

body.page .ime_event > a:has(.ime_img_placeholder),
body.page .ime_event a.ime_img_placeholder {
    pointer-events: none !important;
    cursor: default !important;
}

/* Keep event titles and other links clickable */

body.page .ime_event_details a {
    pointer-events: auto !important;
    cursor: pointer !important;
}

