.tr{min-width:0}.tr .cm-list .cm-card{display:block}.tr .cm-card .cm-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.tr .cm-card .cm-kpis strong{font-size:1.2rem}.tr .cm-card{overflow-wrap:anywhere}.tr-map{border:1px solid var(--border);background:var(--surface-secondary);overflow:hidden;border-radius:8px;margin-block:12px;min-height:150px}.tr-map svg{display:block;width:100%;height:auto;max-height:340px;touch-action:none}.tr-map svg text{fill:var(--text-primary);font-size:14px}.tr-map svg [data-track]{cursor:pointer;outline-offset:4px}.tr-map svg [aria-pressed=true] circle{stroke:#CF4141;stroke-width:4}.tr-layout{width:100%;max-height:100px;color:var(--text-primary)}.tr .cm-card .cm-actions{margin-top:10px}.tr .cm-hero img{padding:0;object-fit:cover}.tr .cm-scroll{max-width:100%;overflow:auto}.tr .cm-form>*{min-width:0}.tr .cm-panel{min-width:0}.tr [aria-pressed=true]{outline:2px solid #278B57;outline-offset:1px}

/* REDESIGN-05: static editorial venue directory */
.tr-directory{max-width:1280px;margin-inline:auto;padding:clamp(16px,3vw,40px) 0 48px}.tr-directory-heading{max-width:800px;margin-bottom:28px}.tr-directory-heading h1{margin:0 0 12px}.tr-venue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.tr-venue-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--border,#84918755);border-radius:10px;color:inherit!important;text-decoration:none!important;background:var(--surface,#8491870b);transition:transform .18s,box-shadow .18s}.tr-venue-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #20282420}.tr-venue-card:focus-visible{outline:3px solid #278B57;outline-offset:3px}.tr-venue-card figure{margin:0;position:relative}.tr-venue-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.tr-venue-card figcaption{font-size:11px;line-height:1.4;padding:5px 12px;background:#202824;color:white}.tr-venue-copy{padding:18px;display:flex;flex-direction:column;flex:1;gap:10px}.tr-venue-copy h2{font-size:1.2rem;margin:0;line-height:1.35}.tr-venue-copy p{margin:0;line-height:1.6;font-size:.92rem}.tr-venue-location{font-weight:600;color:#278B57}.tr-venue-cta{margin-top:auto;padding-top:12px;font-weight:600;display:flex;justify-content:space-between;color:inherit;border-top:1px solid #84918755}@media(max-width:950px){.tr-venue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.tr-venue-grid{grid-template-columns:1fr;gap:16px}.tr-venue-copy{padding:16px}}@media(prefers-reduced-motion:reduce){.tr-venue-card{transition:none}}

.tr-venue-card figure{flex:0 0 auto;min-width:0}.tr-venue-card figure img{width:100%;height:auto!important;max-height:none;aspect-ratio:16/9;object-fit:cover}

/* REDESIGN-06: editorial racecourse profiles */
.tr-profile{max-width:1200px;margin-inline:auto;padding-block:20px 48px}.tr-profile-hero{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;margin-bottom:24px}.tr-profile-hero h1{line-height:1.15;margin-block:8px 16px}.tr-profile-hero figure{margin:0;overflow:hidden;border-radius:10px;border:1px solid var(--border)}.tr-profile-hero img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.tr-profile-hero figcaption{background:#202824;color:white;padding:8px 12px;font-size:.75rem}.tr-profile-cta{display:inline-flex;gap:18px;align-items:center;padding:12px 18px;margin-block:10px;color:#fff!important;background:#237c4e;border-radius:6px;text-decoration:none!important;font-weight:600}.tr-profile-nav{display:flex;flex-wrap:wrap;gap:10px 20px;padding:16px 0;border-block:1px solid var(--border);margin-bottom:24px}.tr-profile-nav a{font-weight:600;text-decoration:none}.tr-profile .cm-panel{margin-block:20px;padding:clamp(16px,3vw,28px);scroll-margin-top:100px}.tr-history{display:grid;gap:10px}.tr-history article{display:flex;gap:20px;align-items:center;padding:16px;border:1px solid var(--border);border-radius:8px}.tr-history strong{color:#278b57;font-size:1.35rem}.tr-history h3,.tr-history p{margin:4px 0}.tr-profile .tr-venue-grid{margin-block:16px}.tr-profile .cm-scroll{overflow-x:auto}.tr-profile a:focus-visible{outline:3px solid #278b57;outline-offset:3px}@media(max-width:760px){.tr-profile-hero{grid-template-columns:1fr;gap:16px}.tr-profile-nav{gap:12px;font-size:.85rem}.tr-profile .cm-panel{padding:16px}.tr-history article{gap:12px}}

/* REDESIGN-07.11: contain intrinsic gallery width inside the track profile grid. */
.cm.tr{grid-template-columns:minmax(0,1fr)}
.tr-profile{width:100%;min-width:0;box-sizing:border-box}
.tr-profile-hero{grid-template-columns:repeat(2,minmax(0,1fr))}
.tr-profile-hero>*{min-width:0}
@media(max-width:760px){.tr-profile-hero{grid-template-columns:minmax(0,1fr)}}

/* Compact trophy symbols and editorial directory */
.hf .hf-trophy-card{padding:16px;display:grid;grid-template-columns:96px minmax(0,1fr);column-gap:14px;align-content:center;align-items:center;min-height:130px}.hf .hf-trophy-card img{grid-row:1/span 3;width:96px;height:96px;aspect-ratio:1;object-fit:contain;border-radius:18px;margin:0;background:transparent}.hf .hf-trophy-card h2,.hf .hf-trophy-card p,.hf .hf-trophy-card small{margin:3px 0}.hf .hf-trophy-card h2{font-size:1rem}.ra-directory-editorial{padding:clamp(18px,3vw,36px);margin-block:20px;background:var(--surface);border:1px solid var(--border);border-radius:12px;line-height:1.8}.ra-directory-editorial h2{font-size:1.5rem;margin:0 0 12px}.ra-directory-editorial h3{font-size:1.15rem;margin:24px 0 8px}.ra-directory-editorial p{max-width:90ch;margin:0 0 14px}.hf .hf-hero img{max-height:340px;object-fit:cover}@media(max-width:600px){.hf .hf-trophy-card{grid-template-columns:72px minmax(0,1fr)}.hf .hf-trophy-card img{width:72px;height:72px}}
