
/* WPH Sidebar Manager — inherits the theme's card layout and primary accent. */
.wph-sidebar .wphsm-sidebar-content{display:flex;flex-direction:column;gap:15px;color:var(--wph-text,#0f172a)}
.wph-sidebar .wphsm-widget{box-sizing:border-box;background:var(--wphsm-widget-bg,#fff);border-color:var(--wphsm-border,var(--wph-border,#e2e8f0))}
.wph-sidebar .wphsm-widget .widget-title{color:var(--wphsm-text,var(--wph-text,#0f172a))}
.wph-sidebar .wphsm-widget .widget-title:after{background:var(--wphsm-primary,var(--wph-primary,#1b9e7e))}
.wph-sidebar .wphsm-image-wrap{box-sizing:border-box;line-height:0}
.wph-sidebar .wphsm-image-wrap img{display:block;width:100%;height:auto;max-width:100%;border-radius:8px}
.wph-sidebar .wphsm-image-wrap a{display:block}
.wph-sidebar .wphsm-content{font-size:14px;line-height:1.65}
.wph-sidebar .wphsm-content p:last-child{margin-bottom:0}
/* Clean editorial list, matching the user's preferred first reference: no cards. */
.wph-sidebar .wphsm-post-list{list-style:none!important;margin:0!important;padding:0!important}
.wph-sidebar .wphsm-post-list li{display:block;margin:0!important;padding:11px 0 10px!important;border-bottom:1px solid var(--wphsm-border,var(--wph-border,#e2e8f0));background:transparent!important;border-radius:0!important;box-shadow:none!important}
.wph-sidebar .wphsm-post-list li:first-child{padding-top:0!important}
.wph-sidebar .wphsm-post-list li:last-child{border-bottom:0;padding-bottom:0!important}
.wph-sidebar .wphsm-post-list li:before{display:none!important;content:none!important}
.wph-sidebar .wphsm-post-list a{display:block;color:var(--wphsm-text,var(--wph-text,#0f172a))!important;text-decoration:none!important;font-size:16px;font-weight:700;line-height:1.42;transition:color .18s ease}
.wph-sidebar .wphsm-post-list a:hover{color:var(--wphsm-primary,var(--wph-primary,#1b9e7e))!important}
.wph-sidebar .wphsm-post-list time{display:block;margin-top:5px;color:#7b8491;font-size:11px;line-height:1.4}
.wph-sidebar .wphsm-category-list,.wph-sidebar .wphsm-social-list{list-style:none;margin:0;padding:0}
.wph-sidebar .wphsm-category-list li,.wph-sidebar .wphsm-social-list li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--wphsm-border,var(--wph-border,#e2e8f0))}
.wph-sidebar .wphsm-category-list li:last-child,.wph-sidebar .wphsm-social-list li:last-child{border-bottom:0;padding-bottom:0}
.wph-sidebar .wphsm-category-list a,.wph-sidebar .wphsm-social-list a{color:var(--wphsm-text,var(--wph-text,#0f172a));text-decoration:none;font-size:14px;font-weight:600}
.wph-sidebar .wphsm-category-list span{font-size:11px;color:#7b8491}
.wph-sidebar .wphsm-social-list a:hover,.wph-sidebar .wphsm-category-list a:hover{color:var(--wphsm-primary,var(--wph-primary,#1b9e7e))}
.wph-sidebar .wphsm-search form{display:flex;gap:6px}
.wph-sidebar .wphsm-search input[type=search]{min-width:0;width:100%;padding:9px;border:1px solid var(--wphsm-border,#e2e8f0);border-radius:6px}
.wph-sidebar .wphsm-search input[type=submit]{padding:8px 12px;border:0;border-radius:6px;background:var(--wphsm-primary,#1b9e7e);color:#fff;cursor:pointer}
.wph-sidebar .wphsm-button-wrap{text-align:left}
.wph-sidebar .wphsm-cta{display:inline-block;padding:10px 16px;border-radius:6px;font-size:13px;font-weight:700;text-decoration:none!important;transition:opacity .2s}
.wph-sidebar .wphsm-cta:hover{opacity:.85}
.wph-sidebar .wphsm-cta-solid{background:var(--wphsm-primary,#1b9e7e);color:#fff!important;border:1px solid var(--wphsm-primary,#1b9e7e)}
.wph-sidebar .wphsm-cta-outline{background:transparent;color:var(--wphsm-primary,#1b9e7e)!important;border:1px solid var(--wphsm-primary,#1b9e7e)}
.wph-sidebar .wphsm-cta-text{padding:0;background:none;color:var(--wphsm-primary,#1b9e7e)!important}
