/*
Theme Name: Zedan Racing 2025
Theme URI: https://www.zedanracing.com/
Description: Zedan Racing &#8211; Thoroughbred Racing Stable of Amr F. Zedan
Version: 2.0
Tags: Multi-Column, Responsive, Bootstrap
*/

/* -------------------------------------------------------------------------- */
/* Redefined HTML Tags                                                        */
/* -------------------------------------------------------------------------- */
a {
  color: #0c4da1;
  text-decoration: none;
}
a:hover, a:focus, a:visited {
  color: #ac1e38;
}

p {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal; 
  line-height: 175%;
}

.tenor-sans-regular {
  font-family: "Tenor Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.p-5, .py-5 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}


/* -------------------------------------------------------------------------- */
/* Header                                                                     */
/* -------------------------------------------------------------------------- */
#header {
  position: relative;
  background-color: #26293B;
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.navbar-brand img {
  margin-right: 10px;
  max-width: 300px;
  max-height: 60px;
  min-width: 250px;
  height: auto;
  width: 100%;
  display: block;
  flex-shrink: 0;
}

/* -------------------------------------------------------------------------- */
/* Navigation                                                                 */
/* -------------------------------------------------------------------------- */
.bg-dark {
  /* background: rgb(38,41,60); */
  background: linear-gradient(90deg, rgba(38,41,60,0.95) 0%, rgba(9,75,153,0.95) 25%, rgba(9,75,153,0.95) 75%, rgba(38,41,60,0.95) 100%);
  /* background-color: transparent !important;
  background: linear-gradient(90deg, rgba(38, 41, 60, 0.95) 0%, transparent 25%, transparent 75%, rgba(38, 41, 60, 0.95) 100%); */
}

.bg-alternative-dark {
  background: rgb(38,41,60);
  /* background-color: transparent !important;
  background: linear-gradient(90deg, rgba(38, 41, 60, 0.95) 0%, transparent 25%, transparent 75%, rgba(38, 41, 60, 0.95) 100%); */
}

.navbar {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  font-family: "Tenor Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.news-navbar {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  font-family: "Tenor Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.dropdown-menu {
  width: 200px;
  margin: auto;
  align-items: left;
  justify-content: center;
  background-color: #26293B;
}

/* -------------------------------------------------------------------------- */
/* Home Page Content                                                          */
/* -------------------------------------------------------------------------- */
.video-container {
  padding-top: 56.25%;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.bg-dark-blue {
  background: linear-gradient(to right, #1a365d, #2a4365);
}
.bg-dark-red {
  background: linear-gradient(to right, #742a2a, #9b2c2c);
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(75, 85, 99, 0.5);
  border-radius: 50%;
  padding: 1.5rem;
  border: none;
  transition: background-color 0.2s;
}
.play-button:hover {
  background-color: rgba(75, 85, 99, 0.7);
}
.racing-stable-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;


}
.stat-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background-color: #0d6efd;
  border-radius: 50%;
  color: white;
  font-size: 0.75rem;
}
.stallion-footer {
  background: linear-gradient(to right, #b7791f, #d69e2e);
}
.text-red-700 {
  color: #c53030;
}
.text-blue-600 {
  color: #3182ce;
}
#welcome .container {
  border: solid 1px #1a365d;
}
.blue {
  color: #419fff;
}
.banner-arrow {
  font-size: 3rem;
  font-weight: 300;
  transition: all 0.2s ease;

}

.banner-arrow:hover {
  transform: translateX(3px);

}

.news-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 0;
  color: #FFF;
  background-color: #1a202c;
}
.filter-label {
  color: rgba(255, 255, 255, 0.7); /* Light gray */
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-right: 1rem;
  font-family: "Tenor Sans", sans-serif;
}
.filter-buttons {
  width: 250px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.news-filter .filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: transparent;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  min-width: 140px;
  font-family: "Tenor Sans", sans-serif;
}
.news-filter .filter-btn:hover, .news-filter .filter-btn.active {
  background-color: #13141d;
  border-color: rgba(255, 255, 255, 0.5);
}
.filter-btn .arrow {
  transition: all 0.2s ease;
}
.filter-btn:hover .arrow.blue, .filter-btn.active .arrow.blue {
  transform: translateX(3px);
  color: #c10230 !important;
}
.filter-btn .arrow.blue {
  color: #3b82f6; /* Blue arrow */

}

.filter-btn .arrow.red {
  color: #c10230; /* Red arrow */
}
.filter-btn:hover .arrow.blue, .filter-btn.active .arrow.blue {
 color: #c10230; /* Lighter red on hover */
}

.bg-white {
background-color: #FFF;

& :hover {
    background-color: #e6ebf2; 
  }
}

.bg-white h3 {
  color: #0c4da2;
  text-transform: uppercase;

& :hover {
  color: #Ab0033;
  }
}

.carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 2rem auto;
}
.horse-carousel {
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}
.carousel-slides {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-slide {
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-shrink: 0;
}
.horse-photo {
  max-height: 500px;
  overflow: hidden;
}
.horse-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.horse-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.horse-name {
  font-size: 2.25rem;
  font-weight: 700;
  color: #a4133c !important; /* Burgundy red */
  margin-bottom: 1rem;
  font-family: "Tenor Sans", sans-serif;
}

.horse-name-roster {
  font-size: 1.5rem;
  padding-top: 1rem !important ;
  font-family: "Tenor Sans", sans-serif;
  text-transform: uppercase;
}

.horse-name-roster a {
  color: #a4133c !important; /* Burgundy red */
}

.horse-details {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  letter-spacing: 0.1rem;
}

.notable-wins {
  display: flex;
  margin-bottom: 2rem;
}
.wins-label {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-left: 1px solid #eee;
  margin-right: 1.5rem;
}
.wins-list {
  flex: 1;
}
.win-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.win-name {
  font-size: 1.125rem;
  color: #333;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}
.win-grade {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #666;
  margin-left: 0.5rem;
}
.win-item.active .win-name {
  color: #a4133c; /* Burgundy red */
  font-weight: 500;
}
.win-item:hover .win-name {
  color: #a4133c; /* Burgundy red */
  cursor: pointer;
}
.win-item:hover .play-button-carousel {
  background-color: #a4133c;
}
.play-button-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #3b82f6; /* Blue */
  color: white;
  cursor: pointer;
}
.play-button-carousel.red {
  background-color: #a4133c; /* Burgundy red */
}
.standing-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
}
.standing-banner:hover {
  color: white;
}
.standing-text {
    color: white;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-wrap: nowrap;
}
.standing-text img {
  width: 100%;
  height: auto;
  max-width: 300px;
}
.farm-logo {
  display: flex;
  align-items: center;
}
.farm-logo img {
  height: 30px;
  margin-left: 1rem;
}
.arrow-icon-white {
   display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  align-items: center;
  color: #FFF;
  font-size: 1.5rem;
 
}
.carousel-nav {
  position: absolute;
  top: 20%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  cursor: pointer;
  z-index: 10;
}
.carousel-nav:hover {
  background-color: white;
}
.carousel-nav.prev {
  left: -60px;
}
.carousel-nav.next {
  right: -60px;
}
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem 0;
}
.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
}
.indicator.active {
  background-color: #a4133c; /* Burgundy red */
}
@media (max-width: 992px) {
  .carousel-slide {
    flex-direction: column;
  }
  .horse-photo {
    max-height: 300px;
  }
  .horse-name {
    font-size: 2.5rem;
  }
  .horse-details {
    font-size: 1rem;
  }
}
@media (max-width: 576px) {
  .horse-name {
    font-size: 2rem;
  }
  .horse-details {
    font-size: 0.875rem;
  }
  .notable-wins {
    flex-direction: column;
  }
  .wins-label {
    writing-mode: horizontal-tb;
    transform: none;
    text-align: left;
    padding: 0 0 0.5rem 0;
    margin-right: 0;
    margin-bottom: 1rem;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  .carousel-nav {
    width: 30px;
    height: 30px;
  }
  .carousel-nav.prev {
    left: 10px; /* Move inside on mobile */
  }
  .carousel-nav.next {
    right: 10px; /* Move inside on mobile */
  }
  .hero-title {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
  }
}
.stallions-header {
  background-color: #a4133c; /* Deep burgundy/crimson color */
  color: white;
  padding: 3rem 8%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.stallions-title {
  font-size: 3.5rem;
  font-weight: 300; /* Light weight font */
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Tenor Sans", sans-serif;
}
.view-all-btn {
  display: inline-block;
  color: white;
  font-family: "Tenor Sans", sans-serif;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border: 2px solid white;
  transition: all 0.3s ease;
}
.view-all-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.arrow-icon {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  align-items: center;
}
.view-all-btn:hover .arrow-icon {
  transform: translateX(3px);
}

.racing-stable-overlay:hover .arrow-icon-white {
  transform: translateX(6px);
  color: #3b82f6;
}

.home-news-feed p {
  color: #6c757d;
}

.home-news-feed h3,
.news-archive-feed h3,
.news-section h3,
.news-section h3 a {
  white-space: normal;
  overflow-wrap: anywhere;
}

.home-news-feed .row .col-12:hover h3 {
  color: #ac1e38;
}

.footer-list {
  text-align: start;
  margin: 0 auto;
  width: 275px;
}

/* -------------------------------------------------------------------------- */
/* Single / Page / Archive                                                    */
/* -------------------------------------------------------------------------- */
.hero-section {
  --hero-parallax: 0px;
  position: relative;
  height: 350px;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a202c;
  overflow: hidden;
}

.hero-section img,
.news-hero-section img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.2);
  transform-origin: center center;
  transition: transform 0.1s linear;
  will-change: transform;
}

