#vr-site.vr-site {
  --burgundy: #5A1F38;
  --burgundy-deep: #2A1220;
  --ink: #141113;
  --charcoal: #221B1F;
  --paper: #FAF8F7;
  --white: #FFFFFF;
  --rose: #D9A9BE;
  --rose-soft: #EAD7DF;
  --tint: #F3E9ED;
  --muted: #4A4246;
  --muted-2: #5E5559;
  --line: #ECE6E8;
  --line-dark: #2E272B;
  --font-display: 'Saira', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --hero-h: clamp(640px, 86vh, 860px);
}

/* ---------- Scope guard ----------
   Everything is scoped to the #vr-site.vr-site wrapper (an ID plus a class) so these rules outrank styles
   left over from the old site/CMS (e.g. "p { color: … }" or "#content a { … }").
   Text colours and fonts are reset here, then set by the rules below. */
#vr-site.vr-site { font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); text-align: left; }
#vr-site.vr-site h1, #vr-site.vr-site h2, #vr-site.vr-site h3, #vr-site.vr-site h4, #vr-site.vr-site h5, #vr-site.vr-site h6 {
  color: inherit; font-family: var(--font-display); text-transform: none; letter-spacing: normal; text-shadow: none; background: none; padding: 0; border: 0;
}
#vr-site.vr-site p, #vr-site.vr-site li, #vr-site.vr-site span, #vr-site.vr-site label, #vr-site.vr-site blockquote, #vr-site.vr-site strong, #vr-site.vr-site em, #vr-site.vr-site small, #vr-site.vr-site div {
  color: inherit; font-family: inherit; text-transform: none; letter-spacing: normal; text-shadow: none;
}
#vr-site.vr-site p, #vr-site.vr-site li, #vr-site.vr-site blockquote { font-size: inherit; line-height: inherit; }
#vr-site.vr-site ul, #vr-site.vr-site ol { color: inherit; }
#vr-site.vr-site a { font-family: inherit; text-shadow: none; text-transform: none; letter-spacing: normal; }
#vr-site.vr-site i[class*="fa-"] { font-style: normal; }


#vr-site.vr-site *, #vr-site.vr-site *::before, #vr-site.vr-site *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body:has(> #vr-site.vr-site) { margin: 0; }

#vr-site.vr-site {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

#vr-site.vr-site img { max-width: 100%; display: block; }

#vr-site.vr-site a { color: var(--burgundy); }
#vr-site.vr-site a:hover { color: var(--ink); }

#vr-site.vr-site :focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

#vr-site.vr-site h1, #vr-site.vr-site h2, #vr-site.vr-site h3 { font-family: var(--font-display); margin: 0; }

#vr-site.vr-site .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

#vr-site.vr-site .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
#vr-site.vr-site .vr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  float: none; width: auto; height: auto; min-height: 0; min-width: 0; margin: 0;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent; box-shadow: none;
  font-family: var(--font-body); font-weight: 600; font-size: 17px; line-height: 1.2;
  text-transform: none; letter-spacing: normal; text-shadow: none; text-decoration: none; white-space: nowrap; vertical-align: middle;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
#vr-site.vr-site .vr-btn::before, #vr-site.vr-site .vr-btn::after { content: none; display: none; }
#vr-site.vr-site .vr-btn i { font-size: 15px; }
#vr-site.vr-site .vr-btn-primary { background: var(--burgundy); color: var(--white); }
#vr-site.vr-site .vr-btn-primary:hover { background: #431628; color: var(--white); }
#vr-site.vr-site .vr-btn-outline-light { color: var(--white); border-color: var(--white); background: transparent; }
#vr-site.vr-site .vr-btn-outline-light:hover { background: var(--white); color: var(--ink); }
#vr-site.vr-site .vr-btn-light { background: var(--white); color: var(--ink); }
#vr-site.vr-site .vr-btn-light:hover { background: var(--rose-soft); color: var(--ink); }
#vr-site.vr-site .vr-btn-dark { background: var(--ink); color: var(--white); }
#vr-site.vr-site .vr-btn-dark:hover { background: #000; color: var(--white); }

#vr-site.vr-site .round-btn {
  float: none; margin: 0; box-shadow: none; line-height: 1; text-transform: none; text-decoration: none; min-height: 0; min-width: 0;
  width: 48px; height: 48px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.6); background: transparent; color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; padding: 0;
  transition: background-color .15s, color .15s;
}
#vr-site.vr-site .round-btn:hover { background: var(--white); color: var(--ink); }

/* ---------- Section basics ---------- */
#vr-site.vr-site .section { padding: 104px 0; }
#vr-site.vr-site .section-white { background: var(--white); }
#vr-site.vr-site .section-paper { background: var(--paper); }
#vr-site.vr-site .section-dark { background: var(--ink); color: var(--white); }
#vr-site.vr-site .section-burgundy { background: var(--burgundy); color: var(--white); }

#vr-site.vr-site .eyebrow {
  margin: 0 0 12px; font-family: var(--font-display); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--burgundy);
}
#vr-site.vr-site .section-title {
  font-style: italic; font-weight: 700;
  font-size: clamp(34px, 4vw, 48px); line-height: 1.05;
}

/* ---------- Top bar ---------- */
#vr-site.vr-site .top-bar { background: var(--burgundy); color: var(--white); font-size: 14px; }
#vr-site.vr-site .top-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; padding-top: 4px; padding-bottom: 4px; }
#vr-site.vr-site .top-bar a { color: var(--white); text-decoration: none; }
#vr-site.vr-site .top-bar a:hover { color: var(--rose-soft); }
#vr-site.vr-site .top-bar-contact { display: flex; flex-wrap: wrap; gap: 0 22px; }
#vr-site.vr-site .top-bar-contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
#vr-site.vr-site .top-bar-contact i { font-size: 13px; }
#vr-site.vr-site .top-bar-social { display: flex; gap: 4px; }
#vr-site.vr-site .top-bar-social a { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
@media (max-width: 600px) { #vr-site.vr-site .hide-sm { display: none; } }

/* ---------- Header (overlaid on hero) ---------- */
#vr-site.vr-site .site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  background: rgba(20,10,16,.35); border-bottom: 1px solid rgba(255,255,255,.18);
}
#vr-site.vr-site .site-header .wrap {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between;
  gap: 16px clamp(16px, 2vw, 32px); padding-top: 12px; padding-bottom: 12px;
}
#vr-site.vr-site .site-header .site-logo { flex: 0 0 auto; }
/* Full-colour logo with a white edge so it stands out on any photo */
#vr-site.vr-site .site-logo img { height: 88px; width: auto; }

#vr-site.vr-site .desktop-nav { display: flex; align-items: center; }

/* ---------- CMS navigation: <div class="nav" id="navInsprimary"><ul id="primary" class="menu"> ----------
   IDs are used in these selectors so they outrank any old-site rules on #navInsprimary / #primary.
   Items are matched by link address, so they keep working if the CMS reorders or renumbers them. */
