/* Shared footer components for both Rehub post layouts. */
body.wpc-old-template .wpc-post {
 --wpc-brand:var(--c-action);--wpc-brand-700:var(--c-action-hover);--wpc-brand-soft:var(--c-action-soft);
 --wpc-price:var(--c-deal);--wpc-save:var(--c-success);--wpc-save-700:var(--c-success);
 --wpc-ink:var(--c-ink);--wpc-ink-soft:var(--c-text);--wpc-muted:var(--c-muted);--wpc-faint:var(--c-control);
 --wpc-line:var(--c-line);--wpc-line-soft:var(--c-line-strong);--page-bg:var(--c-bg);--panel-bg:var(--c-surface);
 --subtle-bg:var(--c-band);--track-bg:var(--c-line);--wpc-bg-soft:var(--c-band);--wpc-panel:var(--c-line);
 --wpc-shadow-sm:var(--shadow-1);--wpc-shadow:var(--shadow-2);--wpc-radius:var(--r-md);
 font-family:var(--font-body);font-size:16px;line-height:1.65;color:var(--c-text);
}
/* Share controls: compact network icons, real URLs, wishlist and progressive actions. */
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share{gap:2px;margin:14px 0 0;padding:0;border:0}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-lbl{margin-right:8px;color:var(--c-muted);font-size:13px;font-weight:600;letter-spacing:0;text-transform:none}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-btn,
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-action{display:inline-grid;place-items:center;box-sizing:border-box;width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:var(--r-sm);background:transparent;color:var(--c-text);cursor:pointer;transition:background-color .16s,color .16s,transform .16s}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-action[hidden]{display:none}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-btn svg,
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-action svg{width:17px;height:17px;fill:currentColor}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-action svg{fill:none}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-btn:hover,
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-action:hover{background:var(--c-band);color:var(--c-ink)}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-btn:active,
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-action:active{transform:translateY(1px)}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-action{width:auto;grid-auto-flow:column;gap:6px;padding:0 10px;font:600 13px/1.3 var(--font-body)}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-action.is-done{color:var(--c-success)}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-save{height:38px;min-height:38px;margin:0 0 0 auto;padding:0 10px;border:0;border-radius:var(--r-sm);background:transparent;color:var(--c-text);font-size:13px}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-save:hover{background:var(--c-band);color:var(--c-ink)}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-save::before{background-color:var(--c-muted);-webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 3.5h12a1 1 0 0 1 1 1V21l-7-4-7 4V4.5a1 1 0 0 1 1-1z"/></svg>') no-repeat center/contain;mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 3.5h12a1 1 0 0 1 1 1V21l-7-4-7 4V4.5a1 1 0 0 1 1-1z"/></svg>') no-repeat center/contain}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-save .heartplus.alreadywish .wishaddwrap{display:none!important}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-save .heartplus.alreadywish .wishaddedwrap{display:inline-flex!important}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-save .heartplus{color:inherit!important}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-save :is(.wishaddwrap,.wishaddedwrap,.wishremovedwrap){color:inherit!important}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-save:has(.heartplus.alreadywish){color:var(--c-action)}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-save:has(.heartplus.alreadywish)::before{background-color:var(--c-action)}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-btn:focus-visible,
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-action:focus-visible,
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-save:focus-within{outline:2px solid var(--c-focus);outline-offset:2px}

/* Author disclosure: readable by default; JS clamps only when overflow exists. */
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author{display:block;margin:24px 0 0;padding:24px 0 0;border:0;border-top:1px solid var(--c-line);border-radius:0;background:none}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author-head{display:flex;align-items:center;gap:16px}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author-identity{min-width:0}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author .wpc-author-av{width:56px;height:56px}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author .wpc-author-eyebrow{display:block;margin:0;color:var(--c-muted);font-size:13px!important;font-weight:400;letter-spacing:0;text-transform:none}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author .wpc-author-eyebrow::before{content:none}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author .wpc-author-name{margin:1px 0 0;color:var(--c-ink);font-size:18px;font-weight:600;line-height:1.3}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author .wpc-author-bio{margin:16px 0 0;color:var(--c-text);font-size:15px;line-height:1.65}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author-articles{margin-left:auto;color:var(--c-action);font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author .wpc-author-links{gap:12px;margin-top:10px}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author .wpc-author-links a{color:var(--c-action);font-size:14px;font-weight:600}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author+.single_custom_bottom{margin:0!important;padding:18px 0 0;border:0;background:none;text-align:left!important}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author+.single_custom_bottom .disclosure{max-width:none;margin:0;padding:14px 0 0;border:0;border-top:1px solid var(--c-line);background:transparent;box-shadow:none;color:var(--c-muted);font-size:13px;line-height:1.6}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author+.single_custom_bottom .disclosure strong{color:var(--c-text);font-weight:600}
.wpc-post-ui-js body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author .wpc-author-bio.is-clamped{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author-bio-more{margin:6px 0 10px;padding:0;border:0;background:none;color:var(--c-action);font:600 14px/1.4 var(--font-body);cursor:pointer}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author-bio-more:hover{text-decoration:underline;text-underline-offset:3px}


@media(max-width:767px){
 body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author-head{gap:14px}
 body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author .wpc-author-av{width:52px;height:52px}
}
@media(max-width:480px){
 body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share .wpc-share-lbl{flex-basis:100%;margin-bottom:4px}
 body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author-head{flex-wrap:wrap}
 body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author-articles{flex-basis:100%;margin-left:66px}
}
@media(prefers-reduced-motion:reduce){body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-share :is(a,button){transition:none!important}}

body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author .wpc-author-bio p{margin:0 0 .65em}
body:is(.wpc-post-layout,.wpc-old-template) .wpc-post .wpc-author .wpc-author-bio p:last-child{margin-bottom:0}
