/* Canonical presentation roles: real Masters and generated guide consume the same rules.
 * Legacy selectors below are adapters to the same role, never a second definition. */
body.rfx-editorial-site :is(.rfx-article-title, .rfx-hero-title, .rfx-page-title, .rfx-generic-listing__title, .rfx-jornal-home-card--hero .rfx-jornal-home-card__title),
body.rfx-editorial-site.home main h1:has([data-rfx-editorial-post-id]),
body.rfx-editorial-site.single-post .entry-header .entry-title {
	font-family: var(--rfx-font-family-display);
	font-size: var(--rfx-editorial-h1-size);
	font-weight: var(--rfx-font-weight-bold);
	line-height: var(--rfx-editorial-h1-line);
	letter-spacing: var(--rfx-letter-spacing-tight);
	color: var(--rfx-color-text-muted);
}
body.rfx-editorial-site :is(.rfx-section-title, .rfx-jornal-related-posts__title, .rfx-jornal-homepage__section-title, .rfx-editorial-listing-sidebar__title) {
	font-family: var(--rfx-font-family-display);
	font-size: var(--rfx-type-section-title-size);
	font-weight: var(--rfx-font-weight-bold);
	line-height: var(--rfx-type-section-title-line);
	letter-spacing: var(--rfx-letter-spacing-tight);
	color: var(--rfx-color-text-muted);
}
body.rfx-editorial-site .rfx-subsection-title {
	font-family: var(--rfx-font-family-display);
	font-size: var(--rfx-editorial-h3-size);
	font-weight: var(--rfx-font-weight-semibold);
	line-height: var(--rfx-editorial-h3-line);
	color: var(--rfx-color-text-muted);
}
body.rfx-editorial-site .rfx-section-title--related {
	margin: var(--rfx-related-heading-before) 0 var(--rfx-related-heading-after);
}
body.rfx-editorial-site .rfx-small-heading {
	font-family: var(--rfx-font-family-display);
	font-size: var(--rfx-editorial-h4-size);
	font-weight: var(--rfx-font-weight-semibold);
	line-height: var(--rfx-editorial-h4-line);
	color: var(--rfx-color-text-muted);
}
body.rfx-editorial-site :is(.rfx-card-title[class], .rfx-generic-listing-card__title, .rfx-editorial-query .gb-loop-item > h2, .rfx-jornal-home-card:not(.rfx-jornal-home-card--hero) .rfx-jornal-home-card__title) {
	font-family: var(--rfx-font-family-display);
	font-size: var(--rfx-type-card-title-size);
	font-weight: var(--rfx-font-weight-semibold);
	line-height: var(--rfx-type-card-title-line);
	letter-spacing: var(--rfx-listing-title-letter-spacing);
	color: var(--rfx-color-action);
}
body.rfx-editorial-site :is(.rfx-sidebar-item-title[class], .rfx-jornal-home-card--list .rfx-jornal-home-card__title, .rfx-jornal-home-card--opinion .rfx-jornal-home-card__title) {
	font-family: var(--rfx-font-family-display);
	font-size: var(--rfx-type-sidebar-item-title-size);
	font-weight: var(--rfx-font-weight-semibold);
	line-height: var(--rfx-type-sidebar-item-title-line);
	letter-spacing: var(--rfx-letter-spacing-body);
	color: var(--rfx-color-text-muted);
}
/* Adapter for the persisted editorial tabs tree: the tab panel is the
 * component role; the heading level is not used to infer its typography. */
body.rfx-editorial-site .rfx-column-item-title[class],
body.rfx-editorial-site .gb-tabs-88fd4f39 .gb-tabs__item[role="tabpanel"] h4.gb-text {
	font-family: var(--rfx-font-family-display);
	font-size: var(--rfx-type-sidebar-item-title-size);
	font-weight: var(--rfx-font-weight-semibold);
	line-height: var(--rfx-type-sidebar-item-title-line);
	letter-spacing: var(--rfx-letter-spacing-body);
	color: var(--rfx-color-text-muted);
}
body.rfx-editorial-site h4.rfx-column-item-title[class] a:is(:link, :visited, :focus, :focus-visible) { color: var(--rfx-color-brand); text-decoration: none; }
body.rfx-editorial-site h4.rfx-column-item-title[class] a:hover { color: var(--rfx-color-action-hover); text-decoration: none; }
body.rfx-editorial-site h3.rfx-column-item-title[class] a:is(:link, :visited, :focus, :focus-visible) { color: var(--rfx-color-brand); text-decoration: none; }
body.rfx-editorial-site h3.rfx-column-item-title[class] a:hover { color: var(--rfx-color-action-hover); text-decoration: none; }
/* Keep the tab's structural spacing. Explicit roles own typography; the legacy
 * defaults below apply only to still-unclassified GenerateBlocks paragraphs. */
