/* Shared editorial rhythm, not a universal margin reset.
 * Native blockGap/inline controls stay authoritative. Chrome and loop cards
 * keep their own compact grid/flex spacing. */
:where(.rx-e-article-section) > :where(h2, h3) {
 margin-block-end: var(--wp--preset--spacing--30);
}
.rx-e-article-section > :where(.wp-block-buttons, .wp-block-list, .wp-block-group:has(> .wp-block-image)) {
 margin-block-start: var(--wp--preset--spacing--40);
}
/* Content lists need breathing room on both sides. Navigation and query
 * templates are not core/list blocks; nested lists retain their compact flow. */
:is(.wp-block-post-content, .rx-solution-sections, .rx-sustainability-detail, .rx-product-page-body, .rx-figma-article, .editor-styles-wrapper .is-root-container) :is(ul, ol).wp-block-list:where(:not(.wp-block-list .wp-block-list)) {
 margin-block-start: var(--wp--preset--spacing--30);
 margin-block-end: var(--wp--preset--spacing--30);
}
:where(.rx-sustainability-detail) > :where(.rx-e-article-section) {
 margin-block-start: var(--wp--preset--spacing--editorial-section);
}
.rx-product-page-body details.rx-product-solutions { margin-block-start: var(--wp--preset--spacing--editorial-section); }

/* Single events, documents and media use the same offset editorial column
 * as News. Their bodies can contain wide media and narrower text groups. */
.rx-editorial-single {
 padding-block-end: var(--wp--preset--spacing--60);
 min-width: 0;
}
.rx-editorial-single__head,
.rx-editorial-single__body {
 width: 49.42%;
 margin-inline-start: 33.74%;
 min-width: 0;
}
.rx-editorial-single__head {
 padding-block-start: clamp(4rem, 9vw, 9.75rem);
}
.rx-editorial-single__head > .wp-block-post-title {
 overflow-wrap: anywhere;
 font-weight: 400;
}
.rx-editorial-single__head > .wp-block-post-excerpt {
 max-width: 35.125rem;
}
.rx-editorial-single__meta .rx-meta-field {
 display: flex;
 flex-wrap: wrap;
 align-items: baseline;
 gap: .5rem;
}
.rx-editorial-single__meta .rx-meta-field strong { font-weight: 400; }
.rx-editorial-single__meta .rx-meta-field > span {
 font-family: var(--wp--preset--font-family--mono);
 font-size: var(--wp--preset--font-size--micro);
}
.rx-editorial-single__body { margin-block-start: var(--wp--preset--spacing--editorial-section); }
.rx-editorial-single__body > .rx-figma-article {
 width: 100%;
 max-width: 35.125rem;
 margin-inline: 0;
 padding: 0;
}
.rx-editorial-single__body :where(h2, h3) {
 font-size: var(--wp--preset--font-size--lead);
 font-weight: 400;
 line-height: var(--wp--custom--line-height--heading);
}
.rx-editorial-single__body :where(.wp-block-list) { padding-inline-start: 1.25rem; list-style: disc; }
.rx-editorial-single__body :where(.wp-block-list > li + li) { margin-block-start: .5rem; }
.rx-editorial-single__media img,
.rx-editorial-single__body :where(video, .wp-block-image img) {
 width: 100%;
 border-radius: 6px;
}
.rx-editorial-single__body video { height: auto; }
.rx-editorial-single__body :where(.wp-block-embed, .wp-block-video, .wp-block-image) { max-width: 100%; }
@media (max-width: 64rem) {
 .rx-editorial-single__head, .rx-editorial-single__body { width: 64%; margin-inline-start: 29%; }
}
@media (max-width: 50rem) {
 .rx-editorial-single__head, .rx-editorial-single__body {
  width: auto;
  margin-inline: var(--wp--preset--spacing--page-gutter);
 }
 .rx-editorial-single { padding-block-end: var(--wp--preset--spacing--50); }
}
