/* R9Y: editable Legacy Fund cards. CSS does not generate buttons or alter content. */
.nmr-r9y-legacy-directory { margin: 1.3rem 0 2.2rem; }
.nmr-r9y-legacy-directory .nmr-r9y-legacy-intro { margin-bottom: 1.15rem; color: #4d4657; line-height: 1.6; }
.nmr-r9y-legacy-directory .nmr-r9y-legacy-grid { gap: 1rem; align-items: stretch; }
.nmr-r9y-legacy-directory .nmr-r9y-legacy-grid > .wp-block-column { display: flex; min-width: 0; }
.nmr-r9y-legacy-card {
 box-sizing: border-box; display: flex; flex: 1; flex-direction: column;
 min-width: 0; padding: clamp(18px, 2.5vw, 25px);
 border: 1px solid #e5d8ed; border-radius: 13px;
 background: #fcfaff; box-shadow: 0 3px 12px rgba(45,27,57,.045);
}
.nmr-r9y-legacy-card h3 { color: #382849; margin: 0 0 .45rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.35; }
.nmr-r9y-legacy-card .nmr-r9y-legacy-dates { color: #62586a; font-size: .95rem; margin: 0 0 1.3rem; }
.nmr-r9y-legacy-card .nmr-r9y-legacy-actions { margin-top: auto; }
.nmr-r9y-legacy-nav { margin: 1.35rem 0 2rem; padding: 1.1rem 1.25rem; border-left: 4px solid #633f7b; background: #faf7fc; border-radius: 8px; }
.nmr-r9y-legacy-nav .nmr-r9y-legacy-intro { margin-top: 0; margin-bottom: .85rem; }
.nmr-r9y-legacy-actions .nmr-r9y-legacy-button .wp-block-button__link {
 box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
 min-height: 44px; padding: .73rem 1.2rem; max-width: 100%;
 background: #633f7b; border: 2px solid #633f7b; border-radius: 8px;
 color: #fff !important; text-decoration: none !important; font-weight: 700;
 line-height: 1.28; font-size: .92rem; text-align: center;
}
.nmr-r9y-legacy-actions .nmr-r9y-legacy-button .wp-block-button__link:hover { background: #472b60; border-color: #472b60; }
.nmr-r9y-legacy-actions .nmr-r9y-legacy-button .wp-block-button__link:focus-visible { outline: 3px solid #16745e; outline-offset: 3px; }
@media (max-width: 800px) {
 .nmr-r9y-legacy-directory .nmr-r9y-legacy-grid { flex-direction: column; }
 .nmr-r9y-legacy-card { width: 100%; }
 .nmr-r9y-legacy-grid > .wp-block-column { flex-basis: auto !important; width: 100%; }
}
@media (max-width: 480px) { .nmr-r9y-legacy-actions .wp-block-button, .nmr-r9y-legacy-actions .wp-block-button__link { width: 100%; } }