#vr-site.vr-site #navInsprimary,
#vr-site.vr-site #navInsprimary #primary,
#vr-site.vr-site #navInsprimary #primary > li,
#vr-site.vr-site #navInsprimary #primary > li > a {
  float: none; width: auto; height: auto; min-height: 0; margin: 0; padding: 0;
  background: none; border: 0; box-shadow: none; text-indent: 0; text-shadow: none; text-align: left; line-height: 1.3;
}
#vr-site.vr-site #navInsprimary #primary { list-style: none; }
#vr-site.vr-site #navInsprimary #primary > li { list-style: none; display: block; position: static; }
#vr-site.vr-site #navInsprimary #primary > li::before,
#vr-site.vr-site #navInsprimary #primary > li::after { content: none; display: none; }
#vr-site.vr-site #navInsprimary #primary > li > a {
  display: inline-block; font-family: var(--font-body); font-weight: 500; text-decoration: none;
  text-transform: none; letter-spacing: normal; white-space: nowrap;
}

/* Desktop header bar */
/* Menu sits on the same line as the logo, right-aligned; spacing and text size ease down on smaller desktops */
#vr-site.vr-site .site-header #navInsprimary { flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-end; }
#vr-site.vr-site .site-header #navInsprimary #primary {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 4px clamp(12px, 1.5vw, 24px);
}
#vr-site.vr-site .site-header #navInsprimary #primary > li > a { color: var(--white); font-size: clamp(15px, 1.25vw, 18px); }
#vr-site.vr-site .site-header #navInsprimary #primary > li > a:hover,
#vr-site.vr-site .site-header #navInsprimary #primary > li > a:focus-visible { color: var(--rose); }
/* Current page (covers the usual CMS class names) */
#vr-site.vr-site .site-header #navInsprimary #primary > li.selected > a,
#vr-site.vr-site .site-header #navInsprimary #primary > li.current > a,
#vr-site.vr-site .site-header #navInsprimary #primary > li.active > a,
#vr-site.vr-site .site-header #navInsprimary #primary > li > a.selected,
#vr-site.vr-site .site-header #navInsprimary #primary > li > a[aria-current] { color: var(--rose); }
/* Home and Shop live in the footer and mobile menu, not the header bar */
/*#vr-site.vr-site .site-header #navInsprimary #primary > li:has(> a[href="/"]),
#vr-site.vr-site .site-header #navInsprimary #primary > li:has(> a[href$="/shop/"]) { display: none; }*/
/* Shares Available as the purple button, always last */
/*#vr-site.vr-site .site-header #navInsprimary #primary > li:has(> a[href$="/shares-available/"]) { order: 99; }*/
#vr-site.vr-site .site-header #navInsprimary #primary > li > a[href$="/shares-available/"] {
  background: var(--burgundy); color: var(--white); padding: 12px clamp(16px, 1.5vw, 22px); border-radius: 999px; font-weight: 600; font-size: clamp(15px, 1.2vw, 17px);
}
#vr-site.vr-site .site-header #navInsprimary #primary > li > a[href$="/shares-available/"]:hover { background: #431628; color: var(--white); }
/* Client's preferred order. Remove this block once the menu is put in this order in the CMS. */
/*#vr-site.vr-site .site-header #navInsprimary #primary > li:has(> a[href$="/who-we-are/"]) { order: 1; }
#vr-site.vr-site .site-header #navInsprimary #primary > li:has(> a[href$="/our-horses/"]) { order: 2; }
#vr-site.vr-site .site-header #navInsprimary #primary > li:has(> a[href$="/our-trainers/"]) { order: 3; }
#vr-site.vr-site .site-header #navInsprimary #primary > li:has(> a[href$="/news/"]) { order: 4; }
#vr-site.vr-site .site-header #navInsprimary #primary > li:has(> a[href$="/club-ambassador/"]) { order: 5; }
#vr-site.vr-site .site-header #navInsprimary #primary > li:has(> a[href$="/gallery/"]) { order: 6; }
#vr-site.vr-site .site-header #navInsprimary #primary > li:has(> a[href$="/contact/"]) { order: 7; }
#vr-site.vr-site .site-header #navInsprimary #primary > li:has(> a[href$="/login/"]) { order: 8; }
*/
/* Mobile (Pushy) menu: vertical list */
#vr-site.vr-site .pushy .pushy-nav .nav, #vr-site.vr-site .pushy .pushy-nav .menu, #vr-site.vr-site .pushy .pushy-nav .menu > li, #vr-site.vr-site .pushy .pushy-nav .menu > li > a {
  float: none; width: auto; height: auto; min-height: 0; margin: 0; padding: 0;
  background: none; border: 0; box-shadow: none; text-indent: 0; text-shadow: none; text-align: left; line-height: 1.3;
}
#vr-site.vr-site .pushy .pushy-nav .menu > li { list-style: none; display: block; position: static; }
#vr-site.vr-site .pushy .pushy-nav .menu > li::before, #vr-site.vr-site .pushy .pushy-nav .menu > li::after { content: none; display: none; }
#vr-site.vr-site .pushy .pushy-nav .menu { list-style: none; display: flex; flex-direction: column; }
#vr-site.vr-site .pushy .pushy-nav .menu > li > a {
  display: block; color: var(--white); padding: 14px 0; border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; white-space: normal; text-decoration: none;
}
#vr-site.vr-site .pushy .pushy-nav .menu > li > a:hover { color: var(--rose); }
/* Client's preferred order (remove once set in the CMS) */
#vr-site.vr-site .pushy .pushy-nav .menu > li:has(> a[href="/"]) { order: 0; }
#vr-site.vr-site .pushy .pushy-nav .menu > li:has(> a[href$="/who-we-are/"]) { order: 1; }
#vr-site.vr-site .pushy .pushy-nav .menu > li:has(> a[href$="/our-horses/"]) { order: 2; }
#vr-site.vr-site .pushy .pushy-nav .menu > li:has(> a[href$="/our-trainers/"]) { order: 3; }
#vr-site.vr-site .pushy .pushy-nav .menu > li:has(> a[href$="/news/"]) { order: 4; }
#vr-site.vr-site .pushy .pushy-nav .menu > li:has(> a[href$="/club-ambassador/"]) { order: 5; }
#vr-site.vr-site .pushy .pushy-nav .menu > li:has(> a[href$="/shares-available/"]) { order: 6; }
#vr-site.vr-site .pushy .pushy-nav .menu > li:has(> a[href$="/gallery/"]) { order: 7; }
#vr-site.vr-site .pushy .pushy-nav .menu > li:has(> a[href$="/contact/"]) { order: 8; }
#vr-site.vr-site .pushy .pushy-nav .menu > li:has(> a[href$="/shop/"]) { order: 9; }
#vr-site.vr-site .pushy .pushy-nav .menu > li:has(> a[href$="/login/"]) { order: 10; }
#vr-site.vr-site .pushy .pushy-nav .menu > li.selected > a,
#vr-site.vr-site .pushy .pushy-nav .menu > li.current > a,
#vr-site.vr-site .pushy .pushy-nav .menu > li > a[aria-current] { color: var(--rose); }

