.hrb-brand-logo{display:inline-flex;align-items:center;max-width:100%;width:min(100%,var(--hrb-logo-width,240px));line-height:0}
.hrb-brand-logo img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
.hrb-brand-logo .hrb-logo-dark{display:none}
:root[data-hr-theme="dark"] .hrb-logo-auto .hrb-logo-light{display:none}
:root[data-hr-theme="dark"] .hrb-logo-auto .hrb-logo-dark{display:block}
.hrb-logo-link{display:inline-flex;align-items:center;max-width:100%;text-decoration:none}
.hrb-theme-toggle{font:600 13px/1.2 system-ui,Arial,sans-serif;color:var(--hrb-active-ink,#171717);border:1px solid var(--hrb-active-border,#ddd);border-radius:999px;background:var(--hrb-active-surface,#fff);padding:10px 14px;display:inline-flex;gap:8px;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 12px #0000000b;transition:background .15s,color .15s}
.hrb-theme-toggle:hover{border-color:var(--hrb-accent,#ff1d26)}.hrb-theme-toggle:focus-visible,.hrb-splash-skip:focus-visible{outline:3px solid var(--hrb-accent,#ff1d26);outline-offset:3px}
.hrb-toggle-icon{font-size:17px;line-height:1}
.hrb-float-toggle{position:fixed;z-index:100002;inset-block-end:22px;inset-inline-end:22px}
.hrb-splash[hidden]{display:none!important}
.hrb-splash{position:fixed;z-index:2147480000;inset:0;display:grid;place-items:center;background:var(--hrb-active-background,#fff);color:var(--hrb-active-ink,#171717);padding:30px;text-align:center}
.hrb-splash-inner{display:flex;flex-direction:column;align-items:center;width:min(100%,480px);gap:18px}
.hrb-splash-inner img{display:block;width:min(100%,330px);height:auto;object-fit:contain}
.hrb-splash-inner p{font:500 15px/1.6 var(--hrb-font-body,system-ui);margin:0;color:var(--hrb-active-muted,#666);max-width:460px}
.hrb-splash-line{display:block;height:3px;width:min(75%,240px);background:var(--hrb-accent,#ff1d26);border-radius:4px;transform-origin:left center;animation:hrb-intro 1s ease-out both}
.hrb-splash-skip{margin-top:5px;cursor:pointer;background:transparent;border:0;color:var(--hrb-active-ink,#333);font:600 12px system-ui;opacity:.8;text-decoration:underline;text-underline-offset:4px;padding:8px 12px}
@keyframes hrb-intro{from{transform:scaleX(.05)}to{transform:scaleX(1)}}
@media(max-width:640px){.hrb-float-toggle{inset-block-end:76px;inset-inline-end:14px}.hrb-theme-toggle{padding:9px 12px}.hrb-splash-inner img{width:min(90%,280px)}}
@media(prefers-reduced-motion:reduce){.hrb-splash-line{animation:none}.hrb-theme-toggle{transition:none}}

/* Highlight Review editorial footer / connected channels (reference inspired, original implementation) */
.hrb-editorial-footer{--hrb-foot-accent:var(--hrb-accent,#ff1d26);font-family:var(--hrb-font-body,system-ui,sans-serif);color:var(--hrb-active-ink,#171717);background:var(--hrb-active-surface,#fff);border-block-start:3px solid var(--hrb-foot-accent);padding:0;position:relative;isolation:isolate;width:100%;box-sizing:border-box}
.hrb-editorial-footer *{box-sizing:border-box}
.hrb-editorial-footer .hrb-footer-body{max-width:1240px;margin:0 auto;padding:48px 24px 32px;display:grid;grid-template-columns:minmax(0,7fr) minmax(260px,3fr);gap:clamp(30px,6vw,80px);align-items:start}
.hrb-footer-about>a{display:inline-flex}.hrb-footer-about .hrb-brand-logo{width:min(100%,190px)}
.hrb-footer-about p{font-size:1rem;line-height:1.8;max-width:690px;color:var(--hrb-active-muted,#555);margin:20px 0 0;text-wrap:pretty}
.hrb-footer-feature{display:flex;flex-direction:column;gap:20px;align-items:center}
.hrb-footer-follow{text-align:center;width:100%}.hrb-footer-follow h2{font:bold .86rem/1.35 var(--hrb-font-body,system-ui,sans-serif);color:var(--hrb-active-ink,#171717);margin:0 0 13px;text-transform:uppercase;letter-spacing:.09em}
.hrb-social-links{display:flex;flex-flow:row wrap;align-items:center;justify-content:center;gap:12px}
.hrb-social-link{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;overflow:hidden;text-decoration:none;border-radius:9px;transition:transform .16s ease}
.hrb-social-link img{display:block;max-width:100%;width:44px;height:44px;object-fit:contain}
.hrb-social-link:hover{transform:translateY(-2px)}.hrb-social-link:focus-visible{outline:3px solid var(--hrb-foot-accent,#ff1d26);outline-offset:3px}
.hrb-footer-cover{width:100%;max-width:350px;min-height:165px;max-height:250px;overflow:hidden;border-radius:8px;background:#e81a28}
.hrb-footer-cover img{width:100%;height:100%;max-height:250px;display:block;object-fit:cover}
.hrb-footer-cover--default{aspect-ratio:2.25;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:18px;color:white;background:#ed1c2b}
.hrb-footer-cover--default span{font:900 clamp(1.1rem,2vw,1.7rem)/1.15 var(--hrb-font-headings,Georgia,serif);letter-spacing:.03em}
.hrb-footer-cover--default b{font-weight:900}.hrb-footer-cover--default i{background:white;width:36%;height:2px;display:block}
.hrb-footer-cover--default strong{font:.75rem/1.2 var(--hrb-font-body,system-ui,sans-serif);letter-spacing:.06em}
.hrb-footer-navigation{max-width:1240px;margin:0 auto;padding:14px 24px;border-top:1px solid var(--hrb-active-border,#dedede)}
.hrb-footer-legal{text-align:center;border-top:1px solid var(--hrb-active-border,#dedede);padding:18px 20px;font-size:.8rem;color:var(--hrb-active-muted,#666)}
@media(max-width:760px){.hrb-editorial-footer .hrb-footer-body{grid-template-columns:1fr;gap:30px;padding:33px 20px 25px}.hrb-footer-about p{font-size:.93rem;line-height:1.65}.hrb-footer-feature{align-items:flex-start}.hrb-footer-follow{text-align:start}.hrb-social-links{justify-content:flex-start}.hrb-footer-cover{max-width:100%}}
@media(prefers-reduced-motion:reduce){.hrb-social-link{transition:none}}
.hrb-social-link--unlinked{opacity:.65;cursor:default}.hrb-social-link--unlinked:hover{transform:none}


/* 1.1.3 footer alignment polish */
.hrb-footer-about{text-align:center}
.hrb-footer-about>a{display:flex;justify-content:center;width:100%}
.hrb-footer-about .hrb-brand-logo{margin-inline:auto}
.hrb-footer-about p{margin-inline:auto;text-align:center}
.hrb-footer-follow,.hrb-footer-feature{align-items:center}
.hrb-social-links{justify-content:center}
.hrb-footer-cover{margin-inline:auto}
@media(max-width:760px){
 .hrb-footer-about{text-align:center}
 .hrb-footer-feature{align-items:center}
 .hrb-footer-follow{text-align:center}
 .hrb-social-links{justify-content:center}
 .hrb-footer-cover{margin-inline:auto}
}


/* 1.1.4: match the editorial footer to dark site/reader themes. */
:root:is([data-hr-theme="dark"],[data-reader-theme="dark"]) .hrb-editorial-footer{--hrb-foot-ink:#f3f6fb;--hrb-foot-muted:#c2cbd7;--hrb-foot-line:#3c4b5d;background:#1b2634!important;color:var(--hrb-foot-ink)!important;border-color:#ed1c2e}
:root:is([data-hr-theme="dark"],[data-reader-theme="dark"]) .hrb-editorial-footer :is(.hrb-footer-about p,.hrb-footer-legal){color:var(--hrb-foot-muted)!important}
:root:is([data-hr-theme="dark"],[data-reader-theme="dark"]) .hrb-editorial-footer :is(.hrb-footer-follow h2,.hrb-footer-navigation,.hrb-footer-navigation a){color:var(--hrb-foot-ink)!important}
:root:is([data-hr-theme="dark"],[data-reader-theme="dark"]) .hrb-editorial-footer :is(.hrb-footer-navigation,.hrb-footer-legal){border-color:var(--hrb-foot-line)!important}
:root:is([data-hr-theme="dark"],[data-reader-theme="dark"]) .hrb-editorial-footer .hrb-social-link{opacity:1}
@media (prefers-color-scheme:dark){:root[data-reader-theme="system"]:not([data-hr-theme]) .hrb-editorial-footer{background:#1b2634!important;color:#f3f6fb!important} :root[data-reader-theme="system"]:not([data-hr-theme]) .hrb-editorial-footer :is(.hrb-footer-about p,.hrb-footer-legal){color:#c2cbd7!important} :root[data-reader-theme="system"]:not([data-hr-theme]) .hrb-editorial-footer .hrb-footer-follow h2{color:#f3f6fb!important}}

/* 1.2.2: do not let the website's floating theme control cover installed-app or reader nav. */
body.hrnav-app-root .hrb-float-toggle,
body.hrc-reader-root .hrb-float-toggle{display:none!important;pointer-events:none!important}
@media(display-mode:standalone){body .hrb-float-toggle{display:none!important;pointer-events:none!important}}

/* Article Page Studio 1.4: consistent editorial typography in both appearance modes. */
body.hrc-article-page{background:var(--hrb-active-background,#f7f8fa);color:var(--hrb-active-ink,#18191d)}
body.hrc-article-page :is(.hrc-article-title,.hrc-article-body h2,.hrc-article-body h3){font-family:var(--hrb-font-headings,Georgia,serif)}
html[lang^="ar"] body.hrc-article-page :is(.hrc-article-title,.hrc-article-body h2,.hrc-article-body h3){font-family:var(--hrb-font-arabic,Tahoma,sans-serif)}
:root[data-hr-theme="dark"] body.hrc-article-page .hrc-article-dialog{color:var(--hrb-active-ink,#eef2f7);background:var(--hrb-active-surface,#1e2a3a);border-color:var(--hrb-active-border,#384960)}
@media print{body.hrc-article-page{background:white!important;color:#111!important}}
