/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra Child theme for MNG Consulting.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/







section#heroseciton video.elementor-background-video-hosted {
    inset-block-start: unset;
    inset-inline-start: unset;
    position: absolute;
    transform: translate(0%, 0%);
}



/* =========================================================================
   1. HEADER — Dark/Light Logo Swap + Sticky Header
   ========================================================================= */

div#darklogo { display: none; }
div#lightlogo { display: block; }
.siteheader.elementor-sticky--effects div#darklogo { display: block; }
.siteheader.elementor-sticky--effects div#lightlogo { display: none; }
.siteheader.elementor-sticky--effects { background: #FAF9F5; }
.siteheader.elementor-sticky--effects .elementor-nav-menu--dropdown { background: #FAF9F5 !important; }
.siteheader.elementor-sticky--effects ul li a { color: #172A46 !important; }
.siteheader.elementor-sticky--effects ul li a:hover { color: #FF4D66 !important; }
.siteheader.elementor-sticky--effects ul li.current-menu-item a { color: #FF4D66 !important; }


/* =========================================================================
   2. COUNTER / ICON ALIGNMENT
   ========================================================================= */

.centercount h3.elementor-counter-title {
    text-align: left;
    line-height: 1.4em;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.alignicon .elementor-icon-box-icon { margin-top: 8px; }


/* =========================================================================
   3. ELEMENTOR FORM FIELD HEIGHT
   ========================================================================= */

.elementor-form-fields-wrapper .elementor-field-group input,
.elementor-form-fields-wrapper .elementor-field-group select {
    height: 50px;
}


/* =========================================================================
   4. HERO / HIRING SECTION — GRADIENT OVERLAYS
   ========================================================================= */

/* ----- #hiringsection ----- */
#hiringsection > .elementor-background-overlay {
    background-image:
        linear-gradient(to right,
            rgba(255, 255, 255, 1.00) 6%,
            rgba(255, 255, 255, 1.00) 69%,
            rgba(255, 255, 255, 0.40) 85%,
            rgba(255, 255, 255, 0.00) 100%),
        linear-gradient(to top,
            rgba(255, 255, 255, 1.00) 3%,
            rgba(255, 255, 255, 0.30) 17%,
            rgba(255, 255, 255, 0.00) 30%) !important;
    opacity: 1 !important;
}

@media (max-width: 767px), (max-width: 580px), (max-width: 420px) {
    #hiringsection > .elementor-background-overlay {
        background-image:
            linear-gradient(to bottom,
                rgba(255, 255, 255, 1.00) 3%,
                rgba(255, 255, 255, 1.00) 65%,
                rgba(255, 255, 255, 0.40) 82%,
                rgba(255, 255, 255, 0.00) 91%) !important;
        opacity: 1 !important;
    }
}

/* ----- .rightblur ----- */
.rightblur > .elementor-background-overlay {
    background-image:
        linear-gradient(to right,
            rgba(255, 255, 255, 1.00) 6%,
            rgba(255, 255, 255, 1.00) 69%,
            rgba(255, 255, 255, 0.40) 85%,
            rgba(255, 255, 255, 0.00) 100%),
        linear-gradient(to top,
            rgba(255, 255, 255, 1.00) 3%,
            rgba(255, 255, 255, 0.30) 17%,
            rgba(255, 255, 255, 0.00) 30%),
        linear-gradient(to bottom,
            rgba(255, 255, 255, 1.00) 3%,
            rgba(255, 255, 255, 0.30) 17%,
            rgba(255, 255, 255, 0.00) 30%) !important;
    opacity: 1 !important;
}

@media (max-width: 767px), (max-width: 580px), (max-width: 420px) {
    .rightblur > .elementor-background-overlay {
        background-image:
            linear-gradient(to bottom,
                rgba(255, 255, 255, 1.00) 3%,
                rgba(255, 255, 255, 1.00) 65%,
                rgba(255, 255, 255, 0.40) 82%,
                rgba(255, 255, 255, 0.00) 91%) !important;
        opacity: 1 !important;
    }
}

/* ----- .leftblur (mirror of .rightblur) ----- */
.leftblur > .elementor-background-overlay {
    background-image:
        linear-gradient(to left,
            rgba(255, 255, 255, 1.00) 6%,
            rgba(255, 255, 255, 1.00) 69%,
            rgba(255, 255, 255, 0.40) 85%,
            rgba(255, 255, 255, 0.00) 100%),
        linear-gradient(to top,
            rgba(255, 255, 255, 1.00) 3%,
            rgba(255, 255, 255, 0.30) 17%,
            rgba(255, 255, 255, 0.00) 30%),
        linear-gradient(to bottom,
            rgba(255, 255, 255, 1.00) 3%,
            rgba(255, 255, 255, 0.30) 17%,
            rgba(255, 255, 255, 0.00) 30%) !important;
    opacity: 1 !important;
}

@media (max-width: 767px), (max-width: 580px), (max-width: 420px) {
    .leftblur > .elementor-background-overlay {
        background-image:
            linear-gradient(to bottom,
                rgba(255, 255, 255, 1.00) 3%,
                rgba(255, 255, 255, 1.00) 65%,
                rgba(255, 255, 255, 0.40) 82%,
                rgba(255, 255, 255, 0.00) 91%) !important;
        opacity: 1 !important;
    }
}


/* =========================================================================
   5. JOBS FILTER — SIDEBAR + RESULTS + MOBILE POPUP
   Accent color: #FF4D66 | Navy: #172A46
   ========================================================================= */

.mng-jobs-filter-wrap {
    --mng-navy: #172A46;
    --mng-accent: #FF4D66;
    --mng-border: #e5e5e5;
    --mng-muted: #6b7280;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    font-family: inherit;
    position: relative;
}

/* ---------- Sidebar ---------- */
.mng-filter-sidebar { border-right: 1px solid var(--mng-border); padding-right: 24px; }
.mng-filter-head { font-size: 15px; margin-bottom: 4px; color: var(--mng-navy); }
.mng-filter-group { border-bottom: 1px solid var(--mng-border); padding: 14px 0; }

.mng-filter-group-head {
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; font-weight: 700; color: var(--mng-navy); font-size: 15px;
    user-select: none;
}
.mng-toggle-arrow { display: inline-flex; transition: transform .2s ease; color: var(--mng-navy); }
.mng-filter-group.is-collapsed .mng-toggle-arrow { transform: rotate(180deg); }
.mng-filter-group-body { overflow: hidden; max-height: 1000px; transition: max-height .25s ease; margin-top: 10px; }
.mng-filter-group.is-collapsed .mng-filter-group-body { max-height: 0; margin-top: 0; }

.mng-filter-options { list-style: none; margin: 0; padding: 0; }
.mng-filter-option { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.mng-filter-option label { display: flex; align-items: center; gap: 8px; cursor: pointer; flex: 1; }
.mng-filter-input { position: absolute; opacity: 0; width: 0; height: 0; }

.mng-radio-visual {
    width: 16px; height: 16px; border: 2px solid #c7c7c7; border-radius: 50%;
    flex-shrink: 0; position: relative; transition: border-color .15s ease;
}
.mng-filter-input:checked + .mng-radio-visual { border-color: var(--mng-accent); }
.mng-filter-input:checked + .mng-radio-visual::after {
    content: ''; position: absolute; inset: 3px; background: var(--mng-accent); border-radius: 50%;
}
.mng-filter-input[type=checkbox] + .mng-radio-visual { border-radius: 4px; }
.mng-filter-input[type=checkbox]:checked + .mng-radio-visual::after { border-radius: 2px; }

.mng-option-label { font-size: 14px; color: #172A46; font-weight: 600; }
.mng-option-label em { font-style: normal; color: #172A46; margin-left: 3px; }

/* 0-count options: visual fade only, always stays clickable */
.mng-filter-option.is-empty .mng-option-label { color: #b8b8b8; font-weight: 500; }
.mng-filter-option.is-empty .mng-option-label em { color: #c9c9c9; }
.mng-filter-option.is-empty .mng-radio-visual { border-color: #e2e2e2; }
.mng-filter-option.is-checked .mng-option-label { color: var(--mng-accent); }

.mng-clear-option {
    width: 18px; height: 18px; border-radius: 50%; background: var(--mng-accent);
    color: #fff; border: none; font-size: 12px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 0;
}
.mng-clear-option:hover { background: #172A46; }

/* ---------- Results ---------- */
.mng-jobs-results-head { margin-bottom: 16px; }
.mng-jobs-results-head h2 { margin: 0 0 4px; font-size: 22px; color: var(--mng-navy); }
.mng-jobs-count-text { margin: 0; color: var(--mng-muted); font-size: 14px; }

/* Loading state fades results only, never the whole wrap (avoids mobile popup flash) */
.mng-jobs-filter-wrap.mng-loading .mng-results-col {
    opacity: .45;
    pointer-events: none;
    transition: opacity .2s ease;
}

.mng-jobs-list { display: flex; flex-direction: column; gap: 16px; }
.mng-job-card {
    border: 1px solid var(--mng-border); border-radius: 6px; padding: 24px;
    display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.mng-job-card:hover {
    border-color: var(--mng-accent);
    box-shadow: 0 3px 14px rgba(255, 77, 102, 0.10);
}

.mng-job-card-main { flex: 1; min-width: 240px; }
.mng-job-card-main h3 { margin: 0 0 10px; font-size: 20px; }
.mng-job-card-main h3 a { color: var(--mng-navy); text-decoration: none; }
.mng-job-card-main h3 a:hover { text-decoration: underline; }
.mng-job-card-main p { margin: 4px 0; font-size: 14px; color: #444; }
.mng-job-excerpt { color: var(--mng-muted); margin-top: 10px !important; }

.mng-job-readmore { color: var(--mng-accent); font-weight: 700; text-decoration: underline; font-size: 14px; display: inline-block; margin-top: 10px; }
.mng-job-readmore:hover { color: #172A46; }

.mng-job-card-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; min-width: 140px; }
.mng-company-logo img { max-width: 140px; max-height: 60px; object-fit: contain; }
.mng-company-logo-text { font-weight: 800; font-size: 18px; color: var(--mng-navy); max-width: 150px; }

.mng-no-jobs { text-align: center; padding: 60px 20px; border: 1px dashed var(--mng-border); border-radius: 6px; }
.mng-no-jobs p { color: var(--mng-muted); margin-bottom: 14px; }
.mng-clear-all-btn { background: var(--mng-navy); color: #fff; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; font-weight: 600; }

.mng-pagination { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.mng-page-btn {
    min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--mng-border);
    background: #fff; border-radius: 4px; cursor: pointer; font-weight: 600; color: var(--mng-navy);
}
.mng-page-btn.is-active { background: var(--mng-accent); border-color: var(--mng-accent); color: #fff; }
.mng-page-btn:hover:not(.is-active) { border-color: var(--mng-accent); color: var(--mng-accent); }

/* ---------- Mobile-only chrome (hidden on desktop) ---------- */
.mng-mobile-filter-trigger,
.mng-mobile-filter-header,
.mng-mobile-filter-apply-btn {
    display: none;
}

@media (max-width: 782px) {
    .mng-jobs-filter-wrap { grid-template-columns: 1fr; gap: 0; }
    .mng-job-card { flex-direction: column; }
    .mng-job-card-side { align-items: flex-start; text-align: left; }

    .mng-filter-col { display: none; }
    .mng-filter-sidebar { border-right: none; padding-right: 0; }

    .mng-mobile-filter-trigger {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
        background: var(--mng-accent); color: #fff; border: none; border-radius: 0;
        padding: 19px 20px; font-weight: 700; font-size: 20px !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    }
    .mng-jobs-filter-wrap.mng-mobile-filter-open .mng-mobile-filter-trigger { display: none; }

    .mng-jobs-filter-wrap.mng-mobile-filter-open .mng-mobile-filter-header {
        display: flex; align-items: center; justify-content: space-between;
        position: fixed; top: 0; left: 0; right: 0; height: 56px;
        background: #fff; border-bottom: 1px solid var(--mng-border);
        padding: 0 18px; z-index: 10001; font-weight: 700; font-size: 16px; color: var(--mng-navy);
    }
    .mng-mobile-filter-close {
        background: none; border: none; font-size: 26px; line-height: 1;
        cursor: pointer; color: var(--mng-navy);
    }

    /* Full-screen popup = the filter sidebar; opaque, unaffected by loading state */
    .mng-jobs-filter-wrap.mng-mobile-filter-open .mng-filter-col {
        display: block; position: fixed; top: 56px; left: 0; right: 0; bottom: 50px;
        background: #fff; z-index: 10000; overflow-y: auto; padding: 16px 20px 20px;
        opacity: 1 !important;
    }

    .mng-jobs-filter-wrap.mng-mobile-filter-open .mng-mobile-filter-apply-btn {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        position: fixed; bottom: 0; left: 0; right: 0; z-index: 10001;
        background: var(--mng-accent); color: #fff; border: none; padding: 18px;
        font-weight: 700; font-size: 15px;
    }
}

body.mng-mobile-scroll-lock { overflow: hidden; }


/* =========================================================================
   6. SINGLE JOB PAGE — "ABOUT THE JOB" SIDEBAR
   ========================================================================= */

.mng-job-sidebar {
    --mng-navy: #172A46;
    --mng-accent: #FF4D66;
    --mng-border: #e5e5e5;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 24px;
    max-width: 340px;
}

.mng-job-sidebar-heading { margin: 0 0 16px; font-size: 18px; font-weight: 700; color: var(--mng-navy); }

.mng-job-sidebar-logo { margin-bottom: 16px; }
.mng-job-sidebar-logo-img { max-width: 160px; max-height: 60px; object-fit: contain; }
.mng-job-sidebar-logo-text { font-weight: 800; font-size: 20px; color: var(--mng-navy); margin-bottom: 16px; line-height: 1.2; }

.mng-job-sidebar-list { list-style: none; margin: 0; padding: 0; }
.mng-job-sidebar-list li { font-size: 14px; color: #333; padding: 6px 0; border-bottom: 1px solid #f2f2f2; }
.mng-job-sidebar-list li:last-child { border-bottom: none; }
.mng-job-sidebar-list li strong { color: var(--mng-navy); font-weight: 700; margin-right: 4px; }
.mng-job-sidebar-list li span { color: #ff4d66; font-weight: 500; }

@media (max-width: 782px) {
    .mng-job-sidebar { max-width: 100%; margin-top: 24px; }
}