
/* One consistent desktop header: logo | event tabs | language. */
body>header:first-of-type>.nav{display:grid!important;grid-template-columns:210px minmax(0,1fr) 78px!important;align-items:center!important;gap:24px!important;padding:16px 26px!important;min-height:0!important;max-width:1380px!important;width:100%!important;margin:auto!important}
body>header:first-of-type>.nav>.school-logo{grid-column:1!important;grid-row:1!important;width:210px!important;max-width:100%!important;margin:0!important;flex-basis:auto!important}
body>header:first-of-type>.nav>.school-logo img{width:210px!important;height:55px!important;object-fit:contain!important;display:block!important;max-width:100%!important}
body>header:first-of-type>.nav>nav{grid-column:2!important;grid-row:1!important;display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;gap:8px 21px!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;min-width:0!important}
body>header:first-of-type>.nav>nav>a{font:600 13px/1.5 "Segoe UI","Microsoft YaHei",sans-serif!important;text-decoration:none!important;padding:5px 0!important;white-space:normal!important;text-align:center}
body>header:first-of-type>.nav>.site-language{grid-column:3!important;grid-row:1!important;position:static!important;justify-self:end!important;align-self:center!important;margin:0!important;min-width:66px;padding:8px 12px!important}
body.spelling-event[data-event-colour="gold"]{background-color:#75512b!important;background-image:url('../assets/star-field.svg'),radial-gradient(ellipse at 50% 12%,#a47a3f,#75512b 50%,#3e2c21)!important;color:#fff1d6!important}
body.spelling-event[data-event-colour="gold"]:before{display:block!important}
body.spelling-event[data-event-colour="gold"]>.wrap{max-width:1280px!important}
body.spelling-event[data-event-colour="gold"] .detailhero{padding:55px 150px 30px 0!important;margin-bottom:20px!important;border-bottom:1px solid #e2be8266!important}
body.spelling-event[data-event-colour="gold"] .detailhero h1{font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(42px,6vw,70px)!important;font-weight:400!important;line-height:1.12!important;margin:19px 0!important}
body.spelling-event[data-event-colour="gold"] .detailhero:after{display:block!important}
body.spelling-event[data-event-colour="gold"] h1,body.spelling-event[data-event-colour="gold"] h2,body.spelling-event[data-event-colour="gold"] h3,body.spelling-event[data-event-colour="gold"] h4{color:#ffe6ad!important;-webkit-text-fill-color:#ffe6ad!important;text-shadow:0 2px 2px #342313!important}
body.spelling-event[data-event-colour="gold"] p,body.spelling-event[data-event-colour="gold"] li{color:#fff0d4!important}
body.spelling-event[data-event-colour="gold"] .eyebrow{color:#f5d69c!important}
body.spelling-event[data-event-colour="gold"] .columns{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;gap:55px!important;padding:25px 0 55px!important}
body.spelling-event[data-event-colour="gold"] .columns>div>h2{font-size:36px!important;margin-top:0!important}
body.spelling-event[data-event-colour="gold"] .panel,body.spelling-event[data-event-colour="gold"] .spelling-journey{background:linear-gradient(135deg,#896433ee,#5c4128ee)!important;border:1px solid #e2be82!important;border-radius:3px!important;padding:26px!important;margin-bottom:24px!important;box-shadow:inset 0 0 0 4px #5c4128,inset 0 0 0 5px #e2be8244!important}
body.spelling-event[data-event-colour="gold"] .spelling-journey>h2{font-size:27px!important;line-height:1.2!important;margin-bottom:20px!important}
body.spelling-event[data-event-colour="gold"] .shared-round{display:block!important;background:#c2954d22!important;border-color:#dbb673!important;padding:18px!important;border-radius:5px!important}
body.spelling-event[data-event-colour="gold"] .shared-round>strong{display:block!important;margin-top:14px!important;color:#ffe6ad!important;font-size:22px!important}
body.spelling-event[data-event-colour="gold"] .round-label{color:#f5d69c!important}
body.spelling-event[data-event-colour="gold"] .spelling-tracks{grid-template-columns:1fr!important;gap:16px!important;margin-top:16px!important}
body.spelling-event[data-event-colour="gold"] .spelling-tracks article{background:#62462e!important;border-color:#d7b478!important;border-radius:5px!important}
body.spelling-event[data-event-colour="gold"] .spelling-tracks article>header{background:#a47a3f!important}
body.spelling-event[data-event-colour="gold"] .spelling-tracks header span{color:#fff0d4!important}
body.spelling-event[data-event-colour="gold"] .spelling-tracks h3{margin:0!important;font-size:23px!important}
body.spelling-event[data-event-colour="gold"] .button{background:linear-gradient(110deg,#c89952,#fff0bc,#d8b072)!important;color:#3e2b16!important;border-color:#f0d299!important}
body.spelling-event[data-event-colour="gold"] .button.outline{background:transparent!important;color:#fff0c6!important}
body.spelling-event[data-event-colour="gold"] .foot,body.spelling-event[data-event-colour="gold"] .foot strong{color:#ffebbd!important}
/* The integrated tools retain paper backgrounds for legible word practice. */
body.spelling-event[data-event-colour="gold"] .spelling-resources{padding:28px 18px!important;background:#fff8e7!important;border:1px solid #d7b478!important;border-radius:12px!important;color:#283440!important}
body.spelling-event[data-event-colour="gold"] .spelling-resources h1,body.spelling-event[data-event-colour="gold"] .spelling-resources h2,body.spelling-event[data-event-colour="gold"] .spelling-resources h3,body.spelling-event[data-event-colour="gold"] .spelling-resources h4{color:#65451f!important;-webkit-text-fill-color:#65451f!important;text-shadow:none!important}
body.spelling-event[data-event-colour="gold"] .spelling-resources p,body.spelling-event[data-event-colour="gold"] .spelling-resources li{color:#354e61!important}
@media(max-width:950px){body>header:first-of-type>.nav{grid-template-columns:minmax(0,1fr) 78px!important;gap:10px!important;padding:14px 20px!important}body>header:first-of-type>.nav>.school-logo{grid-column:1!important}body>header:first-of-type>.nav>.site-language{grid-column:2!important}body>header:first-of-type>.nav>nav{grid-row:2!important;grid-column:1/-1!important;justify-content:flex-start!important;padding-top:12px!important;border-top:1px solid #ffffff33!important;gap:6px 18px!important}body>header:first-of-type>.nav>nav>a{font-size:12px!important}}
@media(max-width:850px){body.spelling-event[data-event-colour="gold"] .columns{grid-template-columns:1fr!important;gap:20px!important}body.spelling-event[data-event-colour="gold"] .detailhero{padding:35px 0 25px!important}body.spelling-event[data-event-colour="gold"] .detailhero:after{display:none!important}body.spelling-event[data-event-colour="gold"] .spelling-resources{padding:20px 6px!important}}
