/* AFOHO brand layer, on top of the Twenty Twenty and Getwid block CSS. */
@font-face{font-family:"Barlow Condensed";font-weight:500;font-display:swap;src:url(../fonts/barlow-condensed/barlow-condensed-500.woff2) format("woff2")}
@font-face{font-family:"Barlow Condensed";font-weight:600;font-display:swap;src:url(../fonts/barlow-condensed/barlow-condensed-600.woff2) format("woff2")}
@font-face{font-family:"Barlow Condensed";font-weight:700;font-display:swap;src:url(../fonts/barlow-condensed/barlow-condensed-700.woff2) format("woff2")}
@font-face{font-family:Lora;font-weight:400;font-display:swap;src:url(../fonts/lora/lora-400-normal.woff2) format("woff2")}
@font-face{font-family:Lora;font-weight:400;font-style:italic;font-display:swap;src:url(../fonts/lora/lora-400-italic.woff2) format("woff2")}
@font-face{font-family:Lora;font-weight:700;font-display:swap;src:url(../fonts/lora/lora-700-normal.woff2) format("woff2")}

:root{
  --forest:#07391E;--logo-green:#0BB464;--action:#157A45;--earth:#7C4012;--bark:#50382C;
  --terracotta:#94563D;--gold:#E3A732;--cream:#F5EBD7;--paper:#FBF6EC;--ink:#1C1A17;--line:#E3D6BD;
  --heading:"Barlow Condensed",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Helvetica,sans-serif;
  --body:Lora,Georgia,serif;
}

/* Base */
body,body.custom-background{background-color:var(--paper);color:var(--ink)}
.entry-content,.entry-content p,.textwidget,.has-drop-cap{font-family:var(--body)}
h1,h2,h3,h4,h5,h6,.faux-heading,.heading-size-1,.heading-size-2,.heading-size-3,.entry-title,.widget-title{font-family:var(--heading);letter-spacing:0;color:var(--forest);font-weight:700}
.entry-content h4{letter-spacing:0}
:root h1.has-accent-color,:root h2.has-accent-color,:root h3.has-accent-color,:root h4.has-accent-color{color:var(--earth)}
.has-drop-cap:not(:focus):first-letter{color:var(--earth);font-family:var(--heading)}
.wp-container-core-columns-is-layout-8f761849{flex-wrap:nowrap}
@media(min-width:782px){.wp-block-columns{gap:4rem}}
@media(max-width:781px){.wp-block-columns{gap:0}}
hr.wp-block-separator{color:var(--terracotta)}

/* Gold rule under main headings */
.entry-title::after,.entry-content h2::after{content:"";display:block;width:7rem;height:4px;background:var(--gold);margin:1.8rem 0 0}
.singular .entry-header .entry-title::after,.entry-content h2.has-text-align-center::after,.entry-content h2[style*="text-align:center"]::after,.entry-content .has-text-center h2::after{margin-left:auto;margin-right:auto}
.afoho-hero .entry-title::after{margin-left:0;margin-right:0}

/* Label above headings */
.afoho-tag{display:inline-block;background:var(--forest);color:var(--cream);font:600 1.6rem/1 var(--heading);letter-spacing:.06em;text-transform:uppercase;padding:.7rem 1.2rem;border-radius:.6rem}
.afoho-tag-wrap{margin-bottom:1rem}

/* Header */
#site-header{background:var(--paper)}
#site-header .header-inner{padding-top:1.6rem;padding-bottom:1.6rem}
.site-title a.afoho-lockup{display:flex;align-items:center;gap:1.2rem;text-align:left;color:var(--forest)}
.afoho-lockup:hover,.afoho-lockup:focus{text-decoration:none!important}
.afoho-lockup img{height:5.6rem;width:auto;display:block}
.afoho-lockup__text{font:700 1.75rem/1.02 var(--heading);text-transform:uppercase;color:var(--forest);letter-spacing:.02em;border-left:2px solid var(--forest);padding-left:1.2rem}
body:not(.overlay-header) .primary-menu>li>a,.primary-menu a,.modal-menu a{font-family:var(--heading);font-weight:600;font-size:2.1rem;color:var(--forest);letter-spacing:.02em}
.primary-menu li.current-menu-item>a{text-decoration:none;box-shadow:inset 0 -3px 0 var(--gold)}
.primary-menu a:hover,.primary-menu a:focus{color:var(--earth);text-decoration:none}

