
#zogi-posts-heading,
#zogi-posts-heading *,
.zogi-blog-posts,
.zogi-blog-posts *{box-sizing:border-box}

#zogi-posts-heading{
  --zpg-navy:#1F2148;
  --zpg-coral:#FC5C50;
  --zpg-coral-dark:#B2341E;
  --zpg-muted:#556373;
  direction:rtl;
  width:min(1120px,calc(100% - 32px));
  margin:12px auto 24px;
  color:var(--zpg-navy);
  font-family:inherit;
  text-align:right;
}

#zogi-posts-heading .zpg-kicker{
  display:inline-block;
  margin-bottom:6px;
  color:var(--zpg-coral-dark);
  font-size:12px;
  font-weight:900;
}

#zogi-posts-heading .zpg-title{
  margin:0;
  color:var(--zpg-navy);
  font-size:clamp(26px,3vw,38px);
  font-weight:900;
  line-height:1.25;
}

#zogi-posts-heading .zpg-copy{
  max-width:760px;
  margin:8px 0 0;
  color:var(--zpg-muted);
  font-size:14px;
  line-height:1.75;
}

.zogi-blog-posts{
  --zbp-navy:#1F2148;
  --zbp-coral:#FC5C50;
  --zbp-coral-dark:#B2341E;
  --zbp-peach:#FBE6E3;
  --zbp-border:#F3D5C8;
  --zbp-warm:#FDF8F5;
  --zbp-muted:#556373;
  direction:rtl;
  width:min(1120px,calc(100% - 32px));
  margin-inline:auto;
  font-family:inherit;
}

.zogi-blog-posts .elementor-posts-container,
.zogi-blog-posts .elementor-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:24px!important;
  align-items:stretch!important;
}

.zogi-blog-posts article.elementor-post,
.zogi-blog-posts .elementor-grid-item{
  position:relative;
  display:flex!important;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  margin:0!important;
  border:1px solid var(--zbp-border)!important;
  border-top:1px solid var(--zbp-border)!important;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 28px rgba(31,33,72,.07);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}

/* מבטל פס עליון שמגיע מהתבנית או מ-CSS גלובלי */
.zogi-blog-posts article.elementor-post::before,
.zogi-blog-posts article.elementor-post::after,
.zogi-blog-posts .elementor-grid-item::before,
.zogi-blog-posts .elementor-grid-item::after,
.zogi-blog-posts .elementor-post__card::before,
.zogi-blog-posts .elementor-post__card::after,
.zogi-blog-posts .elementor-post__thumbnail__link::before,
.zogi-blog-posts .elementor-post__thumbnail__link::after{
  content:none!important;
  display:none!important;
}

.zogi-blog-posts .elementor-post__card,
.zogi-blog-posts .elementor-post__thumbnail__link,
.zogi-blog-posts .elementor-post__thumbnail{
  border-top:0!important;
  box-shadow:none!important;
  background-image:none!important;
}

.zogi-blog-posts article.elementor-post:hover,
.zogi-blog-posts .elementor-grid-item:hover{
  transform:translateY(-4px);
  border-color:rgba(252,92,80,.65)!important;
  box-shadow:0 18px 38px rgba(31,33,72,.12);
}

.zogi-blog-posts .elementor-post__thumbnail__link{
  display:block!important;
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
  background:var(--zbp-warm);
}

.zogi-blog-posts .elementor-post__thumbnail{
  width:100%;
  height:100%;
  padding-bottom:0!important;
  overflow:hidden;
}

.zogi-blog-posts .elementor-post__thumbnail img{
  position:static!important;
  display:block;
  width:100%!important;
  height:100%!important;
  object-fit:cover;
  transform:none!important;
  transition:transform .35s ease!important;
}

.zogi-blog-posts article.elementor-post:hover .elementor-post__thumbnail img,
.zogi-blog-posts .elementor-grid-item:hover .elementor-post__thumbnail img{
  transform:scale(1.035)!important;
}

.zogi-blog-posts .elementor-post__text{
  position:relative;
  display:flex!important;
  flex:1;
  flex-direction:column;
  padding:20px 20px 18px!important;
  border-top:4px solid var(--zbp-navy)!important;
  direction:rtl;
}