.news-hero-section {
  position: relative;
  padding-top: 2rem;
  min-height: 85px;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #26293B;
  overflow: hidden;
  max-height: 500px;
}

body.category .filter-nav {
  background-color: #1a202c;
}

body.category .filter-nav .news-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

body.category .filter-nav .news-filter .filter-buttons {
  width: auto;
}

.er-hero-section {
  position: relative;
  padding-top: 2rem;
  height: 85px;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a202c;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}
.hero-title {
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  white-space:normal;
  position: absolute;
  color: white;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 2px;
  font-family: "Tenor Sans", sans-serif;
  text-transform: uppercase;
  text-align: center;
}
.nav-tabs {
  border: none;
  justify-content: center;
  background-color: #26293B;
  padding: 1rem 0;
}
.nav-tabs .nav-link {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0;
  font-family: "Tenor Sans", sans-serif;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
}
.nav-tabs .nav-link.active {
   background-color: #13141d;
  border-color: white;
  color: white;
}
.nav-tabs .nav-link:hover:not(.active) {
  border-color: white;
   background-color: #13141d;
}
.section-title {
  color: #333;
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-family: "Tenor Sans", sans-serif;
}

.table-header {
  background-color: #c10230;
  color: white;
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: rgba(0, 0, 0, 0.05);
}
.filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 3rem 0;
  color: #FFF;
}

