/* /blog/{article} — cool grey reading column.
   Twenty Twenty sets html to 62.5% (1rem ≈ 10px). 200% of that root is the reading size (~20px at a 16px browser default) and grows with the reader. */
html:has(body.msp-blog-article) {
    background: #e4e4e7;
}

body.msp-blog-article {
    --msp-np-ink: #18181b;
    --msp-np-mute: #71717a;
    --msp-np-rule: #18181b;
    --msp-np-hair: #e4e4e7;
    --msp-np-paper: #f4f4f5;
    --msp-np-sheet: #e7e7ea;
    --msp-np-serif: "Newsreader", "Iowan Old Style", Palatino, Georgia, "Times New Roman", serif;
    --msp-np-sans: "Libre Franklin", "Franklin Gothic Medium", "Arial Narrow", "Helvetica Neue", sans-serif;
    --msp-br-progress-h: 3px;
    --msp-br-z: 280;
    --msp-br-top: 96px;
    font-size: 200%;
    background: #e4e4e7;
    color: var(--msp-np-ink);
    scroll-padding-top: 3.6em;
}

body.msp-blog-article #site-header {
    position: relative;
    z-index: auto !important;
    overflow: visible !important;
}

body.msp-blog-article #site-header .header-inner,
body.msp-blog-article #site-header .section-inner,
body.msp-blog-article #site-header .header-navigation-wrapper,
body.msp-blog-article #site-header .primary-menu-wrapper,
body.msp-blog-article #site-header .header-titles-wrapper,
body.msp-blog-article #site-header nav {
    overflow: visible !important;
    z-index: auto;
}

body.msp-blog-article #site-header .header-titles,
body.msp-blog-article #site-header .site-title,
body.msp-blog-article #site-header .site-description,
body.msp-blog-article #site-header .primary-menu > li,
body.msp-blog-article #site-header .modal-menu-toggle,
body.msp-blog-article #site-header .toggle {
    position: relative;
    z-index: 420;
}

body.msp-blog-article #site-header .sub-menu,
body.msp-blog-article #site-header ul ul,
body.msp-blog-article #site-header .dropdown,
body.msp-blog-article #site-header .dropdown-menu,
body.msp-blog-article #site-header .wp-block-navigation__submenu-container,
body.msp-blog-article #site-header .modal-menu,
body.msp-blog-article #site-header .expanded-menu {
    z-index: 500 !important;
}

body.msp-blog-article #site-content,
body.msp-blog-article .site-content {
    position: relative;
    z-index: auto;
    overflow: visible;
    background: transparent;
    color: var(--msp-np-ink);
}

body.msp-blog-article .msp-wl {
    z-index: 40;
}

body.msp-blog-article article {
    --msp-np-gutter: 1.25em;
    width: min(40em, calc(100% - 1.2em));
    border: 1px solid #d4d4d8;
    border-radius: 0;
    background-color: #f4f4f5 !important;
    background-image: none;
    box-shadow: none;
    animation: msp-br-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    margin: 0.8em auto 0.6em;
    padding: var(--msp-np-gutter);
    overflow: hidden;
    box-sizing: border-box;
}

body.msp-blog-article h2,
body.msp-blog-article h3 {
    scroll-margin-top: 3.6em;
}

body.msp-blog-article article .section-inner,
body.msp-blog-article article .entry-header-inner,
body.msp-blog-article article .post-inner,
body.msp-blog-article article .entry-content,
body.msp-blog-article article .featured-media,
body.msp-blog-article article .featured-media-inner {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: transparent;
    color: var(--msp-np-ink);
    box-sizing: border-box;
}

body.msp-blog-article .entry-content > * {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
    transition: opacity 0.45s ease;
}

body.msp-blog-article .entry-content > .is-dim {
    opacity: 0.62;
}

body.msp-blog-article .entry-content > .is-dim:hover,
body.msp-blog-article .entry-content > .is-dim:focus-within {
    opacity: 1;
}

body.msp-blog-article .entry-content h2.is-reading,
body.msp-blog-article .entry-content h3.is-reading {
    padding-left: 0.55em;
    box-shadow: inset 3px 0 0 #18181b;
    transition: box-shadow 0.35s ease, padding-left 0.35s ease, opacity 0.45s ease;
}

