/*
Theme Name: YGMG Elementor Pixel-Preserved
Author: PK Digitech
Description: Original YGMG static design converted into WordPress with Elementor sections.
Version: 1.3.0
Requires PHP: 7.4
Text Domain: ygmg
*/
/* Remove Elementor's default section padding and constrained widths without altering mother design. */
html,body{margin:0;padding:0;max-width:100%;overflow-x:clip}
body .elementor{width:100%;max-width:100%}
body .elementor .e-con.e-parent{--padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;--container-max-width:100%;--width:100%;padding:0;margin:0;gap:0;max-width:none;width:100%}
body .elementor .e-con>.e-con-inner{max-width:none;width:100%;padding:0;margin:0;gap:0}
body .elementor-widget-html,body .elementor-widget-html .elementor-widget-container{width:100%;margin:0;padding:0}
body .elementor-widget-html .elementor-widget-container{display:contents}
body .elementor .elementor-widget:not(:last-child){margin-bottom:0}
body .elementor .e-con>.elementor-widget{min-width:0}

/* v1.3: Restore mother-package image framing inside Elementor HTML widgets.
   Elementor's global img {height:auto} must not override fixed photo frames. */
body .elementor .intro-image-frame {position:relative;overflow:hidden;}
body .elementor .intro-image-frame > img {
  position:absolute;inset:0;width:100%;height:100%;max-width:none;
  object-fit:cover;object-position:center;display:block;
}
body .elementor .intro-image-frame:hover > img {transform:scale(1.06);}
body .elementor .res-image > img {
  display:block;width:100%;height:600px;max-width:100%;
  object-fit:cover;object-position:center;border-radius:28px;
}
@media(max-width:768px){
  body .elementor .res-image > img {height:430px;}
}
