@layer fund-typography {
/* These roles are shared by public templates and the WordPress editing canvas. */
:where(body.air-glass-wp, .editor-styles-wrapper, body.give-form-templates) {
    --fund-heading-font: Jost, Arial, sans-serif;
    --fund-body-font: "PT Sans", Arial, sans-serif;
    --fund-vw: 1vw;
    --fund-h1-size: clamp(1.875rem, 1.4375rem + 1.75 * var(--fund-vw), 2.75rem);
    --fund-h2-size: clamp(1.5rem, 1.25rem + var(--fund-vw), 2rem);
    --fund-h3-size: clamp(1.25rem, 1.125rem + .5 * var(--fund-vw), 1.5rem);
    --fund-h4-size: clamp(1.125rem, 1.0625rem + .25 * var(--fund-vw), 1.25rem);
    --fund-h5-size: clamp(1.0625rem, 1.03125rem + .125 * var(--fund-vw), 1.125rem);
    --fund-h6-size: 1rem;
    --fund-body-size: clamp(1rem, .9375rem + .25 * var(--fund-vw), 1.125rem);
    --fund-control-size: 1rem;
    --fund-meta-size: .875rem;
    --fund-heading-leading: 1.2;
    --fund-body-leading: 1.55;
}

/*
 * The theme, blocks and archives also ship per-page typography, including
 * inline styles. Scope the role rules to typography so colours, components,
 * icons, navigation behaviour and authored emphasis keep their own styles.
 */
:where(body.air-glass-wp, .editor-styles-wrapper) :where(h1) { --fund-level-size: var(--fund-h1-size); }
:where(body.home.air-glass-wp) .fund-native-home > .air-hero > h1 {
    --fund-level-size: clamp(2.75rem, 5.5vw, 4.75rem);
}
:where(body.air-glass-wp, .editor-styles-wrapper) :where(h2) { --fund-level-size: var(--fund-h2-size); }
:where(body.air-glass-wp, .editor-styles-wrapper) :where(h3) { --fund-level-size: var(--fund-h3-size); }
:where(body.air-glass-wp, .editor-styles-wrapper) :where(h4) { --fund-level-size: var(--fund-h4-size); }
:where(body.air-glass-wp, .editor-styles-wrapper) :where(h5) { --fund-level-size: var(--fund-h5-size); }
:where(body.air-glass-wp, .editor-styles-wrapper) :where(h6) { --fund-level-size: var(--fund-h6-size); }
:where(body.air-glass-wp, .editor-styles-wrapper) :where(h1, h2, h3, h4, h5, h6) {
    font-family: var(--fund-heading-font) !important;
    font-size: var(--fund-level-size) !important;
    font-weight: 500 !important;
    line-height: var(--fund-heading-leading) !important;
    letter-spacing: -.025em !important;
    overflow-wrap: break-word;
}
:where(body.air-glass-wp, .editor-styles-wrapper) :where(h1, h2, h3, h4, h5, h6) :where(a, em, strong, b, i, mark, span:not([aria-hidden="true"]):not([class*="icon"])) {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
}
:where(body.air-glass-wp, .editor-styles-wrapper) :where(h1, h2, h3, h4, h5, h6) > :where(strong, b):only-child {
    font-weight: inherit !important;
}
.editor-styles-wrapper,
:where(body.air-glass-wp) :where(main, .entry-content, .pum-content),
:where(body.air-glass-wp, .editor-styles-wrapper) :where(p, ul, ol, li, dl, dd, dt, td, th, blockquote) {
    font-family: var(--fund-body-font) !important;
    font-size: var(--fund-body-size) !important;
    line-height: var(--fund-body-leading) !important;
}
:where(body.air-glass-wp, .editor-styles-wrapper) :where(p, li, dd, dt, td, th, blockquote) > :where(a, strong, b, i, em, mark, span[style*="font-"]),
:where(body.air-glass-wp, .editor-styles-wrapper) :where(p, li) :where(strong, em) :where(span[style*="font-"], a) {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}
:where(body.air-glass-wp, .editor-styles-wrapper) :where(figcaption, small, cite, .wp-element-caption, .wp-caption-text) {
    font-family: var(--fund-body-font) !important;
    font-size: var(--fund-meta-size) !important;
    line-height: 1.4 !important;
}

/* The callout uses the reading size; emphasis comes from its label and border. */
:where(body.air-glass-wp, .editor-styles-wrapper) :is(.is-style-fund-note, .fund-note) {
    box-sizing: border-box;
    font-family: var(--fund-body-font) !important;
    font-size: var(--fund-body-size) !important;
    line-height: var(--fund-body-leading) !important;
    border-inline-start: 3px solid #a64f2c !important;
    border-radius: 0 .5rem .5rem 0 !important;
    background-color: #f5ece1 !important;
    color: #372d24 !important;
    padding: .8em 1em !important;
}
:where(body.air-glass-wp, .editor-styles-wrapper) .is-style-fund-note > :last-child { margin-bottom: 0; }
:where(body.air-glass-wp, .editor-styles-wrapper) .is-style-fund-note .fund-note {
    border-inline-start: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
}

/* Form labels and actions; icon-only controls keep their original geometry. */
:where(body.air-glass-wp, .editor-styles-wrapper) :is(label, select, textarea,
    input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=image]),
    .button, .wp-block-button__link, .wp-block-file__button, .text-link, .event-details,
    .agwp-office-links a, .fund-directory-return a, .fund-pub-reset, .agwp-privacy-settings,
    form button:not([aria-label]):not(.give-tooltip), .agwp-office-map-action button,
    .agwp-privacy-actions button, .fund-contact-action, .fund-pub-pager a) {
    font-family: var(--fund-body-font) !important;
    font-size: var(--fund-control-size) !important;
    line-height: 1.35 !important;
}
:where(body.air-glass-wp) :is(.agwp-form-privacy, .agwp-privacy-choice small,
    .fund-contact-crumbs, .fund-crumbs, .fund-pub-crumb, .breadcrumbs,
    .footer-bottom, .footer-bottom > a, .agwp-footer-copyright p, .agwp-footer-copyright a) {
    font-family: var(--fund-body-font) !important;
    font-size: var(--fund-meta-size) !important;
    line-height: 1.4 !important;
}
:where(body.air-glass-wp) :is(.fund-contact-crumbs, .fund-crumbs, .fund-pub-crumb, .breadcrumbs) :where(a, span) {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}
:where(body.air-glass-wp) :is(.main-nav, .navigation-dialog) :where(.nav-item > a, li > a),
:where(body.air-glass-wp) .site-footer :where(.footer-address > a, .footer-links li > a, .socials a) {
    font-family: var(--fund-body-font) !important;
    font-size: var(--fund-control-size) !important;
    line-height: 1.35 !important;
}
:where(body.air-glass-wp) .site-header .main-nav > .nav-item > a {
    font-size: var(--fund-meta-size) !important;
}
:where(body.air-glass-wp) .fund-task-item .wp-block-button__link {
    font-family: var(--fund-heading-font) !important;
    font-size: var(--fund-h4-size) !important;
    line-height: var(--fund-heading-leading) !important;
    font-weight: 500 !important;
}
:where(body.air-glass-wp) .pum-title {
    font-family: var(--fund-heading-font) !important;
    font-size: var(--fund-h2-size) !important;
    line-height: var(--fund-heading-leading) !important;
    font-weight: 500 !important;
}

