@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  body.page .elementor[data-elementor-type="wp-page"] > .e-con.e-parent,
  body.page .elementor[data-elementor-type="wp-page"] > .e-con-boxed > .e-con-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    box-sizing: border-box !important;
  }

  body.page .elementor-widget-container > .wp-block-group.alignfull,
  body.page .elementor-widget-container > .earth-profile-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }
}
/* EARTH header: preserve theme design */
#pageholder .contact-us a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 18px;line-height:1.3;white-space:nowrap;box-sizing:border-box}
@media(max-width:1000px){
#pageholder > .header-top > .container,#pageholder > .header > .container{width:100%;max-width:100%;padding-inline:16px;box-sizing:border-box}
#pageholder .classic-landing-page-logo{max-width:100%;box-sizing:border-box}
#pageholder .classic-landing-page-logo img{max-width:100%;height:auto}
#pageholder > .header > .container > .row > div:first-child,#pageholder > .header > .container > .row > div:last-child{display:none}
#pageholder > .header > .container > .row > div:nth-child(2){flex:0 0 100%;width:100%;max-width:100%}
#pageholder .toggle-nav{text-align:right!important}
#pageholder .toggle-nav button{min-height:44px;font-size:16px;line-height:1.3;padding:10px 20px}
#pageholder #mySidenav{width:100%!important;max-width:100vw;height:100dvh;overflow-x:hidden;overflow-y:auto;padding:72px 20px 24px;box-sizing:border-box}
#pageholder #site-navigation,#pageholder #site-navigation .mobile_nav,#pageholder #site-navigation .main-menu{width:100%;max-width:100%;margin:0;padding:0}
#pageholder #site-navigation li{display:block;width:100%;padding:0;box-sizing:border-box}
#pageholder #site-navigation a{font-size:16px;line-height:1.5;white-space:normal;overflow-wrap:break-word;min-height:44px;box-sizing:border-box}
#pageholder #site-navigation .sub-menu{display:block!important;position:static!important;width:100%!important;min-width:0!important;max-width:100%;margin:0!important;padding:0 0 12px 16px;opacity:1;box-sizing:border-box}
#pageholder #site-navigation .sub-menu a,#pageholder #site-navigation .sub-menu a:hover{padding:10px 12px!important;margin:0}
#pageholder #site-navigation .menu-item-has-children > a::after{display:none}
#pageholder #site-navigation a.close-button{position:absolute;top:16px;right:20px;font-size:16px;padding:10px 14px}
body.admin-bar #pageholder #mySidenav{padding-top:110px}
body.admin-bar #pageholder #site-navigation a.close-button{top:56px}
}
@media(max-width:767px){
#pageholder .classic-landing-page-logo{width:fit-content;margin:0 auto;padding:16px 20px 12px}
#pageholder .classic-landing-page-logo img{width:180px}
#pageholder .header-top .social-icons{padding:8px 0}
#pageholder .header-top .mailaddress{padding:10px 0}
}

/* EARTH compact tablet and mobile dropdown */
@media(max-width:1000px){
#pageholder > .header{position:relative!important;z-index:1000}
#pageholder #mySidenav{position:absolute!important;inset:auto 16px auto auto!important;top:calc(100% + 6px)!important;width:min(360px,calc(100% - 32px))!important;max-width:calc(100% - 32px)!important;height:auto!important;max-height:70vh;max-height:70dvh;padding:14px!important;background:#fff!important;border:1px solid #e3e8ef;border-top:3px solid #0B2F67;border-radius:8px;box-shadow:0 12px 32px rgba(11,47,103,.18);opacity:0!important;visibility:hidden!important;pointer-events:none;transition:opacity .18s ease!important;overflow-y:auto;overflow-x:hidden;box-sizing:border-box}
body.show-main-menu #pageholder #mySidenav{opacity:1!important;visibility:visible!important;pointer-events:auto}
#pageholder #site-navigation{display:flex;flex-direction:column}
#pageholder #site-navigation a.close-button,body.admin-bar #pageholder #site-navigation a.close-button{position:static!important;order:-1;align-self:flex-end;min-height:36px;padding:6px 10px;margin:0 0 6px;color:#0B2F67!important;font-size:13px;line-height:24px;border:1px solid #dce3ec;border-radius:5px;text-decoration:none}
#pageholder #site-navigation .main-menu > li{border:0;border-bottom:1px solid #e8edf3;padding:0;background:transparent!important}
#pageholder #site-navigation .main-menu > li:last-child{border-bottom:0}
#pageholder #site-navigation .main-menu > li > a{font-size:15px;font-weight:600;line-height:1.4;min-height:44px;padding:12px 10px!important;margin:0;color:#0B2F67!important;background:transparent!important;text-transform:none;letter-spacing:0}
#pageholder #site-navigation .sub-menu{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;margin:0!important;padding:0 0 8px 12px!important}
#pageholder #site-navigation .sub-menu li{border:0!important;background:transparent!important}
#pageholder #site-navigation .sub-menu a,#pageholder #site-navigation .sub-menu a:hover{font-size:14px;font-weight:400;line-height:1.4;min-height:44px;padding:12px 10px!important;margin:0;color:#33465f!important;background:transparent!important;text-transform:none;letter-spacing:0;border-radius:4px}
#pageholder #site-navigation .main-menu a:hover,#pageholder #site-navigation .main-menu a:focus-visible{color:#0B2F67!important;background:#f0f4f9!important}
#pageholder #site-navigation a:focus-visible{outline:2px solid #0B2F67;outline-offset:-2px}
}

