@font-face{font-family:"Figtree";src:url("/wp-content/themes/nbcc-child/assets/fonts/Figtree.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Montserrat-Arabic";src:url("/wp-content/themes/nbcc-child/assets/fonts/Montserrat-Arabic.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Cardias";src:url("/wp-content/themes/nbcc-child/assets/fonts/Cardias.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
/* NBCC Media Center Pro v1.8.2 */
.nbcc-mcp{
    --nbcc-green:#0B713D;
    --nbcc-green-dark:#075c31;
    --nbcc-gold:#c8a434;
    width:100%;
    background:#fff;
    font-family:var(--nbcc-mcp-subtitle-font,"Figtree",Arial,sans-serif);
    overflow:hidden;
    color:var(--nbcc-green);
}
.nbcc-mcp *{box-sizing:border-box}
.nbcc-mcp-full{
    width:100vw;
    max-width:100vw;
    margin-left:calc(-50vw + 50%);
    margin-right:calc(-50vw + 50%);
}
.nbcc-mcp-shell{
    width:100%;
    max-width:1280px;
    margin:0 auto;
    padding:22px 24px 34px;
}
.nbcc-mcp-header{
    width:100%;
    max-width:1130px;
    margin:0 auto 62px;
    text-align:left;
}
.nbcc-mcp-title{
    margin:0;
    font-family:var(--nbcc-mcp-title-font,"Figtree",Arial,sans-serif);
    font-size:var(--nbcc-mcp-title-size,72px);
    line-height:.92;
    font-weight:900;
    letter-spacing:.02em;
    text-transform:uppercase;
    color:var(--nbcc-mcp-title-color,var(--nbcc-gold));
}
.nbcc-mcp-title-text{display:inline;}
.nbcc-mcp-title-highlight{
    display:inline-block;
    margin-left:8px;
    font-family:var(--nbcc-mcp-title-highlight-font,"Cardias",cursive);
    font-size:var(--nbcc-mcp-title-highlight-size,86px);
    line-height:.82;
    font-weight:400;
    letter-spacing:0;
    text-transform:none;
    color:var(--nbcc-mcp-title-highlight-color,var(--nbcc-green));
    vertical-align:baseline;
}
.nbcc-mcp-subtitle{
    margin:4px 0 0;
    max-width:820px;
    font-family:var(--nbcc-mcp-subtitle-font,"Figtree",Arial,sans-serif);
    font-size:var(--nbcc-mcp-subtitle-size,18px);
    line-height:1.6;
    font-weight:600;
    color:var(--nbcc-mcp-subtitle-color,var(--nbcc-green));
}
.nbcc-mcp-progress,
.nbcc-mcp-controls{
    display:none !important;
}

.nbcc-mcp-filterbar{
    display:grid;
    grid-template-columns:190px minmax(320px,1fr) 140px;
    gap:18px;
    align-items:end;
    margin:0 auto 82px;
    max-width:1130px;
}
.nbcc-mcp-field-label-hidden{
    opacity:0;
    pointer-events:none;
}
.nbcc-mcp-brand-wrap,
.nbcc-mcp-search-wrap{
    display:flex;
    flex-direction:column;
    gap:7px;
}
.nbcc-mcp-search-wrap span{
    font-size:20px;
    font-weight:700;
    color:var(--nbcc-green);
}
.nbcc-mcp-brand,
.nbcc-mcp-search{
    height:60px;
    border:1.5px solid var(--nbcc-green);
    border-radius:8px;
    background:#f8f8f8;
    color:#555;
    padding:0 20px;
    outline:none;
    font-size:18px;
}
.nbcc-mcp-brand{
    border-color:var(--nbcc-green);
    background:#f3f3f3;
}
.nbcc-mcp-brand:focus,
.nbcc-mcp-search:focus{
    border-color:var(--nbcc-gold);
    box-shadow:0 0 0 3px rgba(200,164,52,.16);
}
.nbcc-mcp-search-btn{
    height:60px;
    border:0;
    border-radius:9px;
    background:var(--nbcc-green);
    color:#fff;
    font-size:20px;
    font-weight:700;
    cursor:pointer;
    transition:.2s ease;
}
.nbcc-mcp-search-btn:hover{
    background:var(--nbcc-green-dark);
    transform:translateY(-1px);
}
.nbcc-mcp-stage{
    position:relative;
    width:100%;
    min-height:var(--nbcc-mcp-stage-height, 410px);
    overflow:visible;
}
.nbcc-mcp-track{
    position:relative;
    width:100%;
    height:var(--nbcc-mcp-stage-height, 410px);
    display:flex;
    align-items:center;
    justify-content:center;
}
.nbcc-mcp-card{
    position:absolute;
    top:50%;
    left:50%;
    width:370px;
    height:var(--nbcc-mcp-side-height, 235px);
    transform:translate(-50%,-50%) scale(.88);
    opacity:.92;
    transition:transform .55s cubic-bezier(.22,.61,.36,1), opacity .55s ease, filter .55s ease, z-index .55s ease;
    overflow:hidden;
    background:#000;
    box-shadow:0 16px 32px rgba(0,0,0,.12);
}
.nbcc-mcp-card.is-active{
    width:720px;
    height:var(--nbcc-mcp-active-height, 405px);
    opacity:1;
    transform:translate(-50%,-50%) scale(1);
    z-index:5;
    filter:none;
    box-shadow:0 20px 45px rgba(0,0,0,.16);
}
.nbcc-mcp-card.is-left{
    transform:translate(calc(-50% - 575px),-50%) scale(.92);
    z-index:2;
}
.nbcc-mcp-card.is-right{
    transform:translate(calc(-50% + 575px),-50%) scale(.92);
    z-index:2;
}
.nbcc-mcp-card.is-hidden{
    opacity:0;
    pointer-events:none;
    transform:translate(-50%,-50%) scale(.55);
    z-index:1;
}
.nbcc-mcp-video-shell,
.nbcc-mcp-video-shell iframe,
.nbcc-mcp-video-shell video{
    width:100%;
    height:100%;
    border:0;
    display:block;
    object-fit:contain;
    object-position:center center;
    background:#000;
}
.nbcc-mcp-poster{
    width:100%;
    height:100%;
    background:
        linear-gradient(135deg, rgba(11,113,61,.88), rgba(7,92,49,.78)),
        radial-gradient(circle at center, rgba(255,255,255,.10), rgba(0,0,0,.18));
    background-position:center;
    background-size:contain;
    background-repeat:no-repeat;
    background-color:#000;
    position:relative;
}

.nbcc-mcp-poster::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.08);
}
.nbcc-mcp-card.is-active .nbcc-mcp-poster:after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:0;
    height:0;
    border-top:25px solid transparent;
    border-bottom:25px solid transparent;
    border-left:40px solid #fff;
    transform:translate(-38%,-50%);
    filter:drop-shadow(0 4px 14px rgba(0,0,0,.25));
}

.nbcc-mcp-card-caption{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:3;
    padding:42px 24px 18px;
    background:linear-gradient(to top, rgba(0,0,0,.70), rgba(0,0,0,0));
    pointer-events:none;
    opacity:0;
    transform:translateY(8px);
    transition:.25s ease;
}
.nbcc-mcp-card.is-active .nbcc-mcp-card-caption{
    opacity:1;
    transform:translateY(0);
}
.nbcc-mcp-card-title{
    margin:0;
    font-family:var(--nbcc-mcp-video-title-font,"Figtree",Arial,sans-serif);
    font-size:var(--nbcc-mcp-video-title-size,20px);
    line-height:1.25;
    font-weight:800;
    color:var(--nbcc-mcp-video-title-color,#fff);
}
.nbcc-mcp-card-desc{
    margin:6px 0 0;
    font-family:var(--nbcc-mcp-video-desc-font,"Figtree",Arial,sans-serif);
    font-size:var(--nbcc-mcp-video-desc-size,14px);
    line-height:1.45;
    font-weight:500;
    color:var(--nbcc-mcp-video-desc-color,#fff);
}
.nbcc-mcp-card-title:empty,
.nbcc-mcp-card-desc:empty{display:none;}

.nbcc-mcp-progress{
    width:395px;
    max-width:calc(100% - 48px);
    margin:20px auto 15px;
}
.nbcc-mcp-progress-track{
    position:relative;
    height:10px;
    border:3px solid var(--nbcc-green);
    border-radius:999px;
    overflow:visible;
}
.nbcc-mcp-progress-fill{
    position:absolute;
    left:-2px;
    top:-3px;
    height:10px;
    width:0;
    background:var(--nbcc-green);
    border-radius:999px;
}
.nbcc-mcp-progress-dot{
    position:absolute;
    top:50%;
    left:0;
    width:16px;
    height:16px;
    background:var(--nbcc-green);
    border-radius:50%;
    transform:translate(-50%,-50%);
}
.nbcc-mcp-controls{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:24px;
}
.nbcc-mcp-control{
    border:0;
    background:transparent;
    color:var(--nbcc-green);
    cursor:pointer;
    line-height:1;
    padding:4px;
    width:34px;
    height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.nbcc-mcp-control svg{
    width:28px;
    height:28px;
    fill:var(--nbcc-green);
}
.nbcc-mcp-control:hover{
    transform:translateY(-1px);
}
.nbcc-mcp-play{
    width:44px;
    height:44px;
    border-radius:50%;
    background:var(--nbcc-green);
}
.nbcc-mcp-play svg{
    width:24px;
    height:24px;
    fill:#fff;
}
.nbcc-mcp-empty{
    text-align:center;
    padding:50px 20px;
    color:var(--nbcc-green);
    font-weight:800;
}
@media(max-width:1100px){
    .nbcc-mcp-card.is-active{
        width:68vw;
        height:var(--nbcc-mcp-active-height, 405px);
        min-height:min(300px, var(--nbcc-mcp-active-height, 405px));
    }
    .nbcc-mcp-card.is-left{transform:translate(calc(-50% - 43vw),-50%) scale(.86)}
    .nbcc-mcp-card.is-right{transform:translate(calc(-50% + 43vw),-50%) scale(.86)}
}
@media(max-width:900px){
    .nbcc-mcp-filterbar{
        grid-template-columns:1fr;
        margin-bottom:54px;
    }
    .nbcc-mcp-stage,
    .nbcc-mcp-track{
        min-height:min(330px, var(--nbcc-mcp-stage-height, 410px));
        height:var(--nbcc-mcp-stage-height, 410px);
    }
    .nbcc-mcp-card.is-active{
        width:82vw;
        height:var(--nbcc-mcp-active-height, 405px);
        min-height:min(250px, var(--nbcc-mcp-active-height, 405px));
    }
    .nbcc-mcp-card.is-left,
    .nbcc-mcp-card.is-right{
        opacity:.25;
    }
}
@media(max-width:600px){
    .nbcc-mcp-shell{
        padding:22px 16px 34px;
    }
    .nbcc-mcp-controls{
        gap:12px;
    }
    .nbcc-mcp-card.is-active{
        width:88vw;
        height:var(--nbcc-mcp-active-height, 405px);
        min-height:min(220px, var(--nbcc-mcp-active-height, 405px));
    }
}


/* MP4 first-frame preview when no poster image is provided */
.nbcc-mcp-preview-video{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    pointer-events:none;
}

/* Bilingual / WPML support */
.nbcc-mcp-rtl{
    direction:rtl;
    font-family:var(--nbcc-mcp-subtitle-font,"Montserrat-Arabic",Tahoma,Arial,sans-serif);
}
.nbcc-mcp-rtl .nbcc-mcp-filterbar{
    direction:rtl;
}
.nbcc-mcp-rtl .nbcc-mcp-brand,
.nbcc-mcp-rtl .nbcc-mcp-search{
    text-align:right;
}
.nbcc-mcp-rtl .nbcc-mcp-search-wrap span{
    text-align:right;
}
.nbcc-mcp-rtl .nbcc-mcp-progress-fill{
    left:auto;
    right:-2px;
}
.nbcc-mcp-rtl .nbcc-mcp-progress-dot{
    right:0;
    left:auto;
    transform:translate(50%,-50%);
}

.nbcc-mcp-rtl .nbcc-mcp-header{
    text-align:right;
}
.nbcc-mcp-rtl .nbcc-mcp-title-highlight{
    margin-left:0;
    margin-right:8px;
}
.nbcc-mcp-rtl .nbcc-mcp-header,
.nbcc-mcp-rtl .nbcc-mcp-card-caption{
    direction:rtl;
}
.nbcc-mcp-rtl .nbcc-mcp-card-title,
.nbcc-mcp-rtl .nbcc-mcp-card-desc{
    text-align:right;
}
.nbcc-mcp-ltr .nbcc-mcp-card-title,
.nbcc-mcp-ltr .nbcc-mcp-card-desc{
    text-align:left;
}
@media(max-width:600px){
    .nbcc-mcp-header{margin-bottom:36px;}
    .nbcc-mcp-title{font-size:calc(var(--nbcc-mcp-title-size,72px) * .52);}
    .nbcc-mcp-title-highlight{font-size:calc(var(--nbcc-mcp-title-highlight-size,86px) * .58);}
    .nbcc-mcp-subtitle{font-size:calc(var(--nbcc-mcp-subtitle-size,18px) * .92);}
    .nbcc-mcp-card-caption{padding:34px 16px 14px;}
}

/* Production request: remove progress bar and bottom controls permanently. Search/filter bar remains visible above videos. */
.nbcc-mcp .nbcc-mcp-progress,
.nbcc-mcp .nbcc-mcp-controls{
    display:none !important;
    visibility:hidden !important;
    height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
}


/* v1.8.2 Arabic heading/filter layout matching NBCC Arabic design */
.nbcc-mcp-rtl .nbcc-mcp-shell{
    max-width:1550px;
    padding:42px 58px 34px;
}
.nbcc-mcp-rtl .nbcc-mcp-header{
    max-width:1280px;
    margin:0 auto 58px;
    text-align:right;
}
.nbcc-mcp-rtl .nbcc-mcp-title{
    text-align:right;
    line-height:.98;
    letter-spacing:0;
    text-transform:none;
    font-weight:900;
}
.nbcc-mcp-rtl .nbcc-mcp-title-text{
    display:block;
}
.nbcc-mcp-rtl .nbcc-mcp-title-highlight{
    display:block;
    margin:6px 0 0 0;
    text-align:right;
    line-height:.85;
    font-weight:400;
}
.nbcc-mcp-rtl .nbcc-mcp-subtitle{
    max-width:none;
    margin:12px 0 0;
    text-align:right;
    font-weight:700;
}
.nbcc-mcp-rtl .nbcc-mcp-filterbar{
    max-width:1550px;
    grid-template-columns:330px minmax(420px,1fr) 190px;
    gap:26px;
    align-items:end;
    direction:rtl;
    margin:0 auto 76px;
}
.nbcc-mcp-rtl .nbcc-mcp-field-label-hidden{
    display:none;
}
.nbcc-mcp-rtl .nbcc-mcp-search-wrap span{
    text-align:center;
    font-size:22px;
    font-weight:800;
    margin-bottom:2px;
}
.nbcc-mcp-rtl .nbcc-mcp-brand,
.nbcc-mcp-rtl .nbcc-mcp-search,
.nbcc-mcp-rtl .nbcc-mcp-search-btn{
    height:72px;
    border-radius:10px;
    font-size:22px;
    font-weight:700;
}
.nbcc-mcp-rtl .nbcc-mcp-brand,
.nbcc-mcp-rtl .nbcc-mcp-search{
    border-width:1.5px;
    padding:0 28px;
}
.nbcc-mcp-rtl .nbcc-mcp-brand{
    color:#9b9393;
}
.nbcc-mcp-rtl .nbcc-mcp-search-btn{
    font-size:24px;
}
@media(max-width:900px){
    .nbcc-mcp-rtl .nbcc-mcp-shell{padding:28px 18px 34px;}
    .nbcc-mcp-rtl .nbcc-mcp-filterbar{grid-template-columns:1fr;gap:16px;margin-bottom:52px;}
    .nbcc-mcp-rtl .nbcc-mcp-search-wrap{order:2;}
    .nbcc-mcp-rtl .nbcc-mcp-brand-wrap{order:1;}
    .nbcc-mcp-rtl .nbcc-mcp-search-btn{order:3;}
    .nbcc-mcp-rtl .nbcc-mcp-title{font-size:calc(var(--nbcc-mcp-title-size,72px) * .62);}
    .nbcc-mcp-rtl .nbcc-mcp-title-highlight{font-size:calc(var(--nbcc-mcp-title-highlight-size,86px) * .72);}
}

/* v1.8.5 language isolation: prevents duplicated header/content when a page builder or WPML renders both language shortcode blocks on the same translated page. */
html[lang^="ar"] .nbcc-mcp-ltr,
body.rtl .nbcc-mcp-ltr{
    display:none !important;
}
html:not([lang^="ar"]) body:not(.rtl) .nbcc-mcp-rtl{
    display:none !important;
}


/* v1.9.0 – marketing review (points 7, 15, 20): visible navigation, one-tap play, true 16:9 on phones */
.nbcc-mcp .nbcc-mcp-nav{padding:0!important;min-width:0!important;min-height:0!important;line-height:0!important;letter-spacing:0;}
.nbcc-mcp-nav{position:absolute;top:50%;z-index:8;width:52px;height:52px;margin-top:-26px;border:0;border-radius:50%;
  background:rgba(255,255,255,.94);color:var(--nbcc-green,#0b713d);box-shadow:0 8px 22px rgba(0,0,0,.18);
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .2s ease,background .2s ease}
.nbcc-mcp .nbcc-mcp-nav svg{display:block;width:24px!important;height:24px!important;fill:none!important;stroke:#0b713d!important;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.nbcc-mcp-nav:hover{transform:scale(1.06);background:#fff}
.nbcc-mcp-nav:focus-visible,.nbcc-mcp-dot:focus-visible{outline:3px solid #c8a434;outline-offset:3px}
.nbcc-mcp-nav--prev{inset-inline-start:max(12px,calc(50% - 420px))}
.nbcc-mcp-nav--next{inset-inline-end:max(12px,calc(50% - 420px))}
.nbcc-mcp-rtl .nbcc-mcp-nav svg{transform:scaleX(-1)}
.nbcc-mcp-dots{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:22px auto 0;padding:0 16px}
.nbcc-mcp .nbcc-mcp-dot{min-width:0!important;min-height:0!important;padding:0!important;}
.nbcc-mcp-dot{width:11px;height:11px;padding:0;border:0;border-radius:999px;background:rgba(11,113,61,.25);cursor:pointer;transition:width .25s ease,background .25s ease}
.nbcc-mcp-dot.is-active{width:30px;background:var(--nbcc-green,#0b713d)}
.nbcc-mcp-single .nbcc-mcp-nav,.nbcc-mcp-single .nbcc-mcp-dots{display:none}
.nbcc-mcp-card.is-active .nbcc-mcp-video-shell video{object-fit:contain}

@media(max-width:900px){
  .nbcc-mcp{--nbcc-mcp-m-w:88vw}
  .nbcc-mcp .nbcc-mcp-stage,.nbcc-mcp .nbcc-mcp-track{
    min-height:0;height:calc(var(--nbcc-mcp-m-w) * 9 / 16 + 16px)}
  .nbcc-mcp .nbcc-mcp-card.is-active{
    width:var(--nbcc-mcp-m-w);height:calc(var(--nbcc-mcp-m-w) * 9 / 16);min-height:0}
  .nbcc-mcp .nbcc-mcp-card.is-left,.nbcc-mcp .nbcc-mcp-card.is-right{opacity:0;pointer-events:none}
  .nbcc-mcp-nav{width:42px;height:42px;margin-top:-21px}
  .nbcc-mcp-nav--prev{inset-inline-start:2px}
  .nbcc-mcp-nav--next{inset-inline-end:2px}
  .nbcc-mcp-card-caption{display:none}
  .nbcc-mcp-card.is-active .nbcc-mcp-card-caption{display:block}
}
.nbcc-mcp-poster{background-size:cover!important}
