.elementor-kit-8{--e-global-color-smartmag:#8CA9A6;--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-weight:500;}.elementor-kit-8 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1200px;}.e-con{--container-max-width:1200px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:940px;}.e-con{--container-max-width:940px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* 1. Make sure the image-link is positioned for the pseudo-element */
.item-3:has(a[href*="programma-kai-pou"]) .media .image-link {
    position: relative; /* needed for ::before positioning */
    overflow: hidden;   /* ensures zoom doesn't overflow */
}

/* 2. Add the custom background via ::before */
.item-3:has(a[href*="programma-kai-pou"]) .media .image-link::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://grey-pelican-608269.hostingersite.com/wp-content/uploads/2026/03/Container.png');
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease; /* smooth zoom */
    z-index: 1;
}

/* 3. Zoom effect on hover */
.item-3:has(a[href*="programma-kai-pou"]) .media .image-link:hover::before {
    transform: scale(1.1); /* adjust zoom level */
}

/* 4. Hide the original <img> completely */
.item-3:has(a[href*="programma-kai-pou"]) .media .image-link img {
    opacity: 0 !important;
    display: none !important;
}
.grid-overlay .media span[style*="background-image"] {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}/* End custom CSS */