/* Registration button matches the header tab theme. */
body[data-home-layout="race-first"] .button.primary.hero-register{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:88px;min-height:54px;padding:14px 24px;flex-direction:column;gap:8px;border:1px solid #fff;border-radius:14px;background:#0b0b10!important;color:#fff!important;text-decoration:none!important;text-align:center;white-space:nowrap;font-weight:900;font-size:12px;letter-spacing:.06em;line-height:1.2;overflow:hidden;text-shadow:0 2px 4px #000;box-shadow:0 0 20px #ffffff38,inset 0 1px 0 #ffffff55;animation:jdrc-badge-border-fade 12s ease-in-out infinite;transition:transform .2s,box-shadow .2s;cursor:pointer}
body[data-home-layout="race-first"] .button.primary.hero-register::before{content:'';position:absolute;inset:-14px;z-index:-1;pointer-events:none;opacity:.35;color:#fff;background:linear-gradient(0deg,#08080ee8,#08080e55 55%,#08080e99),repeating-conic-gradient(from 8deg,currentColor 0 25%,#08080d 0 50%) 0 0/22px 22px;transform:perspective(140px) rotateY(-15deg) rotate(-12deg) scale(1.25);animation:jdrc-badge-color-fade 12s ease-in-out infinite}
body[data-home-layout="race-first"] .button.primary.hero-register::after{content:none}
body[data-home-layout="race-first"] .button.primary.hero-register:hover{transform:translateY(-2px)}
body[data-home-layout="race-first"] .button.primary.hero-register:focus-visible{outline:3px solid #fff;outline-offset:3px}
body[data-home-layout="race-first"] .button.primary.hero-register .hero-register-logo{display:block;width:140px;height:80px;max-width:100%;object-fit:contain;filter:drop-shadow(0 2px 4px #000)}
body[data-home-layout="race-first"] .button.primary.hero-register .hero-register-label{display:block;color:#fff;font-size:16px;line-height:1.3;text-shadow:0 2px 4px #000}
@keyframes jdrc-badge-color-fade{0%,10%,100%{color:#fff}33.333%,43.333%{color:#ff8a30}66.667%,76.667%{color:#ff354c}}
@keyframes jdrc-badge-border-fade{0%,10%,100%{border-color:#fff;box-shadow:0 0 20px #ffffff38,inset 0 1px 0 #ffffff55}33.333%,43.333%{border-color:#ff8a30;box-shadow:0 0 20px #ff8a3045,inset 0 1px 0 #ff8a3055}66.667%,76.667%{border-color:#ff354c;box-shadow:0 0 20px #ff354c45,inset 0 1px 0 #ff354c55}}
@media(prefers-reduced-motion:reduce){body[data-home-layout="race-first"] .button.primary.hero-register,body[data-home-layout="race-first"] .button.primary.hero-register::before{animation:none;transition:none}body[data-home-layout="race-first"] .button.primary.hero-register:hover{transform:none}}

/* Center registration beneath the desktop headline; preserve mobile placement. */
@media(min-width:721px){body[data-home-layout="race-first"] .hero-heading-row{display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;gap:12px}body[data-home-layout="race-first"] .hero-heading-row>.hero-register{justify-self:center;width:max-content;margin-inline:0}}