/* Editorial text is also rendered by directory, archive and Kadence templates. */
body.air-glass-wp :is(main, #main) :is(
    .article-lead, .archive-excerpt, .archive-excerpt > p,
    .card-copy > p, .service-card > p, .fund-about-intro .wp-block-column > p,
    .fund-directory-copy, .fund-pub-content, .fund-directory-intro,
    .kt-svg-icon-list-text, .wp-block-kadence-advancedheading:is(p),
    .event-notice, .fund-event-schedule-note, .agwp-support-note,
    .agwp-notice-change, .agwp-roadmap-source, .give_warning, .wp-block-quote, .wp-block-pullquote blockquote
) {
    font-family: var(--fund-body-font) !important;
    font-size: var(--fund-body-size) !important;
    line-height: var(--fund-body-leading) !important;
}

/* Card names and disclosure questions can be plain links or summaries. */
body.air-glass-wp :is(main, #main) :is(
    .fund-directory-cards > li > a, .fund-directory-cards > li > a > span,
    details.wp-block-details > summary
) {
    font-family: var(--fund-heading-font) !important;
    font-size: var(--fund-h4-size) !important;
    line-height: var(--fund-heading-leading) !important;
    font-weight: 500;
}

/* Captions, dates, file details and the map notice share the small text style. */
body.air-glass-wp :is(main, #main) :is(
    figcaption, .wp-block-quote cite, .wp-block-pullquote cite,
    .archive-meta, .archive-meta :is(a, time, span), .archive-feature-label,
    .fund-pub-overline, .fund-pub-overline :is(time, strong), .fund-pub-tax, .fund-pub-tax a,
    .fund-pub-live-summary, .fund-file-meta, .agwp-procurement-document-list small,
    .search-result-meta, .search-status, .news-category, .read-dates, .read-dates time,
    .promo-copy > p, .event-info > p, .event-date > span, .section-number, .proc-num,
    .fund-pub-week > span, .fund-pub-month small,
    .agwp-office-switch a > small, .agwp-office-map-credit, .agwp-map-attribution a,
    .agwp-office-map-action p
) {
    font-family: var(--fund-body-font) !important;
    font-size: var(--fund-meta-size) !important;
    line-height: 1.4 !important;
}

