/* Masters estruturais comuns. Classes jdg/rfx-jornal são aliases CSS legados,
 * não variantes de layout: ambos os blogs recebem exatamente estas regras. */
body.rfx-editorial-site {
	--rfx-letter-spacing-body: -0.03125rem;
	--rfx-color-brand: var(--rfx-color-action);
	--rfx-color-brand-dark: var(--rfx-color-action-hover);
	--rfx-color-muted: var(--rfx-color-text-muted);
	--rfx-color-background: var(--rfx-color-surface);
	--rfx-content-width: var(--rfx-container-content);
	--rfx-reading-width: var(--rfx-container-reading);
	--rfx-sidebar-gap: var(--rfx-space-8);
	--rfx-container-content: 1280px;
	--rfx-container-width: var(--rfx-container-content);
	--gb-container-width: var(--rfx-container-content);
	--accent: var(--rfx-color-brand);
	--contrast: var(--rfx-color-text);
	--contrast-2: var(--rfx-color-text);
	--contrast-3: var(--rfx-color-muted);
	--base: var(--rfx-color-border);
	--base-2: var(--rfx-color-background);
	--base-3: var(--rfx-color-action-text);
	--gp-font--ibm-plex-sans: var(--rfx-font-family-sans);
	--gp-font--ibm-plex-serif: var(--rfx-font-family-serif);
	color: var(--rfx-color-text);
	font-family: var(--rfx-font-family-serif);
	font-size: var(--rfx-font-size-body);
	font-weight: var(--rfx-font-weight-regular);
	line-height: var(--rfx-line-height-body);
	letter-spacing: var(--rfx-letter-spacing-body);
}

/* Typography roles and legacy selector adapters live in component-roles.css.
 * Masters own composition only, not another copy of the component scale. */
@media (max-width: 48rem) {
	body.rfx-editorial-site {
		--rfx-editorial-h1-size: 2.25rem;
		--rfx-editorial-h2-size: 1.75rem;
	}
}

/* PDF page 2: the mobile homepage is an editorial sequence, not a scaled
 * desktop grid. Keep the same Gutenberg Master and the same nine logical
 * desktop ad placements for both Brand Contexts. */
@media (max-width: 48rem) {
	body.rfx-editorial-site.home .gb-element-fa96bd99 {
		display: flex;
		flex-direction: column;
		min-width: 0;
	}
	body.rfx-editorial-site.home .gb-element-fa96bd99 > .gb-element-4c8ea34e { order: 1; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 > .gb-text-c4efef48 { order: 2; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 > .gb-element-edd93f79 { order: 3; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 > .gb-element-0f9e8d7e { order: 4; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 > .gb-element-d7d0b462 { order: 7; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 > .rfx-jornal-home-external-sources { order: 9; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 > .gb-element-bceec245 { order: 22; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 > .gb-element-e0fe0caa { order: 23; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 > .gb-element-176702bd { order: 24; }

	/* Flatten only presentation wrappers so the ad S can follow the second
	 * editorial story, while Opinion and Latest remain distinct sections. */
	body.rfx-editorial-site.home :is(.gb-element-509ddabc, .gb-element-9b2f66d2) {
		display: contents;
	}
	body.rfx-editorial-site.home .gb-element-50fd7d3b { order: 5; border-right: 0; padding-right: 0; }
	body.rfx-editorial-site.home .gb-element-c054a809 { order: 6; border-right: 0; padding-right: 0; }
	body.rfx-editorial-site.home .gb-element-9b2f66d2 > :nth-child(3) { order: 8; }
	body.rfx-editorial-site.home .gb-tabs.rfx-homepage-mobile-sections > .gb-tabs__menu { display: none; }
	body.rfx-editorial-site.home .gb-tabs.rfx-homepage-mobile-sections > .gb-tabs__items > .gb-tabs__item {
		display: block !important;
		visibility: visible !important;
		margin-bottom: var(--rfx-space-8);
	}
	body.rfx-editorial-site.home .rfx-homepage-mobile-section-title {
		color: var(--rfx-color-brand);
		margin-block: var(--rfx-space-7) var(--rfx-space-3);
	}

	/* Related stories use text-left / 3:2 media-right on the narrow page. */
	body.rfx-editorial-site.home .gb-element-edd93f79 {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 0;
	}
	body.rfx-editorial-site.home .gb-element-edd93f79 > div {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 38%);
		column-gap: var(--rfx-space-4);
		align-items: start;
		padding-block: var(--rfx-space-4);
		border-bottom: 1px solid var(--rfx-color-divider);
	}
	body.rfx-editorial-site.home .gb-element-edd93f79 > div > .rfx-jornal-blueprint__media {
		grid-column: 2;
		grid-row: 1 / span 3;
		width: 100%;
		aspect-ratio: var(--rfx-photo-ratio);
		overflow: hidden;
	}
	body.rfx-editorial-site.home .gb-element-edd93f79 > div > :is(p, h4) { grid-column: 1; }
	body.rfx-editorial-site.home .gb-element-edd93f79 > div > .rfx-label--category { padding-top: 0; }
	body.rfx-editorial-site.home .gb-element-edd93f79 > div > .rfx-jornal-blueprint__media img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	/* Two lateral placements remain independent, separated from the four
	 * desktop-only vertical placements in the lower listing. */
	body.rfx-editorial-site.home :is(
		.gb-element-6b86d1cd,
		.gb-element-8abe2f32,
		.gb-element-f89ca491,
		.gb-element-6b86d1cd > .rfx-editorial-card,
		.gb-element-97b146f9
	) { display: contents; }
	body.rfx-editorial-site.home .gb-element-6b86d1cd > .rfx-editorial-card > p { display: none; }
	body.rfx-editorial-site.home .gb-element-8abe2f32 > :nth-child(1) { order: 10; }
	body.rfx-editorial-site.home .gb-element-8abe2f32 > :nth-child(2) { order: 11; }
	body.rfx-editorial-site.home .gb-element-8abe2f32 > :nth-child(3) { order: 12; }
	body.rfx-editorial-site.home .gb-element-f89ca491 > :nth-child(1) { order: 13; }
	body.rfx-editorial-site.home .gb-element-f89ca491 > :nth-child(2) { order: 14; }
	body.rfx-editorial-site.home .gb-element-f89ca491 > :nth-child(3) { order: 16; }
	body.rfx-editorial-site.home .gb-element-97b146f9 > :nth-child(1) { order: 17; }
	body.rfx-editorial-site.home .gb-element-97b146f9 > :nth-child(2) { order: 18; }
	body.rfx-editorial-site.home .gb-element-97b146f9 > :nth-child(3) { order: 19; }
	body.rfx-editorial-site.home .gb-element-97b146f9 > :nth-child(4) { order: 20; }
	body.rfx-editorial-site.home .gb-element-97b146f9 > * {
		flex: none;
		width: 100%;
	}
	body.rfx-editorial-site.home .gb-element-6b86d1cd > .rfx-editorial-card > .rfx-ad {
		width: min(100%, 800px);
		margin-inline: auto;
	}
	body.rfx-editorial-site.home .gb-element-6b86d1cd > .rfx-editorial-card > .rfx-ad--homepage_lateral {
		order: 15;
		max-width: 100%;
	}
	body.rfx-editorial-site.home .gb-element-6b86d1cd > .rfx-editorial-card > .rfx-ad--homepage_lateral_secondary { order: 21; }
	body.rfx-editorial-site.home .gb-element-e0fe0caa > .rfx-editorial-card { display: none; }
	body.rfx-editorial-site.home .gb-element-e0fe0caa { grid-template-columns: minmax(0, 1fr); }

	/* Footer groups become operable, single-column disclosures only on mobile. */
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__columns {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding-bottom: 0;
	}
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__column {
		padding-block: var(--rfx-space-4);
		border-bottom: 1px solid var(--rfx-color-divider);
	}
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-homepage-footer-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 0;
		color: inherit;
		background: transparent;
		border: 0;
		font: inherit;
		text-align: left;
		cursor: pointer;
	}
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-homepage-footer-toggle::after {
		content: '';
		width: .45em;
		height: .45em;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg);
		margin-inline-end: var(--rfx-space-2);
	}
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-homepage-footer-toggle[aria-expanded='true']::after { transform: rotate(225deg); }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__column > ul[hidden] { display: none !important; }
}

body.rfx-editorial-site .rfx-brand-logo {
	display: inline-flex;
	background: var(--rfx-color-brand);
}

body.rfx-editorial-site .rfx-brand-logo img {
	width: 180px;
	height: auto;
}

/* Os logos nativos das duas marcas são SVG monocromáticos brancos para o
 * header. Na overlay clara, mostrar a mesma imagem na cor de marca, sem
 * clonar URLs/IDs ou distorcer a proporção. Novas marcas conservam o asset. */
body.rfx-site-jornal .gb-overlay .rfx-brand-logo,
body.rfx-site-reflexo .gb-overlay .rfx-brand-logo {
	background: transparent;
}
body.rfx-site-jornal .gb-overlay .rfx-brand-logo img {
	filter: brightness(0) saturate(100%) invert(41%) sepia(30%) saturate(1337%) hue-rotate(211deg) brightness(93%) contrast(90%);
}
body.rfx-site-reflexo .gb-overlay .rfx-brand-logo img {
	filter: brightness(0) saturate(100%) invert(15%) sepia(87%) saturate(2890%) hue-rotate(352deg) brightness(87%) contrast(100%);
}

body.rfx-editorial-site .rfx-header-action {
	color: var(--rfx-color-action-text);
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-font-size-menu);
	font-weight: var(--rfx-font-weight-bold);
	line-height: 1.5;
	letter-spacing: normal;
	text-transform: uppercase;
}

body.rfx-editorial-site .rfx-overlay-close {
	font-size: 1.5rem;
	line-height: 1;
	padding: 0.625rem;
}

/* Limites comuns; só títulos de cards, nunca o corpo/título de um artigo. */
body.rfx-editorial-site.home main :is(h1, h2, h3, h4):has([data-rfx-editorial-post-id]),
body.rfx-editorial-site .rfx-editorial-query .gb-loop-item > :is(h2, h3, p),
body.rfx-editorial-site .rfx-generic-listing-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	/* A clamped heading must not become a scroll container when its link gets
	 * keyboard focus: hidden scrolls the first line out of view in Chromium. */
	overflow: clip;
}

body.rfx-editorial-site.home main .rfx-hero-title:has([data-rfx-editorial-post-id]) {
	-webkit-line-clamp: 4;
}


/* Composição do blueprint #727: estas superfícies não dependem de Global Styles na BD. */
body.rfx-editorial-site .gb-element-3090d5be {
	background-color: var(--rfx-color-surface-muted);
}

body.rfx-editorial-site .gb-element-e0fe0caa {
	border-bottom: var(--rfx-border-width) solid var(--rfx-color-divider);
}

body.rfx-editorial-site.single-post .entry-content h5 {
	font-size: 1.125rem;
	font-weight: var(--rfx-font-weight-semibold);
}

body.rfx-editorial-site.single-post .entry-content h6 {
	font-size: 1rem;
	font-weight: var(--rfx-font-weight-semibold);
}

/* Mantém o contrato visual dos retratos da tab Opinião quando o conteúdo é dinâmico. */
/* Every Homepage Opinion row owns the same fixed avatar slot, including
 * rows with long titles. No item-specific shrinking or inline baseline gap. */
body.rfx-editorial-site.home #gb-tab-item-139fbeb8 > div > div:first-child { min-width: 0; flex: 1; }
body.rfx-editorial-site.home #gb-tab-item-139fbeb8 > div > div:last-child { flex: 0 0 88px; width: 88px; }
body.rfx-editorial-site.home #gb-tab-item-139fbeb8 .rfx-jornal-blueprint__media { display: block; width: 100%; line-height: 0; }
body.rfx-editorial-site.home #gb-tab-item-139fbeb8 .rfx-jornal-blueprint__opinion-avatar { display: block; width: 88px; height: 88px; }

body.rfx-editorial-site .rfx-jornal-blueprint__opinion-avatar {
	width: 88px;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1;
	flex: 0 1 88px;
	object-fit: cover;
	border-radius: 9999px;
}

/* PDF secondary Optional highlights use neutral ink, not the feature accent.
 * The semantic class is deliberately absent from section/category/excerpt. */
body.rfx-editorial-site.home .rfx-homepage-optional-highlight[class],
body.rfx-editorial-site.home .rfx-homepage-optional-highlight[class] a:is(:link, :visited) { color: var(--rfx-color-text-muted); }

/* Mantém a geometria dos blocos quando um artigo não tem imagem. */
body.rfx-editorial-site .rfx-jornal-blueprint__media-fallback {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--rfx-color-surface-muted);
}

body.rfx-editorial-site .rfx-jornal-blueprint__media-fallback--opinion {
	width: 88px;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1;
	flex: 0 1 88px;
	border-radius: 9999px;
}

/* A folha dinâmica ocupa a largura do slot, não a altura esticada da linha grid. */
body.rfx-editorial-site .rfx-jornal-blueprint__media,
body.rfx-editorial-site .rfx-jornal-blueprint__image,
body.rfx-editorial-site .rfx-jornal-homepage-optional__image {
	display: block;
	min-width: 0;
	max-width: 100%;
}

/* A substituição dinâmica preserva a geometria de cada media block da #727.
 * Os rácios são aplicados aos contextos estruturais, nunca globalmente. */
/* O formato vem do modelo editorial, não da posição/ID do bloco. */
body.rfx-editorial-site .rfx-jornal-blueprint__media:has(img.rfx-editorial-photo) {
	aspect-ratio: var(--rfx-photo-ratio);
}
body.rfx-editorial-site .rfx-jornal-blueprint__media:has(img.rfx-editorial-video) {
	aspect-ratio: var(--rfx-video-ratio);
}

/* O container intermédio é flex no blueprint; os quatro cartões precisam de
 * bases iguais para não herdarem larguras do conteúdo editorial dinâmico. */
body.rfx-editorial-site .gb-element-97b146f9 > * {
	min-width: 0;
	flex: 1 1 0;
}

/* A faixa de quatro notícias é um só componente: thumbnails, incluindo
 * posters de vídeo, partilham a caixa 3:2 sem mudar o player 16:9 do artigo. */
body.rfx-editorial-site.home .gb-element-97b146f9 :is(.rfx-jornal-blueprint__media, .rfx-jornal-blueprint__image) {
	width: 100%;
	aspect-ratio: var(--rfx-photo-ratio);
	overflow: hidden;
}
body.rfx-editorial-site .gb-element-97b146f9 img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	aspect-ratio: var(--rfx-photo-ratio);
	object-fit: cover;
}
body.rfx-editorial-site .gb-element-97b146f9 .rfx-editorial-excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

body.rfx-editorial-site :is(
	.gb-element-4c8ea34e,
	.gb-element-edd93f79,
	.gb-element-50fd7d3b,
	.gb-element-6b86d1cd,
	.gb-element-97b146f9,
	.gb-element-481d4a5e,
	.gb-element-84fc3b57,
	.gb-element-0298677b,
	.gb-element-d3e569f8,
	.gb-element-abd58190,
	.gb-element-7e3398a1,
	.gb-element-76a7400f,
	.gb-element-c91ca95f,
	.gb-element-b98c330c,
	.gb-element-8ec38607
) .rfx-jornal-blueprint__media > .rfx-jornal-blueprint__media-fallback {
	display: block;
	width: 100%;
	height: 100%;
}

body.rfx-editorial-site :is(
	.gb-element-4c8ea34e,
	.gb-element-edd93f79,
	.gb-element-50fd7d3b,
	.gb-element-6b86d1cd,
	.gb-element-97b146f9,
	.gb-element-481d4a5e,
	.gb-element-84fc3b57,
	.gb-element-0298677b,
	.gb-element-d3e569f8,
	.gb-element-abd58190,
	.gb-element-7e3398a1,
	.gb-element-76a7400f,
	.gb-element-c91ca95f,
	.gb-element-b98c330c,
	.gb-element-8ec38607
) .rfx-jornal-blueprint__media img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: cover;
	object-position: center;
}