@media(max-width:767px){#pageholder #mySidenav{max-height:calc(100dvh - 330px)}}
@media(max-width:1000px) and (max-height:600px){#pageholder #mySidenav{position:fixed!important;top:12px!important;max-height:calc(100dvh - 24px)}body.admin-bar #pageholder #mySidenav{top:52px!important;max-height:calc(100dvh - 64px)}}

/* EARTH top banner matches footer */
html body #pageholder > .header-top{background:#0B2F67!important;color:#fff!important}
html body #pageholder > .header-top .mailaddress,html body #pageholder > .header-top .social-icons a,html body #pageholder > .header-top .social-icons i,html body #pageholder > .header-top .social-icons svg{color:#fff!important}
html body #pageholder > .header-top .mailaddress:hover,html body #pageholder > .header-top .mailaddress:focus-visible,html body #pageholder > .header-top .social-icons a:hover,html body #pageholder > .header-top .social-icons a:focus-visible,html body #pageholder > .header-top .social-icons a:hover i,html body #pageholder > .header-top .social-icons a:focus-visible i,html body #pageholder > .header-top .social-icons a:hover svg,html body #pageholder > .header-top .social-icons a:focus-visible svg{color:#F5A900!important}

/* EARTH staff page redesign */
body:is(.page-id-97,.page-id-98) .earth-team-page{background:#f5f7fa;padding:64px 32px;color:#334155;font-family:Poppins,Arial,sans-serif}
body:is(.page-id-97,.page-id-98) .earth-team-page *,body:is(.page-id-97,.page-id-98) .earth-team-cta *{box-sizing:border-box}
body:is(.page-id-97,.page-id-98) .earth-team-intro{max-width:820px;margin:0 auto 44px;text-align:center}
body:is(.page-id-97,.page-id-98) .earth-team-eyebrow{font-size:12px;font-weight:700;letter-spacing:.16em;color:#49663b;margin:0 0 14px}
body:is(.page-id-97,.page-id-98) .earth-team-intro h1{color:#0B2F67;font-size:clamp(30px,3.3vw,48px);line-height:1.15;margin:0 0 20px;font-weight:700}
body:is(.page-id-97,.page-id-98) .earth-team-lead{font-size:17px;line-height:1.8;margin:0;color:#475569}
body:is(.page-id-97,.page-id-98) .earth-team-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;max-width:1312px;width:100%;margin:0 auto;grid-auto-rows:1fr;align-items:stretch}
body:is(.page-id-97,.page-id-98) .earth-team-card{min-width:0;width:100%;height:100%;padding:0!important;margin:0!important;border:1px solid #e0e6ef;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 6px 20px rgba(11,47,103,.05)}
body:is(.page-id-97,.page-id-98) .earth-team-card figure{margin:0!important;width:100%}
body:is(.page-id-97,.page-id-98) .earth-team-card img{display:block;width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover;object-position:center 25%;margin:0}
body:is(.page-id-97,.page-id-98) .earth-team-placeholder{display:grid;place-items:center;aspect-ratio:4/3;background:#e7edf5;color:#0B2F67;font-size:64px;font-weight:600;letter-spacing:.06em;margin:0}
body:is(.page-id-97,.page-id-98) .earth-team-card-copy{padding:26px!important;margin:0!important}
body:is(.page-id-97,.page-id-98) .earth-team-card h3{font-size:23px;line-height:1.25;color:#0B2F67;margin:0 0 10px;font-weight:600}
body:is(.page-id-97,.page-id-98) .earth-team-role{min-height:48px;font-size:13px;font-weight:600;line-height:1.6;color:#49663b;margin:0 0 16px}
body:is(.page-id-97,.page-id-98) .earth-team-bio{font-size:15px;line-height:1.8;margin:0;color:#475569}
body:is(.page-id-97,.page-id-98) .earth-team-cta{background:#0B2F67;padding:52px 24px;text-align:center;color:#fff;font-family:Poppins,Arial,sans-serif;margin:0}
body:is(.page-id-97,.page-id-98) .earth-team-cta h2{font-size:clamp(25px,3vw,36px);color:#fff;margin:0 0 16px;line-height:1.25}
body:is(.page-id-97,.page-id-98) .earth-team-cta p{color:#fff;font-size:16px;line-height:1.7;margin:0 auto 24px;max-width:640px}
body:is(.page-id-97,.page-id-98) .earth-team-cta .wp-block-buttons{display:flex;justify-content:center}
body:is(.page-id-97,.page-id-98) .earth-team-cta a{display:inline-block;background:#F5A900;color:#0B2F67;padding:14px 26px;border-radius:7px;font-size:15px;font-weight:600;text-decoration:none}
body:is(.page-id-97,.page-id-98) .earth-team-cta a:hover{background:#fff}
@media(max-width:1024px){body:is(.page-id-97,.page-id-98) .earth-team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}body:is(.page-id-97,.page-id-98) .earth-team-page{padding:44px 20px}}
@media(max-width:767px){body:is(.page-id-97,.page-id-98) .earth-team-grid{grid-template-columns:minmax(0,1fr);gap:22px;grid-auto-rows:auto}body:is(.page-id-97,.page-id-98) .earth-team-page{padding:36px 12px}body:is(.page-id-97,.page-id-98) .earth-team-card-copy{padding:22px!important}body:is(.page-id-97,.page-id-98) .earth-team-role{min-height:0}body:is(.page-id-97,.page-id-98) .earth-team-intro{margin-bottom:30px}body:is(.page-id-97,.page-id-98) .earth-team-lead{font-size:16px}}

body:is(.page-id-97,.page-id-98) .earth-team-grid > .wp-block-group__inner-container{display:contents!important}
body:is(.page-id-97,.page-id-98) .earth-team-card{height:auto!important}

/* EARTH homepage closing callout */
html body.home #pageholder .elementor-40 .elementor-element.elementor-element-30b8c03{background:#0B2F67!important;padding:52px 24px!important;text-align:center!important}
html body.home #pageholder .elementor-element-3db08cd h2{color:#fff!important;font-family:Poppins,Arial,sans-serif!important;font-size:clamp(25px,3vw,36px)!important;line-height:1.25!important;margin:0 auto 16px!important;max-width:900px;text-align:center!important}
html body.home #pageholder .elementor-element-3db08cd p{color:#fff!important;font-size:16px!important;line-height:1.7!important;max-width:640px!important;margin:0 auto 24px!important;text-align:center!important}
html body.home #pageholder .elementor-element-3db08cd .wp-block-buttons{justify-content:center!important;gap:14px;flex-wrap:wrap}
/* EARTH website button treatment */
html body #pageholder :is(button,input[type=submit],input[type=button],input[type=reset],.wp-block-button__link,.wp-element-button,.elementor-button,.e-button,.e-button-base,a[role=button],.contact-us a,.pagemore a,.earth-team-cta a,.earth-staff-cta a,a.close-button){background:#0B2F67!important;background-image:none!important;color:#fff!important;border:1px solid rgba(255,255,255,.25)!important;box-shadow:0 3px 0 #061d42,0 6px 12px rgba(11,47,103,.18)!important;text-shadow:none!important;transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease!important;text-decoration:none!important}
html body #pageholder :is(button,input[type=submit],input[type=button],input[type=reset],.wp-block-button__link,.wp-element-button,.elementor-button,.e-button,.e-button-base,a[role=button],.contact-us a,.pagemore a,.earth-team-cta a,.earth-staff-cta a,a.close-button):hover{background:#000!important;color:#fff!important;box-shadow:0 3px 0 #000,0 6px 12px rgba(0,0,0,.2)!important}
html body #pageholder :is(button,input[type=submit],input[type=button],input[type=reset],.wp-block-button__link,.wp-element-button,.elementor-button,.e-button,.e-button-base,a[role=button],.contact-us a,.pagemore a,.earth-team-cta a,.earth-staff-cta a,a.close-button):active{transform:translateY(2px);box-shadow:0 1px 0 #061d42!important}
html body #pageholder :is(button,input[type=submit],.wp-block-button__link,.wp-element-button,.elementor-button,.e-button,a[role=button],.contact-us a,.earth-team-cta a,a.close-button):focus-visible{outline:3px solid #F5A900!important;outline-offset:4px}
html body #pageholder :is(.elementor-button,.e-button,.e-button-base) :is(span,i,svg){color:inherit!important}

/* EARTH directors page */
body.page-id-47 .earth-board-page{background:#f5f7fa;padding:64px 32px;font-family:Poppins,Arial,sans-serif;color:#475569;box-sizing:border-box}
body.page-id-47 .earth-board-page *{box-sizing:border-box}
body.page-id-47 .earth-board-intro{max-width:900px;text-align:center;margin:0 auto 44px}
body.page-id-47 .earth-board-eyebrow{color:#49663b;font-size:12px;line-height:1.5;font-weight:700;letter-spacing:.16em;margin:0 0 14px}
body.page-id-47 .earth-board-intro h1{font-size:clamp(30px,3.3vw,48px);line-height:1.2;color:#0B2F67;font-weight:700;margin:0}
body.page-id-47 .earth-board-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;max-width:1180px;width:100%;margin:0 auto;align-items:stretch}
body.page-id-47 .earth-board-grid > .wp-block-group__inner-container{display:contents!important}
body.page-id-47 .earth-board-card{min-width:0;margin:0!important;padding:32px!important;background:#fff;border:1px solid #e0e6ef;border-top:3px solid #0B2F67;border-radius:12px;box-shadow:0 5px 18px rgba(11,47,103,.05)}
body.page-id-47 .earth-board-role{color:#49663b;font-size:13px;line-height:1.5;font-weight:600;margin:0 0 12px}
body.page-id-47 .earth-board-card h2{font-size:25px;line-height:1.25;color:#0B2F67;font-weight:600;margin:0 0 18px}
body.page-id-47 .earth-board-bio{font-size:16px;line-height:1.8;color:#475569;margin:0;max-width:60ch}
@media(max-width:1024px){body.page-id-47 .earth-board-page{padding:44px 20px}body.page-id-47 .earth-board-grid{gap:22px}body.page-id-47 .earth-board-card{padding:26px!important}}
@media(max-width:767px){body.page-id-47 .earth-board-page{padding:36px 12px}body.page-id-47 .earth-board-grid{grid-template-columns:minmax(0,1fr);gap:20px}body.page-id-47 .earth-board-intro{margin-bottom:30px}body.page-id-47 .earth-board-card{padding:24px!important}body.page-id-47 .earth-board-card h2{font-size:23px!important}}


/* EARTH consistent homepage redesign */
html body.home #pageholder .elementor-40{font-family:Poppins,Arial,sans-serif;background:#f5f7fa;color:#475569}
html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .elementor-element-1963afb2,html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .elementor-element-1963afb2 > .e-con-inner{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;gap:0!important}
html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .elementor-element-56b03ef{width:100%!important;max-width:none!important;margin:0!important}
html body.home #pageholder .earth-slider-hero{min-height:520px!important}
html body.home #pageholder .earth-slider-copy{width:calc(100% - 64px)!important;max-width:1312px!important;margin:0 auto!important;padding:76px 0!important}
html body.home #pageholder .earth-slider-copy h1{font-size:clamp(38px,4.5vw,64px)!important;line-height:1.12!important;max-width:1000px;margin-bottom:24px!important}
html body.home #pageholder .earth-slider-copy > p:not(.earth-eyebrow){font-size:19px!important;line-height:1.75!important;max-width:720px!important}
html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .elementor-element-a20d330{width:calc(100% - 64px)!important;max-width:900px!important;margin:0 auto!important;padding:64px 0 40px!important;text-align:center!important}
html body.home #pageholder .elementor-element-a20d330 h2{color:#0B2F67!important;font-size:clamp(28px,3vw,40px)!important;line-height:1.2!important;margin:0 0 22px!important;font-weight:700!important}
html body.home #pageholder .elementor-element-a20d330 p{color:#475569!important;font-size:17px!important;line-height:1.8!important;margin:0!important}
html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .elementor-element-cffc0c6{display:block!important;width:calc(100% - 64px)!important;max-width:1312px!important;margin:0 auto 28px!important;padding:0!important;border:1px solid #e0e6ef!important;border-radius:16px!important;overflow:hidden!important;box-shadow:0 6px 20px rgba(11,47,103,.05)!important;background:#fff!important}
html body.home #pageholder .elementor-element-cffc0c6 .elementor-widget-image{width:100%!important;margin:0!important;padding:0!important}
html body.home #pageholder .elementor-element-cffc0c6 img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .elementor-element-83e4156{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important;width:calc(100% - 64px)!important;max-width:1312px!important;margin:0 auto 64px!important;padding:0!important;align-items:stretch!important}
html body.home #pageholder .elementor-element-83e4156 > .elementor-widget{display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:32px!important;background:#fff!important;border:1px solid #e0e6ef!important;border-top:3px solid #0B2F67!important;border-radius:12px!important;box-shadow:0 5px 18px rgba(11,47,103,.05)!important;text-align:center!important;box-sizing:border-box!important}
html body.home #pageholder .elementor-element-83e4156 h2{color:#0B2F67!important;font-size:27px!important;line-height:1.25!important;margin:0 0 20px!important;font-weight:600!important}
html body.home #pageholder .elementor-element-83e4156 p{color:#475569!important;font-size:16px!important;line-height:1.8!important;margin:0 0 20px!important}
html body.home #pageholder .elementor-element-83e4156 p:has(+ .wp-block-buttons){display:none!important}
html body.home #pageholder .elementor-element-83e4156 .wp-block-buttons{margin-top:auto!important;justify-content:center!important;padding-top:8px!important}
html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .elementor-element-30b8c03{width:100%!important;max-width:none!important;margin:0!important;padding:52px 24px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#0B2F67!important}
html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .wp-block-button__link{font-size:15px!important;line-height:1.4!important;padding:14px 24px!important;border-radius:7px!important;white-space:normal!important}
@media(max-width:1024px){html body.home #pageholder .earth-slider-copy{width:calc(100% - 40px)!important;padding:56px 0!important}html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .elementor-element-a20d330{width:calc(100% - 40px)!important;padding:44px 0 30px!important}html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .elementor-element-cffc0c6,html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .elementor-element-83e4156{width:calc(100% - 40px)!important}html body.home #pageholder .elementor-element-83e4156 > .elementor-widget{padding:26px!important}html body.home #pageholder .elementor-element-83e4156 h2{font-size:24px!important}}
@media(max-width:767px){html body.home #pageholder .earth-slider-hero{min-height:480px!important}html body.home #pageholder .earth-slider-copy{width:calc(100% - 32px)!important;padding:44px 0!important}html body.home #pageholder .earth-slider-copy h1{font-size:clamp(34px,8vw,48px)!important}html body.home #pageholder .earth-slider-copy .earth-eyebrow{font-size:12px!important}html body.home #pageholder .earth-slider-copy > p:not(.earth-eyebrow){font-size:16px!important}html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .elementor-element-a20d330{width:calc(100% - 32px)!important;padding:36px 0 26px!important}html body.home #pageholder .elementor-element-a20d330 p{font-size:16px!important}html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .elementor-element-cffc0c6{width:calc(100% - 24px)!important;margin-bottom:22px!important}html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .elementor-element-83e4156{width:calc(100% - 24px)!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important;margin-bottom:36px!important}html body.home #pageholder .elementor-element-83e4156 > .elementor-widget{padding:26px 22px!important}html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .elementor-element-30b8c03{padding:40px 16px!important}}

html body.home #pageholder .elementor-40.elementor-40.elementor-40.elementor-40.elementor-40.elementor-40 .elementor-element-a20d330{width:calc(100% - 64px)!important;max-width:900px!important}
html body.home #pageholder .elementor-40.elementor-40.elementor-40.elementor-40.elementor-40.elementor-40 .elementor-element-cffc0c6,html body.home #pageholder .elementor-40.elementor-40.elementor-40.elementor-40.elementor-40.elementor-40 .elementor-element-83e4156{width:calc(100% - 64px)!important;max-width:1312px!important}
@media(max-width:1024px){html body.home #pageholder .elementor-40.elementor-40.elementor-40.elementor-40.elementor-40.elementor-40 :is(.elementor-element-a20d330,.elementor-element-cffc0c6,.elementor-element-83e4156){width:calc(100% - 40px)!important}}
@media(max-width:767px){html body.home #pageholder .elementor-40.elementor-40.elementor-40.elementor-40.elementor-40.elementor-40 :is(.elementor-element-a20d330,.elementor-element-cffc0c6,.elementor-element-83e4156){width:calc(100% - 24px)!important}}

/* EARTH shared page design */
html body #pageholder .earth-content-page{background:#f5f7fa;padding:64px 32px 0;font-family:Poppins,Arial,sans-serif;color:#475569;box-sizing:border-box}
html body #pageholder .earth-content-page *{box-sizing:border-box;min-width:0}
html body #pageholder .earth-content-intro{max-width:1000px;text-align:center;margin:0 auto 44px}
html body #pageholder .earth-content-intro h1{color:#0B2F67;font-size:clamp(30px,3.3vw,48px);line-height:1.2;font-weight:700;margin:0}
html body #pageholder .earth-content-page .earth-content-section{width:100%!important;max-width:1180px!important;margin:0 auto 28px!important;padding:36px!important;background:#fff!important;border:1px solid #e0e6ef;border-radius:12px;box-shadow:0 5px 18px rgba(11,47,103,.05);color:#475569!important}
html body #pageholder .earth-content-section > .wp-block-group__inner-container{max-width:none!important;width:100%!important}
html body #pageholder .earth-content-page h2{font-size:28px;line-height:1.25;color:#0B2F67!important;margin:0 0 20px;font-weight:600}
html body #pageholder .earth-content-page h3{font-size:22px;line-height:1.3;color:#0B2F67!important;margin:0 0 16px;font-weight:600}
html body #pageholder .earth-content-page p,html body #pageholder .earth-content-page li{font-size:16px;line-height:1.8;color:#475569}
html body #pageholder .earth-content-section p{margin:0 0 20px}
html body #pageholder .earth-content-section p:last-child{margin-bottom:0}
html body #pageholder .earth-content-page .wp-block-columns{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px!important;margin:26px 0!important}
html body #pageholder .earth-content-page .wp-block-columns:has(> .wp-block-column:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
html body #pageholder .earth-content-page .wp-block-column{background:#f8fafc;border:1px solid #e0e6ef;border-top:3px solid #0B2F67;border-radius:10px;padding:26px!important;margin:0!important;width:100%!important}
html body #pageholder .earth-content-page .earth-content-cta{background:#0B2F67!important;padding:52px 24px!important;text-align:center!important;margin:40px -32px 0!important;border:0;border-radius:0}
html body #pageholder .earth-content-cta > .wp-block-group__inner-container{max-width:900px!important;margin:0 auto!important}
html body #pageholder .earth-content-cta h2,html body #pageholder .earth-content-cta p,html body #pageholder .earth-content-cta a:not(.wp-block-button__link){color:#fff!important}
html body #pageholder .earth-content-cta p{max-width:720px;margin:0 auto 24px}
html body #pageholder .earth-content-page .wp-block-buttons{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:24px}
html body #pageholder .earth-content-cta .wp-block-buttons{justify-content:center}
html body #pageholder .earth-content-page .wp-block-button__link{padding:14px 24px;font-size:15px;line-height:1.4;border-radius:7px}
html body #pageholder .earth-content-section ol{padding-left:28px;margin:24px 0}
html body #pageholder .earth-content-section li{padding:8px 0 12px 8px}
html body #pageholder .earth-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1180px;margin:0 auto 28px}
html body #pageholder .earth-contact-grid > .wp-block-group__inner-container{display:contents}
html body #pageholder .earth-content-card{padding:30px;border:1px solid #e0e6ef;border-top:3px solid #0B2F67;background:#fff;border-radius:12px;margin:0;box-shadow:0 5px 18px rgba(11,47,103,.05)}
html body #pageholder .earth-content-card a{overflow-wrap:anywhere}
html body #pageholder .earth-contact-form{max-width:900px!important}
html body #pageholder .earth-contact-form :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea){width:100%;max-width:100%;border:1px solid #cbd5e1;border-radius:6px;padding:12px;font:inherit;background:#fff;color:#334155;box-sizing:border-box}
html body #pageholder .earth-contact-form label{font-size:15px;line-height:1.6;color:#0B2F67}
html body #pageholder .earth-contact-form .grunion-field-wrap{margin-bottom:20px}
html body #pageholder .earth-contact-form button[type=submit]{padding:14px 24px;border-radius:7px}
html body #pageholder .earth-pony-page .earth-team-intro{max-width:1000px}
html body #pageholder .earth-pony-page .earth-team-card img{aspect-ratio:4/5;object-fit:cover;object-position:center}
html body #pageholder .earth-pony-page .earth-team-card h2{font-size:25px;line-height:1.25;color:#0B2F67;margin:0 0 18px;font-weight:600}
/* Darker footer */
html body #pageholder .copywrap,html body #pageholder #footer .copywrap{background:#061D42!important;color:#fff!important;border-top:1px solid rgba(255,255,255,.1)}
/* Responsive, more prominent theme logo */
@media(min-width:1001px){html body #pageholder .classic-landing-page-logo{transform:translateY(8px);padding:20px 22px 14px;max-width:340px}html body #pageholder .classic-landing-page-logo img{width:clamp(240px,20vw,280px);max-width:100%;height:auto}html body #pageholder .header-top{min-height:64px}}
@media(min-width:768px) and (max-width:1000px){html body #pageholder .classic-landing-page-logo{transform:translateY(6px);padding:16px;max-width:calc(100vw / 3 - 20px)}html body #pageholder .classic-landing-page-logo img{width:200px;max-width:100%;height:auto}}
@media(max-width:1024px){html body #pageholder .earth-content-page{padding:44px 20px 0}html body #pageholder .earth-content-page .earth-content-section{padding:28px!important}html body #pageholder .earth-content-page .earth-content-cta{margin-inline:-20px!important}html body #pageholder .earth-content-page .wp-block-columns{grid-template-columns:repeat(2,minmax(0,1fr))}html body #pageholder .earth-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){html body #pageholder .classic-landing-page-logo{transform:translateY(6px);margin-bottom:10px;width:fit-content;max-width:calc(100% - 24px);padding:16px 20px 12px}html body #pageholder .classic-landing-page-logo img{width:210px;max-width:100%;height:auto}html body #pageholder .earth-content-page{padding:36px 12px 0}html body #pageholder .earth-content-intro{margin-bottom:30px}html body #pageholder .earth-content-page .earth-content-section{padding:24px!important;margin-bottom:22px!important}html body #pageholder .earth-content-page .wp-block-columns,html body #pageholder .earth-content-page .wp-block-columns:has(> .wp-block-column:nth-child(2):last-child),html body #pageholder .earth-contact-grid{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}html body #pageholder .earth-content-page .wp-block-column{padding:22px!important}html body #pageholder .earth-content-page .earth-content-cta{margin-inline:-12px!important;padding:40px 16px!important}html body #pageholder .earth-content-page h2{font-size:25px!important}html body #pageholder .earth-content-card{padding:24px}html body #pageholder .earth-content-page .wp-block-buttons{align-items:stretch}html body #pageholder .earth-content-page .wp-block-button__link{max-width:100%;white-space:normal}}

/* EARTH document library */
body.page-id-46 #pageholder .earth-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0 0}
body.page-id-46 #pageholder .earth-resource-grid > .wp-block-group__inner-container{display:contents}
body.page-id-46 #pageholder .earth-resource-card{padding:26px;background:#f8fafc;border:1px solid #e0e6ef;border-top:3px solid #0B2F67;border-radius:10px;margin:0;min-width:0}
body.page-id-46 #pageholder .earth-resource-card h3{font-size:21px!important;line-height:1.35!important}
body.page-id-46 #pageholder .earth-resource-card p{font-size:15px;line-height:1.7}
body.page-id-46 #pageholder .earth-resource-card .wp-block-file{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin:24px 0 0;font-size:15px}
body.page-id-46 #pageholder .earth-resource-card .wp-block-file a{font-weight:600}
body.page-id-46 #pageholder .earth-resource-card .wp-block-file__button{padding:12px 20px;border-radius:7px;margin:0;font-size:15px}
body.page-id-46 #pageholder .earth-content-intro p{max-width:800px;margin:20px auto 0;font-size:17px;line-height:1.8}
@media(max-width:767px){body.page-id-46 #pageholder .earth-resource-grid{grid-template-columns:minmax(0,1fr)}body.page-id-46 #pageholder .earth-resource-card{padding:20px}}

/* EARTH donation layout */
html body #pageholder .earth-donate-redesign .earth-donate-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:28px;max-width:1180px;margin:0 auto 28px;align-items:stretch}
html body #pageholder .earth-donate-grid > .wp-block-group__inner-container,html body #pageholder .earth-donate-impact > .wp-block-group__inner-container{display:contents}
html body #pageholder .earth-donate-redesign .earth-donate-grid .earth-content-section{margin:0!important;height:auto;max-width:none!important;width:100%!important}
html body #pageholder .earth-donate-scan{text-align:center}
html body #pageholder .earth-donate-scan img{width:240px;max-width:100%;height:auto;margin:0 auto;display:block}
html body #pageholder .earth-donate-scan figure{margin:20px auto}
html body #pageholder .earth-donate-scan .wp-block-buttons{justify-content:center}
html body #pageholder .earth-donate-impact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
html body #pageholder .earth-donation-amounts{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}
html body #pageholder .earth-donation-amounts button{padding:12px 18px;border-radius:6px;min-height:44px;font-size:16px}
html body #pageholder .earth-donation-amounts button[aria-pressed=true]{outline:3px solid #F5A900;outline-offset:3px}
html body #pageholder .earth-payfast-preview label{display:block;font-weight:600;color:#0B2F67;margin:20px 0 10px}
html body #pageholder .earth-payfast-preview input{display:block;width:100%;max-width:100%;padding:14px;border:1px solid #cbd5e1;border-radius:6px;font-size:20px;box-sizing:border-box}
html body #pageholder .earth-payfast-preview > button{padding:14px 22px;border-radius:7px;font-size:16px;opacity:.6;cursor:not-allowed}
html body #pageholder .earth-preview-note{padding:14px;background:#fff8e8;border-left:3px solid #F5A900;font-size:14px!important}
html body #pageholder .earth-payment-caption{font-size:14px!important;margin-top:18px}
html body #pageholder .earth-donate-redesign table{width:100%;border-collapse:collapse;font-size:16px}
html body #pageholder .earth-donate-redesign td{padding:12px;border-bottom:1px solid #e0e6ef;text-align:left;overflow-wrap:anywhere}
@media(max-width:1024px){html body #pageholder .earth-donate-redesign .earth-donate-grid{grid-template-columns:minmax(0,1fr)}html body #pageholder .earth-donate-impact{grid-template-columns:minmax(0,1fr)}}

/* EARTH editorial reading comfort */
html body #pageholder .earth-content-section p,html body #pageholder .earth-content-section ul,html body #pageholder .earth-content-section ol{max-width:78ch;line-height:1.8}
html body #pageholder .earth-content-intro p{max-width:68ch;margin:20px auto 0;line-height:1.8}
html body #pageholder .earth-team-page > .wp-block-group__inner-container > p,html body #pageholder .earth-pony-page > p{max-width:78ch;margin:0 auto 38px;padding-inline:20px;line-height:1.8}

/* Subtle blue-white navigation background */
html body #pageholder .header{background-color:#F0F4FA!important}

/* Contextual page imagery */
html body #pageholder .earth-content-page figure.earth-editorial-image{width:100%;max-width:1180px;margin:28px auto 34px;min-width:0}
html body #pageholder .earth-content-page figure.earth-editorial-image img{display:block;width:100%;height:auto;max-width:100%;border-radius:12px;box-shadow:0 8px 24px rgba(11,47,103,.10)}
html body #pageholder figure.earth-editorial-image figcaption{font-size:12px;line-height:1.6;color:#64748b;text-align:left;margin-top:10px}
html body #pageholder .earth-content-page figure.earth-editorial-portrait{max-width:420px}
@media(max-width:767px){html body #pageholder .earth-content-page figure.earth-editorial-image{margin:22px auto 26px}html body #pageholder .earth-content-page figure.earth-editorial-image img{border-radius:9px}}

/* Consistent uppercase main page headings */
html body.page #pageholder h1{text-transform:uppercase!important}

/* Homepage introduction heading */
html body.home #pageholder .elementor-element-a20d330 h2{text-transform:uppercase!important}

/* Donation checkout */
html body #pageholder .earth-donation-form>button.earth-donation-submit{opacity:1;cursor:pointer}
html body #pageholder .earth-checkout-page form.checkout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;align-items:start}
html body #pageholder .earth-checkout-page #customer_details{grid-column:1;grid-row:1 / span 3;width:100%;float:none}
html body #pageholder .earth-checkout-page #customer_details .col-1,html body #pageholder .earth-checkout-page #customer_details .col-2{width:100%;float:none;max-width:100%}
html body #pageholder .earth-checkout-page #order_review_heading,html body #pageholder .earth-checkout-page #order_review{grid-column:2;min-width:0}
html body #pageholder .earth-checkout-page #order_review_heading{margin:0}
html body #pageholder .earth-checkout-page .form-row input.input-text,html body #pageholder .earth-checkout-page textarea{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:6px;font:inherit}
html body #pageholder .earth-checkout-page .select2-container .select2-selection--single{height:46px;border-color:#cbd5e1;border-radius:6px}
html body #pageholder .earth-checkout-page .select2-selection__rendered{line-height:44px}
html body #pageholder .earth-checkout-page .select2-selection__arrow{height:44px}
html body #pageholder .earth-checkout-page label{line-height:1.6;color:#0B2F67}
html body #pageholder .earth-checkout-page #payment{background:#f0f4fa;border-radius:10px}
html body #pageholder .earth-checkout-page table{display:table!important;table-layout:fixed;width:100%;overflow-wrap:anywhere}
@media(max-width:767px){html body #pageholder .earth-checkout-page form.checkout{display:block}html body #pageholder .earth-checkout-page #customer_details{margin-bottom:28px}html body #pageholder .earth-checkout-page .form-row{float:none;width:100%}}

html body #pageholder .earth-checkout-page .screen-reader-text{width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap!important}

/* Donation checkout does not display coupon promotions */
html body.woocommerce-checkout #pageholder .woocommerce-form-coupon-toggle,html body.woocommerce-checkout #pageholder form.checkout_coupon{display:none!important}

/* Responsive finishing: compact controls and mobile contact link */
@media(min-width:1001px){#pageholder #site-navigation .earth-mobile-contact{display:none!important}}
@media(max-width:1000px){
html body #pageholder #site-navigation a.close-button,body.admin-bar #pageholder #site-navigation a.close-button{display:flex!important;align-items:center;justify-content:center;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;font-size:0!important;line-height:1!important;color:#fff!important;background:#0B2F67!important;border-radius:6px!important}
html body #pageholder #site-navigation a.close-button::after{content:'×';font-family:Arial,sans-serif;font-size:28px;line-height:1;color:#fff!important}
html body #pageholder #site-navigation a.close-button:hover{background:#000!important}
html body #pageholder #button{width:36px!important;height:36px!important;min-height:36px!important;right:12px!important;bottom:16px!important;padding:0!important;font-size:0!important;line-height:36px!important;border-radius:6px!important;background:#0B2F67!important;color:#fff!important;box-shadow:0 2px 6px rgba(0,0,0,.2)!important}
html body #pageholder #button::after{content:'↑'!important;font-family:Arial,sans-serif!important;font-size:23px!important;line-height:36px!important;color:#fff!important}
html body #pageholder #button::before{content:none!important}
}
@media(max-width:767px){
html body #pageholder .earth-donation-amounts{display:none!important}
html body #pageholder :is(button,input[type=submit],input[type=button],input[type=reset],.wp-block-button__link,.wp-element-button,.elementor-button,.e-button,a[role=button],.pagemore a,.earth-team-cta a,.earth-staff-cta a):not(.earth-bank-close){font-size:14px!important;line-height:1.4!important;padding:10px 16px!important;min-height:40px!important;max-width:100%!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:break-word}
html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .wp-block-button__link{font-size:14px!important;line-height:1.4!important;padding:10px 16px!important;min-height:40px!important}
}

/* Mobile editorial text alignment */
@media(max-width:767px){
html body #pageholder :is(.earth-content-page,.earth-team-page,.earth-profile-section,.earth-staff-page,.earth-directors-page,.earth-pony-page) :is(h1,h2,h3,h4,p){text-align:center!important}
html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 :is(h1,h2,h3,h4,p){text-align:center!important}
html body #pageholder :is(.earth-content-page,.earth-team-page,.earth-profile-section,.earth-staff-page,.earth-directors-page,.earth-pony-page) .wp-block-buttons,
html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 .wp-block-buttons{justify-content:center!important}
html body #pageholder :is(.earth-content-page,.earth-team-page) :is(form,.woocommerce) :is(p,label),
html body #pageholder :is(.earth-content-page,.earth-team-page) :is(li,td,th,dt,dd){text-align:left!important}
html body #pageholder .earth-content-page form .wp-block-buttons{justify-content:flex-start!important}
}

/* Centre responsive menu and donation actions */
@media(max-width:1000px){
html body #pageholder .header .toggle-nav{text-align:center!important;display:flex!important;justify-content:center!important;width:100%}
html body.page-id-45 #pageholder .earth-content-page .wp-block-buttons{justify-content:center!important}
html body.page-id-45 #pageholder .earth-donation-amounts{justify-content:center!important}
html body.page-id-45 #pageholder :is(.earth-donation-submit,#earth-bank-open,.earth-bank-done){display:table!important;margin-left:auto!important;margin-right:auto!important;float:none!important;text-align:center!important}
}

/* Give the desktop logo a wider left alignment, with viewport clearance */
@media(min-width:1001px){html body #pageholder .classic-landing-page-logo{transform:translate(max(-40px,calc((1600px - 100vw) / 2 + 8px)),8px)}}
@media(min-width:1001px) and (max-width:1616px){html body #pageholder .classic-landing-page-logo{transform:translateY(8px)}}

/* Anchor desktop branding to the page edge rather than the inner container */
@media(min-width:1001px){html body #pageholder .classic-landing-page-logo{left:20px!important;margin-left:0!important;transform:translateY(8px)!important}}

/* Larger desktop branding with a subtle page-edge overlap */
@media(min-width:1001px){
html body #pageholder .classic-landing-page-logo{left:-10px!important;padding:24px 26px 17px!important;max-width:408px!important;transform:translateY(8px)!important}
html body #pageholder .classic-landing-page-logo img{width:clamp(288px,24vw,336px)!important;max-width:100%;height:auto}
}

/* Desktop typography: semantic components, independent of paragraph order. */
@media(min-width:1001px){
html body #pageholder p{font-size:calc(16px + 1pt);hyphens:manual;text-align-last:auto}
html body #pageholder .earth-content-page p{font-size:calc(16px + 1pt)!important;text-align:justify}
html body #pageholder :is(.earth-content-intro,.earth-content-cta,.earth-team-intro,.earth-team-cta,.earth-board-intro) p{text-align:center}
html body #pageholder .earth-team-lead{font-size:calc(17px + 1pt)!important}
html body #pageholder .earth-team-bio{font-size:calc(15px + 1pt)!important;text-align:justify}
html body #pageholder .earth-board-bio{font-size:calc(16px + 1pt)!important;text-align:justify}
html body #pageholder :is(.earth-team-eyebrow,.earth-board-eyebrow){font-size:calc(12px + 1pt)!important}
html body #pageholder .earth-resource-card p{font-size:calc(15px + 1pt)!important}
html body.page-id-46 #pageholder .earth-content-intro p{font-size:calc(17px + 1pt)!important}
html body #pageholder .earth-payment-caption{font-size:calc(14px + 1pt)!important}
html body #pageholder .earth-footer-credit{font-size:calc(15px + 1pt)!important;text-align:center!important}
html body.home #pageholder .earth-slider-copy>p:not(.earth-eyebrow){font-size:calc(19px + 1pt)!important;text-align:justify}
html body.home #pageholder .earth-slider-copy .earth-eyebrow{font-size:calc(15px + 1pt)!important}
html body.home #pageholder .elementor-element-a20d330 p{font-size:calc(17px + 1pt)!important;text-align:center!important}
html body.home #pageholder :is(.elementor-element-83e4156,.elementor-element-3db08cd) p{font-size:calc(16px + 1pt)!important;text-align:center!important}
html body #pageholder :is(#earth-pony-dialog,#earth-staff-dialog) p{font-size:calc(16px + 1pt)!important;text-align:justify!important}
}
/* More legible desktop navigation */
@media(min-width:1001px){
html body #pageholder #site-navigation .main-menu>li>a{font-size:17px!important;font-weight:700!important;line-height:1.4!important;letter-spacing:0!important;padding-inline:12px!important}
html body #pageholder #site-navigation .sub-menu a{font-size:15px!important;font-weight:600!important;line-height:1.5!important}
html body #pageholder #site-navigation .sub-menu{min-width:235px}
html body #pageholder #site-navigation li:focus-within>.sub-menu{display:block;visibility:visible;opacity:1}
}
html body #pageholder #earth-staff-dialog .earth-team-role{font-weight:600;color:#0B2F67;margin-bottom:12px;min-height:0}
@media(min-width:1001px){html body #pageholder #earth-staff-dialog p{font-size:calc(16px + 1pt)!important;text-align:justify!important}}

/* Desktop menu: match the tablet/mobile hover treatment */
@media(min-width:1001px){
html body #pageholder #site-navigation .main-menu a{border-radius:4px;transition:background-color .18s ease,color .18s ease}
html body #pageholder #site-navigation .main-menu a:hover,
html body #pageholder #site-navigation .main-menu a:focus-visible{color:#0B2F67!important;background:#f0f4f9!important}
html body #pageholder #site-navigation .main-menu a:focus-visible{outline:2px solid #0B2F67;outline-offset:-2px}
}

/* Jetpack enquiry confirmation, matching the menu close control. */
.earth-contact-form .contact-form-submission {position:relative;padding:64px 20px 24px!important;}
.earth-contact-form .contact-form-submission .go-back-message {position:absolute;top:8px;right:8px;margin:0!important;}
.earth-contact-form .contact-form-submission a.earth-enquiry-close {display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:40px;min-width:40px;height:40px;min-height:40px;padding:0!important;border:1px solid #0B2F67;border-radius:6px;background:#0B2F67!important;color:#fff!important;font:normal 30px/1 Arial,sans-serif!important;text-decoration:none!important;box-shadow:0 3px 6px rgba(11,47,103,.2);cursor:pointer;}
.earth-contact-form .contact-form-submission a.earth-enquiry-close:hover {background:#000!important;border-color:#000;}
.earth-contact-form .contact-form-submission a.earth-enquiry-close:focus-visible {outline:3px solid #527db6;outline-offset:3px;}
.earth-contact-form .contact-form-submission [id^="contact-form-success-header-"] {color:#0B2F67;font-size:clamp(20px,2.2vw,28px);line-height:1.45;margin:0!important;text-transform:none;}

/* Home slideshow: visible fallback and accessible playback control. */
.earth-slider-hero:not([data-earth-slider-ready]) .swiper-slide:first-child{opacity:1!important;visibility:visible!important}
html body .earth-slider-hero .earth-slider-pause{position:absolute;right:16px;bottom:16px;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:0!important;background:#0B2F67!important;color:#fff!important;border:1px solid rgba(255,255,255,.7);border-radius:6px;font:600 18px/1 Arial,sans-serif;box-shadow:0 3px 6px #0003;cursor:pointer}
html body .earth-slider-hero .earth-slider-pause:hover{background:#000!important}
html body .earth-slider-hero .earth-slider-pause:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.earth-slider-hero .swiper-slide{transition:none!important}}

/* Stacked brand mark in a responsive circular white medallion. */
html body #pageholder .classic-landing-page-logo{width:280px!important;height:280px!important;max-width:none!important;padding:0!important;border-radius:50%!important;overflow:hidden!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;box-shadow:0 5px 18px rgba(11,47,103,.16);}
html body #pageholder .classic-landing-page-logo .custom-logo-link{display:block!important;width:100%!important;height:100%!important;border-radius:50%;overflow:hidden;position:relative;}
html body #pageholder .classic-landing-page-logo img.custom-logo{display:block!important;width:145%!important;max-width:none!important;height:145%!important;object-fit:contain!important;position:absolute!important;left:-22.5%!important;top:-1.8%!important;transform:none!important;}
html body #pageholder .classic-landing-page-logo .site-branding-text{display:none!important}
@media(min-width:768px) and (max-width:1000px){html body #pageholder .classic-landing-page-logo{width:220px!important;height:220px!important;left:0!important;}}
@media(max-width:767px){html body #pageholder .classic-landing-page-logo{width:210px!important;height:210px!important;left:auto!important;margin:0 auto 16px!important;transform:none!important;}}

@media(min-width:1001px){html body #pageholder .classic-landing-page-logo{width:286px!important;height:286px!important;}html body.home #pageholder .earth-slider-copy{padding-top:220px!important;}}

/* Always-available donation link, kept clear of the back-to-top control. */
html body a.earth-floating-donate{position:fixed!important;left:max(16px,env(safe-area-inset-left));bottom:calc(16px + env(safe-area-inset-bottom));z-index:9990;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:46px;box-sizing:border-box;padding:11px 20px!important;border:2px solid #5E9F3D!important;border-radius:999px!important;background:#0B2F67!important;color:#fff!important;font:600 16px/1.3 Poppins,Arial,sans-serif!important;text-decoration:none!important;box-shadow:0 4px 12px rgba(6,29,66,.3);}
html body a.earth-floating-donate:hover{background:#000!important;}
html body a.earth-floating-donate:focus-visible{outline:3px solid #F5A900;outline-offset:3px;}
html body:has(dialog[open]) a.earth-floating-donate,html body.show-main-menu a.earth-floating-donate{display:none!important;}
@media(max-width:1000px){html body a.earth-floating-donate{left:max(12px,env(safe-area-inset-left));bottom:calc(12px + env(safe-area-inset-bottom));min-height:40px;padding:8px 14px!important;font-size:14px!important;}}
html body #pageholder .earth-donate-grid:not(:has(.earth-donate-scan)){grid-template-columns:minmax(0,1fr)!important;}

/* Give Hope: a clear white badge with a larger curved heart. */
html body a.earth-floating-donate{background:#fff!important;color:#0B2F67!important;gap:10px;border-color:#dce7d6!important;}
html body a.earth-floating-donate svg{display:block;width:28px;height:28px;flex:0 0 28px;fill:currentColor;}
html body a.earth-floating-donate:hover{background:#0B2F67!important;color:#fff!important;}
@media(max-width:1000px){html body a.earth-floating-donate svg{width:24px;height:24px;flex-basis:24px;}}

/* Shared white canvas for every page's main content area. */
html body #pageholder,
html body #pageholder :is(.contentsecwrap,.site-main,.entry-content,.earth-content-page,.earth-team-page,.earth-board-page),
html body.home #pageholder .elementor.elementor-40{background-color:#fff!important;}

/* Compact mobile donation badge; retain a comfortable touch target. */
@media(max-width:767px){
 html body a.earth-floating-donate{min-height:40px;gap:6px;padding:6px 10px!important;font-size:12px!important;}
 html body a.earth-floating-donate svg{width:20px;height:20px;flex-basis:20px;}
}

/* Supporter recognition: original logos, equal space and responsive columns. */
html body #pageholder .earth-supporters-page .earth-content-intro p{max-width:850px;margin:22px auto 0;text-align:center!important;}
html body #pageholder .earth-supporter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;max-width:1180px;margin:0 auto 40px;}
html body #pageholder .earth-supporter-grid>.wp-block-group__inner-container{display:contents;}
html body #pageholder .earth-supporter-card{min-width:0;display:flex;align-items:center;justify-content:center;padding:22px 16px;background:#fff;border:1px solid #e0e6ef;border-radius:12px;box-shadow:0 4px 14px rgba(11,47,103,.05);}
html body #pageholder .earth-supporter-card>.wp-block-group__inner-container{width:100%;}
html body #pageholder .earth-supporter-card figure{margin:0;width:100%;text-align:center;}
html body #pageholder .earth-supporter-card figure>a{display:flex;align-items:center;justify-content:center;min-height:110px;border-radius:6px;}
html body #pageholder .earth-supporter-card figure>a:focus-visible{outline:3px solid #0B2F67;outline-offset:5px;}
html body #pageholder .earth-supporter-card:has(a):hover{border-color:#5E9F3D;box-shadow:0 7px 20px rgba(11,47,103,.12);}
html body #pageholder .earth-supporter-card img{display:block;width:100%;max-width:190px;height:110px!important;object-fit:contain!important;margin:0 auto;filter:none;}
html body #pageholder .earth-supporter-card figcaption{margin:16px 0 0;color:#0B2F67;font:600 15px/1.5 Poppins,Arial,sans-serif;text-align:center;}
html body #pageholder .earth-supporters-page .earth-supporter-thanks p{width:100%;max-width:850px!important;margin-inline:auto!important;text-align:center!important;}
@media(max-width:1000px){html body #pageholder .earth-supporter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}}
@media(max-width:767px){html body #pageholder .earth-supporter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}html body #pageholder .earth-supporter-card{padding:18px 12px;}html body #pageholder .earth-supporter-card img{height:85px!important;}html body #pageholder .earth-supporter-card figure>a{min-height:85px;}html body #pageholder .earth-supporter-card figcaption{font-size:13px;}}
@media(max-width:340px){html body #pageholder .earth-supporter-grid{grid-template-columns:minmax(0,1fr);}}

/* Centre editorial text only in single-column content, preserving card and form layouts. */
html body #pageholder .earth-content-page :is(h1,h2,h3,h4,h5,h6,p):not(:where(.wp-block-columns *,.is-layout-grid *,.earth-contact-grid *,.earth-donate-impact *,.earth-resource-grid *,.earth-supporter-grid *,.earth-team-grid *,.earth-board-grid *,.earth-content-card *,.earth-resource-card *,form *,.woocommerce *,.wp-block-post-template *)){text-align:center!important;margin-inline:auto!important;}
html body #pageholder :is(.earth-team-intro,.earth-team-cta,.earth-board-intro,.earth-board-cta) :is(h1,h2,h3,p){text-align:center!important;margin-inline:auto!important;}
html body.home #pageholder .elementor.elementor-40.elementor-40.elementor-40 :is(.earth-slider-copy,.elementor-element-a20d330,.elementor-element-30b8c03) :is(h1,h2,h3,p){text-align:center!important;margin-inline:auto!important;}

/* Medium-sized editorial photos across content pages. */
html body #pageholder .earth-content-page figure.earth-editorial-image:not(.earth-editorial-portrait){width:100%;max-width:640px!important;margin-inline:auto!important;}
html body #pageholder .earth-footer-privacy{display:block;margin:8px 0 0!important;font:400 14px/1.6 Poppins,Arial,sans-serif;text-align:center!important;}
html body #pageholder .earth-footer-privacy a{color:#fff!important;text-decoration:underline;text-underline-offset:3px;}
html body #pageholder .earth-footer-privacy a:hover{color:#F5A900!important;}
html body #pageholder .earth-footer-privacy a:focus-visible{outline:2px solid #F5A900;outline-offset:4px;}

html body #pageholder .earth-content-page figure.earth-editorial-portrait{width:100%;max-width:320px!important;margin-inline:auto!important;}
html body.page-id-717 #pageholder .wp-block-file{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:14px;font-size:16px;margin:24px auto 0;}
html body.page-id-717 #pageholder .wp-block-file__button{margin:0;}

/* Paired editorial photos: quiet frames, even sizing and responsive stacking. */
html body #pageholder .earth-content-page .earth-photo-pair.earth-photo-pair.earth-photo-pair{width:100%;margin:24px auto!important;}
html body #pageholder .earth-content-page .earth-photo-pair.earth-photo-pair.earth-photo-pair .wp-block-columns{display:flex;gap:20px!important;margin:0 auto!important;padding:0!important;}
html body #pageholder .earth-content-page .earth-photo-pair.earth-photo-pair.earth-photo-pair .wp-block-columns>.wp-block-column{flex:1 1 0;min-width:0;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
html body #pageholder .earth-content-page .earth-photo-pair.earth-photo-pair.earth-photo-pair figure.earth-editorial-image{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}
html body #pageholder .earth-content-page .earth-photo-pair.earth-photo-pair.earth-photo-pair img{display:block;width:100%!important;height:auto!important;border-radius:14px;object-fit:cover;}
@media(max-width:781px){html body #pageholder .earth-content-page .earth-photo-pair.earth-photo-pair.earth-photo-pair .wp-block-columns{flex-direction:column;}html body #pageholder .earth-content-page .earth-photo-pair.earth-photo-pair.earth-photo-pair .wp-block-columns>.wp-block-column{width:100%!important;flex-basis:auto!important;}}

/* Home companion photograph and donation impact cards. */
html body.home #pageholder .elementor.elementor-40.elementor-40 .elementor-element-cffc0c6{max-width:1000px!important;width:100%!important;margin-inline:auto!important;}
html body.home #pageholder .elementor.elementor-40.elementor-40 .elementor-element-1d6c447{max-width:960px!important;width:100%!important;margin-inline:auto!important;}
html body #pageholder .earth-home-photo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;width:100%;}
html body #pageholder .earth-home-photo-pair figure{margin:0;padding:0;min-width:0;}
html body #pageholder .earth-home-photo-pair img{display:block;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:3/2;object-fit:cover;border-radius:14px;box-shadow:0 8px 24px rgba(11,47,103,.1);}
html body #pageholder .earth-donate-impact.earth-donate-impact.earth-donate-impact :is(h3,p){text-align:center!important;margin-inline:auto!important;}
html body #pageholder .earth-donate-impact .earth-impact-photo{width:100%!important;max-width:none!important;margin:0 0 20px!important;}
html body #pageholder .earth-donate-impact .earth-impact-photo img{display:block;width:100%!important;height:auto!important;aspect-ratio:4/3!important;object-fit:cover;border-radius:12px;}
@media(max-width:781px){html body #pageholder .earth-home-photo-pair{grid-template-columns:1fr;}}

/* Red heart on the floating donation badge at every screen size. */
html body a.earth-floating-donate svg{color:#D62828!important;fill:#D62828!important;}
