@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display:ital,wght@0,100..900;1,100..900&display=swap');
body{
  font-family: "Noto Sans Display", sans-serif;
}
#header{
  font-weight: 500;
}
#header section.container{
  width: 100% !important;
  padding-left: 5%;
  padding-right: 5%;
}
div.mobile-container{
  .overlay-menu{
    overflow-y: auto;
  }
  .button-secondary-2, .button-2 {
    margin-top: 1rem;
    width: 100%;
  }
  .navbar1_menu-buttons {
    display: block;
  }
}
#header section.container, div.mobile-container{
  .navbar1_menu-buttons {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-left: 1rem;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    grid-auto-columns: 1fr;
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
  }

  .button-secondary-2 {
    padding: 0.75rem 1.25rem;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    border: 0.125rem solid #386eec;
    background-color: transparent;
    color: #386eec;
    font-weight: 600;
    text-align: center;
  }

  .button-secondary-2.is-button-small {
    padding: 0.5rem 1.25rem;
    font-weight: 600;
  }

  .button-secondary-2.is-button-small:hover {
    border-color: #244cce;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#244cce), to(#244cce));
    background-image: linear-gradient(180deg, #244cce, #244cce);
    color: #fff;
    text-decoration: none;
  }

  .button-secondary-2.is-button-small:active {
    border-color: #819fff;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#819fff), to(#819fff)), -webkit-gradient(linear, left top, left bottom, from(#244cce), to(#244cce));
    background-image: linear-gradient(180deg, #819fff, #819fff), linear-gradient(180deg, #244cce, #244cce);
  }

  .button-secondary-2.is-alternate {
    border-color: #fff;
    color: #fff;
  }

  .button-2 {
    padding: 0.75rem 1.25rem;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #386eec;
    color: #fff;
    font-weight: 600;
    text-align: center;
  }

  .button-2.is-button-small {
    padding: 0.5rem 1.25rem;
  }

  .button-2.is-button-small:hover {
    background-color: #244cce;
    text-decoration: none;
  }

  .button-2.is-button-small:active {
    background-color: #819fff;
  }

  .button-2.is-button-small {
    padding: 0.5rem 1.25rem;
  }

  .button-2.max-width-full {
    width: 100%;
    max-width: none;
  }

  .button-2.max-width-full:hover {
    background-color: #244cce;
  }
}

@media (max-width: 1188px) { 
  
  #header .navbar-section { margin-right: 2rem; } 

  #header .navbar-section.desktop-menu { display: none; } 

  .mobile-menu {
      display: block;
  }
}

/* Desktop Nav */
nav.dropmenu ul li ul {
  max-height: 80vh; 
  overflow-y: auto; 
  scrollbar-width: thin; 
}
nav.dropmenu ul li ul::-webkit-scrollbar {
  width: 6px;
}
nav.dropmenu ul li ul::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 4px;
}


.mobile-container nav.overlay-menu ul li {
  padding: 1.5rem;
  border-bottom: 1px solid #333;
}
.mobile-container nav.overlay-menu ul li a {
  color: #fff;
  font-weight: 600;
}
.mobile-container nav.overlay-menu ul li span.toggler {
  color: #fff;
  font-weight: 600;
  font-size: 1.5rem;
  margin:-8px 1rem 8px 0;
  border-radius: 50%;
  padding: 0.6rem;
  background-color: #333;
}

#body-wrapper section.container {
  .breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
  }

  .breadcrumb li {
    margin-right: 5px;
    display: flex;
    align-items: center;
  }

  .breadcrumb li a {
    text-decoration: none;
    color: #222;
    display: flex;
    align-items: center;
    line-height: 1; 
  }

  .breadcrumb li a:hover {
    text-decoration: underline;
    color: #386EEC;
  }

  .breadcrumb li span {
    margin-left: 5px;
    display: flex;
    align-items: center;
    line-height: 1; 
  }

  h1{
    font-weight: 700 !important;
  }
  h2{
    font-weight: 600 !important;
  }
  h3{
    font-weight: 500 !important;
  }
  h4{
    font-weight: 400 !important;
  }
}


/* Card container */
.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  flex: 1;
}

/* Card image */
.card-img-top {
  width: 100%;
  height: 231px; 
  object-fit: cover; 
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
  background-color: #868e96;
  transition: transform 0.6s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05); /* Scales the image to 105% of its original size on hover */
}