body.msp-blog-article .entry-content > h2::after,
body.msp-blog-article .entry-content > h3::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    margin-top: 0.4em;
    background: #18181b;
    transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.msp-blog-article .entry-content > h2.is-reading::after,
body.msp-blog-article .entry-content > h3.is-reading::after {
    width: 3.6em;
}

body.msp-blog-article .entry-header {
    margin: 0;
    padding: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
    text-align: left;
    border: 0;
}

body.msp-blog-article .entry-header::before {
    content: "Misprise";
    display: block;
    margin: 0 0 0.55em;
    padding-bottom: 0.45em;
    max-width: none;
    border-bottom: 1px solid var(--msp-np-hair);
    background-image: none;
    font-family: var(--msp-np-sans);
    font-size: 0.62em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--msp-np-mute);
}

body.msp-blog-article .entry-header .entry-title,
body.msp-blog-article.singular .entry-header .entry-title,
body.msp-blog-article h1.entry-title {
    margin: 0.45em 0 0.25em;
    max-width: none;
    font-family: var(--msp-np-serif) !important;
    font-size: 2em !important;
    font-weight: 600 !important;
    font-style: normal;
    letter-spacing: -0.02em;
    line-height: 1.18 !important;
    color: var(--msp-np-ink);
}

body.msp-blog-article .entry-header .post-meta,
body.msp-blog-article .entry-header .entry-meta,
body.msp-blog-article .post-meta {
    margin: 0 0 0.5em;
    font-family: var(--msp-np-sans);
    font-size: 0.68em;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--msp-np-mute);
}

body.msp-blog-article .entry-header .post-meta a,
body.msp-blog-article .post-meta a {
    color: var(--msp-np-ink);
    text-decoration: none;
}

body.msp-blog-article .msp-br-mins {
    display: inline-block;
    margin-left: 0.8em;
    padding-left: 0.8em;
    border-left: 1px solid var(--msp-np-hair);
}

body.msp-blog-article .post-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.msp-blog-article .featured-media,
body.msp-blog-article.singular .featured-media,
body.msp-blog-article .featured-media .featured-media-inner,
body.msp-blog-article.singular .featured-media-inner,
body.msp-blog-article .featured-media .section-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0.8em 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    isolation: auto;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

body.msp-blog-article .featured-media::before,
body.msp-blog-article .featured-media::after,
body.msp-blog-article.singular .featured-media::before,
body.msp-blog-article.singular .featured-media::after {
    content: none !important;
    display: none !important;
    background: none !important;
    background-color: transparent !important;
}

body.msp-blog-article .featured-media img,
body.msp-blog-article .featured-media .wp-post-image {
    display: block;
    width: auto;
    max-width: min(100%, 24em);
    max-height: 13em;
    height: auto;
    margin: 0.2em auto 0;
    object-fit: contain;
    border: 0;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    filter: grayscale(1) contrast(1.05);
    mix-blend-mode: normal;
    -webkit-filter: grayscale(1) contrast(1.05);
}

body.msp-blog-article .featured-media figcaption,
body.msp-blog-article .featured-media .wp-caption-text,
body.msp-blog-article .featured-media .msp-br-figcap {
    display: block;
    margin: 0.45em 0 0;
    max-width: none !important;
    width: 100% !important;
    padding: 0;
    background: transparent !important;
    font-family: var(--msp-np-serif);
    font-size: 0.75em;
    font-style: italic;
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
    color: var(--msp-np-mute);
}

body.msp-blog-article .entry-content .alignwide,
body.msp-blog-article .entry-content .alignfull,
body.msp-blog-article .alignwide,
body.msp-blog-article .alignfull {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    transform: none !important;
}

body.msp-blog-article .entry-content figure,
body.msp-blog-article .entry-content .wp-block-image,
body.msp-blog-article .entry-content .wp-block-table {
    width: 100%;
    max-width: 100%;
    margin: 1.15em 0 1.3em;
    padding: 0;
    background: transparent !important;
    background-color: transparent !important;
    border: 0;
    border-radius: 0;
    box-shadow: none !important;
    box-sizing: border-box;
}