/* Os títulos ligados preservam o accent definido pelo design do blueprint. */
body.rfx-editorial-site a.rfx-jornal-blueprint__link,
body.rfx-editorial-site a.rfx-jornal-blueprint__link:visited {
	/* color: var(--rfx-color-action); */
	font: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	text-decoration: none;
}

/* Estados de ligação editoriais partilhados pela apresentação Jornal. */
body.rfx-editorial-site :is(.entry-content, .paging-navigation, .comments-area, .page-header) a:not(:where(.rfx-category-label *, .rfx-subcategory-label *, .rfx-label--category *, .rfx-generic-listing__subcategories *, .rfx-generic-listing-card__label *, .rfx-editorial-taxonomy-link--category, .rfx-jornal-blueprint__category-link, :has(.rfx-jornal-blueprint__category-link))):not(:where(.rfx-paywall-action)):hover {
	color: var(--rfx-color-action-hover);
}

/*
 * O blueprint recebe títulos, CTAs, taxonomias e autores. Cada tipo mantém a
 * sua cor base. Taxonomias são excluídas pelo role ancestral ou pelo marcador
 * descendente: a classe category-link nem sempre está no próprio anchor.
 */
body.rfx-editorial-site a.rfx-jornal-blueprint__link:not(.rfx-category-label *, .rfx-subcategory-label *, .rfx-label--category *, .rfx-generic-listing__subcategories *, .rfx-generic-listing-card__label *, .rfx-editorial-taxonomy-link--category, .rfx-jornal-blueprint__category-link, :has(.rfx-jornal-blueprint__category-link)):not(.rfx-jornal-blueprint__link--author):hover {
	color: var(--rfx-color-action-hover);
	text-decoration: none;
}

body.rfx-editorial-site a.rfx-jornal-blueprint__category-link:hover {
	color: var(--rfx-color-category-hover);
	text-decoration: none;
}

body.rfx-editorial-site a.rfx-jornal-blueprint__link--author:hover {
	color: var(--rfx-color-action);
	text-decoration: none;
}

body.rfx-editorial-site a.rfx-jornal-blueprint__link:not(:where(.rfx-category-label *, .rfx-subcategory-label *, .rfx-label--category *, .rfx-generic-listing__subcategories *, .rfx-generic-listing-card__label *, .rfx-editorial-taxonomy-link--category, .rfx-jornal-blueprint__category-link, :has(.rfx-jornal-blueprint__category-link))):focus-visible {
	color: var(--rfx-color-action);
	text-decoration: none;
}

body.rfx-editorial-site a.rfx-jornal-blueprint__link:focus-visible {
	outline: var(--rfx-focus-outline-width) solid var(--rfx-focus-outline-color);
	outline-offset: var(--rfx-focus-outline-offset);
}

/* O autor de Opinião é informação editorial, não um título/accent link. */
body.rfx-editorial-site .rfx-autor-opiniao a.rfx-jornal-blueprint__link--author,
body.rfx-editorial-site .rfx-autor-opiniao a.rfx-jornal-blueprint__link--author:visited {
	color: var(--rfx-color-text-muted);
	text-decoration: none;
}

body.rfx-editorial-site .rfx-autor-opiniao a.rfx-jornal-blueprint__link--author:hover,
body.rfx-editorial-site .rfx-autor-opiniao a.rfx-jornal-blueprint__link--author:active {
	color: var(--rfx-color-action);
	text-decoration: none;
}

/* O Master da Homepage já ocupa o contentor do GeneratePress. */
body.rfx-editorial-site.home .site-main > article > .inside-article {
	margin: 0;
	padding: 0;
	background: transparent;
	box-sizing: border-box;
}

body.rfx-editorial-site .entry-content :is(figcaption, .wp-element-caption) {
	margin-bottom: 2.5rem;
	padding-bottom: var(--rfx-space-2);
	color: var(--rfx-color-text-muted);
	font-family: var(--rfx-font-family-sans);
	font-size: 0.875rem;
	font-weight: var(--rfx-font-weight-regular);
	line-height: var(--rfx-line-height-caption);
	text-align: right;
	border-bottom: var(--rfx-border-width) solid var(--rfx-color-divider);
}

body.rfx-editorial-site .entry-content p:not([class*="rfx-"]) a:not([class*="rfx-"]):not(.gb-button):not(.wp-block-button__link),
body.rfx-editorial-site .entry-content li:not([class*="rfx-"]) a:not([class*="rfx-"]):not(.gb-button):not(.wp-block-button__link) {
	font-weight: var(--rfx-font-weight-semibold);
	text-decoration-line: underline;
	text-decoration-thickness: var(--rfx-border-width);
	text-underline-offset: 0.14em;
}

body.rfx-editorial-site .entry-content p:not([class*="rfx-"]) a:not([class*="rfx-"]):not(.gb-button):not(.wp-block-button__link):hover,
body.rfx-editorial-site .entry-content li:not([class*="rfx-"]) a:not([class*="rfx-"]):not(.gb-button):not(.wp-block-button__link):hover {
	text-decoration: none;
}

/* Templates editoriais versionados do Jornal de Guimarães. */
body.rfx-editorial-site :is(.site-content, .inside-article, .page-header) {
	font-family: var(--rfx-font-family-serif);
}

body.rfx-editorial-site .site-main > .page-header,
body.rfx-editorial-site .site-main > article {
	margin-bottom: var(--rfx-space-10);
}

body.rfx-editorial-site .entry-header .entry-title,
body.rfx-editorial-site .page-header .page-title {
	max-width: var(--rfx-container-reading);
	margin-bottom: var(--rfx-space-5);
}

body.rfx-editorial-site .entry-header .entry-title a,
body.rfx-editorial-site .page-header .page-title {
	color: var(--rfx-color-text-strong);
	text-decoration: none;
}

body.rfx-editorial-site .post-image img,
body.rfx-editorial-site .featured-image img {
	width: 100%;
	height: auto;
	aspect-ratio: var(--rfx-photo-ratio);
	object-fit: cover;
	border-radius: var(--rfx-radius-sm);
}

/* Body do Guia: 18/29,7 com 27px entre parágrafos, só em texto editorial. */
body.rfx-editorial-site :is(.single-post .entry-content, .page:not(.rfx-institutional-context):not(.rfx-institutional) .entry-content > .wp-block-paragraph: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);
}
body.rfx-editorial-site.single-post .entry-content :is(p, li):not([class*="rfx-"]) {
	line-height: var(--rfx-type-body-line);
}
body.rfx-editorial-site.single-post .entry-content > p:not([class*="rfx-"]) {
	margin-bottom: var(--rfx-article-paragraph-gap);
}

/* Um só slot principal depois do byline: foto 3:2 ou player 16:9. */
body.rfx-editorial-site.single-post .rfx-editorial-primary-media {
	width: 100%;
	max-width: none;
	min-width: 0;
	margin: var(--rfx-space-5) 0;
}
body.rfx-editorial-site.single-post .rfx-editorial-primary-media .rfx-editorial-featured-media {
	margin: 0;
}
body.rfx-editorial-site.single-post .rfx-editorial-primary-media .featured-image {
	margin: 0;
}
body.rfx-editorial-site.single-post .rfx-editorial-primary-media :is(img, iframe, video) {
	max-width: 100%;
}
body.rfx-editorial-site .rfx-editorial-primary-video {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0 0 var(--rfx-space-5);
}
body.rfx-editorial-site .rfx-editorial-primary-video figure {
	margin: 0;
	max-width: 100%;
}
body.rfx-editorial-site .rfx-editorial-primary-video :is(.rfx-article-video-player, video) {
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
}
body.rfx-editorial-site .rfx-editorial-primary-video :is(iframe, video) {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
	object-fit: contain;
}

/* VF 25/10: categoria e restrição partilham a linha, com wrap no mobile. */
body.rfx-editorial-site.single-post .rfx-article-labels {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--rfx-space-2) var(--rfx-space-4);
	margin-bottom: var(--rfx-space-3);
}
body.rfx-editorial-site.single-post .rfx-article-labels :is(p, .rfx-jornal-entry-category) { margin: 0; }

body.rfx-editorial-site.single-post .entry-header > div:first-child p a {
	font-size: var(--rfx-font-size-category);
	font-weight: var(--rfx-font-weight-semibold);
	line-height: var(--rfx-line-height-body);
	text-transform: none;
	color: var(--rfx-color-category);
}

body.rfx-editorial-site.single-post .entry-header .rfx-author-avatar {
	width: 2rem;
	height: 2rem;
}

/* Geometria do Master Article, independente dos spacing settings GeneratePress. */
body.rfx-editorial-site.single-post .site-main > article > .inside-article {
	padding: var(--rfx-article-padding-desktop) 0;
}
body.rfx-editorial-site.single-post .site-main {
	margin: 0;
}
body.rfx-editorial-site.single-post .rfx-article-frame,
body.rfx-editorial-site.single-post .rfx-article-shell {
	width: 100%;
	min-width: 0;
}
body.rfx-editorial-site.single-post .rfx-article-content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--rfx-article-sidebar-width);
	column-gap: var(--rfx-article-outer-gap);
	align-items: start;
}
body.rfx-editorial-site.single-post .rfx-article-main {
	--rfx-article-reading-width: 100%;
	min-width: 0;
}
body.rfx-editorial-site.single-post .rfx-article-related {
	width: 100%;
	max-width: var(--rfx-article-reading-width);
}
body.rfx-editorial-site.single-post .rfx-article-content-layout .widget-area {
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}
body.rfx-editorial-site.single-post .rfx-article-content-layout .inside-right-sidebar {
	margin: 0;
}
/* Na variante Opinião, a grelha começa na categoria e só Opinião recebe
 * o estado ativo; a sidebar e a byline dos artigos normais não mudam. */
body.rfx-editorial-site.single-post .rfx-article-content-layout--opinion .widget-area .gb-element-606d3097 > .wp-block-heading:first-of-type {
	color: var(--rfx-color-column-title-inactive);
}
body.rfx-editorial-site.single-post .rfx-article-content-layout--opinion .widget-area .gb-element-606d3097 > .wp-block-heading:last-of-type {
	color: var(--rfx-color-column-title-active);
}
body.rfx-editorial-site.single-post :is(.entry-header .entry-title, .rfx-editorial-lead, .entry-content) {
	max-width: var(--rfx-article-reading-width);
}
/* VF: o header normal ocupa a largura da media; a leitura mantém a coluna. */
body.rfx-editorial-site .rfx-article-master--standard .entry-header :is(.entry-title, .rfx-editorial-lead) {
	max-width: none;
}
body.rfx-editorial-site .rfx-article-master--standard {
	--rfx-article-title-color: var(--rfx-color-brand);
}
body.rfx-editorial-site .rfx-article-master--standard .rfx-article-date {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--rfx-space-2) var(--rfx-space-3);
}
body.rfx-editorial-site .rfx-article-master--standard .rfx-article-date > * {
	margin: 0;
}
/* Related VF: uma lista de cartões horizontais na coluna de leitura. */
body.rfx-editorial-site .rfx-article-related .rfx-related-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	align-items: start;
	gap: var(--rfx-space-4);
	padding: 0 0 var(--rfx-space-6);
	border-bottom: 1px solid var(--rfx-color-divider);
}
body.rfx-editorial-site .rfx-article-related .rfx-related-card:not(:has(> .wp-block-post-featured-image img)) {
	grid-template-columns: minmax(0, 1fr);
}
body.rfx-editorial-site .rfx-article-related .rfx-related-card > * {
	min-width: 0;
	margin: 0;
}
body.rfx-editorial-site .rfx-related-card__content > * {
	margin: 0 0 var(--rfx-space-2);
}
body.rfx-editorial-site .rfx-related-card__content > :last-child {
	margin-bottom: 0;
}
@media (min-width: 64rem) {
	body.rfx-editorial-site.single-post .rfx-article-main .entry-content { box-sizing: border-box; padding-right: 30px; }
	body.rfx-editorial-site.single-post .rfx-article-content-layout { column-gap: var(--rfx-space-12); }
	/* ADR 0041: relative VF gallery columns; container and Opinion remain unchanged. */
	body.rfx-editorial-site.single-post .rfx-article-master--gallery:not(.rfx-article-master--opinion) .rfx-article-content-layout {
		grid-template-columns: minmax(0, 37fr) minmax(0, 19fr);
		column-gap: calc(100% / 15);
	}
	body.rfx-editorial-site.single-post .rfx-article-content-layout .widget-area { box-sizing: border-box; }
	/* Opinião: sidebar acompanha o título; a posição ampla após media fica oculta. */
	body.rfx-editorial-site.single-post .rfx-article-master--opinion .rfx-article-shell {
		display: grid;
		grid-template-columns: minmax(0, 1fr) var(--rfx-article-sidebar-width);
		grid-template-rows: auto auto minmax(0, 1fr);
		column-gap: var(--rfx-space-12);
	}
	body.rfx-editorial-site.single-post .rfx-article-master--opinion .rfx-article-content-layout { display: contents; }
	body.rfx-editorial-site.single-post .rfx-article-master--opinion .entry-header { grid-column: 1; grid-row: 1; }
	body.rfx-editorial-site.single-post .rfx-article-master--opinion .rfx-editorial-primary-media { grid-column: 1; grid-row: 2; }
	body.rfx-editorial-site.single-post .rfx-article-master--opinion .rfx-article-main { grid-column: 1; grid-row: 3; }
	body.rfx-editorial-site.single-post .rfx-article-master--opinion .widget-area { grid-column: 2; grid-row: 1 / 4; }
	body.rfx-editorial-site.single-post .rfx-article-master--opinion .rfx-article-ad--after-media { display: none; }
}
@media (max-width: 63.999rem) {
	body.rfx-editorial-site.single-post .site-main > article > .inside-article { padding-block: var(--rfx-article-padding-mobile); }
	body.rfx-editorial-site.single-post .rfx-article-content-layout { grid-template-columns: minmax(0, 1fr); row-gap: var(--rfx-space-8); }
}

/* Match the approved Homepage container gutters, retaining vertical spacing. */
@media (max-width: 1024px) {
	body.rfx-editorial-site.single-post .site-main > article > .inside-article { padding-inline: var(--rfx-container-gutter); }
}
@media (max-width: 767px) {
	body.rfx-editorial-site.single-post .site-main > article > .inside-article { padding-inline: 15px; }
}

.rfx-jornal-entry-category {
	margin-top: 0;
	margin-bottom: var(--rfx-space-3);
}

.rfx-jornal-post-meta {
	display: flex;
	align-items: center;
	gap: var(--rfx-space-3);
	padding: var(--rfx-space-4) 0;
	margin: var(--rfx-space-5) 0;
	font-family: var(--rfx-font-family-sans);
	border-top: var(--rfx-border-width) solid var(--rfx-color-divider);
	border-bottom: var(--rfx-border-width) solid var(--rfx-color-divider);
}

.rfx-jornal-post-meta__avatar .avatar,
.rfx-jornal-author-profile__avatar .avatar,
.rfx-editorial-listing-sidebar__avatar .avatar {
	display: block;
	border-radius: 50%;
}

.rfx-jornal-post-meta__details {
	display: grid;
	gap: 0.125rem;
}