body.rfx-editorial-site .gb-tabs-88fd4f39 .gb-tabs__item[role="tabpanel"] p.gb-text:not(.rfx-autor-opiniao) {
	margin: -0.625rem 0 0;
}
body.rfx-editorial-site .gb-tabs-88fd4f39 .gb-tabs__item[role="tabpanel"] p.gb-text:not([class*="rfx-"]) {
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-type-metadata-size);
	font-weight: var(--rfx-font-weight-regular);
	font-style: italic;
	line-height: var(--rfx-line-height-menu);
	letter-spacing: var(--rfx-letter-spacing-body);
	color: var(--rfx-color-text-muted);
}
body.rfx-editorial-site :is(.rfx-related-card-title, .rfx-related-title, .rfx-jornal-related-posts__item-title) {
	font-family: var(--rfx-font-family-display);
	font-size: var(--rfx-type-related-title-size);
	font-weight: var(--rfx-font-weight-semibold);
	line-height: var(--rfx-type-related-title-line);
	letter-spacing: var(--rfx-letter-spacing-body);
	color: var(--rfx-color-action);
}
body.rfx-editorial-site .rfx-category-label[class],
body.rfx-editorial-site .rfx-subcategory-label[class],
body.rfx-editorial-site .rfx-label--category[class] {
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-font-size-category);
	font-weight: var(--rfx-font-weight-semibold);
	line-height: var(--rfx-line-height-category);
	letter-spacing: var(--rfx-letter-spacing-body);
	color: var(--rfx-color-category);
	text-transform: none;
}
body.rfx-editorial-site .rfx-card-excerpt[class] {
	/* Keep the native paragraph margin (GeneratePress: 1.5em). */
	font-family: var(--rfx-font-family-serif);
	font-size: var(--rfx-type-body-size);
	font-weight: var(--rfx-font-weight-regular);
	line-height: var(--rfx-type-body-line);
	letter-spacing: var(--rfx-letter-spacing-body);
	color: var(--rfx-color-text);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--rfx-card-excerpt-lines);
	overflow: hidden;
}
body.rfx-editorial-site .rfx-card-excerpt.rfx-editorial-excerpt--hero {
	-webkit-line-clamp: var(--rfx-hero-excerpt-lines);
}
body.rfx-editorial-site :is(.rfx-article-lead[class], .rfx-editorial-lead, .rfx-jornal-editorial-lead) {
	font-family: var(--rfx-font-family-serif);
	font-size: var(--rfx-type-body-size);
	font-weight: var(--rfx-font-weight-regular);
	line-height: var(--rfx-type-body-line);
	letter-spacing: var(--rfx-letter-spacing-body);
	color: var(--rfx-color-text-muted);
	margin: 0 0 var(--rfx-space-4);
}
body.rfx-editorial-site .rfx-article-body,
body.rfx-editorial-site.single-post .entry-content p:not([class*="rfx-"]) {
	font-family: var(--rfx-font-family-serif);
	font-size: var(--rfx-type-body-size);
	font-weight: var(--rfx-font-weight-regular);
	line-height: var(--rfx-type-body-line);
	letter-spacing: var(--rfx-letter-spacing-body);
	color: var(--rfx-color-text-muted);
	margin: 0 0 var(--rfx-article-paragraph-gap);
}
body.rfx-editorial-site :is(.rfx-metadata, .rfx-article-caption, .rfx-article-credit)[class] {
	/* Metadata is a type role, not a reset of its GB component spacing. */
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-type-metadata-size);
	font-weight: var(--rfx-font-weight-regular);
	line-height: var(--rfx-line-height-caption);
	letter-spacing: var(--rfx-letter-spacing-body);
	color: var(--rfx-color-text-muted);
}
body.rfx-editorial-site :is(.rfx-article-caption, .rfx-article-credit)[class] { margin: 0; }
body.rfx-editorial-site :is(.rfx-author-name, .rfx-jornal-home-card__author, .rfx-autor-opiniao) {
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-type-body-size);
	font-weight: var(--rfx-font-weight-bold);
	line-height: var(--rfx-type-body-line);
	letter-spacing: var(--rfx-letter-spacing-body);
	color: var(--rfx-color-text-muted);
}
body.rfx-editorial-site :is(.rfx-author-name, .rfx-jornal-home-card__author):not(.rfx-autor-opiniao) { margin: 0; }
body.rfx-editorial-site :is(.rfx-article-caption, .rfx-article-credit) { text-align: right; }
body.rfx-editorial-site :is(.rfx-header-link, header nav a) {
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-font-size-menu);
	font-weight: var(--rfx-font-weight-bold);
	line-height: var(--rfx-line-height-menu);
	letter-spacing: var(--rfx-letter-spacing-body);
	text-transform: uppercase;
	color: var(--rfx-color-label);
}
body.rfx-editorial-site :is(.rfx-footer-heading, .rfx-jornal-footer__column h2) {
	margin: 0 0 var(--rfx-space-5);
	padding: var(--rfx-space-5) 0 var(--rfx-footer-heading-inset-bottom);
	border-bottom: var(--rfx-border-width) dotted var(--rfx-color-divider);
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-editorial-h4-size);
	font-weight: var(--rfx-font-weight-semibold);
	line-height: var(--rfx-editorial-h4-line);
	letter-spacing: var(--rfx-letter-spacing-tight);
	color: var(--rfx-color-text-muted);
}
body.rfx-editorial-site footer .rfx-footer-link[class],
body.rfx-editorial-site footer .rfx-jornal-footer__list a {
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-font-size-footer-link);
	font-weight: var(--rfx-font-weight-medium);
	line-height: var(--rfx-line-height-menu);
	letter-spacing: var(--rfx-letter-spacing-body);
	color: var(--rfx-color-label);
}
body.rfx-editorial-site .rfx-divider {
	border: 0;
	border-top: 1px solid var(--rfx-color-divider);
	height: 0;
	background: none;
	margin-block: var(--rfx-component-section-gap);
}
/* Existing metadata frame is a structural separator, not a brand override. */
body.rfx-editorial-site :is(.rfx-divider-frame, .gb-container-8a25fc79, .gb-headline-f9b55781) {
	border-color: var(--rfx-color-divider);
}
body.rfx-editorial-site .gb-container-8a25fc79 { border-top: 1px solid var(--rfx-color-divider); }
body.rfx-editorial-site :is(.rfx-quote, .rfx-jornal-pattern-quote) {
	font-family: var(--rfx-font-family-serif);
	font-size: var(--rfx-font-size-quote);
	font-weight: var(--rfx-font-weight-regular);
	font-style: var(--rfx-font-style-quote);
	line-height: var(--rfx-line-height-quote);
	letter-spacing: var(--rfx-letter-spacing-body);
	color: var(--rfx-color-action);
	padding: 0 0 0 var(--rfx-quote-inset);
	margin: 0 0 var(--rfx-quote-gap);
	border-left: var(--rfx-border-width) solid currentcolor;
}
body.rfx-editorial-site.single-post .entry-content .rfx-jornal-pattern-quote > p {
	font: inherit;
	color: inherit;
	margin: 0;
}
body.rfx-editorial-site :is(.rfx-card-title, .rfx-related-card-title, .rfx-category-label, .rfx-header-link, .rfx-footer-link, .rfx-generic-listing-card__title, .rfx-editorial-query) a {
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-decoration: none;
}
body.rfx-editorial-site :is(.jdg-site-header, .rfx-editorial-header) a:is(:link, :visited, :hover, :active, :focus, :focus-visible) {
	text-decoration: none;
}
body.rfx-editorial-site :is(.rfx-card-title, .rfx-related-card-title) a:hover { color: var(--rfx-color-text-muted); text-decoration: none; }
body.rfx-editorial-site :is(.rfx-card-title, .rfx-related-card-title) a:focus-visible { color: var(--rfx-color-action); text-decoration: none; }
body.rfx-editorial-site .rfx-sidebar-item-title a { color: var(--rfx-color-action); text-decoration: none; }
body.rfx-editorial-site .rfx-sidebar-item-title a:hover { color: var(--rfx-color-text-muted); text-decoration: none; }
body.rfx-editorial-site .rfx-sidebar-item-title a:focus-visible { color: var(--rfx-color-action); text-decoration: none; }
/* Taxonomy is a neutral role, including the nested GenerateBlocks link markup. */
body.rfx-editorial-site :is(.rfx-category-label, .rfx-subcategory-label, .rfx-label--category, .rfx-generic-listing__subcategories) a,
body.rfx-editorial-site a.rfx-editorial-taxonomy-link--category,
body.rfx-editorial-site a.rfx-jornal-blueprint__category-link,
body.rfx-editorial-site a.rfx-jornal-blueprint__link:has(.rfx-jornal-blueprint__category-link) {
	color: var(--rfx-color-category);
	text-decoration: none;
}
body.rfx-editorial-site :is(.rfx-category-label, .rfx-subcategory-label, .rfx-label--category, .rfx-generic-listing__subcategories) a:focus-visible,
body.rfx-editorial-site a.rfx-editorial-taxonomy-link--category:focus-visible {
	color: var(--rfx-color-category);
	text-decoration: none;
}
body.rfx-editorial-site :is(.rfx-category-label, .rfx-subcategory-label, .rfx-label--category, .rfx-generic-listing__subcategories) a:is(:hover, :active),
body.rfx-editorial-site a.rfx-editorial-taxonomy-link--category:is(:hover, :active),
body.rfx-editorial-site a.rfx-jornal-blueprint__category-link:is(:hover, :active),
body.rfx-editorial-site a.rfx-jornal-blueprint__link:has(.rfx-jornal-blueprint__category-link):is(:hover, :active) {
	color: var(--rfx-color-category-hover);
	text-decoration: none;
}
body.rfx-editorial-site :is(.rfx-category-label, .rfx-subcategory-label, .rfx-label--category) a:visited,
body.rfx-editorial-site a.rfx-editorial-taxonomy-link--category:visited { text-decoration: none; }
body.rfx-editorial-site .rfx-generic-listing-card__label a.rfx-editorial-taxonomy-link--category:is(:hover, :active) {
	color: var(--rfx-color-category-hover);
	text-decoration: none;
}
body.rfx-editorial-site .rfx-generic-listing-card__label a.rfx-editorial-taxonomy-link--category:focus-visible {
	color: var(--rfx-color-category);
	text-decoration: none;
}
body.rfx-editorial-site.single-post .entry-header .rfx-category-label a:is(:hover, :active) {
	color: var(--rfx-color-category-hover);
	text-decoration: none;
}
body.rfx-editorial-site.single-post .entry-header .rfx-category-label a:focus-visible {
	color: var(--rfx-color-category);
	text-decoration: none;
}
body.rfx-editorial-site .rfx-generic-listing-card__title a:is(:link, :visited, :hover, :active, :focus, :focus-visible),
body.rfx-editorial-site .rfx-editorial-query :is(h2, h3, h4) a:is(:link, :visited, :hover, :active, :focus, :focus-visible),
body.rfx-editorial-site .rfx-editorial-tags a:is(:link, :visited, :hover, :active, :focus, :focus-visible),
body.rfx-editorial-site .rfx-editorial-share a:is(:link, :visited, :hover, :active, :focus, :focus-visible),
body.rfx-editorial-site :is(.rfx-jornal-home-card__read-more, .rfx-reflexo-homepage-card__read-more):is(:link, :visited, :hover, :active, :focus, :focus-visible) { text-decoration: none; }
/* The text span inherits the state of its own anchor, never its card/siblings. */
body.rfx-editorial-site :is(.rfx-category-label, .rfx-subcategory-label, .rfx-label--category, .rfx-generic-listing__subcategories) a span,
body.rfx-editorial-site a .rfx-jornal-blueprint__category-link {
	color: inherit;
	text-decoration: none;
}
body.rfx-editorial-site :is(.rfx-header-link, .rfx-footer-link) a:is(:hover, :focus-visible),
body.rfx-editorial-site header nav a:is(:hover, :focus-visible),
body.rfx-editorial-site .rfx-jornal-footer__list a:is(:hover, :focus-visible) { color: var(--rfx-color-text-muted); }
body.rfx-editorial-site footer :is(.rfx-footer-link, .rfx-jornal-footer__list) a:is(:hover, :focus-visible) { color: var(--rfx-color-label); }
body.rfx-editorial-site :is(.rfx-button, .rfx-button--primary, .rfx-button--secondary, .rfx-button--primary-inverted, .rfx-button--secondary-inverted)[class] {
	line-height: var(--rfx-line-height-button);
	letter-spacing: var(--rfx-letter-spacing-body);
}
body.rfx-editorial-site :is(.rfx-button--primary-inverted, .rfx-button--secondary-inverted)[class]:is(:hover, :focus-visible) {
	color: var(--rfx-color-action);
	background-color: var(--rfx-color-surface);
}
body.rfx-editorial-site :is(.rfx-button--primary, .rfx-button--secondary)[class]:is(:hover, :focus-visible) {
	/* An anchor used as a button must not inherit the editorial text-link hover. */
	color: var(--rfx-color-action-text);
}
body.rfx-editorial-site .rfx-button--secondary-inverted[class] {
	padding-block: var(--rfx-secondary-inverted-padding-block);
}
body.rfx-editorial-site :is(.rfx-card-title, .rfx-sidebar-item-title, .rfx-related-card-title, .rfx-category-label, .rfx-subcategory-label, .rfx-label--category, .rfx-header-link, .rfx-footer-link) a:focus-visible,
body.rfx-editorial-site a.rfx-editorial-taxonomy-link--category:focus-visible,
body.rfx-editorial-site a.rfx-jornal-blueprint__category-link:focus-visible {
	outline: var(--rfx-focus-outline-width) solid var(--rfx-focus-outline-color);
	outline-offset: var(--rfx-focus-outline-offset);
}
body.rfx-editorial-site .rfx-generic-listing-card__title a:focus-visible,
body.rfx-editorial-site .rfx-editorial-query :is(h2, h3, h4) a:focus-visible,
body.rfx-editorial-site .rfx-generic-listing__subcategories a:focus-visible {
	outline: var(--rfx-focus-outline-width) solid var(--rfx-focus-outline-color);
	outline-offset: var(--rfx-focus-outline-offset);
}
@media (max-width: 48rem) {
	body.rfx-editorial-site { --rfx-type-column-title-size: 1.5rem; }
	body.rfx-editorial-site {
		--rfx-editorial-h3-size: 1.5rem;
		/* Rebind at the override scope: root-resolved aliases otherwise retain desktop values. */
		--rfx-type-section-title-size: var(--rfx-editorial-h2-size);
	}
}