body.page-id-12 .filter-nav {
  background-color: #1a202c;
}

.filter-btn {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin: 0 0.25rem;
  padding: 0.5rem 1.5rem;
  border-radius: 0;
  background-color: transparent;
  transition: all 0.2s;
  margin-bottom: 1rem;
}

.filter-btn.active {
  background-color: #0c4da2;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #FFF;
}

.news-filter-btn {
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin: 0 0.25rem;
  padding: 0.5rem 1.5rem;
  border-radius: 0;
  background-color: transparent;
  transition: all 0.2s;
  font-family: "Tenor Sans", sans-serif;
}

.news-filter-btn.active {
  background-color: #0c4da2;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #FFF;
}

.news-filter-btn:hover {
  color: #FFF;
  background-color: #13141d;
  border: 1px solid rgb(255, 255, 255);
}

.filter-btn:hover {
  color: #FFF;
  background-color: #13141d;
  border: 1px solid rgb(255, 255, 255);
}

.news-item {
  padding-top: 1.5rem;
  padding-left: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #eaebed;
  border-left: 2px solid #eaebed;
}


.news-date {
  color: #666;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.news-title {
  color: #c10230;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.news-excerpt {
  color: #666;
  font-size: 0.875rem;
  line-height: 1.6;
}
.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.divider {
  height: 3px;
  width: 50px;
  margin: 1.5rem auto;
  background: linear-gradient(to right, #c10230 0%, #c10230 50%, #3182ce 50%, #3182ce 100%);
}
.load-more-btn {
  color: #333;
  border: 1px solid #ccc;
  padding: 0.5rem 2rem;
  border-radius: 0;
  background-color: white;
  transition: all 0.2s;
  margin: 2rem 0;
}
.load-more-btn:hover {
  background-color: #f8f9fa;
  border-color: #aaa;
}
.horse-header {
  padding: 3rem 0 1rem;
  text-align: center;
}
.horse-name {
  font-size: 2.25rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.horse-details {
  color: #666;
  margin-bottom: 1rem;
}
.divider {
  height: 3px;
  width: 150px;
  margin: 0.5rem auto 1.5rem;
  background: linear-gradient(to right, #c10230 0%, #c10230 50%, #3182ce 50%, #3182ce 100%);
}
.divider-small {
  height: 3px;
  width: 80px;
  margin: 0.5rem 0 1.5rem;
  background: linear-gradient(to right, #c10230 0%, #c10230 50%, #3182ce 50%, #3182ce 100%);
}
.divider-news {
  height: 3px;
  width: 80px;
  margin: 1.5rem auto;
  background: linear-gradient(to right, #c10230 0%, #c10230 50%, #3182ce 50%, #3182ce 100%);
}
.horse-record {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  font-family: "Tenor Sans", sans-serif;

}
.horse-image {
  width: 100%;
  height: auto;
  
}

.horse-description {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.entered-box {
  background-color: #c10230;
  color: white;
  padding: 0.75rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.entered-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.entered-details {
  font-size: 0.875rem;
}
.table-header {
  background-color: #1a202c;
  color: white;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: "Tenor Sans", sans-serif;

}
.table-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-family: "Tenor Sans", sans-serif;

}
.news-section {
  padding: 3rem 0;
}
.news-date {
  color: #666;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}
.news-title {
  color: #0c4da2;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;

  & :hover {
    color: #A90033;
  }
}
.news-content {
  color: #555;
  font-size: 0.875rem;
  line-height: 1.6;
}
.news-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.racing-stable-banner {
  position: relative;
  height: 300px;
  background-image: url('https://via.placeholder.com/1200x300');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.racing-stable-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}
.banner-title {
  position: relative;
  color: white;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}
.banner-arrow {
  position: relative;
  color: white;
  font-size: 2rem;
  margin-left: 1rem;
}
.date-divider {
  height: 3px;
  width: 80px;
  margin: 0.5rem auto;
  background: linear-gradient(to right, #c10230 0%, #c10230 50%, #3182ce 50%, #3182ce 100%);
  position: relative;
  z-index: 1;
}
.hero-title {
  position: absolute;
  color: white;
  font-size: 2rem;
  font-weight: 300;
  text-align: center;
  z-index: 1;
}
.article-content {
  line-height: 1.8;
  color: #444;
}
.article-content p {
  margin-bottom: 1.5rem;
}
.article-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.5rem 0;
}
.article-quote {
  font-style: italic;
  border-left: 3px solid #c10230;
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.article-title {
  color: #fff;
  z-index: 10;
  font-family: "Tenor Sans", sans-serif;
}

.recent-news-title {
  font-family: "Tenor Sans", sans-serif;
  text-transform: uppercase !important;
  font-size: 2rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 1rem;

  
}
.news-item {
  border-bottom: 1px solid #eee;
  padding-bottom: 2rem;
}
.news-item:last-child {
  border-bottom: none;
}
.news-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.news-date {
  color: #666;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.news-title {
  color: #0c4da2;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.news-title a {
  color: #0c4da2;
  text-decoration: none;
}
.news-title a:hover {
  color: #ab0033;
}
.article-date-loop {
  color: #a3acbb;
  display: inline-block;
  border-bottom: solid 5px #a3acbb;
}
.border-top-grb, .border-top-grb-top {
  position: relative;
}
.border-top-grb::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    #eaebed 0%,
    #eaebed 75%,
    #FFFFFF 75%,
    #FFFFFF 76%,
    #c10230 76%,
    #c10230 80%,
    #FFFFFF 80%,
    #FFFFFF 81%,
    #3182ce 81%,
    #3182ce 100%
  );
}
.border-top-grb-top::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    to left,
    #eaebed 0%,
    #eaebed 75%,
    #FFFFFF 75%,
    #FFFFFF 76%,
    #c10230 76%,
    #c10230 80%,
    #FFFFFF 80%,
    #FFFFFF 81%,
    #3182ce 81%,
    #3182ce 100%
  );
}
.g1-wins-banner {
  background-color: #1a202c;
  color: white;
  padding: 2rem 0;
  width: 100%;
  position: relative;
}
.banner-container {
  margin: 0 auto;
  padding: 0 0 0 1rem; /* Remove right padding */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.wins-count {
  display: flex;
  align-items: center;
}
.number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #3b82f6; /* Bright blue */
  margin-right: 0.5rem;
}
.wins-text {
  font-family: "Tenor Sans", sans-serif;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 1px;
  
}
.view-winners {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  height: 100%;
}
.view-winners:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background-color: #13141d ;
}
.view-text {
  color: rgba(255, 255, 255, 0.7);
  margin-right: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
  font-family: "Tenor Sans", sans-serif;

}
.winners-text {
  color: white;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 0.75rem;
  font-family: "Tenor Sans", sans-serif;
}
.arrow-icon {
  color: #3b82f6;
  font-size: 1.5rem;
}
table thead.table-header-dk-blue th {
  color: #FFF !important;
  background-color: #383b4c !important;
  font-family: "Tenor Sans", sans-serif;

}
table thead.table-header-blue th {
  color: #FFF !important;
  background-color: #0056b9 !important;
  font-family: "Tenor Sans", sans-serif;

}
table thead.table-header-red th {
  color: #FFF !important;
  background-color: #A90033 !important;
  font-family: "Tenor Sans", sans-serif;

}
.content-wrapper {
  display: flex;
  align-items: center;    /* vertical center */
  justify-content: center; /* horizontal center */
  flex-direction: column;
  width: 100%;
}
.g1-victories {
  position: relative;
  color: #FFF;
  background-color: #2a2d3e;
  padding: 4rem 0;
  overflow: hidden;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}
.g1-logo {
  text-transform: uppercase;
  letter-spacing: 2rem;
  line-height: 1;
  font-family: "Tenor Sans", sans-serif;
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
  color: #4a9fff;
  position: relative;
  z-index: 2; 

}
.victories-text {
  font-size: 3rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1;
  font-family: "Tenor Sans", sans-serif;
    position: relative;
  z-index: 2; 
}
.races-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.race-column {
  width: 100%;
  padding: 0 1rem;
  z-index: 10;
}
.race-item {
  margin-bottom: 2rem;
}
.race-name {
  color: #4a9fff;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
letter-spacing: .1rem;
  margin-bottom: 0.5rem;
  font-family: "Tenor Sans", sans-serif;

}
.g1-race-name {
  color: #0056b9 !important;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5rem;
  margin-bottom: 0.5rem;
 font-family: "Poppins", sans-serif;

}
.winner-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}

.winner-row:hover .winner-year,
.winner-row:hover .winner-name {
  color: #4a9fff;
}

.winner-row:hover .play-btn {
  background-color: #4a9fff;
}

.winner-year {
  font-size: 1rem;
  margin-right: 0.5rem;
   font-weight: 300;
}

.winner-name {
  font-size: 1rem;
  font-weight: 500;
  margin-right: 0.5rem;
}
.winner-name.highlight {
  color: #4a9fff;
}
.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #c10230;
  border-radius: 50%;
  cursor: pointer;
}
.play-btn svg {
  width: 10px;
  height: 10px;
  fill: white;
}
.custom-bordered-row {
  border-top: 1px solid #535c6b;
  border-bottom: 1px solid #535c6b;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.amr-read-more-btn:hover {
  cursor: pointer;
}

.amr-hidden-text {
  display: none;
}

/* -------------------------------------------------------------------------- */
/* History                                                                    */
/* -------------------------------------------------------------------------- */
#history__section--left .row,
#history__section--right .row {
  margin: 0;
  justify-content: space-around;
}

