/* v1.56 — forest green navigation, selected homepage concept 2. */
.site-header{display:flex;flex-direction:column;align-items:stretch;gap:0;height:auto;min-height:0;padding:0;background:#faf6eb;border-bottom:0}
.site-header .header-brands{display:flex;align-items:center;justify-content:flex-start;gap:24px;width:100%;max-width:1440px;margin:0 auto;padding:18px 4%;box-sizing:border-box}
.site-header .brand{width:360px;height:86px;flex:0 1 360px;overflow:visible}
.site-header .brand img{width:100%;height:100%;max-width:100%;object-fit:contain}
.site-header .header-ror{padding-left:20px;border-left:1px solid #d6dacd;flex:none}
.site-header .header-ror img{height:64px!important;max-width:84px!important}
.site-header .header-credentials{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;margin-left:auto;padding:8px 0 8px 24px!important;border-top:0;border-left:1px solid #b8bda9;max-width:560px!important;white-space:normal;text-align:left}
.site-header .header-credentials strong{font:italic 24px/1.3 Georgia,serif!important;letter-spacing:0;color:#02733D}
.site-header .header-credentials .credential-line{font:15px/1.5 Arial,sans-serif!important;margin:0;white-space:normal}
.site-header nav.main-nav{display:flex!important;align-items:center;justify-content:center;flex-wrap:nowrap;gap:clamp(8px,1.4vw,24px)!important;width:100%;max-width:none;margin:0;padding:12px 4%;background:#02733D;border:0;box-shadow:none;box-sizing:border-box}
.site-header nav.main-nav a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 14px!important;border:0!important;border-radius:3px;font:600 20px/1.35 Georgia,serif!important;letter-spacing:0;color:#faf6eb!important;text-decoration:none;white-space:nowrap;box-sizing:border-box}
.site-header nav.main-nav a.active:not(.nav-contact){background:#07834B;color:#fff!important}
.site-header nav.main-nav a:hover{background:#005A30;color:#fff!important}
.site-header nav.main-nav a.nav-contact{background:#faf1dc!important;color:#02733D!important;border:1px solid #faf1dc!important}
.site-header nav.main-nav a.nav-contact:hover,.site-header nav.main-nav a.nav-contact.active{background:#dfd4b9!important;color:#02733D!important}
.site-header nav.main-nav a:focus-visible,.site-header .mobile-menu-toggle:focus-visible{outline:3px solid #dcba7b;outline-offset:4px}
.site-header .mobile-menu-toggle{display:none}
@media(max-width:1100px){
 .site-header .header-brands{gap:18px;padding:16px 3%}
 .site-header .brand{width:300px;flex-basis:300px;height:76px}
 .site-header .header-credentials strong{font-size:20px!important}
 .site-header .header-credentials .credential-line{font-size:13px!important}
 .site-header nav.main-nav{gap:8px!important;padding-inline:20px}
 .site-header nav.main-nav a{padding-inline:8px!important}
}
@media(max-width:950px){
 .site-header .header-brands{padding:14px 24px;flex-wrap:wrap;gap:12px}
 .site-header .brand{width:290px;flex:0 1 290px;height:70px}
 .site-header .header-ror{padding-left:12px}
 .site-header .header-ror img{height:50px!important;max-width:68px!important}
 .site-header .header-credentials{width:100%;max-width:none!important;margin:0;padding:8px 0 0!important;align-items:center;border-left:0;border-top:1px solid #d6dacd;text-align:center}
 .site-header .header-credentials strong{font-size:18px!important}
 .site-header .header-credentials .credential-line{font-size:12px!important}
 .site-header .mobile-menu-toggle{display:flex;position:static;align-self:flex-end;flex-direction:row;gap:10px;width:auto;height:48px;margin:0 24px 12px;padding:10px 16px;background:#02733D;color:#faf6eb;border-radius:3px;font:600 17px/1.3 Arial,sans-serif}
 .site-header .mobile-menu-toggle .menu-icon{display:flex;flex-direction:column;gap:4px;background:none;width:20px;height:auto}
 .site-header .mobile-menu-toggle .menu-icon span{width:20px;height:2px;background:currentColor;transform:none;opacity:1}
 .site-header .mobile-menu-toggle[aria-expanded=true] .menu-icon span:nth-child(1){transform:translateY(6px) rotate(45deg)}
 .site-header .mobile-menu-toggle[aria-expanded=true] .menu-icon span:nth-child(2){opacity:0}
 .site-header .mobile-menu-toggle[aria-expanded=true] .menu-icon span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
 .site-header nav.main-nav{display:none!important}
 .site-header.menu-open nav.main-nav{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important;width:100%;max-width:none;padding:16px 24px;margin:0;max-height:60vh;max-height:60dvh;overflow:auto}
 .site-header.menu-open nav.main-nav a{font-size:19px!important;min-height:48px;padding:12px 8px!important;white-space:normal;text-align:center}
 .site-header.menu-open nav.main-nav .nav-contact{grid-column:1/-1}
}
@media(max-width:540px){
 .site-header .header-brands{padding:10px 16px;gap:10px;justify-content:center}
 .site-header .brand{width:230px;height:58px;flex:0 1 230px;min-width:0}
 .site-header .header-ror img{height:40px!important;max-width:52px!important}
 .site-header .header-credentials strong{font-size:16px!important}
 .site-header .header-credentials .credential-line{font-size:11px!important}
 .site-header .mobile-menu-toggle{margin:0 16px 10px;height:44px}
 .site-header.menu-open nav.main-nav{padding:12px 16px}
}
@media(max-width:360px){.site-header .brand{flex-basis:205px}.site-header .header-ror{padding-left:8px}.site-header .header-ror img{max-width:44px!important}}
@media(prefers-reduced-motion:reduce){.site-header nav.main-nav,.site-header .mobile-menu-toggle span{transition:none}}
.site-header .mobile-menu-toggle[aria-expanded=true]>.menu-icon{transform:none;opacity:1}
@media(max-width:950px){
 .site-header .header-brands{order:-1}
 .site-header.menu-open nav.main-nav{background:#02733D;border:0;box-shadow:none}
 .site-header .mobile-menu-toggle .menu-icon{display:none}
 .site-header .mobile-menu-toggle::before{content:'☰';font-size:22px;line-height:1}
 .site-header .mobile-menu-toggle[aria-expanded=true]::before{content:'×';font-size:26px}
}

/* v1.57 — lead with copy and avoid repeating the page hero on phones. */
@media(max-width:800px){
 .internal-page>.story:first-child>.story-copy{order:-1}
 .internal-page>.story.story-hero-repeat>.story-photo{display:none}
 .internal-page>.story.story-hero-repeat{grid-template-columns:minmax(0,1fr);gap:0}
}
/* v1.59 — full-size gallery image previews and current RoR branding. */
.footer-balanced .footer-tile img[alt="RoR Approved Retrainer 2026"]{width:48px;height:48px;flex:0 0 48px;mix-blend-mode:normal}
.gallery-image-open{display:block;width:100%;padding:0;background:transparent;border:0;cursor:zoom-in}
.gallery-image-open:focus-visible{outline:3px solid #9d6639;outline-offset:3px}
.image-preview-dialog{width:min(960px,calc(100vw - 24px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow:auto;margin:auto;padding:20px;border:1px solid #cbd3c9;background:#faf8f0;color:#02733D}
.image-preview-dialog::backdrop{background:#005A30d9}
.image-preview-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.image-preview-dialog h2{font-size:24px;margin:0;overflow-wrap:anywhere}
.image-preview-dialog .image-preview-full{display:block;width:100%;height:auto;max-height:60vh;object-fit:contain;background:#fff;touch-action:auto;user-select:auto;-webkit-touch-callout:default}
.image-save-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.image-save-actions a,.image-preview-button,.image-preview-dialog header button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;box-sizing:border-box}
.image-preview-dialog p{font-size:14px;line-height:1.6;margin-top:16px}
@media(max-width:540px){.image-preview-dialog{padding:16px}.image-preview-dialog h2{font-size:20px}.image-save-actions a{flex:1}}

/* v1.60 — Services page. */
.services-intro{max-width:820px;padding-top:64px;padding-bottom:80px}
.services-intro h2{font-size:clamp(32px,4vw,48px);line-height:1.15;margin:14px 0 28px}
.services-intro>p:not(.eyebrow){font-size:17px;line-height:1.9;color:#596351;margin:0 0 24px}
.services-intro>.button{margin-top:12px}
@media(max-width:800px){.services-intro{padding-top:44px;padding-bottom:56px}.services-intro>p:not(.eyebrow){font-size:16px;line-height:1.8}}

/* v1.64 — horse brochure badge and consistent footer links */
.site-header .header-brochure{display:flex;flex:0 0 auto;align-items:center;gap:9px;text-decoration:none;color:#02733D;min-width:0}
.site-header .brochure-circle{width:66px;height:66px;display:flex;justify-content:center;align-items:center;border-radius:50%;background:#02733D;color:#fff;box-shadow:inset 0 0 0 2px #02733D,inset 0 0 0 5px #f8f5ea;transition:background .2s,transform .2s}
.site-header .brochure-horse-icon{display:block;width:40px;height:auto;max-width:none}
.site-header .brochure-caption{font:600 12px/1.25 Arial,sans-serif;letter-spacing:.01em;text-transform:uppercase;white-space:nowrap}
.site-header .header-brochure:hover .brochure-circle{background:#005A30;transform:translateY(-2px)}
.site-header .header-brochure:focus-visible{outline:3px solid #bd9361;outline-offset:5px;border-radius:4px}
.footer-social-row{display:flex;justify-content:center;margin:0 0 16px}
.footer-balanced .footer-facebook-feature{width:min(100%,380px);min-height:70px;background:#f0f4eb;border-color:#aabda0;font-weight:600}
.footer-balanced .footer-symbol{display:flex;flex:0 0 38px;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;color:#02733D;background:#e7eee3}
.footer-balanced .footer-symbol svg{display:block;width:21px;height:21px}
.footer-balanced .footer-symbol-book{background:#02733D;color:#fff}
.footer-balanced .footer-tile .footer-brochure-horse-icon{display:block;width:29px;height:auto;max-width:none;flex:0 0 auto;mix-blend-mode:normal;opacity:1}
.footer-balanced .footer-symbol-heart{color:#a45560;background:#fae9ea}
.footer-balanced .footer-symbol-horse{color:#02733D;background:#e7f0e7}
.footer-balanced .footer-symbol-people{color:#4d7193;background:#e5eff7}
.footer-balanced .footer-symbol-privacy{color:#74618c;background:#eee9f5}
.footer-balanced .footer-link-grid .footer-tile{min-width:0}
.footer-balanced .footer-link-grid .footer-tile>span:last-child{min-width:0}
@media(min-width:951px) and (max-width:1170px){.site-header .header-brands{gap:12px}.site-header .brochure-circle{width:52px;height:52px}.site-header .brochure-caption{font-size:10px}.site-header .header-credentials{padding-left:13px!important}.site-header .header-credentials strong{font-size:18px!important}}
@media(max-width:950px){.site-header .header-brochure{gap:6px}.site-header .brochure-circle{width:48px;height:48px}.site-header .brochure-horse-icon{width:30px}.site-header .brochure-caption{font-size:10px}}
@media(max-width:540px){.site-header .header-brands{gap:8px}.site-header .header-brochure{flex-direction:column;gap:3px}.site-header .brochure-circle{width:39px;height:39px}.site-header .brochure-horse-icon{width:24px}.site-header .brochure-caption{font-size:8px;text-align:center}.footer-balanced .footer-facebook-feature{width:100%;min-height:64px}.footer-balanced .footer-symbol{width:32px;height:32px;flex-basis:32px}.footer-balanced .footer-symbol svg{width:19px;height:19px}.footer-balanced .footer-brochure-horse-icon{width:25px}}
@media(max-width:390px){.site-header .brand{flex-basis:190px;width:190px}.site-header .header-ror{padding-left:6px}.site-header .header-brands{column-gap:6px}}
@media(prefers-reduced-motion:reduce){.site-header .brochure-circle{transition:none}}

/* v1.66: green arrow on light Contact Aimée navigation button */
.site-header nav.main-nav a.nav-contact svg.link-arrow{color:#02733D!important;stroke:#02733D!important}

/* v1.67 — precisely aligned footer tile icons and copy. */
.footer-balanced .footer-link-grid .footer-tile{
  display:grid;grid-template-columns:48px minmax(0,1fr);justify-content:stretch;
  align-items:center;column-gap:16px;text-align:left;padding:13px 18px;
  min-height:84px;height:auto;
}
.footer-balanced .footer-link-grid{grid-auto-rows:auto;align-items:stretch}
.footer-balanced .footer-link-grid .footer-tile > .footer-symbol{
  display:flex;width:48px;height:48px;min-width:48px;min-height:48px;
  flex:0 0 48px;justify-self:start;align-items:center;justify-content:center;
  border-radius:50%;box-sizing:border-box;
}
.footer-balanced .footer-link-grid .footer-tile > .footer-symbol svg{width:25px;height:25px;display:block}
.footer-balanced .footer-link-grid .footer-tile > .footer-symbol .footer-brochure-horse-icon{
  display:block;width:36px;height:auto;max-width:36px;mix-blend-mode:normal!important;opacity:1;
}
.footer-balanced .footer-link-grid .footer-tile > .footer-symbol-ror{
  background:transparent;overflow:visible;
}
.footer-balanced .footer-link-grid .footer-tile > .footer-symbol-ror img[alt="RoR Approved Retrainer 2026"]{
  width:48px!important;height:48px!important;min-width:48px;object-fit:contain;
  mix-blend-mode:normal!important;opacity:1;
}
.footer-balanced .footer-link-grid .footer-tile > span:last-child{
  min-width:0;text-align:left;line-height:1.4;
}
/* A restrained equestrian-green palette, with small variations in tone. */
.footer-balanced .footer-symbol-book,
.footer-balanced .footer-symbol-horse{background:#02733D;color:#fff}
.footer-balanced .footer-symbol-heart{background:#e7eee3;color:#02733D}
.footer-balanced .footer-symbol-people{background:#dce9df;color:#02733D}
.footer-balanced .footer-symbol-privacy{background:#e8ecdf;color:#02733D}
@media(max-width:540px){
  .footer-balanced .footer-link-grid .footer-tile{grid-template-columns:48px minmax(0,1fr);column-gap:15px;padding:10px 14px;min-height:74px}
  .footer-balanced .footer-link-grid .footer-tile > .footer-symbol{width:48px;height:48px;flex-basis:48px}
  .footer-balanced .footer-link-grid .footer-tile > .footer-symbol svg{width:25px;height:25px}
  .footer-balanced .footer-link-grid .footer-tile > .footer-symbol .footer-brochure-horse-icon{width:36px;height:auto}
  .footer-balanced .footer-link-grid .footer-tile > .footer-symbol-ror img[alt="RoR Approved Retrainer 2026"]{width:48px!important;height:48px!important}
}

/* v1.68: mobile header puts brochure action alongside Menu; desktop is untouched. */
.site-header .mobile-action-row{display:none}
.site-header .mobile-brochure-link{display:none}
@media(max-width:950px){
 .site-header .header-brands .header-brochure{display:none}
 .site-header .mobile-action-row{order:1;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:0 24px 12px;box-sizing:border-box}
 .site-header .mobile-action-row .mobile-menu-toggle{display:flex!important;flex:0 0 auto;position:static;align-self:center;margin:0!important;min-height:44px;height:44px;width:auto!important;padding:9px 14px!important;align-items:center;gap:8px}
 .site-header .mobile-brochure-link{display:inline-flex;align-items:center;gap:9px;min-height:44px;min-width:0;text-decoration:none;color:#02733D;font:700 13px/1.25 Arial,sans-serif;white-space:nowrap}
 .site-header .mobile-brochure-icon{display:flex;justify-content:center;align-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:#02733D}
 .site-header .mobile-brochure-icon img{display:block;width:30px;height:auto;max-width:none;mix-blend-mode:normal}
 .site-header .mobile-brochure-arrow{flex:none;width:20px;height:20px;color:#02733D}
 .site-header .mobile-brochure-link:focus-visible{outline:3px solid #bd9361;outline-offset:3px}
 .site-header .header-brands{order:0}
 .site-header nav.main-nav{order:2}
}
@media(max-width:540px){
 .site-header .mobile-action-row{padding:0 16px 10px;gap:8px}
 .site-header .mobile-brochure-link{gap:6px;font-size:12px}
 .site-header .mobile-brochure-icon{width:34px;height:34px}
 .site-header .mobile-brochure-icon img{width:27px}
 .site-header .mobile-brochure-arrow{width:19px;height:19px}
 .site-header .header-brands{justify-content:center}
}
@media(max-width:370px){
 .site-header .mobile-brochure-link{font-size:11px;gap:4px}
 .site-header .mobile-action-row .mobile-menu-toggle{font-size:14px;padding:8px 10px!important}
}

/* v1.70 — RoR-matched AC Equine green trial */
:root{--ac-equine-green:#02733D;--ac-equine-green-hover:#005A30}
.site-header nav.main-nav,.site-header .mobile-menu-toggle,.site-header.menu-open nav.main-nav{background:var(--ac-equine-green)!important}
.site-header nav.main-nav a.active:not(.nav-contact){background:#07834B!important}
.site-header nav.main-nav a:hover:not(.nav-contact){background:var(--ac-equine-green-hover)!important}
.site-header .brochure-circle,.site-header .mobile-brochure-icon,
.footer-balanced .footer-symbol-book,.footer-balanced .footer-symbol-horse{background:var(--ac-equine-green)!important}
.site-header .brochure-circle{box-shadow:inset 0 0 0 2px var(--ac-equine-green),inset 0 0 0 5px #f8f5ea}
.site-header .header-brochure:hover .brochure-circle{background:var(--ac-equine-green-hover)!important}
.site-header .mobile-brochure-arrow{color:var(--ac-equine-green)}
.site-header nav.main-nav a.nav-contact svg.link-arrow{color:var(--ac-equine-green)!important;stroke:var(--ac-equine-green)!important}
/* Mobile brochure circle is exactly the same height as the Menu button. */
@media(max-width:950px){
 .site-header .mobile-action-row .mobile-menu-toggle{height:44px!important;min-height:44px!important}
 .site-header .mobile-brochure-icon{height:44px;width:44px;min-width:44px;min-height:44px}
 .site-header .mobile-brochure-icon img{width:34px}
}
@media(max-width:540px){
 .site-header .mobile-brochure-icon{height:44px;width:44px;min-width:44px;min-height:44px}
 .site-header .mobile-brochure-icon img{width:34px}
}