.rfx-jornal-post-meta__author,
.rfx-jornal-post-meta__date,
.rfx-editorial-listing-sidebar__date,
.rfx-jornal-related-posts__date {
	margin: 0;
	color: var(--rfx-color-text-muted);
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-type-metadata-size);
	line-height: var(--rfx-line-height-caption);
}

.rfx-jornal-post-meta__author a,
.rfx-editorial-listing-sidebar__item-title a,
.rfx-jornal-related-posts__item-title a {
	color: inherit;
	text-decoration: none;
}

.rfx-jornal-post-meta--opinion {
	gap: 1.25rem;
	padding-top: var(--rfx-space-5);
	padding-bottom: var(--rfx-space-5);
	border: 0;
}

.rfx-jornal-post-meta--opinion .rfx-jornal-post-meta__avatar {
	flex: 0 0 10rem;
	max-width: 10rem;
}

.rfx-jornal-post-meta--opinion .rfx-jornal-post-meta__avatar .avatar {
	width: 10rem;
	height: 10rem;
	object-fit: cover;
}

.rfx-jornal-post-meta--opinion .rfx-jornal-post-meta__details {
	gap: 0.3125rem;
}

.rfx-jornal-post-meta--opinion .rfx-autor-opiniao {
	margin: 0;
	font-family: var(--rfx-font-family-sans);
	font-size: 1.5rem;
	font-weight: var(--rfx-font-weight-semibold);
	line-height: 1.2;
}

.rfx-jornal-post-meta--opinion .rfx-jornal-post-meta__date,
.rfx-jornal-post-meta--opinion .rfx-jornal-post-meta__role {
	margin: 0;
	color: var(--rfx-color-text-muted);
	font-family: var(--rfx-font-family-sans);
	font-size: 1rem;
	line-height: 1.4;
}

.rfx-jornal-editorial-lead > :last-child {
	margin-bottom: 0;
}

.rfx-jornal-author-profile {
	display: flex;
	align-items: center;
	gap: var(--rfx-space-5);
	max-width: var(--rfx-container-content);
	padding: var(--rfx-space-6) 0;
	margin-bottom: var(--rfx-space-8);
	border-bottom: var(--rfx-border-width) solid var(--rfx-color-divider);
}

.rfx-jornal-author-profile__title {
	margin: 0 0 var(--rfx-space-2);
}

.rfx-jornal-author-profile__description {
	margin: 0;
	color: var(--rfx-color-text-muted);
}

/* O perfil de autor reutiliza o Master Genérico, mas o Jornal apresenta uma
 * coluna única textual, conforme o arquivo público de autores. */
body.rfx-editorial-site.rfx-generic-listing-context--author .rfx-author-profile-area {
	float: none;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--rfx-container-content);
	padding-inline: var(--rfx-container-gutter);
	margin: 0 auto;
}

body.rfx-editorial-site.rfx-generic-listing-context--author .rfx-author-profile {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	padding: var(--rfx-space-8) 0 0;
	margin: 0;
}

body.rfx-editorial-site.rfx-generic-listing-context--author .rfx-generic-listing {
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 2rem 0 0;
}

body.rfx-editorial-site.rfx-generic-listing-context--author .rfx-generic-listing__grid {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}

body.rfx-editorial-site.rfx-generic-listing-context--author .rfx-generic-listing__pagination {
	margin-top: var(--rfx-space-5);
}

/* Sidebar de listagens: equivalente versionado do Element #56. */
/* O Master GB define o tamanho compacto; peso e ritmo não podem herdar
 * os defaults h2 diferentes do GeneratePress em cada blog. */
