/**
 * Pedro Brício
 * Loop de posts irregular
 */


/* ==========================================================
   LOOP GRID
   ========================================================== */

.pb-posts .elementor-loop-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
  width: 100%;
}


/* ==========================================================
   LOOP ITEM
   ========================================================== */

.pb-posts .e-loop-item {
  display: block;
  flex: 0 0 auto;
  width: var(--pb-width) !important;
  max-width: var(--pb-width) !important;
  margin-top: var(--pb-top);
  margin-right: 0;
  margin-bottom: 0;
  margin-left: var(--pb-left);
  box-sizing: border-box;
}


/* ==========================================================
   CONTAINER INTERNO DO LOOP ITEM
   ========================================================== */

.pb-posts .e-loop-item .pb-post {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}


/* ==========================================================
   TÍTULO
   ========================================================== */

.pb-posts .pb-post .elementor-heading-title {
  margin: 0;
}


/* ==========================================================
   DESKTOP
   ========================================================== */

@media (min-width: 1025px) {

  .pb-posts {
    --pb-min-width: 22%;
    --pb-max-width: 42%;
  }

}


/* ==========================================================
   TABLET
   ========================================================== */

@media (min-width: 768px) and (max-width: 1024px) {

  .pb-posts {
    --pb-min-width: 32%;
    --pb-max-width: 55%;
  }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

  .pb-posts {
    --pb-min-width: 58%;
    --pb-max-width: 90%;
  }

  .pb-posts .e-loop-item {
    margin-top: var(--pb-top);
  }

}