/* Compact grid cards only; list view and smartphone-specific layouts are preserved. */
html:not(.admin-smartphone) #project-grid:not(.projects-list) .project-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),260px));gap:16px}
html:not(.admin-smartphone) #project-grid:not(.projects-list) .project-card{padding:14px;border-radius:12px}
html:not(.admin-smartphone) #project-grid:not(.projects-list) .project-card .cover{height:150px;padding:5px;display:flex;align-items:center;justify-content:center}
html:not(.admin-smartphone) #project-grid:not(.projects-list) .project-card .cover :is(img,svg){width:100%;height:100%;object-fit:contain}
html:not(.admin-smartphone) #project-grid:not(.projects-list) .project-card h2{font-size:17px;line-height:1.3;margin:12px 0 6px}
html:not(.admin-smartphone) #project-grid:not(.projects-list) .project-card p{font-size:12px;margin:0 0 8px}
html:not(.admin-smartphone) #project-grid:not(.projects-list) .project-actions{gap:5px;margin-top:12px;justify-content:flex-start}
html:not(.admin-smartphone) #project-grid:not(.projects-list) .project-action{width:33px;height:33px;min-width:33px;padding:7px}
html:not(.admin-smartphone) #project-grid:not(.projects-list) .project-action img{width:100%;height:100%;object-fit:contain}