body.rfx-editorial-site .widget-area .rfx-editorial-query .gb-loop-item > :is(h2, h3) {
	font-weight: var(--rfx-font-weight-bold);
	letter-spacing: var(--rfx-letter-spacing-tight);
	line-height: 1.22;
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__section {
	padding: 0;
	margin: 0 0 3.125rem;
	border: 0;
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__title {
	padding: 0;
	margin: 0 0 1.25rem;
	color: var(--rfx-color-text-muted);
	font-family: var(--rfx-font-family-sans);
	font-size: 2rem;
	font-weight: var(--rfx-font-weight-bold);
	letter-spacing: -0.0625rem;
	line-height: 1.22;
	border: 0;
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__list {
	display: grid;
	gap: 1.25rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__item {
	padding: 0;
	margin: 0;
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__item-title,
.rfx-jornal-related-posts__item-title {
	margin: 0 0 var(--rfx-space-1);
	font-size: 1.25rem;
	line-height: 1.25;
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__item-title {
	color: var(--rfx-color-text-strong);
	font-family: var(--rfx-font-family-sans);
	font-size: 1.25rem;
	font-weight: var(--rfx-font-weight-bold);
	letter-spacing: 0;
	line-height: 1.22;
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__item-title a,
body.rfx-editorial-site .rfx-editorial-listing-sidebar__author a {
	color: var(--rfx-color-text-strong);
	text-decoration: none;
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__item-title a:visited,
body.rfx-editorial-site .rfx-editorial-listing-sidebar__author a:visited {
	color: var(--rfx-color-text-strong);
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__item-title a:hover,
body.rfx-editorial-site .rfx-editorial-listing-sidebar__item-title a:focus-visible,
body.rfx-editorial-site .rfx-editorial-listing-sidebar__author a:hover,
body.rfx-editorial-site .rfx-editorial-listing-sidebar__author a:focus-visible {
	color: var(--rfx-color-text-muted);
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__date {
	display: block;
	color: var(--rfx-color-text-muted);
	font-family: var(--rfx-font-family-serif);
	font-size: 0.875rem;
	font-weight: var(--rfx-font-weight-regular);
	letter-spacing: -0.03125rem;
	line-height: 1.65;
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__item--opinion {
	padding-bottom: 1.25rem;
	border-bottom: var(--rfx-border-width) solid var(--rfx-color-divider);
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__avatar {
	width: 5rem;
	margin: 0;
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__avatar .avatar {
	width: 5rem;
	height: 5rem;
	object-fit: cover;
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__author {
	margin: 0.9375rem 0 0;
	font-family: var(--rfx-font-family-sans);
	font-size: 1rem;
	font-weight: var(--rfx-font-weight-regular);
	line-height: 1.3;
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__role {
	margin: 0;
	color: var(--rfx-color-text-muted);
	font-family: var(--rfx-font-family-sans);
	font-size: 0.875rem;
	line-height: 1.4;
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__item--opinion .rfx-editorial-listing-sidebar__item-title {
	margin: 0 0 var(--rfx-space-1);
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__item--opinion .rfx-editorial-listing-sidebar__author {
	margin: 0 0 var(--rfx-space-2);
}

body.rfx-editorial-site .rfx-editorial-listing-sidebar__item--opinion .rfx-editorial-listing-sidebar__date {
	margin-bottom: 0;
}

.rfx-jornal-related-posts {
	padding-top: var(--rfx-space-10);
	margin-top: var(--rfx-space-10);
	border-top: 1px solid var(--rfx-color-divider);
}

.rfx-jornal-related-posts__title {
	margin: 0 0 var(--rfx-space-6);
}

.rfx-jornal-related-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--rfx-component-card-gap);
}

.rfx-jornal-related-posts__image {
	display: block;
	margin-bottom: var(--rfx-space-3);
}

.rfx-jornal-related-posts__image img {
	display: block;
	width: 100%;
	aspect-ratio: var(--rfx-photo-ratio);
	object-fit: cover;
	border-radius: var(--rfx-radius-sm);
}

/* Patterns editoriais versionados do Jornal de Guimarães. */
body.rfx-editorial-site .rfx-jornal-pattern-lead {
	max-width: var(--rfx-container-reading);
	margin: 0 0 var(--rfx-space-8);
	color: var(--rfx-color-text-strong);
	font-family: var(--rfx-font-family-sans);
	font-size: 1.25rem;
	font-weight: var(--rfx-font-weight-medium);
	line-height: 1.5;
}

body.rfx-editorial-site .rfx-jornal-pattern-quote cite {
	display: block;
	margin-top: var(--rfx-space-3);
	color: var(--rfx-color-text-muted);
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-font-size-caption);
	font-style: normal;
}

body.rfx-editorial-site .rfx-jornal-pattern-ad {
	padding: var(--rfx-space-3) 0 var(--rfx-space-5);
	margin: var(--rfx-space-5) 0;
	border-top: var(--rfx-border-width) solid var(--rfx-color-divider);
	border-bottom: var(--rfx-border-width) solid var(--rfx-color-divider);
}

body.rfx-editorial-site .rfx-jornal-pattern-ad__label {
	margin: 0 0 var(--rfx-space-2);
	color: var(--rfx-color-text-muted);
	font-family: var(--rfx-font-family-sans);
	font-size: 0.75rem;
	font-weight: var(--rfx-font-weight-medium);
	letter-spacing: 0.08em;
	text-align: right;
	text-transform: uppercase;
}

body.rfx-editorial-site .rfx-jornal-pattern-subscription-cta {
	padding: var(--rfx-space-8);
	margin: var(--rfx-space-8) 0;
	color: var(--rfx-color-text-inverse);
	text-align: center;
	background-color: var(--rfx-color-action);
	border-radius: var(--rfx-radius-lg);
}

body.rfx-editorial-site .rfx-jornal-pattern-subscription-cta__title {
	margin: 0 0 var(--rfx-space-3);
	color: inherit;
	font-size: 2rem;
}

body.rfx-editorial-site .rfx-jornal-pattern-subscription-cta__message {
	max-width: var(--rfx-container-reading);
	margin: 0 auto var(--rfx-space-5);
}

body.rfx-editorial-site .rfx-jornal-pattern-subscription-cta__actions {
	justify-content: center;
}

body.rfx-editorial-site .rfx-jornal-pattern-subscription-cta .rfx-button--secondary {
	color: var(--rfx-color-action);
	background-color: var(--rfx-color-surface);
	border-color: var(--rfx-color-surface);
}

/* Homepage editorial, com a mesma sequência e proporções da composição aprovada. */
body.rfx-editorial-site .rfx-jornal-homepage {
	max-width: var(--rfx-container-wide);
	padding: 0 var(--rfx-container-gutter);
	margin: 0 auto;
}

body.rfx-editorial-site .rfx-jornal-homepage__section,
body.rfx-editorial-site .rfx-jornal-homepage__ad {
	border-bottom: var(--rfx-border-width) solid var(--rfx-color-divider);
}

body.rfx-editorial-site .rfx-jornal-homepage__section {
	padding: var(--rfx-component-section-gap) 0;
}

body.rfx-editorial-site .rfx-jornal-homepage__section-title {
	padding-top: var(--rfx-space-5);
	margin: 0 0 var(--rfx-space-6);
	color: var(--rfx-color-text-muted);
	font-size: var(--rfx-type-section-title-size);
	font-weight: var(--rfx-font-weight-bold);
	line-height: var(--rfx-type-section-title-line);
	border-top: 1px solid var(--rfx-color-divider);
}

body.rfx-editorial-site .rfx-jornal-homepage__section--related .rfx-jornal-homepage__section-title {
	color: var(--rfx-color-text-muted);
	font-size: var(--rfx-type-section-title-size);
	font-weight: var(--rfx-font-weight-bold);
	line-height: var(--rfx-type-section-title-line);
}

body.rfx-editorial-site .rfx-jornal-homepage__ad {
	padding: var(--rfx-space-5) 0;
}

.rfx-jornal-homepage__ad-label {
	margin: 0 0 var(--rfx-space-2);
	color: var(--rfx-color-text-muted);
	font-family: var(--rfx-font-family-sans);
	font-size: 0.75rem;
	font-weight: var(--rfx-font-weight-medium);
	letter-spacing: 0.08em;
	text-align: right;
	text-transform: uppercase;
}

.rfx-jornal-home-feed {
	display: grid;
	gap: var(--rfx-space-5);
}

.rfx-jornal-home-feed--related {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 2.75rem;
}

.rfx-jornal-home-feed--grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rfx-jornal-home-feed--intermediate {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 1.875rem;
}

.rfx-jornal-home-feed--compact,
.rfx-jornal-home-feed--list,
.rfx-jornal-home-feed--opinion {
	gap: 0;
}

.rfx-jornal-home-card {
	min-width: 0;
}

.rfx-jornal-home-card__image {
	display: block;
	min-height: 7rem;
	margin-bottom: var(--rfx-space-3);
	background-color: var(--rfx-color-surface-subtle);
	border-radius: var(--rfx-radius-sm);
}

.rfx-jornal-home-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: var(--rfx-photo-ratio);
	object-fit: cover;
	border-radius: inherit;
}

/* Cada variante mantém a proporção da composição correspondente, evitando
 * que imagens de uma mesma linha alterem a altura dos cartões. */
.rfx-jornal-home-card--compact .rfx-jornal-home-card__image img,
.rfx-jornal-home-card--related .rfx-jornal-home-card__image img,
.rfx-jornal-home-card--intermediate .rfx-jornal-home-card__image img {
	aspect-ratio: var(--rfx-photo-ratio);
}

.rfx-jornal-home-card--hero .rfx-jornal-home-card__image img,
.rfx-jornal-home-card--feature .rfx-jornal-home-card__image img {
	aspect-ratio: 16 / 9;
	height: 100%;
	object-fit: cover;
}

.rfx-jornal-home-card--feature .rfx-jornal-home-card__image,
.rfx-jornal-home-card--hero .rfx-jornal-home-card__image {
	overflow: hidden;
}

.rfx-jornal-home-card__category {
	margin: 0 0 var(--rfx-space-2);
}

.rfx-jornal-home-card__title {
	margin: 0 0 var(--rfx-space-2);
	font-size: 1.25rem;
	line-height: 1.2;
}

.rfx-jornal-home-card--hero .rfx-jornal-home-card__title {
	max-width: 62.5rem;
	font-size: 2.625rem;
}

.rfx-jornal-home-card--feature .rfx-jornal-home-card__title {
	font-size: 2rem;
}

.rfx-jornal-home-card--related .rfx-jornal-home-card__title,
.rfx-jornal-home-card--compact .rfx-jornal-home-card__title {
	font-weight: var(--rfx-font-weight-semibold);
}

.rfx-jornal-home-card--related .rfx-jornal-home-card__title {
	font-size: 1.25rem;
	line-height: 1.3;
}

.rfx-jornal-home-card--compact .rfx-jornal-home-card__title {
	font-size: 1.625rem;
	line-height: 1.28;
}

.rfx-jornal-home-card__title a {
	color: var(--rfx-color-text-strong);
	text-decoration: none;
}

.rfx-jornal-home-card__title a:hover,
.rfx-jornal-home-card__title a:focus-visible {
	color: var(--rfx-color-action);
}

.rfx-jornal-home-card__category a:hover {
	color: var(--rfx-color-category-hover);
}

.rfx-jornal-home-card__read-more:hover {
	color: var(--rfx-color-action-hover);
}

.rfx-jornal-home-card__author > a:hover,
.rfx-jornal-home-card__author-avatar-link:hover {
	color: var(--rfx-color-action);
}

.rfx-jornal-home-card__excerpt {
	margin: 0 0 var(--rfx-space-2);
	color: var(--rfx-color-text-muted);
}

.rfx-jornal-home-card__date {
	color: var(--rfx-color-text-muted);
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-font-size-caption);
}

.rfx-jornal-homepage__highlights-grid {
	padding-bottom: 1.875rem;
}

.rfx-jornal-homepage__highlights-grid > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 32px;
}

.rfx-jornal-homepage__highlights-grid--master {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 32px;
}

body.rfx-editorial-site .rfx-jornal-homepage__section--master {
	box-sizing: border-box;
	width: min(1200px, calc(100vw - 80px));
	margin-left: 50%;
	padding: 50px 0 0;
	border-bottom-color: var(--rfx-color-divider);
	transform: translateX(-50%);
}

.rfx-jornal-homepage__section--master .rfx-jornal-homepage__highlights-grid {
	padding-bottom: 30px;
}

.rfx-jornal-homepage__section--master .rfx-jornal-homepage__highlight-secondary-card .rfx-jornal-home-card {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0;
}

.rfx-jornal-homepage__highlight-primary,
.rfx-jornal-homepage__highlight-secondary {
	padding-right: 1.875rem;
	border-right: var(--rfx-border-width) solid var(--rfx-color-divider);
}

.rfx-jornal-homepage__highlight-primary .rfx-jornal-home-card__image {
	margin-top: var(--rfx-space-2);
	margin-bottom: var(--rfx-space-5);
}

.rfx-jornal-homepage__highlight-secondary .rfx-jornal-home-card {
	padding-bottom: var(--rfx-space-4);
	margin-bottom: var(--rfx-space-4);
	border-bottom: var(--rfx-border-width) solid var(--rfx-color-divider);
}

.rfx-jornal-homepage__highlight-secondary .rfx-jornal-home-card:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0;
}

.rfx-jornal-homepage__highlight-secondary--last {
	padding-right: 0;
	border-right: 0;
}

.rfx-jornal-home-card__author {
	display: flex;
	align-items: center;
	gap: var(--rfx-space-2);
	margin: 0;
	color: var(--rfx-color-text-muted);
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-font-size-caption);
}

.rfx-jornal-home-card__author img {
	border-radius: 50%;
}

.rfx-jornal-home-tabs__menu {
	display: flex;
	justify-content: flex-end;
	gap: 1.25rem;
	align-items: center;
	margin-bottom: 0;
	overflow-x: auto;
}

.rfx-jornal-home-tabs {
	display: flex;
	flex-direction: column;
	row-gap: 20px;
	column-gap: 20px;
}

.rfx-jornal-home-tabs__button {
	min-height: 54px;
	padding: 0;
	background: transparent;
	border: 0;
	border-bottom: var(--rfx-border-width) solid transparent;
	cursor: pointer;
}

/* Keep pseudo-selectors in the stylesheet, not KSES-sensitive GB JSON keys.
 * Same selectors/declarations as the authored Homepage blocks. */
.gb-text-22a68a17:is(:hover, :focus) { text-decoration: none; }
.gb-tabs__menu-item-24b5571b:is(:hover, :focus),
.gb-tabs__menu-item-5662402f:is(:hover, :focus) { color: #000000; }
.gb-tabs__menu-item-24b5571b:is(.gb-block-is-current, .gb-block-is-current:hover, .gb-block-is-current:focus),
.gb-tabs__menu-item-5662402f:is(.gb-block-is-current, .gb-block-is-current:hover, .gb-block-is-current:focus) {
	color: var(--accent); border-bottom-width: 1px; border-bottom-style: solid;
}
@media (max-width: 1024px) {
	.gb-element-4c8ea34e:is(:hover, :focus) { grid-template-columns: 1fr; }
}

/* Dedicated column H3, not the generic H2/section title. Keep legacy tab
 * adapters, but expose the role for equivalent components without layout reuse. */
body.rfx-editorial-site :is(.rfx-column-title[class], .rfx-jornal-home-tabs__button, .gb-tabs-88fd4f39 .gb-tabs__menu-item > h3.gb-text) {
	font-family: var(--rfx-font-family-display);
	font-size: var(--rfx-type-column-title-size);
	font-weight: var(--rfx-font-weight-semibold);
	line-height: var(--rfx-type-column-title-line);
	letter-spacing: var(--rfx-letter-spacing-body);
	color: var(--rfx-color-brand);
	text-transform: none;
}

body.rfx-editorial-site :is(.rfx-jornal-home-tabs__button, .gb-tabs-88fd4f39 .gb-tabs__menu-item > h3.gb-text) {
	color: var(--rfx-color-column-title-inactive);
}

body.rfx-editorial-site .rfx-jornal-home-tabs__button[aria-selected="true"] {
	color: var(--rfx-color-column-title-active);
	border-bottom-color: currentcolor;
}

body.rfx-editorial-site .gb-tabs-88fd4f39 .gb-tabs__menu-item[aria-selected="true"] > h3.gb-text,
body.rfx-editorial-site .gb-tabs-88fd4f39 .gb-tabs__menu-item.gb-block-is-current > h3.gb-text {
	color: var(--rfx-color-column-title-active);
	border-bottom-color: currentcolor;
}

.rfx-jornal-home-tabs__button: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 .gb-tabs-88fd4f39 .gb-tabs__menu-item:focus-visible {
	outline: var(--rfx-focus-outline-width) solid var(--rfx-focus-outline-color);
	outline-offset: var(--rfx-focus-outline-offset);
}

.rfx-jornal-home-tabs__empty {
	display: flex;
	align-items: center;
	min-height: 18rem;
	margin: 0;
	color: var(--rfx-color-text-muted);
	font-family: var(--rfx-font-family-serif);
}

.rfx-jornal-home-feed--list .rfx-jornal-home-card,
.rfx-jornal-home-feed--opinion .rfx-jornal-home-card {
	display: flex;
	align-items: flex-end;
	flex-direction: column;
	padding: 1rem 0;
	text-align: right;
	border-bottom: var(--rfx-border-width) solid var(--rfx-color-divider);
}

.rfx-jornal-home-feed--opinion .rfx-jornal-home-card {
	align-items: center;
	flex-direction: row;
	justify-content: space-between;
	gap: 20px;
	text-align: right;
	border-bottom-color: var(--rfx-color-divider);
}

.rfx-jornal-home-feed--opinion .rfx-jornal-home-card__opinion-info {
	display: flex;
	flex: 1;
	align-items: flex-end;
	flex-direction: column;
	justify-content: center;
}

.rfx-jornal-home-feed--opinion .rfx-jornal-home-card__title {
	font-size: 1.25rem;
	line-height: 1.3;
	letter-spacing: var(--rfx-letter-spacing-body);
	text-align: right;
}

.rfx-jornal-home-feed--opinion .rfx-jornal-home-card__author {
	margin: 0;
	color: var(--rfx-color-text-muted);
	font-size: 1rem;
	font-weight: var(--rfx-font-weight-bold);
	line-height: 1.65;
}

.rfx-jornal-home-feed--opinion .rfx-jornal-home-card__author-avatar {
	flex-shrink: 0;
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: 9999px;
}

.rfx-jornal-home-feed--list .rfx-jornal-home-card__image,
.rfx-jornal-home-feed--opinion .rfx-jornal-home-card__image,
.rfx-jornal-home-feed--list .rfx-jornal-home-card__category,
.rfx-jornal-home-feed--opinion .rfx-jornal-home-card__category,
.rfx-jornal-home-feed--list .rfx-jornal-home-card__excerpt,
.rfx-jornal-home-feed--opinion .rfx-jornal-home-card__excerpt {
	display: none;
}

.rfx-jornal-home-feed--list .rfx-jornal-home-card__title,
.rfx-jornal-home-feed--opinion .rfx-jornal-home-card__title {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.3;
}

.rfx-jornal-home-feed--list .rfx-jornal-home-card__date,
.rfx-jornal-home-feed--opinion .rfx-jornal-home-card__date {
	margin-top: -0.625rem;
	font-size: 0.875rem;
	font-style: italic;
	line-height: var(--rfx-line-height-menu);
	white-space: nowrap;
}

.rfx-jornal-homepage__secondary-layout {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(12rem, 1fr);
	gap: 2rem;
}

body.rfx-editorial-site .rfx-jornal-homepage__section--secondary {
	padding: 1.875rem 0;
}

.rfx-jornal-homepage__secondary-cards .rfx-jornal-home-feed--secondary {
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(3, auto);
	column-gap: 2rem;
}

.rfx-jornal-home-feed--secondary .rfx-jornal-home-card {
	padding-bottom: 1.25rem;
	margin-bottom: 1.875rem;
	border-bottom: var(--rfx-border-width) solid var(--rfx-color-divider);
}

.rfx-jornal-home-feed--secondary .rfx-jornal-home-card:nth-child(-n + 3) {
	padding-right: 1.875rem;
	border-right: var(--rfx-border-width) solid var(--rfx-color-divider);
}

.rfx-jornal-home-feed--secondary .rfx-jornal-home-card:nth-child(3),
.rfx-jornal-home-feed--secondary .rfx-jornal-home-card:nth-child(6) {
	margin-bottom: 0;
}

.rfx-jornal-home-feed--secondary .rfx-jornal-home-card__category,
.rfx-jornal-home-feed--intermediate .rfx-jornal-home-card__category {
	font-size: 0.875rem;
}

.rfx-jornal-home-feed--secondary .rfx-jornal-home-card__title {
	margin-bottom: var(--rfx-space-3);
	font-size: 1.625rem;
	line-height: 1.28;
}

.rfx-jornal-home-feed--secondary .rfx-jornal-home-card__image {
	margin-top: var(--rfx-space-3);
	margin-bottom: 0;
}

.rfx-jornal-home-feed--secondary .rfx-jornal-home-card__excerpt {
	margin-bottom: 0;
}

body.rfx-editorial-site .rfx-jornal-homepage__section--intermediate {
	padding: 1.25rem 0;
}

.rfx-jornal-home-feed--intermediate .rfx-jornal-home-card__title {
	font-size: 1.25rem;
	line-height: 1.3;
}

.rfx-jornal-home-feed--intermediate .rfx-jornal-home-card__excerpt {
	margin-bottom: 0;
}

/* The four GB excerpt paragraphs retain the native paragraph bottom margin. */

.rfx-jornal-homepage__sidebar-ad {
	align-self: stretch;
	padding-left: var(--rfx-space-5);
	border-left: var(--rfx-border-width) solid var(--rfx-color-divider);
}

.rfx-jornal-home-conversations__layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding-top: 1.875rem;
	background-color: var(--rfx-color-surface-subtle);
}

.rfx-jornal-home-conversations__feature,
.rfx-jornal-home-conversations__list {
	padding-right: 1.875rem;
	padding-left: 1.875rem;
}

.rfx-jornal-home-conversations__feature {
	padding-bottom: 1.875rem;
}

.rfx-jornal-home-conversations__list {
	display: grid;
	align-content: start;
	gap: 0;
}

.rfx-jornal-home-card--conversation-feature .rfx-jornal-home-card__title {
	color: var(--rfx-color-action);
	font-size: 2rem;
	line-height: 1.22;
}

.rfx-jornal-home-card--conversation-feature .rfx-jornal-home-card__excerpt {
	margin-bottom: 0;
}

.rfx-jornal-home-card--conversation-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 1rem;
	align-items: center;
	padding-bottom: 1.25rem;
	margin-bottom: 1.5625rem;
	border-bottom: var(--rfx-border-width) solid var(--rfx-color-divider);
}

.rfx-jornal-home-card--conversation-item:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0;
}

.rfx-jornal-home-card--conversation-item .rfx-jornal-home-card__image {
	grid-row: span 2;
	margin-bottom: 0;
}

.rfx-jornal-home-card--conversation-item .rfx-jornal-home-card__category,
.rfx-jornal-home-card--conversation-item .rfx-jornal-home-card__title {
	grid-column: 2;
}

.rfx-jornal-home-card--conversation-item .rfx-jornal-home-card__title {
	margin-bottom: 0;
	font-size: 1.25rem;
	line-height: 1.3;
}

body.rfx-editorial-site .rfx-jornal-homepage__section--external {
	padding: 0 0 1.875rem;
	border-bottom: 0;
}

.rfx-jornal-home-external-sources {
	padding-bottom: 1.875rem;
}

.rfx-jornal-home-external-sources__header {
	padding: 1.25rem 1.25rem 0;
	color: var(--rfx-color-text-inverse);
	background-color: var(--rfx-color-action);
}

.rfx-jornal-home-external-sources__title,
.rfx-jornal-home-external-sources__subtitle {
	display: inline-block;
	margin: 0 0 1.25rem;
	color: inherit;
}

.rfx-jornal-home-external-sources__title {
	margin-right: 0.625rem;
	font-size: 2rem;
	font-weight: var(--rfx-font-weight-bold);
	line-height: 1.22;
}

.rfx-jornal-home-external-sources__subtitle {
	font-family: var(--rfx-font-family-display);
	font-size: 1.625rem;
	font-weight: var(--rfx-font-weight-regular);
	line-height: 1.28;
}

.rfx-jornal-home-external-sources__content {
	padding: 0.625rem 1.25rem;
	background-color: color-mix(in srgb, var(--rfx-color-action) 40%, transparent);
}

.rfx-jornal-home-external-sources__group {
	min-width: 0;
	padding: 1rem 1.25rem;
	background-color: color-mix(in srgb, var(--rfx-color-action) 40%, transparent);
}

.rfx-jornal-home-external-sources__group + .rfx-jornal-home-external-sources__group {
	padding-top: 0;
}

.rfx-jornal-home-external-sources__group-title {
	margin: 0 0 0.75rem;
	color: var(--rfx-color-text-inverse);
	font-family: var(--rfx-font-family-sans);
	font-size: 1rem;
	font-weight: var(--rfx-font-weight-bold);
}

.rfx-jornal-home-external-sources__item a {
	color: var(--rfx-color-action);
	font-family: var(--rfx-font-family-sans);
	font-weight: var(--rfx-font-weight-bold);
}

.rfx-jornal-home-external-sources__item a:hover,
.rfx-jornal-home-external-sources__item a:focus-visible {
	color: var(--rfx-color-text-inverse);
}

.rfx-jornal-home-external-sources__source {
	color: var(--rfx-color-text-inverse);
	font-size: 0.875rem;
	font-weight: var(--rfx-font-weight-bold);
}

.rfx-jornal-home-external-sources__date {
	color: var(--rfx-color-text-inverse);
	font-size: 0.8125rem;
	font-weight: var(--rfx-font-weight-regular);
}

.rfx-jornal-home-external-sources__empty {
	padding: 1.25rem;
	margin: 0;
	color: var(--rfx-color-text-inverse);
}

.rfx-jornal-homepage__listing-layout {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(12rem, 1fr);
	gap: 1rem;
}

.rfx-jornal-homepage__listing-content {
	padding-right: 1.875rem;
	border-right: var(--rfx-border-width) solid var(--rfx-color-divider);
}

.rfx-jornal-homepage__listing-title {
	padding: 0;
	margin: 0;
	color: var(--rfx-color-action);
	font-size: 2.125rem;
	line-height: 1.2;
}

.rfx-jornal-homepage__listing-ad {
	padding-left: 1.875rem;
}

.rfx-jornal-home-feed--final {
	display: grid;
	gap: 0;
}

.rfx-jornal-home-feed--final .rfx-jornal-home-card {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 1rem;
	align-items: center;
	padding: 1.875rem 0 1.5625rem;
	border-bottom: var(--rfx-border-width) solid var(--rfx-color-divider);
}

.rfx-jornal-home-feed--final .rfx-jornal-home-card__image {
	grid-row: span 3;
	margin-bottom: 0;
}

.rfx-jornal-home-feed--final .rfx-jornal-home-card__category,
.rfx-jornal-home-feed--final .rfx-jornal-home-card__title,
.rfx-jornal-home-feed--final .rfx-jornal-home-card__excerpt {
	grid-column: 2;
}

.rfx-jornal-home-feed--final .rfx-jornal-home-card__category {
	font-size: 0.875rem;
}

.rfx-jornal-home-feed--final .rfx-jornal-home-card__title {
	font-size: 1.625rem;
	line-height: 1.28;
}

.rfx-jornal-home-feed--final .rfx-jornal-home-card__excerpt {
	margin-bottom: 0;
}

body.rfx-editorial-site:is(.blog, .archive, .search) .inside-article {
	padding-bottom: var(--rfx-space-7);
	border-bottom: var(--rfx-border-width) solid var(--rfx-color-divider);
}

body.rfx-editorial-site:is(.blog, .archive, .search) .entry-summary {
	max-width: 46rem;
}

/* Listagens editoriais: equivalente versionado dos Elements #543 e #666.
 * A seleção continua a pertencer ao query WordPress/editorial; estas regras
 * apenas preservam a composição de media e conteúdo do staging. */
body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search, .rfx-jornal-template-opinion) .site-main .generate-columns-container > article {
	width: 100%;
}

body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search, .rfx-jornal-template-opinion) .site-main article .inside-article {
	display: grid;
	grid-template-columns: minmax(0, 46fr) minmax(0, 50fr);
	column-gap: 1.875rem;
	align-items: center;
}

body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search) .site-main article .inside-article {
	padding: 0.625rem 0 1.875rem;
	margin-bottom: 1.875rem;
	border-bottom: var(--rfx-border-width) solid var(--rfx-color-divider);
}

body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search, .rfx-jornal-template-opinion) .site-main article .post-image {
	grid-row: 1 / span 2;
	margin-bottom: 0;
}

body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search) .site-main article .post-image img {
	display: block;
	width: 100%;
	aspect-ratio: var(--rfx-photo-ratio);
	object-fit: cover;
	object-position: center;
}

body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search, .rfx-jornal-template-opinion) .site-main article :is(.entry-header, .entry-summary) {
	grid-column: 2;
}

body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search, .rfx-jornal-template-opinion) .site-main article .entry-header {
	margin-bottom: var(--rfx-space-3);
}