body.msp-blog-article .entry-content img,
body.msp-blog-article .entry-content .wp-block-image img,
body.msp-blog-article .entry-content figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
    margin: 0.35em auto;
    object-fit: contain;
    background: var(--msp-np-paper) !important;
    background-color: var(--msp-np-paper) !important;
    border: 0;
    border-radius: 0;
    box-shadow: none !important;
    filter: none;
    -webkit-filter: none;
    mix-blend-mode: normal;
}

body.msp-blog-article .entry-content,
body.msp-blog-article .entry-content p,
body.msp-blog-article .entry-content li {
    font-family: var(--msp-np-serif);
    color: var(--msp-np-ink);
}

body.msp-blog-article .entry-content {
    padding: 0.85em 0 0;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.82;
    text-align: left;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: auto;
}

body.msp-blog-article .entry-content ::selection {
    background: #e4e4e7;
    color: var(--msp-np-ink);
}

body.msp-blog-article .entry-content > p,
body.msp-blog-article .entry-content .wp-block-paragraph {
    margin: 0 0 1.2em;
    max-width: none;
    text-align: left;
    text-indent: 0;
    hyphens: manual;
    overflow-wrap: break-word;
}

body.msp-blog-article .entry-content > p:first-of-type,
body.msp-blog-article .entry-content h2 + p,
body.msp-blog-article .entry-content h3 + p,
body.msp-blog-article .entry-content h4 + p,
body.msp-blog-article .entry-content .wp-block-image + p,
body.msp-blog-article .entry-content figure + p,
body.msp-blog-article .entry-content ul + p,
body.msp-blog-article .entry-content ol + p,
body.msp-blog-article .entry-content blockquote + p {
    text-indent: 0;
}

body.msp-blog-article .entry-content > p:first-of-type {
    margin-top: 0.5em;
    padding-top: 0;
    border-top: 0;
    font-size: 1.12em;
    line-height: 1.6;
    color: #18181b;
}

body.msp-blog-article .entry-content > p:has(> strong:only-child) {
    margin: 1.1em 0;
    max-width: none;
    padding: 0.7em 0.85em 0.7em 0.95em;
    border: 1px solid var(--msp-np-hair);
    border-left: 3px solid #18181b;
    border-radius: 0;
    background: #e7e7ea;
    background-image: none;
    text-align: left;
    text-indent: 0;
    font-size: 1em;
    line-height: 1.5;
}

body.msp-blog-article .entry-content p::first-letter,
body.msp-blog-article .entry-content li::first-letter {
    float: none;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

body.msp-blog-article .entry-content > p:first-of-type::first-letter {
    float: left;
    margin: 0.08em 0.1em 0 0;
    font-size: 3.15em;
    font-weight: 600;
    line-height: 0.78;
    color: #18181b;
}

body.msp-blog-article .entry-content {
    counter-reset: msp-br-sec;
}

body.msp-blog-article .entry-content > h2::before {
    counter-increment: msp-br-sec;
    content: counter(msp-br-sec, decimal-leading-zero);
    display: block;
    margin: 0 0 0.28em;
    font-family: var(--msp-np-sans);
    font-size: 0.58em;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
    color: var(--msp-np-mute);
}

body.msp-blog-article .entry-content p.is-line,
body.msp-blog-article .entry-content li.is-line {
    padding: 0.2em 0.45em 0.2em 0.75em;
    background: linear-gradient(90deg, rgba(24, 24, 27, 0.08), rgba(24, 24, 27, 0) 78%);
    box-shadow: inset 3px 0 0 #18181b;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease, opacity 0.45s ease;
}

body.msp-blog-article .entry-content h2,
body.msp-blog-article .entry-content h3,
body.msp-blog-article .entry-content h4 {
    font-family: var(--msp-np-serif);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--msp-np-ink);
    text-align: left;
}

body.msp-blog-article .entry-content h2 {
    margin: 1.75em 0 0.4em;
    padding-top: 0.85em;
    border-top: 1px solid var(--msp-np-hair);
    background-image: none;
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.25;
}

body.msp-blog-article .entry-content > h2:first-of-type {
    margin-top: 0.4em;
    padding-top: 0;
    border-top: 0;
}

body.msp-blog-article .entry-content > h2:first-of-type::first-letter {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-transform: none;
}

body.msp-blog-article .entry-content h3 {
    margin: 1.25em 0 0.35em;
    font-size: 1.12em;
    font-style: normal;
    font-weight: 600;
    line-height: 1.3;
}

