/*
 * PFM site shell — Phase 2.1.
 *
 * This layer gives Wesper-owned chrome and editorial surfaces the same visual
 * language as mature PFM products without restyling plugin-owned interfaces.
 */
:root{
    --pfm-shell-red:#8b0f1a;
    --pfm-shell-red-dark:#6f0c15;
    --pfm-shell-gold:#d6a313;
    --pfm-shell-ink:#111827;
    --pfm-shell-copy:#354056;
    --pfm-shell-muted:#64748b;
    --pfm-shell-line:#dfe4ec;
    --pfm-shell-soft:#f8fafc;
    --pfm-shell-card:#fff;
    --pfm-shell-focus:rgba(214,163,19,.72);
    --pfm-shell-shadow:0 8px 24px rgba(15,23,42,.055);
}
.options_dark_skin{
    --pfm-shell-ink:#f8fafc;
    --pfm-shell-copy:#d6dde8;
    --pfm-shell-muted:#a8b3c2;
    --pfm-shell-line:#394453;
    --pfm-shell-soft:#171e28;
    --pfm-shell-card:#111720;
    --pfm-shell-shadow:0 8px 24px rgba(0,0,0,.22);
}

/* Keyboard access. */
.pfm-skip-link{
    position:fixed!important;
    top:10px!important;
    left:10px!important;
    z-index:100000!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    padding:10px 14px!important;
    clip:auto!important;
    clip-path:none!important;
    overflow:visible!important;
    transform:translateY(-180%);
    border:2px solid var(--pfm-shell-gold)!important;
    border-radius:8px!important;
    background:var(--pfm-shell-ink)!important;
    color:#fff!important;
    font-family:var(--jl-menu-font)!important;
    font-size:14px!important;
    font-weight:800!important;
    line-height:1.2!important;
    text-decoration:none!important;
    transition:transform .16s ease!important;
}
.pfm-skip-link:focus,
.pfm-skip-link:focus-visible{transform:none;outline:0!important}

.pfm-theme-shell .navigation_wrapper a:focus-visible,
.pfm-theme-shell button.search_header_wrapper:focus-visible,
.pfm-theme-shell button.menu_mobile_icons:focus-visible,
.pfm-theme-shell .jl_breadcrumbs a:focus-visible,
.pfm-theme-shell .jl_main_achv a:focus-visible,
.pfm-theme-shell .pfm-theme-article-shell a:focus-visible,
.pfm-theme-shell .jl_foot_wrap a:focus-visible,
.pfm-theme-shell #go-top a:focus-visible{
    outline:3px solid var(--pfm-shell-focus)!important;
    outline-offset:3px!important;
    border-radius:4px;
}

/* Header: preserve Wesper structure, add a restrained PFM identity. */
.pfm-theme-shell:not(.jl_header_tp) .jlc-hmain-w .jlc-hmain-in,
.pfm-theme-shell:not(.jl_header_tp) .jlc-stick-main-w .jlc-stick-main-in{
    border-bottom:1px solid var(--pfm-shell-line);
}
.pfm-theme-shell .navigation_wrapper .jl_main_menu .current-menu-ancestor>a .jl_mblt,
.pfm-theme-shell .navigation_wrapper .jl_main_menu .current-menu-item>a .jl_mblt,
.pfm-theme-shell .navigation_wrapper .jl_main_menu .is-current-sub>a .jl_mblt{
    background-image:linear-gradient(90deg,var(--pfm-shell-red) 0,var(--pfm-shell-red) 94%);
    background-size:100% 2px;
}
.pfm-theme-shell button.search_header_wrapper{
    -webkit-appearance:none;
    appearance:none;
    display:flex;
    width:auto;
    min-width:0;
    height:auto;
    min-height:0;
    align-items:center;
    justify-content:center;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent!important;
    color:inherit!important;
    box-shadow:none!important;
    font:inherit;
    line-height:1;
    cursor:pointer;
}
.pfm-theme-shell button.search_header_wrapper:hover,
.pfm-theme-shell button.search_header_wrapper:focus{
    background:transparent!important;
}