#vr-site.vr-site .menu-btn { display: none; }
#vr-site.vr-site .pushy .menu-btn { display: inline-flex; }

@media (max-width: 1180px) {
  /* Hide the header menu wherever the CMS tag sits (with or without the .desktop-nav wrapper).
     !important so old-site rules such as "#navInsprimary { display: block }" can't bring it back. */
  #vr-site.vr-site .desktop-nav,
  #vr-site.vr-site #navInsprimary,
  #vr-site.vr-site #navInsprimary #primary { display: none !important; }
  #vr-site.vr-site .site-header .menu-btn { display: inline-flex; flex: 0 0 auto; }
}

/* ---------- Pushy mobile menu: core behaviour ----------
   Repeats what css/pushy.css does, scoped and stronger, so the menu stays hidden
   off-screen until opened even if pushy.css is missing or old-site styles clash. */
#vr-site.vr-site .pushy {
  position: fixed; top: 0; right: 0; left: auto; bottom: auto; z-index: 9999;
  width: 100%; max-width: 100%; height: 100%; margin: 0; padding: 35px;
  transform: translate3d(100%, 0, 0); visibility: hidden;
  transition: transform .2s cubic-bezier(.16, .68, .43, .99), visibility 0s linear .2s;
  -webkit-overflow-scrolling: touch;
}
#vr-site.vr-site .pushy .pushy-content { visibility: hidden; }
.pushy-open-right #vr-site.vr-site .pushy {
  transform: translate3d(0, 0, 0); visibility: visible;
  transition: transform .2s cubic-bezier(.16, .68, .43, .99), visibility 0s;
}
.pushy-open-right #vr-site.vr-site .pushy .pushy-content { visibility: visible; }
#vr-site.vr-site .site-overlay { display: none; }
.pushy-open-right #vr-site.vr-site .site-overlay {
  display: block; position: fixed; inset: 0; z-index: 9998; background-color: rgba(0,0,0,.5);
}
/* The menu is only used below the desktop breakpoint */
@media (min-width: 1181px) { #vr-site.vr-site .pushy, #vr-site.vr-site .site-overlay { display: none; } }

/* ---------- Pushy mobile menu (overrides for css/pushy.css) ---------- */
#vr-site.vr-site .pushy { background: var(--ink); overflow-y: auto; }
#vr-site.vr-site .pushy ul { list-style: none; margin: 0; padding: 0; }
#vr-site.vr-site .pushy a {
  display: block; text-decoration: none;
  color: var(--white); padding: 14px 0;
  font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: .06em;
  border-bottom: 1px solid var(--line-dark);
}
#vr-site.vr-site .pushy a:hover { color: var(--rose); }
#vr-site.vr-site .pushy-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
#vr-site.vr-site .pushy-head img { height: 64px; width: auto; }
#vr-site.vr-site .pushy .pushy-contact { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
#vr-site.vr-site .pushy .pushy-contact a {
  display: flex; align-items: center; gap: 10px; padding: 0; border: 0;
  text-transform: none; font-family: var(--font-body); font-weight: 400; font-size: 16px;
  letter-spacing: 0; color: #CFC6CA;
}
#vr-site.vr-site .pushy .pushy-contact i { color: var(--rose); width: 16px; }
/* Pushy's default pushes #container fully off-screen; keep the page still under the full-screen menu */
.pushy-open-right #vr-site.vr-site #container, .pushy-open-right #vr-site.vr-site .push { transform: none; }
.pushy-open-left, .pushy-open-right { overflow: hidden; }

/* ---------- Hero (Slick fade slider, photos only) ---------- */
#vr-site.vr-site .hero { --hero-h: min(66.67vw, 88vh); position: relative; height: var(--hero-h); min-height: 420px; background: var(--burgundy-deep); overflow: hidden; }
#vr-site.vr-site .hero-slider, #vr-site.vr-site .hero-slider .slick-list, #vr-site.vr-site .hero-slider .slick-track { height: 100%; }
#vr-site.vr-site .hero-slide { position: relative; height: var(--hero-h); min-height: 420px; }
#vr-site.vr-site .hero-slider:not(.slick-initialized) .hero-slide:not(:first-child) { display: none; }
#vr-site.vr-site .hero-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

#vr-site.vr-site .hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; z-index: 4; pointer-events: none;
  background: linear-gradient(to top, rgba(20,10,16,.6), rgba(20,10,16,0));
}
#vr-site.vr-site .hero-tagline { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 0 24px 22px; text-align: center; color: var(--white); }
#vr-site.vr-site .hero-tagline p {
  margin: 0 auto; max-width: 900px; font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: clamp(20px, 2.8vw, 38px); line-height: 1.15; letter-spacing: .02em; text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
#vr-site.vr-site .scroll-down {
  margin: 14px auto 0; width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.7);
  color: var(--white); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 18px;
  animation: bounce 2s ease-in-out infinite;
}
#vr-site.vr-site .scroll-down:hover { background: var(--white); color: var(--ink); }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { #vr-site.vr-site .scroll-down { animation: none; } }

/* ---------- Welcome ---------- */
#vr-site.vr-site .welcome .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
#vr-site.vr-site .welcome-copy { flex: 1 1 520px; min-width: 0; }
#vr-site.vr-site .welcome-copy h1 { color: var(--burgundy); font-style: italic; font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
#vr-site.vr-site .welcome-copy p { margin: 18px 0 0; color: var(--muted); font-size: 18px; }
#vr-site.vr-site .welcome-copy h1 + p { margin-top: 28px; }

#vr-site.vr-site .offers { flex: 1 1 420px; min-width: 0; background: #EFECEE; border: 1px solid #D6CDD1; border-radius: 24px; padding: 36px; }
#vr-site.vr-site .offers h3 { font-weight: 700; font-size: 24px; margin-bottom: 20px; }

/* ---------- Total winners ---------- */
#vr-site.vr-site .winners-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
#vr-site.vr-site .winners-head h2 { font-style: italic; font-weight: 700; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; }
#vr-site.vr-site .winners-head a {
  color: var(--white); font-weight: 600; text-decoration: none;
  border-bottom: 1.5px solid var(--rose); padding-bottom: 4px;
  display: inline-flex; align-items: center; gap: 10px;
}
#vr-site.vr-site .winners-head a:hover { color: var(--rose); }

