.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:23px;text-align:left}
.resource-card{display:flex;flex-direction:column;gap:10px;padding:23px;border:1px solid #dde3eb;border-radius:13px;background:#fff;color:#18263a;min-width:0;box-shadow:0 7px 20px rgba(17,31,53,.035);transition:transform .2s,border-color .2s}
.resource-card:hover,.resource-card:focus-visible{transform:translateY(-3px);border-color:#c49a5a}
.resource-category{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:#9a7136}
.resource-card strong{font:800 1.04rem/1.4 Manrope,sans-serif;overflow-wrap:anywhere}
.resource-description{font-size:.88rem;color:#647084;line-height:1.55;flex:1;overflow-wrap:anywhere}
.resource-action{font-size:.83rem;font-weight:800;color:#956b32;margin-top:7px}
.library-empty{font-size:.91rem;color:#647084;grid-column:1/-1}
.resource-dark .resource-card{background:#203753;border-color:rgba(221,183,124,.34);color:#fff}
.resource-dark .resource-description,.resource-dark .library-empty{color:#cbd4de}
.resource-dark .resource-category,.resource-dark .resource-action{color:#f0c582}
.library-link-row{margin-top:21px}
.library-link-row a{font-weight:800;color:#ae854a}
.resource-dark .library-link-row a{color:#e8bd72}
.library-toolbar{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}
.library-toolbar input,.library-toolbar select{font:inherit;border:1px solid #cdd5df;border-radius:9px;padding:13px 14px;background:#fff;color:#18263a}
.library-toolbar input{flex:1;min-width:210px}.library-toolbar select{min-width:180px}
@media(max-width:900px){.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.resource-grid{grid-template-columns:1fr}.library-toolbar input,.library-toolbar select{width:100%}}
