:root{--esc-navy:#142f4b;--esc-gold:#c9972f;--esc-ink:#152638;--esc-soft:#f6f2e7}.esc-horse-page{margin:0;background:#f7f8fa;color:var(--esc-ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif}.esc-horse-sitebar{display:flex;justify-content:space-between;align-items:center;padding:16px clamp(20px,5vw,72px);background:var(--esc-navy);border-bottom:4px solid var(--esc-gold)}.esc-horse-sitebar a{color:#fff;text-decoration:none;font-weight:800}.esc-horse-profile{max-width:1440px;margin:auto;padding:clamp(18px,4vw,52px)}.esc-horse-profile section{background:#fff;border:1px solid #dce2e7;border-radius:18px;padding:clamp(18px,3vw,34px);margin-bottom:24px;box-shadow:0 8px 30px rgba(20,47,75,.06)}.esc-horse-hero{display:grid;grid-template-columns:minmax(250px,420px) 1fr;gap:32px}.esc-horse-primary img,.esc-horse-photo-empty{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;background:linear-gradient(135deg,#dfe5ea,#f6f2e7);display:grid;place-items:center;color:#657381;font-weight:700}.esc-kicker{color:#9a6a0d;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.esc-horse-identity h1{font-family:Georgia,serif;font-size:clamp(38px,5vw,70px);line-height:1;margin:.1em 0 .45em;color:var(--esc-navy)}.esc-horse-identity dl{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:10px 24px}.esc-horse-identity dl div{border-top:1px solid #e0e4e7;padding-top:8px}.esc-horse-identity dt{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#697786}.esc-horse-identity dd{margin:4px 0;font-weight:750}.esc-horse-social{display:inline-block;margin-top:18px;background:#1877f2;color:#fff;text-decoration:none;padding:10px 16px;border-radius:8px;font-weight:750}.esc-horse-stats{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.esc-horse-stats div{background:var(--esc-soft);border-top:4px solid var(--esc-gold);padding:16px;text-align:center}.esc-horse-stats strong{display:block;font-size:clamp(22px,3vw,34px);color:var(--esc-navy)}.esc-horse-stats span{font-size:13px}.esc-horse-profile h2{font-family:Georgia,serif;color:var(--esc-navy);font-size:clamp(26px,3vw,38px)}.esc-horse-media{display:flex;gap:12px;overflow:auto}.esc-horse-media img,.esc-video-tile{width:150px;height:105px;object-fit:cover;border-radius:10px;background:var(--esc-navy);display:grid;place-items:center;color:#fff;font-size:40px}.esc-pedigree-note,.esc-source-note{color:#667584}.esc-pedigree{overflow:auto;padding-bottom:12px}.esc-pedigree-branch{display:flex;align-items:center;min-width:max-content}.esc-pedigree-parents{display:flex;flex-direction:column;justify-content:space-around}.esc-pedigree-person{width:175px;margin:4px 20px 4px 0;padding:10px;border-left:4px solid var(--esc-gold);background:#f5f7f8}.esc-pedigree-person a{font-weight:800;color:var(--esc-navy);text-decoration:none}.esc-pedigree-person.is-repeat{background:#fff0c9}.esc-pedigree-person.is-unknown{color:#657381}.esc-pedigree-person small{display:block;text-transform:uppercase;font-size:10px}.esc-horse-history{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.esc-horse-history p{padding:14px;background:var(--esc-soft);margin:0}.esc-horse-history span,.esc-horse-history small{display:block;margin-top:4px}.esc-horse-results{overflow:auto}.esc-horse-results table{width:100%;border-collapse:collapse}.esc-horse-results th{background:var(--esc-navy);color:#fff;text-align:left}.esc-horse-results th,.esc-horse-results td{padding:11px;border-bottom:1px solid #dfe4e8}.esc-horse-empty{max-width:700px;margin:12vh auto;background:#fff;padding:40px;border-radius:16px}.esc-horse-directory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.esc-horse-directory-grid a{padding:16px;background:#fff;border:1px solid #ddd;text-decoration:none}.esc-horse-directory-grid span{display:block;color:#667584}@media(max-width:760px){.esc-horse-hero{grid-template-columns:1fr}.esc-horse-stats{grid-template-columns:repeat(2,1fr)}.esc-horse-identity dl{grid-template-columns:1fr}.esc-pedigree-person{width:140px;font-size:12px}}
