/* World Gate: news bar along the bottom of the screen (inc/ticker.php) */
.wg-ticker{position:fixed;left:0;right:0;bottom:0;z-index:70;display:flex;align-items:stretch;height:44px;background:#0A1B3D;color:#FFFFFF;border-top:2px solid #E9B949;box-shadow:0 -8px 24px rgba(5,14,33,.28);font-family:'Instrument Sans',system-ui,sans-serif;padding-bottom:env(safe-area-inset-bottom,0px);box-sizing:content-box}
.wg-ticker[hidden]{display:none}
.wg-tk-label{flex:none;display:flex;align-items:center;gap:9px;padding:0 18px 0 max(18px,env(safe-area-inset-left,0px));background:#E9B949;color:#0A1B3D;font-weight:800;font-size:13px;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;position:relative;z-index:1;clip-path:polygon(0 0,100% 0,calc(100% - 12px) 100%,0 100%);padding-inline-end:28px}
.wg-tk-dot{width:9px;height:9px;border-radius:50%;background:#C8102E;box-shadow:0 0 0 0 rgba(200,16,46,.6);animation:wgtkdot 1.6s ease-out infinite}
@keyframes wgtkdot{0%{box-shadow:0 0 0 0 rgba(200,16,46,.6)}100%{box-shadow:0 0 0 9px rgba(200,16,46,0)}}
.wg-tk-view{flex:1;min-width:0;overflow:hidden;display:flex;align-items:center;-webkit-mask-image:linear-gradient(90deg,transparent,#000 32px,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(90deg,transparent,#000 32px,#000 calc(100% - 32px),transparent)}
.wg-tk-track{display:flex;width:max-content;animation:wgtk var(--wg-tk-dur,40s) linear infinite}
.wg-ticker:hover .wg-tk-track,.wg-ticker:focus-within .wg-tk-track{animation-play-state:paused}
.wg-tk-run{display:flex;align-items:center;flex:none}
.wg-tk-item{white-space:nowrap;font-size:15px;font-weight:600;padding:0 22px}
.wg-tk-sep{color:#E9B949;font-size:10px}
@keyframes wgtk{from{transform:translateX(0)}to{transform:translateX(-50%)}}
[dir=rtl] .wg-tk-track{animation-name:wgtkr}
@keyframes wgtkr{from{transform:translateX(0)}to{transform:translateX(50%)}}
[dir=rtl] .wg-tk-label{clip-path:polygon(0 0,100% 0,100% 100%,12px 100%)}
.wg-tk-close{flex:none;width:44px;border:0;background:transparent;color:#C9D3EA;font-size:22px;line-height:1;cursor:pointer;margin-inline-end:env(safe-area-inset-right,0px)}
.wg-tk-close:hover{color:#FFFFFF}
.wg-tk-close:focus-visible{outline:2px solid #E9B949;outline-offset:-4px}
/* keep the floating WhatsApp button and the page's last lines clear of the bar */
body:has(.wg-ticker:not([hidden])){padding-bottom:46px}
body:has(.wg-ticker:not([hidden])) .float{bottom:70px}
html:lang(ar) .wg-ticker,html:lang(ar) .wg-ticker *{font-family:'Noto Kufi Arabic','Segoe UI',Tahoma,sans-serif;letter-spacing:0}
@media (max-width:720px){.wg-tk-label{font-size:11px;gap:7px;padding-inline-start:14px;padding-inline-end:22px}.wg-tk-item{font-size:14px;padding:0 16px}}
@media (prefers-reduced-motion:reduce){.wg-tk-track{animation:none}.wg-tk-run[aria-hidden]{display:none}.wg-tk-view{overflow-x:auto}}
/* hide the bar while a photo viewer is open */
body:has(.lb) .wg-ticker{visibility:hidden}