/* Breadcrumbs: same hierarchy, stronger semantics and quieter color. */
.pfm-theme-shell .jl_breadcrumbs{
    color:var(--pfm-shell-muted);
}
.pfm-theme-shell .jl_breadcrumbs a{
    color:var(--pfm-shell-copy);
    text-decoration:none!important;
}
.pfm-theme-shell .jl_breadcrumbs a:hover,
.pfm-theme-shell .jl_breadcrumbs a:focus{
    color:var(--pfm-shell-red)!important;
}
.pfm-theme-shell .jl_breadcrumbs i{color:var(--pfm-shell-muted)}

/* Archive/search headings and the primary editorial list. */
.pfm-theme-shell .jl_main_achv .jl_pc_sec_title{
    position:relative;
    margin-bottom:34px;
    padding-left:18px;
}
.pfm-theme-shell .jl_main_achv .jl_pc_sec_title:before{
    position:absolute;
    top:.12em;
    bottom:.08em;
    left:0;
    width:4px;
    border-radius:999px;
    background:var(--pfm-shell-red);
    content:"";
}
.pfm-theme-shell .jl_main_achv .jl_pc_sec_title .jl_pc_sec_h{
    color:var(--pfm-shell-ink)!important;
    font-weight:900;
    letter-spacing:-.035em;
    line-height:1.05;
}
.pfm-theme-shell .jl_main_achv .jl_pc_sec_title .post_subtitle_text,
.pfm-theme-shell .jl_main_achv .jl_pc_sec_title .post_subtitle_text p{
    margin-top:10px;
    color:var(--pfm-shell-copy)!important;
}
.pfm-theme-shell .jl_main_achv.jl_achv_tpl_list .jl_clist_layout:after{
    border-color:var(--pfm-shell-line);
}
.pfm-theme-shell .jl_main_achv.jl_achv_tpl_list .jl_clist_layout .jl_fe_title a{
    color:var(--pfm-shell-ink)!important;
    font-weight:850;
    letter-spacing:-.018em;
}
.pfm-theme-shell .jl_main_achv.jl_achv_tpl_list .jl_clist_layout .jl_fe_title a:hover,
.pfm-theme-shell .jl_main_achv.jl_achv_tpl_list .jl_clist_layout .jl_fe_title a:focus{
    color:var(--pfm-shell-red)!important;
}
.pfm-theme-shell .jl_main_achv.jl_achv_tpl_list .jl_clist_layout .jl_fe_des{
    color:var(--pfm-shell-copy)!important;
    line-height:1.58;
}
.pfm-theme-shell .jl_main_achv.jl_achv_tpl_list .jl_clist_layout .jl_post_meta span,
.pfm-theme-shell .jl_main_achv.jl_achv_tpl_list .jl_clist_layout .jl_post_meta a{
    color:var(--pfm-shell-muted)!important;
}
.pfm-theme-shell .jl_main_achv.jl_achv_tpl_list .jl_clist_layout .jl_f_cat .jl_cat_txt,
.pfm-theme-shell .jl_main_achv.jl_achv_tpl_list .jl_clist_layout .jl_f_cat .jl_cat_lbl{
    border-color:var(--pfm-shell-red)!important;
    background:var(--pfm-shell-red)!important;
    color:#fff!important;
}
.pfm-theme-shell .jl_main_achv.jl_achv_tpl_list .jl_clist_layout .jl_f_cat .jl_cat_txt:hover,
.pfm-theme-shell .jl_main_achv.jl_achv_tpl_list .jl_clist_layout .jl_f_cat .jl_cat_lbl:hover{
    border-color:var(--pfm-shell-red-dark)!important;
    background:var(--pfm-shell-red-dark)!important;
    color:#fff!important;
}