.main-content {
  padding: 3rem 0;
}

.content-border {
  padding: 2rem;
  border: 1px solid #3182ce;
}

.custom-rule {
  padding: 3rem 0;
}

.date-heading {
  font-size: 2.75rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 1.5rem;
  font-family: "Tenor Sans", sans-serif;
}

.text-group h3 {
  color: #0c4da1;
  text-decoration: uppercase;
  font-size: 1.3rem !important ;
  font-weight: 700;
  letter-spacing: 1px;
}

.history-btn-left,
.history-btn-right {
  border-bottom: 1px solid #0c4da1;
  width: fit-content;
  font-weight: bold;
}

.history-btn-left:hover,
.history-btn-right:hover {
  cursor: pointer;
}

/* -------------------------------------------------------------------------- */
/* Race Replay                                                                */
/* -------------------------------------------------------------------------- */

.race-replay__carousel .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.race-replay__carousel .slick-prev {
  left: 0;
}

.race-replay__carousel .slick-next {
  right: 0;
}

/* -------------------------------------------------------------------------- */
/* Comments                                                                   */
/* -------------------------------------------------------------------------- */
.comments-box {
  margin-top: 35px;
}
ol.comment-list {
  margin: 30px 0px;
  padding: 0px;
  list-style-type: none;
}
ol.children {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}
ol.comment-list li {
  margin-bottom: 30px;
  padding-left: 52px;
  padding-bottom: 30px;
  position: relative;
  border-bottom: 1px solid #ddd;
}
ol.comment-list li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none
}
ol.comment-list li .avatar {
  top: 0;
  left: 0;
  position: absolute;
  border-radius: 50%;
}
ol.children {
  margin-top: 30px;
  padding-top: 30px;
  padding-left: 50px;
  border-top: 1px solid #DDD;
}
.comment-heading, .comment-form {
  margin-top: 0;
  margin-bottom: 30px;
}
.comment-form label {
  display: block;
}
.comment-metadata a {
  color: #888;
  font-size: 11px;
}
#cancel-comment-reply-link {
  color: #C00;
  font-size: 12px;
}
.form-allowed-tags code {
  white-space: normal;
}
.form-submit {
  display: none;
}
.left-indent {
  padding-left: 10px;
}
.team-member {
  padding: 6rem 0;
}
.team-member-name {
  font-size: 2.5rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 1.5rem;
  font-family: "Tenor Sans", sans-serif;

}
.team-member-title {
  font-size: 1.25rem;
  color: #0c4da2;
  text-align: center;
  margin-top: 0.5rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}
