/*
 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 */

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

.blog-title {
  margin-bottom: 10px;
  text-transform: uppercase;
}

.blog-subtitle {
  margin-bottom: 50px;
  text-transform: uppercase;
  font-family: var(--e-global-typography-secondary-font-family);
}

.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 {
  border: 1px solid #eee;
  background: #fff;
  transition: transform 0.3s ease;
}

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

.post-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.post-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  padding: 20px;
}

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

.post-excerpt {
  font-size: 14px;
  color: #666;
}


/* 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;
  }
}
