/* "Leia também" band (lib/related-articles.php). Self-contained: reads the skin tokens when present, with fallbacks,
   so it keeps working when the site skin changes. Text never below 15px. */
.mp-related { background: var(--panel, #ffffff); color: var(--text, #2c2c2e); border-top: 1px solid var(--rule, rgba(29,29,31,.16)); padding: clamp(40px, 6vw, 80px) 0; }
.mp-related * { box-sizing: border-box; }
.mp-related-in { width: min(100% - 2 * var(--gutter, 20px), var(--max, 1360px)); margin-inline: auto; }
.mp-related h2 { margin: 0 0 clamp(20px, 3vw, 36px); font-size: var(--h2-article, clamp(26px, 2.6vw, 36px)); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink, #1d1d1f); }
.mp-related-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.mp-related-list li { margin: 0; padding: 0; border-top: 1px solid var(--rule, rgba(29,29,31,.16)); }
.mp-related-list li::before, .mp-related-list li::marker { content: none; }
.mp-related-a { display: block; padding: 20px 0 22px; color: inherit; text-decoration: none; }
.mp-related-t { display: block; font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; line-height: 1.25; color: var(--ink, #1d1d1f); text-wrap: balance; }
.mp-related-d { display: block; margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--muted, #56565a); }
.mp-related-a:hover .mp-related-t, .mp-related-a:focus-visible .mp-related-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.mp-related-a:focus-visible { outline: 3px solid var(--green, #1d7a45); outline-offset: 4px; border-radius: 4px; }
@media (max-width: 760px) { .mp-related-list { grid-template-columns: 1fr; } .mp-related-a { padding: 18px 0 20px; } }

/* link from a post back to its topic hub */
.mp-related-more { margin: clamp(20px, 3vw, 32px) 0 0; font-size: 17px; }
.mp-related-more a { color: var(--ink, #1d1d1f); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.mp-related-more a:focus-visible { outline: 3px solid var(--green, #1d7a45); outline-offset: 4px; border-radius: 4px; }
/* hub pages: full article index for the topic (lib/related-articles.php, marcuspai_hub_article_index) */
.mp-hubindex h3 { margin: clamp(28px, 4vw, 44px) 0 14px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; color: var(--ink, #1d1d1f); }
.mp-hubindex h2 + h3 { margin-top: 0; }
.mp-hubindex-list { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: clamp(24px, 4vw, 64px); }
.mp-hubindex-list li { margin: 0; padding: 0; break-inside: avoid; border-top: 1px solid var(--rule, rgba(29,29,31,.16)); }
.mp-hubindex-list li::before, .mp-hubindex-list li::marker { content: none; }
.mp-hubindex-list a { display: block; padding: 13px 0 14px; font-size: 17px; line-height: 1.35; color: var(--ink, #1d1d1f); text-decoration: none; }
.mp-hubindex-list a:hover, .mp-hubindex-list a:focus-visible { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.mp-hubindex-list a:focus-visible { outline: 3px solid var(--green, #1d7a45); outline-offset: 2px; border-radius: 4px; }