#vr-site.vr-site .winners-body { display: flex; flex-direction: column; gap: 20px; }
#vr-site.vr-site .stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
#vr-site.vr-site .stat { border-radius: 24px; padding: 40px; }
#vr-site.vr-site .stat-label { margin: 0; font-weight: 500; font-size: 18px; }
#vr-site.vr-site .stat-value {
  margin: 12px 0 0; font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: clamp(48px, 6vw, 80px); line-height: 1; font-variant-numeric: tabular-nums;
}
#vr-site.vr-site .stat-prize { background: #3A1426; }
#vr-site.vr-site .stat-prize .stat-label { color: var(--rose-soft); }
#vr-site.vr-site .stat-wins { background: #7A2E4D; color: var(--white); }
#vr-site.vr-site .stat-wins .stat-label { color: #F0DCE5; }
#vr-site.vr-site .stat-wins .stat-value { color: var(--white); }

#vr-site.vr-site .big-races { background: var(--ink); border-radius: 24px; padding: 40px; }
#vr-site.vr-site .big-races > p { margin: 0 0 20px; color: #CFC6CA; font-weight: 500; font-size: 18px; }

/* ---------- Winners photo slider ---------- */
#vr-site.vr-site .winner-gallery { margin-top: 8px; }
#vr-site.vr-site .winner-gallery-arrows { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
#vr-site.vr-site .winner-gallery-arrows .round-btn { width: 44px; height: 44px; font-size: 14px; }
#vr-site.vr-site .winners-slider { margin: 0 -10px; }
#vr-site.vr-site .winners-slider:not(.slick-initialized) { display: flex; overflow: hidden; }
#vr-site.vr-site .winners-slider:not(.slick-initialized) .winner-card { flex: 0 0 50%; }
#vr-site.vr-site .winner-card { padding: 0 10px; }
#vr-site.vr-site .winner-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; background: #3A1426; }

/* ---------- Testimonials (Slick) ---------- */
#vr-site.vr-site .testimonials { text-align: center; }
#vr-site.vr-site .testimonials .wrap { max-width: 960px; }
#vr-site.vr-site .testimonials .mark { height: 50px; width: auto; margin: 32px auto 24px; }
#vr-site.vr-site .testimonial-slider:not(.slick-initialized) > div:not(:first-child) { display: none; }
#vr-site.vr-site .testimonial { padding: 0 8px; }
#vr-site.vr-site .testimonial blockquote { margin: 0; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.65; color: #2C2629; }
#vr-site.vr-site .testimonial .name { margin: 20px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--burgundy); }

#vr-site.vr-site .testimonial-slider .slick-dots {
  display: flex !important; flex-wrap: wrap; justify-content: center; gap: 2px;
  list-style: none; margin: 24px 0 0; padding: 0;
}
#vr-site.vr-site .testimonial-slider .slick-dots button {
  width: 44px; height: 44px; padding: 0; border: 0; cursor: pointer; font-size: 0; color: transparent;
  background: radial-gradient(circle, #CDBFC5 0 6px, transparent 7px);
}
#vr-site.vr-site .testimonial-slider .slick-dots .slick-active button { background: radial-gradient(circle, var(--burgundy) 0 6px, transparent 7px); }

/* ---------- CTA + newsletter ---------- */
#vr-site.vr-site .cta-section { background: var(--white); padding-bottom: 104px; }
#vr-site.vr-site .cta {
  background: var(--burgundy); color: var(--white); border-radius: 32px;
  padding: clamp(36px, 6vw, 72px);
  display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between;
}
#vr-site.vr-site .cta-copy { flex: 1 1 420px; }
#vr-site.vr-site .cta-copy h2 { font-style: italic; font-weight: 800; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.02; }
#vr-site.vr-site .cta-copy p { margin: 16px 0 0; color: var(--rose-soft); font-size: 20px; }
#vr-site.vr-site .cta-copy .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

#vr-site.vr-site .cta-copy { min-width: 0; }
#vr-site.vr-site .newsletter { flex: 1 1 360px; min-width: 0; background: rgba(255,255,255,.08); border-radius: 20px; padding: 28px; }
#vr-site.vr-site .newsletter h3 { font-weight: 700; font-size: 24px; line-height: 1.2; }
@media (max-width: 480px) { #vr-site.vr-site .newsletter { padding: 22px; } #vr-site.vr-site .cta { padding: 28px 22px; } }
#vr-site.vr-site .newsletter > p { margin: 6px 0 16px; color: var(--rose-soft); font-size: 15px; }

/* CMS newsletter form */
#vr-site.vr-site .defaultForm, #vr-site.vr-site .defaultForm form, #vr-site.vr-site .defaultForm #form_wrap { width: 100%; max-width: 100%; }
#vr-site.vr-site .defaultForm .inputset { margin-bottom: 14px; }
#vr-site.vr-site .defaultForm label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; color: var(--white); }
#vr-site.vr-site .defaultForm input.text {
  display: block; width: 100%; max-width: 100%; min-height: 50px; border-radius: 999px; border: 0; padding: 0 20px;
  font-family: var(--font-body); font-size: 16px; color: var(--ink); background: var(--white);
}
#vr-site.vr-site .defaultForm input.text::placeholder { color: #8A7F84; }
#vr-site.vr-site .defaultForm .form_submit { margin-top: 4px; }
#vr-site.vr-site .defaultForm .fbElementButton {
  min-height: 50px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 16px;
}
#vr-site.vr-site .defaultForm .fbElementButton:hover { background: #000; }

/* ---------- Footer ---------- */
#vr-site.vr-site .site-footer { background: var(--ink); color: #CFC6CA; }
#vr-site.vr-site .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 40px; }
#vr-site.vr-site .footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
#vr-site.vr-site .footer-logo { height: 100px; width: auto; }
#vr-site.vr-site .footer-silks { height: 96px; width: auto; }
#vr-site.vr-site .member-logos { margin-top: 24px; width: 100%; max-width: 240px; height: auto; }
#vr-site.vr-site .footer-note { margin: 20px 0 0; font-size: 15px; max-width: 260px; }
#vr-site.vr-site .footer-title { margin: 0 0 14px; color: var(--white); font-weight: 600; }
/* Footer navigation: CMS markup <div class="nav" id="navInsfooter-nav"><ul id="footer-nav" class="menu"> */
#vr-site.vr-site .site-footer #navInsfooter-nav,
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav,
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li,
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li > a {
  float: none; width: auto; height: auto; min-height: 0; margin: 0; padding: 0;
  background: none; border: 0; box-shadow: none; text-indent: 0; text-shadow: none; text-align: left;
}
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li { list-style: none; display: block; position: static; }
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li::before, #vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li::after { content: none; display: none; }
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li > a {
  display: inline-block; color: #CFC6CA; font-family: var(--font-body); font-weight: 400; font-size: 15px; line-height: 1.5;
  text-decoration: none; text-transform: none; letter-spacing: normal;
}
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li > a:hover, #vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li > a:focus-visible { color: var(--white); }
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li.selected > a, #vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li.current > a, #vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li.active > a, #vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li > a[aria-current] { color: var(--rose); }
/* Client's preferred order (remove once set in the CMS) */
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li:has(> a[href="/"]) { order: 0; }
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li:has(> a[href$="/who-we-are/"]) { order: 1; }
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li:has(> a[href$="/our-horses/"]) { order: 2; }
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li:has(> a[href$="/our-trainers/"]) { order: 3; }
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li:has(> a[href$="/news/"]) { order: 4; }
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li:has(> a[href$="/club-ambassador/"]) { order: 5; }
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li:has(> a[href$="/shares-available/"]) { order: 6; }
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li:has(> a[href$="/gallery/"]) { order: 7; }
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li:has(> a[href$="/contact/"]) { order: 8; }
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li:has(> a[href$="/shop/"]) { order: 9; }
#vr-site.vr-site .site-footer #navInsfooter-nav #footer-nav > li:has(> a[href$="/login/"]) { order: 10; }
#vr-site.vr-site .footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
#vr-site.vr-site .site-footer a { color: #CFC6CA; text-decoration: none; }
#vr-site.vr-site .site-footer a:hover { color: var(--white); }
#vr-site.vr-site .footer-contact a { display: flex; align-items: center; gap: 10px; }
#vr-site.vr-site .footer-contact i { color: var(--rose); width: 16px; }
#vr-site.vr-site .social { display: flex; gap: 12px; margin-top: 20px; }
#vr-site.vr-site .social a {
  width: 44px; height: 44px; border-radius: 999px; background: #2A2226; color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