body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search) .site-main article .entry-title {
	font-family: var(--rfx-font-family-sans);
	font-size: 1.5rem;
	font-weight: var(--rfx-font-weight-regular);
	line-height: 1.1667;
}

body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search) .site-main article .entry-title a {
	color: var(--rfx-color-text-strong);
	font-weight: var(--rfx-font-weight-bold);
	text-decoration: none;
}

body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search) .site-main article .entry-title a:visited {
	color: var(--rfx-color-text-strong);
}

body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search) .site-main article .entry-title a:hover,
body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search) .site-main article .entry-title a:focus-visible {
	color: var(--rfx-color-text-muted);
}

/* O Master de Categoria do Jornal é uma leitura editorial em linha: media
 * dominante à esquerda, texto à direita. Não depende do slug da categoria. */
body.rfx-editorial-site.rfx-generic-listing-context--category .rfx-generic-listing {
	padding-inline: 0;
}

/* O Master fornece a mesma geometria a ambas as marcas, independentemente
 * dos settings históricos GeneratePress (Jornal 75%/30px; Reflexo 70%/20px).
 * O arquivo de autor mantém o seu contrato próprio sem sidebar. */
@media (min-width: 769px) {
	/* Masters de listagem: conteúdo/sidebar 2:1; intervalo relativo no genérico,
	 * mais compacto em Opinião. Não altera os tokens globais nem o Artigo. */
	body.rfx-editorial-site.rfx-generic-listing-context:not(.rfx-generic-listing-context--author).right-sidebar .site-content {
		display: grid;
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		column-gap: calc(100% / 15);
	}
	body.rfx-editorial-site.rfx-generic-listing-context.rfx-generic-listing-context--opinion.right-sidebar .site-content {
		column-gap: var(--rfx-space-10);
	}
	body.rfx-editorial-site.rfx-generic-listing-context:not(.rfx-generic-listing-context--author).right-sidebar .site-content .content-area,
	body.rfx-editorial-site.rfx-generic-listing-context:not(.rfx-generic-listing-context--author).right-sidebar #right-sidebar {
		width: auto;
		min-width: 0;
	}
	body.rfx-editorial-site.rfx-generic-listing-context.right-sidebar .site-main {
		margin: var(--rfx-listing-outer-gap) 0;
	}
}

/* O `site-main` fornece a margem exterior de 30px do STAGING. A listagem
 * não acrescenta uma segunda camada de padding; o intervalo de 50px começa
 * depois do cabeçalho, tal como no bloco Query de referência. */
body.rfx-editorial-site .rfx-generic-listing {
	padding: 0;
	row-gap: var(--rfx-page-section-gap);
}

/* Metadados do Master: o texto e a data não disputam largura no mobile. */
body.rfx-editorial-site .gb-container:has(> .rfx-article-date) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--rfx-space-3);
}
body.rfx-editorial-site .gb-container:has(> .rfx-article-date) > .gb-container {
	display: flex;
	align-items: center;
	gap: var(--rfx-space-3);
	width: auto;
	flex-shrink: 0;
}
body.rfx-editorial-site .rfx-article-date {
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-font-size-caption);
	min-width: 0;
}
/* Separadores acompanham cada dado; não separam o avatar do autor. */
body.rfx-editorial-site .rfx-article-date > * + *::before,
body.rfx-editorial-site .rfx-article-master--standard .rfx-article-date--with-author > :first-child::before,
body.rfx-editorial-site .rfx-jornal-post-meta:not(.rfx-jornal-post-meta--opinion) .rfx-editorial-meta__details > * + *::before {
	content: "·" / "";
	margin-inline-end: var(--rfx-space-3);
}
body.rfx-editorial-site .rfx-article-date,
body.rfx-editorial-site .entry-header .gb-headline-3fb4928a,
body.rfx-editorial-site .rfx-jornal-post-meta__details {
	font-weight: var(--rfx-font-weight-semibold);
}
body.rfx-editorial-site .rfx-jornal-post-meta:not(.rfx-jornal-post-meta--opinion) .rfx-editorial-meta__details {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--rfx-space-2) var(--rfx-space-3);
}
/* A autoria de Opinião é um componente próprio: avatar e metadados em duas colunas,
 * com nome acima da data. A byline normal mantém o layout horizontal anterior. */
body.rfx-editorial-site.single-post .entry-header .rfx-opinion-author {
	max-width: var(--rfx-article-reading-width);
}
body.rfx-editorial-site.single-post .entry-header .rfx-opinion-author__avatar {
	flex: 0 0 var(--rfx-sidebar-media-width);
	width: var(--rfx-sidebar-media-width);
}
body.rfx-editorial-site.single-post .entry-header .rfx-opinion-author__avatar .rfx-author-avatar {
	display: block;
	width: var(--rfx-sidebar-media-width);
	height: var(--rfx-sidebar-media-width);
	border-radius: 50%;
	object-fit: cover;
}
body.rfx-editorial-site.single-post .entry-header .rfx-opinion-author__meta {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
}
body.rfx-editorial-site.single-post .entry-header .rfx-opinion-author__meta > .rfx-article-date {
	font-size: 1rem;
	line-height: 1.65;
}
body.rfx-editorial-site.single-post .entry-header .rfx-opinion-author__meta a:is(:link, :visited, :hover, :focus-visible) {
	text-decoration: none;
}
body.rfx-editorial-site .rfx-generic-listing__title {
	color: var(--rfx-color-muted);
}

body.rfx-editorial-site.rfx-generic-listing-context--category .rfx-generic-listing-card {
	grid-template-columns: minmax(0, 46fr) minmax(0, 50fr);
	align-items: center;
}

body.rfx-editorial-site.rfx-generic-listing-context--category .rfx-generic-listing-card__image img {
	aspect-ratio: var(--rfx-photo-ratio, 3 / 2);
}

body.rfx-editorial-site.rfx-generic-listing-context--category .rfx-generic-listing-card__image img.rfx-editorial-video {
	aspect-ratio: var(--rfx-video-ratio, 16 / 9);
}

body.rfx-editorial-site.rfx-generic-listing-context--category .rfx-generic-listing-card__label,
body.rfx-editorial-site.rfx-generic-listing-context--category .rfx-generic-listing-card__label a {
	color: var(--rfx-color-category);
	font-size: var(--rfx-font-size-category);
	font-weight: var(--rfx-font-weight-semibold);
	line-height: var(--rfx-line-height-body);
	letter-spacing: var(--rfx-letter-spacing-body);
}

body.rfx-editorial-site.rfx-generic-listing-context--category .rfx-generic-listing-card__label a:is(:hover, :active) {
	color: var(--rfx-color-category-hover);
	text-decoration: none;
}
body.rfx-editorial-site .rfx-generic-listing-card__label a:is(:link, :visited, :hover, :active, :focus, :focus-visible) { text-decoration: none; }

body.rfx-editorial-site.rfx-generic-listing-context--category .rfx-generic-listing-card__meta {
	display: block;
}



@media (max-width: 48rem) {
	body.rfx-editorial-site.rfx-generic-listing-context .site-content {
		padding-inline: var(--rfx-space-5);
	}
	body.rfx-editorial-site.rfx-generic-listing-context--category .rfx-generic-listing-card {
		grid-template-columns: 1fr;
		align-items: stretch;
	}
}

body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search) .site-main article .entry-summary {
	font-family: var(--rfx-font-family-serif);
	font-size: 1.125rem;
	margin-top: 0;
}

body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search, .rfx-jornal-template-opinion) .site-main article .entry-summary {
	margin-bottom: 0;
}

body.rfx-editorial-site.rfx-jornal-template-opinion .site-main article .inside-article {
	grid-template-columns: minmax(7.5rem, 1fr) minmax(0, 3fr);
	padding: 0;
	margin: 3.125rem 0;
	border-bottom: var(--rfx-border-width) solid var(--rfx-color-divider);
}

body.rfx-editorial-site .rfx-jornal-opinion-listing-header {
	padding: 0;
	margin: 0 0 3.125rem;
	border: 0;
}

body.rfx-editorial-site .rfx-jornal-opinion-listing-header .page-title {
	margin: 0;
	color: var(--rfx-color-muted);
}

body.rfx-editorial-site.rfx-jornal-template-opinion .site-main article .post-image {
	display: none;
}

body.rfx-editorial-site.rfx-jornal-template-opinion .site-main article :is(.entry-header, .entry-summary) {
	grid-column: 2;
}

body.rfx-editorial-site.rfx-jornal-template-opinion .site-main article .entry-title {
	font-family: var(--rfx-font-family-sans);
	font-size: 1.5rem;
	font-weight: var(--rfx-font-weight-bold);
	line-height: 1.1667;
}

body.rfx-editorial-site.rfx-jornal-template-opinion .site-main article .entry-title a,
body.rfx-editorial-site.rfx-jornal-template-opinion .site-main article .entry-title a:visited {
	color: var(--rfx-color-text-strong);
	text-decoration: none;
}

body.rfx-editorial-site.rfx-jornal-template-opinion .site-main article .entry-title a:hover,
body.rfx-editorial-site.rfx-jornal-template-opinion .site-main article .entry-title a:focus-visible {
	color: var(--rfx-color-text-muted);
}

body.rfx-editorial-site.rfx-jornal-template-opinion .site-main article .entry-summary {
	font-family: var(--rfx-font-family-serif);
	font-size: 1.125rem;
	margin-top: 0;
}

body.rfx-editorial-site.rfx-jornal-template-opinion .site-main article .entry-header {
	position: relative;
}

body.rfx-editorial-site .rfx-jornal-opinion-listing-author__avatar {
	position: absolute;
	top: 0;
	right: calc(100% + 3.75rem);
	display: block;
	width: 11.25rem;
	aspect-ratio: 1;
}

body.rfx-editorial-site .rfx-jornal-opinion-listing-author__avatar .avatar {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

body.rfx-editorial-site .rfx-jornal-opinion-listing-author__name {
	margin: 0 0 var(--rfx-space-2);
	color: var(--rfx-color-text-strong);
	font-family: var(--rfx-font-family-sans);
	font-size: 1rem;
	font-weight: var(--rfx-font-weight-regular);
}

body.rfx-editorial-site .rfx-jornal-opinion-listing-author__role {
	margin: calc(var(--rfx-space-2) * -1) 0 var(--rfx-space-2);
	color: var(--rfx-color-text-muted);
	font-family: var(--rfx-font-family-sans);
	font-size: 0.875rem;
	line-height: var(--rfx-line-height-caption);
}

body.rfx-editorial-site .rfx-jornal-opinion-listing-author__name a {
	color: inherit;
	text-decoration: none;
}

/* Todas as ações da barra superior partilham a mesma linha de alinhamento.
 * Não deslocar botões isolados: a altura de cada controlo é resolvida pelo flex. */
body.rfx-editorial-site .jdg-site-header .gb-element-a62d7cb1 {
	align-items: center;
	column-gap: var(--rfx-space-6);
}
body.rfx-editorial-site .jdg-site-header .gb-element-a62d7cb1 > * {
	margin-block: 0;
	align-self: center;
}
body.rfx-editorial-site .jdg-site-header .gb-element-a62d7cb1 :is(a, button) {
	align-items: center;
}
body.rfx-editorial-site .jdg-site-header .gb-element-a62d7cb1 :is(a, button):not([class*="rfx-button"]) {
	line-height: var(--rfx-line-height-menu);
}

/* WIDTH-01: o chrome partilha o container aprovado da Homepage. */
body.rfx-editorial-site .jdg-site-header :is(.jdg-header-top, .jdg-header-nav > div) {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--rfx-container-content);
}

body.rfx-editorial-site .jdg-site-header .jdg-header-nav .rfx-jornal-menu {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 1.125rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.rfx-editorial-site .jdg-site-header .jdg-header-nav .rfx-jornal-menu a {
	white-space: nowrap;
}

body.rfx-editorial-site .jdg-site-header .jdg-header-nav :is(.current-menu-item, .current-menu-ancestor) > a {
	color: var(--rfx-color-action);
}

@media (max-width: 64rem) {
	body.rfx-editorial-site .jdg-site-header :is(.jdg-header-top, .jdg-header-nav > div) {
		padding-right: var(--rfx-container-gutter);
		padding-left: var(--rfx-container-gutter);
	}

	body.rfx-editorial-site .jdg-site-header .jdg-header-nav > div,
	body.rfx-editorial-site .jdg-site-header .jdg-header-nav .rfx-jornal-menu {
		flex-wrap: nowrap;
	}

	body.rfx-editorial-site .jdg-site-header .jdg-header-nav .rfx-jornal-menu {
		gap: clamp(0.5rem, 1.2vw, 1.125rem);
	}

	body.rfx-editorial-site .jdg-site-header .jdg-header-nav .rfx-jornal-menu a {
		white-space: nowrap;
	}
}

/* O breakpoint canónico mobile termina em 48rem (768px). O script ativa o
 * mesmo menu do Element; sem JavaScript, a navegação permanece visível. */
@media (max-width: 48rem) {
	body.rfx-editorial-site .jdg-site-header .jdg-header-top {
		min-height: 4.75rem;
	}

	body.rfx-editorial-site .jdg-site-header .jdg-header-logo {
		flex: 0 1 11.25rem;
		min-width: 0;
	}

	body.rfx-editorial-site .jdg-site-header .gb-element-a62d7cb1 {
		display: none;
	}

	body.rfx-editorial-site .jdg-site-header .rfx-jornal-site-header__menu-toggle {
		display: inline-flex;
		flex: 0 0 auto;
	}

	/* The shared native menu/GB overlay layout lives in editorial-navigation.css. */
}

body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search) .site-main .page-header,
body.rfx-editorial-site .rfx-jornal-opinion-listing-header {
	padding: 0;
	margin-bottom: 3.125rem;
	border: 0;
}

body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search) .site-main .page-header .page-title,
body.rfx-editorial-site .rfx-jornal-opinion-listing-header .page-title {
	margin: 0;
	color: var(--rfx-color-muted);
}

