/* 
Theme Name: McMahon Theme
Theme URI: https://mcmahon.co.nz
Description: Elementor child theme for McMahon Electrical Engineering website.
Author: The Fold
Author URI: https://thefold.co.nz
Template: hello-elementor
Version: 2.0.0
Text Domain: mcmahon
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
*/

/* General */

ul, ol {
    margin-block-end: 0.9rem;
}

.elementor-sticky.elementor-sticky--active .elementor-widget-theme-site-logo img {
   transition: all 0.4s ease;
}

.elementor-sticky.elementor-sticky--active.elementor-sticky--effects {
    box-shadow: 0px 4px 10px 0px rgba(0,0,0,0.05);
}

.elementor-sticky.elementor-sticky--active.elementor-sticky--effects .elementor-widget-theme-site-logo img {
    max-width: 150px;    
}

img.swiper-slide-image {
    box-shadow: none;
}


/* Header */


/* Homepage */

.home-hero h2 span.hero-highlight {
    border-bottom: 4px solid var(--e-global-color-text);
    letter-spacing: 1px;
    font-size: 3.1rem;
    font-weight: 700;
}

.home-carousel img {
    max-width: 10rem;
}

.home-services {
    background-blend-mode: lighten;    
}

@media screen and (max-width: 767px) {
    .home-hero h2 span.hero-highlight {
        font-size: 2.4rem;
    }   
}


/* Projects */

.elementor-post-navigation {
    flex-flow: column;
}

.elementor-post-navigation .elementor-post-navigation__link {
    width: 100%;
    padding: 0.6rem 0;
}




/* Contact */

.contact-address h5 {
    color: var(--e-global-color-text);
    margin: 0 0 0.4rem;
}

.contact-address span.elementor-icon-list-text:has(a) {
    display: flex;
    gap: 0.4rem;
}

.contact-address a {
    text-decoration: underline;
    color: var(--e-global-color-3c91f88);
}

.contact-address a:hover {
    text-decoration: none;
    color: var(--e-global-color-text);
}


/* Footer */