#vr-site.vr-site .social a:hover { background: var(--burgundy); color: var(--white); }
#vr-site.vr-site .footer-bottom { border-top: 1px solid var(--line-dark); padding-top: 20px; padding-bottom: 32px; font-size: 14px; color: #A89EA3; }

/* What we offer to members: green tick circles on plain <li> items (no classes needed) */
#vr-site.vr-site .offers ul {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px;
}
#vr-site.vr-site .offers ul > li {
  position: relative; display: block; float: none; list-style: none;
  margin: 0; padding: 0 0 0 38px; min-height: 24px; background: none; border: 0;
  font-size: 16px; line-height: 1.6; color: #2C2629; text-align: left;
}
#vr-site.vr-site .offers ul > li::marker { content: none; }
#vr-site.vr-site .offers ul > li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; margin: 0;
  border: 0; border-radius: 50%; transform: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%232E8540'/%3E%3Cpath d='M7 12.4l3.2 3.2L17.2 8.6' fill='none' stroke='%23FFFFFF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
}
#vr-site.vr-site .offers ul > li::after { content: none; display: none; }

/* Big Race Wins: trophy icon on plain <li> items (no classes needed) */
#vr-site.vr-site .big-races ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 4px 32px;
}
#vr-site.vr-site .big-races ul > li {
  position: relative; display: block; float: none; list-style: none;
  margin: 0; padding: 10px 0 10px 30px; background: none;
  border: 0; border-bottom: 1px solid rgba(255,255,255,.14);
  color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.4; text-align: left;
}
#vr-site.vr-site .big-races ul > li::marker { content: none; }
#vr-site.vr-site .big-races ul > li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 18px; height: 16px; margin: 0;
  border: 0; border-radius: 0; transform: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='%23D9A9BE' d='M400 0L176 0c-26.5 0-48.1 21.8-47.1 48.2c.2 5.3 .4 10.6 .7 15.8L24 64C10.7 64 0 74.7 0 88c0 92.6 33.5 157 78.5 200.7c44.3 43.1 98.3 64.8 138.1 75.8c23.4 6.5 39.4 26 39.4 45.6c0 20.9-17 37.9-37.9 37.9L192 448c-17.7 0-32 14.3-32 32s14.3 32 32 32l192 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-26.1 0C337 448 320 431 320 410.1c0-19.6 15.9-39.2 39.4-45.6c39.9-11 93.9-32.7 138.2-75.8C542.5 245 576 180.6 576 88c0-13.3-10.7-24-24-24L446.4 64c.3-5.2 .5-10.4 .7-15.8C448.1 21.8 426.5 0 400 0zM48.9 112l84.4 0c9.1 90.1 29.2 150.3 51.9 190.6c-24.9-11-50.8-26.5-73.2-48.3c-32-31.1-58-76-63-142.3zM464.1 254.3c-22.4 21.8-48.3 37.3-73.2 48.3c22.7-40.3 42.8-100.5 51.9-190.6l84.4 0c-5.1 66.3-31.1 111.2-63 142.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
#vr-site.vr-site .big-races ul > li::after { content: none; display: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #vr-site.vr-site *, #vr-site.vr-site *::before, #vr-site.vr-site *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.inner-content-wrapper {padding: 75px 0px !important;}


/* ==========================================================
   INNER PAGE – new styles only (add to the end of css/style.css)
   ========================================================== */

/* ---------- Page banner ---------- */
#vr-site.vr-site .page-banner {
  position: relative; overflow: hidden;
  min-height: clamp(360px, 38vw, 480px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--burgundy-deep); color: var(--white);
}
#vr-site.vr-site .page-banner-img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 50%; z-index: 0;
}
/* Soft fade at the bottom so the title is readable on any photo */
#vr-site.vr-site .page-banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 65%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(20,10,16,.75), rgba(20,10,16,0));
}
/* The existing .site-header is absolutely positioned at the top of the banner (z-index 20) */
#vr-site.vr-site .page-banner-inner {
  position: relative; z-index: 2; width: 100%;
  padding-top: 150px; /* keeps the title clear of the navigation bar */
  padding-bottom: 44px;
}
/* Page title: targets any h1 in the banner (with or without the .page-title class).
   !important on the key properties so old-site h1 rules can't shrink or restyle it. */
#vr-site.vr-site .page-banner .page-banner-inner { text-align: center !important; }
#vr-site.vr-site .page-banner .page-banner-inner h1,
#vr-site.vr-site .page-banner h1.page-title {
  display: block; width: 100%; margin: 0 auto !important; padding: 0 !important;
  color: var(--white) !important; background: none !important; border: 0 !important;
  font-family: var(--font-display) !important; font-style: italic !important; font-weight: 800 !important;
  font-size: 40px !important; line-height: 1.15 !important; letter-spacing: .02em !important;
  text-transform: none !important; text-align: center !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.45) !important;
}
#vr-site.vr-site .page-banner .page-banner-inner .page-intro { margin-left: auto; margin-right: auto; text-align: center; }
#vr-site.vr-site .page-intro {
  margin: 12px 0 0; max-width: 680px; color: #F0DCE5; font-size: 18px; line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}


@media (max-width: 600px) {
  #vr-site.vr-site .page-banner { min-height: 300px; }
  #vr-site.vr-site .page-banner-inner { padding-top: 130px; padding-bottom: 28px; }
  #vr-site.vr-site .page-intro { font-size: 16px; }
}



