/* MarcusPai legacy visual-aid repair CSS pilot.
   Source: content-token-gated extraction from style.css after rendered ownership audit on 2026-06-14.
   Scope: old inline visual-aid markup with tiny rem text or incomplete flex declarations. */

/* Legacy visual aids: restored HTML often used small rem values as if the root
   font size were 16px. This theme uses a 62.5% root, so 0.9rem rendered as 9px. */
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 0.8rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:0.8rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 0.85rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:0.85rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 0.9rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:0.9rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 0.95rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:0.95rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 1rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:1rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 1.1rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:1.1rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 1.2rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:1.2rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 1.3rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:1.3rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 12px"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:12px"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 0.8rem"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:0.8rem"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 0.85rem"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:0.85rem"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 0.9rem"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:0.9rem"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 0.95rem"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:0.95rem"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 1rem"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:1rem"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 1.1rem"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:1.1rem"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 1.2rem"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:1.2rem"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 1.3rem"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:1.3rem"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size: 12px"],
.single-post .artigo :is(p,span,div,li,ul,ol,summary,button,strong,a,small,label)[style*="font-size:12px"]{
	font-size:15px !important;
	line-height:1.48 !important;
}

:where(.single-post,.page,.treatment-template-default) .entry-content :is(h3,h4,h5,h6)[style*="font-size: 0.8rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(h3,h4,h5,h6)[style*="font-size:0.8rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(h3,h4,h5,h6)[style*="font-size: 0.85rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(h3,h4,h5,h6)[style*="font-size:0.85rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(h3,h4,h5,h6)[style*="font-size: 0.9rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(h3,h4,h5,h6)[style*="font-size:0.9rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(h3,h4,h5,h6)[style*="font-size: 0.95rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(h3,h4,h5,h6)[style*="font-size:0.95rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(h3,h4,h5,h6)[style*="font-size: 1rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(h3,h4,h5,h6)[style*="font-size:1rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(h3,h4,h5,h6)[style*="font-size: 1.1rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(h3,h4,h5,h6)[style*="font-size:1.1rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(h3,h4,h5,h6)[style*="font-size: 1.2rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(h3,h4,h5,h6)[style*="font-size:1.2rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(h3,h4,h5,h6)[style*="font-size: 1.3rem"],
:where(.single-post,.page,.treatment-template-default) .entry-content :is(h3,h4,h5,h6)[style*="font-size:1.3rem"],
.single-post .artigo :is(h3,h4,h5,h6)[style*="font-size: 0.8rem"],
.single-post .artigo :is(h3,h4,h5,h6)[style*="font-size:0.8rem"],
.single-post .artigo :is(h3,h4,h5,h6)[style*="font-size: 0.85rem"],
.single-post .artigo :is(h3,h4,h5,h6)[style*="font-size:0.85rem"],
.single-post .artigo :is(h3,h4,h5,h6)[style*="font-size: 0.9rem"],
.single-post .artigo :is(h3,h4,h5,h6)[style*="font-size:0.9rem"],
.single-post .artigo :is(h3,h4,h5,h6)[style*="font-size: 0.95rem"],
.single-post .artigo :is(h3,h4,h5,h6)[style*="font-size:0.95rem"],
.single-post .artigo :is(h3,h4,h5,h6)[style*="font-size: 1rem"],
.single-post .artigo :is(h3,h4,h5,h6)[style*="font-size:1rem"],
.single-post .artigo :is(h3,h4,h5,h6)[style*="font-size: 1.1rem"],
.single-post .artigo :is(h3,h4,h5,h6)[style*="font-size:1.1rem"],
.single-post .artigo :is(h3,h4,h5,h6)[style*="font-size: 1.2rem"],
.single-post .artigo :is(h3,h4,h5,h6)[style*="font-size:1.2rem"],
.single-post .artigo :is(h3,h4,h5,h6)[style*="font-size: 1.3rem"],
.single-post .artigo :is(h3,h4,h5,h6)[style*="font-size:1.3rem"]{
	font-size:20px !important;
	line-height:1.25 !important;
}

/* Legacy mini visual aids: several restored inline timelines use flex
   alignment declarations but omit display:flex, so markers stack vertically. */
.single-post .entry-content div[style*="justify-content: space-between"][style*="position: relative"],
.single-post .entry-content div[style*="justify-content:space-between"][style*="position: relative"],
.single-post .entry-content div[style*="justify-content: space-between"],
.single-post .entry-content div[style*="justify-content:space-between"],
.single-post .entry-content div[style*="justify-content: space-between"][style*="flex-wrap"],
.single-post .entry-content div[style*="justify-content:space-between"][style*="flex-wrap"],
.single-post .entry-content div[style*="flex-wrap: wrap"],
.single-post .entry-content div[style*="flex-wrap:wrap"],
.single-post .entry-content div[style*="align-items: center"][style*="justify-content: space-between"],
.single-post .entry-content div[style*="align-items:center"][style*="justify-content:space-between"],
.single-post .entry-content div[style*="flex-wrap"][style*="justify-content: center"],
.single-post .entry-content div[style*="flex-wrap"][style*="justify-content:center"],
.single-post .entry-content div[style*="justify-content: center"][style*="flex-wrap"],
.single-post .entry-content div[style*="justify-content:center"][style*="flex-wrap"],
.single-post .entry-content div[style*="align-items: center"],
.single-post .entry-content div[style*="align-items:center"],
.single-post .entry-content div[style*="align-items: start"],
.single-post .entry-content div[style*="align-items:start"],
.single-post .entry-content div[style*="align-items: flex-start"],
.single-post .entry-content div[style*="align-items:flex-start"]{
	display:flex !important;
	gap:clamp(14px, 2vw, 24px) !important;
	align-items:flex-start !important;
}

.single-post .entry-content :is(li,label)[style*="align-items: center"],
.single-post .entry-content :is(li,label)[style*="align-items:center"],
.single-post .entry-content :is(li,label)[style*="align-items: start"],
.single-post .entry-content :is(li,label)[style*="align-items:start"],
.single-post .entry-content :is(li,label)[style*="align-items: flex-start"],
.single-post .entry-content :is(li,label)[style*="align-items:flex-start"]{
	display:flex !important;
	gap:10px !important;
	align-items:flex-start !important;
}

.single-post .entry-content div[style*="justify-content: space-between"][style*="position: relative"] > div[style*="width: 22%"],
.single-post .entry-content div[style*="justify-content:space-between"][style*="position: relative"] > div[style*="width: 22%"],
.single-post .entry-content div[style*="justify-content: space-between"][style*="position: relative"] > div[style*="width: 30%"],
.single-post .entry-content div[style*="justify-content:space-between"][style*="position: relative"] > div[style*="width: 30%"]{
	flex:1 1 0 !important;
	min-width:0 !important;
	width:auto !important;
}

.single-post .entry-content div[style*="border-radius: 50%"][style*="align-items: center"][style*="justify-content: center"],
.single-post .entry-content div[style*="border-radius:50%"][style*="align-items:center"][style*="justify-content:center"],
.single-post .entry-content span[style*="border-radius: 50%"][style*="align-items: center"][style*="justify-content: center"],
.single-post .entry-content span[style*="border-radius:50%"][style*="align-items:center"][style*="justify-content:center"]{
	display:flex !important;
	align-items:center !important;
	justify-content:center !important;
}

.single-post .entry-content div[style*="flex-direction: column"],
.single-post .entry-content div[style*="flex-direction:column"]{
	display:flex !important;
}

@media only screen and (max-width:760px){
	.single-post .entry-content div[style*="justify-content: space-between"][style*="position: relative"],
	.single-post .entry-content div[style*="justify-content:space-between"][style*="position: relative"],
	.single-post .entry-content div[style*="justify-content: space-between"],
	.single-post .entry-content div[style*="justify-content:space-between"],
	.single-post .entry-content div[style*="justify-content: space-between"][style*="flex-wrap"],
	.single-post .entry-content div[style*="justify-content:space-between"][style*="flex-wrap"],
	.single-post .entry-content div[style*="flex-wrap: wrap"],
	.single-post .entry-content div[style*="flex-wrap:wrap"],
	.single-post .entry-content div[style*="align-items: center"][style*="justify-content: space-between"],
	.single-post .entry-content div[style*="align-items:center"][style*="justify-content:space-between"],
	.single-post .entry-content div[style*="flex-wrap"][style*="justify-content: center"],
	.single-post .entry-content div[style*="flex-wrap"][style*="justify-content:center"],
	.single-post .entry-content div[style*="justify-content: center"][style*="flex-wrap"],
	.single-post .entry-content div[style*="justify-content:center"][style*="flex-wrap"]{
		flex-direction:column !important;
		align-items:stretch !important;
	}

	.single-post .entry-content div[style*="justify-content: space-between"][style*="position: relative"] > div[style*="width: 22%"],
	.single-post .entry-content div[style*="justify-content:space-between"][style*="position: relative"] > div[style*="width: 22%"],
	.single-post .entry-content div[style*="justify-content: space-between"][style*="position: relative"] > div[style*="width: 30%"],
	.single-post .entry-content div[style*="justify-content:space-between"][style*="position: relative"] > div[style*="width: 30%"]{
		width:100% !important;
	}

	.single-post .entry-content div[style*="justify-content: space-between"][style*="position: relative"] > div[style*="position: absolute"],
	.single-post .entry-content div[style*="justify-content:space-between"][style*="position: relative"] > div[style*="position: absolute"]{
		display:none !important;
	}
}

/* Render QA 2026-06-24: old article card rows also use flex-wrap, but they
   need Swiss-width cells instead of timeline-style flex compression. Keep
   positioned timeline aids on flex; convert unpositioned card rows to grid. */
.single-post .entry-content div[style*="flex-wrap: wrap"]:not([style*="position: relative"]),
.single-post .entry-content div[style*="flex-wrap:wrap"]:not([style*="position: relative"]),
.single-post .entry-content div[style*="flex-wrap"][style*="justify-content: center"]:not([style*="position: relative"]),
.single-post .entry-content div[style*="flex-wrap"][style*="justify-content:center"]:not([style*="position: relative"]){
	display:grid !important;
	grid-template-columns:repeat(auto-fit, minmax(min(100%, 420px), 1fr)) !important;
	gap:clamp(16px, 2vw, 24px) !important;
	align-items:stretch !important;
	justify-content:stretch !important;
}

.single-post .entry-content div[style*="flex-wrap: wrap"]:not([style*="position: relative"]) > *,
.single-post .entry-content div[style*="flex-wrap:wrap"]:not([style*="position: relative"]) > *,
.single-post .entry-content div[style*="flex-wrap"][style*="justify-content: center"]:not([style*="position: relative"]) > *,
.single-post .entry-content div[style*="flex-wrap"][style*="justify-content:center"]:not([style*="position: relative"]) > *{
	width:100% !important;
	max-width:100% !important;
	min-width:0 !important;
}

@media only screen and (max-width:980px){
	.single-post .entry-content div[style*="flex-wrap: wrap"]:not([style*="position: relative"]),
	.single-post .entry-content div[style*="flex-wrap:wrap"]:not([style*="position: relative"]),
	.single-post .entry-content div[style*="flex-wrap"][style*="justify-content: center"]:not([style*="position: relative"]),
	.single-post .entry-content div[style*="flex-wrap"][style*="justify-content:center"]:not([style*="position: relative"]){
		grid-template-columns:1fr !important;
	}
}
