/* /palestras-congressos/ as a bold page (wave 2, 2026-10-02): the page's own layout.
   Loaded after bold-kit.css, only on this page (lib/pages-bold.php). Markup: lib/pages-bold/palestras.php.
   Every rule starts with html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras (the <main>; the two header rules
   at the end start from <body>, which carries the same class), px only.
   Layouts: columns from 901px, stacked at 900px and under (tablet 641 to 900, phone to 640).
   Plan: 03-notes/curvatura-inner-bold-20261002/plans/palestras-congressos.md.
   Work log: 03-notes/curvatura-inner-bold-20261002/wave2-formacao-palestras.md.
   Owner taste (OWNER-DECISIONS.md): line bundles never cross a title, the word wall or running text.
   Owner decisions 2026-10-02 (board 2 #a08 to #a11): whole frames everywhere (cover, wall, "Mesas, debates e
   encontros", "Na mídia"); each rule changed for them says so. */

/* ---------- cover (navy). Owner decision 2026-10-02 (board 2 #a09): the WHOLE JMRR frame, at its own ratio, in the
   right column (43%) from the header line to the right screen edge; its caption on the navy under it (no plate over
   the frame) and, under the caption, a strip kept free where the cover's lines come in (it scales with the drawing).
   The title at 88px in the left column (57%). Top padding, title and text width follow the screen. */
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover { display: grid; grid-template-columns: minmax(0, 57fr) minmax(0, 43fr); }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover-copy { position: relative; z-index: 1; padding: min(88px, 6.11vw) 24px 88px var(--mpb-edge); }
/* "CONGRESSOS" is 8.42em wide: the size follows the column (88px from about 1430px) and never reaches the photo */
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover .mpb-cover-title { --mpb-cover-size: clamp(40px, calc((57vw - var(--mpb-edge) - 32px) / 8.42), 88px); white-space: nowrap; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover-text { max-width: min(600px, calc(57vw - var(--mpb-edge) - 72px)); margin-top: 44px; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover-text .mpb-lead { margin-top: 20px; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover-text .mpc-actions { margin-top: 36px; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover-media { position: relative; z-index: 1; padding-bottom: min(150px, 10.42vw); }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover-media .mpb-cap { margin-top: 0; padding: 20px var(--mpb-edge) 0 24px; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover-strip { display: none; }
@media (max-width: 900px) {
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover { display: block; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover-copy { padding: 56px var(--mpc-pad) 0; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover .mpb-cover-title { --mpb-cover-size: clamp(32px, calc((100vw - 2 * var(--mpc-pad)) / 8.55), 88px); }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover-text { max-width: 640px; margin-top: 36px; }
	/* one short wave between the pills and the photo, as wide as the screen */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover-strip { display: block; position: relative; height: 128px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-lines-fone .mpb-bundle-svg { width: 100vw; height: 128px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-lines-fone path { vector-effect: non-scaling-stroke; }
	/* the whole frame, edge to edge, its caption under it on the gutter */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover-media { padding-bottom: 56px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover-media .mpb-cap { padding: 16px var(--mpc-pad) 0; }
}
@media (max-width: 640px) {
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover-copy { padding-top: 44px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover-text { margin-top: 28px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover-text .mpb-lead { margin-top: 16px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-cover-text .mpc-actions { margin-top: 28px; gap: 12px; }
}

/* ---------- Aulas e congressos (ground): the wall of events, each under its year (a big vermilion numeral).
   Two large photos run to the screen edge (the first at the left, the last at the right): in the column beside
   each, the year stands at the top, level with the photo's top edge, and the event's name on the photo's bottom
   line. Two tiles between them: photo, year, name, line. */
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-wall { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px var(--mpb-gap); margin-top: 48px; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-event-cap { margin-top: 28px; }
/* "2025" is 3.09em wide (Unbounded 300): on phones it follows the screen and never leaves the gutters */
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-event-year { --mpb-num-size: clamp(80px, 26vw, 104px); }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-event-text { margin-top: 20px; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-event-name { --mpb-subtitle-size: clamp(22px, 1.81vw, 26px); line-height: 1.12; text-wrap: balance; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-event-text > .mpb-text { margin-top: 10px; }
@media (min-width: 901px) {
	/* Owner decision 2026-10-02 (board 2 #a09): the lower half of the cover's sweep crosses this band's top padding,
	   above the title; the padding grows with the drawing (which scales with the screen under 1440px) */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-eventos { padding-top: clamp(96px, 11.67vw, 168px); }
	/* "CONGRESSOS" is 8.4em wide and must fit the 5fr column */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-eventos .mpb-title { --mpb-title-size: clamp(30px, calc(((min(100vw - 2 * var(--mpc-pad), var(--mpb-max)) - var(--mpb-gap)) * 5 / 12) / 8.6), 64px); text-wrap: initial; white-space: nowrap; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 64px; }
	/* --mpb-palestras-col is the 4fr column beside a large photo */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras :is(.mpb-palestras-event--lead, .mpb-palestras-event--flip) { --mpb-palestras-col: calc((min(100vw - 2 * var(--mpc-pad), var(--mpb-max)) - var(--mpb-gap)) * 4 / 12); grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: var(--mpb-gap); align-items: stretch; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-event--flip { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-event--flip > .mpb-fig { order: 2; }
	/* the column is as tall as the photo: the year at its top, the name at its bottom */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras :is(.mpb-palestras-event--lead, .mpb-palestras-event--flip) .mpb-palestras-event-cap { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; margin-top: 0; }
	/* the year fills the column: 136px at 1440 (429px column), 99px at 1024 */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras :is(.mpb-palestras-event--lead, .mpb-palestras-event--flip) .mpb-palestras-event-year { --mpb-num-size: clamp(72px, calc(var(--mpb-palestras-col) / 3.14), 144px); }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras :is(.mpb-palestras-event--lead, .mpb-palestras-event--flip) .mpb-palestras-event-text { margin-top: 0; }
	/* the large captions: "14º CONGRESSO" is 9.84em wide and must fit the 4fr column */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras :is(.mpb-palestras-event--lead, .mpb-palestras-event--flip) .mpb-palestras-event-name { --mpb-subtitle-size: clamp(22px, calc(var(--mpb-palestras-col) / 10.8), 40px); line-height: 1.08; text-wrap: initial; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras :is(.mpb-palestras-event--lead, .mpb-palestras-event--flip) .mpb-palestras-event-text > .mpb-text { margin-top: 14px; }
	/* tiles: 120px at 1440, 75px at 901 */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-event--tile .mpb-palestras-event-year { --mpb-num-size: clamp(72px, 8.34vw, 120px); }
}
@media (max-width: 900px) {
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-eventos-head { gap: 24px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-wall { gap: 56px; margin-top: 40px; }
	/* stacked: the two large photos run edge to edge, the tiles keep the gutters */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras :is(.mpb-palestras-event--lead, .mpb-palestras-event--flip) > .mpb-fig { margin-inline: calc(-1 * var(--mpc-pad)); }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-event-name { --mpb-subtitle-size: clamp(22px, 4.2vw, 32px); }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-event-name br { display: none; }
}
@media (min-width: 641px) and (max-width: 900px) {
	/* tablets: the two tiles side by side; under a large photo the year at the left, name and line beside it */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras :is(.mpb-palestras-event--lead, .mpb-palestras-event--flip) { grid-column: 1 / -1; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras :is(.mpb-palestras-event--lead, .mpb-palestras-event--flip) .mpb-palestras-event-cap { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 32px; align-items: end; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras :is(.mpb-palestras-event--lead, .mpb-palestras-event--flip) .mpb-palestras-event-year { --mpb-num-size: 104px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras :is(.mpb-palestras-event--lead, .mpb-palestras-event--flip) .mpb-palestras-event-text { margin-top: 0; }
	/* beside the 322px year: "BRASILEIRO DE DOR" (11.83em) stays on one line, so the name sets on two lines */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras :is(.mpb-palestras-event--lead, .mpb-palestras-event--flip) .mpb-palestras-event-name { --mpb-subtitle-size: clamp(22px, calc((100vw - 2 * var(--mpc-pad) - 354px) / 12.1), 32px); text-wrap: balance; }
	/* a tile is half the screen: its year follows the tile (86px at 641, 104px from 760) */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-event--tile .mpb-palestras-event-year { --mpb-num-size: clamp(72px, calc((50vw - 36px) / 3.3), 104px); }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-event--tile .mpb-palestras-event-name { --mpb-subtitle-size: 22px; }
}
@media (max-width: 640px) {
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-wall { gap: 48px; margin-top: 32px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-event-cap { margin-top: 24px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-event-text { margin-top: 16px; }
}

/* ---------- Mesas, debates e encontros (tint). Owner decision 2026-10-02 (board 2 photo list): the congress panels
   and stages, whole frames at their own ratio, 12px apart, each caption under its frame. From 1101px two large
   frames, then three; 641 to 1100px the wide plenary room across the row, the four others two by two (a wide
   room rather than the posed group at full width: low profile); phones one column. */
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-mosaic { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 12px; margin-top: 48px; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-frame .mpb-cap { margin-top: 14px; text-wrap: pretty; }
@media (min-width: 641px) {
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-mosaic > li:nth-child(1) { grid-column: 1 / -1; }
}
@media (min-width: 901px) {
	/* "MESAS, DEBATES" is 10.04em wide and must fit the 5fr column on one line (52px at 1440) */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-mesas .mpb-title { --mpb-title-size: clamp(28px, calc(((min(100vw - 2 * var(--mpc-pad), var(--mpb-max)) - var(--mpb-gap)) * 5 / 12) / 10.4), 56px); text-wrap: initial; white-space: nowrap; }
}
@media (min-width: 1101px) {
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-mosaic > li { grid-column: span 2; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-mosaic > li:nth-child(-n+2) { grid-column: span 3; }
}
@media (max-width: 900px) {
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-mesas-head { gap: 24px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-mosaic { margin-top: 40px; }
}
@media (max-width: 640px) {
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-mosaic { gap: 28px; margin-top: 32px; }
}

/* ---------- Temas das aulas (cobalt, type only): the nine topics as a wall of display words, a slash between them */
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-temas-wall { display: flex; flex-wrap: wrap; row-gap: 6px; margin-top: 44px; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-temas-wall > li { color: #FFFFFF; font-size: clamp(28px, 3.9vw, 56px); line-height: 1.14; white-space: nowrap; text-wrap: initial; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-temas-wall > li:not(:last-child)::after { content: '/'; margin: 0 0.3em; opacity: 0.5; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-temas-text { max-width: 760px; margin-top: 48px; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-temas-text .mpb-statement { --mpb-statement-size: clamp(20px, 1.67vw, 24px); line-height: 1.35; text-wrap: pretty; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-temas-text .mpb-statement + .mpb-statement { margin-top: 16px; }
@media (min-width: 901px) {
	/* room under the two sentences for the lines that leave the band at its bottom right corner */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-temas { padding-bottom: 128px; }
}
@media (max-width: 900px) {
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-temas { padding-bottom: 128px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-temas-wall > li { font-size: clamp(28px, 5.2vw, 44px); }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-temas-text { margin-top: 40px; }
	/* the stacked drawing across the seam: as wide as the screen, 152px high, half in each band */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-lines-seam .mpb-bundle-svg { width: 100vw; height: 152px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-lines-seam path { vector-effect: non-scaling-stroke; }
}
@media (max-width: 640px) {
	/* phones: one topic per line, hairlines, no slashes */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-temas-wall { display: block; margin-top: 8px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-temas-wall > li { padding: 13px 0 12px; border-bottom: 1px solid var(--mpb-hair); font-size: clamp(24px, 7.2vw, 28px); line-height: 1.12; white-space: normal; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-temas-wall > li:not(:last-child)::after { content: none; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-temas-text { margin-top: 32px; }
}

/* ---------- Na mídia (ground). Owner decisions 2026-10-02 (board 2 #a11, card p18): the lines cross the top
   padding, above the title; two broadcast frames, then three studio frames, whole. Justified rows: each frame's
   flex share is its own ratio (--mpb-palestras-r), so the frames of a row are equally tall; 12px apart.
   641 to 1100px the wide studio frame takes its own row; phones one column. */
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-midia { display: flex; flex-wrap: wrap; gap: 32px 12px; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-midia--a { margin-top: 48px; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-midia--b { margin-top: 32px; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-midia > li { flex: var(--mpb-palestras-r, 1.5) 1 0px; min-width: 0; }
@media (min-width: 901px) {
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-tv { padding-top: 168px; }
}
@media (max-width: 1100px) {
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-midia--b > li:first-child { flex-basis: 100%; }
}
@media (max-width: 900px) {
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-tv { padding-top: 120px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-midia--a { margin-top: 40px; }
}
@media (max-width: 640px) {
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-midia { gap: 28px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-midia > li { flex-basis: 100%; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-midia--a { margin-top: 32px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-midia--b { margin-top: 28px; }
}

/* ---------- Como atualizo uma conduta (tint): the book strip edge to edge (hands only), then title, lead and pills
   beside the four numbered steps */
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-livro { aspect-ratio: 4.8 / 1; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-livro img { object-position: 50% 38%; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-conduta-grid { padding-block: var(--mpb-band-y); }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-conduta-copy > .mpb-lead { margin-top: 28px; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-conduta-copy > .mpc-actions { margin-top: 32px; gap: 12px; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-steps { --mpb-step-max: 144px; --mpb-step-col: calc(var(--mpb-step-num) * 1.7); }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-steps > li { padding: 20px 0; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-steps > li:first-child { padding-top: 0; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-steps > li:last-child { padding-bottom: 0; }
@media (min-width: 901px) {
	/* "COMO ATUALIZO" is 10.2em wide and must fit the 5fr column */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-conduta .mpb-title { --mpb-title-size: clamp(26px, calc(((100vw - 2 * var(--mpc-pad) - var(--mpb-gap)) * 5 / 12) / 10.6), 48px); text-wrap: initial; }
	/* the numeral follows its 7fr column: 144px at 1440, never touching the text */
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-steps { --mpb-step-num: clamp(88px, 10vw, var(--mpb-step-max)); }
}
@media (min-width: 641px) and (max-width: 900px) {
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-livro { aspect-ratio: 3 / 1; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-steps { --mpb-step-num: 120px; }
}
@media (max-width: 640px) {
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-livro { aspect-ratio: 4 / 3; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-conduta-copy > .mpb-lead { margin-top: 20px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-conduta-copy > .mpc-actions { margin-top: 24px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-steps { margin-top: 16px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-steps > li { padding: 24px 0; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-steps > li:first-child { padding-top: 0; }
}

/* ---------- Perguntas rápidas and Páginas relacionadas (ground) */
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-faq .mpb-faq { margin-top: 32px; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-rel { margin-top: 64px; }
html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-rel .mpb-rows { margin-top: 32px; }
@media (max-width: 640px) {
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-faq .mpb-faq { margin-top: 24px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-rel { margin-top: 64px; }
	html body:is(#mpc, .mpc-site).mpb-page .mpb-palestras .mpb-palestras-rel .mpb-rows { margin-top: 24px; }
}

/* ---------- header: this page belongs to the "Sobre" section, so that item carries the mark of the current
   section (the site layer marks only an exact path match). No aria-current: it is the parent, not the page. */
html body:is(#mpc, .mpc-site).mpb-page.mpb-palestras .mph-nav a.mpc-navlink[href$="/sobre/"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--mpc-accent); text-decoration-thickness: 1.5px; }
@media (max-width: 1023px) { html body:is(#mpc, .mpc-site).mpb-page.mpb-palestras .mph-menu-list a.mpc-navlink[href$="/sobre/"] { color: var(--mpc-accent); } }
