/* =========================================================
   Post grid [lamelie_posts] – replacement for Elementor Pro "Posts"
   ========================================================= */
.lamelie-posts{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:60px; max-width:1192px; margin:40px auto; padding:0 20px;
  font-family:Poppins,sans-serif;
}
.lamelie-post{
  display:flex; flex-direction:column;
  background:#fff; border:1px solid #ecbab5; border-radius:8px; overflow:hidden;
  box-shadow:0 0 10px rgba(0,0,0,.12);
  transition:box-shadow .25s ease, transform .25s ease;
}
.lamelie-post:hover{box-shadow:0 6px 22px rgba(0,0,0,.16); transform:translateY(-3px)}
.lamelie-post__img{display:block; line-height:0; aspect-ratio:1/1; overflow:hidden; background:#f4ecee}
.lamelie-post__img img{width:100% !important; height:100% !important; max-width:none !important; object-fit:cover; transition:transform .4s ease}
.lamelie-post:hover .lamelie-post__img img{transform:scale(1.03)}
.lamelie-post__body{flex:1; display:flex; flex-direction:column; align-items:center; text-align:center; padding:24px 30px 26px}
.lamelie-post__title{margin:0 0 18px !important; padding:0; font-family:inherit !important; font-size:18px !important; font-weight:600 !important; line-height:30px !important; letter-spacing:0 !important; text-transform:uppercase}
.lamelie-post__title a{color:#20224a !important; text-decoration:none !important}
.lamelie-post__title a:hover{color:#5b1e11 !important}
.lamelie-post__more{margin-top:auto; color:#266e4e !important; font-size:16px; font-weight:400; text-transform:uppercase; text-decoration:none !important; letter-spacing:.02em}
.lamelie-post__more:hover{text-decoration:underline !important; text-underline-offset:4px}

/* pagination */
.lamelie-posts-pages{display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin:0 auto 60px; font-family:Poppins,sans-serif}
.lamelie-posts-pages .page-numbers{
  display:inline-flex; align-items:center; justify-content:center; min-width:42px; height:42px; padding:0 12px;
  border:1px solid #ecbab5; border-radius:21px; color:#20224a !important; text-decoration:none !important; font-size:15px;
}
.lamelie-posts-pages .page-numbers.current, .lamelie-posts-pages a.page-numbers:hover{background:#5b1e11; border-color:#5b1e11; color:#fff !important}
.lamelie-posts-pages .dots{border:0}

@media (max-width:1024px){ .lamelie-posts{grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px} }
@media (max-width:640px){ .lamelie-posts{grid-template-columns:1fr; gap:28px; max-width:420px} }
@media (prefers-reduced-motion:reduce){ .lamelie-post, .lamelie-post img{transition:none !important} }
