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

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

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

.blog-page {
  padding: 20px 20px;
  max-width: 1300px;
  margin: auto;
  text-align: center;
}

.blog-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);
  letter-spacing: 2px;
  margin-bottom: 50px;
}

.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;
  }

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