/* Language-specific spacing keeps the race-day programme readable. */
html[data-script="cjk"] .race-hero h1,html[data-script="complex"] .race-hero h1{font-size:clamp(56px,6.7vw,98px);line-height:1.14;letter-spacing:0;overflow-wrap:normal}
html:not([lang="en"]) .gate-label{min-width:0}
html:not([lang="en"]) .gate-label small,html:not([lang="en"]) .gate-label strong{white-space:normal;overflow-wrap:anywhere}
html:not([lang="en"]) .stage-tab strong{max-width:100%;overflow-wrap:anywhere;hyphens:auto}
html:not([lang="en"]) .tag{white-space:normal;overflow-wrap:anywhere}
@media(min-width:761px){html[data-script="latin"]:not([lang="en"]) .race-hero h1{font-size:clamp(82px,7.2vw,108px)}html:not([lang="en"]) .programme-gate{display:grid;grid-template-columns:1fr auto;gap:10px 12px;align-content:center}html:not([lang="en"]) .gate-number{grid-column:1;grid-row:1}html:not([lang="en"]) .gate-label{grid-column:1/-1;grid-row:2}html:not([lang="en"]) .programme-gate>svg{grid-column:2;grid-row:1}html:not([lang="en"]) .gate-label strong{overflow-wrap:normal;hyphens:auto}}
@media(max-width:760px){html[data-script="cjk"] .race-hero h1,html[data-script="complex"] .race-hero h1{font-size:clamp(38px,12vw,52px);line-height:1.18}html[data-script="cjk"] .feature-meeting-copy h2,html[data-script="complex"] .feature-meeting-copy h2{font-size:25px;line-height:1.2}}
html:not([lang="en"]){--sans:Manrope,"PingFang TC","Microsoft JhengHei","Apple SD Gothic Neo","Malgun Gothic","Noto Sans Thai","Noto Sans Devanagari",Arial,sans-serif;--display:"Barlow Condensed","PingFang TC","Microsoft JhengHei","Apple SD Gothic Neo","Malgun Gothic","Noto Sans Thai","Noto Sans Devanagari",sans-serif}
html:not([lang="en"]) h1,html:not([lang="en"]) h2,html:not([lang="en"]) h3,html:not([lang="en"]) h4{overflow-wrap:anywhere;hyphens:auto}
html:not([lang="en"]) .desktop-nav a{padding-inline:9px;letter-spacing:.035em}
html:not([lang="en"]) .btn,html:not([lang="en"]) .text-link{white-space:normal}
html:not([lang="en"]) .calendar-range{flex-wrap:wrap}
html:not([lang="en"]) .calendar-range>span{max-width:290px}
html:not([lang="en"]) .calendar-events-head{gap:12px}
html:not([lang="en"]) .calendar-events-head .count-label{white-space:normal;text-align:right}
html:not([lang="en"]) .mobile-bottom-nav a span{white-space:normal;line-height:1.2;text-align:center;max-width:68px;overflow-wrap:anywhere}
html[data-script="cjk"] .eyebrow,html[data-script="complex"] .eyebrow{letter-spacing:.035em;line-height:1.65}
html[data-script="cjk"] .chip,html[data-script="complex"] .chip{letter-spacing:0;line-height:1.5}
html[data-script="cjk"] h1,html[data-script="complex"] h1,html[data-script="cjk"] h2,html[data-script="complex"] h2,html[data-script="cjk"] h3,html[data-script="complex"] h3{line-height:1.2;letter-spacing:0}
html[data-script="cjk"] .horse-section-tabs button,html[data-script="complex"] .horse-section-tabs button{font-size:24px;line-height:1.4}
html[data-script="cjk"] .horse-mast-copy h1,html[data-script="complex"] .horse-mast-copy h1{font-size:clamp(42px,5vw,68px)}
html[data-script="complex"] .tag,html[data-script="complex"] .breed-uses span,html[data-script="complex"] .count-label{line-height:1.8;font-size:10px}
html[data-script="complex"] .btn{line-height:1.7}
html[data-script="cjk"] .calendar-heading h3,html[data-script="complex"] .calendar-heading h3{font-size:29px}
@media(max-width:1100px){html:not([lang="en"]) .desktop-nav{display:none}html:not([lang="en"]) .mobile-menu-toggle{display:flex}html:not([lang="en"]) .header-actions{margin-left:auto}}
@media(max-width:760px){html:not([lang="en"]) .mobile-bottom-nav a{padding-inline:3px}html:not([lang="en"]) .mobile-bottom-nav a span{font-size:8px}html[data-script="complex"] .mobile-bottom-nav a span{font-size:9px}html[data-script="cjk"] .horse-section-tabs button,html[data-script="complex"] .horse-section-tabs button{font-size:20px}html[data-script="cjk"] .horse-mast-copy h1,html[data-script="complex"] .horse-mast-copy h1{font-size:45px}html[data-script="cjk"] .calendar-heading h3,html[data-script="complex"] .calendar-heading h3{font-size:25px}html:not([lang="en"]) .calendar-range>span{max-width:none}html:not([lang="en"]) .calendar-range>a{margin-left:0}html:not([lang="en"]) .calendar-events-head .count-label{font-size:8px;max-width:100px}}
