/* Reader support only: loaded on posts and the /author/ profile page. */
.ml-article-sidebar {
  display: block;
  min-width: 0;
  margin-top: 3rem;
  color: var(--ml-color-text);
  font-size: .875rem;
  line-height: 1.85;
}
.ml-article-sidebar__section { padding: 1.25rem 0; border-top: 1px solid var(--ml-color-border); }
.ml-article-sidebar__title { margin: 0 0 .75rem; padding: 0; border: 0; font-size: 1rem; font-weight: 600; line-height: 1.6; }
.ml-article-sidebar__about > p { margin: 0; }
.ml-article-sidebar__profile-link { display: inline-flex; align-items: center; min-height: 44px; gap: .25em; color: var(--ml-color-primary, #5d586f); text-underline-offset: .3em; }
.ml-article-sidebar__related-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.ml-article-sidebar__related-list a { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: .75rem; align-items: start; color: var(--ml-color-text); text-decoration: none; }
.ml-article-sidebar__related-list a:not(:has(img)) { grid-template-columns: minmax(0,1fr); }
.ml-article-sidebar__related-list a:hover span { text-decoration: underline; text-underline-offset: .2em; }
.ml-article-sidebar__related-list a:focus-visible { outline: 2px solid #5d586f; outline-offset: 4px; }
.ml-article-sidebar__related-list img { width: 88px; height: auto; border-radius: 6px; }
.ml-article-sidebar__related-list span { min-width: 0; overflow-wrap: anywhere; line-height: 1.7; }
.ml-author--profile-card { padding: 1.5rem; border: 1px solid var(--ml-color-border); border-radius: 12px; background: #f4f0f7; }
.ml-author--profile-card .ml-author__inner { grid-template-columns: 160px minmax(0,1fr); gap: 1.5rem; align-items: center; }
.ml-author__illustration { display: block; width: 160px; max-width: 100%; height: auto; border-radius: 8px; }
.ml-author--profile-card .ml-author__bio { color: var(--ml-color-text); }
/* The profile keeps its saved blocks, experiences and existing image intact. */
.ml-entry--profile .ml-entry-title { margin-bottom: 2rem; color: var(--ml-color-text); line-height: 1.5; }
.ml-entry--profile .ml-entry-content { font-size: 1rem; line-height: 1.95; }
.ml-entry--profile .ml-entry-content > p { margin-block: 0 1.25rem; }
.ml-entry--profile .ml-entry-content > .wp-block-image { width: 100%; max-width: 560px; margin: 2rem auto 2.5rem; }
.ml-entry--profile .ml-entry-content > .wp-block-image img { display: block; max-width: 100%; height: auto; border-radius: 10px; }
.ml-entry--profile .ml-entry-content :is(h2,h3) { color: var(--ml-color-text) !important; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.ml-entry--profile .ml-entry-content h2 { margin: 3rem 0 1.25rem; padding: 1rem 1.25rem; border: 0; border-left: 3px solid #5d586f; background: #f4f0f7; font-size: 1.75rem; line-height: 1.45; }
.ml-entry--profile .ml-entry-content h3 { margin: 2rem 0 1rem; padding: 0 0 .5rem; border: 0; border-bottom: 1px solid #b9b1c8; font-size: 1.3125rem; line-height: 1.55; }
.ml-entry--profile .ml-entry-content mark { padding: .05em .15em; border-radius: 2px; color: inherit; }
@media (min-width: 1200px) {
  .ml-article-sidebar { align-self: stretch; margin-top: 0; }
  .ml-article-sidebar__inner { position: static; }
  .ml-article-sidebar__inner.is-sticky-safe { position: sticky; top: 1.5rem; }
  .admin-bar .ml-article-sidebar__inner.is-sticky-safe { top: calc(1.5rem + 32px); }
}
@media (max-width: 767px) {
  .ml-author--profile-card { padding: 1.25rem; }
  .ml-author--profile-card .ml-author__inner { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .ml-entry--profile .ml-entry-title { margin-bottom: 1.5rem; font-size: 1.875rem; }
  .ml-entry--profile .ml-entry-content > .wp-block-image { margin: 1.5rem auto 2rem; }
  .ml-entry--profile .ml-entry-content h2 { margin-top: 2.5rem; padding: .9rem 1rem; font-size: 1.25rem; }
  .ml-entry--profile .ml-entry-content h3 { font-size: 1.125rem; }
}