/* Related articles: preserve full editorial artwork and carry the PFM article-list language through the page. */
.pfm-theme-shell .jl_relsec_in>h4{position:relative;padding-left:14px;color:var(--pfm-shell-ink)!important;font-weight:900;letter-spacing:-.025em}
.pfm-theme-shell .jl_relsec_in>h4:before{position:absolute;top:.08em;bottom:.08em;left:0;width:4px;border-radius:999px;background:linear-gradient(180deg,var(--pfm-shell-red) 0 78%,var(--pfm-shell-gold) 78% 100%);content:""}
.pfm-theme-shell .jl_rel_posts .jl_imgw{padding-bottom:0;background:var(--pfm-shell-soft)}
.pfm-theme-shell .jl_rel_posts .jl_imgw .jl_imgin{position:relative;top:auto;right:auto;bottom:auto;left:auto;height:auto}
.pfm-theme-shell .jl_rel_posts .jl_imgw .jl_imgin img{display:block;width:100%;height:auto;object-fit:contain;transform:none!important}
.pfm-theme-shell .jl_rel_posts .jl_fe_title a{color:var(--pfm-shell-ink)!important;font-weight:850;letter-spacing:-.015em}
.pfm-theme-shell .jl_rel_posts .jl_fe_title a:hover,.pfm-theme-shell .jl_rel_posts .jl_fe_title a:focus{color:var(--pfm-shell-red)!important}
.pfm-theme-shell .jl_rel_posts .jl_fe_des{color:var(--pfm-shell-copy)!important;line-height:1.55}
.pfm-theme-shell .jl_rel_posts .jl_post_meta span,.pfm-theme-shell .jl_rel_posts .jl_post_meta a{color:var(--pfm-shell-muted)!important}


/* Full-screen search: keep the close control visually attached to the centered search field. */
.pfm-theme-shell .search_form_menu_personal:not(.jl_ajse) .menu_mobile_large_close{
    top:max(24px,calc(50% - 112px));
    right:max(30px,calc((100vw - 660px)/2 + 30px));
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    min-width:44px;
    min-height:44px;
    margin:0;
    padding:0;
    border:0;
    border-radius:50%;
    background:transparent!important;
    color:var(--pfm-shell-ink)!important;
    box-shadow:none!important;
    line-height:1;
}
.pfm-theme-shell .search_form_menu_personal:not(.jl_ajse) .menu_mobile_large_close:focus-visible{
    outline:3px solid rgba(139,15,26,.28)!important;
    outline-offset:3px;
}

/* Search/discovery: one result surface for articles, pages, team dashboards and searchable PFM products. */
.pfm-theme-shell .pfm-search-result-kind{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin:0 0 7px;padding:4px 8px;border:1px solid rgba(139,15,26,.2);border-radius:999px;background:rgba(139,15,26,.06);color:var(--pfm-shell-red)!important;font-family:var(--jl-menu-font);font-size:11px;font-weight:800;line-height:1.1;letter-spacing:.035em;text-transform:uppercase}
.pfm-theme-shell .jl_ajse .pfm-search-suggestion .pfm-search-result-kind{margin-bottom:4px;font-size:10px}
.pfm-theme-shell .pfm-search-empty{padding:34px 28px;border:1px solid var(--pfm-shell-line);border-radius:16px;background:var(--pfm-shell-soft)}
.pfm-theme-shell .pfm-search-empty .jl_not_found{color:var(--pfm-shell-ink)!important}
.pfm-theme-shell .pfm-search-empty .jl_error_desc{color:var(--pfm-shell-copy)!important}

