/* Catalogue overview — Figma 128:6144. */
.directory { padding-bottom: var(--section-padding); }
.directory__cards { margin-top: 40px; }
.directory__more { display: flex; justify-content: center; margin-top: 32px; }
.directory__more .button { min-width: 240px; font-size: var(--button-m); }
.directory__more .button:hover { background: var(--background-secondary); }
.directory__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.directory__cards .category { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-width: 0; padding: 20px; }
.directory__meta-image { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.directory__cards .category__tags { width: 100%; padding-bottom: 8px; }
.directory__image { display: grid; place-items: center; width: 100%; height: 260px; }
.directory__cards .category__image { width: 255px; height: 240px; max-width: 100%; margin: 0; }
.directory__cards .category__bottom { flex: 1; align-items: flex-start; gap: 0; }
.directory__cards .category__copy { flex: 1; min-width: 0; }
.directory__cards .category__title { font-size: var(--h5); line-height: 1.1; }
.directory__cards .category__caption { margin-top: 6px; font-size: var(--text-s); }
.directory__cards .category:hover .category__title { color: var(--text-accent); }
.directory-page .contact { min-height: 334px; }
.directory-page .contact .section-copy { font-size: var(--text-l); }
@media (max-width: 960px) {
  .directory__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-page .contact { min-height: 0; }
}
@media (max-width: 640px) {
  /* Mobile catalogue: Figma 324:10940. Content and pagination stay data driven. */
  .directory-page .breadcrumbs { gap: 4px; min-height: 0; padding-block: 8px; font-size: 12px; line-height: 1.2; }
  .directory { padding-bottom: 32px; }
  .directory .listing__heading { align-items: stretch; gap: 16px; padding-block: 8px 16px; }
  .directory .listing__heading h1 { font-size: 36px; line-height: 1; }
  .directory .listing__heading .button { width: 100%; min-height: 44px; height: auto; padding: 11px 16px; border-color: var(--stroke-strong); font-size: 14px; line-height: 20px; }
  .directory__cards { grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 16px; margin-top: 24px; }
  .directory__cards .category { gap: 12px; padding: 20px; }
  .directory__meta-image { min-width: 0; width: 100%; gap: 10px; }
  .directory__cards .category__tags { gap: 8px; font-size: 10px; line-height: 1.2; }
  .directory__cards .pill { max-width: 100%; font-size: 10px; line-height: 1.2; }
  .directory__image { height: 204px; }
  .directory__cards .category__image { width: 100%; max-width: 100%; height: 204px; object-fit: contain; }
  .directory__cards .category__bottom { align-items: center; gap: 12px; }
  .directory__cards .category__title { font-size: 18px; line-height: 1.1; }
  .directory__cards .category__caption { font-size: 12px; line-height: 1.2; }
  .directory__cards .category>.category__bottom>.icon-button { width: 40px; height: 40px; }
  .directory__cards .icon-button .icon { width: 20px; height: 20px; }
  .directory__more { margin-top: 24px; }
  .directory__more .button { width: 100%; min-width: 0; min-height: 44px; padding: 11px 16px; font-size: 14px; line-height: 20px; }
  .directory-page .tsp-catalogue-all { margin-top: 16px; }
  .directory-page .tsp-catalogue-all .text-link { min-height: 32px; margin-top: 0; font-size: 12px; }
  .directory-page #contact .tag { margin-bottom: 16px; }
  .directory-page #contact h2 br.desktop-break { display: initial; }
  .directory-page #contact .button { width: 100%; min-height: 48px; padding: 13px 19px; font-size: 12px; line-height: 1.2; }
}
