/* Low-specificity structural styles; the theme supplies the visual design. */
:where(.bm-content, .bm-content *) { box-sizing: border-box; }
:where(.bm-content) { min-width: 0; }
:where(.bm-content__surface) { min-width: 0; }
:where(.bm-content__image) { display: block; width: 100%; max-width: 100%; height: auto; object-position: center; }
:where(.bm-content__image-link) { display: block; text-decoration: none; }
:where(.bm-content__image-link):focus-visible { outline: 2px solid var(--bm-accent, #526b45); outline-offset: 4px; }
:where(.bm-content--position-top .bm-content__image) { object-position: center top; }
:where(.bm-content--position-bottom .bm-content__image) { object-position: center bottom; }
:where(.bm-content--position-left .bm-content__image) { object-position: left center; }
:where(.bm-content--position-right .bm-content__image) { object-position: right center; }
:where(.bm-content__text) { overflow-wrap: anywhere; }
:where(.bm-content__text > :first-child) { margin-top: 0; }
:where(.bm-content__text > :last-child) { margin-bottom: 0; }
:where(.bm-content__author, .bm-content__author-role) { display: block; }
:where(.bm-content__quote) { margin: 0; padding: 0; border: 0; }
:where(.bm-content__quote)::before,
:where(.bm-content__quote)::after { content: none; }
:where(.bm-content--banner .bm-content__surface, .bm-content--quote .bm-content__surface) { display: grid; isolation: isolate; }
:where(.bm-content--banner .bm-content__media, .bm-content--quote .bm-content__media, .bm-content__overlay) { grid-area: 1 / 1; min-width: 0; }
:where(.bm-content__overlay) { z-index: 1; padding: clamp(1.25rem, 4vw, 3.5rem); overflow-wrap: anywhere; }
:where(.bm-content--banner .bm-content__overlay) { display: flex; flex-direction: column; justify-content: center; }
:where(.bm-content__quote) { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
:where(.bm-content__bottom) { margin-top: auto; }
:where(.bm-content--portrait .bm-content__media) { width: min(100%, 480px); margin-inline: auto; }
:where(.bm-content--portrait .bm-content__body) { margin-top: 2rem; }
:where(.bm-content--without-image .bm-content__surface) { display: block; }
@media (max-width: 767px) {
	:where(.bm-content--quote .bm-content__surface) { display: block; }
	:where(.bm-content--quote .bm-content__overlay) { padding: 1.25rem; }
	:where(.bm-content--quote .bm-content__bottom) { margin-top: 0; }
}