@media (max-width: 64rem) {
	body.rfx-editorial-site .rfx-editorial-listing-sidebar {
		padding-right: 1.875rem;
		padding-left: 1.875rem;
	}
}

@media (max-width: 48rem) {
	body.rfx-editorial-site .rfx-editorial-listing-sidebar {
		padding-right: 1.25rem;
		padding-left: 1.25rem;
	}

	body.rfx-editorial-site .rfx-editorial-listing-sidebar__title {
		font-size: 1.75rem;
	}
}

@media (max-width: 48rem) {
	body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search, .rfx-jornal-template-opinion) .site-main article .inside-article {
		display: block;
	}

	body.rfx-editorial-site:is(.rfx-jornal-template-category, .rfx-jornal-template-archive, .rfx-jornal-template-search, .rfx-jornal-template-opinion) .site-main article .post-image {
		margin-bottom: var(--rfx-space-4);
	}

	body.rfx-editorial-site .rfx-jornal-opinion-listing-author__avatar {
		position: static;
		width: 7.5rem;
		margin-bottom: var(--rfx-space-3);
	}

	.rfx-jornal-post-meta--opinion .rfx-jornal-post-meta__avatar,
	.rfx-jornal-post-meta--opinion .rfx-jornal-post-meta__avatar .avatar {
		width: 7.5rem;
		height: 7.5rem;
	}
}

@media (max-width: 48rem) {
	.rfx-jornal-author-profile {
		align-items: flex-start;
		flex-direction: column;
	}

	.rfx-jornal-related-posts__grid {
		grid-template-columns: 1fr;
	}

	body.rfx-editorial-site .rfx-jornal-pattern-quote {
		max-width: none;
		margin-left: 0;
	}

	body.rfx-editorial-site .rfx-jornal-pattern-subscription-cta {
		padding: var(--rfx-space-5);
	}

	.rfx-jornal-home-feed--grid {
		grid-template-columns: 1fr;
	}

	.rfx-jornal-home-feed--intermediate {
		grid-template-columns: 1fr;
	}

	.rfx-jornal-home-feed--related,
	.rfx-jornal-homepage__highlights-grid > .wp-block-group__inner-container,
	.rfx-jornal-homepage__highlights-grid--master,
	.rfx-jornal-homepage__secondary-layout,
	.rfx-jornal-home-conversations__layout,
	.rfx-jornal-homepage__listing-layout,
	.rfx-jornal-home-feed--final .rfx-jornal-home-card {
		grid-template-columns: 1fr;
	}

	.rfx-jornal-homepage__highlight-primary,
	.rfx-jornal-homepage__highlight-secondary {
		padding-right: 0;
		border-right: 0;
	}

	.rfx-jornal-homepage__sidebar-ad {
		padding-top: var(--rfx-space-5);
		padding-left: 0;
		border-top: var(--rfx-border-width) solid var(--rfx-color-divider);
		border-left: 0;
	}

	.rfx-jornal-home-card--hero .rfx-jornal-home-card__title {
		font-size: 1.875rem;
	}

	.rfx-jornal-home-tabs__menu {
		justify-content: flex-start;
	}

	.rfx-jornal-home-tabs__empty {
		min-height: 10rem;
	}

	.rfx-jornal-home-feed--list .rfx-jornal-home-card,
	.rfx-jornal-home-feed--opinion .rfx-jornal-home-card {
		align-items: flex-start;
		text-align: left;
	}

	.rfx-jornal-home-feed--list .rfx-jornal-home-card__date,
	.rfx-jornal-home-feed--opinion .rfx-jornal-home-card__date {
		margin-top: var(--rfx-space-2);
	}

	.rfx-jornal-homepage__secondary-cards .rfx-jornal-home-feed--secondary {
		grid-auto-flow: row;
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}

	.rfx-jornal-home-feed--secondary .rfx-jornal-home-card:nth-child(-n + 3) {
		padding-right: 0;
		border-right: 0;
	}

	.rfx-jornal-home-feed--secondary .rfx-jornal-home-card:nth-child(3) {
		margin-bottom: 1.875rem;
	}

	.rfx-jornal-home-conversations__feature,
	.rfx-jornal-home-conversations__list {
		padding-right: var(--rfx-container-gutter);
		padding-left: var(--rfx-container-gutter);
	}

	.rfx-jornal-home-conversations__list {
		padding-bottom: 1.875rem;
	}

	.rfx-jornal-home-card--conversation-item .rfx-jornal-home-card__image,
	.rfx-jornal-home-card--conversation-item .rfx-jornal-home-card__category,
	.rfx-jornal-home-card--conversation-item .rfx-jornal-home-card__title,
	.rfx-jornal-home-feed--final .rfx-jornal-home-card__image,
	.rfx-jornal-home-feed--final .rfx-jornal-home-card__category,
	.rfx-jornal-home-feed--final .rfx-jornal-home-card__title,
	.rfx-jornal-home-feed--final .rfx-jornal-home-card__excerpt {
		grid-column: 1;
		grid-row: auto;
	}

	.rfx-jornal-home-card--conversation-item {
		row-gap: var(--rfx-space-2);
	}

	.rfx-jornal-home-external-sources__title,
	.rfx-jornal-home-external-sources__subtitle {
		display: block;
		margin-right: 0;
		margin-bottom: var(--rfx-space-2);
	}

	.rfx-jornal-home-external-sources__subtitle {
		padding-bottom: var(--rfx-space-3);
	}

	.rfx-jornal-home-external-sources__group {
		padding-right: var(--rfx-space-3);
		padding-left: var(--rfx-space-3);
	}

	.rfx-jornal-homepage__listing-content {
		padding-right: 0;
		border-right: 0;
	}

	.rfx-jornal-homepage__listing-ad {
		padding-top: var(--rfx-space-5);
		padding-left: 0;
		border-top: var(--rfx-border-width) solid var(--rfx-color-divider);
	}
}

/* Pre Header, Header e Footer versionados a partir do design aprovado. */
.rfx-jornal-pre-header {
	color: var(--rfx-color-text-inverse);
	background-color: var(--rfx-color-action);
}

.rfx-jornal-pre-header__inner {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.rfx-jornal-pre-header p {
	margin: 0;
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-font-size-menu);
	font-weight: var(--rfx-font-weight-medium);
	line-height: 1.2;
	text-transform: uppercase;
}

.rfx-jornal-site-header {
	position: sticky;
	top: 0;
	z-index: 9999;
	color: var(--rfx-color-text-inverse);
	background-color: var(--rfx-color-action);
}

.rfx-jornal-site-header__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	/* 81.375px no Element Header Global aprovado. */
	min-height: 5.0859375rem;
}

.rfx-jornal-site-header__brand {
	display: inline-flex;
	align-items: center;
	flex: 0 1 11.25rem;
	line-height: 0;
}

.rfx-jornal-site-header__brand img {
	display: block;
	width: 100%;
	max-width: 11.25rem;
	height: auto;
}

.rfx-jornal-site-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--rfx-space-6);
}

.rfx-jornal-site-header__action,
.rfx-jornal-site-header__search {
	color: rgb(255 255 255 / 60%);
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-font-size-menu);
	font-weight: var(--rfx-font-weight-bold);
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
}

.rfx-jornal-site-header__action:hover,
.rfx-jornal-site-header__action:focus-visible,
.rfx-jornal-site-header__search:hover,
.rfx-jornal-site-header__search:focus-visible {
	color: var(--rfx-color-text-inverse);
}

.rfx-jornal-site-header__search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
}

.rfx-jornal-site-header__search svg,
.rfx-jornal-site-header__menu-toggle svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: currentcolor;
}

.rfx-jornal-site-header__menu-toggle {
	display: none;
	align-items: center;
	gap: var(--rfx-space-2);
	padding: 0;
	color: var(--rfx-color-text-inverse);
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-font-size-menu);
	font-weight: var(--rfx-font-weight-bold);
	line-height: 1.2;
	text-transform: uppercase;
	background: transparent;
	border: 0;
	border-radius: 0;
	cursor: pointer;
}

.rfx-jornal-navigation {
	padding-top: 0.625rem;
	padding-bottom: 0.625rem;
	color: var(--rfx-color-text-strong);
	background-color: var(--rfx-color-surface-muted);
}

.rfx-jornal-navigation__inner {
	display: flex;
	justify-content: center;
}

.rfx-jornal-navigation .rfx-jornal-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.125rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rfx-jornal-navigation .rfx-jornal-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 0;
	color: inherit;
	font-family: var(--gp-font--ibm-plex-sans);
	font-size: 0.875rem;
	font-weight: var(--rfx-font-weight-bold);
	letter-spacing: -0.0125rem;
	line-height: 1.65;
	text-transform: uppercase;
}

.rfx-jornal-navigation .current-menu-item > a,
.rfx-jornal-navigation .current-menu-ancestor > a {
	color: var(--rfx-color-action);
}

.rfx-jornal-footer {
	padding: 3.75rem 1.875rem 0;
	color: var(--rfx-color-text-muted);
	font-family: var(--rfx-font-family-sans);
	background-color: var(--rfx-color-surface-subtle);
}

.rfx-jornal-footer__columns {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--rfx-footer-column-gap);
	padding-bottom: 3.75rem;
	border-bottom: var(--rfx-border-width) dotted var(--rfx-color-divider);
}

.rfx-jornal-footer__list,
.rfx-jornal-footer .rfx-jornal-menu,
.rfx-jornal-footer__column > ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rfx-jornal-footer__list li,
.rfx-jornal-footer .rfx-jornal-menu li,
.rfx-jornal-footer__column > ul li {
	margin: 0;
}

.rfx-jornal-footer__list span,
.rfx-jornal-footer .rfx-jornal-menu a,
.rfx-jornal-footer__column > ul a {
	color: inherit;
	font-family: var(--rfx-font-family-sans);
	font-size: 1rem;
	font-weight: var(--rfx-font-weight-medium);
	line-height: 1.65;
	text-decoration: none;
}

.rfx-jornal-footer .rfx-jornal-menu a:hover,
.rfx-jornal-footer .rfx-jornal-menu a:focus-visible,
.rfx-jornal-footer__column > ul a:hover,
.rfx-jornal-footer__column > ul a:focus-visible {
	color: var(--rfx-color-text-strong);
}

.rfx-jornal-footer__contact {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--rfx-space-8);
	padding: 1.25rem 0;
	margin-bottom: 0;
	border-bottom: var(--rfx-border-width) dotted var(--rfx-color-divider);
}

.rfx-jornal-footer__address {
	display: flex;
	align-items: center;
	gap: var(--rfx-space-4);
}

.rfx-jornal-footer__address img {
	width: 2.875rem;
	height: auto;
}

.rfx-jornal-footer__address p,
.rfx-jornal-footer__newsletter p,
.rfx-jornal-footer__legal p {
	margin: 0;
	font-family: var(--rfx-font-family-sans);
	font-size: 0.875rem;
	line-height: 1.65;
}

.rfx-jornal-footer__newsletter {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--rfx-space-4);
}

.rfx-jornal-footer__newsletter p {
	color: var(--rfx-color-text-muted);
	font-weight: var(--rfx-font-weight-semibold);
	font-size: 1rem;
}

.rfx-jornal-footer__newsletter > span:not(.rfx-button) {
	min-width: 16rem;
	padding: var(--rfx-space-2) var(--rfx-space-5);
	color: var(--rfx-color-muted);
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-font-size-body);
	border: var(--rfx-border-width) solid var(--rfx-color-divider);
	border-radius: var(--rfx-radius-pill);
}

.rfx-jornal-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--rfx-space-5);
	padding: 1.25rem 0;
	border-top: 0.03125rem solid var(--rfx-color-divider);
}

.rfx-jornal-footer__legal p,
.rfx-jornal-footer__legal .rfx-jornal-footer__list {
	font-size: 0.75rem;
}

.rfx-jornal-footer__legal .rfx-jornal-footer__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--rfx-space-5);
}

.rfx-jornal-footer__legal .rfx-jornal-footer__list li {
	margin: 0;
}

.rfx-jornal-footer__legal .rfx-jornal-footer__list :is(a, span) {
	font-size: 0.75rem;
	line-height: 1.65;
}

@media (max-width: 48rem) {
	.rfx-jornal-pre-header {
		display: none;
	}

	.rfx-jornal-site-header__top {
		min-height: 4.75rem;
	}

	.rfx-jornal-site-header__brand {
		max-width: 10rem;
	}

	.rfx-jornal-site-header__actions {
		display: none;
	}

	.rfx-jornal-site-header__menu-toggle {
		display: inline-flex;
	}

	.rfx-jornal-navigation {
		padding: 0;
	}

	.rfx-jornal-navigation.is-enhanced:not(.is-open) {
		display: none;
	}

	.rfx-jornal-navigation__inner {
		padding-top: var(--rfx-space-5);
		padding-bottom: var(--rfx-space-5);
	}

	.rfx-jornal-navigation .rfx-jornal-menu {
		align-items: flex-start;
		flex-direction: column;
		gap: var(--rfx-space-3);
	}

	.rfx-jornal-footer {
		padding-right: var(--rfx-container-gutter);
		padding-left: var(--rfx-container-gutter);
	}

	.rfx-jornal-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rfx-jornal-footer__contact,
	.rfx-jornal-footer__newsletter,
	.rfx-jornal-footer__legal {
		align-items: flex-start;
		flex-direction: column;
	}

	.rfx-jornal-footer__newsletter {
		width: 100%;
	}

	.rfx-jornal-footer__newsletter > span:not(.rfx-button) {
		box-sizing: border-box;
		width: 100%;
		min-width: 0;
	}
}

/* PDF mobile header: brand, subscription and account/search controls share
 * the top row. Existing destinations and authentication behaviour are kept. */
@media (max-width: 48rem) {
	body.rfx-editorial-site .jdg-site-header .jdg-header-top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--rfx-space-2);
	}
	body.rfx-editorial-site .jdg-site-header .jdg-header-logo {
		flex: 0 1 8.75rem;
		min-width: 0;
	}
	body.rfx-editorial-site .jdg-site-header .gb-element-a62d7cb1 {
		display: flex;
		align-items: center;
		column-gap: 0;
		flex-shrink: 0;
		min-width: 0;
	}
	body.rfx-editorial-site .jdg-site-header .gb-element-a62d7cb1 > :is(a:nth-of-type(1), a:nth-of-type(2), div) { display: none; }
	body.rfx-editorial-site .jdg-site-header .gb-element-a62d7cb1 > a.rfx-button--secondary-inverted {
		font-size: 0.625rem;
		padding: 0.35rem 0.55rem;
		position: relative;
		isolation: isolate;
		flex-shrink: 0;
		white-space: nowrap;
		border-color: transparent;
		border-radius: 0;
		background-color: transparent;
	}
	/* RC54 pill is visual only; the link keeps its D-06 44px touch target. */
	body.rfx-editorial-site .jdg-site-header .gb-element-a62d7cb1 > a.rfx-button--secondary-inverted::before {
		content: '';
		position: absolute;
		z-index: -1;
		inset-inline: -1px;
		top: 50%;
		transform: translateY(-50%);
		height: calc(1.2em + 0.7rem + 2px);
		box-sizing: border-box;
		border: 1px solid var(--rfx-color-text-inverse);
		border-radius: var(--rfx-radius-pill);
		pointer-events: none;
	}
	body.rfx-editorial-site .jdg-site-header .gb-element-a62d7cb1 > a.rfx-button--secondary-inverted:is(:hover, :focus-visible)::before {
		background-color: var(--rfx-color-surface);
	}
	body.rfx-editorial-site .jdg-site-header .gb-element-a62d7cb1 > a[data-rfx-session-action],
	body.rfx-editorial-site .jdg-site-header .gb-element-a62d7cb1 > a.rfx-header-search {
		position: relative;
		display: inline-flex;
		justify-content: center;
		width: 44px;
		height: 44px;
		flex: 0 0 44px;
		overflow: hidden;
		font-size: 0;
	}
	/* Account glyph belongs to editorial-navigation's semantic session selector. */
}

