@charset "UTF-8";
html {
  scroll-behavior: smooth;
}
body > .wp-site-blocks > .wp-block-group {
  background-image: url("/wp-content/themes/equideclic/assets/images/watermark-white-big.png");
  background-position: top left -600px;
  background-repeat: no-repeat;
}
.ga-hero {
  margin-bottom: 100px;
  margin-top: 35px;
}
@media (max-width: 991px) {
  .ga-hero {
    margin-bottom: 35px;
  }
}
.ga-hero .ga-hero__content h1 {
  margin: 0 0 -5px 0;
}
.ga-hero .ga-hero__subtitle {
  font-size: 18px;
  color: var(--wp--preset--color--primary);
  margin-bottom: 12px;
}
.ga-hero .ga-hero__meta {
  font-size: 16px;
  margin-bottom: 20px;
}
.ga-hero .ga-hero__location {
  font-size: 16px;
  margin-bottom: 20px;
}
.ga-hero .ga-hero__location i {
  margin-right: 8px;
  color: var(--wp--preset--color--primary);
}
.ga-price-block {
  font-size: 16px;
  margin-top: 20px;
}
.ga-price-block strong {
  font-weight: normal;
  color: var(--wp--preset--color--primary);
}
.ga-tag {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  display: inline-block;
  padding: 5px 10px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
}
.ga-hero {
  align-items: center;
}
@media (min-width: 992px) {
  .ga-hero {
    display: flex;
    padding-right: 35px;
  }
}
.ga-hero .ga-buttons {
  padding-right: 30px;
  position: absolute;
}
@media (max-width: 1599px) {
  .ga-hero .ga-buttons a, .ga-hero .ga-buttons button {
    font-size: 16px;
  }
}
@media (max-width: 991px) {
  .ga-hero .ga-buttons {
    position: relative;
    margin: 0;
    background: var(--wp--preset--color--white);
    padding: 20px;
  }
}
@media (min-width: 992px) {
  .ga-hero .ga-hero__content {
    flex: 0 0 auto;
    width: auto;
  }
}
.ga-hero .ga-hero__content_inner {
  padding: 30px;
  width: 500px;
  background: var(--wp--preset--color--white);
}
@media (max-width: 1599px) {
  .ga-hero .ga-hero__content_inner {
    width: 400px;
  }
}
@media (max-width: 991px) {
  .ga-hero .ga-hero__content_inner {
    width: 100%;
    margin-top: 35px;
    padding: 20px;
    padding-bottom: 0;
  }
}
.ga-hero .ga-hero__image-wrap {
  position: relative;
  background: #E8E6E6;
}
@media (min-width: 992px) {
  .ga-hero .ga-hero__image-wrap {
    flex: 1 0 0;
    width: 100%;
    max-width: 100%;
  }
}
.ga-hero .ga-hero__image-wrap #openGalleryHero {
  position: absolute;
  z-index: 3;
  bottom: 15px;
  right: 15px;
  background: rgba(22, 26, 53, 0.7);
  color: var(--wp--preset--color--white);
  padding: 8px;
}
.ga-hero .ga-hero__image-wrap #openGalleryHero:hover {
  cursor: pointer;
  background: rgba(22, 26, 53, 0.9);
}
.ga-hero .ga-hero__image-wrap .swiper-slide a {
  position: relative;
  padding-top: 66%;
  display: block;
}
.ga-hero .ga-hero__image-wrap .swiper-slide a img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.ga-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 20px;
}
.ga-grid-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.6;
  cursor: pointer;
}
#prod .ga-grid-item {
  aspect-ratio: 1.7777777778;
}
.ga-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--wp--preset--color--white);
  background: var(--wp--preset--color--primary);
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  padding: 12px 20px;
  transform: translate(-50%, -50%);
}
#medias .ga-grid-item {
  background: #e8e6e6;
}
#medias .ga-grid-item img {
  object-fit: contain;
}
/* Passage à 2 colonnes en dessous de 991px */
@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Passage à 1 colonne sur mobile (optionnel mais conseillé) */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
#pedigree, #prod, #conditions {
  background: #E8E6E6;
}
.swiper-horse-media-control > div {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  position: absolute;
  z-index: 2;
  top: 50%;
}
.swiper-horse-media-control .swiper-horse-media-prev {
  left: 0;
  transform: translate(-50%, -50%);
}
@media (max-width: 991px) {
  .swiper-horse-media-control .swiper-horse-media-prev {
    transform: none;
    width: 40px;
    height: 40px;
  }
}
.swiper-horse-media-control .swiper-horse-media-next {
  right: 0;
  transform: translate(50%, -50%);
}
@media (max-width: 991px) {
  .swiper-horse-media-control .swiper-horse-media-next {
    transform: none;
    width: 40px;
    height: 40px;
  }
}
.wp-block-button {
  display: flex;
}
.ga-section {
  background: var(--wp--preset--color--white);
  padding: 30px;
}
@media (max-width: 1400px) {
  .ga-section {
    padding: 20px;
  }
}
.ga-section + .ga-section {
  margin-top: 30px;
}
.ga-buttons {
  margin-top: 40px;
}
.ga-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}
.ga-content {
  flex: 1 0 0;
  width: 100%;
  max-width: 100%;
}
.ga-sidebar {
  flex: 0 0 auto;
  width: auto;
}
@media (max-width: 991px) {
  .ga-sidebar {
    display: none;
  }
}
.ga-sidebar .ga-menu {
  position: sticky;
  top: 35px;
  z-index: 1020;
  width: 300px;
  background-color: var(--wp--preset--color--white);
  padding: 12px;
}
.ga-sidebar .ga-menu__title {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  font-size: 20px;
  text-transform: uppercase;
  font-family: "baskerville-urw, serif";
  text-align: center;
  padding: 6px 12px;
}
.ga-sidebar ul {
  list-style: none;
  padding: 0;
}
.ga-sidebar ul li {
  display: block;
}
.ga-sidebar ul li a {
  display: flex;
  font-size: 18px;
  color: var(--wp--preset--color--grey);
}
.ga-sidebar ul li a:hover, .ga-sidebar ul li a.active {
  color: var(--wp--preset--color--primary);
}
.ga-sidebar ul li span {
  margin-left: auto;
}
.ga-sidebar ul li + li {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #D0D1D7;
}
.ga-sidebar .icone {
  display: inline-block;
  width: 24px;
  text-align: center;
  margin-left: 0;
  margin-right: 10px;
}
.ga-section__header {
  display: flex;
  align-items: center;
}
.ga-section__header h2 {
  color: var(--wp--preset--color--primary);
  font-family: "baskerville-urw, serif";
  font-size: 40px;
  font-weight: 500;
}
@media (max-width: 1400px) {
  .ga-section__header h2 {
    font-size: 30px;
  }
}
.ga-section__header .wp-block-buttons {
  margin-left: auto;
}
@media (max-width: 575px) {
  .ga-section__header {
    display: block;
  }
}
.ga-section__header h2 {
  margin: 0;
}
.ga-section__header .ga-section__icon {
  width: 70px;
}
@media (max-width: 1400px) {
  .ga-section__header .ga-section__icon {
    width: 60px;
  }
}
@media (max-width: 575px) {
  .ga-section__header .ga-section__icon {
    width: auto;
  }
}
.ga-section__header svg, .ga-section__header i {
  font-size: 50px;
  color: var(--wp--preset--color--primary);
}
@media (max-width: 1400px) {
  .ga-section__header svg, .ga-section__header i {
    font-size: 40px;
  }
}
@media (max-width: 575px) {
  .ga-section__header svg, .ga-section__header i {
    font-size: 20px;
  }
}
.ga-inner-content {
  padding-left: 70px;
}
@media (max-width: 1400px) {
  .ga-inner-content {
    padding-left: 60px;
  }
}
@media (max-width: 575px) {
  .ga-inner-content {
    padding: 0;
  }
}
@media (max-width: 575px) {
  #medias .wp-block-buttons {
    transform: scale(0.8);
    position: absolute;
    right: 0;
    margin-top: -62px;
  }
}
.ga-quote {
  color: var(--wp--preset--color--white);
  font-family: "baskerville-urw, serif";
  font-size: 40px;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}
