@import url('https://fonts.bunny.net/css?family=source-sans-3:400');

/* Improve long-form readability */
.entry-content {
	font-size: 18px;
	line-height: 1.65;
	max-width: 680px;
	margin: 0 auto;
}

.entry-content p {
	margin-bottom: 1.4em;
	line-height: 1.65;
}

/* Slightly tighten headings */
.entry-content h1,
.entry-content h2,
.entry-content h3 {
	line-height: 1.3;
	margin-top: 2em;
	margin-bottom: 0.6em;
}

/* Calm blockquotes */
.entry-content blockquote {
	border-left: 3px solid #6b3fa0;
	padding-left: 1em;
	color: #555;
	font-style: normal;
}

/* Soften headings for a more editorial feel */
.entry-title,
.entry-content h2,
.entry-content h3 {
	font-weight: 500;
	letter-spacing: -0.01em;
}

.entry-title {
	margin-bottom: 0.6em;
	color: #4d4d4b;
}

/* Align post title with body text */
.entry-title,
.wp-block-post-title {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

/* Align post date */
.entry-meta,
.post-meta,
.wp-block-post-date {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

/* Keep links clean until hovered */
a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* Replace legacy purple body text with graphite */
p[style*="color:#563469"] {
	color: #4d4d4b !important;
}
.page-id-1853 .entry-title {
	display: none;
}
.wp-block-image figcaption {
	text-align: center;
}
/* Centre Home content and ignore unused sidebar space */
.page-id-1853.has-sidebar .site-main {
	margin-left: auto !important;
	margin-right: auto !important;
}
/* Hide main navigation on Home page only */
.page-id-1853 .main-navigation {
    display: none;
}
/* Keep Jetpack subscribe button in house grey */
.wp-block-jetpack-subscriptions button,
.wp-block-jetpack-subscriptions input[type="submit"],
.wp-block-jetpack-subscriptions .wp-block-button__link {
    background-color: #4d4d4b !important;
    border-color: #4d4d4b !important;
    color: #ffffff !important;
}
/* Hide Continue reading links in post listings */
.more-link {
    display: none;
}
/* Minimal Subscribe button — house grey */
.single .abl-subscribe input[type="submit"],
.single .abl-subscribe button,
.single .abl-subscribe .wp-block-button__link {
    background-color: #4d4d4d !important;
    border-color: #4d4d4d !important;
    color: #ffffff !important;
}
/* Tidy single-post footer layout */

/* Like + Share side by side */
.single .abl-post-interactions {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.single .abl-post-interactions .sd-block {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

/* Subscribe spacing */
.single .abl-subscribe {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

/* Faint rule before and after Read next */
.single #jp-relatedposts {
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Remove author / Published by panel */
.single .entry-author {
    display: none !important;
}

/* Remove previous / next post navigation */
.single .post-navigation,
.single .navigation-post {
    display: none !important;
}
/* Remove bottom Published date block */
.single .site-posted-on {
    display: none !important;
}
.single .abl-likes {
    transform: translateY(8px);
}
/* Pull comments closer to Read next */
.single #comments {
    margin-top: -6rem;
}
.single-post .entry-content > .abl-post-interactions {
	border-top: 1px solid #e3e3e3;
	margin-top: 2rem;
	padding-top: 1.5rem;
}
/* House style — ordinary posts only.
   One Thousand Words (post 1726) is deliberately excluded. */

body.single-post:not(.postid-1726) #main {
	margin-left: auto;
	margin-right: auto;
}

body.single-post:not(.postid-1726) .entry-title {
	margin-left: 12px;
	font-size: 1.55rem;
	font-weight: 400;
	line-height: 1.15;
	color: #4d4d4b;
}

body.single-post:not(.postid-1726) .entry-meta {
	margin-left: 12px;
}
body.single-post:not(.postid-1726) .entry-content {
margin-top: 8px;
font-family: "Source Sans 3", Arial, sans-serif;
font-size: 1.1em;
font-weight: 400;
}
body.single-post:not(.postid-1726) .entry-content p,
body.single-post:not(.postid-1726) .entry-content li {
font-family: inherit;
font-size: inherit;
font-weight: inherit;
}
body.single-post:not(.postid-1726) .entry-content p {
	margin-top: 0;
	margin-bottom: 0.9em;
}

/* Quiet series label on Essays From The Shadows posts. */

body.single-post:not(.postid-1726)
article.category-essays-from-the-shadows
.entry-content p:first-of-type {
	font-size: 0.99em;
	font-weight: 400;
	line-height: 1.25;
	color: #4d4d4b;
}

/* Site footer copyright block. */

.site-footer #block-13 .wp-block-paragraph {
	text-align: center;
}
/* One Thousand Words — presentation only */
body.single-post.postid-1726 #main {
	max-width: 740px;
	margin-left: auto;
	margin-right: auto;
}

body.single-post.postid-1726 .entry-title {
	margin-left: 12px;
	margin-right: 12px;
	font-size: 1.55em;
	font-weight: 400;
	line-height: 1.15;
	color: #4d4d4b;
}

body.single-post.postid-1726 .entry-meta {
	margin-left: 12px;
	margin-right: 12px;
}

body.single-post.postid-1726 .entry-content {
	max-width: 680px;
	margin: 8px auto 0;
	font-family: "Source Sans 3", Arial, sans-serif;
	font-size: 1.1em;
	font-weight: 400;
}

body.single-post.postid-1726 .entry-content p {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
}

body.single-post.postid-1726 .entry-content p:first-of-type {
	font-size: 0.9em;
}
body.single-post.postid-1726 .entry-content p:first-of-type strong {
	font-weight: 400;
}
/* Podcast page */
body.page-id-1163 #main {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

body.page-id-1163 .entry-header {
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

body.page-id-1163 .entry-title {
	margin: 0;
	font-size: 1.55em;
	font-weight: 400;
	line-height: 1.15;
	color: #4d4d4b;
}

body.page-id-1163 .entry-content {
	max-width: 1000px;
	margin: 8px auto 0;
	font-family: "Source Sans 3", Arial, sans-serif;
	font-size: 1.1em;
	font-weight: 400;
}

body.page-id-1163 .entry-content > p:nth-of-type(-n+4) {
	max-width: 680px;
	margin: 0 auto 0.9em;
}

body.page-id-1163 .entry-content > .wp-block-separator,
body.page-id-1163 .entry-content > h2,
body.page-id-1163 .entry-content > p:nth-of-type(5),
body.page-id-1163 .entry-content > .wp-block-html {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

body.page-id-1163 .entry-content > h2 {
	font-family: "Source Sans 3", Arial, sans-serif;
	font-weight: 400;
	color: #4d4d4b;
}
body.page-id-1163 .entry-title {
	transform: translateX(-18px);
}
/* About page */
body.page-id-2 #main {
	max-width: 740px;
	margin-left: auto;
	margin-right: auto;
}

body.page-id-2 .entry-header,
body.page-id-2 .entry-content,
body.page-id-2 #comments {
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

body.page-id-2 .entry-title {
	margin: 0;
	transform: translateX(-18px);
	font-size: 1.55em;
	font-weight: 400;
	line-height: 1.15;
	color: #4d4d4b;
}

body.page-id-2 .entry-content {
	margin-top: 8px;
	font-family: "Source Sans 3", Arial, sans-serif;
	font-size: 1.1em;
	font-weight: 400;
}

body.page-id-2 .entry-content p {
	margin-top: 0;
	margin-bottom: 0.9em;
}

body.page-id-2 #comments {
	font-family: "Source Sans 3", Arial, sans-serif;
}
body.page-id-2 .no-comments {
	display: none;
}
/* Scribbles page */
body.page-id-1181 #main {
	max-width: 740px;
	margin-left: auto;
	margin-right: auto;
}

