/* Blog post extras (wanderpin-blog.php, post template #8): end-of-post block (Explore more on chips, preferred source
 * button, editorial disclosure) and the compact preferred source button in the share row under the featured image.
 * The end block sits inside .wd-prose, so article heading / paragraph / link rules are reset here. */
.wd-post-end{display:flex;flex-direction:column;gap:20px;margin-top:44px;padding-top:28px;border-top:1px solid var(--wd-line)}
.wd-prose .wd-post-end h2,.wd-prose .wd-post-end p{margin:0!important}
.wd-prose .wd-post-end a{text-decoration:none!important;box-shadow:none!important;background-image:none!important}
.wd-prose .wd-post-end .wd-post-end-h{display:flex;align-items:center;gap:8px;font-size:1.1rem!important;line-height:1.3!important;font-weight:800;letter-spacing:0;scroll-margin-top:0}
.wd-prose .wd-post-end h2.wd-post-end-h{margin-bottom:16px!important}
.wd-prose .wd-post-disc h2.wd-post-end-h{margin-bottom:4px!important}
.wd-post-end-h svg{flex:0 0 20px;width:20px;height:20px;color:var(--wd-coral-ink)}
.wd-post-end .wd-row{gap:8px}
.wd-prose .wd-post-end .wd-chip{color:var(--wd-ink)!important}
.wd-post-disc{display:flex;flex-direction:column;gap:8px;margin-top:14px;padding-top:24px;border-top:1px solid var(--wd-line)}
.wd-prose .wd-post-disc .wd-small{font-size:.88rem!important;line-height:1.6!important;color:var(--wd-muted)}
.wd-prose .wd-post-disc .wd-small a{color:var(--wd-ink)!important;text-decoration:underline!important;text-underline-offset:3px}
/* Preferred source on Google */
.wd-pref-src{display:inline-flex;align-items:center;gap:10px;align-self:flex-start;min-height:46px;padding:0 20px;border:1px solid var(--wd-line);border-radius:999px;background:var(--wd-bg);color:var(--wd-ink)!important;font-size:.92rem;line-height:1.3;text-decoration:none!important;transition:border-color .15s ease,box-shadow .15s ease}
.wd-pref-src:hover{border-color:var(--wd-ink);box-shadow:0 4px 14px rgba(26,0,0,.08)}
.wd-pref-src strong{color:#1a73e8;font-weight:800}
.wd-pref-g{flex:0 0 18px}
.wd-pref-src-sm{min-height:40px;padding:0 14px;gap:8px;font-size:.8rem;font-weight:700;white-space:nowrap;box-shadow:0 2px 8px rgba(26,0,0,.08);border-color:transparent}
.wd-post-meta .wd-pref-wrap,.wd-post-meta .wd-save-wrap{display:flex}
/* Photo credit on its own line under the image; Save, share and preferred source in one row below it. */
.wd-post-meta > .wd-credit{flex:1 0 100%!important;max-width:100%}
.wd-post-meta{flex-wrap:wrap!important;row-gap:10px!important}
@media (max-width:767px){
  .wd-post-end{margin-top:32px}
  .wd-pref-src{min-height:44px;padding:0 16px;font-size:.88rem}
}
/* Save button at the end of the post (button itself: data/wanderpin-save.css) */
.wd-post-end .wd-save-btn{min-height:46px;padding:0 20px;font-size:.92rem;border-color:var(--wd-line);box-shadow:none}
.wd-post-end-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.wd-post-end-actions .wd-pref-src{align-self:auto}
/* jump links land below the sticky header (replaces the TOC plugin's offset spans, removed in slm-seo.php) */
:where(.wd-prose,.cb-sp_main,article) :is(h2,h3,h4)[id]{scroll-margin-top:96px}
