.page-intro{
  background:var(--navy);
  color:var(--white);
}
.page-intro-grid{
  display:grid;
  grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);
  gap:clamp(24px,5vw,70px);
  align-items:center;
  padding-block:clamp(35px,5vw,68px);
}
.page-intro .eyebrow{color:var(--gold)}
.page-intro h1{
  font-size:clamp(2.7rem,5.6vw,5.2rem);
  line-height:1.02;
  letter-spacing:-.05em;
}
.page-intro h1+p{
  max-width:465px;
  color:#f0edf3;
  margin-top:20px;
}
.page-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 18px;
  margin-top:22px;
}
.page-intro .page-actions .donate{background:transparent;border-color:#aaa7b7}
.page-intro .page-actions .donate:hover{background:#ffffff19}
.page-intro a:focus-visible,.page-callout a:focus-visible{outline-color:var(--gold)}
.page-photo img{
  width:100%;
  height:clamp(220px,31vw,420px);
  object-fit:cover;
  border-radius:5px;
}
.page-photo.photo-team img{object-position:center 62%}
.page-photo.photo-jack img{object-position:center 43%}
.page-section{padding-block:clamp(40px,5.5vw,76px)}
.page-section>h2,.page-feature h2,.page-programme h2{margin-bottom:15px}
.page-section p,.page-feature p{color:var(--muted)}
.reading-width{max-width:760px}
.page-band{background:#f2eadd}
.page-feature,.page-programme{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);
  gap:clamp(24px,5vw,75px);
  align-items:center;
}
.page-band .page-feature{padding-block:clamp(35px,5vw,68px)}
.page-feature figure img{
  width:100%;
  height:clamp(200px,30vw,365px);
  object-fit:cover;
  object-position:center 51%;
  border-radius:5px;
}
#tea-with-a-pony figure img{object-position:center 44%}
.page-programme{grid-template-columns:minmax(0,1.5fr) minmax(0,.75fr)}
.programme-logo{
  display:block;
  width:min(100%,315px);
  padding:14px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:5px;
}
.programme-logo img{width:100%;height:auto}
.page-accreditation p{max-width:650px}
.page-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.page-card{
  padding:clamp(16px,2vw,25px);
  border:1px solid var(--line);
  border-top:3px solid #b48a3a;
  background:var(--white);
  border-radius:5px;
}
.page-card h2,.page-card h3{font-size:clamp(1.34rem,2.35vw,1.84rem);margin-bottom:10px}
.page-card .page-label{
  color:var(--gold-dark);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.095em;
  margin-bottom:10px;
}
.page-card .page-role{color:var(--gold-dark);font-weight:700}
.page-after{margin-top:22px}
.page-standfirst{font-family:var(--serif);font-style:italic;font-size:1.42rem}
.page-callout{background:var(--navy);color:var(--white)}
.page-callout-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding-block:clamp(32px,4.4vw,55px);
}
.page-callout h2{font-size:clamp(1.8rem,3vw,2.7rem)}
.page-callout p{margin-top:10px;max-width:610px;color:#f0edf3}
.page-callout .button{flex:none}
@media(max-width:760px){
  .page-intro-grid,.page-feature,.page-programme{grid-template-columns:minmax(0,1fr)}
  .page-intro h1{font-size:clamp(2.6rem,8.6vw,4rem)}
  .page-intro h1+p{margin-top:15px}
  .page-photo img{height:clamp(200px,51vw,370px)}
  .page-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .page-card-grid{grid-template-columns:minmax(0,1fr)}
  .page-callout-inner{align-items:flex-start;flex-direction:column}
}

.competition-photo img,.page-feature .competition-photo img{height:auto}
.competition-photo figcaption{font-size:.85rem;margin-top:8px}
.page-intro .competition-photo figcaption{color:#f0edf3}
.competition-disciplines{margin-top:20px}
.competition-national p+p{margin-top:14px}

.horse-page-heading{padding-block:clamp(24px,4vw,52px)}
.herd-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,170px),1fr));
  gap:clamp(10px,2vw,20px);
  list-style:none;
  margin:0;
  padding:0;
}
.horse-card{
  margin:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:5px;
  background:var(--white);
}
.horse-card figcaption{padding:.65rem .8rem;text-align:center;font-weight:700}
.horse-card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.horse-card img[src$="/bobby.webp"]{object-position:center 38%}
.horse-card img[src$="/ebony.webp"]{object-position:center 35%}
.horse-card img[src$="/mouse-portrait.webp"]{object-position:center 35%}
.horse-card img[src$="/sam.webp"]{object-position:center 38%}
@media(max-width:520px){
  .herd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.competition-partner{width:min(100%,250px);justify-self:center}
.team-card{
  display:grid;
  grid-template-columns:clamp(64px,7vw,88px) minmax(0,1fr);
  align-items:start;
  gap:clamp(10px,1.4vw,18px);
}
.team-portrait{
  display:block;
  width:100%;
  height:auto;
  border-radius:4px;
}

.session-types{margin-top:20px}
.session-practical{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);
  gap:16px;
  align-items:start;
  margin-top:22px;
}
.session-sidebar{display:grid;gap:16px;min-width:0}
.session-table{width:100%;border-collapse:collapse;text-align:left}
.session-table th,.session-table td{
  border-bottom:1px solid var(--line);
  padding:.58rem .55rem .58rem 0;
  vertical-align:top;
}
.session-table tbody th{font-weight:600}
.session-table tbody td{color:var(--muted);font-variant-numeric:tabular-nums}
.session-table thead th{color:var(--gold-dark);font-size:.85rem}
.payment-details{display:grid;gap:.4rem;margin-block:.75rem}
.payment-details div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.1rem 1rem}
.payment-details dt{font-weight:600}
.payment-details dd{margin:0;font-variant-numeric:tabular-nums}
@media(max-width:760px){
  .session-practical{grid-template-columns:minmax(0,1fr)}
}