/* Shared content composition primitives, also available to the block editor. */
.rfx-inset { padding: var(--rfx-space-5); }
.rfx-surface-brand { background: var(--rfx-color-action); }
.rfx-navigation-sample { margin: 0; list-style: none; }
.rfx-section-separated { margin-top: var(--rfx-space-12); padding-top: var(--rfx-space-8); border-top: 1px solid var(--rfx-color-divider); }
.rfx-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rfx-space-4); }
.rfx-info-panel { padding: var(--rfx-space-4); background: var(--rfx-color-surface-muted); border: var(--rfx-border-width) solid var(--rfx-color-divider); }
body.rfx-editorial-site .rfx-info-panel > .rfx-subsection-title { margin: 0; }
body.rfx-editorial-site .rfx-info-panel > .rfx-article-body { margin: var(--rfx-space-2) 0 0; }
@media (max-width: 48rem) { .rfx-info-grid { grid-template-columns: 1fr; } }

body.rfx-editorial-site :is(.rfx-heading-small, .rfx-heading-minor) {
	font-family: var(--rfx-font-family-display);
	font-weight: var(--rfx-font-weight-semibold);
	line-height: var(--rfx-line-height-body);
	color: var(--rfx-color-text-muted);
}
body.rfx-editorial-site .rfx-heading-small { font-size: var(--rfx-type-body-size); }
body.rfx-editorial-site .rfx-heading-minor { font-size: 1rem; }
/* Link state belongs to the actual anchor, never its hovered parent/card. */
body.rfx-editorial-site :is(.rfx-page-title, .rfx-article-title, .rfx-section-title, .rfx-subsection-title, .rfx-small-heading, .rfx-heading-small, .rfx-heading-minor) a {
	color: var(--rfx-color-action); text-decoration: none;
}
body.rfx-editorial-site :is(.rfx-page-title, .rfx-article-title, .rfx-section-title, .rfx-subsection-title, .rfx-small-heading, .rfx-heading-small, .rfx-heading-minor) a:hover {
	color: var(--rfx-color-text-muted); text-decoration: none;
}
body.rfx-editorial-site .rfx-link,
body.rfx-editorial-site .rfx-article-body a,
body.rfx-editorial-site.single-post .entry-content p:not([class*="rfx-"]) a {
	color: var(--rfx-color-action); font-weight: var(--rfx-font-weight-semibold); text-decoration: underline;
}
body.rfx-editorial-site .rfx-link:hover,
body.rfx-editorial-site .rfx-article-body a:hover,
body.rfx-editorial-site.single-post .entry-content p:not([class*="rfx-"]) a:hover {
	color: var(--rfx-color-text-muted); text-decoration: none;
}
body.rfx-editorial-site :is(.rfx-list-menu, .rfx-list-menu-geral) { color: var(--rfx-color-label); }
body.rfx-editorial-site .rfx-list-menu { line-height: var(--rfx-line-height-menu); }
body.rfx-editorial-site .rfx-list-menu-geral { font-size: 1rem; line-height: var(--rfx-line-height-body); }
body.rfx-editorial-site .rfx-list-menu-geral a { font-size: var(--rfx-type-body-size); line-height: var(--rfx-type-body-line); }
body.rfx-editorial-site :is(.rfx-list-menu, .rfx-list-menu-geral) a { color: inherit; }
body.rfx-editorial-site :is(.rfx-list-menu, .rfx-list-menu-geral) a:hover { color: var(--rfx-color-text-muted); }
body.rfx-editorial-site :is(.rfx-list-menu, .rfx-list-menu-geral) a:focus-visible { color: var(--rfx-color-action); }
body.rfx-editorial-site .rfx-button--primary[class]:hover { background: var(--rfx-color-label); border-color: var(--rfx-color-label); }
body.rfx-editorial-site .rfx-button--secondary[class]:is(:hover, :focus-visible) { background: var(--rfx-color-text-muted); border-color: var(--rfx-color-text-muted); }
body.rfx-editorial-site a.rfx-title-link[class] { color: var(--rfx-color-action); text-decoration: none; }
body.rfx-editorial-site a.rfx-title-link[class]:is(:hover, :focus-visible) { color: var(--rfx-color-text-muted); text-decoration: none; }
body.rfx-editorial-site a:focus-visible { outline: var(--rfx-focus-outline-width) solid var(--rfx-focus-outline-color); outline-offset: var(--rfx-focus-outline-offset); }

