/* Astra retains the article layout and featured-image overlap. */
.single-post .site-content .ast-single-post-featured-section img { border-radius:10px; }
.single-post .site-content article.ast-article-single { background:#fff; border:1px solid #d6dfe8; border-radius:10px; box-shadow:0 2px 5px -1px rgba(20,26,58,.12); }
.single-post .site-content article.ast-article-single { padding-bottom:20px; }
/* Keep featured photographs visible beneath the overlapping card on smaller screens. */
@media(max-width:921px){
    .single-post .site-content .ast-single-post-featured-section + article.ast-article-single { margin-top:-40px; }
}
@media(max-width:544px){
    .single-post .site-content .ast-single-post-featured-section + article.ast-article-single { margin-top:-24px; }
}
.pmc-article-back { display:flex; justify-content:flex-start; text-align:left; margin:0 0 24px; }
.pmc-article-back a { gap:8px; justify-content:center; }
/* Astra's wide featured image extends 120px beyond the text column on desktop. */
@media (min-width:922px) {
    .single-post.ast-no-sidebar .pmc-article-back:has(+ #main > .ast-article-image-container--wide) { margin-left:-120px; }
}
.pmc-article-back a { display:inline-flex; align-items:center; padding:8px 16px; border:1px solid #c0c8d4; border-radius:99px; color:var(--ast-global-color-2,#343a40); background:transparent; font:500 15px/1.5 "Open Sans",sans-serif; text-decoration:none; }
.pmc-article-back a:hover { color:#fff; background:var(--ast-global-color-1,#1c77c3); border-color:var(--ast-global-color-1,#1c77c3); }
.pmc-article-back a:focus-visible { color:#fff; background:var(--ast-global-color-0,#141a3a); outline:2px solid var(--ast-global-color-0,#141a3a); outline-offset:3px; }
.pmc-article-share-footer { display:flex; justify-content:flex-end; margin-top:28px; padding-top:18px; border-top:1px solid #d6dfe8; }
.single-post .post-navigation .nav-links { display:flex; justify-content:space-between; gap:16px; }
.single-post .post-navigation .nav-next { margin-left:auto; }
.single-post .post-navigation a { display:inline-flex; align-items:center; justify-content:center; gap:8px; width:auto; padding:8px 16px; border:1px solid #c0c8d4; border-radius:99px; color:var(--ast-global-color-2,#343a40); background:transparent; font:500 15px/1.5 "Open Sans",sans-serif; text-decoration:none; }
.single-post .post-navigation a:hover { color:#fff; background:var(--ast-global-color-1,#1c77c3); border-color:var(--ast-global-color-1,#1c77c3); }
.single-post .post-navigation a:focus-visible { color:#fff; background:var(--ast-global-color-0,#141a3a); outline:2px solid var(--ast-global-color-0,#141a3a); outline-offset:3px; }

/* News body headings use the same 2rem scale as Astra's article title,
   rather than the global page/hero H2 size and section spacing. */
.single-post .ast-article-single .entry-content > h2 {
    font-size:2rem;
    line-height:1.2;
    margin-block:1em .5em;
}
/* Readable links on the white article panel; controls keep their own styles. */
.single-post .ast-article-single .entry-content :is(p,li,blockquote) a:not(.wp-element-button):not(.wp-block-button__link) {
    color:var(--ast-global-color-1,#1c77c3);
    font-weight:600;
    text-decoration:none;
}
.single-post .ast-article-single .entry-content :is(p,li,blockquote) a:not(.wp-element-button):not(.wp-block-button__link):is(:hover,:focus-visible) {
    color:var(--ast-global-color-0,#141a3a);
    text-decoration:none;
}
.single-post .ast-article-single .entry-content :is(p,li,blockquote) a:not(.wp-element-button):not(.wp-block-button__link):focus-visible {
    outline:2px solid var(--ast-global-color-1,#1c77c3);
    outline-offset:3px;
}
/* Native image floats may wrap article text, but never the sharing footer. */
.single-post .pmc-article-share-footer {
    clear:both;
    width:100%;
    box-sizing:border-box;
}
/* Padding remains after float clearance; a top margin can be absorbed by it. */
.single-post .pmc-article-share-footer {
    margin-top:0;
    border-top:0;
    padding-top:28px;
    flex-direction:column;
    align-items:flex-end;
    gap:18px;
}
.single-post .pmc-article-share-footer::before {
    content:"";
    display:block;
    width:100%;
    border-top:1px solid #d6dfe8;
}
.single-post .ast-article-single .entry-content > p:has(+ .pmc-article-share-footer) {
    margin-bottom:0;
}

/* Generated article navigation matches the native homepage pills. */
:is(.pmc-article-back,.single-post .post-navigation) .pmc-button-icon { width:14px; height:14px; flex:0 0 14px; vertical-align:middle; }
.single-post .post-navigation .nav-links :is(.nav-previous,.nav-next) a { padding:8px 16px; }
