.elementor-widget-theme-post-content.premium-cursor-ftext .premium-global-cursor-{{ID}} .premium-cursor-follow-text{font-family:var( --e-global-typography-primary-font-family );font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-theme-post-content .premium-global-cursor-{{ID}}{color:var( --e-global-color-primary );fill:var( --e-global-color-primary );}.elementor-widget-theme-post-content .premium-global-badge-{{ID}} .premium-badge-text{color:var( --e-global-color-secondary );}.elementor-widget-theme-post-content.pa-bg-clipped-yes.premium-gbadge-custom .premium-global-badge-{{ID}} .premium-badge-text, .elementor-widget-theme-post-content:not(.premium-gbadge-custom) .premium-global-badge-{{ID}} .premium-badge-container, .elementor-widget-theme-post-content.premium-gbadge-custom:not(.pa-bg-clipped-yes) .premium-global-badge-{{ID}} .premium-badge-container{background-color:var( --e-global-color-primary );}.elementor-widget-theme-post-content .premium-global-badge-{{ID}} .premium-badge-icon{color:var( --e-global-color-secondary );fill:var( --e-global-color-secondary );}.elementor-widget-theme-post-content{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family );font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );}@media(max-width:1024px){.elementor-widget-theme-post-content.premium-cursor-ftext .premium-global-cursor-{{ID}} .premium-cursor-follow-text{font-size:var( --e-global-typography-primary-font-size );}.elementor-widget-theme-post-content{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}}@media(max-width:767px){.elementor-widget-theme-post-content.premium-cursor-ftext .premium-global-cursor-{{ID}} .premium-cursor-follow-text{font-size:var( --e-global-typography-primary-font-size );}.elementor-widget-theme-post-content{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}}/* Start custom CSS */.ap-canvas {
  height: 100%;
  width: 100%;

  padding: 15px;
  box-sizing: border-box;

  display: grid;
  place-items: center;

  overflow: hidden;
}

/* הווידג׳ט של תוכן הפוסט */
.ap-canvas .ap-post-content {
  aspect-ratio: 4 / 5;

  /*
    בגלל שה-parent הכללי הוא 100vh עם padding 20px,
    וה-ap-canvas עצמו מקבל עוד padding 15px מכל צד:
    100vh - 40px - 30px = 100vh - 70px
    הרוחב לפי יחס 4:5 הוא כפול 0.8
  */
  width: min(100%, calc((100vh - 70px) * 0.8));

  height: auto;
  max-height: 100%;

  overflow: hidden;
  box-sizing: border-box;

  background: #ffffff;
}

/* כדי שהעטיפה הפנימית של אלמנטור תמלא את הקנבס */
.ap-canvas .ap-post-content > .elementor-widget-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* אם תוכן הפוסט עצמו מכיל אלמנטור פנימי */
.ap-canvas .ap-post-content .elementor {
  width: 100%;
  height: 100%;
}/* End custom CSS */