.zogi-blog-posts .elementor-post__meta-data{
  margin:0 0 8px!important;
  color:var(--zbp-coral-dark)!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.4!important;
}

.zogi-blog-posts .elementor-post__title{
  margin:0 0 10px!important;
  color:var(--zbp-navy)!important;
  font-size:20px!important;
  font-weight:900!important;
  line-height:1.35!important;
}

.zogi-blog-posts .elementor-post__title a{
  color:inherit!important;
  text-decoration:none!important;
}

.zogi-blog-posts .elementor-post__excerpt{
  display:-webkit-box;
  margin:0 0 15px!important;
  overflow:hidden;
  color:var(--zbp-muted)!important;
  font-size:13px!important;
  line-height:1.75!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}

.zogi-blog-posts .elementor-post__read-more{
  display:inline-flex!important;
  align-items:center;
  gap:5px;
  width:max-content;
  margin-top:auto!important;
  padding-top:2px;
  color:var(--zbp-coral)!important;
  font-size:12px!important;
  font-weight:900!important;
  text-decoration:none!important;
}

.zogi-blog-posts .elementor-post__read-more::after{
  content:"←";
  transition:transform .2s ease;
}

.zogi-blog-posts .elementor-post__read-more:hover::after{
  transform:translateX(-3px);
}

