/* Shared editorial sidebars: quiet spacing, readable links and native search. */
body :is(.box_all,.top > .content):has(> .right) { display:grid; grid-template-columns:minmax(0,1fr) minmax(270px,320px); gap:48px; align-items:start; }
body :is(.box_all,.top > .content):has(> .right) > .left { float:none; width:auto; min-width:0; margin-right:0; }
body .right:has(.be-sidebar-widget) { float:none; width:auto; min-width:0; margin:0; padding:0; border:0; display:grid; gap:22px; align-content:start; }
body .right:has(.be-sidebar-widget) > .page-image { margin:0; padding:0; border-radius:14px; overflow:hidden; }
body .right:has(.be-sidebar-widget) > .page-image:empty { display:none; }
body .right:has(.be-sidebar-widget) > .page-image :is(picture,img) { display:block; width:100%; max-width:100%; }
body .right:has(.be-sidebar-widget) > .page-image img { height:auto; border-radius:14px; }
body .right:has(.be-sidebar-widget) .be-sidebar-widget { box-sizing:border-box; min-width:0; margin:0; padding:22px; background:#f4f7f5; border:0; border-radius:14px; }
body .right:has(.be-sidebar-widget) .be-sidebar-widget .widget-title { font-family:var(--be-heading-font,Outfit,sans-serif)!important; font-size:20px; font-weight:500; line-height:1.3; letter-spacing:-.015em; color:#2d463d; margin:0 0 16px; padding:0; }
body .right:has(.be-sidebar-widget) .be-sidebar-widget .widget-title::after { display:none; }
body .right:has(.be-sidebar-widget) .widget_recent_entries ul { display:grid; gap:14px; margin:0; padding:0; }
body .right:has(.be-sidebar-widget) .widget_recent_entries ul li { display:block; width:auto; padding:0; margin:0; list-style:none; line-height:1.6; }
body .right:has(.be-sidebar-widget) .widget_recent_entries ul li a { display:block; float:none; font-family:var(--be-font,Montserrat,sans-serif)!important; font-size:14px; font-weight:400; line-height:1.65; color:#40584f; text-decoration:none; overflow-wrap:anywhere; transition:color .15s ease; }
body .right:has(.be-sidebar-widget) .widget_recent_entries ul li a:hover,body .right:has(.be-sidebar-widget) .widget_recent_entries ul li a[aria-current="page"] { color:#26766e; }
body .right:has(.be-sidebar-widget) .widget_recent_entries .post-date { font-size:12px; line-height:1.5; color:#74847d; margin-top:4px; }
body .right:has(.be-sidebar-widget) .be-sidebar-search { display:grid; grid-template-columns:minmax(0,1fr) 44px; gap:6px; padding:4px; margin:0; background:#fff; border:1px solid #dce5df; border-radius:9px; }
body .right:has(.be-sidebar-widget) .be-sidebar-search input[type="search"] { box-sizing:border-box; min-width:0; width:100%; height:44px; padding:8px 6px 8px 10px; margin:0; border:0; border-radius:5px; background:transparent; box-shadow:none; font-family:var(--be-font,Montserrat,sans-serif)!important; font-size:14px; line-height:1.4; font-weight:400; color:#2d463d; }
body .right:has(.be-sidebar-widget) .be-sidebar-search input::placeholder { color:#78877f; opacity:1; }
body .right:has(.be-sidebar-widget) .be-sidebar-search button { display:grid; place-items:center; box-sizing:border-box; width:44px; height:44px; min-width:44px; padding:0; margin:0; border:0; border-radius:6px; background:#307d78; color:#fff; cursor:pointer; }
body .right:has(.be-sidebar-widget) .be-sidebar-search button:hover { background:#266b66; }
body .right:has(.be-sidebar-widget) .be-sidebar-search button svg { width:19px; height:19px; }
body .right:has(.be-sidebar-widget) .be-sidebar-social p { margin:0 0 12px; font-family:var(--be-font,Montserrat,sans-serif)!important; font-size:14px; line-height:1.7; color:#60746a; }
body .right:has(.be-sidebar-widget) .be-sidebar-social a { display:inline-flex; align-items:center; gap:8px; min-height:44px; font-family:var(--be-font,Montserrat,sans-serif)!important; font-size:14px; font-weight:500; line-height:1.5; color:#26766e; text-decoration:none; }
body .right:has(.be-sidebar-widget) .be-sidebar-social a:hover { text-decoration:underline; text-underline-offset:4px; }
body .right:has(.be-sidebar-widget) .be-sidebar-widget :is(a,input,button):focus-visible { outline:2px solid #307d78; outline-offset:3px; }
body .right:has(.be-sidebar-widget) .be-sidebar-sr { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:1050px) {
 body :is(.box_all,.top > .content):has(> .right) { grid-template-columns:minmax(0,1fr) 280px; gap:28px; }
 body .right:has(.be-sidebar-widget) .be-sidebar-widget { padding:20px; }
}
@media(max-width:780px) {
 body :is(.box_all,.top > .content):has(> .right) { grid-template-columns:minmax(0,1fr); gap:32px; }
 body .right:has(.be-sidebar-widget) { width:100%; gap:18px; }
 body .right:has(.be-sidebar-widget) > .page-image { max-width:480px; width:100%; }
 body .right:has(.be-sidebar-widget) .be-sidebar-widget { padding:22px; }
 body .right:has(.be-sidebar-widget) .widget_recent_entries ul li a { font-size:15px; }
}
@media(prefers-reduced-motion:reduce) { body .right:has(.be-sidebar-widget) .widget_recent_entries ul li a { transition:none; } }
