/*
Theme Name: Essentials Child
Theme URI: https://essentials.pixfort.com/
Author: PixFort
Template: essentials
Author URI: http://themeforest.net/user/pixfort
Description: Essentials child theme
Version: 1.0.3
License: Envato Marketplaces Split Licence
License URI: https://themeforest.net/licenses/standard
Text Domain: essentials-child
Tags: header-builder, footer-builder, divider-builder, popup-builder, premium-design, translation-ready

*/


/* THPS local fix: keep header above page content (scroll overlap) */
.elementor-location-header {
    position: relative;
    z-index: 10000;
}

/* THPS local fix: beat theme SCSS z-index so header stays on top */
body:not(.pix-sections-stack) #page > .elementor.elementor[data-elementor-type="header"] {
    z-index: 10000 !important;
}

/* THPS local fix: homepage header solid blue so white menu stays readable on scroll */
body.home .elementor-1848 [data-id="c94aca3"] {
    background-color: #022169 !important;
}

/* THPS local fix: footer spans full viewport width */
#pix-page-footer > .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* THPS local fix: footer breaks out to full viewport width */
#pix-page-footer {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
}

/* THPS: loading spinner in brand blue, visible on white overlay */
.pix-loading-circ-path {
    color: #022169 !important;
    border-color: #022169 !important;
    border-right-color: #61C2F7 !important;
    opacity: 1 !important;
}
.pix-page-loading-bg {
    transition: opacity 0.45s ease;
}

/* THPS: visitor counter bold + styled */
.elementor-element-59c0636 .elementor-shortcode {
    font-size: 44px !important;
    font-weight: 800 !important;
    color: #022169 !important;
    line-height: 1.1 !important;
    font-family: "Montserrat", sans-serif !important;
}

/* THPS: directors grid cards uniform height */
body.page-id-747 .ae-post-collection .ae-post-item {
    height: 100%;
    display: flex;
}
body.page-id-747 .ae-post-item-inner {
    height: 100%;
    display: flex;
}
body.page-id-747 .ae-post-item-inner > div {
    height: 100%;
    width: 100%;
}
body.page-id-747 [data-id="ec0f8cd"] {
    flex: 1;
}
body.page-id-747 [data-id="ec0f8cd"] img {
    width: 100%;
    height: 280px !important;
    object-fit: cover;
}

/* THPS v1.0.3: directors grid uniform rows */
body.page-id-747 .ae-post-collection .ae-post-item { height: 100%; display: flex; }
body.page-id-747 .ae-post-item-inner { height: 100%; display: flex; width: 100%; }
body.page-id-747 .ae-post-item-inner > div { height: 100%; width: 100%; display: flex; flex-direction: column; }
body.page-id-747 .ae-post-item-inner > div > div { height: 100%; display: flex; flex-direction: column; }
body.page-id-747 [data-id="ec0f8cd"] { flex: 1 1 auto; min-height: 0; }
body.page-id-747 [data-id="ec0f8cd"] img { width: 100%; height: 280px !important; object-fit: cover; }