/* Single articles: polish the existing Wesper header rather than replacing it. */
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl_txt{
    position:relative;
}
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl_txt:before{
    display:block;
    width:56px;
    height:4px;
    margin:0 0 18px;
    border-radius:999px;
    background:linear-gradient(90deg,var(--pfm-shell-red) 0 78%,var(--pfm-shell-gold) 78% 100%);
    content:"";
}
.pfm-theme-shell .pfm-theme-article-shell .jl_head_title{
    color:var(--pfm-shell-ink)!important;
    font-weight:900;
    letter-spacing:-.04em;
}
.pfm-theme-shell .pfm-theme-article-shell .post_subtitle_text{
    color:var(--pfm-shell-copy)!important;
    line-height:1.6;
}
.pfm-theme-shell .pfm-theme-article-shell .jl_slimeta,
.pfm-theme-shell .pfm-theme-article-shell .jl_slimeta span,
.pfm-theme-shell .pfm-theme-article-shell .jl_slimeta a{
    color:var(--pfm-shell-muted)!important;
}
.pfm-theme-shell .pfm-theme-article-shell .jl_slimeta a:hover,
.pfm-theme-shell .pfm-theme-article-shell .jl_slimeta a:focus{
    color:var(--pfm-shell-red)!important;
}
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl_txt .jl_f_cat .jl_cat_txt,
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl_txt .jl_f_cat .jl_cat_lbl{
    border-color:var(--pfm-shell-red)!important;
    background:var(--pfm-shell-red)!important;
    color:#fff!important;
}
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl_txt .jl_f_cat .jl_cat_txt:hover,
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl_txt .jl_f_cat .jl_cat_lbl:hover{
    border-color:var(--pfm-shell-red-dark)!important;
    background:var(--pfm-shell-red-dark)!important;
}
/* Overlay-style article headers keep their deliberate white-on-image treatment. */
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl3 .jl_head_title,
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl4 .jl_head_title,
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl3 .post_subtitle_text,
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl4 .post_subtitle_text,
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl3 .jl_slimeta span,
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl3 .jl_slimeta a,
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl4 .jl_slimeta span,
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl4 .jl_slimeta a{
    color:#fff!important;
}
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl3 .jl_shead_tpl_txt:before,
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl4 .jl_shead_tpl_txt:before{
    display:none;
}

/* Footer: preserve widget/menu configuration while making the shell recognizably PFM. */
.pfm-theme-shell .jl_foot_wrap{
    position:relative;
}
.pfm-theme-shell .jl_foot_wrap:before{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:linear-gradient(90deg,var(--pfm-shell-red) 0 calc(100% - 84px),var(--pfm-shell-gold) calc(100% - 84px) 100%);
    content:"";
}
.pfm-theme-shell .jl_foot_wrap .widget-title,
.pfm-theme-shell .jl_foot_wrap h1,
.pfm-theme-shell .jl_foot_wrap h2,
.pfm-theme-shell .jl_foot_wrap h3,
.pfm-theme-shell .jl_foot_wrap h4,
.pfm-theme-shell .jl_foot_wrap h5,
.pfm-theme-shell .jl_foot_wrap h6{
    font-weight:850;
    letter-spacing:-.01em;
}
.pfm-theme-shell .jl_foot_wrap a:hover,
.pfm-theme-shell .jl_foot_wrap a:focus{
    color:var(--pfm-shell-gold)!important;
}
.pfm-theme-shell .pfm-footer-nav{
    width:100%;
}
.pfm-theme-shell .pfm-footer-nav .jl-menu-footer{
    margin:0!important;
}

/* Back-to-top remains visually unchanged but receives a predictable focus target. */
.pfm-theme-shell #go-top a{
    display:flex;
    align-items:center;
    justify-content:center;
}

@media (max-width:767px){
    .pfm-theme-shell .jl_main_achv .jl_pc_sec_title{
        margin-bottom:28px;
        padding-left:14px;
    }
    .pfm-theme-shell .jl_main_achv .jl_pc_sec_title:before{width:3px}
    .pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl_txt:before{
        width:46px;
        margin-bottom:14px;
    }
}

/* --------------------------------------------------------------------------
   PFM Phase 3: footer discovery, data rail, sharing and empty states
   -------------------------------------------------------------------------- */