body.msp-blog-article .entry-content h4 {
    margin: 1em 0 0.2em;
    font-family: var(--msp-np-sans);
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.msp-blog-article .entry-content a {
    color: var(--msp-np-ink);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(24, 24, 27, 0.35);
    text-underline-offset: 0.15em;
}

body.msp-blog-article .entry-content a:hover,
body.msp-blog-article .entry-content a:focus-visible {
    color: var(--msp-np-ink);
    text-decoration-thickness: 2px;
}

body.msp-blog-article .entry-content ul,
body.msp-blog-article .entry-content ol {
    display: block;
    margin: 0.2em 0 1.15em;
    padding-left: 1.2em;
    text-align: left;
}

body.msp-blog-article .entry-content li {
    margin: 0.35em 0;
    line-height: 1.65;
    max-width: none;
    text-align: left;
}

body.msp-blog-article .entry-content blockquote,
body.msp-blog-article .entry-content .wp-block-quote {
    position: relative;
    margin: 1.2em 0;
    max-width: none;
    padding: 0.75em 0.9em 0.75em 1em;
    border-left: 3px solid #18181b;
    border-radius: 0;
    background: #e7e7ea;
    background-image: none;
    font-size: 0.98em;
    font-style: normal;
    line-height: 1.65;
    text-align: left;
    color: var(--msp-np-ink);
}

body.msp-blog-article .entry-content blockquote::before,
body.msp-blog-article .entry-content .wp-block-quote::before {
    content: none;
}

body.msp-blog-article .entry-content blockquote p,
body.msp-blog-article .entry-content .wp-block-quote p {
    text-indent: 0;
    text-align: left;
}

body.msp-blog-article .entry-content figcaption,
body.msp-blog-article .entry-content .wp-caption-text {
    margin-top: 0.35em;
    font-family: var(--msp-np-serif);
    font-size: 0.75em;
    font-style: italic;
    line-height: 1.4;
    text-align: left;
    color: var(--msp-np-mute);
}

body.msp-blog-article .entry-content hr {
    margin: 1.6em 0;
    height: 1px;
    border: 0;
    background: var(--msp-np-hair);
    background-image: none;
}

body.msp-blog-article .entry-content .wp-block-table {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.15em 0 1.3em !important;
    padding: 0;
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    background-color: transparent !important;
    text-align: left;
    box-sizing: border-box;
}

body.msp-blog-article .entry-content table {
    display: table !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    margin: 0;
    border: 1px solid var(--msp-np-hair);
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
    background: var(--msp-np-sheet) !important;
    background-color: var(--msp-np-sheet) !important;
    color: var(--msp-np-ink);
    font-family: var(--msp-np-sans);
    font-size: 0.8em;
    line-height: 1.35;
    word-break: normal;
    box-sizing: border-box;
}

body.msp-blog-article .entry-content thead {
    display: table-header-group !important;
}

body.msp-blog-article .entry-content tbody {
    display: table-row-group !important;
}

body.msp-blog-article .entry-content tr {
    display: table-row !important;
    background: transparent !important;
    background-color: transparent !important;
}

body.msp-blog-article .entry-content th,
body.msp-blog-article .entry-content td {
    display: table-cell !important;
    width: auto !important;
    max-width: none;
    padding: 0.55em 0.5em;
    border: 1px solid var(--msp-np-hair) !important;
    box-sizing: border-box;
    color: var(--msp-np-ink);
    text-align: left;
    vertical-align: middle;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: manual;
}

body.msp-blog-article .entry-content th {
    background: #18181b !important;
    background-color: #18181b !important;
    color: #fff !important;
    font-family: var(--msp-np-sans);
    font-size: 0.92em;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: none;
}

body.msp-blog-article .entry-content td {
    background: #f4f4f5 !important;
    background-color: #f4f4f5 !important;
    font-weight: 500;
}

body.msp-blog-article .entry-content tbody tr:nth-child(even) td {
    background: #e7e7ea !important;
    background-color: #e7e7ea !important;
}

body.msp-blog-article .entry-content th:first-child,
body.msp-blog-article .entry-content td:first-child {
    text-align: left;
    font-weight: 600;
}

body.msp-blog-article .entry-content code,
body.msp-blog-article .entry-content pre {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 0.78em;
}

body.msp-blog-article .entry-content pre {
    padding: 0.7em 0.8em;
    overflow: auto;
    background: #f4f4f5;
    border: 1px solid var(--msp-np-hair);
    border-radius: 0;
}

body.msp-blog-article #comments,
body.msp-blog-article .comments-wrapper,
body.msp-blog-article .comment-respond {
    font-family: var(--msp-np-serif);
    color: var(--msp-np-ink);
}

/* Contents index */
.msp-br {
    font-family: var(--msp-np-serif);
    color: var(--msp-np-ink);
}

.msp-br *,
.msp-br *::before,
.msp-br *::after {
    box-sizing: border-box;
}

.msp-br-progress {
    position: fixed;
    top: env(safe-area-inset-top, 0px);
    left: 0;
    right: 0;
    z-index: 30;
    height: var(--msp-br-progress-h);
    background: var(--msp-np-hair);
    pointer-events: none;
}

.admin-bar .msp-br-progress {
    top: var(--wp-admin--admin-bar--height, 32px);
}

.msp-br-bar {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--msp-np-ink);
    transform: scaleX(0);
    transform-origin: 0 50%;
    will-change: transform;
}