/* Editorial card rhythm, shared by native Masters, Homepage and PHP listings.
 * Spacing lives on component wrappers, never on the underlying image asset. */
body.rfx-editorial-site .rfx-card-stack[class] {
	min-width: 0;
}
body.rfx-editorial-site .rfx-card-stack[class] > :is(.rfx-card-media, .rfx-jornal-blueprint__media, .wp-block-post-featured-image, .gb-dynamic-image) + :is(.rfx-category-label, .rfx-label--category, .rfx-card-title, .rfx-related-card-title, .rfx-card-excerpt, .rfx-metadata, h1, h2, h3, h4, p) {
	margin-block-start: var(--rfx-card-media-content-gap);
}
body.rfx-editorial-site .rfx-card-stack[class] > :is(.rfx-card-media, .rfx-jornal-blueprint__media, .wp-block-post-featured-image, .gb-dynamic-image) + :is(.gb-container, .gb-grid-wrapper, .wp-block-group):has(:is(.rfx-category-label, .rfx-label--category, .rfx-card-title, .rfx-related-card-title, .rfx-card-excerpt, .rfx-metadata, h1, h2, h3, h4, p)) {
	margin-block-start: var(--rfx-card-media-content-gap);
}
body.rfx-editorial-site .rfx-card-stack[class] > :is(.rfx-category-label, .rfx-label--category) + :is(h1, h2, h3, h4, .rfx-card-title) { margin-block-start: var(--rfx-card-category-to-title-gap); }
body.rfx-editorial-site .rfx-card-stack[class] > :is(h1, h2, h3, h4, .rfx-card-title) + .rfx-card-excerpt { margin-block-start: var(--rfx-card-title-to-excerpt-gap); }
/* Keep Homepage title/excerpt spacing on its explicit token, not the theme's
 * generic heading bottom margin. Related cards keep their native title/date order. */