/* Card top container */
.card-top {
  position: relative;
}

/* Card body */
.card-body {
  flex: 1 1 auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensure the button stays at the bottom */
}

/* Card title */
.card-title {
  margin: 0.75rem 0;
  font-size: 1.25rem;
}

/* Card text */
.card-text {
  margin-top: 0;
  margin-bottom: 1rem;
  flex-grow: 1; /* Allow the text to take up available space */
}

/* Card button */
.card-btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 0.7rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
  color: #fff;
  background-color: #386eec;
  border-color: #386eec;
  margin-top: auto; /* Push the button to the bottom */
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  color: #fff;
  background-color: #244cce;
  border-color: #244cce;
  text-decoration: none;
}
.btn-primary:visited{
  color: #fff;
}


.card-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
.card-row a{
  text-decoration: none;
  color: #212529;
}

.card-row .col-md-4 {
  display: flex;
  flex-direction: column;
  padding-right: 15px;
  padding-left: 15px;
  margin-bottom: 30px;
}

@media (max-width: 767px) {
  .card-row .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .card-row .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .card-row .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

/* Utility classes */
.mb-4 {
  margin-bottom: 1.5rem !important;
}
.mb-8{
  margin-bottom: 3rem !important;
}
.mt-4{
  margin-top: 1.5rem !important;
}
.h1-style{
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.h5-style{
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}


/* Product Feature pages */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8f8ff; /* Light lavender background */
  padding: 40px 30px;
  border-radius: 10px;
  
}

.hero-content {
  max-width: 50%;
  padding: 20px 40px 20px 0;
}

.hero-section h1 {
  margin: 20px 0;
}

.hero-section p {
  font-size: 16px;
  color: #333; /* Dark text */
  line-height: 1.5;
  margin-bottom: 20px;
}

.text-secondary-cta:before {
  transform: translateY(-9px);
  background-size: 100% 100%;
  width: 28px;
  height: 20px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='23' height='21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.227.615a.906.906 0 00-.513.16.934.934 0 00-.338.425.954.954 0 00.211 1.025l7.009 7.15h-18a.903.903 0 00-.658.27.939.939 0 00-.274.668.955.955 0 00.274.667.916.916 0 00.658.27h18l-7.009 7.15a.939.939 0 00-.282.666.954.954 0 00.269.673.918.918 0 00.66.274.903.903 0 00.653-.288l8.577-8.75a.947.947 0 000-1.325L13.887.9a.918.918 0 00-.66-.285z' fill='%23131E29'/%3E%3C/svg%3E") 0 0 no-repeat;
  margin-left: 10px;
}
.text-secondary-cta:after, .text-secondary-cta:before {
    position: absolute;
    top: 50%;
    content: "";
    left: auto;
    right: 0;
    transition: all .3s ease;
}
a.text-secondary-cta{
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
    color: #131e29;
    text-decoration: none;
    transition: all .3s ease;
    position: relative;
    display: inline-block;
    padding-right: 38px;
    text-align: center;
}
a.text-secondary-cta:hover{
    color: #131e29;
    padding-right: 48px;
    text-decoration: underline;
}
.text-secondary-cta-container{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

  


.cta-button:hover {
  background-color: #e04c00; /* Slightly darker orange */
}

.cta-note {
  font-size: 13px !important;
  color: #666 !important; /* Muted text */
  margin-top: 10px;
}

.hero-image img {
  border-radius: 10px;
  max-width: 550px;
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image img {
    max-width: 100%;
    margin-top: 20px;
  }
}


/* After hero section */
.after-hero-section {
  padding: 40px 30px;
}

.after-hero-section h2 {
  margin-bottom: 40px;
}
.after-hero-section h3 {
  text-align: left;
}

/* Google "Add as a preferred source" badge */
.preferred-source-badge {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.preferred-source-badge:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}
.preferred-source-badge img {
  height: 66px;
  width: auto;
  max-width: 100%;
}

/* Track page: align badge to the right of the "Latest Race Results" heading */
.track-race-info .preferred-source-badge {
  float: right;
  margin: 0 0 10px 20px;
}

/* Results-date page: center badge below the hero CTAs */
.preferred-source-cta {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

@media (max-width: 768px) {
  .track-race-info .preferred-source-badge {
    float: none;
    display: block;
    margin: 0 auto 20px;
    text-align: center;
  }
}

.after-hero-image {
  max-width: 300px; 
  width: 100%; 
  margin: -60px 40px 0 0;
  float: left;
}

.after-hero-text {
  font-size: 16px;
  color: #333; 
  line-height: 1.5;
}

@media (max-width: 768px) {
  .after-hero-content {
    flex-direction: column;
    text-align: center;
  }

  .after-hero-image {
    max-width: 100%;
    margin: 0 auto 20px;
    float: none;
  }
}


.fullwidth-container {
  width: 100%;
  background-color: #f0f0f0;
  color: #fff;
  padding: 5% 20%;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  z-index: 1; 
  min-height: 300px;
  margin-top: 20px;
  background-image: url(../images/equinedge-horse-racing-metrics-user.jpg);
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}


.fullwidth-container a {
  color: #fff;
}


/* lightbox */
.lightbox-content {
  display: none;
}
.lightbox-play-icon{
  position: absolute;
  top: 50%;
  left: 50%;
  transition: transform 0.3s;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  cursor: pointer;
  z-index: 2;
  color: #fff;
}
.lightbox-play-icon:hover{
  transition: transform 0.3s;
  transform: translate(-50%, -50%) scale(1.2);
}

.lightbox-play-icon svg{
  transition: fill 0.3s;
}
.lightbox-play-icon svg{
  fill: none;
}
.video-card:hover .lightbox-play-icon{
  transition: transform 0.3s;
  transform: translate(-50%, -50%) scale(1.2);
}

.featherlight .featherlight-content {
  width: 80%;
  height: 80%;
  max-width: 800px;
  max-height: 450px;
}
.featherlight .featherlight-content {
  overflow: hidden;
  padding: 0px;
  border-bottom: 0px;
}



/* Cluster page */

html {
  scroll-behavior: smooth;
}

.authors{
  padding: 0 1.5rem;
  margin: 0 0 2rem;
}
.authors div{
  font-size: 14px;
}

.cluster-page-toc {
  background-color: #f8f8f8;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  max-width: 300px;
}
.results-toc{
  padding: 2rem;
}
.cluster-page-toc hr{
  margin: 2rem 0 1.5rem 0;
  border-top: 2px solid #dee2e6;
}
.cluster-page-toc ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.cluster-page-toc li {
  margin-bottom: 10px;
}

.cluster-page-toc a {
  text-decoration: none;
  color: #007BFF;
}

.cluster-page-toc a:hover {
  text-decoration: underline;
}

.hero-content h1 {
  scroll-margin-top: 250px; 
}
.cluster-page-content h2 {
  scroll-margin-top: 80px; 
}
.date-and-more {
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .breadcrumb {
    display: ruby !important;
  }
  .cluster-page-hero, .cluster-page-main {
    flex-direction: column; /* Stack vertically */
  }
  .hero-content {
    max-width: 100%; 
    padding: 0;
  }
  .hero-image img{
    margin-top: 0;
  }

  .seperator{
    display: none !important;
  }
  .date-and-more span, .date-and-more a{
    display: block;
    margin-bottom:10px;
    font-size:14px;
  }
  

  .authors{
    padding: 0 1.5rem;
    margin: 2rem 0;
  }

  .cluster-page-toc {
    max-width: 100%; /* Full width on mobile */
    margin: 2rem 0 !important;
  }
  .cluster-page-main {
    font-size: 1.1rem;
  }
  .cluster-page-content {
    padding: 1rem; /* Adjust padding if necessary */
  }
  .cluster-page-main {
    padding: 0 !important;
  }
}



.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.seperator{
  margin: 0 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  color: #666;
}

.hero-cta-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  background: #0074D9;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}
.hero-image{
  /*margin-top: 1.5rem;*/
  background: #f8f8f8;
  padding: 1.5rem 2rem;
  border-radius: 10px;
}
.hero-image img {
  
  max-width: 100%;
  height: auto;
}

.cluster-page-main {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.cluster-page-content h2{
  font-size: 1.6rem;
}

.cluster-page-toc {
  flex: 0 0 250px;
  margin-right: 2rem;
  position: sticky;
  top: 100px;
  align-self: start;
}

.cluster-page-toc nav ul {
  list-style: none;
  padding: 0;
}

.cluster-page-content {
  flex: 1;
  min-width: 0;
}

.cluster-page-authors {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  border-top: 1px solid #eee;
}

.author-block {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.author-image img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.author-info {
  margin-left: 1rem;
}

.author-name {
  font-weight: bold;
}

.author-role {
  color: #666;
  font-size: 0.9rem;
}
hr{
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid #eee;
}

/* Pagination styling */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0 0 0;
  flex-wrap: wrap;
}

.pagination-prev,
.pagination-next,
.pagination-number {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 5px;
  color: #386eec;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.pagination-prev:hover,
.pagination-next:hover,
.pagination-number:hover {
  background-color: #f8f9fa;
  border-color: #386eec;
  text-decoration: none;
}

.pagination-number.active {
  background-color: #386eec;
  color: white;
  border-color: #386eec;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* Handle mobile view */
@media (max-width: 576px) {
  .pagination {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .pagination-numbers {
    order: 1;
    margin: 0.5rem 0;
  }
  
  .pagination-prev {
    order: 0;
    width: 100%;
    text-align: center;
  }
  
  .pagination-next {
    order: 2;
    width: 100%;
    text-align: center;
  }
}

/* Footer */

.footer {
  display: flex;
  flex-flow: row wrap;
  color: #2f2f2f;
  background-color: #fff;
  border-top: 1px solid #e5e5e5;
  max-width: 1296px;
  margin: 0 auto;
  align-items: center;
  grid-column-gap: 3.25em;
}

.footer > * {
  flex:  1 100%;
}

.footer__addr {
  margin-right: 1.25em;
  margin-bottom: 2em;
}
.footer__addr  p{
  font-size: 15px;
  text-align: left;
  line-height: 1.5;
  margin-top: 20px;
  max-width: 430px;
}

.footer__logo {
  font-weight: 400;
  text-transform: lowercase;
  font-size: 1.5rem;
}

.footer__addr h2 {
  margin-top: 1.3em;
  font-size: 15px;
  font-weight: 400;
  text-align: left;
}

.nav__title {
  font-weight: 700;
  font-size: 15px;
  text-align: left !important;
}

.footer address {
  font-style: normal;
  color: #999;
}

.footer__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  max-width: max-content;
  background-color: rgb(33, 33, 33, 0.07);
  border-radius: 100px;
  color: #2f2f2f;
  line-height: 0;
  margin: 0.6em 0;
  font-size: 1rem;
  padding: 0 1.3em;
}

.footer ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.footer li {
  line-height: 2em;
}

.footer a {
  text-decoration: none;
}

.footer__nav {
  display: flex;
	flex-flow: row wrap;
}

.footer__nav > * {
  flex: 1 50%;
  margin-left: 1.25em;
}

.footer__nav a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.footer__nav a:hover {
  color: #386eec;
  text-decoration: underline;
}

.footer__nav svg {
  margin-right: 8px;
}

.nav__ul a {
  color: #999;
}

.nav__ul--extra {
  column-count: 2;
  column-gap: 1.25em;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  color: #999;
}
  
.legal__links {
  display: flex;
  align-items: center;
}
.legal__links a {
  margin-left: 20px;
  color: #000;
  text-decoration: underline;
}


@media screen and (min-width: 24.375em) {
  .legal .legal__links {
    margin-left: auto;
  }
}

@media screen and (min-width: 40.375em) {
  .footer__nav > * {
    flex: 1;
  }
  
  .nav__item--extra {
    flex-grow: 2;
  }
  
  .footer__addr {
    flex: 2 0px;
  }
  
  .footer__nav {
    flex: 2 0px;
  }
}
@media (max-width: 768px) {
  .footer{
    padding: 2em;
  }
}
.track-hero-section {
  background: linear-gradient(to bottom,rgba(246, 239, 230, 0.58),rgb(252, 251, 249));
  box-shadow: 0px 2px 4px rgba(61, 42, 17, 0.11);

}
.track-hero-section .hero-image{
  background: rgba(255, 255, 255, 0.7);
  
}
.track-after-hero-section{
  padding-top: 10px;
}

.track-table-wrapper, .race-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 10px;
  box-shadow: 0px 2px 4px rgba(61, 42, 17, 0.11);
}
.track-table, .race-table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  min-width: 600px;
  
}
.track-table thead th, .race-table-wrapper table thead th {
  background-color: #f8f8f8;
  border-bottom: 2px solid #dee2e6;
  padding: 0.75rem;
  text-align: left;
  font-weight: bold;
}
.track-table tbody tr, .race-table-wrapper table tbody tr {
  border-bottom: 1px solid #fff;
}

.track-table tbody td, .race-table-wrapper table tbody td {
  padding: 0.75rem;
  border-right: 1px solid #fff;
  text-align: center;
}
/* show a border-right except for the last cell .track-table tbody td */
.track-table tbody td:last-child, .race-table-wrapper table tbody td:last-child {
  border-right: 0;
}


.track-table.table-striped tbody tr:nth-of-type(odd), .race-table-wrapper table tbody tr:nth-of-type(odd) {
  background-color: #FCFBF9;
}
.track-table.table-hover tbody tr:hover, .race-table-wrapper table tbody tr:hover {
  background-color: #EDEDF8;
}
.race-table-wrapper h2{
  margin-top: 0px;
  margin-left: 15px;
}
.secondary-cta, .secondary-cta:visited{
  display: block;
  padding: 0.75rem 1.25rem;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  border: 0.125rem solid #386eec;
  background-color: transparent;
  color: #386eec;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.secondary-cta:hover{
  text-decoration: none;
  background-color: #386eec;
  color: #fff;
}
.aside-cta{
  text-align: center;
  margin: 1em 0 0;
}
.shiny-cta{
  color: #fff !important;
  background-color: #386eec;
  font-weight: 600;
  text-align: center;
  text-decoration: none !important;
  font-size: 1rem !important;
  padding: 0.5rem 2rem;
  background: #386eec;
  border-radius: 10px;
  font-size: 32px;
  transition: 0.3s !important;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12) !important;
  position: relative; 
  display: inline-block;
  overflow: hidden !important;
  cursor: pointer;
  border: none;
  &:hover {
    background: #386eec !important;
    box-shadow: 0px 6px 5px -2px rgba(0, 0, 0, 0.2), 0px 4px 4px 0px rgba(0, 0, 0, 0.14), 0px 3px 10px 0px rgba(0, 0, 0, 0.12) !important;
  }
}
.shiny-cta:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100px;
    background-image: linear-gradient(
        120deg, rgba(239,239,239, 0) 30%, rgba(239,239,239, .5), rgba(239,239,239, 0) 70%
    );
    animation: shine 5s infinite linear; 
}
@keyframes shine {
    0% {left: -100px}
    20% {left: 100%}
    100% {left: 100%}
}

/* Homepage hero eyebrow: "THE FUTURE OF HORSE RACING(R)".
   The compound selector is deliberate: the theme's
   .text-weight-semibold.text-color-white rule (equinedge.css:1855) forces
   font-weight 400, which out-specifies a bare .hero-eyebrow and left the
   tagline too thin to read over the hero photo. Matching its specificity
   avoids needing !important. */
.text-weight-semibold.text-color-white.hero-eyebrow {
    font-size: 1.375rem; /* fallback for browsers without clamp() */
    font-size: clamp(1.125rem, 0.95rem + 0.75vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
}

/* Homepage "See the Big Picture at a Glance" grid.
   Webflow's IX2 engine applies an inline `opacity: 0` + 50px offset to
   .layout251_item and only clears it on a scroll-into-view trigger that never
   fires for items already visible on load - so the row sat blank until the user
   scrolled. !important is required here to beat IX2's inline styles. */
.layout251_item {
    opacity: 1 !important;
    transform: none !important;
}

/* Brand tagline lockup under the footer logo. Echoes the hero eyebrow
   treatment (uppercase, semibold) so it reads as a brand device, not body copy. */
.footer-tagline {
    display: block;
    clear: both;              /* homepage logo link is a floated Webflow w-nav-brand */
    padding-top: 0.35rem;
    color: #244cce;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.3;
}

/* Global footer logo is an inline <a> (shared with the navbar), which adds
   ~6px of descender leading below the image and made the tagline gap differ
   from the homepage footer. Scoped to .footer__addr so the header is untouched. */
.footer__addr .navbar-brand,
.footer__addr .navbar-brand img {
    display: block;
}