.divider {
  height: 4px;
  width: 100px;
  margin: 2rem 0;
  background: linear-gradient(to right, #c10230 0%, #c10230 50%, #3182ce 50%, #3182ce 100%);
}
.divider.center {
  margin: 2rem auto;
}
.read-more-btn {
  display: inline-flex;
  align-items: center;
  color: #333;
  text-decoration: none;
  border: 1px solid #ccc;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  transition: all 0.2s;
  font-family: "Tenor Sans", sans-serif;
}
.read-more-btn:hover {
  background-color: #f8f9fa;
  border-color: #aaa;
}
.read-more-btn svg {
  margin-left: 0.5rem;
}
.filter-nav {
  padding: 3rem 0;
}
.filter-btn {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin: 0 0.25rem;
  padding: 0.5rem 1.5rem;
  border-radius: 0;
  background-color: transparent;
  transition: all 0.2s;
  font-family: "Tenor Sans", sans-serif;
}

.filter-btn.active {
  color: #FFF;
  background-color: #0c4da2;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.filter-btn:hover {
  color: #FFFFFF;
  background-color: #13141d;
  border: 1px solid rgb(255, 255, 255);
}

.horse-card {
  margin-top: .5rem;
  margin-bottom: .5rem;

  & :hover {
    background-color: #eaebed;
  }
}
.horse-name {
  color: #c10230;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.horse-info {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.stakes-winner-badge {
  background-color: #0C4DA2;
  color: white;
  font-size: 1.2rem;
  padding: 0.8rem 3rem;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: .1rem;
}
.divider {
  height: 3px;
  width: 50px;
  margin: 0.5rem 0 1rem;
  background: linear-gradient(to right, #c10230 0%, #c10230 50%, #3182ce 50%, #3182ce 100%);
}
.table-header {
  background-color: #c10230;
  color: white;
  font-family: "Tenor Sans", sans-serif;
}
.table-header th {
  color: #FFF !important;
  background-color: transparent;
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: rgba(0, 0, 0, 0.05);
}
.section-title {
  color: #333;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.intro-section {
  background-color: white;
  padding: 3rem 0;
  border: 1px solid #eee;
}
.intro-title {
  color: #0d6efd;
  font-size: 1.75rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 1.5rem;
}
.intro-text {
  color: #666;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}
.victories-section {
  background-color: #1a202c;
  background-image: url('https://via.placeholder.com/1200x600');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  padding: 4rem 0;
  color: white;
}
.victories-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: white;
}
.victories-title span {
  color: #0d6efd;
}
.race-list {
  margin-bottom: 2rem;
}
.race-title {
  font-size: 2.15rem;
  letter-spacing: .1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: "Tenor Sans", sans-serif;
}
.race-item {
  margin-bottom: 2rem;
  font-size: 0.875rem;
}
.race-year {
  color: #a0aec0;
  margin-right: 0.5rem;
}
.race-winner {
  font-weight: 500;
}
.race-winner.red-dot::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #c10230;
  border-radius: 50%;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.horse-card {

  & :hover {
    background-color: #eaebed;
  }
}

.horse-item {
  margin-top: 1rem;

  & :hover {
    background-color: #eaebed;
  }
}
.horse-name {
  color: #a4133c;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.horse-info {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.divider {
  height: 3px;
  width: 50px;
  margin: 0.5rem 0 1rem;
  background: linear-gradient(to right, #c10230 0%, #c10230 50%, #3182ce 50%, #3182ce 100%);
}
.active-runner-badge {
  background-color: #c10230;
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 500;
}

.recent-results-table thead.table-header {
  background-color: #3182ce;
  color: white;
}

.recent-workouts-table thead.table-header {
  background-color: #1a202c;
  color: white;
}

#racingTabs {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* -------------------------------------------------------------------------- */
/* Sidebar                                                                    */
/* -------------------------------------------------------------------------- */


/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */
.footer-divider {
  height: 2rem;
  background: repeating-linear-gradient(
    -45deg,
    #3182ce 0%,
    #3182ce 30%,
    #c10230 30%,
    #c10230 50%,
    #3182ce 50%,
    #3182ce 80%
  );
}
footer {
  background-color: #1a202c;
  color: white;
  padding: 2.75rem 0;
}
footer h3 {
  color: white;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  letter-spacing: .2rem;
}
footer ul {
  list-style: none;
  padding: 0;
}
footer ul li {
  margin-bottom: 0.5rem;
  justify-content: center;
}
footer a, 
footer a:visited {
  color: #a0aec0;
  text-decoration: none;
}
footer h3 a {
  color: #FFF;
}

footer a:hover,
footer a:active {
  color: #419fff;
}
.social-icons {
  display: flex;
  gap: 0.75rem;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #4a5568;
  border-radius: 0.25rem;
  color: #a0aec0;
}
.social-icon:hover {
  border-color: #a0aec0;
  color: white;
}
.footer-logo {
  max-width: 250px;
  padding-top: 25px;
  padding-bottom: 25px;
}
body.category > .container-fluid {
  position: relative;
  z-index: 10;
}

/* -------------------------------------------------------------------------- */
/* Media Queries                                                              */
/* -------------------------------------------------------------------------- */

/* Small Devices */
@media only screen and (min-width : 576px) {
  
}

/* Medium Devices */
@media only screen and (min-width : 992px) {
  .navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    font-family: "Tenor Sans", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
  }

  .news-navbar {
    position: relative !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    font-family: "Tenor Sans", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
  }

  .bg-dark {
    /* background: rgb(38,41,60); */
    /* background: linear-gradient(90deg, rgba(38,41,60,0.95) 0%, rgba(9,75,153,0.95) 25%, rgba(9,75,153,0.95) 75%, rgba(38,41,60,0.95) 100%); */
    background-color: transparent !important;
    background: linear-gradient(90deg, rgba(38, 41, 60, 0.95) 0%, transparent 25%, transparent 75%, rgba(38, 41, 60, 0.95) 100%);
  }

  .hero-section {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: top;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a202c;
    overflow: hidden;
  }

  .banner-container {
    justify-content: space-between;
  }

  .view-winners {
    border-right: none;
  }

  .center-bordered {
    border-left: 1px solid #535c6b;
    border-right: 1px solid #535c6b;
  }

  .filter-buttons {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .races-container {
    width: 60%;
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
  }

  .race-column {
    width: 50%;
    padding: 0 1rem;
    z-index: 10;
  }

  .content-wrapper {
    display: flex;
    align-items: center;    /* vertical center */
    justify-content: center; /* horizontal center */
    flex-direction: row;
    width: 100%;
  }

  .nav-tabs .nav-link {
    padding: 0.5rem 2rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .content-block {
    height: 100%;
    padding: 4rem;
  }

  .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    cursor: pointer;
    z-index: 10;
  }

  .g1-title {
    width: 40%;
    padding-right: 2rem;
  }

  .horse-photo {
    flex: 1;
  }
}

/* -------------------------------------------------------------------------- */
/* Heading wrapping fixes (hero + news/sidebar)                              */
/* -------------------------------------------------------------------------- */
.hero-section .hero-title,
.news-hero-section .hero-title {
  left: 1.5rem;
  right: 1.5rem;
  width: auto;
  max-width: min(1100px, calc(100% - 3rem));
  margin: 0 auto;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.article-title,
.news-title,
.recent-news-title,
.home-news-feed h3,
.news-archive-feed h3,
.news-section h3,
.news-section h3 a {
  white-space: normal !important;
  overflow-wrap: anywhere;
}

/* Allow nested flex/grid columns to shrink so text can wrap */
.home-news-feed .row .col-12 .row > [class*="col-"],
.news-archive-feed .row > [class*="col-"] {
  min-width: 0;
}

/* X Large Devices */
@media only screen and (min-width : 1200px) {

}

/* XX Large Devices */
@media only screen and (min-width : 1400px) {

}
