.bpj{--bpj-bg:#f1ece5;--bpj-ink:#24211e;--bpj-accent:#b2875f;color:var(--bpj-ink);font-family:inherit}.bpj *{box-sizing:border-box}.bpj-hero{min-height:490px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(15,16,15,.84),rgba(15,16,15,.34)),url('https://bambuker.ru/wp-content/uploads/2026/10/sochetanie-dereva-i-kamnya.webp') center/cover no-repeat;color:white;border-radius:4px;overflow:hidden}.bpj-hero-inner{padding:clamp(30px,7vw,100px);max-width:870px}.bpj-eyebrow{font-size:12px;letter-spacing:.23em;text-transform:uppercase;font-weight:700;color:var(--bpj-accent);margin:0 0 20px}.bpj-hero .bpj-eyebrow{color:#d4c4b4}.bpj-hero h2{color:white;font-size:clamp(42px,5.2vw,76px);line-height:1.06;font-weight:600;letter-spacing:-.04em;margin:0 0 24px}.bpj-subtitle{font-size:clamp(17px,1.5vw,22px);line-height:1.65;max-width:620px;margin:0 0 32px;color:#f5f2ed}.bpj-hero-link{display:inline-block;border:1px solid #fff9;padding:13px 23px;border-radius:40px;color:white!important;text-decoration:none}.bpj-hero-link:hover{background:#fff;color:#171717!important}.bpj-content{background:var(--bpj-bg);padding:clamp(26px,5vw,70px)}.bpj-intro{display:flex;justify-content:space-between;gap:20px;align-items:end}.bpj-intro h2{font-size:clamp(34px,4vw,60px);font-weight:500;letter-spacing:-.035em;margin:0 0 12px;color:var(--bpj-ink)}.bpj-intro p:last-child{font-size:17px;color:#68615b;margin:0 0 24px}.bpj-search{width:240px;max-width:100%;padding:14px 16px;border:1px solid #cfc5ba;background:#fff;color:#24211e;border-radius:2px}.bpj-filters{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.bpj-filter{appearance:none;background:transparent;color:#403a34;border:1px solid #b9aea3;border-radius:40px;padding:11px 20px;font:inherit;cursor:pointer;transition:background .2s,color .2s}.bpj-filter:hover,.bpj-filter.is-active{background:#282521;color:#fff;border-color:#282521}.bpj-filter:focus-visible,.bpj-search:focus-visible{outline:3px solid #b2875f;outline-offset:3px}.bpj-count{font-size:13px;color:#706960;margin:18px 0 22px}.bpj-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.bpj-card{background:#fff;min-width:0}.bpj-card[hidden],.bpj-empty[hidden]{display:none!important}.bpj-image-link{display:block;aspect-ratio:4/3;overflow:hidden;background:#c7beb3}.bpj-image{width:100%;height:100%;object-fit:cover;transition:transform .4s}.bpj-image-link:hover .bpj-image{transform:scale(1.04)}.bpj-placeholder{height:100%;display:grid;place-items:center;font-weight:700;letter-spacing:.2em;color:#726c65}.bpj-card-body{padding:24px}.bpj-category{font-size:11px;text-transform:uppercase;letter-spacing:.15em;color:#987554}.bpj-card h3{font-size:clamp(20px,2vw,27px);line-height:1.2;font-weight:550;margin:12px 0;color:#25211e}.bpj-card h3 a{color:inherit;text-decoration:none}.bpj-card-body p{font-size:15px;line-height:1.6;color:#69635d}.bpj-more{display:inline-block;margin-top:8px;color:#312b25;text-decoration:none;border-bottom:1px solid #b2875f;padding-bottom:4px}.bpj-empty{padding:30px;background:#fff}@media(max-width:900px){.bpj-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bpj-intro{align-items:start;flex-direction:column}.bpj-search{width:100%}}@media(max-width:580px){.bpj-grid{grid-template-columns:1fr}.bpj-hero{min-height:390px}.bpj-content{padding:28px 18px}.bpj-card-body{padding:20px}}
/* Plugin-owned Projects page, without modifying the active theme */
.bpj-projects-page .bpj-hero {background-image:linear-gradient(90deg,rgba(20,18,15,.78),rgba(20,18,15,.25)),url('/wp-content/themes/lameli-decor-v9-2/assets/images/projects.jpg');background-size:cover;background-position:center;min-height:420px;display:flex;align-items:center}
.bpj-projects-page .bpj-hero h1{color:#fff;font-size:clamp(40px,6vw,76px);line-height:1.08}
.bpj-projects-page .bpj-hero-inner{width:min(1200px,92%);margin:auto}
.bpj-projects-page .bpj-content{padding-top:44px}
.bpj-projects-page .bpj-intro h2{font-size:clamp(28px,3.5vw,46px)}

/* 1.5: editorial hero and functional category toolbar */
.bpj-projects-page .bpj-hero{background-image:linear-gradient(90deg,rgba(19,17,15,.78) 0%,rgba(19,17,15,.36) 52%,rgba(19,17,15,.08) 100%),url('../assets/projects-hero.webp');background-position:center 49%;min-height:530px;border-radius:0}
.bpj-projects-page .bpj-hero h1{max-width:800px;font-size:clamp(43px,5.5vw,78px);margin:0 0 18px}
.bpj-projects-page .bpj-hero-inner{padding:70px 0}
.bpj-projects-page .bpj-content{padding-top:35px}
.bpj-toolbar{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;padding-bottom:22px;border-bottom:1px solid #d6cbc0}
.bpj-toolbar .bpj-filters{margin:0;flex:1}
.bpj-toolbar .bpj-search-label{flex:0 1 280px}
.bpj-toolbar .bpj-search{width:100%}
.bpj-section-title{margin:38px 0 22px}
.bpj-section-title h2{font-size:clamp(30px,3.6vw,48px);margin:0 0 8px}
.bpj-section-title p:last-child{color:#6d6359;margin:0}
@media(max-width:720px){.bpj-projects-page .bpj-hero{min-height:440px;background-position:55% center}.bpj-toolbar .bpj-search-label{flex:1 1 100%}.bpj-toolbar .bpj-filters{flex:1 1 100%}.bpj-toolbar .bpj-filter{padding:9px 13px;font-size:13px}}

/* 1.6: journal-inspired overlay; uploaded user photo */
.bpj-projects-page .bpj-hero{background-image:linear-gradient(90deg,rgba(22,18,15,.75) 0%,rgba(22,18,15,.42) 46%,rgba(22,18,15,.08) 100%),url('projects-hero.webp');background-position:center 52%;min-height:550px}
.bpj-projects-page .bpj-hero-inner{padding-top:90px;padding-bottom:90px}
.bpj-projects-page .bpj-hero h1{color:#fff}
.bpj-projects-page .bpj-toolbar{position:relative}