/* ---------- Page content ---------- */
#vr-site.vr-site .page-content { background: var(--white); padding: 0; }
#vr-site.vr-site .content-body { max-width: 820px; color: var(--muted); font-size: 18px; line-height: 1.7; }
#vr-site.vr-site .content-body > *:first-child { margin-top: 0; }
#vr-site.vr-site .content-body > *:last-child { margin-bottom: 0; }

#vr-site.vr-site .content-body h2,
#vr-site.vr-site .content-body h3,
#vr-site.vr-site .content-body h4 {
  color: var(--burgundy); font-family: var(--font-display); font-style: italic; font-weight: 700; line-height: 1.15;
}
#vr-site.vr-site .content-body h2 { font-size: clamp(26px, 3vw, 36px); margin: 48px 0 16px; }
#vr-site.vr-site .content-body h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 36px 0 12px; }
#vr-site.vr-site .content-body h4 { font-size: 20px; margin: 28px 0 10px; }
#vr-site.vr-site .content-body p { margin: 0 0 18px; }
#vr-site.vr-site .content-body strong { color: var(--ink); font-weight: 600; }

#vr-site.vr-site .content-body a { color: var(--burgundy); text-decoration: underline; text-underline-offset: 3px; }
#vr-site.vr-site .content-body a:hover { color: var(--ink); }

#vr-site.vr-site .content-body ul,
#vr-site.vr-site .content-body ol { margin: 0 0 18px; padding-left: 24px; }
#vr-site.vr-site .content-body ul { list-style: disc; }
#vr-site.vr-site .content-body ol { list-style: decimal; }
#vr-site.vr-site .content-body li { display: list-item; list-style: inherit; margin: 0 0 8px; padding: 0; background: none; float: none; }
#vr-site.vr-site .content-body li::marker { color: var(--burgundy); }

#vr-site.vr-site .content-body img { max-width: 100%; height: auto; border-radius: 16px; margin: 8px 0 24px; }
#vr-site.vr-site .content-body blockquote {
  margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--burgundy); background: #F6F2F4;
  border-radius: 0 12px 12px 0; color: #2C2629; font-size: 19px;
}
#vr-site.vr-site .content-body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

#vr-site.vr-site .content-body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; }
#vr-site.vr-site .content-body th,
#vr-site.vr-site .content-body td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
#vr-site.vr-site .content-body th { color: var(--ink); font-weight: 600; background: #F6F2F4; }


/* Wide tables scroll on phones instead of pushing the page sideways */
@media (max-width: 700px) {
  #vr-site.vr-site .content-body table { display: block; overflow-x: auto; white-space: nowrap; }
  #vr-site.vr-site .content-body { font-size: 17px; }
}/* ==========================================================
   ADDITIONS – add to the end of style-26.css
   ========================================================== */

/* ---------- "red-btn" links (horse summary + Back to Horses) as purple buttons ---------- */
#vr-site.vr-site .horse-summary-item.match div.horse-link a.red-btn,
#vr-site.vr-site .back-btn a.red-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  float: none; width: auto; height: auto; min-height: 44px; margin: 0;
  padding: 11px 24px; border-radius: 999px; border: 1.5px solid var(--burgundy) !important;
  background: var(--burgundy) !important; background-image: none !important; color: var(--white) !important;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; text-transform: none; letter-spacing: normal; text-shadow: none; box-shadow: none;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
#vr-site.vr-site .horse-summary-item.match div.horse-link a.red-btn:hover,
#vr-site.vr-site .horse-summary-item.match div.horse-link a.red-btn:focus-visible,
#vr-site.vr-site .back-btn a.red-btn:hover,
#vr-site.vr-site .back-btn a.red-btn:focus-visible {
  background: #3A1426 !important; border-color: #3A1426 !important; color: var(--white) !important;
}
#vr-site.vr-site .horse-summary-item.match div.horse-link a.red-btn:focus-visible,
#vr-site.vr-site .back-btn a.red-btn:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

/* ---------- Headings inside .inner-content-wrapper ---------- */
#vr-site.vr-site .inner-content-wrapper h1,
#vr-site.vr-site .inner-content-wrapper h2,
#vr-site.vr-site .inner-content-wrapper h3,
#vr-site.vr-site .inner-content-wrapper h4,
#vr-site.vr-site .inner-content-wrapper h5,
#vr-site.vr-site .inner-content-wrapper h6 {
  display: block; padding: 0; background: none; border: 0; text-shadow: none; text-align: left;
  color: var(--burgundy) !important; font-family: var(--font-display) !important; font-weight: 700 !important;
  font-style: italic; text-transform: none; letter-spacing: normal; line-height: 1.15;
}
#vr-site.vr-site .inner-content-wrapper h1 { font-size: 40px !important; font-weight: 800 !important; line-height: 1.1; }
#vr-site.vr-site .inner-content-wrapper h2 { font-size: 32px !important; }
#vr-site.vr-site .inner-content-wrapper h3 { font-size: 26px !important; }
#vr-site.vr-site .inner-content-wrapper h4 { font-size: 22px !important; }
#vr-site.vr-site .inner-content-wrapper h5 { font-size: 18px !important; }
#vr-site.vr-site .inner-content-wrapper h6 {
  font-size: 15px !important; font-style: normal; text-transform: uppercase; letter-spacing: .1em;
}
@media (max-width: 600px) {
  #vr-site.vr-site .inner-content-wrapper h1 { font-size: 32px !important; }
  #vr-site.vr-site .inner-content-wrapper h2 { font-size: 27px !important; }
  #vr-site.vr-site .inner-content-wrapper h3 { font-size: 23px !important; }
  #vr-site.vr-site .inner-content-wrapper h4 { font-size: 20px !important; }
}

/* ---------- Pagination (CMS: .pagination > ul > li) ----------
   li.active = current page, li.p_active = Prev/Next not available */
#vr-site.vr-site .pagination { margin: 32px 0; padding: 0; background: none; border: 0; text-align: center; }
#vr-site.vr-site .pagination ul {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px;
  list-style: none; margin: 0; padding: 0;
}
#vr-site.vr-site .pagination ul > li {
  display: block; float: none; list-style: none; margin: 0; padding: 0;
  background: none; border: 0; font-family: var(--font-body); font-size: 16px; line-height: 1;
}
#vr-site.vr-site .pagination ul > li::before,
#vr-site.vr-site .pagination ul > li::after,
#vr-site.vr-site .pagination ul > li::marker { content: none; display: none; }

