/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.image-comparison { width: 100%; max-width: 1280px; margin: auto; position: relative; overflow: hidden; }
.comparison-container { position: relative; width: 100%; height: 400px; overflow: hidden;}
.comparison-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.comparison-image img { width: 100%; height: 100%; object-fit: cover;  }
.after { clip-path: inset(0 50% 0 0); }
.scroller { position: absolute; top: 0; left: 50%; width: 4px; height: 100%; background: #fff; cursor: ew-resize; transform: translateX(-50%); }
.handle { width: 50px; height: 50px; background: #fff; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); gap: 5px; padding: 4px; }
.arrow { width: 12px; height: 15px !important; }


@media only screen and (max-width: 1024px) { 
    .comparison-container { height: 300px; }
 }
@media only screen and (max-width: 768px) {
     .comparison-container { height: 250px; } 
     .handle { width: 35px; height: 35px; } 
     .arrow { width: 8px; height: 8px; }
     }