body.air-glass-wp .fund-pub-card-text { min-inline-size: 0; }
body.air-glass-wp .fund-pub-card-text :is(h2, h2 a) { overflow-wrap: anywhere !important; }
body.air-glass-wp :is(.fund-document-preview > summary, .fund-pub-calendar > a, .fund-pub-calendar details > summary) {
    font-family: var(--fund-body-font) !important;
    font-size: var(--fund-control-size) !important;
    line-height: 1.35 !important;
}

}
@layer fund-typography {
/* GiveWP prints the Sequoia form as its own document. The plugin keeps
   navigation, payment, amounts, icons and screen-reader text behaviours. */
body.give-form-templates .give-embed-form {
    font-family: var(--fund-body-font) !important;
    font-size: var(--fund-body-size) !important;
    line-height: var(--fund-body-leading) !important;
}
body.give-form-templates .give-embed-form :is(h2.headline, .give-section.payment > .heading) {
    font-family: var(--fund-heading-font) !important;
    font-size: var(--fund-h2-size) !important;
    font-weight: 500 !important;
    line-height: var(--fund-heading-leading) !important;
    letter-spacing: -.025em !important;
    overflow-wrap: anywhere;
}
body.give-form-templates .give-embed-form :is(.description, .content, .subheading, .give_error p, .no-fields p, .form-row, .form-wrap) {
    font-family: var(--fund-body-font) !important;
    font-size: var(--fund-body-size) !important;
    line-height: var(--fund-body-leading) !important;
}
body.give-form-templates .give-embed-form :is(.give-form-navigator .title, .give-label, .give-gateway-option, .give-btn, .give-submit, .give-input, .give-select, .give-amount-top, .give-currency-symbol) {
    font-family: var(--fund-body-font) !important;
    font-size: var(--fund-control-size) !important;
    line-height: 1.35 !important;
}
body.give-form-templates .give-embed-form .give-amount-top { min-block-size: 2.75rem; }
body.give-form-templates .give-embed-form :is(.income-stats .number, .give-final-total-amount) {
    font-family: var(--fund-body-font) !important;
    font-size: var(--fund-body-size) !important;
    line-height: var(--fund-body-leading) !important;
}
body.give-form-templates .give-embed-form :is(.income-stats .text, .secure-notice) {
    font-family: var(--fund-body-font) !important;
    font-size: var(--fund-meta-size) !important;
    line-height: 1.4 !important;
}
}

