/* Original category artwork; labels and actions remain real, readable HTML. */
.category-cards > a.category-card { overflow: hidden; padding: 0; background: #191c21; }
.category-cards > a.category-card > .category-card-media { position: relative; display: block; width: 100%; height: 204px; flex: 0 0 auto; min-height: 0; overflow: hidden; border-bottom: 1px solid #3c414b; background: #15171a; }
.category-card-media > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.category-cards > a[data-select-filter='course'] .category-card-media > img { object-position: 20% center; }
.category-cards > a[data-select-filter='download'] .category-card-media > img { object-position: left center; }
.category-card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 24px; }
.category-card-body .category-card-heading { min-height: 0; }
.category-card-body h3 { min-height: 0; font-size: 23px; }
.category-card-body > p { margin: 14px 0 22px; max-width: 42ch; color: #d4d8df; font-size: 18px; line-height: 1.55; }
.category-card-body > .category-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; margin-top: auto; padding-top: 16px; border-top: 1px solid #414650; color: #fff; font-size: 17px; line-height: 1.4; font-weight: 600; }
.category-cards > a.category-card:hover .category-cta { color: #ffb5b8; }
.category-tool-tags { position: absolute; inset: auto 10px 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.category-tool-tags > span { display: block; padding: 4px 8px; border: 1px solid #656069; border-radius: 4px; background: #17191fee; color: #f5f4f4; font-size: 14px; font-weight: 500; line-height: 1.2; }
.category-cards > a[data-select-filter='prompt'] .category-card-media,
.category-cards > a[data-select-filter='skill'] .category-card-media,
.category-cards > a[data-select-filter='agent'] .category-card-media { height: 230px; padding: 0; }
@media (min-width: 1100px) {
  .category-cards > a.category-card:nth-child(-n+2) { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: stretch; }
  .category-cards > a.category-card:nth-child(-n+2) > .category-card-media { height: 100%; min-height: 280px; border-bottom: 0; border-right: 1px solid #3c414b; }
  .category-cards > a.category-card:nth-child(-n+2) > .category-card-media > img { padding: 0; }
  .category-cards > a.category-card:nth-child(-n+2) .category-card-body { padding: 24px 22px; }
}
@media (max-width: 359px) {
  .category-card-body { padding: 20px; }
  .category-card-body h3 { font-size: 21px; }
  .category-tool-tags { gap: 5px; }
  .category-tool-tags > span { padding-inline: 6px; }
}