@media (max-width: 991px) {
  .ga-quote {
    font-size: 30px;
    padding-left: 20px;
    margin-bottom: 35px;
  }
}
.ga-quote > div {
  position: relative;
}
.ga-quote svg {
  position: absolute;
  left: 0;
  transform: translate(-100%, -20px);
}
.genealogie {
  width: 100%;
}
.genealogie strong, .genealogie b {
  font-weight: normal;
}
.genealogie td {
  font-size: 18px;
  text-transform: uppercase;
  border-bottom: 1px solid #D0D1D7;
  padding: 5px 0;
}
@media (max-width: 767px) {
  .genealogie td {
    font-size: 14px;
  }
}
@media (max-width: 399px) {
  .genealogie td {
    font-size: 12px;
  }
}
.genealogie td.nob {
  border: none;
}
.genealogie td.gen1.pere.p_male span, .genealogie td.gen2.p_male.pere span, .genealogie td.gen2.p_male.perem.pere span {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  padding: 10px 20px;
}
.genealogie td.gen1.pere.p_male span b, .genealogie td.gen2.p_male.pere span b, .genealogie td.gen2.p_male.perem.pere span b {
  font-weight: normal;
}
@media (max-width: 1512px) {
  .genealogie td.gen1.pere.p_male span, .genealogie td.gen2.p_male.pere span, .genealogie td.gen2.p_male.perem.pere span {
    display: block;
    max-width: 90%;
  }
}
footer {
  margin-top: 100px;
}
.groomy-contract-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999999;
  justify-content: center;
  align-items: center;
}
.groomy-contract-modal__content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  position: relative;
  text-align: center;
}
.groomy-contract-modal__close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
}
.groomy-contract-modal__close:hover {
  color: #000;
}
.groomy-contract-modal h3 {
  margin: 0 0 20px 0;
  font-size: 20px;
}
.groomy-contract-modal__buttons .wp-block-button, .groomy-contract-modal__buttons .wp-block-button__link {
  width: 100%;
}
.groomy-contract-modal__buttons .wp-block-button a, .groomy-contract-modal__buttons .wp-block-button__link a {
  display: block;
  width: 100%;
}
.groomy-contract-modal__online {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}
.groomy-contract-modal__online .wp-block-button__link:hover {
  color: #fff !important;
}
.groomy-contract-modal__online .wp-block-button__link:hover a {
  color: #fff !important;
}