/* Page titles */
.singular .entry-header{background:var(--cream);padding-bottom:6rem}

/* Buttons */
.entry-content .wp-block-button.aligncenter{display:block;text-align:center;margin-left:auto;margin-right:auto}
button:not(.toggle),.button,.faux-button,.wp-block-button__link,input[type="submit"]{background-color:var(--gold);color:var(--forest);font-family:var(--heading);font-weight:700;font-size:1.9rem;letter-spacing:.05em;border-radius:.8rem}
.wp-block-button__link:hover,.wp-block-button__link:focus,.faux-button:hover,.faux-button:focus{background-color:var(--earth);color:var(--cream);text-decoration:none}
.wp-block-getwid-section__content .wp-block-button__link:hover,.wp-block-getwid-section__content .wp-block-button__link:focus{background-color:var(--cream);color:var(--forest)}

/* Split hero */
.afoho-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);min-height:58rem;background:var(--cream);overflow:hidden;position:relative}
.afoho-hero::before{content:"";position:absolute;left:0;bottom:0;width:30rem;height:30rem;background:var(--earth);opacity:.16;transform:scaleX(-1);-webkit-mask:url(../images/arcs.svg) center/contain no-repeat;mask:url(../images/arcs.svg) center/contain no-repeat}
.afoho-hero__copy{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2.4rem;padding:6rem 2rem 6rem max(4rem,calc((100vw - 120rem)/2))}
.afoho-hero .entry-title{font-size:clamp(4.4rem,5.2vw,7rem);line-height:1.03;margin:0;text-align:left}
.afoho-hero__em{color:var(--earth)}
.afoho-hero__media{position:relative;min-height:100%}
.afoho-hero__media::before{content:"";position:absolute;inset:0;background:var(--gold);clip-path:polygon(16% 0,20% 0,0 100%,0 80%)}
.afoho-hero__media::after{content:"";position:absolute;inset:0;background:var(--forest);clip-path:polygon(20% 0,30% 0,8% 100%,0 100%)}
.afoho-hero__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;clip-path:polygon(30% 0,100% 0,100% 100%,8% 100%);max-width:none}
@media(max-width:781px){
  .afoho-hero{grid-template-columns:1fr;min-height:0}
  .afoho-hero::before{display:none}
  .afoho-hero__copy{padding:4rem 2rem}
  .afoho-hero__media{height:28rem;min-height:0}
  .afoho-hero__media::before,.afoho-hero__media::after{display:none}
  .afoho-hero__media img{clip-path:polygon(0 12%,100% 0,100% 100%,0 100%)}
}

/* Dark bands and photo sections */
.afoho-hero~.post-inner{padding-top:0}
.wp-block-getwid-section__wrapper.getwid-padding-top-large{padding-top:7rem}
.wp-block-getwid-section__wrapper.getwid-padding-bottom-large{padding-bottom:7rem}
.wp-block-getwid-section__content .has-text-color::after{background:var(--gold)}
.wp-block-getwid-image-box__content h4{color:var(--forest)}

/* Gallery */
.afoho-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:4rem;margin:3rem 0}
.afoho-gallery__item img{width:100%;aspect-ratio:1;object-fit:cover;display:block;border-radius:2rem;box-shadow:0 .6rem 0 var(--gold)}
@media(max-width:1000px){.afoho-gallery{grid-template-columns:repeat(2,1fr);gap:2rem}}
@media(max-width:700px){.afoho-gallery{grid-template-columns:1fr}}

/* Call to action */
.entry-content .afoho-cta{margin-top:4rem;margin-bottom:6rem;text-align:center}
.entry-content a.afoho-cta__banner,.afoho-cta__banner{text-decoration:none;display:inline-flex;align-items:center;gap:2rem;background:var(--gold);color:var(--forest);padding:1.4rem 4rem 1.4rem 1.4rem;border-radius:99rem;font:700 clamp(2.2rem,2.4vw,3rem)/1.1 var(--heading);text-transform:uppercase}
.entry-content a.afoho-cta__banner:hover,.entry-content a.afoho-cta__banner:focus{background:var(--earth);color:var(--cream);text-decoration:none}
.afoho-cta__icon{display:flex;align-items:center;justify-content:center;flex:0 0 6rem;height:6rem;border-radius:50%;background:var(--forest);color:var(--cream);font-size:2.4rem}

