:root{--epm-red:#ed1738;--epm-black:#0b0d0f;--epm-text:#111316;--epm-muted:#70757b;--epm-line:#e6e7e9;}
body.epm-page-active .page-title,body.epm-page-active .title-design-centered,body.epm-page-active .wd-page-title{display:none!important}
body.epm-page-active .sidebar-container,body.epm-page-active .area-sidebar-shop,body.epm-page-active aside.sidebar-container{display:none!important}
body.epm-page-active .site-content,body.epm-page-active .content-layout-wrapper>div[class*="col-"]{width:100%!important;max-width:100%!important;flex:0 0 100%!important;padding-left:0!important;padding-right:0!important}
body.epm-page-active .main-page-wrapper>.container,body.epm-page-active .site-content>.container,body.epm-page-active .content-layout-wrapper{max-width:none!important;width:100%!important;padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}
body.epm-page-active .main-page-wrapper{padding-top:0!important;margin-top:0!important}
body.epm-page-active .site-content{margin-bottom:0!important}
.epm-projects{font-family:inherit;color:var(--epm-text);background:#fff;position:relative;width:100vw!important;max-width:100vw!important;left:50%;margin-left:-50vw!important;margin-right:-50vw!important;overflow:hidden;clear:both}
body.epm-page-active{overflow-x:hidden}
body.epm-page-active .epm-projects{float:none!important}.epm-projects *{box-sizing:border-box}.epm-shell{width:min(1440px,calc(100% - 64px));margin:0 auto}
/* Full-bleed compatibility with Woodmart / Elementor containers */
body.epm-page-active .main-page-wrapper,
body.epm-page-active .site-content,
body.epm-page-active .content-layout-wrapper,
body.epm-page-active .wd-content-layout,
body.epm-page-active .elementor-widget-shortcode,
body.epm-page-active .elementor-widget-shortcode .elementor-widget-container{overflow:visible!important}
body.epm-page-active .elementor-widget-shortcode .elementor-widget-container>.epm-projects{width:100vw!important;max-width:100vw!important}

.epm-hero{position:relative;min-height:470px;background:#121416 var(--epm-hero-image) center/cover no-repeat;color:#fff;isolation:isolate}.epm-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,7,8,.96) 0%,rgba(5,7,8,.86) 31%,rgba(5,7,8,.37) 58%,rgba(5,7,8,.12) 100%);z-index:-1}.epm-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.18));z-index:-1}.epm-hero-inner{min-height:470px;display:flex;align-items:center}.epm-hero-copy{width:min(650px,56%);padding:64px 0}.epm-hero-kicker{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:800;letter-spacing:.17em;color:#f4f4f4}.epm-hero-kicker span{display:block;width:30px;height:3px;background:var(--epm-red);flex:0 0 auto}.epm-hero h1{font-size:clamp(52px,6vw,82px)!important;line-height:.96!important;letter-spacing:-.045em!important;margin:18px 0 16px!important;color:#fff!important;font-weight:800!important;max-width:720px}.epm-hero p{font-size:18px;line-height:1.55;max-width:610px;color:#eceeef;margin:0 0 30px}.epm-hero-actions{display:flex;gap:14px;flex-wrap:wrap}.epm-btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:52px;padding:0 28px;border-radius:4px;text-decoration:none!important;font-weight:800;font-size:15px;transition:.2s}.epm-btn-primary{background:var(--epm-red);color:#fff!important;border:1px solid var(--epm-red)}.epm-btn-primary:hover{background:#d80c2e;border-color:#d80c2e}.epm-btn-secondary{color:#fff!important;border:1px solid rgba(255,255,255,.75);background:rgba(0,0,0,.18)}.epm-btn-secondary:hover{background:#fff;color:#111!important}
.epm-content-shell{padding-top:18px;padding-bottom:42px}.epm-filter-row{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 14px}.epm-filter{appearance:none;border:1px solid #dedfe2;background:#f4f4f4;color:#25272a;border-radius:999px;padding:10px 23px;min-height:44px;font-size:14px;font-weight:700;cursor:pointer;transition:.2s;box-shadow:none!important}.epm-filter:hover,.epm-filter.is-active{background:var(--epm-red)!important;border-color:var(--epm-red)!important;color:#fff!important}
.epm-main-layout{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(330px,.88fr);gap:46px;align-items:stretch}.epm-map-wrap{position:relative;background:#0c151a;min-width:0;overflow:hidden}.epm-map{width:100%;min-height:480px;background:#23282b;filter:none}.epm-map-empty{position:absolute;left:24px;bottom:24px;z-index:500;background:rgba(15,17,18,.9);color:#fff;padding:12px 16px;border:1px solid rgba(255,255,255,.18);border-radius:6px;font-weight:700}.leaflet-container{font-family:inherit!important;background:#23282b!important}.leaflet-control-zoom a{background:#fff!important;color:#111!important;border:0!important}.leaflet-control-attribution{font-size:9px!important;background:rgba(255,255,255,.72)!important}.leaflet-tile-pane{filter:none!important}.leaflet-tile{opacity:1!important}.leaflet-overlay-pane .leaflet-tile{opacity:.96!important}
.epm-stats-panel{padding:10px 0 0}.epm-eyebrow{display:flex;align-items:center;gap:11px;font-size:12px;font-weight:800;letter-spacing:.17em;color:#888d92}.epm-eyebrow span{display:inline-block;width:30px;height:3px;background:var(--epm-red)}.epm-stats-panel h2,.epm-grid-head h2{font-size:clamp(42px,4.2vw,64px)!important;line-height:.93!important;margin:18px 0 20px!important;letter-spacing:-.05em!important;font-weight:800!important;color:#111316!important}.epm-stats-panel>p{color:#72777c;font-size:16px;line-height:1.65;max-width:38ch;margin-bottom:24px}.epm-stats{display:grid;gap:12px}.epm-stat{display:grid;grid-template-columns:72px 1fr;align-items:stretch;min-height:74px;border:1px solid #e5e6e8;background:#fff}.epm-stat>i{display:flex;align-items:center;justify-content:center;border-right:1px solid #e5e6e8}.epm-stat svg{width:29px;height:29px;fill:none;stroke:var(--epm-red);stroke-width:1.8}.epm-stat>div{display:flex;flex-direction:column;justify-content:center;padding:9px 16px}.epm-stat strong{font-size:28px;line-height:1;font-weight:800;color:#111}.epm-stat span{font-size:14px;color:#6f7377;margin-top:4px}
.epm-grid-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin:42px 0 17px}.epm-grid-head h2{font-size:clamp(38px,3.8vw,56px)!important;margin:9px 0 0!important}.epm-grid-head>a,.epm-expand-projects{color:var(--epm-red)!important;font-weight:800;text-decoration:none;border:0;border-bottom:1px solid var(--epm-red);padding:0 0 3px;margin:0 0 7px;white-space:nowrap;background:transparent!important;box-shadow:none!important;cursor:pointer;font:inherit;line-height:1.4}.epm-expand-projects[hidden]{display:none!important}.epm-project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.epm-card{border:1px solid #e2e3e5;background:#fff;min-width:0;transition:transform .2s,box-shadow .2s}.epm-card:hover{transform:translateY(-3px);box-shadow:0 12px 34px rgba(0,0,0,.08)}.epm-card.has-website{cursor:pointer}.epm-card.has-website:focus{outline:2px solid var(--epm-red);outline-offset:3px}.epm-card:not(.has-website):hover{transform:none;box-shadow:none}.epm-card[hidden]{display:none!important}.epm-card-image{display:block;aspect-ratio:1.48/1;background:#15181a;overflow:hidden}.epm-card-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#15181a;padding:18px;box-sizing:border-box;transition:transform .4s}.epm-card:hover .epm-card-image img{transform:scale(1.02)}.epm-image-placeholder{display:flex;height:100%;align-items:center;justify-content:center;color:#fff;font-weight:900;font-size:24px;letter-spacing:.12em}
.epm-image-placeholder{width:100%;padding:28px 34px;box-sizing:border-box;background:#15181a}.epm-image-placeholder .epm-placeholder-logo{display:block!important;width:auto!important;height:auto!important;max-width:78%!important;max-height:62%!important;object-fit:contain!important;object-position:center!important;margin:auto!important;transform:none!important}.epm-card:hover .epm-image-placeholder .epm-placeholder-logo{transform:none!important}.epm-placeholder-word{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.epm-card-body{padding:17px 17px 15px}.epm-card h3{font-size:19px!important;margin:0 0 12px!important;line-height:1.2!important;font-weight:800!important}.epm-card h3 a{color:#111!important;text-decoration:none}.epm-meta{display:flex;align-items:center;gap:8px;font-size:14px;color:#676b70;margin:7px 0}.epm-meta svg{width:17px;height:17px;fill:none;stroke:#111;stroke-width:1.8}.epm-card-link{display:flex;justify-content:center;gap:20px;align-items:center;margin-top:17px;border:1px solid #b7b9bc;padding:10px 13px;color:#171717!important;text-decoration:none!important;font-weight:800;font-size:13px}.epm-card-link:hover{border-color:var(--epm-red);color:var(--epm-red)!important}
.epm-pin-wrap{background:transparent!important;border:0!important}.epm-pin{position:relative;display:block;width:28px;height:36px;background:var(--epm-red);border:3px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 4px 14px rgba(0,0,0,.42)}.epm-pin i{display:block;width:7px;height:7px;background:#fff;border-radius:50%;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.epm-cluster{display:flex!important;align-items:center;justify-content:center;background:var(--epm-red);border:4px solid #fff;border-radius:50%;box-shadow:0 4px 16px rgba(0,0,0,.4);color:#fff;font-weight:900;font-size:15px}.epm-cluster span{line-height:1}.epm-leaflet-popup .leaflet-popup-content-wrapper{border-radius:5px;padding:0;overflow:hidden;box-shadow:0 14px 45px rgba(0,0,0,.3)}.epm-leaflet-popup .leaflet-popup-content{margin:0;width:280px!important}.epm-popup img,.epm-popup-placeholder{width:100%;height:145px;object-fit:cover;background:#17191b;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;letter-spacing:.12em}.epm-popup-body{padding:15px}.epm-popup-body strong{display:block;font-size:18px;margin-bottom:8px}.epm-popup-body span{display:block;color:#666;margin-top:4px}.epm-popup-body p{font-size:13px;color:#555;line-height:1.45;margin:10px 0}.epm-popup-body a{display:inline-block;margin-top:10px;color:var(--epm-red);font-weight:800;text-decoration:none}
.epm-cta{position:relative;background:#0a0c0d var(--epm-cta-image) right center/cover no-repeat;color:#fff;isolation:isolate}.epm-cta:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,6,7,.98) 0%,rgba(5,6,7,.89) 46%,rgba(5,6,7,.3) 80%,rgba(5,6,7,.18));z-index:-1}.epm-cta-inner{min-height:260px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:50px;padding-top:34px;padding-bottom:34px}.epm-cta h2{color:#fff!important;font-size:clamp(38px,4vw,58px)!important;line-height:1!important;letter-spacing:-.04em!important;margin:10px 0 10px!important;font-weight:800!important}.epm-cta p{font-size:16px;line-height:1.55;max-width:700px;color:#eef0f1;margin:0 0 22px}.epm-cta-words{min-width:120px;display:flex;flex-direction:column;gap:8px;letter-spacing:.18em;font-size:10px;color:#d7d9da}.epm-cta-words span{width:30px;height:3px;background:var(--epm-red);margin-bottom:5px}
.epm-single{max-width:1280px;margin:0 auto;padding:50px 20px}.epm-single-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:center}.epm-single-hero img{width:100%;aspect-ratio:1.35/1;object-fit:cover}.epm-single h1{font-size:clamp(40px,6vw,72px);line-height:.95;letter-spacing:-.04em}.epm-single-meta{display:flex;gap:12px;flex-wrap:wrap;color:#666;margin:18px 0}.epm-single-content{max-width:820px;margin:45px auto;font-size:18px;line-height:1.75}.epm-single-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:30px}.epm-single-gallery img{width:100%;aspect-ratio:1.25/1;object-fit:cover}
@media(max-width:1100px){.epm-shell{width:min(100% - 36px,1440px)}.epm-main-layout{grid-template-columns:1.55fr .85fr;gap:28px}.epm-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.epm-hero-copy{width:65%}}
@media(max-width:900px){.epm-main-layout{grid-template-columns:1fr}.epm-stats-panel{display:grid;grid-template-columns:1fr 1fr;gap:26px}.epm-stats{align-self:start}.epm-hero-copy{width:78%}.epm-hero{min-height:430px}.epm-hero-inner{min-height:430px}}
@media(max-width:640px){.epm-shell{width:calc(100% - 28px)}.epm-shell{width:calc(100% - 28px)}.epm-hero{min-height:520px;background-position:58% center}.epm-hero-inner{min-height:520px;align-items:flex-end}.epm-hero-copy{width:100%;padding:70px 0 40px}.epm-hero h1{font-size:48px!important}.epm-hero p{font-size:16px}.epm-btn{width:100%}.epm-filter-row{overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px}.epm-filter{white-space:nowrap}.epm-map{height:460px!important}.epm-stats-panel{display:block}.epm-stats{margin-top:24px}.epm-project-grid{grid-template-columns:1fr}.epm-grid-head{align-items:flex-start;flex-direction:column}.epm-grid-head>a,.epm-expand-projects{margin-bottom:0}.epm-cta-inner{grid-template-columns:1fr}.epm-cta-words{display:none}.epm-cta{background-position:65% center}.epm-cta h2{font-size:40px!important}}

.epm-popup-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.epm-popup-actions .epm-popup-external{font-size:11px;font-weight:700;color:#666;border-bottom:1px solid #ddd}.epm-single-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}

/* v1.3.6 — Dark theme scoped strictly to the plugin root. */
.epm-projects.epm-theme-dark{
    --epm-text:#f5f6f7;
    --epm-muted:#a6abb0;
    --epm-line:#2b2f33;
    background:#0b0d0f!important;
    color:var(--epm-text)!important;
}
.epm-theme-dark .epm-content-shell{background:#0b0d0f!important;}
.epm-theme-dark .epm-filter{background:#16191c;color:#d7dade;border-color:#31353a;}
.epm-theme-dark .epm-filter:hover,
.epm-theme-dark .epm-filter.is-active{background:var(--epm-red)!important;color:#fff!important;border-color:var(--epm-red)!important;}
.epm-theme-dark .epm-eyebrow{color:#939aa1;}
.epm-theme-dark .epm-stats-panel h2,
.epm-theme-dark .epm-grid-head h2{color:#f7f7f8!important;}
.epm-theme-dark .epm-stats-panel>p{color:#aeb3b8;}
.epm-theme-dark .epm-stat{background:#14171a;border-color:#30343a;}
.epm-theme-dark .epm-stat>i{border-color:#30343a;}
.epm-theme-dark .epm-stat strong{color:#fff;}
.epm-theme-dark .epm-stat span{color:#aeb3b8;}
.epm-theme-dark .epm-card{background:#14171a;border-color:#30343a;}
.epm-theme-dark .epm-card:hover{box-shadow:0 12px 34px rgba(0,0,0,.38);}
.epm-theme-dark .epm-card h3,
.epm-theme-dark .epm-card h3 a{color:#fff!important;}
.epm-theme-dark .epm-meta{color:#adb2b7;}
.epm-theme-dark .epm-meta svg{stroke:#e8e9ea;}
.epm-theme-dark .epm-card-link{border-color:#464b51;color:#fff!important;background:#14171a!important;}
.epm-theme-dark .epm-card-link:hover{border-color:var(--epm-red);color:var(--epm-red)!important;}
.epm-theme-dark .epm-grid-head{color:#fff;}
.epm-theme-dark .epm-card-image,
.epm-theme-dark .epm-card-image img,
.epm-theme-dark .epm-image-placeholder{background:#101315;}


/* v1.3.7 — remove Woodmart bottom spacing below the Projects shortcode without touching the footer. */
body.epm-page-active .main-page-wrapper,
body.epm-page-active main#main-content,
body.epm-page-active .wd-content-layout,
body.epm-page-active .content-layout-wrapper,
body.epm-page-active .site-content{
    padding-bottom:0!important;
    margin-bottom:0!important;
}
body.epm-page-active .main-page-wrapper>.container,
body.epm-page-active main#main-content.container,
body.epm-page-active .wd-content-layout.container{
    padding-bottom:0!important;
    margin-bottom:0!important;
}
body.epm-page-active .epm-projects{
    margin-bottom:0!important;
}