body.page-id-1181 .entry-header,
body.page-id-1181 .entry-content {
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

body.page-id-1181 .entry-title {
	margin: 0;
	transform: translateX(-18px);
	font-size: 1.55em;
	font-weight: 400;
	line-height: 1.15;
	color: #4d4d4b;
}

body.page-id-1181 .entry-content {
	margin-top: 8px;
	font-family: "Source Sans 3", Arial, sans-serif;
	font-size: 1.1em;
	font-weight: 400;
}
/* Open Journal Archive */
body.page-id-606 #main {
	max-width: 740px;
	margin-left: auto;
	margin-right: auto;
}

body.page-id-606 .entry-header,
body.page-id-606 .entry-content {
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

body.page-id-606 .entry-title {
	margin: 0;
	transform: translateX(-18px);
	font-size: 1.55em;
	font-weight: 400;
	line-height: 1.15;
	color: #4d4d4b;
}

body.page-id-606 .entry-content {
	margin-top: 8px;
	font-family: "Source Sans 3", Arial, sans-serif;
	font-size: 1.1em;
	font-weight: 400;
}

body.page-id-606 .wp-block-button__link {
	background-color: #6b6b69 !important;
	color: #ffffff !important;
}

body.page-id-606 .wp-block-button__link:hover {
	background-color: #4d4d4b !important;
	color: #ffffff !important;
}/* Essays contents page */
body.page-id-1756 #main {
	max-width: 740px;
	margin-left: auto;
	margin-right: auto;
}

