img {
  max-width: 100%;
}
.wp-block-button__link {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.text-center {
  text-align: center;
}
.text-primary {
  color: var(--wp--preset--color--primary);
}
.yoast-breadcrumbs {
  margin-bottom: 40px;
  padding: 0;
}
.is-style-primary .wp-block-navigation-item__content {
  padding: 0.44rem 1rem 0.7rem 1rem;
  border-radius: 0;
}
.wp-block-button.is-style-primary .wp-block-button__link, .wp-block-button__link, .is-style-primary .wp-block-navigation-item__content {
  background-color: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--primary);
  color: var(--wp--preset--color--primary);
}
.wp-block-button.is-style-primary .wp-block-button__link:hover, .wp-block-button__link:hover, .is-style-primary .wp-block-navigation-item__content:hover {
  background-color: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white) !important;
  cursor: pointer;
}
.wp-block-button.is-style-primary .wp-block-button__link svg, .wp-block-button__link svg, .is-style-primary .wp-block-navigation-item__content svg {
  font-size: 16px;
}
.wp-block-button.is-style-secondary .wp-block-button__link {
  background-color: var(--wp--preset--color--primary);
  border: 1px solid var(--wp--preset--color--white);
  color: var(--wp--preset--color--white);
}
.wp-block-button.is-style-secondary .wp-block-button__link::hover {
  background-color: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  cursor: pointer;
}
.wp-block-button.is-style-secondary .wp-block-button__link svg {
  font-size: 16px;
}
.wp-block-button.is-style-link .wp-block-button__link {
  background-color: transparent;
  border-color: transparent;
  color: var(--wp--preset--color--primary);
}
.wp-block-button.is-style-link .wp-block-button__link::hover {
  background-color: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  cursor: pointer;
}
.wp-block-button.is-style-link .wp-block-button__link svg {
  font-size: 16px;
}
h1, .h1, h2, .h2 {
  font-family: "baskerville-urw, serif";
  color: var(--wp--preset--color--primary);
  line-height: normal;
  font-weight: 500;
  font-size: 40px;
  display: block;
  text-transform: uppercase;
  position: relative;
}
@media (max-width: 991px) {
  h1, .h1, h2, .h2 {
    font-size: 30px;
    margin-bottom: 15px;
  }
}
h1 strong, h1 b, .h1 strong, .h1 b, h2 strong, h2 b, .h2 strong, .h2 b {
  color: #C7C7C7;
  line-height: normal;
  font-size: 16px;
  position: relative;
  margin-bottom: -10px;
}
h2, .h2 {
  font-size: 30px;
}
h3 {
  font-size: 24px;
  color: var(--wp--preset--color--primary);
  font-weight: 500;
}
@media (max-width: 991px) {
  h3 {
    font-size: 22px;
  }
}
.wp-block-latest-posts__post-excerpt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.wp-block-latest-posts__post-excerpt .wp-block-latest-posts__read-more {
  width: auto;
  align-self: flex-start;
}
.wp-block-latest-posts__featured-image {
  position: relative !important;
  padding-top: 66%;
  border-radius: 0;
  overflow: hidden;
  display: block;
  margin-bottom: 0;
}
.wp-block-latest-posts__featured-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}
.wp-block-latest-posts__post-title {
  font-weight: bold;
  font-size: 20px;
  color: var(--wp--preset--color--primary);
  padding: 30px 30px 0 30px;
  text-transform: uppercase;
  font-family: "baskerville-urw, serif";
}
.wp-block-post-title a {
  color: var(--wp--preset--color--primary);
}
.wp-block-post-template {
  margin-top: 35px;
}
.wp-block-post-template li {
  padding-bottom: 40px;
}
.wp-block-latest-posts li {
  position: relative;
  background-color: var(--wp--preset--color--white);
}
.wp-block-latest-posts li:before {
  content: "";
  position: relative;
  padding-top: 66%;
  border-radius: 0;
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 0;
  background-image: url("/wp-content/themes/equideclic/assets/images/placeholder.jpg");
}
.wp-block-latest-posts li:has(.wp-block-latest-posts__featured-image):before {
  content: none;
}
.wp-block-latest-posts li .wp-block-latest-posts__post-date {
  position: absolute;
  display: inline-block;
  border-radius: 0;
  top: 15px;
  right: 15px;
  font-size: 16px;
  padding: 5px 10px;
  color: var(--wp--preset--color--white);
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(40px);
}
.wp-block-latest-posts__list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0;
  margin-bottom: 0;
  gap: 20px;
}
.wp-block-latest-posts__list li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 calc(33.333% - 20px);
  min-height: 100%;
}
@media (max-width: 839px) {
  .wp-block-latest-posts__list li {
    flex: 1 1 calc(50% - 20px);
  }
  .wp-block-latest-posts__list li:nth-child(3) {
    display: none;
  }
}
@media (max-width: 679px) {
  .wp-block-latest-posts__list li {
    flex: 1 1 100%;
  }
}
.wp-block-latest-posts__post-excerpt {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
  padding: 20px 30px 30px 30px;
  margin: 0;
}
.wp-block-latest-posts__read-more {
  margin-top: auto;
  align-self: flex-start;
  padding: 15px 20px;
  font-size: 20px;
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
}
.wp-block-read-more {
  margin-top: 40px;
}
.news {
  background: var(--wp--preset--color--white);
  padding: 30px;
  margin-bottom: 100px;
  margin-top: 20px;
}
.news > .wp-block-post-featured-image {
  padding-top: 50%;
  position: relative;
}
.news > .wp-block-post-featured-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news > .wp-block-post-date {
  margin-bottom: 40px;
}
.news > .wp-block-post-date time {
  display: inline-block;
  border-radius: 50rem;
  background-color: var(--wp--preset--color--primary);
  padding: 5px 10px;
  color: var(--wp--preset--color--white);
}
.news > .wp-block-post-title {
  margin-bottom: 20px;
}
.recherche-content {
  background-color: var(--wp--preset--color--white);
}
.actualites h2 {
  margin: 0;
}
.actualites p {
  margin-top: 0;
}
.actualites .wp-block-buttons {
  margin-right: 40px;
}
@media (max-width: 1199px) {
  .actualites .wp-block-buttons {
    margin: 0;
  }
}
.footer {
  background-color: var(--wp--preset--color--white);
}
.footer .socials {
  display: flex;
  gap: 20px;
}
@media (max-width: 1149px) and (min-width: 768px) {
  .footer .socials {
    gap: 5px;
  }
}
.footer .socials span {
  display: none;
}
.footer .socials a {
  width: 50px;
  height: 50px;
  border-radius: 50rem;
  background: var(--wp--preset--color--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--wp--preset--color--white);
}
.footer .socials a:hover, .footer .socials a:active, .footer .socials a:focus {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
}
.hero {
  gap: 0;
  align-items: center;
  color: #C7C7C7;
  gap: 50px;
  background-image: url("/wp-content/themes/equideclic/assets/images/watermark-white-big.png");
  background-position: bottom left -600px;
  background-repeat: no-repeat;
}
@media (min-width: 992px) {
  .hero figure {
    height: 100vh;
    width: 100%;
    max-width: none;
  }
  .hero figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero > * {
    flex: 0 0 calc(50% - 25px);
    height: 100%;
  }
}
@media (max-width: 991px) {
  .hero {
    display: block !important;
    width: 100%;
  }
  .hero .wp-block-group {
    padding: 0 15px;
  }
  .hero > * {
    display: block;
    width: 100%;
  }
  .hero img {
    width: 100%;
  }
}
