/* Fonts (latin subset, variable) */
@font-face{font-family:'Manrope';font-style:normal;font-weight:500 800;font-display:swap;src:url(../fonts/manrope.woff2) format('woff2')}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 600;font-display:swap;src:url(../fonts/instrument-sans.woff2) format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/jetbrains-mono.woff2) format('woff2')}
@font-face{font-family:'Newsreader';font-style:italic;font-weight:400;font-display:swap;src:url(../fonts/newsreader-italic.woff2) format('woff2')}

/* Base */
body{margin:0;background:#faf8f4;color:#1f2c4a;font-family:'Instrument Sans',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:#c73b36;text-decoration:none}
a:hover{color:#1f2c4a}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
[id]{scroll-margin-top:calc(var(--hh,80px) - 1px)}
[hidden]{display:none !important}
button{font-family:inherit}

/* WordPress wrappers */
.wp-site-blocks{min-height:100vh;background:#faf8f4;padding:0}
.wp-site-blocks > *,.wp-site-blocks > * + *{margin-block-start:0;margin-block-end:0}
.wp-site-blocks > .wp-block-template-part{display:contents}
body:not(.home) .wp-site-blocks{display:flex;flex-direction:column}
body.admin-bar header{top:32px !important}
@media (max-width:782px){body.admin-bar header{top:46px !important}}
@media (max-width:600px){body.admin-bar header{top:0 !important}}

/* Header */
@media (max-width:820px){.gbn-desk{display:none !important}.gbn-mob{display:flex !important}}
@media (max-width:820px){.gbn-bar{flex-wrap:nowrap !important;gap:12px !important}}
@media (max-width:400px){.gbn-bar{padding-left:18px !important;padding-right:18px !important}.gbn-logo{width:44px !important;height:44px !important}.gbn-name{font-size:15px !important}.gbn-tag{font-size:10px !important;letter-spacing:0.1em !important}}
#mnav{display:none !important}
@media (max-width:820px){.menu-open #mnav{display:flex !important}}
.menu-open .b1{top:20px !important;transform:rotate(45deg) !important}
.menu-open .b2{opacity:0 !important}
.menu-open .b3{top:20px !important;transform:rotate(-45deg) !important}
body.page-contact .gbn-nav-contact{color:#c73b36 !important}
body.page-contact .gbn-desk .gbn-nav-contact{font-weight:600}

/* Layout */
@media (min-width:1000px){.gbn-sticky{position:sticky;top:120px}}
@media (max-width:640px){
.m-sec{padding-top:64px !important;padding-bottom:64px !important;padding-left:20px !important;padding-right:20px !important}
.m-sec2{padding-top:48px !important;padding-bottom:48px !important;padding-left:20px !important;padding-right:20px !important}
.m-sec3{padding-left:20px !important;padding-right:20px !important;padding-bottom:28px !important}
.m-quote{padding:88px 20px !important}
.m-hero{padding:32px 20px 56px !important;gap:18px !important}
.m-main{padding:36px 20px 64px !important;gap:40px !important}
.m-foot{padding:48px 20px 28px !important;gap:32px !important}
.m-heroimg{aspect-ratio:4/5 !important;border-radius:16px !important;margin-top:12px !important}
.m-herologo{width:84px !important;height:84px !important}
.m-lead{font-size:17px !important}
.m-body{font-size:16.5px !important}
.m-card{padding:24px !important;border-radius:18px !important}
.m-cta{border-radius:22px !important;padding:36px 24px !important}
.m-h2{font-size:30px !important}
.m-h1{font-size:38px !important}
.m-bq{font-size:28px !important}
.m-gap{gap:32px !important}
.m-ctabtns{flex-direction:column !important;align-items:stretch !important}
.m-ctabtns a{text-align:center !important}
.m-main-donate{padding-bottom:28px !important}
.m-form{padding:20px 16px !important;border-radius:20px !important;margin-left:-8px !important;margin-right:-8px !important}
}

/* Donate: amount buttons */
@media (max-width:359px){.gbn-amts{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}

/* Donate: other ways to give */
.gbn-ways{grid-template-columns:1fr}
@media (min-width:1200px){.gbn-ways{grid-template-columns:repeat(auto-fit,minmax(0,1fr))}}
.gbn-copied-icon{display:none}
.gbn-copy.is-copied .gbn-copy-icon{display:none}
.gbn-copy.is-copied .gbn-copied-icon{display:block}
.gbn-sr{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Donate: FAQ */
.gbn-faq{grid-template-columns:1fr}
@media (min-width:820px){.gbn-faq{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.m-faq-q{font-size:18px !important}}

/* Donate: cover fees checkbox */
.gbn-check{appearance:none;-webkit-appearance:none;flex:none;width:22px;height:22px;margin:0;border:1.5px solid #e2dccf;border-radius:7px;background:#fff center/14px 14px no-repeat;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}
.gbn-check:hover{border-color:#1f2c4a}
.gbn-check:checked{background-color:#1f2c4a;border-color:#1f2c4a;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
.gbn-check:focus-visible{outline:2px solid #c73b36;outline-offset:2px}

/* Donate button loading state */
#cta.is-loading{display:flex;align-items:center;justify-content:center;gap:10px;cursor:wait;background:#a82f2b !important}
a.is-loading{display:inline-flex;align-items:center;gap:10px;cursor:wait;pointer-events:none;background:#1f2c4a !important;color:#fff !important}
.gbn-spinner{width:18px;height:18px;flex:none;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:gbn-spin .7s linear infinite}
@keyframes gbn-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.gbn-spinner{animation-duration:2s}}

/* Forms */
input:focus{outline:none}
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,textarea:-webkit-autofill,textarea:-webkit-autofill:hover,textarea:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px #fff inset !important;box-shadow:0 0 0 1000px #fff inset !important;-webkit-text-fill-color:#1f2c4a;caret-color:#1f2c4a;transition:background-color 9999s ease-out}
body.page-contact input:focus,body.page-contact textarea:focus{outline:none;border-color:#1f2c4a !important}
.gbn-hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden}

/* Hover states */
.h-red:hover{background:#a82f2b !important;color:#fff !important}
.h-light:hover{background:#faf8f4 !important;color:#1f2c4a !important}
.h-ghost:hover{background:rgba(255,255,255,0.12) !important;color:#fff !important}
.h-navy:hover{background:#1f2c4a !important;color:#fff !important;border-color:#1f2c4a !important}
.h-link:hover{color:#c73b36 !important}

/* Legal documents */
.gbn-doc{flex:1;width:100%;max-width:816px;margin:0 auto;padding:72px 28px 112px;font-size:17px;line-height:1.65;color:#4a5570}
.gbn-doc-eyebrow{margin-bottom:20px;font-size:13px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:#c73b36}
.gbn-doc h1{margin:0;font-family:'Manrope',sans-serif;font-weight:700;font-size:clamp(42px,5.4vw,68px);line-height:1;letter-spacing:-0.04em;color:#1f2c4a;text-wrap:balance}
.gbn-doc h1 span{color:#c73b36}
.gbn-doc .gbn-doc-meta{margin:20px 0 0;font-size:15px}
.gbn-doc .gbn-doc-lead{margin:32px 0 0;font-size:18px;text-wrap:pretty}
.gbn-doc-summary{margin-top:40px;background:#fff;border:1px solid #eee9df;border-radius:24px;padding:28px 32px}
.gbn-doc-summary h2{margin:0 0 16px;font-size:18px}
.gbn-doc-summary ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.gbn-doc-summary li{display:flex;align-items:flex-start;gap:12px;margin:0;color:#1f2c4a}
.gbn-doc-summary li::before{content:"\2713";flex:none;width:22px;height:22px;margin-top:2px;border-radius:50%;background:#8e9c6c;color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;line-height:1}
.gbn-doc section{margin-top:48px;padding-top:40px;border-top:1px solid #eee9df}
.gbn-doc h2{margin:0 0 14px;font-family:'Manrope',sans-serif;font-weight:700;font-size:24px;line-height:1.25;letter-spacing:-0.02em;color:#1f2c4a}
.gbn-doc h3{margin:24px 0 8px;font-family:'Manrope',sans-serif;font-weight:700;font-size:18px;line-height:1.3;letter-spacing:-0.01em;color:#1f2c4a}
.gbn-doc p{margin:0 0 16px;text-wrap:pretty}
.gbn-doc section p:last-child,.gbn-doc section ul:last-child{margin-bottom:0}
.gbn-doc section ul{margin:0 0 16px;padding-left:1.2em}
.gbn-doc section li + li{margin-top:8px}
.gbn-doc section li::marker{color:#c73b36}
.gbn-doc strong{color:#1f2c4a}
.gbn-doc a{color:#c73b36;text-decoration:underline;text-underline-offset:2px}
.gbn-doc a:hover{color:#1f2c4a}
.gbn-doc-contact{background:#f6f3ec;border-top:0 !important;border-radius:24px;padding:28px 32px !important}
@media (max-width:640px){
.gbn-doc{padding:36px 20px 64px;font-size:16.5px}
.gbn-doc h1{font-size:38px}
.gbn-doc-summary,.gbn-doc-contact{padding:24px !important;border-radius:18px}
.gbn-doc section{margin-top:40px;padding-top:32px}
}

/* Legal pages */
.gbn-legal{flex:1;width:100%;max-width:816px;margin:0 auto;padding:72px 28px 112px}
.gbn-legal > *{margin-block:0}
.gbn-legal .wp-block-post-title{margin:0 0 32px;font-family:'Manrope',sans-serif;font-weight:700;font-size:clamp(42px,5.4vw,68px);line-height:1;letter-spacing:-0.04em;text-wrap:balance}
.gbn-legal .wp-block-post-content{font-size:17px;line-height:1.65;color:#4a5570}
.gbn-legal .wp-block-post-content > *{margin:0 0 20px}
.gbn-legal .wp-block-post-content :is(h2,h3,h4){margin:40px 0 16px;color:#1f2c4a;font-family:'Manrope',sans-serif;font-weight:700;letter-spacing:-0.02em;line-height:1.2}
.gbn-legal .wp-block-post-content h2{font-size:28px}
.gbn-legal .wp-block-post-content h3{font-size:21px}
.gbn-legal .wp-block-post-content h4{font-size:18px}
.gbn-legal .wp-block-post-content :is(ul,ol){padding-left:1.4em}
.gbn-legal .wp-block-post-content li + li{margin-top:8px}
.gbn-legal .wp-block-post-content a{text-decoration:underline;text-underline-offset:2px}
.gbn-legal .wp-block-post-content strong{color:#1f2c4a}
@media (max-width:640px){
.gbn-legal{padding:36px 20px 64px}
.gbn-legal .wp-block-post-title{font-size:38px}
.gbn-legal .wp-block-post-content{font-size:16.5px}
}