.msp-br-nav {
    position: fixed;
    z-index: calc(var(--msp-br-z) - 1);
    color: var(--msp-np-ink);
    border: 1px solid var(--msp-np-hair);
    border-radius: 0;
    background-color: var(--msp-np-paper);
    background-image: none;
    box-shadow: none;
    opacity: 1;
}

.msp-br-nav[hidden] {
    display: none !important;
}

.msp-br-kicker {
    display: none;
    margin: 0 0.8em 0.45em;
    padding: 0 0 0.45em;
    border-bottom: 1px solid var(--msp-np-hair);
    font-family: var(--msp-np-sans);
    font-size: 0.62em;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--msp-np-mute);
}

.msp-br-top {
    border-bottom: 1px solid var(--msp-np-rule);
    background: transparent;
}

.msp-br-toggle {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 10px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.msp-br-toggle:focus-visible {
    outline: 1px solid var(--msp-np-ink);
    outline-offset: -3px;
}

.msp-br-toggle-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    width: 100%;
    padding-right: 22px;
    position: relative;
}

.msp-br-toggle-kicker {
    font-family: var(--msp-np-sans);
    font-size: 0.62em;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--msp-np-ink);
}

.msp-br-toggle-copy::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -6px;
    border-right: 1.5px solid var(--msp-np-ink);
    border-bottom: 1.5px solid var(--msp-np-ink);
    transform: rotate(45deg);
    transition: transform 0.18s ease;
}

.msp-br-nav.is-open .msp-br-toggle-copy::after {
    margin-top: -2px;
    transform: rotate(225deg);
}

.msp-br-toggle-now {
    font-family: var(--msp-np-serif);
    font-size: 0.85em;
    font-weight: 600;
    font-style: normal;
    color: var(--msp-np-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msp-br-list {
    display: none;
    list-style: none;
    margin: 0;
    padding: 6px 0 8px;
    max-height: min(52vh, 420px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #1a1a1a transparent;
}

.msp-br-list::-webkit-scrollbar {
    width: 8px;
}

.msp-br-list::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border-radius: 0;
}

.msp-br-nav.is-open .msp-br-list {
    display: block;
}

.msp-br-list a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    padding: 6px 14px;
    border-radius: 0;
    color: var(--msp-np-mute);
    text-decoration: none;
    font-family: var(--msp-np-serif);
    font-size: 0.82em;
    line-height: 1.3;
    font-weight: 400;
}

.msp-br-label {
    min-width: 0;
}

.msp-br-reads,
.msp-br-more-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    font-family: var(--msp-np-sans);
    font-size: 0.58em;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    color: #71717a;
}

.msp-br-eye {
    display: block;
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
}

.msp-br-reads[hidden] {
    display: none !important;
}

.msp-br-list a.is-top .msp-br-reads {
    color: #1a1a1a;
}

.msp-br-list a[data-level="3"] {
    padding-left: 1.6em;
    font-size: 0.92em;
    font-style: normal;
}

.msp-br-list a:hover,
.msp-br-list a:focus-visible {
    color: var(--msp-np-ink);
    background: rgba(26, 26, 26, 0.04);
}

