/* EcoReFibre v4 · Web-native layout. All rules scoped to the plugin so EPF's existing theme stays in charge. */
.erf4{--erf4-burgundy:#661e38;--erf4-gold:#ad7416;--erf4-yellow:#f4c400;--erf4-text:#4c4442;--erf4-light:#fdf7f1;--erf4-line:#eadfd5;color:var(--erf4-text);font-family:var(--e-global-typography-text-font-family,'Poppins',Arial,sans-serif);font-size:15px;line-height:1.65;max-width:none;width:100vw;position:relative;left:50%;transform:translateX(-50%);background:#fffdf9;overflow-x:clip;box-sizing:border-box}
.erf4 *{box-sizing:border-box}.erf4 button,.erf4 input{font-family:inherit}.erf4 button{cursor:pointer}.erf4 h1,.erf4 h2,.erf4 h3,.erf4 h4{font-family:var(--e-global-typography-primary-font-family,'Poppins',Arial,sans-serif);line-height:1.2;color:var(--erf4-burgundy);font-weight:600;letter-spacing:-.015em}.erf4 p{margin:0 0 17px}.erf4 a{text-decoration:none}.erf4-hero{background:linear-gradient(90deg,#3a1e19bb,#6c31225e),url('cover-photo.jpeg') center 56%/cover;min-height:425px;display:flex;align-items:center;color:#fff}.erf4-hero-overlay{width:100%;padding:65px max(6vw,calc((100vw - 1350px)/2))}.erf4-hero-inner{max-width:810px}.erf4-kicker,.erf4-overline{font-size:12px;font-weight:800;letter-spacing:.09em;color:var(--erf4-gold)}.erf4-kicker{color:#ffe59b}.erf4-hero h1{color:white;font-size:clamp(40px,4.8vw,72px);font-weight:500;line-height:1.1;letter-spacing:-.025em;margin:12px 0 23px}.erf4-hero p{font-size:clamp(17px,1.35vw,21px);line-height:1.65;max-width:650px;color:white}.erf4-hero-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:27px}.erf4-btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:13px 20px;border:0;border-radius:4px;font-size:13px!important;font-weight:700;line-height:1.3;transition:filter .15s,transform .15s}.erf4-btn:hover{filter:brightness(.93);transform:translateY(-1px)}.erf4-btn-yellow{color:#4b3100!important;background:var(--erf4-yellow)!important}.erf4-btn-light{color:#4c2930!important;background:#fffaf4!important}.erf4-underhero{background:#f5ede2;padding:14px max(6vw,calc((100vw - 1350px)/2));display:flex;gap:28px;flex-wrap:wrap;color:#745953;font-size:12px;font-weight:650}.erf4-underhero span+span{border-left:1px solid #cdbeb1;padding-left:25px}
.erf4-layout{display:grid;grid-template-columns:260px minmax(0,1fr);max-width:1420px;margin:auto;min-height:880px}.erf4-sidebar{background:#fbf7f1;border-right:1px solid var(--erf4-line);padding:32px 17px;position:sticky;top:0;align-self:start;max-height:100vh;overflow-y:auto}.erf4-sidebar-title{font-size:11px;font-weight:800;letter-spacing:.09em;color:#965720;margin:0 10px 18px}.erf4-nav{width:100%;border:0!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:13px;text-align:left;background:transparent!important;color:#524748!important;padding:10px 12px!important;border-radius:4px!important;font-size:12px!important;font-weight:650!important;line-height:1.35!important;min-height:43px;margin:0 0 3px;box-shadow:none!important}.erf4-index{flex-shrink:0;display:grid;place-items:center;width:29px;height:29px;background:#eee6df;color:#6a5b55;font-size:11px;font-weight:800;border-radius:3px}.erf4-nav.is-active,.erf4-nav:hover{background:#f0daaf!important;color:#5b3910!important}.erf4-nav.is-active .erf4-index{color:white;background:#8b5c0b}.erf4-nav-feature{margin-top:12px;border-top:1px solid #e6d6c9!important;border-radius:0!important;padding-top:20px!important}.erf4-sidebar-download{display:block;margin:20px 7px 3px;background:#642038;color:white!important;text-align:center;border-radius:4px;font-size:12px;font-weight:750;padding:12px 8px}
.erf4-main{min-width:0;padding:39px clamp(22px,3.3vw,60px) 48px}.erf4-view{display:none}.erf4-view.is-visible{display:block}.erf4-crumb{font-size:12px;color:#967d68;margin-bottom:31px}.erf4-crumb span{margin:0 8px;color:#b7a89d}.erf4 h2{font-size:clamp(30px,3vw,45px);margin:10px 0 19px}.erf4-lead{max-width:810px}.erf4-lead>p{font-size:18px;line-height:1.7;max-width:770px}.erf4-highlights{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:30px 0 6px}.erf4-highlights>div{border-left:3px solid #b7832b;background:#faf6ef;padding:21px 18px;display:flex;flex-direction:column;gap:9px;min-height:120px}.erf4-highlights strong{font-family:inherit;font-size:34px;line-height:1.1;color:var(--erf4-burgundy);font-weight:750}.erf4-highlights span{font-size:12px;color:#594b43;line-height:1.5}.erf4-caption{font-size:11px;color:#948b7f;margin-bottom:45px}.erf4-heading-row{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:19px}.erf4-heading-row h2{margin-bottom:0}.erf4-heading-row>span{font-size:13px;color:#967d68}.erf4-chaptergrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.erf4-chaptercard{background:#fff!important;color:var(--erf4-text)!important;text-align:left;border:1px solid #e8dad0!important;padding:20px 22px!important;border-radius:5px!important;min-height:125px;display:flex!important;flex-direction:column;gap:5px;font-size:14px!important;box-shadow:none!important}.erf4-chaptercard:hover{border-color:var(--erf4-gold)!important;box-shadow:0 7px 20px #49240f10!important}.erf4-chaptercard small{font-size:11px;color:var(--erf4-gold);font-weight:800;letter-spacing:.04em}.erf4-chaptercard strong{font-size:15px;line-height:1.45;color:var(--erf4-burgundy);font-weight:650}.erf4-chaptercard span{font-size:12px;color:#9d7e3f;margin-top:auto;font-weight:650}.erf4-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;background:#faf4e9;border:1px solid #eee2d3;border-radius:6px;gap:25px;margin-top:38px;padding:27px}.erf4-feature h2{font-size:34px}.erf4-feature p{max-width:540px}.erf4-feature img{display:block;width:100%;border-radius:5px;background:white}
.erf4-chapter-title{border-bottom:1px solid var(--erf4-line);margin:12px 0 22px;padding-bottom:13px}.erf4-chapter-title h2{max-width:1000px}.erf4-chapter-actions{display:flex;gap:11px;align-items:center;flex-wrap:wrap;margin-bottom:16px;background:#faf7f2;padding:12px 15px;border:1px solid #ede1d7;border-radius:5px}.erf4-chapter-actions label{font-size:12px;font-weight:650;white-space:nowrap}.erf4-chapter-actions input{border:1px solid #dbd0c5;border-radius:4px;min-width:160px;flex:1;max-width:300px;background:white;padding:10px 11px;font-size:13px}.erf4-chapter-actions a{font-size:12px;color:#762e44;font-weight:700;margin-left:auto}.erf4-chapter-sections{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:22px}.erf4-chapter-sections a{border:1px solid #eaddd1;border-radius:30px;color:#865a35;font-size:11px;padding:5px 11px;background:#faf4eb}.erf4-article{max-width:1020px}.erf4-source-heading{font-size:12px;letter-spacing:.01em;color:#977e69;margin:30px 0 18px;padding-top:18px;border-top:1px solid #efe5de}.erf4-prose-section{margin-bottom:20px}.erf4-article p.erf-prose{font-size:15px;line-height:1.86;margin:0 0 19px;color:#403e3c;max-width:96ch;text-wrap:pretty}.erf4-article .erf-bullet{padding-left:24px;position:relative;font-size:15px;line-height:1.82;margin:9px 0;color:#403e3c}.erf4-article .erf-bullet:before{content:'•';position:absolute;left:9px;color:#a66b28;font-weight:800}.erf4-article .erf-subhead{font-size:clamp(20px,2vw,26px);line-height:1.35;color:var(--erf4-burgundy);margin:34px 0 15px;font-weight:650}.erf4-article .erf-smallhead{font-size:18px;color:#975d21;font-weight:650;margin:27px 0 10px}.erf4-article .erf-figure-caption{font-size:12px;color:#837264;margin-top:4px;margin-bottom:23px}.erf4-chart{background:#fff;padding:8px;margin:26px auto 25px;text-align:center;max-width:100%;border:0}.erf4-chart img{max-width:100%;height:auto;display:block;margin:auto;background:white}.erf4 .erf-native-table{margin:32px 0 35px;max-width:100%;background:#fff}.erf4 .erf-native-table figcaption{font-size:14px;color:#642038;font-weight:700;margin-bottom:12px;text-align:left;line-height:1.5}.erf4 .erf-table-scroll{overflow-x:auto;max-width:100%;border:1px solid #eee0d4;border-radius:5px;background:#fff}.erf4 .erf-native-table table{border-collapse:collapse;table-layout:auto;width:100%;min-width:620px;border:0!important;margin:0;font-size:12px;line-height:1.55}.erf4 .erf-native-table th{background:#57152d!important;color:#fff!important;text-transform:none;white-space:normal;font-weight:700;font-size:11px;vertical-align:middle;text-align:left;line-height:1.5;padding:12px 10px!important;border:0!important}.erf4 .erf-native-table td{padding:12px 10px!important;border:0!important;border-bottom:1px solid #dfbb83!important;vertical-align:top;color:#443d3a;white-space:normal;overflow-wrap:normal}.erf4 .erf-native-table tr:nth-child(even) td{background:#faf7f2}.erf4 .erf-native-table tr:hover td{background:#f5ecdf}.erf4-pagenav{display:flex;justify-content:space-between;gap:10px;margin-top:30px;padding-top:20px;border-top:1px solid var(--erf4-line)}.erf4-pagenav button{background:#632037!important;color:white!important;border:0!important;padding:10px 15px!important;border-radius:4px;font-size:12px!important}.erf4-pagenav button:disabled{opacity:.35;cursor:not-allowed}.erf4-article p:empty{display:none}
.erf4-house-intro{max-width:750px;font-size:16px}.erf4-housegrid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.95fr);gap:19px;margin-top:25px}.erf4-house-left{min-width:0}.erf4-house-figure{position:relative;background:white;border-radius:6px;overflow:hidden;border:1px solid #eee4da}.erf4-house-figure img{display:block;width:100%;height:auto}.erf4-pin{position:absolute;transform:translate(-50%,-50%);background:#8d6018!important;color:white!important;border:3px solid white!important;border-radius:50%!important;display:grid!important;place-items:center!important;width:32px!important;height:32px!important;padding:0!important;line-height:1!important;font-size:22px!important;box-shadow:0 2px 9px #231f1f33}.erf4-pin:hover,.erf4-pin.is-selected{background:#5c2239!important;box-shadow:0 0 0 6px #6c263922}.erf4-areanav{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.erf4-areanav button{font-size:11px!important;white-space:normal!important;text-align:left;background:#f7efe4!important;color:#6c4c3c!important;border:1px solid #e7d4c7!important;padding:7px 10px!important;border-radius:4px!important}.erf4-areanav button.is-selected{background:#652037!important;color:#fff!important}.erf4-house-right{border:1px solid #efe3d7;border-radius:5px;padding:25px 23px;min-width:0;background:white;align-self:start}.erf4-house-right h3{font-size:30px;margin:10px 0 16px}.erf4-house-right>div>p{line-height:1.8}.erf4-house-right .erf-native-table table{min-width:600px}.erf4-house-right .erf-table-scroll{max-height:430px;overflow:auto}.erf4-house-right .erf-native-table{margin:20px 0}.erf4-source-actions{border-top:1px solid var(--erf4-line);padding-top:19px;margin-top:17px}.erf4-foot{margin-top:55px;border-top:1px solid var(--erf4-line);padding:20px 0 0;display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;font-size:12px;color:#8e7f77}.erf4-foot a{color:#642038;font-weight:750}
.erf4 button:focus-visible,.erf4 a:focus-visible{outline:3px solid #c69342!important;outline-offset:3px}.erf4-empty{font-size:13px;color:#9b5c32}.erf4-mobile-note{display:none}
@media (max-width:1080px){.erf4-layout{grid-template-columns:215px minmax(0,1fr)}.erf4-sidebar{padding:20px 9px}.erf4-main{padding:28px 22px}.erf4-housegrid{grid-template-columns:1fr}.erf4-hero-overlay{padding:60px 35px}}
@media (max-width:740px){.erf4{width:100vw}.erf4-hero{min-height:355px}.erf4-hero-overlay{padding:45px 22px}.erf4-hero h1{font-size:38px}.erf4-underhero{padding:12px 20px;gap:10px}.erf4-underhero span+span{padding-left:10px}.erf4-layout{display:block}.erf4-sidebar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:6px;overflow-x:auto;overflow-y:hidden;max-height:none;padding:7px 12px;background:#fbf7f1;border-bottom:1px solid #e8d9c9}.erf4-sidebar-title,.erf4-sidebar-download{display:none}.erf4-sidebar #erf4-nav-chapters{display:flex;gap:6px}.erf4-nav{width:auto!important;min-width:max-content;white-space:nowrap;padding:7px 9px!important;font-size:11px!important;margin:0!important;gap:4px}.erf4-index{height:24px;width:24px}.erf4-main{padding:22px 17px 42px}.erf4-crumb{margin-bottom:22px}.erf4-highlights{grid-template-columns:1fr;gap:8px}.erf4-highlights>div{min-height:80px;padding:13px}.erf4-highlights strong{font-size:28px}.erf4-feature{grid-template-columns:1fr;padding:18px}.erf4-chaptergrid{grid-template-columns:1fr}.erf4-chaptercard{min-height:95px}.erf4-chapter-actions a{margin-left:0}.erf4-house-right{padding:16px}.erf4-native-table{margin-left:-5px;margin-right:-5px}.erf4-article p.erf-prose{font-size:14px;line-height:1.8}.erf4 .erf-native-table table{min-width:630px}.erf4 .erf-table-scroll{overscroll-behavior-x:contain}}
/* Astra / Elementor hand-off: keep EPF's real header and footer, free the guidebook canvas. */
body.ecorefibre-guidebook-page .site-content .ast-container{max-width:100%;padding-left:0;padding-right:0}body.ecorefibre-guidebook-page #primary{margin:0!important;padding:0!important;max-width:100%;width:100%}body.ecorefibre-guidebook-page article.page{padding:0!important;margin:0!important}body.ecorefibre-guidebook-page .entry-content{margin-top:0!important}body.ecorefibre-guidebook-page .entry-header{display:none!important}body.ecorefibre-guidebook-page .ast-article-single{padding:0!important}

/* Native photography and vector charts, never full-page PDF screenshots. */
.erf4 .erf-photo{margin:20px 0 28px;max-width:850px}.erf4 .erf-photo img{display:block;width:100%;height:auto;max-height:540px;object-fit:contain;object-position:left center;border-radius:3px;background:#f9f5f0}
.erf4 .erf-table-note{font-size:12px;line-height:1.6;color:#756d67;margin:10px 0 16px}
.erf4 [data-original-table] table th:first-child,.erf4 [data-original-table] table td:first-child{font-weight:650}
.erf4 [data-original-table] table td{overflow-wrap:break-word}
/* Preserve the main EPF site's Poppins typography and native header/footer. */
.erf4 .erf4-hero h1{font-weight:500}

/* Original printed contents, partner assets, publication credits - source-faithful HTML. */
.erf4 .erf-source-toc,.erf4 .erf-partners,.erf4 .erf-source-credits{margin:34px 0 48px;max-width:1050px;border-top:1px solid #eadfd5;padding-top:22px}
.erf4 .erf-source-toc-text{font:inherit;white-space:pre-wrap;color:#493f3c;line-height:1.6;column-count:2;column-gap:34px;font-size:13px}
.erf4 .erf-credits-text{white-space:pre-line;line-height:1.8;font-size:13px;color:#554544}
.erf4 .erf-partners-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:35px;align-items:center}
.erf4 .erf-partner-logos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 23px;align-items:center}
.erf4 .erf-partner-logo{height:65px;display:flex;align-items:center;justify-content:center}
.erf4 .erf-partner-logo img{max-width:100%;max-height:65px;object-fit:contain}
.erf4 .erf-partner-meeting{margin:0}.erf4 .erf-partner-meeting img{width:100%;height:auto;display:block}
.erf4 .erf-partner-meeting figcaption{font-size:12px;color:#796a62;line-height:1.6;margin-top:9px}
@media(max-width:740px){.erf4 .erf-source-toc-text{column-count:1}.erf4 .erf-partners-layout{grid-template-columns:1fr}.erf4 .erf-partner-logos{gap:10px}}

.erf4 .erf-native-table td.erf-ref-group{vertical-align:middle;font-weight:650;text-align:center;background:#fcf8f2}