body.page-id-1756 .entry-header,
body.page-id-1756 .entry-content {
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

body.page-id-1756 .entry-title {
	margin: 0;
	transform: translateX(-18px);
	font-size: 1.55em;
	font-weight: 400;
	line-height: 1.15;
	color: #4d4d4b;
}

body.page-id-1756 .entry-content {
	margin-top: 8px;
	font-family: "Source Sans 3", Arial, sans-serif;
	font-size: 1.1em;
	font-weight: 400;
}
/* Resources page */
body.page-id-443 #main {
	max-width: 740px;
	margin-left: auto;
	margin-right: auto;
}

body.page-id-443 .entry-header,
body.page-id-443 .entry-content {
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

body.page-id-443 .entry-title {
	margin: 0;
	transform: translateX(-18px);
	font-size: 1.55em;
	font-weight: 400;
	line-height: 1.15;
	color: #4d4d4b;
}

body.page-id-443 .entry-content {
	margin-top: 8px;
	font-family: "Source Sans 3", Arial, sans-serif;
	font-size: 1.1em;
	font-weight: 400;
}
/* Home page */
body.page-id-1853 .entry-content {
    font-family: "Source Sans 3", Arial, sans-serif;
    font-weight: 400;
}
/* Open Journal — house font */
body.single-post article.category-open-journal .entry-content,
body.single-post article.category-open-journal .entry-content p {
    font-family: "Source Sans 3", Arial, sans-serif !important;
}
/* Open Journal compilation pages */
body:is(
    .page-id-593,
    .page-id-595,
    .page-id-597,
    .page-id-600,
    .page-id-602,
    .page-id-604
) #main {
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

body:is(
    .page-id-593,
    .page-id-595,
    .page-id-597,
    .page-id-600,
    .page-id-602,
    .page-id-604
) .entry-header,
body:is(
    .page-id-593,
    .page-id-595,
    .page-id-597,
    .page-id-600,
    .page-id-602,
    .page-id-604
) .entry-content {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

body:is(
    .page-id-593,
    .page-id-595,
    .page-id-597,
    .page-id-600,
    .page-id-602,
    .page-id-604
) .entry-title {
    margin: 0;
    transform: translateX(-18px);
    font-size: 1.55em;
    font-weight: 400;
    line-height: 1.15;
    color: #4d4d4b;
}

body:is(
    .page-id-593,
    .page-id-595,
    .page-id-597,
    .page-id-600,
    .page-id-602,
    .page-id-604
) .entry-content {
    margin-top: 8px;
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 1.1em;
    font-weight: 400;
}

body:is(
    .page-id-593,
    .page-id-595,
    .page-id-597,
    .page-id-600,
    .page-id-602,
    .page-id-604
) .entry-content p {
    margin-top: 0;
    margin-bottom: 0.9em;
}
/* Quiet Open Journal entry labels */
body:is(
    .page-id-593,
    .page-id-595,
    .page-id-597,
    .page-id-600,
    .page-id-602,
    .page-id-604
) .entry-content p.has-medium-font-size,
body:is(
    .page-id-593,
    .page-id-595,
    .page-id-597,
    .page-id-600,
    .page-id-602,
    .page-id-604
) .entry-content p.has-medium-font-size strong {
    font-weight: 400;
}
/* Scribbles compilation pages */
body:is(
    .page-id-1184,
    .page-id-1201,
    .page-id-1211,
    .page-id-1232,
    .page-id-1245
) #main {
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

body:is(
    .page-id-1184,
    .page-id-1201,
    .page-id-1211,
    .page-id-1232,
    .page-id-1245
) .entry-header,
body:is(
    .page-id-1184,
    .page-id-1201,
    .page-id-1211,
    .page-id-1232,
    .page-id-1245
) .entry-content {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

body:is(
    .page-id-1184,
    .page-id-1201,
    .page-id-1211,
    .page-id-1232,
    .page-id-1245
) .entry-title {
    margin: 0;
    transform: translateX(-18px);
    font-size: 1.55em;
    font-weight: 400;
    line-height: 1.15;
    color: #4d4d4b;
}

body:is(
    .page-id-1184,
    .page-id-1201,
    .page-id-1211,
    .page-id-1232,
    .page-id-1245
) .entry-content {
    margin-top: 8px;
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 1.1em;
    font-weight: 400;
}

body:is(
    .page-id-1184,
    .page-id-1201,
    .page-id-1211,
    .page-id-1232,
    .page-id-1245
) .entry-content p {
    margin-top: 0;
    margin-bottom: 0.9em;
}
/* Scribbles entry labels — larger, not bold */
body:is(
    .page-id-1184,
    .page-id-1201,
    .page-id-1211,
    .page-id-1232,
    .page-id-1245
) .entry-content p.has-medium-font-size strong {
    font-weight: 400;
}
/* Kitchen handles — Subscribe on converted OJ posts */
body.single-post:has(
    .open-journal-audio-nudge,
    article.category-essays-from-the-shadows
)
.abl-subscribe button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 12px 10px 18px;
    border: 1px solid #c6cacc !important;
    border-radius: 5px;
    background-color: #e7e9eb !important;
    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.12) 0px,
            rgba(255,255,255,0.12) 1px,
            rgba(70,80,90,0.03) 1px,
            rgba(70,80,90,0.03) 2px
        ),
        linear-gradient(
            180deg,
            #fafbfc 0%,
            #e7e9eb 30%,
            #d2d6d9 65%,
            #eef0f1 100%
        );
    box-shadow:
        inset 0 1px 0 #fff,
        inset 0 -1px 0 rgba(255,255,255,0.55),
        0 2px 3px rgba(0,0,0,0.10);
    color: #3f4346 !important;
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none;
    cursor: pointer;
}