.pfm-theme-shell .pfm-footer-hub{
    border-bottom:1px solid var(--jl-foot-line);
    padding:58px 0 52px;
}
.pfm-theme-shell .pfm-footer-hub__grid{
    display:grid;
    grid-template-columns:minmax(240px,1.35fr) repeat(4,minmax(120px,1fr));
    gap:42px 34px;
    align-items:start;
}
.pfm-theme-shell .pfm-footer-hub__brand{
    max-width:360px;
}
.pfm-theme-shell .pfm-footer-hub__eyebrow{
    margin-bottom:12px;
    color:var(--pfm-shell-gold);
    font-family:var(--jl-menu-font);
    font-size:12px;
    font-weight:850;
    letter-spacing:.09em;
    line-height:1.2;
    text-transform:uppercase;
}
.pfm-theme-shell .pfm-footer-hub__brand h2{
    margin:0 0 14px;
    color:var(--jl-foot-head);
    font-size:25px;
    line-height:1.12;
}
.pfm-theme-shell .pfm-footer-hub__brand p{
    margin:0;
    color:var(--jl-foot-color);
    font-size:14px;
    line-height:1.65;
    opacity:.86;
}
.pfm-theme-shell .pfm-footer-hub__group h3{
    margin:0 0 15px;
    color:var(--jl-foot-head);
    font-family:var(--jl-menu-font);
    font-size:14px;
    font-weight:850;
    letter-spacing:.01em;
    line-height:1.25;
}
.pfm-theme-shell .pfm-footer-hub__links{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin:0;
    padding:0;
    list-style:none;
}
.pfm-theme-shell .pfm-footer-hub__links li{
    margin:0;
    padding:0;
    list-style:none;
}
.pfm-theme-shell .pfm-footer-hub__links a{
    display:inline-block;
    color:var(--jl-foot-link)!important;
    font-size:13px;
    font-weight:650;
    line-height:1.4;
    text-decoration:none;
}
.pfm-theme-shell .pfm-footer-hub__links a:hover,
.pfm-theme-shell .pfm-footer-hub__links a:focus-visible{
    color:var(--pfm-shell-gold)!important;
    text-decoration:underline;
    text-decoration-thickness:2px;
    text-underline-offset:4px;
}

/* Editorial sidebars become a consistent PFM data/tool rail without touching plugin-owned internals. */
.pfm-theme-shell .jl_smmain_side .pfm-data-rail-widget{
    border:1px solid var(--pfm-shell-border);
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 28px rgba(15,29,61,.055);
    padding:22px;
}
.pfm-theme-shell .jl_smmain_side .pfm-data-rail-widget > .widget-title{
    position:relative;
    margin-bottom:20px;
    border-bottom:0;
    padding:0 0 0 14px;
}
.pfm-theme-shell .jl_smmain_side .pfm-data-rail-widget > .widget-title:before{
    position:absolute;
    top:2px;
    bottom:2px;
    left:0;
    width:3px;
    border-radius:999px;
    background:var(--pfm-shell-red);
    content:"";
}
.pfm-theme-shell .jl_smmain_side .pfm-data-rail-widget > .widget-title h2{
    color:var(--pfm-shell-ink);
    font-size:15px;
    font-weight:850;
    letter-spacing:.01em;
}
.pfm-theme-shell .jl_smmain_side .pfm-data-rail-widget + .pfm-data-rail-widget{
    margin-top:18px;
}
/* Article sharing: four useful actions, one visual language. */
.pfm-theme-shell .pfm-share-actions{
    width:100%;
}
.pfm-theme-shell .pfm-share-actions .jl_sli_in{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0;
    padding:0;
}
.pfm-theme-shell .pfm-share-actions .jl_shli{
    margin:0!important;
    padding:0!important;
    list-style:none;
}
.pfm-theme-shell .pfm-share-actions .jl_sshl{
    display:inline-flex;
    min-height:40px;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:1px solid var(--pfm-shell-border)!important;
    border-radius:999px!important;
    background:#fff!important;
    color:var(--pfm-shell-ink)!important;
    box-shadow:none!important;
    padding:8px 14px!important;
    font-family:var(--jl-menu-font);
    font-size:12px!important;
    font-weight:800;
    line-height:1.1;
    text-decoration:none!important;
    cursor:pointer;
}
.pfm-theme-shell .pfm-share-actions button.jl_sshl{
    appearance:none;
    -webkit-appearance:none;
}
.pfm-theme-shell .pfm-share-actions .jl_sshl i,
.pfm-theme-shell .pfm-share-actions .jl_sshl svg{
    width:14px;
    height:14px;
    color:currentColor!important;
    fill:currentColor;
    flex:0 0 14px;
}
.pfm-theme-shell .pfm-share-actions .jl_sshl:hover,
.pfm-theme-shell .pfm-share-actions .jl_sshl:focus-visible{
    border-color:var(--pfm-shell-red)!important;
    background:var(--pfm-shell-red)!important;
    color:#fff!important;
}