body.rfx-editorial-site .rfx-editorial-card.rfx-card-stack > :is(h1, h2, h3, h4, .rfx-card-title) { margin-block-end: 0; }
body.rfx-editorial-site .rfx-card-media:empty { display: none; }
body.rfx-editorial-site .rfx-card-media:not(:has(img)) { display: none; }
body.rfx-editorial-site .rfx-card-stack > .rfx-card-media:not(:has(img)) + .rfx-category-label { margin-top: 0; }
body.rfx-editorial-site .rfx-card-media :is(figure, a) { display: block; margin: 0; }
body.rfx-editorial-site .rfx-card-media img { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: var(--rfx-photo-ratio); }
body.rfx-editorial-site .rfx-card-media img.rfx-editorial-video { aspect-ratio: var(--rfx-video-ratio); }
body.rfx-editorial-site .rfx-generic-listing-card__content.rfx-card-stack[class] { padding-top: 0; }
body.rfx-editorial-site .rfx-generic-listing-card__content.rfx-card-stack[class] { gap: 0; }
body.rfx-editorial-site .rfx-generic-listing-card { row-gap: var(--rfx-card-media-content-gap); }

/* One compact sidebar role; Opinion varies the data (author avatar), not layout. */
body.rfx-editorial-site .rfx-sidebar-card[class] {
	display: grid;
	grid-template-columns: var(--rfx-sidebar-media-width) minmax(0, 1fr);
	align-items: start;
	column-gap: var(--rfx-card-media-content-gap);
	padding-bottom: var(--rfx-card-bottom-gap);
	border-bottom: var(--rfx-border-width) solid var(--rfx-color-divider);
}
body.rfx-editorial-site .rfx-sidebar-card__media { margin: 0; min-width: 0; }
body.rfx-editorial-site .rfx-sidebar-card__media :is(figure, a) { display: block; margin: 0; }
body.rfx-editorial-site .rfx-sidebar-card__media img { display: block; width: 100%; height: auto; aspect-ratio: var(--rfx-photo-ratio); object-fit: cover; }
body.rfx-editorial-site .rfx-sidebar-card__media img.rfx-editorial-video { aspect-ratio: var(--rfx-video-ratio); }
body.rfx-editorial-site .rfx-sidebar-card__media--avatar img { aspect-ratio: 1; border-radius: 50%; }
body.rfx-editorial-site .rfx-sidebar-card:not(:has(.rfx-sidebar-card__media img)) { grid-template-columns: minmax(0, 1fr); }
body.rfx-editorial-site .rfx-sidebar-card__media:not(:has(img)) { display: none; }
body.rfx-editorial-site .rfx-sidebar-card__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: clip; }
body.rfx-editorial-site .rfx-sidebar-card__author a { color: inherit; }
body.rfx-editorial-site .rfx-sidebar-card__author a:hover { color: var(--rfx-color-action); }