body.single-post:has(
    .open-journal-audio-nudge,
    article.category-essays-from-the-shadows
)
.abl-subscribe button[type="submit"] span {
    color: #3f4346 !important;
}

body.single-post:has(
    .open-journal-audio-nudge,
    article.category-essays-from-the-shadows
)
.abl-subscribe button[type="submit"]::after {
    content: "";
    display: inline-block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border: 1px solid #858c92;
    border-radius: 50%;
    background-image: linear-gradient(
        145deg,
        #fff 0%,
        #e5e8ea 35%,
        #b5bcc1 72%,
        #dfe3e6 100%
    );
    box-shadow:
        0 0 0 2px rgba(255,255,255,0.5),
        inset 0 1px 1px #fff,
        inset 0 -1px 2px rgba(65,75,85,0.28);
    pointer-events: none;
}
/* Site-wide — steel hi-fi navigation */
body #primary-menu {
    width: 300px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    list-style: none;
}

body #primary-menu > li {
    display: block;
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0 0 1px;
    padding: 0;
    border: 0;
}

body #primary-menu > li > a,
body #primary-menu-button {
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #c6cacc;
    border-radius: 0;
    background-color: #e7e9eb;
    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.12) 0px,
            rgba(255,255,255,0.12) 1px,
            rgba(70,80,90,0.03) 1px,
            rgba(70,80,90,0.03) 2px
        ),
        linear-gradient(
            180deg,
            #fafbfc 0%,
            #e7e9eb 30%,
            #d2d6d9 65%,
            #eef0f1 100%
        );
    box-shadow:
        inset 0 1px 0 #fff,
        inset 0 -1px 0 rgba(255,255,255,0.55),
        0 2px 3px rgba(0,0,0,0.08);
    color: #3f4346;
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: normal;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    opacity: 1;
}

