/* Preserve the authored GenerateBlocks trigger and native overlay styling. */
/* Apenas o Mais RFX: GB continua proprietário de foco, animação e scroll lock. */
body.rfx-editorial-site .gb-overlay:has(.rfx-more-panel) .gb-overlay__content {
	max-height: 100dvh;
	max-width: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior-y: contain;
}
.rfx-jornal-navigation__inner,
.jdg-header-nav > div,
.rfx-reflexo-navigation__inner { display: flex; align-items: center; justify-content: center; }
/* Links nativos e trigger GB partilham a mesma caixa, sem offsets por item. */
body.rfx-editorial-site .jdg-header-nav :is(.rfx-list-menu a, [data-gb-overlay]) {
	display: inline-flex;
	align-items: center;
	line-height: var(--rfx-line-height-menu);
	min-height: 1.5em;
	font-family: var(--rfx-font-family-sans);
	font-size: var(--rfx-font-size-menu);
	font-weight: var(--rfx-font-weight-bold);
	letter-spacing: var(--rfx-letter-spacing-body);
	vertical-align: middle;
}
body.rfx-editorial-site .jdg-header-nav a:focus-visible {
	outline: var(--rfx-focus-outline-width) solid var(--rfx-focus-outline-color);
	outline-offset: var(--rfx-focus-outline-offset);
}
@media (max-width: 48rem) {
	.rfx-jornal-navigation,
	.jdg-header-nav,
	.rfx-reflexo-navigation { display: block; }
	/* Keep the menu accessible when this site has no authored overlay. */
	:is(.rfx-jornal-navigation, .jdg-header-nav, .rfx-reflexo-navigation):has([data-gb-overlay]) .rfx-list-menu { display: none; }
}