/* A composição GenerateBlocks de Destaques só passa a uma coluna no mesmo
 * breakpoint do pattern de referência: abaixo de 768px. */
@media (min-width: 48rem) {
	.rfx-jornal-homepage__section--master .rfx-jornal-homepage__highlights-grid--master {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	}
}

@media (max-width: 47.9375rem) {
	body.rfx-editorial-site .rfx-jornal-homepage__section--master {
		width: calc(100vw - 30px);
	}

	.rfx-jornal-homepage__section--master .rfx-jornal-homepage__highlights-grid--master {
		grid-template-columns: 1fr;
	}

	.rfx-jornal-homepage__section--master .rfx-jornal-homepage__highlight-primary,
	.rfx-jornal-homepage__section--master .rfx-jornal-homepage__highlight-secondary {
		padding-right: 0;
		border-right: 0;
	}

	.rfx-jornal-home-feed--opinion .rfx-jornal-home-card {
		align-items: center;
		text-align: left;
	}

	.rfx-jornal-home-feed--opinion .rfx-jornal-home-card__opinion-info {
		align-items: flex-start;
	}

	.rfx-jornal-home-feed--opinion .rfx-jornal-home-card__title {
		text-align: left;
	}
}

/* A página Homepage mantém o bloco GenerateBlocks original do master. O título
 * de 1000px deve ficar limitado ao container em toda a gama tablet. */
@media (max-width: 64rem) {
	body.rfx-editorial-site .gb-element-4c8ea34e .gb-text-22a68a17 {
		width: 100%;
		max-width: 100%;
	}

	/* O bloco das tabs da Homepage segue a variante de uma coluna no tablet,
	 * tal como a regra GenerateBlocks a <=767px, evitando a terceira coluna
	 * parcial exatamente a 768px. */
	body.rfx-editorial-site .gb-element-9b2f66d2 {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 48rem) and (max-width: 64rem) {
	body.rfx-editorial-site .rfx-jornal-homepage__section--master {
		width: calc(100vw - 40px);
	}
}

/* Homepage PDF D01–D15. These component variants do not change global roles. */
/* Alternative 3: desktop exposes only the first secondary media. Mobile V1
 * uses the second article's canonical media leaf, never a duplicated card. */
@media (min-width: 48.001rem) {
	body.rfx-editorial-site.home .gb-element-c054a809 > .gb-element-8cf034cb > .rfx-jornal-blueprint__media,
	body.rfx-editorial-site.home .gb-element-8abe2f32 > :nth-child(2) > .rfx-jornal-blueprint__media,
	body.rfx-editorial-site.home .gb-element-f89ca491 > :is(:nth-child(1), :nth-child(3)) > .rfx-jornal-blueprint__media { display: none; }
}
body.rfx-editorial-site.home { --rfx-homepage-hero-size: var(--rfx-editorial-h1-size); }
body.rfx-editorial-site.home .rfx-hero-title[class] {
	font-size: var(--rfx-homepage-hero-size);
}
body.rfx-editorial-site.home .gb-element-c054a809 { background: transparent; }
body.rfx-editorial-site.home .gb-element-c054a809 .rfx-jornal-blueprint__media {
	display: block; width: 100%; aspect-ratio: 3 / 2;
}
body.rfx-editorial-site.home .gb-element-c054a809 .rfx-jornal-blueprint__media:has(.rfx-editorial-video) { aspect-ratio: 16 / 9; }
body.rfx-editorial-site.home .gb-element-c054a809 .rfx-jornal-blueprint__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-bceec245 > .rfx-section-title,
body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-9f589089 > .rfx-section-title {
	font-size: 32px; font-weight: 700; line-height: 1.22; color: var(--rfx-color-brand);
}
body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-481d4a5e > .rfx-card-title {
	font-size: 32px; font-weight: 700; line-height: 1.22;
}
body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-9f589089 .rfx-card-title strong { font-weight: inherit; }
body.rfx-editorial-site.home .rfx-homepage-load-more { display: none; }
body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-6b86d1cd, .gb-element-e0fe0caa) > .rfx-editorial-card > .rfx-ad + .rfx-ad {
	margin-top: 12px;
}