/* Search/404 recovery should look like a PFM destination, not a generic theme dead end. */
.pfm-theme-shell .jl_page_error,
.pfm-theme-shell .pfm-search-empty{
    max-width:820px;
    margin-right:auto;
    margin-left:auto;
}
.pfm-theme-shell .pfm-empty-links{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin:28px 0 24px;
}
.pfm-theme-shell .pfm-empty-links a{
    display:flex;
    min-height:52px;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    border:1px solid var(--pfm-shell-border);
    border-radius:14px;
    background:var(--pfm-shell-soft);
    color:var(--pfm-shell-ink)!important;
    padding:13px 16px;
    font-family:var(--jl-menu-font);
    font-size:13px;
    font-weight:800;
    line-height:1.25;
    text-decoration:none!important;
}
.pfm-theme-shell .pfm-empty-links a span{
    color:var(--pfm-shell-red);
    font-size:18px;
    line-height:1;
}
.pfm-theme-shell .pfm-empty-links a:hover,
.pfm-theme-shell .pfm-empty-links a:focus-visible{
    border-color:var(--pfm-shell-red);
    background:#fff;
}
.pfm-theme-shell .link_home404{
    display:inline-flex;
    min-height:44px;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:var(--pfm-shell-red);
    color:#fff!important;
    padding:10px 18px;
    font-family:var(--jl-menu-font);
    font-size:13px;
    font-weight:850;
    text-decoration:none!important;
}
.pfm-theme-shell .link_home404:hover,
.pfm-theme-shell .link_home404:focus-visible{
    background:var(--pfm-shell-red-dark);
}