body:not(.paged) .zogi-blog-posts .elementor-posts-container > article.elementor-post:first-child,
body:not(.paged) .zogi-blog-posts .elementor-grid > article.elementor-post:first-child{
  grid-column:1/-1;
  display:grid!important;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  min-height:360px;
  direction:ltr;
  border-color:rgba(252,92,80,.45);
  background:linear-gradient(135deg,#fff 0%,var(--zbp-warm) 100%);
}


body:not(.paged) .zogi-blog-posts .elementor-posts-container > article.elementor-post:first-child .elementor-post__thumbnail__link,
body:not(.paged) .zogi-blog-posts .elementor-grid > article.elementor-post:first-child .elementor-post__thumbnail__link{
  grid-column:1;
  grid-row:1;
  height:100%;
  min-height:360px;
  aspect-ratio:auto;
}

body:not(.paged) .zogi-blog-posts .elementor-posts-container > article.elementor-post:first-child .elementor-post__text,
body:not(.paged) .zogi-blog-posts .elementor-grid > article.elementor-post:first-child .elementor-post__text{
  grid-column:2;
  grid-row:1;
  justify-content:center;
  padding:44px 40px!important;
  border-top:4px solid var(--zbp-navy)!important;
  direction:rtl;
}

body:not(.paged) .zogi-blog-posts .elementor-posts-container > article.elementor-post:first-child .elementor-post__text::before,
body:not(.paged) .zogi-blog-posts .elementor-grid > article.elementor-post:first-child .elementor-post__text::before{
  content:"המאמר החדש ביותר";
  display:inline-flex;
  align-self:flex-start;
  margin-bottom:13px;
  padding:6px 11px;
  border-radius:999px;
  background:var(--zbp-coral);
  color:#fff;
  font-size:11px;
  font-weight:900;
  line-height:1.3;
  box-shadow:0 7px 18px rgba(252,92,80,.20);
}

body:not(.paged) .zogi-blog-posts .elementor-posts-container > article.elementor-post:first-child .elementor-post__title,
body:not(.paged) .zogi-blog-posts .elementor-grid > article.elementor-post:first-child .elementor-post__title{
  font-size:clamp(28px,3vw,39px)!important;
  line-height:1.22!important;
}

body:not(.paged) .zogi-blog-posts .elementor-posts-container > article.elementor-post:first-child .elementor-post__excerpt,
body:not(.paged) .zogi-blog-posts .elementor-grid > article.elementor-post:first-child .elementor-post__excerpt{
  max-width:620px;
  font-size:15px!important;
  line-height:1.8!important;
  -webkit-line-clamp:4;
}

body:not(.paged) .zogi-blog-posts .elementor-posts-container > article.elementor-post:first-child .elementor-post__read-more,
body:not(.paged) .zogi-blog-posts .elementor-grid > article.elementor-post:first-child .elementor-post__read-more{
  min-height:43px;
  padding:10px 18px;
  border-radius:999px;
  background:var(--zbp-navy);
  color:#fff!important;
}

.zogi-blog-posts .elementor-pagination{
  margin-top:34px!important;
  text-align:center;
}

.zogi-blog-posts .elementor-pagination a,
.zogi-blog-posts .elementor-pagination span{
  display:inline-grid;
  place-items:center;
  min-width:38px;
  min-height:38px;
  margin:3px;
  border:1px solid var(--zbp-border);
  border-radius:10px;
  color:var(--zbp-navy)!important;
  background:#fff;
  font-weight:800;
}

.zogi-blog-posts .elementor-pagination .current{
  border-color:var(--zbp-coral);
  background:var(--zbp-coral);
  color:#fff!important;
}


/* איפוס סופי לפס העליון הירוק שמגיע מעיצוב גלובלי */
.zogi-blog-posts article.elementor-post,
.zogi-blog-posts article.elementor-post > .elementor-post__card,
.zogi-blog-posts .elementor-grid-item,
.zogi-blog-posts .elementor-grid-item > .elementor-post__card{
  border-top-color:var(--zbp-border)!important;
  border-top-width:1px!important;
  border-top-style:solid!important;
}

.zogi-blog-posts .elementor-post__thumbnail__link,
.zogi-blog-posts .elementor-post__thumbnail{
  outline:0!important;
}

body:not(.paged) .zogi-blog-posts .elementor-posts-container > article.elementor-post:first-child,
body:not(.paged) .zogi-blog-posts .elementor-grid > article.elementor-post:first-child,
body:not(.paged) .zogi-blog-posts .elementor-posts-container > article.elementor-post:first-child > .elementor-post__card,
body:not(.paged) .zogi-blog-posts .elementor-grid > article.elementor-post:first-child > .elementor-post__card{
  border-top:1px solid rgba(252,92,80,.45)!important;
}

@media(max-width:900px){
  .zogi-blog-posts .elementor-posts-container,
  .zogi-blog-posts .elementor-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  body:not(.paged) .zogi-blog-posts .elementor-posts-container > article.elementor-post:first-child,
  body:not(.paged) .zogi-blog-posts .elementor-grid > article.elementor-post:first-child{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:650px){
  #zogi-posts-heading,
  .zogi-blog-posts{
    width:min(100% - 24px,1120px);
  }

  .zogi-blog-posts .elementor-posts-container,
  .zogi-blog-posts .elementor-grid{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }

  body:not(.paged) .zogi-blog-posts .elementor-posts-container > article.elementor-post:first-child,
  body:not(.paged) .zogi-blog-posts .elementor-grid > article.elementor-post:first-child{
    grid-column:auto;
    grid-template-columns:1fr;
    min-height:auto;
    direction:rtl;
  }

  body:not(.paged) .zogi-blog-posts .elementor-posts-container > article.elementor-post:first-child .elementor-post__thumbnail__link,
  body:not(.paged) .zogi-blog-posts .elementor-grid > article.elementor-post:first-child .elementor-post__thumbnail__link{
    grid-column:1;
    grid-row:1;
    min-height:0;
    aspect-ratio:16/10;
  }

  body:not(.paged) .zogi-blog-posts .elementor-posts-container > article.elementor-post:first-child .elementor-post__text,
  body:not(.paged) .zogi-blog-posts .elementor-grid > article.elementor-post:first-child .elementor-post__text{
    grid-column:1;
    grid-row:2;
    padding:24px 20px 22px!important;
    border-top:4px solid var(--zbp-navy)!important;
  }

  body:not(.paged) .zogi-blog-posts .elementor-posts-container > article.elementor-post:first-child .elementor-post__title,
  body:not(.paged) .zogi-blog-posts .elementor-grid > article.elementor-post:first-child .elementor-post__title{
    font-size:26px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .zogi-blog-posts article.elementor-post,
  .zogi-blog-posts .elementor-grid-item,
  .zogi-blog-posts .elementor-post__thumbnail img,
  .zogi-blog-posts .elementor-post__read-more::after{
    transition:none!important;
  }
}
