/* Shared WordPress text roles. Regular and Medium are actual local font faces. */
:root,.nm-root{
 --mm-type-h1:1.875rem;--mm-type-h2:1.5rem;--mm-type-h3:1.25rem;
 --mm-type-h4:1.125rem;--mm-type-h5:1rem;--mm-type-h6:.875rem;
 --mm-type-body:1rem;--mm-type-small:.875rem;--mm-type-meta:.75rem;
 --mm-type-feed-title:1.375rem;
 --mm-type-title:var(--mm-type-h1);--mm-type-section:var(--mm-type-h2);--mm-type-subheading:var(--mm-type-h4);
 --mm-type-leading:1.65;--mm-type-heading-leading:1.25;--mm-type-title-leading:1.18;
 --mm-type-heading-before:2rem;--mm-type-heading-after:.75rem;
 --font-weight-regular:400;--font-weight-medium:500;--font-weight-strong:500
}
body{font-size:var(--mm-type-body);font-weight:400}
h1,h2,h3,h4,h5,h6{font-family:var(--font);font-weight:500;line-height:var(--mm-type-heading-leading);overflow-wrap:break-word}
b,strong{font-weight:500}
.mm-reading-surface .entry-header h1,.archive-heading h1,.empty-state h1{font-size:var(--mm-type-title);font-weight:500;line-height:var(--mm-type-title-leading)}
.mm-prose,.comments-area{font-size:var(--mm-type-body);font-weight:400;line-height:var(--mm-type-leading)}
.mm-prose h1{font-size:var(--mm-type-title)}
.mm-prose h2,.empty-state h2,.comments-area h2{font-size:var(--mm-type-section)}
.mm-prose h3{font-size:var(--mm-type-h3)}
.mm-prose h4{font-size:var(--mm-type-subheading)}
.mm-prose h5{font-size:var(--mm-type-h5)}
.mm-prose h6{font-size:var(--mm-type-h6)}
.mm-prose :is(h1,h2,h3,h4,h5,h6){font-weight:500;line-height:var(--mm-type-heading-leading)}
.mm-reading-surface .nm-table,.mm-reading-surface .nm-table td{font-size:1em;font-weight:400}
.mm-reading-surface .nm-table th{font-weight:500}
.mm-prose :is(figcaption,caption),.entry-caption,.entry-meta,.entry-taxonomy,.entry-nav-label{font-size:var(--mm-type-small);font-weight:400;line-height:1.5}
.mm-prose blockquote{font-weight:400}
.mm-prose blockquote cite{font-size:var(--mm-type-small);font-weight:400}
.text-link,.soft-button.nm-button-text{font-size:var(--mm-type-body);font-weight:500;line-height:1.5}
.empty-state{display:grid;justify-items:start;gap:var(--space-stack);max-width:var(--mm-content-width);padding:0;margin:0;border:0;border-radius:0;background:transparent;background-image:none;box-shadow:none;color:var(--text);font-size:var(--mm-type-body);font-weight:400}
.empty-state :is(h1,h2,p){margin:0}
.empty-state p{font-size:var(--mm-type-body);font-weight:400;line-height:var(--mm-type-leading);color:var(--text-secondary)}
.empty-state .text-link{margin-top:var(--space-inline)}
.empty-state .text-link:hover{text-decoration:underline}
.comments-area :is(label,.comment-notes,.logged-in-as,.comment-metadata){font-size:var(--mm-type-small);font-weight:400}
.mm-reading-surface :is(input,textarea,select,button,.nm-button),.theme-widget :is(input,textarea,select,button){font-family:var(--font);font-size:var(--mm-type-body)}
.mm-reading-surface :is(button,.nm-button,input[type=submit]){font-weight:500}
.mm-reading-surface :is(input:not([type=submit]),textarea,select){font-weight:400}
.post-navigation{font-size:var(--mm-type-body);font-weight:400}
.mobile-header>a:first-child{font-weight:500}
.mm-frame-error{font-size:var(--mm-type-body);font-weight:400}

small{font-size:var(--mm-type-small)}
/* Old caption widths and unbroken URLs must not widen the reading column. */
.mm-prose{overflow-wrap:anywhere;word-break:normal}
.mm-prose :is(figure,.wp-caption,.wp-caption-text){max-inline-size:100%;box-sizing:border-box}
@media(max-width:850px){.mm-prose :is(.alignleft,.alignright){float:none;margin-inline:0}}

/* Editorial pilot: a predictable media column, without text-wrapping floats. */
.mm-editorial-media .mm-prose :is(figure,.wp-caption){
 float:none!important;width:100%!important;max-width:100%;margin:1.5rem 0
}
.mm-editorial-media .mm-prose img{
 display:block;float:none!important;width:auto;max-width:100%;height:auto;max-height:80dvh;object-fit:contain;margin-inline:auto
}
.mm-editorial-media .mm-prose :is(figcaption,.wp-caption-text){text-align:center;margin-top:.5rem;line-height:1.5}
.mm-prose :is(h2,h3,h4)[id]{scroll-margin-top:calc(var(--mm-ui-height,2.25rem) + 3rem)}

.mm-editorial-media :is(.entry-featured,.mm-prose img){
 display:block;float:none!important;width:auto;max-width:min(100%,var(--mm-native-inline,100%));height:auto;max-height:80dvh;object-fit:contain;margin-inline:auto
}

.mm-resource-status{font-size:var(--mm-type-small);font-weight:400;color:var(--text-secondary)}
.mm-unavailable-resource{color:var(--text-secondary);overflow-wrap:anywhere}

/* The same semantic levels apply to article, page and editor headings. */
h1{font-size:var(--mm-type-h1)}h2{font-size:var(--mm-type-h2)}h3{font-size:var(--mm-type-h3)}
h4{font-size:var(--mm-type-h4)}h5{font-size:var(--mm-type-h5)}h6{font-size:var(--mm-type-h6)}
.mm-prose :is(h1,h2,h3,h4,h5,h6){margin-block:var(--mm-type-heading-before) var(--mm-type-heading-after)}
.mm-prose h1{line-height:var(--mm-type-title-leading)}
.mm-prose> :is(h1,h2,h3,h4,h5,h6):first-child{margin-top:0}
