/*
 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 {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  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;
}


/* Fix jkit-gallery mobile — Isotope reflow cassé → items invisibles */
@media (max-width: 767px) {
  .jkit-gallery .gallery-items {
    height: auto !important;
  }
  .jkit-gallery .gallery-items .gallery-item-wrap {
    width: 100% !important;
    float: none !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin-bottom: 10px;
  }
}
