/* Page-local directory. Shared navigation and forms stay unchanged. */
.grants-page {--grant-line:#d5dbd1;--grant-ink:#25372b;--grant-muted:#586355;background:#fafaf7;}
.grants-page [hidden] {display:none!important;}
.grant-sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}
.grants-page main {overflow:visible;}
.grants-page .container {width:min(1120px,calc(100% - 64px));}
.grants-page h1,.grants-page h2,.grants-page h3 {overflow-wrap:normal;word-break:normal;color:var(--grant-ink);}
.grants-page p {color:var(--grant-muted);}
.grants-page a {text-underline-offset:4px;}
.grants-page :is(a,button,select,summary):focus-visible {outline:2px solid #456641;outline-offset:4px;}
.grants-page .bd-brand img {width:46px;height:46px;}
.grants-page .product-eyebrow {color:#4e624a;font-size:.7rem;letter-spacing:.12em;}
.grant-intro {padding:25px 0 27px;border-bottom:1px solid var(--grant-line);background:#f2f4ee;}
.grant-intro .product-breadcrumbs {margin:0 0 23px;font-size:.75rem;}
.grant-intro h1 {max-width:950px;font:400 clamp(2rem,3.3vw,2.9rem)/1.12 Georgia,'Times New Roman',serif;letter-spacing:-.03em;}
.grant-intro .grant-lead {max-width:780px;margin:12px 0 0;font-size:1rem;line-height:1.6;}
.grant-verified {display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:17px 0 0;font-size:.73rem;line-height:1.5;}
.grant-verified::before {content:"";width:6px;height:6px;flex:none;margin-right:4px;border-radius:50%;background:#526f45;}
.grant-section {padding:25px 0 42px;}
.grant-section h2 {font:700 1.2rem/1.4 Arial,Helvetica,sans-serif;letter-spacing:-.015em;}
.grant-section-head {display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;}
.grant-section-head>p {max-width:440px;font-size:.78rem;line-height:1.5;}
.grant-section-head .product-eyebrow {margin-bottom:5px;}
.grant-filters {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:11px 20px;align-items:end;padding:0 0 20px;border-bottom:1px solid var(--grant-line);}
.grant-filter-field label {display:block;margin-bottom:7px;color:var(--grant-ink);font-size:.76rem;font-weight:700;}
.grant-filter-field select {width:100%;min-height:46px;padding:10px 34px 10px 13px;border:1px solid #a9b5a3;border-radius:3px;background:#fff;color:#283829;font:400 .9rem/1.4 Arial,Helvetica,sans-serif;cursor:pointer;transition:border-color .15s,box-shadow .15s;}
.grant-filter-field select:hover {border-color:#4e6945;}
.grant-reset {min-height:46px;padding:10px 14px;border:1px solid #aab6a4;border-radius:3px;background:transparent;color:#33492e;font:700 .78rem/1.4 Arial,Helvetica,sans-serif;cursor:pointer;transition:background-color .15s;}
.grant-reset:hover:not(:disabled) {background:#e9eee3;}
.grant-reset:disabled {opacity:.45;cursor:default;}
.grant-filter-help {grid-column:1/-1;margin:0;font-size:.73rem;line-height:1.5;}
.grant-results-bar {display:flex;justify-content:space-between;gap:16px;align-items:center;margin:17px 0 0;padding-bottom:14px;border-bottom:2px solid #3e563c;font-size:.72rem;}
.grant-results-bar p:first-child {font-weight:700;color:#374b32;}
.grant-results-bar p:last-child {text-align:right;}
.grant-grid {display:block;}
.grant-card {min-width:0;position:relative;padding:24px 0 0;border-bottom:1px solid #bcc8b7;background:transparent;}
.grant-row {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:15px 44px;}
.grant-summary,.grant-meta {min-width:0;}
.grant-card-top {display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:10px;font-size:.68rem;color:#54664c;}
.grant-status {display:inline-flex;align-items:center;gap:6px;padding:3px 7px;border:1px solid #d5dfcc;border-radius:3px;background:#eef3e7;color:#3d5b32;font-size:.66rem;font-weight:700;line-height:1.4;}
.grant-status::before {content:"";width:5px;height:5px;flex:none;border-radius:50%;background:currentColor;}
.grant-status--check {border-color:#e4d9bf;background:#f7f1e4;color:#79602b;}
.grant-status--closed {border-color:#d9ddd5;background:#edefe9;color:#606757;}
.grant-card h3 {font:700 1.22rem/1.3 Arial,Helvetica,sans-serif;letter-spacing:-.025em;color:var(--grant-ink);}
.grant-audience {margin-top:7px;font-size:.75rem;line-height:1.5;}
.grant-purpose {max-width:565px;margin-top:8px;font-size:.84rem;line-height:1.6;}
.grant-facts {display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:26px;margin:3px 0 0;padding:0;}
.grant-facts>div {min-width:0;}
.grant-facts dt {margin:0 0 10px;color:#5c6a55;font-size:.66rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
.grant-facts dd {margin:0;color:var(--grant-ink);font:600 1rem/1.35 Arial,Helvetica,sans-serif;letter-spacing:-.015em;}
.grant-facts dd small {display:block;margin-top:7px;color:#5e6958;font-size:.73rem;font-weight:400;line-height:1.45;letter-spacing:0;}
.grant-deadline {padding-left:24px;border-left:1px solid var(--grant-line);}
.grant-deadline dd {font-size:1.4rem;font-weight:500;letter-spacing:-.035em;}
.grant-actions {grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:1px;}
.grant-official {display:inline-flex;align-items:center;gap:4px;min-height:36px;color:#34512d;font-size:.74rem;font-weight:700;text-decoration:none;}
.grant-official:hover {text-decoration:underline;}
.grant-checked {font-size:.68rem;line-height:1.5;}
.grant-card details {margin:1px 0 0;}
.grant-card summary {position:relative;cursor:pointer;padding:10px 30px 14px 0;font-size:.76rem;line-height:1.5;font-weight:700;color:#36512f;list-style:none;transition:color .15s;}
.grant-card summary::-webkit-details-marker {display:none;}
.grant-card summary::after {content:"+";position:absolute;right:2px;top:7px;font:400 1.5rem/1 Arial,Helvetica,sans-serif;}
.grant-card details[open] summary::after {content:"−";}
.grant-card summary:hover {color:#162e16;}
.grant-card details[open] summary {padding-bottom:12px;border-bottom:1px solid var(--grant-line);}
.grant-detail-body {padding:20px 24px 24px;margin-bottom:16px;background:#f0f3eb;font-size:.83rem;line-height:1.65;}
.grant-detail-body h4 {margin:18px 0 5px;font:700 .8rem/1.5 Arial,Helvetica,sans-serif;color:#344e2f;}
.grant-detail-body h4:first-child {margin-top:0;}
.grant-detail-body p {max-width:920px;margin:0;}
.grant-sources {display:flex;flex-wrap:wrap;gap:7px 20px;margin-top:18px;padding-top:14px;border-top:1px solid #ced8c5;}
.grant-sources a {color:#344e2f;font-weight:700;font-size:.76rem;line-height:1.5;padding:3px 0;}
.grant-empty {padding:32px 20px;text-align:center;border-bottom:1px solid var(--grant-line);background:#f0f4e9;}
.grant-empty h3 {font-size:1.35rem;}
.grant-empty p {max-width:530px;margin:12px auto 18px;}
.grant-local {margin-top:22px;font-size:.77rem;line-height:1.7;}
.grant-local h3 {margin-bottom:7px;font:700 .85rem/1.5 Arial,Helvetica,sans-serif;}
.grant-local p {font-size:.77rem;line-height:1.7;}
.grant-local a {color:#36512f;}
.grant-contact {padding:30px 0;border-top:1px solid #d8dfd1;border-bottom:1px solid #d8dfd1;background:#edf1e6;}
.grant-contact-inner {display:flex;align-items:center;justify-content:space-between;gap:32px;}
.grant-contact h2 {font:400 1.65rem/1.2 Georgia,'Times New Roman',serif;letter-spacing:-.025em;}
.grant-contact p {max-width:650px;margin-top:10px;font-size:.84rem;line-height:1.65;}
.grant-contact .button-link {flex:none;padding:12px 18px;border:1px solid #354d2f;border-radius:3px;color:#fff;background:#354d2f;box-shadow:none;font-size:.8rem;transition:background-color .15s;}
.grant-contact .button-link:hover {background:#233c20;}
.grant-source-note {padding:20px 0 26px;font-size:.71rem;line-height:1.7;}
.grant-source-note p {max-width:1000px;}
.grant-region-context {padding:15px 18px;margin-top:18px;border-left:2px solid #647f55;background:#edf2e7;}
.grant-region-context h3,.grant-region-directory h3 {font:700 .86rem/1.4 Arial,Helvetica,sans-serif;letter-spacing:0;}
.grant-region-context p,.grant-region-directory p {margin:6px 0;font-size:.76rem;line-height:1.6;}
.grant-region-context>a,.grant-region-directory li>a {display:inline-block;padding:5px 0;color:#34512d;font-size:.73rem;font-weight:700;}
.grant-region-directory {margin-top:28px;padding:0 0 16px;border-bottom:1px solid var(--grant-line);}
.grant-region-directory>summary {padding:12px 0;cursor:pointer;color:#34512d;font-size:.85rem;font-weight:700;}
.grant-region-directory>ul {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px;margin:22px 0 0;padding:0;list-style:none;}
.grant-region-directory li {padding-top:14px;border-top:1px solid var(--grant-line);min-width:0;}
@media(max-width:1000px){
 .grant-row {gap:12px 28px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
 .grant-facts {gap:16px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);}
 .grant-deadline {padding-left:16px;}
 .grant-card h3 {font-size:1.12rem;}
 .grant-facts dd {font-size:.96rem;}
 .grant-deadline dd {font-size:1.22rem;}
}
@media(max-width:700px){
 .grant-region-directory>ul {grid-template-columns:1fr;gap:16px;}
 .grants-page .container {width:calc(100% - 36px);}
 .grant-intro {padding:18px 0 22px;}
 .grant-intro .product-breadcrumbs {margin-bottom:20px;font-size:.7rem;}
 .grant-intro h1 {font-size:2.15rem;max-width:540px;}
 .grant-intro .grant-lead {font-size:.9rem;line-height:1.55;}
 .grant-verified {font-size:.67rem;}
 .grant-section {padding:22px 0 30px;}
 .grant-section-head {display:block;margin-bottom:16px;}
 .grant-section-head>p {margin-top:9px;max-width:none;}
 .grant-filters {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;}
 .grant-filter-field label {font-size:.69rem;}
 .grant-filter-field select {font-size:.8rem;padding-left:9px;padding-right:22px;min-height:46px;}
 .grant-filters>.grant-reset {grid-column:1/-1;justify-self:start;min-height:36px;padding:7px 11px;font-size:.71rem;}
 .grant-filter-help {font-size:.7rem;}
 .grant-results-bar {font-size:.67rem;align-items:start;}
 .grant-card {padding-top:22px;}
 .grant-row {grid-template-columns:1fr;gap:18px;}
 .grant-card h3 {font-size:1.22rem;}
 .grant-audience {font-size:.76rem;}
 .grant-purpose {font-size:.84rem;}
 .grant-meta {padding-top:16px;border-top:1px solid #e0e5dc;}
 .grant-facts {margin:0;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:18px;}
 .grant-facts dt {margin-bottom:7px;}
 .grant-facts dd {font-size:.94rem;}
 .grant-deadline dd {font-size:1.32rem;}
 .grant-deadline {padding-left:18px;}
 .grant-actions {gap:8px;flex-wrap:wrap;}
 .grant-official {font-size:.73rem;}
 .grant-checked {font-size:.66rem;}
 .grant-card summary {min-height:44px;padding:10px 30px 15px 0;}
 .grant-detail-body {padding:18px 16px;}
 .grant-contact-inner {display:block;}
 .grant-contact .button-link {margin-top:18px;}
}
@media(max-width:480px){
 .grant-filters {grid-template-columns:1fr;}
}
@media(max-width:360px){
 .grants-page .bd-brand img {width:36px;height:36px;}
 .grant-intro h1 {font-size:1.9rem;}
 .grant-checked {width:100%;}
 .grant-facts {gap:12px;}
 .grant-deadline {padding-left:12px;}
}
@media(prefers-reduced-motion:reduce){.grants-page * {scroll-behavior:auto;transition:none!important;}}
@media print {
 .grant-filters,.grant-contact,.bd-header,.bd-footer,.bd-cookie {display:none!important;}
 .grants-page [data-grant-card][hidden] {display:block!important;}
 .grant-card {break-inside:avoid;}
 .grant-section {padding:20px 0;}
}