.msp-br-list a:focus-visible {
    outline: 1px solid var(--msp-np-ink);
    outline-offset: -2px;
}

.msp-br-list a.is-on {
    color: var(--msp-np-ink);
    font-weight: 700;
    background: var(--msp-np-sheet);
    box-shadow: inset 2px 0 0 var(--msp-np-hair);
}

@media (max-width: 767px) {
    body.msp-blog-article .entry-header .entry-title,
    body.msp-blog-article h1.entry-title {
        font-size: 1.7em !important;
    }

    body.msp-blog-article .entry-content {
        line-height: 1.75;
        padding: 0.85em 0 0;
    }

    body.msp-blog-article .entry-content img,
    body.msp-blog-article .entry-content figure img,
    body.msp-blog-article .entry-content .wp-block-image img {
        width: 100%;
        max-width: 100%;
        max-height: none;
        height: auto;
    }
}

@media (max-width: 1099px) {
    body.msp-blog-article {
        --msp-br-top: 0px;
        padding-top: calc(var(--msp-br-top) + env(safe-area-inset-top, 0px) + var(--msp-br-progress-h) + 52px);
        scroll-padding-top: calc(var(--msp-br-top) + env(safe-area-inset-top, 0px) + 64px);
    }

    body.msp-blog-article h2,
    body.msp-blog-article h3 {
        scroll-margin-top: calc(var(--msp-br-top) + env(safe-area-inset-top, 0px) + 64px);
    }

    .msp-br-progress,
    .admin-bar .msp-br-progress {
        top: calc(var(--msp-br-top) + env(safe-area-inset-top, 0px));
        z-index: 451;
    }

    .msp-br-nav {
        display: flex;
        flex-direction: column;
        top: calc(var(--msp-br-top) + env(safe-area-inset-top, 0px) + var(--msp-br-progress-h));
        left: 0;
        right: 0;
        width: auto;
        border-left: 0;
        border-right: 0;
        border-top: 0;
        opacity: 1;
        z-index: 450;
    }

    .msp-br-toggle {
        height: 52px;
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media (min-width: 1100px) {
    body.msp-blog-article {
        scroll-padding-top: 20px;
    }

    body.msp-blog-article #site-content,
    body.msp-blog-article .site-content {
        padding-left: 214px;
        box-sizing: border-box;
        overflow: visible;
    }

    body.msp-blog-article h2,
    body.msp-blog-article h3 {
        scroll-margin-top: 20px;
    }

    .msp-br-nav {
        left: max(16px, env(safe-area-inset-left, 0px));
        top: var(--msp-br-top);
        width: 188px;
        max-height: calc(100vh - var(--msp-br-top) - 16px);
        padding: 12px 0 8px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .admin-bar .msp-br-nav {
        max-height: calc(100vh - var(--msp-br-top) - 16px);
    }

    .msp-br-kicker {
        display: block;
    }

    .msp-br-top,
    .msp-br-toggle {
        display: none;
    }

    .msp-br-list,
    .msp-br-nav.is-open .msp-br-list {
        display: block;
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
        padding: 4px 0 8px;
        overflow: auto;
    }
}

#msp-br-extras {
    display: contents;
}

.msp-br-tools,
.msp-br-more {
    font-family: var(--msp-np-sans);
    color: var(--msp-np-ink);
}

.msp-br-tools {
    width: min(40em, calc(100% - 1.2em));
    margin: 0.4em auto 0;
}

.msp-br-tools-kicker,
.msp-br-more-kicker {
    margin: 0 0 0.35em;
    font-size: 0.62em;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #3f3f46;
}

body.msp-blog-article a.msp-br-tool,
body.msp-blog-article a.msp-br-tool:visited,
body.msp-blog-article a.msp-br-more-card,
body.msp-blog-article a.msp-br-more-card:visited,
.msp-br-tool,
.msp-br-more-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: block;
    margin: 0 0 0.35em;
    border: 1px solid var(--msp-np-hair);
    border-radius: 0;
    background-color: var(--msp-np-paper);
    background-image: none;
    box-shadow: none;
    color: var(--msp-np-ink) !important;
    text-decoration: none !important;
}

.msp-br-tool {
    padding: 8px 10px;
}

.msp-br-tool::before,
.msp-br-more-card::before {
    content: none;
}

.msp-br-tool-name,
.msp-br-tool-note,
.msp-br-more-name,
.msp-br-more-media {
    position: relative;
    z-index: 1;
}

.msp-br-tool-name,
.msp-br-more-name {
    display: block;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.25;
    color: #0a0a0a;
}

.msp-br-tool-note {
    display: block;
    margin-top: 0.15em;
    font-size: 0.68em;
    font-weight: 500;
    line-height: 1.35;
    color: var(--msp-np-mute);
}

.msp-br-more {
    width: min(40em, calc(100% - 1.2em));
    margin: 1.1em auto 1.6em;
}

.msp-br-more-kicker {
    text-align: left;
}

.msp-br-more-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.msp-br-more-card {
    margin: 0;
}

.msp-br-more-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5.6em;
    padding: 0.7em 0.8em;
    background-color: var(--msp-np-paper);
    background-image: linear-gradient(90deg, transparent, rgba(24, 24, 27, 0.28) 12%, rgba(24, 24, 27, 0.28) 88%, transparent);
    background-size: 100% 1px;
    background-position: bottom center;
    background-repeat: no-repeat;
    border-bottom: 0;
    isolation: isolate;
}