/* Founder quote */
.afoho-quote{margin:6rem 0 0;max-width:none;width:100%;padding:0 2rem}
.entry-content .afoho-quote.alignfull{margin-bottom:6rem}
.afoho-quote__inner{display:grid;grid-template-columns:minmax(0,1fr) 34rem;max-width:114rem;margin:0 auto;align-items:end;background:var(--bark);border-radius:3rem;overflow:hidden}
.afoho-quote__text{margin:0;border:0;padding:5rem 4rem;color:var(--cream);align-self:center;position:relative}
.afoho-quote__text p{color:var(--cream);font:400 clamp(2.6rem,3vw,3.8rem)/1.3 var(--body)}
.afoho-quote__mark{display:block;font:700 12rem/.7 var(--heading);color:var(--gold);height:6rem}
.afoho-quote figcaption{font:500 1.9rem/1.3 var(--heading);color:var(--cream);margin-top:2rem;letter-spacing:.02em}
.afoho-quote figcaption strong{color:var(--gold);font-weight:600;margin-right:.8rem}
.afoho-quote__photo img{display:block;width:100%;height:auto;clip-path:polygon(24% 0,100% 0,100% 100%,0 100%)}
@media(max-width:781px){.afoho-quote__inner{grid-template-columns:1fr}.afoho-quote__text{padding:5rem 2rem 2rem}.afoho-quote__photo{max-width:30rem;margin-left:auto}}

/* Footer */
.footer-nav-widgets-wrapper,#site-footer{background:var(--forest);color:var(--cream);border-color:transparent}
.footer-nav-widgets-wrapper a,#site-footer a{color:var(--gold)}
.footer-nav-widgets-wrapper .widget-title{color:var(--cream)}
.footer-nav-widgets-wrapper .widget-title::after{content:"";display:block;width:7rem;height:4px;background:var(--gold);margin-top:1.4rem}
.footer-widgets-outer-wrapper{border:0;padding:6rem 0}
.afoho-footer-grid{display:flex;gap:4rem;align-items:center}
.afoho-footer-badge{flex:0 0 16rem;width:16rem;height:16rem;border-radius:50%}
.afoho-social{display:flex;flex-wrap:wrap;gap:.8rem 3rem;margin:1.6rem 0 0;font:600 2rem/1.2 var(--heading)}
.afoho-social a{text-decoration:none}
.afoho-social i{margin-right:.6rem}
.afoho-pattern{height:28px;background:var(--earth) url(../images/pattern.svg) repeat-x center}
#site-footer{border:0}
#site-footer .footer-credits,#site-footer .to-the-top{color:var(--cream)}
.footer-copyright,.to-the-top{font-family:var(--heading);font-size:1.9rem}
@media(max-width:600px){.afoho-footer-grid{flex-direction:column;align-items:flex-start}}

/* 404 */
.error404-content{padding:8rem 2rem;text-align:center}
.error404-content .intro-text{margin:2rem 0 3rem;font-family:var(--body)}
.error404-content .entry-title::after{margin-left:auto;margin-right:auto}

/* Hero runs straight into the first band */
.afoho-hero~.post-inner .entry-content>.alignfull:first-child{margin-top:0}
.menu-modal,.menu-modal-inner{background-color:var(--paper)}

/* Rounded image panels */
.entry-content .wp-block-image img{border-radius:2rem}
.afoho-panel .wp-block-getwid-section__inner-wrapper{border-radius:2rem;overflow:hidden}
.afoho-panel .wp-block-getwid-section__background-holder,.afoho-panel .wp-block-getwid-section__background{border-radius:2rem}