.rfx-jornal-footer__contact {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center; gap: 12px 32px;
}
.rfx-jornal-footer__address { grid-column: 1; grid-row: 1 / span 2; }
.rfx-jornal-footer__address .rfx-brand-logo { background: transparent; }
.rfx-jornal-footer__address .rfx-brand-logo img { width: 46px; filter: brightness(0) opacity(.6); }
.rfx-jornal-footer__newsletter { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 100%; }
.rfx-jornal-footer__newsletter .rfx-newsletter-form {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; width: 100%;
}
.rfx-jornal-footer__newsletter .rfx-newsletter-form > label[for] {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
.rfx-jornal-footer__newsletter .rfx-newsletter-form > input {
	grid-column: 1; grid-row: 1; box-sizing: border-box; height: 40px; min-height: 40px; margin: 0;
	min-width: 0; width: 100%; border: 1px solid var(--rfx-color-border); border-radius: 999px;
	padding: 8px 16px; background: var(--rfx-color-surface); font: 14px/20px var(--rfx-font-family-sans);
}
.rfx-jornal-footer__newsletter .rfx-newsletter-form > button {
	grid-column: 2; grid-row: 1; box-sizing: border-box; height: 40px; min-height: 40px; margin: 0; white-space: nowrap;
	border: 0; border-radius: 999px; padding: 8px 18px;
	background: var(--rfx-color-brand); color: #fff;
	font: 600 12px/20px var(--rfx-font-family-sans); text-transform: uppercase;
}
.rfx-jornal-footer__newsletter .rfx-newsletter-form__consent,
.rfx-jornal-footer__newsletter [data-rfx-newsletter-message] {
	grid-column: 1 / -1; font: 11px/16px var(--rfx-font-family-sans);
}
.rfx-jornal-footer__newsletter .rfx-newsletter-form__consent { grid-row: 2; }
.rfx-jornal-footer__newsletter [data-rfx-newsletter-message] { grid-row: 3; margin: 0; }
.rfx-jornal-footer__newsletter [data-rfx-newsletter-message]:empty { display: none; }
.rfx-jornal-footer__social { grid-column: 2; }
.rfx-jornal-footer__social ul { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }
.rfx-jornal-footer__social svg { width: 20px; height: 20px; fill: currentColor; }
/* The Master reserves the icon row for mobile; desktop keeps Siga-nos. */
body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__social { display: none; }
.rfx-jornal-footer__legal :is(ul, .rfx-legal-labels) {
	display: flex; flex-wrap: wrap; gap: 12px 20px;
}
.rfx-jornal-footer__legal .rfx-legal-labels span { font: 12px/20px var(--rfx-font-family-sans); }

@media (max-width: 48rem) {
	body.rfx-editorial-site.home { --rfx-homepage-hero-size: 30px; }
	body.rfx-editorial-site.home .rfx-hero-title[class] {
		font-size: var(--rfx-homepage-hero-size); line-height: 1.1; letter-spacing: -.5px;
	}
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-4c8ea34e > .rfx-card-excerpt {
		font-size: 13.5px; line-height: 18px; margin-bottom: 16px;
	}
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-4c8ea34e > .rfx-category-label[class] { font-size: 10.5px; line-height: 14px; margin: 12px 0 0; padding: 0; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-0f9e8d7e, .gb-element-d7d0b462, .gb-element-176702bd) > p[class],
	body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-6b86d1cd, .gb-element-e0fe0caa) > .rfx-editorial-card > p[class] { font: 10px/14px var(--rfx-font-family-sans); margin: 0; padding: 0; text-align: right; }
	body.rfx-editorial-site.home .gb-text-c4efef48 { font-size: 18px; line-height: 23px; padding-block: 12px; }

	/* Same logical cards; mobile changes their presentation, not the selection. */
	body.rfx-editorial-site.home .gb-element-fa96bd99 :is(
		.gb-element-edd93f79 > div, .gb-element-c054a809 > div,
		.gb-element-8abe2f32 > div, .gb-element-f89ca491 > div,
		.gb-element-97b146f9 > div, .gb-element-9f589089 > div:not(.rfx-homepage-load-more),
		.gb-element-9f589089 > article
	) {
		display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 29%);
		align-items: start; column-gap: 12px; row-gap: 0; padding: 12px 0;
		margin: 0; min-width: 0; width: 100%; border-bottom: 1px solid var(--rfx-color-divider);
	}
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-9f589089 > div:not(.rfx-homepage-load-more) > div,
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-9f589089 > article > .rfx-generic-listing-card__content { display: contents; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-edd93f79, .gb-element-c054a809, .gb-element-8abe2f32, .gb-element-f89ca491, .gb-element-97b146f9, .gb-element-9f589089) :is(.rfx-jornal-blueprint__media, .rfx-generic-listing-card__image) {
		display: block; grid-column: 2; grid-row: 1 / span 3; align-self: start;
		width: 100%; margin: 0; aspect-ratio: 3 / 2;
	}
	body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-edd93f79, .gb-element-c054a809, .gb-element-8abe2f32, .gb-element-f89ca491, .gb-element-97b146f9, .gb-element-9f589089) .rfx-jornal-blueprint__media:has(.rfx-editorial-video) { aspect-ratio: 16 / 9; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-edd93f79, .gb-element-c054a809, .gb-element-8abe2f32, .gb-element-f89ca491, .gb-element-97b146f9, .gb-element-9f589089) :is(.rfx-jornal-blueprint__media img, .rfx-generic-listing-card__image img) {
		width: 100%; height: 100%; object-fit: cover;
	}
	body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-edd93f79, .gb-element-c054a809, .gb-element-8abe2f32, .gb-element-f89ca491, .gb-element-97b146f9, .gb-element-9f589089) :is(h3, h4, .rfx-card-title[class]) {
		grid-column: 1; font-family: var(--rfx-font-family-sans); font-size: 18px;
		font-weight: 600; line-height: 22px; letter-spacing: 0; margin: 2px 0 4px; padding: 0;
		-webkit-line-clamp: unset;
		display: block; overflow: visible; max-height: none;
	}
	body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-edd93f79, .gb-element-c054a809, .gb-element-8abe2f32, .gb-element-f89ca491, .gb-element-97b146f9, .gb-element-9f589089) :is(p, .rfx-card-excerpt[class]) {
		grid-column: 1; font-size: 13.5px; line-height: 18px; margin: 0; padding: 0; letter-spacing: 0;
	}
	body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-edd93f79, .gb-element-c054a809, .gb-element-8abe2f32, .gb-element-f89ca491, .gb-element-97b146f9, .gb-element-9f589089) .rfx-category-label[class] {
		font-size: 12px; font-weight: var(--rfx-font-weight-semibold); line-height: 16px; margin: 0; padding: 0;
	}
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-edd93f79 > div:not(:has([data-rfx-editorial-post-id])) { display: none; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-8abe2f32 > :nth-child(3) { order: 11; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-f89ca491 > :nth-child(2) { order: 12; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-8abe2f32 > :nth-child(2) { order: 13; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-f89ca491 > :nth-child(1) { order: 14; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-f89ca491 > :nth-child(3) { order: 15; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-c054a809 { margin-block: 0 16px; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-50fd7d3b { padding: 0; margin-top: 16px; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-50fd7d3b > .rfx-card-title { font-size: 22px; font-weight: 600; line-height: 26px; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-50fd7d3b > .rfx-card-excerpt { font-size: 13.5px; line-height: 18px; margin-bottom: 12px; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-50fd7d3b > .rfx-category-label { font-size: 10.5px; line-height: 14px; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-b43225e8 { display: block; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-bceec245 { padding-top: 24px; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-3090d5be { padding: 12px; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-481d4a5e { padding: 0; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-481d4a5e > .rfx-card-title { font-size: 18px; font-weight: 600; line-height: 22px; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-481d4a5e > .rfx-card-excerpt { font-size: 13.5px; line-height: 18px; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-bceec245, .gb-element-9f589089) > .rfx-section-title { font-size: 22px; line-height: 27px; }
	body.rfx-editorial-site.home #gb-tab-item-139fbeb8 > div { flex-direction: row-reverse; gap: 12px; padding-block: 12px; align-items: center; }
	body.rfx-editorial-site.home #gb-tab-item-139fbeb8 > div > div { min-width: 0; }
	body.rfx-editorial-site.home #gb-tab-item-139fbeb8 > div > div:first-child { flex: 1; text-align: left; align-items: flex-start; }
	body.rfx-editorial-site.home #gb-tab-item-139fbeb8 > div > div:last-child { flex: 0 0 48px; width: 48px; }
	body.rfx-editorial-site.home #gb-tab-item-139fbeb8 .rfx-jornal-blueprint__opinion-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
	body.rfx-editorial-site.home #gb-tab-item-139fbeb8 :is(.rfx-column-item-title, .rfx-author-name) { text-align: left; font-size: 16px; line-height: 20px; }
	body.rfx-editorial-site.home #gb-tab-item-139fbeb8 .rfx-author-name { font-size: 11px; line-height: 16px; }
	body.rfx-editorial-site.home #gb-tab-item-d1fc2f2a > div { padding-block: 12px; align-items: flex-start; text-align: left; }
	body.rfx-editorial-site.home #gb-tab-item-d1fc2f2a .rfx-column-item-title { font-size: 16px; line-height: 20px; margin: 0; text-align: left; }
	body.rfx-editorial-site.home #gb-tab-item-d1fc2f2a > div > p { order: -1; margin: 0 0 4px; font-size: 10.5px; line-height: 14px; font-style: normal; }
	body.rfx-editorial-site.home .rfx-jornal-home-external-sources { width: min(100vw, calc(100% + 30px)); min-width: 0; margin-inline: max(-15px, calc((100% - 100vw) / 2)); }
	body.rfx-editorial-site.home .rfx-jornal-home-external-sources__header { padding: 8px 15px; }
	body.rfx-editorial-site.home .rfx-jornal-home-external-sources__title { font-size: 18px; line-height: 24px; margin: 0; }
	body.rfx-editorial-site.home .rfx-jornal-home-external-sources__empty { padding: 8px 15px; font-size: 12px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	body.rfx-editorial-site.home .rfx-rss-ticker { font-size: 12px; line-height: 18px; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-9f589089 > .gb-element-b98c330c[class],
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-9f589089 > .gb-element-8ec38607[class] { display: none; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-e0fe0caa.rfx-homepage-more-expanded .gb-element-9f589089 > :is(.gb-element-b98c330c, .gb-element-8ec38607) { display: grid; }
	body.rfx-editorial-site.home .rfx-homepage-load-more { display: block; margin-block: 16px; text-align: center; }
	body.rfx-editorial-site.home .rfx-homepage-load-more .rfx-generic-listing__pagination { justify-content: center; }
	body.rfx-editorial-site.home .rfx-homepage-load-more a.rfx-button { padding: 6px 18px; font: 600 12px/16px var(--rfx-font-family-sans); border: 0; border-radius: 999px; background: var(--rfx-color-brand); color: #fff; text-transform: uppercase; }
	/* Mobile V2: reserve dimensions on the creative, never a common square
	 * wrapper. Legacy assets keep their native ratio and are not upscaled. */
	body.rfx-editorial-site.home .gb-element-fa96bd99 .rfx-ad--image,
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-6b86d1cd > .rfx-editorial-card > .rfx-ad--homepage_lateral_secondary { width: 100%; max-width: 100%; padding-inline: 0; }
	/* Keep the width/height presentational aspect ratio. Overriding it with
	 * auto makes WordPress sizes="auto" lazy images use the 1500px intrinsic
	 * containment fallback, even after decoding. */
	body.rfx-editorial-site.home .gb-element-fa96bd99 .rfx-ad--image img { width: auto; max-width: 100%; height: auto; object-fit: contain; margin-inline: auto; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .rfx-ad--image img[width="800"][height="800"] { width: 100%; aspect-ratio: auto 1 / 1; }
	/* Presentation-only hook for a future authorized provider. No SDK, network
	 * delivery or campaign selection is enabled by this class. The served
	 * creative must carry its intrinsic width/height to reserve its own space. */
	body.rfx-editorial-site.home .gb-element-fa96bd99 .rfx-ad--programmatic { display: flex; justify-content: center; width: 100%; max-width: 100%; padding-inline: 0; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .rfx-ad--programmatic > * { flex: 0 1 auto; max-width: 100%; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .rfx-ad--programmatic img { width: auto; max-width: 100%; height: auto; object-fit: contain; }
	/* One spacing owner per visible mobile placement. The shell already owns
	 * its 15px inset; never pad/crop the image to create breathing room. */
	body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-0f9e8d7e, .gb-element-d7d0b462, .gb-element-176702bd) {
		padding-block: 22px; margin-block: 0;
	}
	body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-0f9e8d7e, .gb-element-d7d0b462, .gb-element-176702bd) > .rfx-ad { margin-block: 0; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-6b86d1cd > .rfx-editorial-card > .rfx-ad {
		margin-block: 22px; margin-inline: auto;
	}
	body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-6b86d1cd, .gb-element-e0fe0caa) > .rfx-editorial-card > .rfx-ad + .rfx-ad {
		margin-top: 22px;
	}
	body.rfx-editorial-site footer.rfx-jornal-footer { padding: 16px 15px 0; }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__inner { padding-inline: 0; }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__column { padding-block: 10px; }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__column h2 { margin: 0; padding: 0; border: 0; font-size: 14px; line-height: 22px; }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-homepage-footer-toggle { line-height: 22px; }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__contact { display: flex; flex-direction: column; gap: 16px; padding-block: 20px; }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__newsletter { order: 1; }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__newsletter .rfx-newsletter-form { column-gap: 8px; }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__newsletter .rfx-newsletter-form > input { padding-inline: 12px; font-size: 12px; }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__newsletter .rfx-newsletter-form > button { padding-inline: 12px; font-size: 11px; }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__address { order: 2; width: 100%; }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__social { display: block; order: 3; width: 100%; }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__social ul { justify-content: flex-start; }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__legal { gap: 8px; padding-block: 12px; }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__legal ul { gap: 8px 12px; }
}

/* Desktop V1; WIDTH-01 estende apenas o shell exterior aprovado. */
body.rfx-editorial-site.home .rfx-ad { position: relative; }
body.rfx-editorial-site.home .rfx-homepage-ad-label { display: block; text-align: right; margin: 0 0 4px; padding: 0; color: var(--rfx-color-label); font: 400 10px/12px var(--rfx-font-family-sans); }
body.rfx-editorial-site :is(#page.grid-container, .rfx-identity-main) { box-sizing: border-box; max-width: var(--rfx-container-content); margin-inline: auto; }
body.rfx-editorial-site :is(.jdg-header-top, .jdg-header-nav > div, .rfx-jornal-footer__inner) {
	width: min(var(--rfx-container-content), 100%); max-width: var(--rfx-container-content); margin-inline: auto;
}
body.rfx-editorial-site.home .gb-element-fa96bd99 { margin-inline: auto; }
body.rfx-editorial-site.home .rfx-homepage-video { display: block; width: 100%; min-width: 0; }
body.rfx-editorial-site.home .rfx-homepage-video figure { margin: 0; width: 100%; }
body.rfx-editorial-site.home .rfx-homepage-video :is(.rfx-article-video-player, video) { display: block; aspect-ratio: 16 / 9; width: 100%; }
body.rfx-editorial-site.home .rfx-homepage-video iframe { display: block; width: 100%; height: 100%; border: 0; aspect-ratio: 16 / 9; }
body.rfx-editorial-site .rfx-jornal-footer__address .rfx-brand-logo { background: transparent; }
body.rfx-editorial-site .rfx-jornal-footer__address .rfx-brand-logo img { width: 180px; height: auto; max-width: 100%; max-height: 92px; object-fit: contain; }
body.rfx-site-jornal .rfx-jornal-footer__address .rfx-brand-logo img { width: 46px; height: 92px; }
body.rfx-editorial-site.home .gb-element-3090d5be { padding: 30px; column-gap: 60px; }
body.rfx-editorial-site.home .gb-element-3090d5be > :is(.gb-element-481d4a5e, .gb-element-b43225e8) { padding-inline: 0; min-width: 0; }
body.rfx-editorial-site.home .gb-element-b43225e8 > :is(.gb-element-84fc3b57, .gb-element-0298677b, .gb-element-d3e569f8) {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; border-color: var(--rfx-color-divider);
}
body.rfx-editorial-site.home .rfx-jornal-home-external-sources .rfx-rss-ticker {
	background: color-mix(in srgb, var(--rfx-color-brand) 35%, white); padding: 10px 20px;
	font: 600 16px/22px var(--rfx-font-family-sans);
}
body.rfx-editorial-site.home .rfx-jornal-home-external-sources__title { font-weight: 400; }
body.rfx-editorial-site.home .rfx-rss-ticker .rfx-rss-ticker__source { color: #fff; }
body.rfx-editorial-site.home .rfx-rss-ticker .rfx-rss-ticker__title { color: var(--rfx-color-brand); }
body.rfx-editorial-site.home .rfx-rss-ticker .rfx-rss-ticker__link { gap: 4px; }
body.rfx-editorial-site.home .rfx-rss-ticker__track { gap: 20px; }
body.rfx-editorial-site.home .rfx-rss-ticker__item::before { margin-inline: var(--rfx-space-4); content: "•"; }
.rfx-jornal-footer { --rfx-footer-rule: color-mix(in srgb, var(--rfx-color-border) 50%, var(--rfx-color-surface-subtle)); }
.rfx-jornal-footer :is(.rfx-jornal-footer__columns, .rfx-jornal-footer__contact) { border-bottom: 1px solid var(--rfx-footer-rule); }
body.rfx-editorial-site footer .rfx-jornal-footer__column .rfx-jornal-footer__list :is(a, span) { color: var(--rfx-color-text-muted); font: 400 14px/1.65 var(--rfx-font-family-sans); }
body.rfx-editorial-site footer .rfx-jornal-footer__column .rfx-jornal-footer__list a:is(:hover, :focus-visible) { color: var(--rfx-color-text-muted); }
body.rfx-editorial-site footer .rfx-jornal-footer__legal .rfx-jornal-footer__list :is(a, span) { color: var(--rfx-color-text-muted); font: 400 12px/20px var(--rfx-font-family-sans); }
body.rfx-editorial-site footer .rfx-jornal-footer__legal .rfx-jornal-footer__list a:is(:hover, :focus-visible) { color: var(--rfx-color-text-muted); }
body.rfx-editorial-site footer .rfx-jornal-footer__column h2 { border-bottom: 1px solid var(--rfx-footer-rule); padding-bottom: 12px; margin-bottom: 20px; }
.rfx-jornal-footer__newsletter .rfx-newsletter-form > label[for] {
	position: static; width: auto; height: auto; overflow: visible; clip-path: none;
	grid-column: 1; grid-row: 1; font: 600 14px/20px var(--rfx-font-family-sans); color: var(--rfx-color-text-muted); margin: 0;
}
.rfx-jornal-footer__newsletter .rfx-newsletter-form { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
.rfx-jornal-footer__newsletter .rfx-newsletter-form > input { grid-column: 2; }
.rfx-jornal-footer__newsletter .rfx-newsletter-form > button { grid-column: 3; background: var(--rfx-color-text-muted); outline-color: var(--rfx-focus-outline-color); }
@media (max-width: 48rem) {
	body.rfx-editorial-site.home .gb-element-3090d5be { padding: 20px; row-gap: 24px; }
	body.rfx-editorial-site.home .gb-element-b43225e8 > :is(.gb-element-84fc3b57, .gb-element-0298677b, .gb-element-d3e569f8) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.rfx-jornal-footer__newsletter .rfx-newsletter-form { grid-template-columns: minmax(0, 1fr) auto; }
	.rfx-jornal-footer__newsletter .rfx-newsletter-form > label[for] { grid-column: 1 / -1; grid-row: 1; }
	.rfx-jornal-footer__newsletter .rfx-newsletter-form > input { grid-column: 1; grid-row: 2; }
	.rfx-jornal-footer__newsletter .rfx-newsletter-form > button { grid-column: 2; grid-row: 2; }
	.rfx-jornal-footer__newsletter .rfx-newsletter-form__consent { grid-row: 3; }
	.rfx-jornal-footer__newsletter [data-rfx-newsletter-message] { grid-row: 4; }
}

/* Mobile V1: complete titles and media, without changing editorial data or
 * the desktop composition. Shared selectors apply to both Brand Contexts. */
@media (max-width: 48rem) {
	body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.rfx-hero-title, .rfx-card-title, .rfx-column-item-title)[class] {
		display: block; -webkit-line-clamp: unset; overflow: visible; max-height: none;
	}
	body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-edd93f79, .gb-element-c054a809, .gb-element-8abe2f32, .gb-element-f89ca491, .gb-element-97b146f9, .gb-element-9f589089) .rfx-card-excerpt[class] { display: none; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-edd93f79, .gb-element-c054a809, .gb-element-8abe2f32, .gb-element-f89ca491, .gb-element-9f589089) > :is(div, article):not(.rfx-homepage-load-more) { padding-block: var(--rfx-space-4); }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .rfx-category-label[class],
	body.rfx-editorial-site.home .gb-element-fa96bd99 .rfx-category-label[class] a {
		font-weight: var(--rfx-font-weight-semibold); color: var(--rfx-color-text-muted);
	}
	body.rfx-editorial-site.home .gb-text-c4efef48 { font-weight: var(--rfx-font-weight-semibold); }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .rfx-metadata[class],
	body.rfx-editorial-site.home .rfx-homepage-ad-label { font-weight: var(--rfx-font-weight-semibold); color: var(--rfx-color-text-muted); }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-50fd7d3b > .rfx-jornal-blueprint__media + .rfx-card-excerpt { margin-top: var(--rfx-home-media-excerpt-gap); }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-3090d5be { grid-template-columns: minmax(0, 1fr); background: var(--rfx-color-surface-subtle); }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-b43225e8 { display: block; width: 100%; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-b43225e8 > div { grid-template-columns: minmax(0, 28%) minmax(0, 1fr); align-items: start; gap: var(--rfx-space-4); }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-b43225e8 .rfx-homepage-optional-highlight[class] { font-size: 18px; line-height: 22px; word-break: normal; overflow-wrap: normal; }
	body.rfx-editorial-site.home .gb-element-b43225e8 .rfx-jornal-blueprint__media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__column { border-bottom: 1px solid var(--rfx-footer-rule); }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__column h2 { border: 0; margin: 0; padding: 0; }
	body.rfx-editorial-site footer.rfx-jornal-footer .rfx-jornal-footer__legal .rfx-jornal-footer__list :is(a, span) { color: var(--rfx-color-text-muted); font-weight: var(--rfx-font-weight-semibold); }
}

/* The title-first stacks use the same media-to-text token as the Special. */
body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-50fd7d3b, .gb-element-c00772ca) > .rfx-jornal-blueprint__media + .rfx-card-excerpt { margin-top: var(--rfx-home-media-excerpt-gap); }
/* Ads variants are selected by the Ads module; inactive templates load no media. */
.rfx-ad-responsive:not([hidden]) { display: contents; }
.rfx-ad-responsive[hidden] { display: none !important; }
body.rfx-editorial-site.home .gb-element-fa96bd99 :is(.gb-element-6b86d1cd, .gb-element-e0fe0caa) > .rfx-editorial-card > .rfx-ad-responsive + .rfx-ad-responsive > .rfx-ad { margin-top: 12px; }
body.rfx-editorial-site.home :is(.gb-element, div):has(> .rfx-ad-responsive[hidden]):not(:has(> :not(.rfx-ad-responsive), > .rfx-ad-responsive:not([hidden]))) { display: none; }
@media (max-width: 48rem) {
	body.rfx-editorial-site.home .gb-element-6b86d1cd > .rfx-editorial-card > .rfx-ad-responsive > .rfx-ad--homepage_lateral { order: 15; width: 100%; max-width: 800px; margin-inline: auto; }
	body.rfx-editorial-site.home .gb-element-6b86d1cd > .rfx-editorial-card > .rfx-ad-responsive > .rfx-ad--homepage_lateral_secondary { order: 21; width: 100%; }
	body.rfx-editorial-site.home .gb-element-fa96bd99 .gb-element-6b86d1cd > .rfx-editorial-card > .rfx-ad-responsive > .rfx-ad { margin-block: 22px; margin-inline: auto; }
}

/* D-06: validation messages occupy their own row, next to the owning field. */
.rfx-jornal-footer__newsletter .rfx-field-error { grid-column: 1 / -1; overflow-wrap: anywhere; }
.rfx-jornal-footer__newsletter .rfx-newsletter-form:has(.rfx-field-error:not([hidden])) [data-rfx-field="email"] { grid-row: 2; }
.rfx-jornal-footer__newsletter .rfx-newsletter-form:has(.rfx-field-error:not([hidden])) .rfx-newsletter-form__consent { grid-row: 3; }
.rfx-jornal-footer__newsletter .rfx-newsletter-form:has(.rfx-field-error:not([hidden])) [data-rfx-field="consent"] { grid-row: 4; }
.rfx-jornal-footer__newsletter .rfx-newsletter-form:has(.rfx-field-error:not([hidden])) [data-rfx-newsletter-message] { grid-row: 5; }
@media (max-width: 48rem) {
	body.rfx-editorial-site .rfx-jornal-footer__contact { display: flex; flex-direction: column; gap: 16px; padding-block: 20px; }
	.rfx-jornal-footer__newsletter .rfx-newsletter-form:has(.rfx-field-error:not([hidden])) [data-rfx-field="email"] { grid-row: 3; }
	.rfx-jornal-footer__newsletter .rfx-newsletter-form:has(.rfx-field-error:not([hidden])) .rfx-newsletter-form__consent { grid-row: 4; }
	.rfx-jornal-footer__newsletter .rfx-newsletter-form:has(.rfx-field-error:not([hidden])) [data-rfx-field="consent"] { grid-row: 5; }
	.rfx-jornal-footer__newsletter .rfx-newsletter-form:has(.rfx-field-error:not([hidden])) [data-rfx-newsletter-message] { grid-row: 6; }
}

@media (max-width: 24rem) {
	body.rfx-editorial-site .rfx-jornal-footer__newsletter .rfx-newsletter-form { grid-template-columns: minmax(0, 1fr); }
	body.rfx-editorial-site .rfx-jornal-footer__newsletter .rfx-newsletter-form > :is(input, button) { grid-column: 1; width: 100%; }
	body.rfx-editorial-site .rfx-jornal-footer__newsletter .rfx-newsletter-form > button { grid-row: 6; }
	body.rfx-editorial-site .rfx-jornal-footer__newsletter .rfx-newsletter-form [data-rfx-newsletter-message] { grid-row: 7; }
}