body #primary-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
}

body #primary-menu-button {
    width: 160px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 5px;
    cursor: pointer;
}

body #primary-menu > li:first-child > a {
    border-radius: 5px 5px 0 0;
}

body #primary-menu > li:last-child > a {
    border-radius: 0 0 5px 5px;
}

body #primary-menu > li > a:hover,
body #primary-menu-button:hover {
    color: #25292c;
    background-color: #dce0e3;
    background-blend-mode: multiply;
    text-decoration: none;
}

body #primary-menu > li > a:active,
body #primary-menu > li.current-menu-item > a,
body #primary-menu-button[aria-expanded="true"] {
    box-shadow:
        inset 0 2px 4px rgba(65,75,85,0.22),
        inset 0 -1px 0 rgba(255,255,255,0.65);
}

body #primary-menu > li > a:focus-visible,
body #primary-menu-button:focus-visible {
    outline: 2px solid #4d4d4b;
    outline-offset: 3px;
    position: relative;
    z-index: 1;
}

/* Keep Home's navigation hidden */
body.page-id-1853 #primary-menu-button {
    display: none;
}

/* Approved horizontal strip for wider screens */
@media (min-width: 768px) {
    body #primary-menu {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 1px;
        width: 640px;
    }

    body #primary-menu > li {
        flex: 1 1 0;
        width: auto;
        margin: 0;
    }

    body #primary-menu > li > a {
        white-space: nowrap;
    }

    body #primary-menu > li:first-child > a {
        border-radius: 5px 0 0 5px;
    }

    body #primary-menu > li:last-child > a {
        border-radius: 0 5px 5px 0;
    }
}
    }

    body #primary-menu > li > a:active,
    body #primary-menu > li.current-menu-item > a {
        box-shadow:
            inset 0 2px 4px rgba(65,75,85,0.22),
            inset 0 -1px 0 rgba(255,255,255,0.65);
    }

    body #primary-menu > li > a:focus-visible {
        outline: 2px solid #4d4d4b;
        outline-offset: 3px;
        position: relative;
        z-index: 1;
    }
}
/* Essays Volumes One and Two — centred reading columns */
body:is(.page-id-1803, .page-id-1833) #main {
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

body:is(.page-id-1803, .page-id-1833) .entry-content {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
/* Essays Volume Two — full collection */
body.page-id-1828 #main {
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

body.page-id-1828 .entry-header,
body.page-id-1828 .entry-content {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

body.page-id-1828 .entry-title {
    margin: 0;
    transform: translateX(-18px);
    font-size: 1.55em;
    font-weight: 400;
    line-height: 1.15;
    color: #4d4d4b;
}

body.page-id-1828 .entry-content {
    margin-top: 8px;
    font-family: "Source Sans 3", Arial, sans-serif;
    font-size: 1.1em;
    font-weight: 400;
    color: #4d4d4b;
}

body.page-id-1828 .entry-content p {
    margin-top: 0;
    margin-bottom: 0.9em;
}/* House style — text links within page and post content */
body .entry-content a:not(.oj-metal-button):not(.wp-block-button__link):not(:has(img, svg)),
body .entry-summary a:not(.oj-metal-button):not(.wp-block-button__link):not(:has(img, svg)),
body .widget_text a:not(.oj-metal-button):not(.wp-block-button__link):not(:has(img, svg)) {
    color: #4d4d4d !important;
    font-family: "Source Sans 3", Arial, sans-serif !important;
    font-weight: 600 !important;
    text-decoration-line: underline !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

body .entry-content a:not(.oj-metal-button):not(.wp-block-button__link):not(:has(img, svg)):hover,
body .entry-summary a:not(.oj-metal-button):not(.wp-block-button__link):not(:has(img, svg)):hover,
body .widget_text a:not(.oj-metal-button):not(.wp-block-button__link):not(:has(img, svg)):hover {
    color: #4d4d4d !important;
    text-decoration-thickness: 2px;
}
/* Essays Volume One — centred full collection */
body.page-id-1811 #main {
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

body.page-id-1811 .entry-header,
body.page-id-1811 .entry-content {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}