/* Title-first main cards are not Latest/Opinion column items. Their source
 * order is category/title/media[/excerpt], independently of the four-grid. */
body.rfx-editorial-site.home .rfx-card-title-first[class] {
	--rfx-card-category-to-title-gap: 0px;
	--rfx-card-media-content-gap: var(--rfx-home-media-excerpt-gap);
}
body.rfx-editorial-site.home .rfx-card-title-first[class] > :is(h2, h3, h4, .rfx-card-title) {
	margin-block: 0 var(--rfx-home-title-media-gap);
}
/* The GB label already had 15px padding. Do not add the generic 16px
 * media margin on top (the former effective 31px gap). */
body.rfx-editorial-site.home .gb-element-97b146f9 > div {
	--rfx-card-media-content-gap: 0px;
	--rfx-card-category-to-title-gap: 0px;
	/* The excerpt paragraph supplies its native bottom margin; no spacer. */
}
body.rfx-editorial-site.home .gb-element-97b146f9 > div > .rfx-category-label {
	padding-block-start: var(--rfx-home-four-media-label-inset);
}

/* Article Latest is the compact sidebar role measured in STAGING, not a
 * listing card H2. Preserve the column heading and title/date composition. */
body.rfx-editorial-site .widget-area .gb-element-606d3097 > .wp-block-heading {
	font-family: var(--rfx-font-family-display);
	font-size: var(--rfx-type-section-title-size);
	font-weight: var(--rfx-font-weight-bold);
	line-height: var(--rfx-type-section-title-line);
	letter-spacing: var(--rfx-letter-spacing-tight);
	color: var(--rfx-color-text-strong);
	margin: 0 0 20px;
}
body.rfx-editorial-site .widget-area .rfx-editorial-query .gb-loop-item > h2,
body.rfx-editorial-site .widget-area .rfx-sidebar-card__title[class] {
	font-family: var(--rfx-font-family-display);
	font-size: var(--rfx-article-sidebar-item-size);
	font-weight: var(--rfx-font-weight-bold);
	line-height: var(--rfx-article-sidebar-item-line);
	letter-spacing: var(--rfx-letter-spacing-tight);
	color: var(--rfx-color-text-strong);
	margin: 0 0 5px;
}
body.rfx-editorial-site .widget-area .rfx-editorial-query .gb-loop-item > p.rfx-metadata {
	font-family: var(--rfx-font-family-serif);
	font-size: var(--rfx-type-metadata-size);
	font-weight: var(--rfx-font-weight-regular);
	line-height: var(--rfx-article-sidebar-date-line);
	letter-spacing: var(--rfx-letter-spacing-body);
	color: var(--rfx-color-text-strong);
	margin: 0;
}