.msp-br-more-media img {
    display: block;
    width: auto;
    max-width: 78%;
    height: auto;
    max-height: 4em;
    margin: 0 auto;
    object-fit: contain;
    background: transparent;
    filter: grayscale(1) contrast(1.06);
    mix-blend-mode: multiply;
}

.msp-br-more-media.is-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.msp-br-more-fallback {
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--msp-np-ink);
}

.msp-br-more-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 1;
    padding: 10px 12px 12px;
}

.msp-br-more-name {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    text-align: left;
}

.msp-br-more-views {
    color: var(--msp-np-mute);
}

@keyframes msp-br-rise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes msp-br-reveal {
    from {
        transform: translateY(18px);
    }
    to {
        transform: none;
    }
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        body.msp-blog-article .entry-content > p,
        body.msp-blog-article .entry-content > h2,
        body.msp-blog-article .entry-content > h3,
        body.msp-blog-article .entry-content > blockquote,
        body.msp-blog-article .entry-content > figure,
        body.msp-blog-article .entry-content > ul,
        body.msp-blog-article .entry-content > ol {
            animation: msp-br-reveal linear both;
            animation-timeline: view();
            animation-range: entry 0% cover 20%;
        }
    }
}

.msp-br-list a,
.msp-br-tool,
.msp-br-more-card {
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.msp-br-tool:hover,
.msp-br-tool:focus-visible,
.msp-br-more-card:hover,
.msp-br-more-card:focus-visible {
    border-color: #18181b;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(10, 10, 10, 0.08);
}

@media (min-width: 640px) {
    .msp-br-tools {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .msp-br-tools-kicker {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }

    .msp-br-tool {
        margin: 0;
    }

    .msp-br-more-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    body.msp-blog-article #site-content,
    body.msp-blog-article .site-content {
        padding-right: 214px;
    }

    .msp-br-tools {
        position: fixed;
        z-index: calc(var(--msp-br-z) - 1);
        top: var(--msp-br-top);
        right: max(16px, env(safe-area-inset-right, 0px));
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: 188px;
        margin: 0;
    }

    .msp-br-tools-kicker {
        margin: 0 0 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .msp-br-bar,
    .msp-br-toggle-copy::after,
    .msp-br-nav,
    .msp-br-tool,
    .msp-br-more-card,
    body.msp-blog-article article,
    body.msp-blog-article .entry-content > *,
    body.msp-blog-article .msp-wl {
        transition: none;
        animation: none !important;
        will-change: auto;
    }

}

body.msp-blog-article .custom-logo-link,
body.msp-blog-article .site-logo {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    flex: 0 0 72px;
}

body.msp-blog-article img.custom-logo,
body.msp-blog-article .site-logo img {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
    object-fit: contain;
    display: block;
    filter: grayscale(1) contrast(1.08);
    -webkit-filter: grayscale(1) contrast(1.08);
}

@media print {
    .msp-br,
    .msp-br-tools {
        display: none !important;
    }

    body.msp-blog-article,
    body.msp-blog-article #site-content {
        background: #fff;
    }
}
