/* Independent sitewide notice; no Homepage slots or theme source are modified. */
.josho-urgent-notice { position:relative; z-index:101; box-sizing:border-box; background:#fff2d8; color:#17243d; border-bottom:4px solid #9a3c00; margin:0; padding:16px clamp(12px,3vw,40px); overflow-wrap:anywhere; font:400 16px/1.65 system-ui,sans-serif; }
.josho-urgent-notice * { box-sizing:border-box; }
.josho-urgent-notice .josho-urgent-notice__inner { max-width:1160px; margin:0 auto; }
.josho-urgent-notice .josho-urgent-notice__subject { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px 16px; margin:0 0 6px; font-size:clamp(18px,2vw,24px); line-height:1.5; }
.josho-urgent-notice__subject strong { background:#803000; color:#fff; border-radius:3px; padding:2px 10px; flex:none; font-size:16px; }
.josho-urgent-notice .josho-urgent-notice__meta { font-size:14px; margin:0 0 6px; }
.josho-urgent-notice .josho-urgent-notice__body { margin:0; white-space:normal; }
.josho-urgent-notice a.josho-urgent-notice__link { color:#17243d; display:inline-flex; align-items:center; min-height:44px; padding:6px 4px; text-decoration:underline; font-weight:700; }
.josho-urgent-notice a:focus-visible { outline:3px solid #17243d; outline-offset:3px; background:#fff; }
/* JS-free fallback puts the header after the notice instead of covering it. */
body:has(> .josho-urgent-notice):not(.josho-urgent-enhanced) header.header_container { position:relative!important; top:auto!important; }
body.josho-urgent-enhanced:has(> .josho-urgent-notice) header.header_container[data-josho-urgent-fixed] { top:var(--josho-urgent-header-top,0px)!important; }
@media (prefers-reduced-motion:reduce) { .josho-urgent-notice { scroll-behavior:auto; } }