/* Shared box shape for links, the current page and disabled Prev/Next */
#vr-site.vr-site .pagination ul > li > a,
#vr-site.vr-site .pagination ul > li.active,
#vr-site.vr-site .pagination ul > li.p_active {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 16px; box-sizing: border-box;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none; text-transform: none; letter-spacing: normal;
  transition: background-color .15s, border-color .15s, color .15s;
}
#vr-site.vr-site .pagination ul > li > a:hover,
#vr-site.vr-site .pagination ul > li > a:focus-visible {
  background: var(--tint); border-color: var(--burgundy); color: var(--burgundy);
}
#vr-site.vr-site .pagination ul > li > a:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
/* Current page */
#vr-site.vr-site .pagination ul > li.active { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
/* Prev/Next when there's nowhere to go */
#vr-site.vr-site .pagination ul > li.p_active { background: transparent; border-color: var(--line); color: #A89EA3; cursor: default; }
/* Hidden page-count field sits between forms; keep forms from adding gaps */
#vr-site.vr-site form[name="pageHeader"],
#vr-site.vr-site form[name="pageFooter"] { margin: 0; padding: 0; }

/* ---------- Gallery: images fill each .image-gallery-link without squashing ----------
   Works whether the CMS outputs an <img> inside the link or sets the photo as a background. */
#vr-site.vr-site a.image-gallery-link {
  display: block; position: relative; width: 100%; max-width: 100%; height: auto;
  aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background-color: #EFECEE;
  background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important;
}
#vr-site.vr-site a.image-gallery-link img {
  display: block; position: absolute; inset: 0;
  width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important;
  margin: 0; padding: 0; border: 0;
  object-fit: cover; object-position: center;
  transition: transform .3s ease;
}
#vr-site.vr-site a.image-gallery-link:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { #vr-site.vr-site a.image-gallery-link img { transition: none; } }

/* ---------- Contact form (CMS .defaultForm): purple panel, white fields, white button ----------
   The newsletter form uses the same CMS markup; it keeps its own look (see the .newsletter overrides below). */
#vr-site.vr-site .defaultForm {
  box-sizing: border-box; background: var(--burgundy); color: var(--white);
  border-radius: 24px; padding: clamp(24px, 4vw, 40px); margin: 0 0 32px;
}
#vr-site.vr-site .defaultForm form,
#vr-site.vr-site .defaultForm #form_wrap { margin: 0; padding: 0; background: none; border: 0; float: none; }
#vr-site.vr-site .defaultForm .inputset { float: none; width: 100%; margin: 0 0 18px; padding: 0; background: none; border: 0; }
#vr-site.vr-site .defaultForm label {
  display: block; float: none; width: auto; margin: 0 0 8px; padding: 0; text-align: left;
  color: var(--white) !important; font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.3;
}
#vr-site.vr-site .defaultForm input.text,
#vr-site.vr-site .defaultForm textarea {
  display: block; box-sizing: border-box; width: 100% !important; max-width: 100%; margin: 0; float: none;
  border: 2px solid transparent !important; border-radius: 12px !important; background: var(--white) !important;
  color: var(--ink) !important; font-family: var(--font-body); font-size: 16px; line-height: 1.5; box-shadow: none;
  transition: border-color .15s, box-shadow .15s;
}
#vr-site.vr-site .defaultForm input.text { height: 52px; min-height: 52px; padding: 0 16px; }
#vr-site.vr-site .defaultForm textarea { min-height: 170px; padding: 14px 16px; resize: vertical; }
#vr-site.vr-site .defaultForm input.text:focus,
#vr-site.vr-site .defaultForm textarea:focus {
  outline: none; border-color: var(--rose) !important; box-shadow: 0 0 0 3px rgba(217,169,190,.45);
}
/* Validation code image */
#vr-site.vr-site .defaultForm .inputset img {
  display: block; max-width: 100%; height: auto; margin: 10px 0 0; padding: 6px;
  background: var(--white); border-radius: 10px;
}
/* Submit: white button with purple text */
#vr-site.vr-site .defaultForm .form_submit { margin: 6px 0 0; padding: 0; text-align: left; }
#vr-site.vr-site .defaultForm .fbElementButton {
  display: inline-flex; align-items: center; justify-content: center; width: auto; height: auto; min-height: 52px;
  margin: 0; padding: 0 32px; border: 2px solid var(--white) !important; border-radius: 999px !important;
  background: var(--white) !important; background-image: none !important; color: var(--burgundy) !important;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; text-transform: none; letter-spacing: normal;
  box-shadow: none; text-shadow: none; cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: background-color .15s, color .15s;
}
#vr-site.vr-site .defaultForm .fbElementButton:hover,
#vr-site.vr-site .defaultForm .fbElementButton:focus-visible {
  background: var(--rose-soft) !important; color: var(--ink) !important;
}
#vr-site.vr-site .defaultForm .fbElementButton:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

/* Newsletter (already sits in a purple box): no extra panel, pill fields, black button */
#vr-site.vr-site .newsletter .defaultForm { background: none; padding: 0; margin: 0; border-radius: 0; }
#vr-site.vr-site .newsletter .defaultForm label { font-size: 14px; }
#vr-site.vr-site .newsletter .defaultForm input.text { height: 50px; min-height: 50px; padding: 0 20px; border-radius: 999px !important; }
#vr-site.vr-site .newsletter .defaultForm .fbElementButton {
  min-height: 50px; padding: 0 28px; border-color: var(--ink) !important; background: var(--ink) !important; color: var(--white) !important; font-weight: 600;
}
#vr-site.vr-site .newsletter .defaultForm .fbElementButton:hover { background: #000 !important; border-color: #000 !important; color: var(--white) !important; }

/* ---------- Contact page side column (.right__col) ---------- */
#vr-site.vr-site .right__col {
  box-sizing: border-box; background: #EFECEE; border: 1px solid #D6CDD1; border-radius: 24px;
  padding: 32px; color: var(--muted); font-size: 16px; line-height: 1.6;
}
#vr-site.vr-site .right__col h2 {
  margin: 0 0 16px !important; padding: 0;
  color: var(--burgundy) !important; font-family: var(--font-display) !important; font-style: italic;
  font-weight: 700 !important; font-size: 28px !important; line-height: 1.15;
}
#vr-site.vr-site .right__col p { margin: 0 0 14px; color: var(--muted); }
#vr-site.vr-site .right__col p:last-child { margin-bottom: 0; }
#vr-site.vr-site .right__col img {
  display: block; width: 100% !important; height: auto !important; max-width: 100%;
  margin: 0; border-radius: 16px; object-fit: cover;
}
#vr-site.vr-site .right__col a { color: var(--burgundy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
#vr-site.vr-site .right__col a:hover { color: var(--ink); }
@media (max-width: 600px) { #vr-site.vr-site .right__col { padding: 24px; } }

/* ---------- Members login form (CMS #subscriberLoginForm) ----------
   Matches the contact form: purple panel, white fields, white button. */
#vr-site.vr-site #subscriberLoginForm { margin: 0 0 32px; padding: 0; background: none; border: 0; }
#vr-site.vr-site #subscriberLoginForm .subscriberLogin {
  box-sizing: border-box; width: 100%; margin: 0;
  background: var(--burgundy); color: var(--white);
  border-radius: 24px; padding: clamp(24px, 4vw, 40px); border: 0; float: none;
}
#vr-site.vr-site #subscriberLoginForm .subscriberLoginItemWrap {
  float: none; width: 100%; margin: 0 0 18px; padding: 0; background: none; border: 0; overflow: visible;
}
#vr-site.vr-site #subscriberLoginForm .subscriberLoginItemTitle {
  display: block; float: none; width: auto; margin: 0 0 8px; padding: 0; text-align: left;
  color: var(--white) !important; font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.3;
  background: none; border: 0;
}
#vr-site.vr-site #subscriberLoginForm .subscriberLoginItemInput { float: none; width: 100%; margin: 0; padding: 0; background: none; border: 0; }
#vr-site.vr-site #subscriberLoginForm .subscriberLoginItemInput input {
  display: block; box-sizing: border-box; width: 100% !important; max-width: 100%; height: 52px; min-height: 52px;
  margin: 0; padding: 0 16px; float: none;
  border: 2px solid transparent !important; border-radius: 12px !important; background: var(--white) !important;
  color: var(--ink) !important; font-family: var(--font-body); font-size: 16px; line-height: 1.5; box-shadow: none;
  transition: border-color .15s, box-shadow .15s;
}
#vr-site.vr-site #subscriberLoginForm .subscriberLoginItemInput input:focus {
  outline: none; border-color: var(--rose) !important; box-shadow: 0 0 0 3px rgba(217,169,190,.45);
}