.page-intro .volunteer-title{font-size:clamp(2.55rem,4.8vw,4.45rem);max-width:12ch}
.volunteer-photo img{height:auto}
.volunteer-roles{margin-top:24px}
.volunteer-family{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(24px,5vw,72px);
}
.volunteer-family h2{margin-bottom:15px}
.volunteer-quotes .rider-quote:first-child{margin-top:0}
.volunteer-contact a:focus-visible{outline-color:var(--gold)}
@media(max-width:760px){
  .volunteer-family{grid-template-columns:minmax(0,1fr)}
}

.newsletter-intro{padding-block:clamp(35px,5vw,68px)}
.newsletter-intro p{margin-top:15px;color:#f0edf3}
.newsletter-latest{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px 24px;
  flex-wrap:wrap;
  padding:clamp(20px,3vw,34px);
  background:#f4ebd5;
  border:1px solid var(--line);
  border-left:4px solid #b48a3a;
  border-radius:5px;
}
.newsletter-latest h2,.newsletter-jump h2,.newsletter-year h2{font-size:clamp(1.65rem,3vw,2.35rem)}
.newsletter-latest p{margin-top:6px}
.newsletter-jump{margin-top:32px}
.newsletter-jump ul,.newsletter-list{list-style:none;margin:0;padding:0}
.newsletter-jump ul{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.newsletter-jump a{
  display:block;
  padding:.32rem .67rem;
  border:1px solid var(--line);
  border-radius:4px;
  background:var(--white);
  font-weight:700;
  text-decoration:none;
}
.newsletter-jump a:hover,.newsletter-list a:hover{background:#f4ebd5;text-decoration:underline}
.newsletter-year{margin-top:30px;padding-top:23px;border-top:1px solid var(--line)}
.newsletter-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));
  gap:8px;
  margin-top:14px;
}
.newsletter-list a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:4px 9px;
  height:100%;
  padding:.65rem .8rem;
  border:1px solid var(--line);
  border-radius:4px;
  background:var(--white);
  text-decoration:none;
  font-weight:700;
}
.newsletter-filetype{color:var(--muted);font-size:.77rem;font-weight:600}

.newsletter-latest-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}
.newsletter-article{width:min(100% - 32px,780px)}
.newsletter-article section+section{margin-top:38px;padding-top:30px;border-top:1px solid var(--line)}
.newsletter-article h2{font-size:clamp(1.75rem,4vw,2.6rem);margin-bottom:12px}
.newsletter-article h3{font-size:1.3rem;margin:20px 0 8px}
.newsletter-article p+p{margin-top:12px}
.newsletter-article figure{margin:16px 0 0}
.newsletter-article img{width:100%;height:auto;border-radius:5px}
.newsletter-article figcaption{color:var(--muted);font-size:.9rem;margin-top:8px}
.newsletter-article .newsletter-photo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.newsletter-article .newsletter-photo-pair figure{margin:0}
.newsletter-article .newsletter-social-photo{width:min(100%,380px)}
.newsletter-article dl{margin:0}
.newsletter-article dl div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:3px 16px;padding:10px 0;border-bottom:1px solid var(--line)}
.newsletter-article dt{font-weight:700}
.newsletter-article dd{margin:0;color:var(--muted)}
@media(max-width:520px){
  .newsletter-article dl div{grid-template-columns:minmax(0,1fr)}
}
