/* WordPress-only resets for the WBS homepage. Loaded last, on the homepage only.
   They undo Pro/Cornerstone styles that leak into properties the design never sets. */

/* The design uses no text shadows; Pro adds them to buttons (blurry text). */
body.wbs-home-2026 *{text-shadow:none!important}

/* Pro's 3D button style adds a red under-shadow; the design's blue buttons have none. */
body.wbs-home-2026 .button.blue,
body.wbs-home-2026 .button.blue:hover,
body.wbs-home-2026 .button.blue:focus,
body.wbs-home-2026 .button.blue:active{box-shadow:none}
body.wbs-home-2026 button{box-shadow:none}

/* Pro sets a fixed dark heading colour; the design lets headings inherit (e.g. white on blue). */
body h1,body h2,body h3,body h4,body h5,body h6{color:inherit}
body.wbs-home-2026 .closing h2{color:inherit}

/* Sticky header (Nov 30, 2026): the header stays at the top while scrolling.
   Pro sets overflow:hidden on <html> and <body>, which turns the body into its own
   scroll box and stops position:sticky from working. Reset that on this page only
   (this file loads only on the new homepage). 'clip' still hides sideways overflow
   without creating a scroll box; older browsers fall back to 'visible'. */
html,body{overflow:visible!important}
html,body{overflow-x:clip!important}
body.wbs-home-2026 .live-match-header{position:sticky;top:0;z-index:1000}
/* Logged-in editors: sit below the WordPress admin bar (32px desktop, 46px tablet;
   on phones the admin bar scrolls away, so stick to the very top). */
body.admin-bar.wbs-home-2026 .live-match-header{top:32px}
@media (max-width:782px){body.admin-bar.wbs-home-2026 .live-match-header{top:46px}}
@media (max-width:600px){body.admin-bar.wbs-home-2026 .live-match-header{top:0}}