/* Login button and Password Reminder link sit side by side */
#vr-site.vr-site #subscriberLoginForm .subscriberLoginItemButtonWrap,
#vr-site.vr-site #subscriberLoginForm .subscriberLoginPasswordWrap {
  display: inline-flex; align-items: center; vertical-align: middle; float: none; width: auto;
  margin: 6px 20px 0 0; padding: 0; background: none; border: 0;
}
#vr-site.vr-site #subscriberLoginForm a.subscriberLoginItemButtonWrapButton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; width: auto; height: auto;
  margin: 0; padding: 0 36px; border: 2px solid var(--white) !important; border-radius: 999px !important;
  background: var(--white) !important; background-image: none !important; color: var(--burgundy) !important;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none;
  text-transform: none; letter-spacing: normal; box-shadow: none; text-shadow: none; cursor: pointer;
  transition: background-color .15s, color .15s;
}
#vr-site.vr-site #subscriberLoginForm a.subscriberLoginItemButtonWrapButton:hover,
#vr-site.vr-site #subscriberLoginForm a.subscriberLoginItemButtonWrapButton:focus-visible {
  background: var(--rose-soft) !important; color: var(--ink) !important;
}
#vr-site.vr-site #subscriberLoginForm a.subscriberLoginPasswordWrapButton {
  display: inline-block; padding: 0; margin: 0; background: none !important; border: 0 !important;
  color: var(--white) !important; font-family: var(--font-body); font-weight: 500; font-size: 15px;
  text-decoration: underline; text-underline-offset: 3px; text-transform: none; letter-spacing: normal;
}
#vr-site.vr-site #subscriberLoginForm a.subscriberLoginPasswordWrapButton:hover { color: var(--rose-soft) !important; }
#vr-site.vr-site #subscriberLoginForm a:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

/* ---------- Horse page: trainer and age headings, smaller and black ----------
   Covers <h2 class="horse-trainer"> as well as an h2 inside .horse-trainer (same for .horse-age).
   Stronger than the .inner-content-wrapper heading rules, so these win. */
#vr-site.vr-site .inner-content-wrapper .horse-trainer h2,
#vr-site.vr-site .inner-content-wrapper h2.horse-trainer,
#vr-site.vr-site .inner-content-wrapper .horse-age h2,
#vr-site.vr-site .inner-content-wrapper h2.horse-age,
#vr-site.vr-site .horse-trainer h2,
#vr-site.vr-site h2.horse-trainer,
#vr-site.vr-site .horse-age h2,
#vr-site.vr-site h2.horse-age {
  color: var(--ink) !important; font-size: 20px !important; line-height: 1.3;
}

/* Password Reminder link hidden */
#vr-site.vr-site #subscriberLoginForm .subscriberLoginPasswordWrap,
#vr-site.vr-site #subscriberLoginForm .subscriberLoginPasswordWrap a.subscriberLoginPasswordWrapButton { display: none !important; }

/* ---------- Trainers list (CMS .staff__list > .staff-item) ----------
   Each trainer in a light grey card: photo on the left, name and bio on the right; stacks on phones. */
#vr-site.vr-site .staff__list { display: flex; flex-direction: column; gap: 24px; margin: 0; padding: 0; }
#vr-site.vr-site .staff__list .staff-item {
  box-sizing: border-box; float: none; width: 100%; margin: 0;
  background: #EFECEE; border: 1px solid #D6CDD1; border-radius: 24px; padding: clamp(22px, 3vw, 36px);
  display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  grid-template-areas: "img name" "img details"; grid-template-rows: auto 1fr; gap: 12px 36px;
}
/* .group clearfix pseudo-elements would become grid items, so remove them */
#vr-site.vr-site .staff__list .staff-item::before,
#vr-site.vr-site .staff__list .staff-item::after { content: none; display: none; }
#vr-site.vr-site .staff__list .staff-bio { display: contents; }
#vr-site.vr-site .staff__list .staff-name { grid-area: name; float: none; width: auto; margin: 0; padding: 0; }
#vr-site.vr-site .staff__list .staff-img { grid-area: img; float: none; width: auto; margin: 0; padding: 0; }
#vr-site.vr-site .staff__list .staff-details { grid-area: details; float: none; width: auto; margin: 0; padding: 0; }

#vr-site.vr-site .staff__list .staff-name h3 {
  margin: 0 !important; padding: 0;
  color: var(--burgundy) !important; font-family: var(--font-display) !important; font-style: italic;
  font-weight: 800 !important; font-size: 28px !important; line-height: 1.15; letter-spacing: .01em;
}
#vr-site.vr-site .staff__list .staff-img img {
  display: block; width: 100% !important; height: auto !important; max-width: 100%;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
  border-radius: 16px; margin: 0; padding: 0; border: 0; float: none;
}
#vr-site.vr-site .staff__list .staff-details p { margin: 0 0 14px; color: var(--muted); font-size: 16px; line-height: 1.7; }
#vr-site.vr-site .staff__list .staff-details p:last-child { margin-bottom: 0; }
#vr-site.vr-site .staff__list .staff-details strong { color: var(--burgundy); font-weight: 700; }

@media (max-width: 760px) {
  #vr-site.vr-site .staff__list .staff-item {
    grid-template-columns: minmax(0, 1fr); grid-template-areas: "img" "name" "details"; grid-template-rows: auto; gap: 16px;
  }
  #vr-site.vr-site .staff__list .staff-img img { aspect-ratio: 4 / 3; object-position: center 25%; }
  #vr-site.vr-site .staff__list .staff-name h3 { font-size: 24px !important; }
}