/* x2 t171 / t174 / t175 — loaded last by layout.ftl, on every page.
   1. Article hero: the dark generated "board" becomes a light Despani panel like the home modules (photos keep their overlay).
   2. Compact collapse handles: the header band and the left rail on every page use the same pill-on-a-line
      handle as the home sidebars / middle column (t797 colv=2), instead of a full empty row.
   3. Share popover: brand-coloured icons with labels, anchored under the share button with a caret. */

/* ---------- 1. article hero ---------- */
.arx-hero.alx-gen:not(.has-img){background:#fffaf3!important;color:#3b2a24;border-top:3px solid #7d0001;border-bottom:1px solid #eadfcd;min-height:0}
.arx-hero.alx-gen:not(.has-img) .pat,.arx-hero.alx-gen:not(.has-img) .dsp{display:none}
.arx-hero.alx-gen:not(.has-img) .ini{color:#7d0001;opacity:.07}
.arx-hero.alx-gen:not(.has-img) h1.arx-title{color:#7d0001!important;text-shadow:none}
.arx-hero.alx-gen:not(.has-img) .arx-meta{color:#6b5a52}
.arx-hero.alx-gen:not(.has-img) .arx-meta a,.arx-hero.alx-gen:not(.has-img) .arx-au a{color:#7d0001!important}
.arx-hero.alx-gen:not(.has-img) .arx-meta .mi-cm{background:#f3e7e2}
.arx-hero.alx-gen:not(.has-img) .arx-chip{background:#7d0001;color:#fff!important}
.arx-hero.alx-gen:not(.has-img) .arx-chip-l{background:#fff;color:#7d0001!important;border:1px solid #e3c9c9}
.arx-hero.alx-gen:not(.has-img) .bsh-mi{background:#fff;color:#7d0001;border:1px solid #e3c9c9;font-weight:700}
.arx-hero.alx-gen:not(.has-img) .bsh-mi:hover,.arx-hero.alx-gen:not(.has-img) .bsh-mi[aria-expanded=true]{background:#7d0001;border-color:#7d0001;color:#fff}
/* tighter header: same rhythm as the side and middle panels */
.arx-hero-in{padding:14px 64px 12px 20px}
.arx-tax{margin-bottom:8px}
.arx-title,.arx-hero h1.arx-title{margin:0 0 8px;line-height:1.35}
@media (max-width:900px){.arx-hero-in{padding:12px 48px 11px 14px}}
@media (max-width:560px){.arx-hero-in{padding:12px 14px 10px 12px}.arx-tax{margin-bottom:7px}.arx-title,.arx-hero h1.arx-title{margin-bottom:7px}}

@media (min-width:901px){
/* ---------- 2a. header band: handle sits on the band's top border, no empty row ---------- */
html:not([data-folded-band]) body #dfold-band:not(.is-folded){position:relative}
html:not([data-folded-band]) body #dfold-band:not(.is-folded)>.dfold-head{position:absolute;left:0;right:0;top:-10px;z-index:3;display:flex;justify-content:center;align-items:center;height:18px;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent;pointer-events:none}
html:not([data-folded-band]) body #dfold-band:not(.is-folded)>.dfold-head .dfold-chips{display:none!important}
html:not([data-folded-band]) body #dfold-band:not(.is-folded) .dfold-tog{pointer-events:auto;width:40px;height:18px;margin:0 auto;border-radius:999px;border:1px solid rgba(255,226,190,.38);background:#7f1212;color:#ffe2be;box-shadow:0 1px 3px rgba(0,0,0,.25)}
html:not([data-folded-band]) body #dfold-band:not(.is-folded) .dfold-tog:hover{background:#9a1717;border-color:rgba(255,226,190,.6)}
html:not([data-folded-band]) body #dfold-band:not(.is-folded) .dfold-tog svg{width:12px;height:12px}

/* ---------- 2b. left rail on article / category / forum pages: same pill-on-a-line as home ---------- */
html[data-colv="2"]:not(.desp-left-collapsed) body [data-desp-rail-content]:not(.j10-left)>.drl-head{position:relative;overflow:visible;justify-content:center;align-items:center;min-height:22px!important;height:22px;margin:0 0 8px!important;padding:0!important;border:0!important;background:transparent}
html[data-colv="2"]:not(.desp-left-collapsed) body [data-desp-rail-content]:not(.j10-left)>.drl-head::after{content:"";position:absolute;left:0;right:0;top:11px;border-top:1px solid var(--drl-line,#e4dccd);z-index:0;pointer-events:none}
html[data-colv="2"]:not(.desp-left-collapsed) body [data-desp-rail-content]:not(.j10-left)>.drl-head .drl-toggle{position:relative;z-index:1;margin:2px auto;width:40px;height:18px;border-radius:999px;border:1px solid var(--drl-line,#e4dccd);background:#fff;box-shadow:none;flex:none}
html[data-colv="2"]:not(.desp-left-collapsed) body [data-desp-rail-content]:not(.j10-left)>.drl-head .drl-toggle svg{width:12px;height:12px}
}

/* ---------- 3. share popover + bottom row: clear brand icons with labels ---------- */
.bsh-pop{width:316px;max-width:calc(100vw - 16px);padding:10px 12px 12px;border:1px solid #e6d8d2;border-top:3px solid #7d0001;border-radius:12px;background:#fffdf9;box-shadow:0 16px 40px rgba(40,0,0,.22),0 2px 6px rgba(0,0,0,.08)}
.bsh-pop.drop::before{content:"";position:absolute;top:-9px;left:var(--bsh-caret,24px);width:12px;height:12px;margin-left:-6px;background:#7d0001;transform:rotate(45deg);border-radius:2px;z-index:-1}
.bsh-pop.drop.up::before{top:auto;bottom:-7px;background:#fffdf9;border:1px solid #e6d8d2;border-top:0;border-left:0}
.bsh-phd{padding:0 2px 8px;margin-bottom:8px;border-bottom:1px solid #f1e6e0}
.bsh-phd b{font:700 14px/1.2 "BPG Nino Mtavruli","BPG Arial",Tahoma,sans-serif;color:#7d0001}
.bsh-pop .bsh{display:grid!important;grid-template-columns:repeat(4,1fr);gap:8px 4px;margin:0;padding:0}
.bsh-pop .bsh-b,.bsh-pop.sheet .bsh-b{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;width:auto;height:auto;min-width:0;min-height:0;padding:6px 2px;margin:0;border:0;border-radius:10px;background:none!important;color:#3b2a24!important;font:600 11.5px/1.2 Tahoma,sans-serif;text-align:center}
.bsh-pop .bsh-b i,.bsh-pop.sheet .bsh-b i{display:block!important;font-style:normal;white-space:nowrap}
.bsh-pop .bsh-b svg,.bsh-pop.sheet .bsh-b svg{width:42px;height:42px;padding:11px;box-sizing:border-box;border-radius:50%;color:#fff;fill:#fff;transition:transform .12s,box-shadow .12s}
.bsh-pop .bsh-b:hover,.bsh-pop .bsh-b:focus-visible{background:#f8efe9!important;color:#7d0001!important;border:0}
.bsh-pop .bsh-b:hover svg{transform:translateY(-1px);box-shadow:0 4px 10px rgba(0,0,0,.18)}
.bsh-pop .fb svg,.bsh-end .bsh-b.fb{background:#1877f2!important}
.bsh-pop .x svg,.bsh-end .bsh-b.x{background:#000!important}
.bsh-pop .tg svg,.bsh-end .bsh-b.tg{background:#229ed9!important}
.bsh-pop .wa svg,.bsh-end .bsh-b.wa{background:#25d366!important}
.bsh-pop .in svg,.bsh-end .bsh-b.in{background:#0a66c2!important}
.bsh-pop .em svg,.bsh-end .bsh-b.em{background:#6b5a52!important}
.bsh-pop .ln svg,.bsh-pop .na svg,.bsh-end .bsh-b.ln,.bsh-end .bsh-b.na{background:#7d0001!important}
.bsh-end .bsh-b{border:0!important;color:#fff!important;width:34px;height:34px;min-width:34px;min-height:34px}
.bsh-end .bsh-b svg{width:16px;height:16px}
.bsh-end .bsh-b:hover,.bsh-end .bsh-b:focus-visible{color:#fff!important;filter:brightness(1.1)!important;box-shadow:0 4px 10px rgba(0,0,0,.18)!important}
.bsh-pop.sheet{width:auto;border-radius:16px 16px 0 0;border-top:3px solid #7d0001;padding:10px 14px calc(16px + env(safe-area-inset-bottom))}
.bsh-pop.sheet .bsh{grid-template-columns:repeat(4,1fr);gap:12px 4px}
.bsh-pop.sheet .bsh-b svg{width:50px;height:50px;padding:14px}
.bsh-pop.sheet .bsh-b{font-size:12px}
.bsh-toast{z-index:2400;background:#7d0001}
.bsh-pop .bsh-b i{font:600 11.5px/1.2 Tahoma,sans-serif!important;color:inherit}
.bsh-pop.sheet .bsh-b i{font-size:12px!important}