/* Arc linework in dark bands */
.wp-block-getwid-section__background.has-background[style*="07391e" i]{overflow:hidden}
.wp-block-getwid-section__background.has-background[style*="07391e" i]::before,.wp-block-getwid-section__background.has-background[style*="07391e" i]::after,.afoho-statement::before,.afoho-statement::after{content:"";position:absolute;width:24rem;height:24rem;background:var(--gold);opacity:.3;-webkit-mask:url(../images/arcs.svg) center/contain no-repeat;mask:url(../images/arcs.svg) center/contain no-repeat}
.wp-block-getwid-section__background.has-background[style*="07391e" i]::before,.afoho-statement::before{top:0;left:0}
.wp-block-getwid-section__background.has-background[style*="07391e" i]::after,.afoho-statement::after{right:0;bottom:0;transform:rotate(180deg)}

/* Statement bands. Logo Green is kept for the logo itself. */
.afoho-statement{position:relative;overflow:hidden;width:100%;max-width:none;padding:8rem 2rem}
.entry-content .afoho-statement.alignfull{margin-top:6rem;margin-bottom:6rem}
.afoho-statement--panel{background:var(--cream)}
.afoho-statement--panel::before,.afoho-statement--panel::after{background:var(--earth);opacity:.25}
.afoho-statement--earth{background:var(--bark)}
.afoho-statement--earth::before,.afoho-statement--earth::after{background:var(--cream);opacity:.16}
.afoho-statement__frame{position:relative;z-index:1;max-width:90rem;margin:0 auto}
.afoho-statement--panel .afoho-statement__frame::before,.afoho-statement--panel .afoho-statement__frame::after{content:"";position:absolute;width:18rem;height:18rem;background:var(--gold);border-radius:3rem}
.afoho-statement--panel .afoho-statement__frame::before{top:-3rem;right:-3rem}
.afoho-statement--panel .afoho-statement__frame::after{bottom:-3rem;left:-3rem}
.afoho-statement__panel{position:relative;z-index:1}
.afoho-statement--panel .afoho-statement__panel{background:var(--forest);border-radius:3rem;padding:9rem 6rem 7rem;box-shadow:0 1.2rem 3rem rgba(7,57,30,.28)}
.afoho-statement__mark{position:absolute;top:2.4rem;right:4rem;font:700 16rem/1 var(--heading);color:var(--gold);height:8rem}
.entry-content p.afoho-statement__text{margin:0;max-width:none;width:auto;text-align:center;color:var(--cream);font:700 clamp(3.6rem,5.2vw,6.4rem)/1.08 var(--heading)}
.afoho-statement--earth .afoho-statement__frame{max-width:114rem}
.entry-content .afoho-statement--earth p.afoho-statement__text{text-align:right;color:var(--cream);text-transform:uppercase;font-size:clamp(5rem,9vw,11rem);line-height:.98}
.entry-content p.afoho-statement__by{margin:2.4rem 0 0;max-width:none;width:auto;text-align:right;color:var(--cream);font:500 1.7rem/1.2 var(--heading);letter-spacing:.2em;text-transform:uppercase}
@media(max-width:781px){
  .afoho-statement{padding:6rem 2rem}
  .afoho-statement::before,.afoho-statement::after,.wp-block-getwid-section__background.has-background[style*="07391e" i]::before,.wp-block-getwid-section__background.has-background[style*="07391e" i]::after{width:12rem;height:12rem}
  .afoho-statement--panel .afoho-statement__panel{padding:7rem 2.4rem 4rem}
  .afoho-statement--panel .afoho-statement__frame::before,.afoho-statement--panel .afoho-statement__frame::after{width:10rem;height:10rem;border-radius:2rem}
  .afoho-statement--panel .afoho-statement__frame::before{top:-1.4rem;right:-1rem}
  .afoho-statement--panel .afoho-statement__frame::after{bottom:-1.4rem;left:-1rem}
  .afoho-statement__mark{top:1.4rem;right:2rem;font-size:11rem;height:5rem}
}

/* Listen, Understand, Support */
.entry-content ol.afoho-steps{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem;margin:4rem auto 0;padding:0}
.entry-content .afoho-steps li{margin:0;display:flex;align-items:center;gap:.8rem;background:var(--cream);border-radius:2rem;padding:1.4rem 1.2rem;color:var(--forest);font:700 2.3rem/1 var(--heading);text-transform:uppercase}
.afoho-steps__n{flex:0 0 3.4rem;height:3.4rem;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--gold);font-size:2rem}
@media(max-width:600px){.entry-content ol.afoho-steps{grid-template-columns:1fr}}

