/* Shared paper, ink and spacing; headings and type sizes come from the theme. */
.fc-section, .editor-styles-wrapper {
  --fc-paper:#fffaf2; --fc-ink:#342820; --fc-muted:#67584e; --fc-line:#d8caba;
  --fc-rust:#814127; --fc-soft:#eee4d6; --fc-space:clamp(28px,4.4vw,68px);
}
.fc-section main :where(h1,h2,h3,p,a), .editor-styles-wrapper :where(.fc-org,.fc-shelf,.fc-correspondence) {overflow-wrap:break-word}
.fc-section main h1 {font-family:var(--fund-heading-font,Jost,Arial,sans-serif)!important;font-size:var(--fund-h1-size,clamp(30px,23px + 1.75vw,44px))!important;line-height:1.2!important;letter-spacing:-.025em!important}
.fc-section main h2 {font-size:var(--fund-h2-size,clamp(24px,20px + 1vw,32px))!important;line-height:1.2!important}
.fc-section main h3 {font-size:var(--fund-h3-size,clamp(20px,18px + .5vw,24px))!important;line-height:1.2!important}
body:is(.fc-view-program,.fc-view-partners,.fc-view-library,.fc-view-documents) .fund-native-content {max-width:none;width:100%}
.fc-view-contacts .fund-contact-page>h1 {margin:.45em 0 .4em}
.fc-view-program .fund-native-content .fc-program-lead {padding:clamp(24px,3vw,44px)}
.fc-section main :where(.fc-intro,.fc-correspondence,.fc-owner,.fc-orgs,.fc-shelves,.fc-program-lead,.fc-program-docs,.fc-program-archive,.fc-legacy), .editor-styles-wrapper :where(.fc-intro,.fc-correspondence,.fc-owner,.fc-orgs,.fc-shelves,.fc-program-lead,.fc-program-docs,.fc-program-archive,.fc-legacy) {box-sizing:border-box;max-width:none}
:is(.fc-intro,.fc-correspondence,.fc-owner,.fc-orgs,.fc-shelves,.fc-program-lead,.fc-program-docs,.fc-program-archive,.fc-legacy,.fc-org,.fc-shelf,.fc-mailbox,.fc-inquiry)>.wp-block-group__inner-container{display:contents}
.fc-section main .wp-block-buttons.fc-actions,.editor-styles-wrapper .fc-actions{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0 0}
.fc-section main .fc-actions .wp-block-button__link,.editor-styles-wrapper .fc-actions .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;background:var(--fc-rust);color:white;border-radius:32px;text-decoration:none;padding:11px 22px;line-height:1.35}
.fc-section main .fc-actions .wp-block-button:not(:first-child) .wp-block-button__link{color:var(--fc-rust);background:var(--fc-paper);box-shadow:inset 0 0 0 1px var(--fc-line)}
.fc-section main .fc-actions .wp-block-button__link::after{content:none}
.fc-section main .fc-actions a:hover,.fc-section main .fc-actions a:focus-visible {text-decoration:underline;text-underline-offset:.2em}
.fc-section main :where(a,button,summary):focus-visible{outline:3px solid #924523;outline-offset:3px}
.fc-view-contacts .fund-contact-page .fc-intro,.editor-styles-wrapper .fc-intro {display:flex;align-items:center;justify-content:space-between;gap:16px 36px;margin:0 0 clamp(20px,3vw,42px);padding:0 0 clamp(18px,2.4vw,33px);border-bottom:1px solid var(--fc-line)}
.fc-intro p{margin:0;max-width:66ch;color:var(--fc-muted)}
.fc-intro .fc-actions{flex-shrink:0;margin:0!important}
.fc-view-contacts .fund-contact-page #office-locations {margin-top:0}
.fc-view-contacts .fund-contact-page #office-locations-heading {margin:0 0 15px}
.fc-view-contacts .fund-contact-page .agwp-office-switch {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.6vw,24px);margin:0;
}
.fc-view-contacts .fund-contact-page .agwp-office-switch a,
.fc-view-contacts .fund-contact-page .agwp-office-switch a[aria-current=true] {
  display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;
  min-width:0;min-height:0;overflow:hidden;padding:0 clamp(14px,1.5vw,23px) clamp(15px,1.6vw,25px);
  border:1px solid var(--fc-line);border-radius:18px;background:var(--fc-paper);box-shadow:none;
  color:var(--fc-ink);text-decoration:none;font-weight:600;
}
.fc-view-contacts .fund-contact-page .agwp-office-switch .fc-office-cover{
  display:block;align-self:stretch;width:calc(100% + 2 * clamp(14px,1.5vw,23px));max-width:none;height:clamp(84px,9vw,144px);
  margin:0 calc(-1 * clamp(14px,1.5vw,23px)) 5px;object-fit:cover;object-position:center 53%;border-radius:0;
}
.fc-view-contacts .fund-contact-page .agwp-office-switch a[aria-current=true]{border-color:#965136;box-shadow:inset 0 -4px 0 #965136;background:#f8eddf}
.fc-view-contacts .fund-contact-page .agwp-office-switch a:hover{border-color:var(--fc-rust)}
.fc-view-contacts .fund-contact-page .agwp-office-switch small{margin:0;font-weight:400;color:#5a493e}
.fc-view-contacts .fund-contact-page .agwp-office-panel:not([hidden]) {
  display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);column-gap:clamp(18px,2.6vw,40px);row-gap:0;
  align-items:stretch;margin-top:clamp(26px,3vw,44px);
}
.fc-view-contacts .fund-contact-page .agwp-office-panel[hidden]{display:none!important}
.fc-view-contacts .fund-contact-page .agwp-office-details {
  grid-column:1;grid-row:1/3;min-width:0;align-self:start;margin:0;padding:clamp(18px,2.2vw,34px);border-radius:18px;background:var(--fc-soft);
}
.fc-view-contacts .fund-contact-page .agwp-office-details h3{margin:0 0 14px}
.fc-view-contacts .fund-contact-page .agwp-office-details p{margin:0;padding:11px 0;border-top:1px solid #d5c3af;max-width:60ch}
.fc-view-contacts .fund-contact-page .agwp-office-links{margin:8px 0 0;gap:8px 18px;display:flex;flex-wrap:wrap}
.fc-view-contacts .fund-contact-page .agwp-office-map {grid-column:2;grid-row:1;min-width:0;position:relative;margin:0;border-radius:18px;min-height:clamp(280px,23vw,370px);overflow:hidden}
.fc-view-contacts .fund-contact-page .agwp-office-map :is(.agwp-office-point-preview,iframe){height:100%;width:100%;min-height:clamp(280px,23vw,370px)}
.fc-view-contacts .fund-contact-page .agwp-map-attribution{grid-column:2;grid-row:2;align-self:start;margin:6px 0 0;min-width:0}
.fc-view-contacts .fund-contact-page .agwp-album{grid-column:1/-1;width:100%;margin-top:var(--fc-space);min-width:0}
.fc-view-contacts .fund-contact-page .fc-correspondence,.editor-styles-wrapper .fc-correspondence{
  display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:clamp(18px,3vw,42px);
  align-items:start;margin:var(--fc-space) 0;
}
.fc-mailbox,.fc-inquiry,.fc-owner {min-width:0}
.fc-section .fc-mailbox,.editor-styles-wrapper .fc-mailbox {background:#3a2d24;color:#fff4e6;padding:clamp(22px,2.65vw,40px);border-radius:20px}
.fc-section .fc-mailbox :is(a,h2),.editor-styles-wrapper .fc-mailbox :is(a,h2){color:#fff4e6}
.fc-section .fc-mailbox a{text-underline-offset:.18em}
.fc-section .fc-mailbox :is(h2,p), .fc-section .fc-inquiry h2, .fc-section .fc-owner h2 {margin:0 0 15px}
.fc-section .fc-mailbox p:last-child {margin:13px 0 0}
.fc-section .fc-inquiry,.editor-styles-wrapper .fc-inquiry{padding:clamp(18px,2.7vw,40px);border-radius:20px;border:1px solid var(--fc-line);background:#fffaf4;scroll-margin-top:6rem}
.fc-section .fc-inquiry .kb-form-wrap {max-width:none!important;margin:0}
.fc-section .fc-inquiry input:not([type=hidden]),.fc-section .fc-inquiry select,.fc-section .fc-inquiry textarea{max-width:100%}
.fc-section .fc-owner,.editor-styles-wrapper .fc-owner{border-top:1px solid var(--fc-line);padding:clamp(18px,2.6vw,36px) 0;margin:0 0 24px}
.fc-section .fc-owner p{max-width:78ch;margin:5px 0}
.fc-section :is(.fc-orgs,.fc-shelves),.editor-styles-wrapper :is(.fc-orgs,.fc-shelves){
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,1.7vw,26px);margin:26px 0;
}
.fc-org,.fc-shelf,.fc-legacy,.fc-program-lead,.fc-program-archive{border-radius:20px;padding:clamp(20px,2.4vw,36px);background:var(--fc-paper);border:1px solid var(--fc-line);min-width:0}
.fc-section .fc-org h2,.fc-section .fc-shelf h2,.fc-section .fc-legacy h2,.fc-section .fc-program-lead h2,.fc-section .fc-program-archive h2{margin:0 0 14px}
.fc-section .fc-org p{margin:6px 0;max-width:62ch}
.fc-section .fc-org p:first-of-type{padding-top:12px;border-top:1px solid var(--fc-line)}
.fc-section .fc-shelf,.editor-styles-wrapper .fc-shelf{display:flex;flex-direction:column;align-items:start;gap:6px}
.fc-section .fc-shelf:last-child,.editor-styles-wrapper .fc-shelf:last-child{background:#eee3d1}
.fc-section .fc-shelf p{margin:0 0 16px}
.fc-section .fc-shelf .fc-actions{margin-top:auto}
.fc-section .fc-program-lead,.editor-styles-wrapper .fc-program-lead{background:#3d3027;color:#fff5e8;border:none}
.fc-section .fc-program-lead h2,.editor-styles-wrapper .fc-program-lead h2{color:#fff5e8}
.fc-section .fc-program-lead p,.fc-section .fc-legacy p{max-width:76ch;margin:0}
.fc-section .fc-program-docs,.editor-styles-wrapper .fc-program-docs{margin:var(--fc-space) 0}
.fc-section .fc-program-docs p{margin:0;max-width:none;border-bottom:1px solid var(--fc-line)}
.fc-section .fc-program-docs a{display:block;color:var(--fc-ink);text-decoration:none;padding:14px 0}
.fc-section .fc-program-docs a:hover{text-decoration:underline}
.fc-view-documents .fund-document-sections{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.fc-view-documents .fund-document-sections a{display:inline-flex;align-items:center;min-height:44px;border:1px solid var(--fc-line);border-radius:24px;padding:6px 16px;text-decoration:none}
.fc-view-documents .fund-document-sections a[aria-current]{background:var(--fc-ink);color:#fff9ee}
.fc-view-documents .fund-native-content>.wp-block-file{margin:12px 0;padding:clamp(16px,2vw,26px);border:1px solid var(--fc-line);border-radius:14px;background:var(--fc-paper);max-width:82rem}
.fc-section .fc-legacy {max-width:800px}
.fc-view-events-help main,.fc-view-library main,.fc-view-program main,.fc-view-partners main,.fc-view-documents main {padding-bottom:var(--fc-space)}
.fc-view-legal .source-content{max-width:min(83ch,100%);margin-inline:auto}
.fc-view-legal .source-content>h2,.fc-view-legal .source-content .design-heading:not(:first-child){scroll-margin-top:5rem}
.fc-view-legal .source-content :is(h2,h3){border-top:1px solid var(--fc-line);padding-top:1.15em}
.fc-view-search main .standalone-search,.fc-view-sitemap main .sitemap-grid {box-sizing:border-box}
.fc-view-search main .standalone-search {max-width:1100px;width:calc(100% - clamp(32px,8vw,112px));margin:16px auto var(--fc-space);padding:clamp(17px,3.8vw,54px);border-radius:24px;background:var(--fc-paper);border:1px solid var(--fc-line)}
.fc-view-search .page-search {display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:10px 12px;align-items:center}
.fc-view-search .page-search label{grid-column:1/-1}
.fc-view-search .page-search :is(input,button){min-height:48px;min-width:0;margin:0}
.fc-view-sitemap .sitemap-grid{display:block;columns:2;column-gap:clamp(18px,3vw,44px)}
.fc-view-sitemap .sitemap-grid>section{display:inline-block;width:100%;box-sizing:border-box;break-inside:avoid;background:var(--fc-paper);border:1px solid var(--fc-line);border-radius:16px;padding:clamp(18px,2vw,28px);margin:0 0 16px}
.fc-view-sitemap .sitemap-grid>section h2{margin:0}
.fc-view-sitemap .sitemap-grid>section li{margin:6px 0}
@media(max-width:850px) {
  .fc-view-contacts .fund-contact-page .agwp-office-panel:not([hidden]){grid-template-columns:minmax(0,1fr)}
  .fc-view-contacts .fund-contact-page :is(.agwp-office-details,.agwp-office-map,.agwp-map-attribution,.agwp-album){grid-column:1;grid-row:auto}
  .fc-view-contacts .fund-contact-page .agwp-office-map{margin-top:15px}
  .fc-view-contacts .fund-contact-page .fc-correspondence,.editor-styles-wrapper .fc-correspondence{grid-template-columns:1fr}
}
@media(max-width:720px) {
  .fc-view-contacts .fund-contact-page .fc-intro{display:block}
  .fc-view-contacts .fund-contact-page .fc-intro .fc-actions{margin-top:13px!important}
  .fc-view-contacts .fund-contact-page .agwp-office-switch{grid-template-columns:1fr;gap:9px}
  .fc-view-contacts .fund-contact-page .agwp-office-switch a,.fc-view-contacts .fund-contact-page .agwp-office-switch a[aria-current=true]{
     display:grid;grid-template-columns:clamp(72px,21vw,112px) minmax(0,1fr);grid-template-rows:auto auto;
     align-content:center;align-items:center;column-gap:13px;row-gap:3px;padding:10px 13px 10px 10px;border-radius:14px;
  }
  .fc-view-contacts .fund-contact-page .agwp-office-switch .fc-office-cover{grid-row:1/3;width:100%;height:100%;min-height:76px;max-height:105px;border-radius:8px;margin:0}
  .fc-view-contacts .fund-contact-page .agwp-office-switch a small{grid-column:2}
  .fc-view-contacts .fund-contact-page .agwp-office-switch a[aria-current=true]{box-shadow:inset -3px 0 0 var(--fc-rust)}
  .fc-section :is(.fc-orgs,.fc-shelves),.editor-styles-wrapper :is(.fc-orgs,.fc-shelves){grid-template-columns:1fr}
  .fc-view-sitemap .sitemap-grid{columns:auto}
}
@media(max-width:370px){.fc-view-search .page-search{grid-template-columns:minmax(0,1fr)}}
.fc-view-not-found main .not-found {max-width:60rem;margin:clamp(28px,6vw,88px) auto;padding:clamp(20px,4vw,48px);background:var(--fc-paper);border:1px solid var(--fc-line);border-radius:24px;text-align:center}
.fc-view-not-found .not-found img{display:block;width:min(180px,50%);height:150px;object-fit:contain;margin:0 auto 15px}
.fc-view-not-found .not-found a{display:inline-flex;align-items:center;min-height:44px;margin:6px 12px}
@media print{.fc-section .fc-mailbox,.fc-section .fc-program-lead{background:white;color:black;border:1px solid #aaa}.fc-section .fc-mailbox :is(a,h2),.fc-section .fc-program-lead h2{color:black}.fc-section .agwp-office-switch{break-inside:avoid}}
