.elementor-3886 .elementor-element.elementor-element-b65f78f{--display:flex;--min-height:0px;}.elementor-3886 .elementor-element.elementor-element-95fb6ed{--spacer-size:100px;}.elementor-3886 .elementor-element.elementor-element-5e47540.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-3886 .elementor-element.elementor-element-5e47540 .portfolio-item{width:600px;}.elementor-3886 .elementor-element.elementor-element-5e47540 .portfolio-type-horizontal .portfolio-item .a-img div{width:600px;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-3886 .elementor-element.elementor-element-b65f78f{--width:90%;--min-height:0px;--flex-direction:column-reverse;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--flex-wrap:wrap;}.elementor-3886 .elementor-element.elementor-element-5e47540{width:var( --container-widget-width, 376.549px );max-width:376.549px;--container-widget-width:376.549px;--container-widget-flex-grow:0;}}@media(min-width:768px){.elementor-3886 .elementor-element.elementor-element-b65f78f{--width:45%;}}/* Start custom CSS for yprm_portfolio, class: .elementor-element-5e47540 */@media (max-width: 767px) {

  /* 0) Μην μας αφήνεις κενά από το item */
  html body .elementor-element-5e47540 article.portfolio-item{
    margin-bottom: 0 !important;
  }

  /* 1) Η εικόνα wrapper */
  html body .elementor-element-5e47540 .portfolio-item .a-img{
    height: 243px !important;
    max-height: 243px !important;
    min-height: 243px !important;

    padding: 0 !important;
    padding-bottom: 0 !important;     /* kill ratio */
    aspect-ratio: auto !important;    /* kill aspect-ratio if used */

    overflow: hidden !important;
    position: relative !important;

    /* αν το background μπαίνει πάνω στο ίδιο το a-img */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  /* 2) Σκότωσε pseudo-elements (πολύ συχνά κρατάνε ratio) */
  html body .elementor-element-5e47540 .portfolio-item .a-img::before,
  html body .elementor-element-5e47540 .portfolio-item .a-img::after{
    content: none !important;
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* 3) Αν υπάρχει inner div με background-image (το δικό σου lizyready) */
  html body .elementor-element-5e47540 .portfolio-item .a-img > div{
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    padding: 0 !important;
    padding-bottom: 0 !important;    /* ΠΟΛΥ σημαντικό */
    margin: 0 !important;

    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  /* 4) Κόψε το overlay που συχνά προσθέτει ύψος/κενό */
  html body .elementor-element-5e47540 .portfolio-item .content{
    display: none !important;
  }

  /* 5) Κλείδωσε και το viewport του Owl για να μην κρατάει παλιό ύψος */
  html body .elementor-element-5e47540 .owl-stage-outer,
  html body .elementor-element-5e47540 .owl-stage,
  html body .elementor-element-5e47540 .owl-item,
  html body .elementor-element-5e47540 article.portfolio-item .wrap{
    height: 203px !important;
    max-height: 203px !important;
    overflow: hidden !important;
  }
}/* End custom CSS */