/* Resource strip (MAR-801 experiment): the column of thumbnail panels beside
   a directory table, linking to the resources about that kind of profile.
   Filled by js/resource-strip.js. Theme tokens only. */

.rs-wide { max-width: 1400px !important; }
.rs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 1.5rem; align-items: start; }
.rs-main { min-width: 0; }
.rs-strip { display: grid; gap: .75rem; position: sticky; top: 84px; }
.rs-head { font: 600 .74rem var(--font-sans); color: var(--text-lighter); margin: .1rem 0 0; }
.rs-panel { display: block; background: var(--surface-card); border: 1px solid var(--border-light); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; }
.rs-panel:hover { border-color: var(--blue); }
.rs-thumb { display: block; position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: var(--surface-tray); border-bottom: 1px solid var(--border-light); }
.rs-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rs-body { display: grid; gap: .15rem; padding: .6rem .75rem .7rem; }
.rs-title { font: 600 .86rem var(--font-sans); color: var(--white); }
.rs-desc { font-size: .76rem; line-height: 1.35; color: var(--text-lighter); }

@media (max-width: 1100px) {
    .rs-layout { grid-template-columns: minmax(0, 1fr); }
    .rs-strip { position: static; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    .rs-head { grid-column: 1 / -1; }
}
