/* Shared layout for individually addressable Agrolyst resource, programme and community pages. */
.ag-resource-page{background:#f6f8f3;color:#22392b;min-height:60vh}
.ag-resource-hero{position:relative;isolation:isolate;overflow:hidden;background:#103d2a;color:#fff;padding:clamp(58px,8vw,105px) 0}
.ag-resource-hero:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(108deg,#082a1de8,#0e432dc8 55%,#143f2a95),url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1800&q=80") center/cover}
.ag-resource-hero:after{content:"";position:absolute;z-index:-1;right:-90px;bottom:-160px;width:380px;height:380px;border:1px solid #ffffff25;border-radius:50%;box-shadow:0 0 0 45px #ffffff08,0 0 0 95px #ffffff06}
.ag-resource-container{width:min(1120px,calc(100% - 42px));margin:0 auto}
.ag-resource-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:0 0 22px;color:#d9e7db;font-size:.7rem;letter-spacing:.13em;text-transform:uppercase}
.ag-resource-breadcrumb a{color:#f3d994;text-decoration:none}
.ag-resource-hero h1{max-width:850px;font:750 clamp(2.2rem,5.4vw,4.7rem)/1.06 Manrope,sans-serif;letter-spacing:-.055em;margin:0 0 22px}
.ag-resource-hero h1 em{font-style:normal;color:#eed393}
.ag-resource-hero p{max-width:760px;color:#e0ebe1;font-size:clamp(.94rem,1.6vw,1.12rem);line-height:1.9;margin:0}
.ag-resource-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.ag-resource-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 18px;border:1px solid transparent;border-radius:3px;background:#e8d093;color:#153a26;text-decoration:none;font-size:.83rem;font-weight:800}
.ag-resource-button--outline{border-color:#b7cbbc;background:transparent;color:white}
.ag-resource-body{padding:clamp(42px,7vw,82px) 0}
.ag-resource-intro{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(260px,.75fr);gap:clamp(24px,5vw,72px);align-items:start}
.ag-resource-eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 12px;color:#8c7138;font-size:.68rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.ag-resource-eyebrow:before{content:"";width:23px;height:1px;background:#c9ae6c}
.ag-resource-intro h2,.ag-resource-section h2{font:750 clamp(1.65rem,3vw,2.6rem)/1.17 Manrope,sans-serif;letter-spacing:-.045em;color:#173e29;margin:0 0 17px}
.ag-resource-intro p,.ag-resource-section>p{font-size:.94rem;color:#5c6c60;line-height:1.9}
.ag-resource-info{padding:25px;background:#eaf0e6;border:1px solid #dce6d8}
.ag-resource-info h3{font:750 1.02rem Manrope,sans-serif;color:#1d482f;margin:0 0 8px}
.ag-resource-info p{color:#5e6f61;font-size:.82rem;line-height:1.8;margin:0 0 16px}
.ag-resource-info a{color:#176d37;font-size:.82rem;font-weight:800;text-decoration:none}
.ag-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:42px}
.ag-resource-card{padding:23px;background:#fff;border:1px solid #e1e8dd;min-height:178px}
.ag-resource-card__number{display:block;color:#a88a4e;font-size:.7rem;letter-spacing:.1em;margin-bottom:12px}
.ag-resource-card h3{font:750 1.04rem/1.35 Manrope,sans-serif;color:#1b452d;margin:0 0 9px}
.ag-resource-card p{color:#657368;font-size:.82rem;line-height:1.75;margin:0}
.ag-resource-section{margin-top:clamp(40px,6vw,72px)}
.ag-resource-note{padding:22px 25px;margin-top:34px;border-left:3px solid #cdb375;background:#fff;color:#657368;font-size:.82rem;line-height:1.8}
.ag-testimonial-form{max-width:740px;margin-top:25px;padding:26px;background:#fff;border:1px solid #dfe8dc}
.ag-testimonial-form label{display:block;margin:13px 0 7px;color:#324b38;font-size:.78rem;font-weight:700}
.ag-testimonial-form input,.ag-testimonial-form textarea,.ag-testimonial-form select{display:block;width:100%;padding:12px 13px;border:1px solid #dce4da;background:#fbfcfa;font:inherit;font-size:.88rem}
.ag-testimonial-form textarea{min-height:150px;resize:vertical}
.ag-testimonial-form input:focus,.ag-testimonial-form textarea:focus,.ag-testimonial-form select:focus{outline:2px solid #7bac89;outline-offset:1px}
.ag-testimonial-form .ag-testimonial-consent{display:flex;align-items:flex-start;gap:10px;margin:16px 0;color:#657368;font-size:.78rem;font-weight:400;line-height:1.7}
.ag-testimonial-form .ag-testimonial-consent input{width:auto;margin:4px 0 0}
.ag-resource-footer-cta{margin-top:46px;background:#123d2b;padding:clamp(24px,4.5vw,44px);color:white;display:flex;align-items:center;justify-content:space-between;gap:24px}
.ag-resource-footer-cta h2{font:750 clamp(1.35rem,2.8vw,2rem) Manrope,sans-serif;margin:0 0 8px}
.ag-resource-footer-cta p{color:#d2e0d4;font-size:.84rem;line-height:1.7;margin:0}
.ag-resource-footer-cta .ag-resource-button{flex:0 0 auto}
.ag-resource-main:focus{outline:none}
@media(max-width:800px){.ag-resource-intro{grid-template-columns:1fr}.ag-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ag-resource-footer-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.ag-resource-container{width:calc(100% - 32px)}.ag-resource-hero{padding:52px 0}.ag-resource-hero h1{font-size:2.35rem}.ag-resource-grid{grid-template-columns:1fr}.ag-resource-card{min-height:0;padding:20px}.ag-resource-footer-cta{padding:25px}}
