/* Event content only: keep editorial formatting and specialist blocks intact. */
.single-lra_event .site-main .entry-content {
    padding-bottom: 48px;
}

/* Long titles and links must remain readable without manual line breaks. */
.single-lra_event .lra-single-header .entry-title,
.single-lra_event .entry-content > :is(p, ul, ol, h2, h3, h4, h5, h6) {
    overflow-wrap: anywhere;
}

/* Fit the rounded frame to the image, including the existing height limit. */
.single-lra_event .post-featured-image-wrapper {
    width: fit-content;
}

/* Preserve the whole featured image as its available width changes. */
.single-lra_event .post-featured-img {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* The global mobile 100vw !important rule must not exceed the hero container. */
.single-lra_event .post-featured-image-wrapper,
.single-lra_event .post-featured-img {
    max-width: 100% !important;
}

/* Legacy image blocks wrap a table-like figure around a fixed-width image.
   Let that wrapper shrink on phones without changing covers or galleries. */
.single-lra_event .entry-content > div.wp-block-image > figure {
    display: block;
    width: 100%;
    max-width: 100%;
}

.single-lra_event .entry-content > div.wp-block-image > figure.aligncenter {
    text-align: center;
}

/* Override the mobile theme's global max-width: 100vw !important:
   standard image blocks must fit their padded wrappers instead. */
.single-lra_event .entry-content > .wp-block-image img {
    max-width: 100% !important;
}

/* Limit prose to a comfortable line length within the existing page layout. */
.single-lra_event .site-main .entry-content > :is(p, ul, ol, h2, h3, h4, h5, h6):not(.alignwide, .alignfull) {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.single-lra_event .entry-content > :is(p, ul, ol) {
    line-height: 1.7;
}

/* Only adjacent standard blocks get a default gap. A saved spacer therefore
   supplies its own distance on both sides, without an additional CSS gap.
   .wp-block-image also covers the legacy div > figure image markup. */
.single-lra_event .entry-content > :where(p, ul, ol, h2, h3, h4, h5, h6, .wp-block-image, .wp-block-buttons)
    + :where(p, ul, ol, h2, h3, h4, h5, h6, .wp-block-image, .wp-block-buttons) {
    margin-top: 20px;
}

.single-lra_event .entry-content > :where(p, ul, ol, h2, h3, h4, h5, h6, .wp-block-image, .wp-block-buttons)
    + :is(h2, h3, h4, h5, h6) {
    margin-top: 32px;
}

/* Keep native list markers, with enough room for wrapped list items. */
.single-lra_event .entry-content > :is(ul, ol),
.single-lra_event .entry-content > :is(ul, ol) :is(ul, ol) {
    padding-left: 1.5em;
}

.single-lra_event .entry-content > :is(ul, ol) li + li,
.single-lra_event .entry-content > :is(ul, ol) li > :is(ul, ol) {
    margin-top: 6px;
}
