#arrahma-sidebar-web[hidden]{display:none!important}
#arrahma-sidebar-web{--asb-green:#075B59;--asb-gold:#C5A365;--asb-sand:#E9DCC5;box-sizing:border-box;min-width:0;width:100%;margin:0;color:var(--asb-green);font:400 14px/1.5 Arial,sans-serif;align-self:start;container-type:inline-size}
#arrahma-sidebar-web *,#arrahma-sidebar-web *:before,#arrahma-sidebar-web *:after{box-sizing:border-box}
#arrahma-sidebar-web .asb-disclosure{margin:0;padding:0;border:0;background:none}
#arrahma-sidebar-web .asb-disclosure>summary{cursor:pointer;background:var(--asb-green);color:#fff;border:1px solid var(--asb-gold);border-radius:10px;padding:12px;display:flex;justify-content:space-between;gap:12px;align-items:center;font-weight:700;list-style:none}
#arrahma-sidebar-web .asb-disclosure>summary::-webkit-details-marker{display:none}
#arrahma-sidebar-web .asb-disclosure>summary:after{content:'＋';color:#E9DCC5}
#arrahma-sidebar-web .asb-disclosure[open]>summary:after{content:'−'}
#arrahma-sidebar-web .asb-inner{display:grid;gap:12px;padding-top:10px}
#arrahma-sidebar-web .asb-extras{display:grid;gap:12px}
#arrahma-sidebar-web .asb-card{border:1px solid var(--asb-gold);border-radius:12px;background:var(--asb-sand);padding:16px;min-width:0;overflow-wrap:anywhere}
#arrahma-sidebar-web .asb-card h2{color:var(--asb-green);font:400 21px/1.2 Georgia,serif;letter-spacing:0;text-transform:none;padding:0;margin:0 0 10px}
#arrahma-sidebar-web .asb-card p{color:#344944;font:inherit;margin:0 0 10px}
#arrahma-sidebar-web .asb-card .asb-meta{font-size:12px;margin:6px 0;color:#435B53}
#arrahma-sidebar-web .asb-card a{color:var(--asb-green);text-decoration:underline;box-shadow:none;font-weight:700}
#arrahma-sidebar-web .asb-card a:hover{text-decoration:none}
#arrahma-sidebar-web .asb-info{border-left:4px solid var(--asb-gold)}
#arrahma-sidebar-web .asb-article{display:grid;gap:8px}
#arrahma-sidebar-web .asb-thumb{display:block;width:100%;height:auto;max-height:180px;object-fit:cover;border-radius:8px}
#arrahma-sidebar-web .asb-video{position:relative;display:grid;place-items:center;align-content:center;gap:8px;min-height:110px;aspect-ratio:16/9;border-radius:9px;overflow:hidden;background:var(--asb-green);color:#fff!important;text-decoration:none!important}
#arrahma-sidebar-web .asb-video img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5}
#arrahma-sidebar-web .asb-video span,#arrahma-sidebar-web .asb-video strong{position:relative;z-index:1}
#arrahma-sidebar-web .asb-video span{font-size:30px;line-height:1}
#arrahma-sidebar-web .arrahma-pw{margin:0 auto;width:100%;max-width:570px}
#arrahma-sidebar-web .asb-extras{max-width:570px;width:100%;margin:auto}
#arrahma-sidebar-web :focus-visible{outline:2px solid #075B59;outline-offset:3px}
/* Server-rendered grid; no reliance on DOM scripts or theme sibling structure. */
body:has(.asb-server-layout) #content .wrap{max-width:1440px!important;width:100%!important;box-sizing:border-box}
body:has(.asb-server-layout) #primary,body:has(.asb-server-layout) #primary .entry-content{width:100%!important;max-width:none!important;float:none!important;margin:0!important}
.asb-server-layout{display:grid!important;grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;width:100%;max-width:none;box-sizing:border-box}
.asb-server-main{min-width:0;width:100%;grid-row:2}
.asb-server-layout>#arrahma-sidebar-web{grid-row:1;align-self:start;min-width:0;max-width:570px;margin:0 auto}
@media(min-width:1000px){
 .asb-server-layout{grid-template-columns:minmax(0,1fr) clamp(340px,28vw,390px);gap:24px}
 .asb-server-main{grid-row:1;grid-column:1}
 .asb-server-layout>#arrahma-sidebar-web{grid-row:1;grid-column:2;max-width:none;margin:0}
 .asb-server-layout #arrahma-sidebar-web .asb-disclosure[open]>summary{display:none}
 .asb-server-layout #arrahma-sidebar-web .asb-inner{padding-top:0}
 .asb-server-layout>#arrahma-sidebar-web.asb-sticky{position:sticky;top:80px;max-height:calc(100vh - 96px);overflow-y:auto;scrollbar-width:thin}
}
/* Compact widget styling based on column width, not viewport width. */
@container (max-width:420px){
 #arrahma-sidebar-web .arrahma-pw{padding:8px;font-size:13px;border-radius:12px;gap:8px}
 #arrahma-sidebar-web .arrahma-pw .apw-head strong{font-size:15px}
 #arrahma-sidebar-web .arrahma-pw .apw-head img{width:44px;height:44px}
 #arrahma-sidebar-web .arrahma-pw .apw-three{gap:5px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
 #arrahma-sidebar-web .arrahma-pw b{font-size:20px}
 #arrahma-sidebar-web .arrahma-pw .apw-line{grid-template-columns:minmax(0,1fr) 49px 35px;gap:4px}
 #arrahma-sidebar-web .arrahma-pw .apw-line b{font-size:17px}
 #arrahma-sidebar-web .arrahma-pw .apw-names{padding:6px;gap:3px}
 #arrahma-sidebar-web .arrahma-pw .apw-pill{font-size:11px}
 #arrahma-sidebar-web .arrahma-pw .apw-date,#arrahma-sidebar-web .arrahma-pw .apw-next{padding:10px}
 #arrahma-sidebar-web .arrahma-pw .apw-sync{flex-wrap:wrap}
}
@media(max-width:600px){#arrahma-sidebar-web .asb-disclosure>summary{font-size:13px;gap:6px;padding:10px}}

#arrahma-sidebar-web .apw-next .apw-pill b{color:#075B59!important}

/* Direct siblings: no wrapping or relocating the theme content. */
body:has(.asb-v15-layout) #content .wrap{max-width:1440px!important;width:100%!important;box-sizing:border-box}
.asb-v15-layout{display:grid!important;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}
.asb-v15-layout>*{min-width:0;grid-column:1/-1}
body .asb-v15-layout>.asb-v15-main{float:none!important;width:100%!important;max-width:none!important;margin:0!important;grid-row:auto}
.asb-v15-layout>#arrahma-sidebar-web{grid-row:1;max-width:570px;margin:0 auto}
@media(min-width:1000px){
 .asb-v15-layout{grid-template-columns:minmax(0,1fr) clamp(340px,28vw,390px);gap:24px}
 .asb-v15-layout>.asb-v15-main{grid-column:1;grid-row:1!important}
 .asb-v15-layout>#arrahma-sidebar-web{grid-column:2;grid-row:1;max-width:none;margin:0}
 .asb-v15-layout>#arrahma-sidebar-web .asb-disclosure[open]>summary{display:none}
 .asb-v15-layout>#arrahma-sidebar-web .asb-inner{padding-top:0}
 .asb-v15-layout>#arrahma-sidebar-web.asb-sticky{position:sticky;top:80px;max-height:calc(100vh - 96px);overflow-y:auto}
}

/* V1.6: the static front page uses a full-width theme parent, unlike inner pages.
   Constrain the actual grid, not just its nested .wrap, so zoom cannot separate the columns. */
body:has(.arrahma-home) .asb-v15-layout {
 box-sizing:border-box!important;
 width:100%!important;
 max-width:1440px!important;
 margin-left:auto!important;
 margin-right:auto!important;
 padding-left:24px!important;
 padding-right:24px!important;
}
body:has(.arrahma-home) .asb-v15-layout>.asb-v15-main .wrap {
 box-sizing:border-box!important;
 width:100%!important;
 max-width:none!important;
 padding-left:0!important;
 padding-right:0!important;
}
@media(max-width:999px){
 body:has(.arrahma-home) .asb-v15-layout {padding-left:16px!important;padding-right:16px!important;}
}