/* Gold call-to-action band */
.afoho-band{background:var(--gold);width:100%;max-width:none;padding:8rem 2rem}
.entry-content .afoho-band.alignfull{margin-top:6rem;margin-bottom:0}
.entry-content .afoho-statement.alignfull:has(+ .afoho-band){margin-bottom:0}
.entry-content .afoho-statement+.afoho-band.alignfull{margin-top:0}
.post-inner:has(.afoho-band:last-child){padding-bottom:0}
body:has(.afoho-band:last-child) .footer-nav-widgets-wrapper,body:has(.afoho-band:last-child) #site-footer{margin-top:0}
.afoho-band__inner{max-width:76rem;margin:0 auto;text-align:center}
.entry-content h2.afoho-band__title{margin:0;color:var(--forest);text-transform:uppercase;font-size:clamp(4.4rem,7vw,8.4rem);line-height:1}
.entry-content h2.afoho-band__title::after{background:var(--forest);margin:2.4rem auto 0}
.entry-content p.afoho-band__text{margin:2.4rem auto 3.2rem;max-width:none;width:auto;color:var(--forest);font-size:2.2rem}
.entry-content a.afoho-band__link{display:inline-flex;align-items:center;gap:1.2rem;background:var(--forest);color:var(--cream);padding:1.6rem 3.2rem;border-radius:99rem;text-decoration:none;font:700 2.2rem/1.1 var(--heading);text-transform:uppercase;letter-spacing:.03em}
.entry-content a.afoho-band__link:hover,.entry-content a.afoho-band__link:focus{background:var(--bark);text-decoration:none}

/* Projects grouped by programme */
.afoho-jump{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin:2.4rem 0 2rem}
.entry-content .afoho-jump a{background:var(--cream);color:var(--forest);font:600 2rem/1 var(--heading);padding:1rem 1.8rem;border-radius:99rem;text-decoration:none}
.entry-content .afoho-jump a:hover,.entry-content .afoho-jump a:focus{background:var(--forest);color:var(--cream)}
.entry-content h3.afoho-programme{margin:6rem 0 1rem;font-size:clamp(3.2rem,3.6vw,4.2rem);scroll-margin-top:2rem;border-top:2px solid var(--line);padding-top:3rem}
.entry-content p.afoho-programme__intro{margin:0 0 3rem;max-width:none}

/* Text pages start clear of the title band */
.entry-header~.post-inner .entry-content>p:first-child,.entry-header~.post-inner .entry-content>h2:first-child{margin-top:6rem}

/* Partner with us */
.primary-menu{align-items:center}
.primary-menu>li{display:flex;align-items:center}
.primary-menu li.afoho-nav-cta>a,body:not(.overlay-header) .primary-menu>li.afoho-nav-cta>a{background:var(--gold);color:var(--forest);padding:.9rem 1.6rem;border-radius:.8rem;box-shadow:none}
body:not(.overlay-header) .primary-menu>li.afoho-nav-cta>a:hover,body:not(.overlay-header) .primary-menu>li.afoho-nav-cta>a:focus{background:var(--forest);color:var(--cream)}
.afoho-hero__actions{display:flex;flex-wrap:wrap;align-items:center;gap:1.6rem 2.8rem}
.afoho-hero__actions .wp-block-button{margin:0}
a.afoho-hero__secondary{color:var(--forest);font:600 2.1rem/1.2 var(--heading);text-decoration:underline;text-underline-offset:.3rem}
a.afoho-hero__secondary:hover,a.afoho-hero__secondary:focus{color:var(--earth)}
.entry-content p.afoho-band__text a{color:var(--forest)}
.entry-content ul.afoho-stats{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;margin:3rem 0 4rem;padding:0;max-width:none;width:auto}
.entry-content .afoho-stats li{margin:0;background:var(--cream);border-radius:2rem;padding:2.4rem 2rem;text-align:center}
.afoho-stats strong{display:block;color:var(--forest);font:700 clamp(3.6rem,3.6vw,4.6rem)/1 var(--heading);margin-bottom:1rem}
.afoho-stats span{display:block;font-size:1.7rem;line-height:1.4}
@media(max-width:900px){.entry-content ul.afoho-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:500px){.entry-content ul.afoho-stats{grid-template-columns:1fr}}
