/* Standalone source: the repository contains only the compiled main stylesheet. */
.page--grants .contact-wrapper { margin-top: 0; }
.grants-section { padding: 180px 0 100px; background: #f6f5f2; min-height: 60vh; }
.grants-heading { margin: 0 0 48px; overflow-wrap: anywhere; }
.grants-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.grant-card { display: flex; flex-direction: column; color: #013d4d; background: #fff; text-decoration: none; border: 1px solid #e1e5e3; transition: box-shadow .2s; }
.grant-card:hover { box-shadow: 0 8px 24px #013d4d1a; }
.grant-card:focus-visible, .grant-back:focus-visible, .grant-actions a:focus-visible { outline: 3px solid #013d4d; outline-offset: 5px; }
.grant-card__preview { aspect-ratio: 16 / 9; background: #eeefed; }
.grant-card__preview img { display: block; width: 100%; height: 100%; object-fit: contain; }
.grant-strip { background: #fff; padding: 16px 0; box-sizing: border-box; }
.grant-strip img { display: block; width: 100%; height: auto; }
.grant-card__body { padding: 24px; display: flex; flex: 1; flex-direction: column; gap: 24px; overflow-wrap: anywhere; }
.grant-card__more { margin-top: auto; font-weight: 600; }
.grants-empty { grid-column: 1 / -1; line-height: 1.6; }
.grant-back { display: inline-block; margin-bottom: 32px; color: #013d4d; }
.grant-content { font-size: 18px; line-height: 1.75; overflow-wrap: anywhere; }
.grant-content p, .grant-content ul, .grant-content ol, .grant-content table { margin: 0 0 24px; }
.grant-content h2, .grant-content h3, .grant-content h4 { font-weight: 600; line-height: 1.3; margin: 32px 0 16px; }
.grant-content h2 { font-size: 30px; } .grant-content h3 { font-size: 25px; } .grant-content h4 { font-size: 21px; }
.grant-content ul { list-style: disc; padding-left: 28px; } .grant-content ol { list-style: decimal; padding-left: 28px; }
.grant-content a { text-decoration: underline; } .grant-content strong, .grant-content b { font-weight: 700; } .grant-content em, .grant-content i { font-style: italic; }
.grant-content table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; }
.grant-content td, .grant-content th { padding: 12px; border: 1px solid #cbd2cf; } .grant-content th { font-weight: 600; }
.grant-detail .grant-strip { margin-top: 40px; max-width: 100%; text-align: center; }
.grant-detail .grant-strip img { max-width: 900px; }
.grant-actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
@media (max-width: 767px) {
    .grants-section { padding: 130px 0 60px; }
    .grants-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .grants-heading { margin-bottom: 32px; }
    .grant-strip { padding: 12px 6px; }
    .grant-card__body { padding: 20px; }
    .grant-actions { flex-direction: column; align-items: flex-start; }
}