/* Opinion shares the Homepage title/author roles; only its sidebar geometry is compact. */
body.rfx-editorial-site .widget-area .rfx-sidebar-card__title.rfx-column-item-title[class],
body.rfx-editorial-site .rfx-editorial-listing-sidebar__item--opinion .rfx-editorial-listing-sidebar__item-title.rfx-column-item-title[class] {
	font-family: var(--rfx-font-family-display);
	font-size: var(--rfx-type-sidebar-item-title-size);
	font-weight: var(--rfx-font-weight-semibold);
	line-height: var(--rfx-type-sidebar-item-title-line);
	letter-spacing: var(--rfx-letter-spacing-body);
	color: var(--rfx-color-text-muted);
	margin: 0 0 var(--rfx-space-1);
}
body.rfx-editorial-site .widget-area .rfx-sidebar-card__author.rfx-author-name[class],
body.rfx-editorial-site .rfx-editorial-listing-sidebar__item--opinion .rfx-editorial-listing-sidebar__author.rfx-author-name[class] {
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-type-body-size);
	font-weight: var(--rfx-font-weight-bold);
	line-height: var(--rfx-type-body-line);
	letter-spacing: var(--rfx-letter-spacing-body);
	color: var(--rfx-color-text-muted);
	margin: 0;
}

@media (min-width: 64rem) {
	body.rfx-editorial-site:not(.home).right-sidebar .site-main { margin-inline-end: var(--rfx-content-sidebar-gap); }
	body.rfx-editorial-site:not(.home).right-sidebar .widget-area { padding-inline-start: 0; }
}
@media (max-width: 63.999rem) {
	body.rfx-editorial-site:not(.home).right-sidebar .site-content { flex-direction: column; }
	body.rfx-editorial-site:not(.home).right-sidebar .site-content :is(.content-area, .widget-area) { width: 100%; }
	body.rfx-editorial-site:not(.home).right-sidebar .site-main { margin-inline-end: 0; }
	body.rfx-editorial-site:not(.home).right-sidebar .widget-area { margin-top: var(--rfx-space-8); padding-inline: 0; }
}
