/* ============================================================
   MERIT CAPITAL — Elementor compatibility
   Loaded after Elementor's front-end CSS. Keeps the theme sections
   pixel-identical when they are rendered inside Elementor wrappers.
============================================================ */

/* Containers that hold Merit Capital sections: no padding, no gaps, full width.
   Each section carries its own spacing, exactly like the original templates. */
.e-con.mc-con {
    --padding-top: 0px;
    --padding-right: 0px;
    --padding-bottom: 0px;
    --padding-left: 0px;
    --gap: 0px;
    --row-gap: 0px;
    --column-gap: 0px;
    --content-width: 100%;
    --width: 100%;
}
/* Reproduces the original <main class="page-content-section"> wrapper (product pages). */
.e-con.mc-con.mc-con--padded {
    --padding-top: 80px;
    --padding-bottom: 80px;
}
.elementor .elementor-widget[class*="elementor-widget-mc-"] {
    width: 100%;
    max-width: 100%;
}
.elementor .elementor-widget[class*="elementor-widget-mc-"] > .elementor-widget-container {
    transform: none;
}

/* Elementor resets `.elementor a { box-shadow:none }` and `.elementor img { height:auto; border-radius:0 }`.
   Re-assert the theme rules those resets would otherwise override. */
.elementor .btn-gold { box-shadow: var(--shadow-gold); }
.elementor .btn-gold:hover { box-shadow: 0 8px 25px rgba(184,146,42,0.40); }
.elementor .contact-teaser-card { box-shadow: var(--shadow); }
.elementor .contact-teaser-card:hover { box-shadow: var(--shadow-lg); }
.elementor .leadership-teaser-card { box-shadow: var(--shadow-lg); }
.elementor .about-img { height: 100%; border-radius: var(--radius-xl); }
.elementor .team-card-photo img { height: 100%; }
.elementor .site-logo-img,
.elementor .footer-logo { height: 52px; }
/* `.elementor hr { margin:0 }` would remove the divider spacing between product rows. */
.elementor .product-divider { margin: 0 0 64px; }

/* Header template: the sticky behaviour moves to the wrapper the theme prints around the template. */
.mc-site-header-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}
.mc-site-header-wrap .site-header { position: static; }
.mc-site-header-wrap .elementor,
.mc-site-header-wrap .e-con,
.mc-site-footer-wrap .elementor,
.mc-site-footer-wrap .e-con { overflow: visible; }
