/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://example.com/hello-elementor-child
 Description:  Un thème enfant pour le thème Hello Elementor.
 Author:       Caya Studio
 Author URI:   https://example.com
 Template:     hello-elementor
 Version:      1.0.0
*/

@import url("../hello-elementor/style.css");

/* Ajoutez vos styles personnalisés ci-dessous */

/* CSS "précedent" - "suivant" */
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #e1e1e1;
}

.nav-previous, .nav-next {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-previous {
    justify-content: flex-start;
}

.nav-next {
    justify-content: flex-end;
}

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

.nav-previous-link .nav-image {
    margin-right: 15px;
}

.nav-next-link .nav-image {
    margin-left: 15px;
}

.nav-image {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 0%;
    flex-shrink: 0;
}

.nav-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-text {
    font-size: 14px;
    color: #333;
}

.nav-text span {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}
.post-navigation-container {
        max-width: 1140px !important; /* Ajustez cette valeur selon la largeur de votre conteneur principal */
        margin: 0 auto;
        padding: 0 15px;
    }

/* CSS Tu aimeras aussi */
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.related-post-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: px solid #ddd;
    padding: 0px;
    box-sizing: border-box;
}

.related-post-thumbnail {
    height: 400px; /* Hauteur fixe pour les conteneurs d'images */
    margin-bottom: 20px;
    overflow: hidden; /* Masquer les parties débordantes des images */
}

.related-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assurer que les images remplissent le conteneur et gardent un ratio correct */
}

.related-post-item h3 {
    font-size: 1.2em;
    margin: 10px 0;
		color: black !important;
    text-align: center;
}

.related-post-item .related-post-date {
    font-size: 0.9em;
    color: #888;
    text-align: center;
}
.blog-page {
  padding: 60px 20px;
  max-width: 1300px;
  margin: auto;
  text-align: center;
}

.blog-title {
  font-size: 60px;
  font-family: var(--e-global-typography-secondary-font-family);
  font-weight: var(--e-global-typography-secondary-font-weight, 400);
  color: var(--e-global-color-secondary);
  letter-spacing: 2px;
  margin-bottom: 60px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

@media (max-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
}

.post-card {
  background: transparent;
  border: none;
  transition: transform 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
}

.post-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-title {
  font-family: var(--e-global-typography-secondary-font-family);
  font-weight: var(--e-global-typography-secondary-font-weight, 400);
  color: var(--e-global-color-secondary);
  margin-top: 20px;
  margin-bottom: 5px;
}

.post-excerpt {
  font-family: var(--e-global-typography-text-font-family);
  color: var(--e-global-color-text);
  max-width: 90%;
  margin: auto;
}