@media (max-width:1100px){
    .pfm-theme-shell .pfm-footer-hub__grid{
        grid-template-columns:minmax(220px,1.25fr) repeat(2,minmax(150px,1fr));
    }
    .pfm-theme-shell .pfm-footer-hub__brand{
        grid-row:span 2;
    }
}
@media (max-width:767px){
    .pfm-theme-shell .pfm-footer-hub{
        padding:42px 0 38px;
    }
    .pfm-theme-shell .pfm-footer-hub__grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:32px 24px;
    }
    .pfm-theme-shell .pfm-footer-hub__brand{
        grid-column:1/-1;
        grid-row:auto;
        max-width:540px;
    }
    .pfm-theme-shell .pfm-footer-hub__brand h2{font-size:22px}
    .pfm-theme-shell .jl_smmain_side .pfm-data-rail-widget{
        border-radius:16px;
        padding:18px;
    }
}
@media (max-width:430px){
    .pfm-theme-shell .pfm-footer-hub__grid,
    .pfm-theme-shell .pfm-empty-links{
        grid-template-columns:1fr;
    }
    .pfm-theme-shell .pfm-footer-hub__group{
        border-top:1px solid var(--jl-foot-line);
        padding-top:20px;
    }
    .pfm-theme-shell .pfm-footer-hub__links{
        gap:9px;
    }
    .pfm-theme-shell .pfm-share-actions .jl_sli_in{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .pfm-theme-shell .pfm-share-actions .jl_sshl{
        width:100%;
    }
}

/* Preserve the compact vertical rail used by single-post layouts while using the same four actions. */
.pfm-theme-shell .post_s .pfm-share-actions .jl_sli_in{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
}
.pfm-theme-shell .post_s .pfm-share-actions .jl_shli{
    width:40px;
}
.pfm-theme-shell .post_s .pfm-share-actions .jl_sshl{
    width:40px;
    height:40px;
    min-height:40px;
    border-radius:999px!important;
    padding:0!important;
}
.pfm-theme-shell .post_s .pfm-share-actions .jl_sshl span{
    display:none;
}
.pfm-theme-shell .jl_sfoot .pfm-share-actions .jl_sli_in{
    display:flex;
    flex-wrap:wrap;
}
.pfm-theme-shell .jl_sfoot .pfm-share-actions .jl_shli{
    flex:1 1 120px;
    width:auto;
}
.pfm-theme-shell .jl_sfoot .pfm-share-actions .jl_sshl{
    width:100%;
}
.pfm-theme-shell .jl_sfoot .pfm-share-actions .jl_sshl span{
    display:inline!important;
}


/* v1.1.15-pfm: compact article share row directly below post metadata. */
.pfm-theme-shell .pfm-theme-article-shell .pfm-top-share{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin:14px 0 0;
}
.pfm-theme-shell .pfm-theme-article-shell .pfm-top-share__label{
    color:var(--pfm-shell-muted);
    font-family:var(--jl-menu-font);
    font-size:11px;
    font-weight:850;
    letter-spacing:.08em;
    line-height:1;
    text-transform:uppercase;
}
.pfm-theme-shell .pfm-theme-article-shell .pfm-top-share .pfm-share-actions{
    width:auto;
}
.pfm-theme-shell .pfm-theme-article-shell .pfm-top-share .pfm-share-actions .jl_sli_in{
    display:flex;
    flex-wrap:nowrap;
    gap:7px;
}
.pfm-theme-shell .pfm-theme-article-shell .pfm-top-share .pfm-share-actions .jl_shli{
    width:38px;
    flex:0 0 38px;
}
.pfm-theme-shell .pfm-theme-article-shell .pfm-top-share .pfm-share-actions .jl_sshl{
    width:38px;
    height:38px;
    min-height:38px;
    border-radius:999px!important;
    padding:0!important;
}
.pfm-theme-shell .pfm-theme-article-shell .pfm-top-share .pfm-share-actions .jl_sshl span{
    display:none;
}
/* Retain the established desktop article measure while removing duplicate sticky share controls. */
.pfm-theme-shell .pfm-theme-article-shell .post_sw .post_s{
    display:none!important;
}
@media (max-width:767px){
    .pfm-theme-shell .pfm-theme-article-shell .pfm-top-share{margin-top:12px;gap:9px}
    .pfm-theme-shell .pfm-theme-article-shell .pfm-top-share .pfm-share-actions .jl_sli_in{display:flex;grid-template-columns:none;gap:7px}
    .pfm-theme-shell .pfm-theme-article-shell .pfm-top-share .pfm-share-actions .jl_shli{width:40px;flex:0 0 40px}
    .pfm-theme-shell .pfm-theme-article-shell .pfm-top-share .pfm-share-actions .jl_sshl{width:40px;height:40px;min-height:40px}
}

/* v1.1.20-pfm: legacy image-overlay article layouts keep sharing outside the hero text. */
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl3 > .pfm-top-share,
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_tpl4 > .pfm-top-share{
    position:relative;
    z-index:4;
}
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_mix9 > .pfm-top-share,
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_mix10 > .pfm-top-share,
.pfm-theme-shell .pfm-theme-article-shell .jl_shead_mix12 > .pfm-top-share{
    width:min(1200px,calc(100% - 40px));
    margin-right:auto;
    margin-left:auto;
}
@media (max-width:767px){
    .pfm-theme-shell .pfm-theme-article-shell .jl_shead_mix9 > .pfm-top-share,
    .pfm-theme-shell .pfm-theme-article-shell .jl_shead_mix10 > .pfm-top-share,
    .pfm-theme-shell .pfm-theme-article-shell .jl_shead_mix12 > .pfm-top-share{
        width:calc(100% - 40px);
    }
}

/* Phase 4: visible update labels and contributor identity. */
.pfm-theme-shell .pfm-theme-article-shell .post-modified-date{
    color:var(--pfm-shell-muted)!important;
    white-space:nowrap;
}
.pfm-theme-shell .pfm-author-profile{
    display:grid;
    grid-template-columns:150px minmax(0,1fr);
    gap:28px;
    align-items:start;
    margin:0 0 36px;
    padding:30px;
    border:1px solid var(--pfm-shell-line);
    border-radius:18px;
    background:var(--pfm-shell-surface);
    box-shadow:0 12px 30px rgba(17,24,39,.06);
}
.pfm-theme-shell .pfm-author-profile__avatar img{
    display:block;
    width:150px;
    height:150px;
    border-radius:50%;
    object-fit:cover;
}
.pfm-theme-shell .pfm-author-profile__avatar{grid-row:1 / span 5}
.pfm-theme-shell .pfm-author-profile__identity,
.pfm-theme-shell .pfm-author-profile__bio,
.pfm-theme-shell .pfm-author-profile__coverage,
.pfm-theme-shell .pfm-author-profile__meta,
.pfm-theme-shell .pfm-author-profile__links{grid-column:2}
.pfm-theme-shell .pfm-author-profile__eyebrow{
    margin:0 0 6px;
    color:var(--pfm-shell-red);
    font-family:var(--jl-menu-font);
    font-size:13px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.pfm-theme-shell .pfm-author-profile h1{
    margin:0;
    color:var(--pfm-shell-ink);
    font-size:38px;
    line-height:1.05;
    letter-spacing:-.035em;
}
.pfm-theme-shell .pfm-author-profile__title{
    margin:7px 0 14px;
    color:var(--pfm-shell-copy);
    font-family:var(--jl-menu-font);
    font-size:16px;
    font-weight:700;
}
.pfm-theme-shell .pfm-author-profile__bio p{
    margin:0 0 14px;
    color:var(--pfm-shell-copy);
    font-size:17px;
    line-height:1.65;
}
.pfm-theme-shell .pfm-author-profile__coverage{
    margin:0 0 14px;
    color:var(--pfm-shell-copy);
    font-size:15px;
}
.pfm-theme-shell .pfm-author-profile__meta{
    margin:0 0 14px;
    color:var(--pfm-shell-muted);
    font-family:var(--jl-menu-font);
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.pfm-theme-shell .pfm-author-profile__links{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}
.pfm-theme-shell .pfm-author-profile__links a{
    display:inline-flex;
    min-height:38px;
    align-items:center;
    justify-content:center;
    padding:7px 12px;
    border:1px solid var(--pfm-shell-line);
    border-radius:999px;
    color:var(--pfm-shell-ink)!important;
    font-family:var(--jl-menu-font);
    font-size:13px;
    font-weight:800;
}
.pfm-theme-shell .pfm-author-profile__links a:hover,
.pfm-theme-shell .pfm-author-profile__links a:focus-visible{
    border-color:var(--pfm-shell-red);
    color:var(--pfm-shell-red)!important;
}
@media (max-width:767px){
    .pfm-theme-shell .pfm-author-profile{
        grid-template-columns:84px minmax(0,1fr);
        gap:18px;
        padding:22px;
        border-radius:16px;
    }
    .pfm-theme-shell .pfm-author-profile__avatar{grid-row:auto}
    .pfm-theme-shell .pfm-author-profile__avatar img{width:84px;height:84px}
    .pfm-theme-shell .pfm-author-profile__identity{grid-column:2}
    .pfm-theme-shell .pfm-author-profile h1{font-size:30px}
    .pfm-theme-shell .pfm-author-profile__bio,
    .pfm-theme-shell .pfm-author-profile__coverage,
    .pfm-theme-shell .pfm-author-profile__meta,
    .pfm-theme-shell .pfm-author-profile__links{grid-column:1/-1}
    .pfm-theme-shell .pfm-author-profile__bio{margin-top:2px}
}
@media (max-width:390px){
    .pfm-theme-shell .pfm-author-profile{grid-template-columns:72px minmax(0,1fr);padding:18px;gap:14px}
    .pfm-theme-shell .pfm-author-profile__avatar img{width:72px;height:72px}
    .pfm-theme-shell .pfm-author-profile h1{font-size:27px}
}
