/* v13.5: two-screen homepage carousel + real software screenshots on product heroes */
.home-hero-modern .home-software-carousel-v135 {
  position:absolute; top:44px;right:16px;bottom:auto;left:auto;
  width:min(57%,760px);min-height:0;height:auto;margin:0;
  display:block;overflow:visible;z-index:1;
}
.home-software-carousel-v135::before,.home-software-carousel-v135::after {display:none!important;content:none!important}
.software-carousel-stage-v135 {position:relative; width:100%; aspect-ratio:1752 / 1222; border-radius:16px;overflow:hidden; background:#fff;border:1px solid #cfdceb; box-shadow:0 20px 50px rgba(18,49,84,.15)}
.software-carousel-slide-v135 {position:absolute;inset:0;margin:0;display:block;}
.software-carousel-slide-v135[hidden] {display:none!important}
.home-hero-modern .software-carousel-stage-v135 img {
  width:100%!important;height:100%!important; max-height:none!important;
  display:block;object-fit:contain!important;object-position:center!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff;
}
.software-carousel-footer-v135 {display:flex;align-items:center;justify-content:center;gap:14px;margin:12px auto 0;max-width:440px;}
.software-carousel-arrow-v135 {border:1px solid #cad9e9;border-radius:50%;width:38px;height:38px;flex:0 0 38px;background:#fff;color:#1c4d77;font-size:29px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0 0 4px;transition:background .18s,border-color .18s}
.software-carousel-arrow-v135:hover,.software-carousel-arrow-v135:focus-visible {background:#eaf3ff;border-color:#5384b4}
.software-carousel-middle-v135 {text-align:center;min-width:165px;flex:1;}
.software-carousel-label-v135 {font-size:.89rem;line-height:1.35;color:#35526b;font-weight:700;margin:0 0 7px!important;}
.software-carousel-dots-v135 {display:flex;justify-content:center;gap:9px;align-items:center;}
.software-carousel-dots-v135 button {border:0;padding:0;width:10px;height:10px;min-width:10px;border-radius:50%;background:#b0bfcd;cursor:pointer;transition:background .18s,transform .18s}
.software-carousel-dots-v135 button.is-active {background:#175ea1;transform:scale(1.2)}
.software-carousel-dots-v135 button:focus-visible,.software-carousel-arrow-v135:focus-visible {outline:3px solid #1b74c7;outline-offset:3px}
/* Avoid dead-looking controls if JavaScript is disabled. */
.home-software-carousel-v135:not([data-ready]) .software-carousel-footer-v135 {display:none}
.form-page-hero figure.subpage-hero-box.software-form-hero-v135 {flex-direction:column;gap:0;align-items:stretch;justify-content:center}
.form-page-hero .software-form-hero-v135 img {width:100%!important;max-width:700px!important;height:auto!important;object-fit:contain!important;filter:none!important;box-shadow:0 18px 38px rgba(18,49,84,.12);border:1px solid #cbdbea;border-radius:14px;background:#fff}
.form-page-hero .software-form-hero-v135 .seo-image-caption {max-width:700px;font-size:.78rem;line-height:1.42;margin:10px auto 0;color:#5d7387;text-align:center}
@media(max-width:980px) {
  .home-hero-modern .home-software-carousel-v135 {position:relative;inset:auto;width:min(100%,760px);max-width:760px;margin:0 auto 30px;height:auto;min-height:0;}
  .home-hero-modern .home-software-carousel-v135 .software-carousel-stage-v135 {width:100%}
}
@media(max-width:620px) {
  .home-hero-modern .home-software-carousel-v135 {margin-bottom:22px}
  .software-carousel-stage-v135 {border-radius:10px}
  .software-carousel-footer-v135 {gap:6px;margin-top:10px}
  .software-carousel-arrow-v135 {width:34px;height:34px;flex-basis:34px}
  .software-carousel-label-v135 {font-size:.81rem}
  .form-page-hero .software-form-hero-v135 img {border-radius:10px}
}
@media(prefers-reduced-motion:reduce) {.software-carousel-arrow-v135,.software-carousel-dots-v135 button {transition:none}}


/* W-2G full-width horse-racing hero patch — 2026-10-14.
   Scoped only to the W-2G page by its existing hero image.
   Keeps the current HTML, pricing, downloads and other content intact. */
section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0 !important;
  background-color: #edf5fb !important;
  background-image:
    linear-gradient(90deg,
      rgba(247,251,255,.99) 0%,
      rgba(247,251,255,.98) 20%,
      rgba(247,251,255,.94) 33%,
      rgba(247,251,255,.75) 45%,
      rgba(247,251,255,.22) 61%,
      rgba(247,251,255,0) 80%),
    url("../images/w2g-horse-racing-hero-v1413.webp") !important;
  background-position: center center, 60% 48% !important;
  background-size: cover, cover !important;
  background-repeat: no-repeat !important;
  border-bottom: 1px solid #dce5ed;
}
section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) > .container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1220px) !important;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  grid-template-columns: none !important;
  gap: 0 !important;
  min-height: 590px !important;
  padding: 46px 0 !important;
}
section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) > .container::after {
  display: none !important;
}
section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) .subpage-hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 630px;
  min-width: 0;
}
section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) .breadcrumbs { color: #3c566b; }
section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) .kicker { color: #16824d; }
section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) h1 {
  max-width: 625px;
  color: #142a40;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 1.07;
  letter-spacing: -.035em;
  text-wrap: balance;
}
section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) .subpage-hero-copy p {
  max-width: 580px;
  color: #385268;
  font-size: clamp(1rem, 1.15vw, 1.10rem);
  line-height: 1.65;
}
section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) .hero-actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) .hero-actions .btn {
  width: auto !important;
  white-space: normal;
}
section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) figure.subpage-hero-box {
  display: none !important;
}
@media (max-width: 940px) {
  section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) {
    background-image:
      linear-gradient(90deg,
        rgba(247,251,255,.99) 0%,
        rgba(247,251,255,.97) 40%,
        rgba(247,251,255,.82) 65%,
        rgba(247,251,255,.20) 100%),
      url("../images/w2g-horse-racing-hero-v1413.webp") !important;
    background-position: center center, 62% center !important;
  }
  section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) > .container {
    width: calc(100% - 40px) !important;
    min-height: 530px !important;
  }
}
@media (max-width: 640px) {
  section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) {
    background-image:
      linear-gradient(90deg,
        rgba(247,251,255,.97) 0%,
        rgba(247,251,255,.94) 68%,
        rgba(247,251,255,.83) 100%),
      url("../images/w2g-horse-racing-hero-v1413.webp") !important;
    background-position: center center, 63% center !important;
  }
  section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) > .container {
    width: calc(100% - 36px) !important;
    min-height: 0 !important;
    padding: 38px 0 44px !important;
  }
  section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) h1 {
    font-size: clamp(2rem, 8.8vw, 2.9rem);
    line-height: 1.12;
  }
  section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  section.page-hero.form-page-hero:has(img[src*="w2g-horse-racing-hero"]) .hero-actions .btn {
    width: 100% !important;
    justify-content: center;
  }
}
