/* V13.31 — free public resource hub: accessible filter chips and flexible cards. */
.kkn-resource-tools{display:flex;gap:16px;align-items:end;justify-content:space-between;flex-wrap:wrap;margin:24px 0}
.kkn-resource-tools label{display:block;font-weight:800;flex:1 1 280px;max-width:570px}
.kkn-resource-tools input{display:block;width:100%;margin-top:8px;background:#190d19;color:#fff;border:1px solid #7f5380;border-radius:8px;padding:12px;font-size:1rem}
.kkn-resource-tabs{display:flex;gap:9px;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity;padding:7px 0 16px;margin:10px 0 3px}
.kkn-resource-tab{white-space:nowrap;flex:0 0 auto;scroll-snap-align:start;color:#f9f4f9;background:#311932;border:1px solid #845285;padding:10px 14px;border-radius:9px;font-size:.92rem;font-weight:750;min-height:44px}
.kkn-resource-tab[aria-pressed=true]{background:#e674ab;color:#261326;border-color:#ed98c1}
.kkn-resource-result{color:#f0e2f0;font-weight:650;margin:6px 0}
.kkn-resource-category{margin:20px 0 38px}.kkn-resource-category h2{margin:0 0 15px;font-size:clamp(1.35rem,2.2vw,1.9rem)}
.kkn-resource-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr));gap:14px}
.kkn-resource-item{min-width:0;display:flex;flex-direction:column;gap:9px;overflow-wrap:anywhere}
.kkn-resource-item h3{font-size:1.14rem;margin:0}.kkn-resource-item p{margin:0;color:#ecdaed;flex:1}.kkn-resource-item a{font-weight:800;color:#ec95bf;display:inline-block;margin-top:9px}
.kkn-resource-location{font-size:.76rem;letter-spacing:.025em;font-weight:750;color:#d7b1d8}
.kkn-resource-empty{padding:15px;border:1px solid #7b417c;border-radius:8px;color:#f6eef6}
.kkn-resource-item[hidden],.kkn-resource-category[hidden],.kkn-resource-empty[hidden]{display:none!important}
.kkn-resource-embedded-map{margin-top:45px;padding-top:25px;border-top:1px solid #5a305b}
.kkn-resource-embedded-map>p{max-width:85ch;color:#ebd7eb}
.kkn-map-resource-filter{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:8px 0 15px;color:#f6eef7}
.kkn-map-resource-filter select{min-width:min(100%,300px);max-width:100%;padding:10px;border:1px solid #ad77ae;color:#fcf8fc;background:#2c162d;border-radius:7px}
.kkn-map-popup-resources{max-height:240px;overflow-y:auto;max-width:275px}
.kkn-map-popup-resources a{display:block;margin:5px 0 12px;overflow-wrap:anywhere}
.kkn-map-popup-resources .kkn-map-resource-item{padding:6px 0;border-bottom:1px solid #ddd}
@media(max-width:600px){.kkn-resource-tools{align-items:stretch}.kkn-resource-tools .btn{max-width:100%;width:100%;text-align:center}.kkn-resource-tabs{margin-inline:-8px;padding-inline:8px}.kkn-resource-cards{grid-template-columns:1fr}}

.kkn-map-resource-filter[hidden]{display:none!important}
