/* Shared category cards, independent from the listing cards and search hero. */
.txc-directory { --txc-orange: #ff5c00; color: #f5f5f5; font-family: Manrope, sans-serif; width: 100%; }
.txc-directory *, .txc-directory *::before, .txc-directory *::after { box-sizing: border-box; }
.txc-directory .txc-grid.taxonomy-category-wrapper {
    display: grid; grid-template-columns: repeat(var(--txc-columns, 5), minmax(0, 1fr));
    align-items: start; column-gap: 32px; row-gap: 30px; margin: 0; padding: 0;
}
.txc-directory--page { max-width: 1200px; margin-inline: auto; padding-bottom: 80px; }
.txc-directory--page .txc-grid.taxonomy-category-wrapper { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.txc-directory .txc-item { min-width: 0; padding: 0; margin: 0; text-align: center; }
.txc-directory a.txc-card { display: flex; flex-direction: column; align-items: center; color: #fff; text-decoration: none; padding: 0 0 6px; border: 0; background: transparent; }
.txc-directory .txc-visual { position: relative; display: block; width: min(100%, 195px); aspect-ratio: 1; margin: 0 auto 8px; transition: transform .2s ease; }
.txc-directory .txc-photo { display: block; width: 100%; height: 100%; object-fit: contain; border: 0; border-radius: 50%; padding: 0; margin: 0; }
.txc-directory .txc-no-photo { display: grid; place-items: center; position: absolute; inset: 15%; border: 1px solid #b95620; border-radius: 50%; background: #19110c; color: #ff9b5c; font-size: 42px; }
.txc-directory .txc-medallion { position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.txc-directory .txc-icon-image { display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; object-fit: contain; filter: none; }
.txc-directory .txc-name { display: block; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.5; }
.txc-directory .txc-count { display: block; color: #a6a6a6; font-size: 12px; font-weight: 400; line-height: 1.7; }
.txc-directory a.txc-card:hover .txc-visual { transform: translateY(-4px); }
.txc-directory a.txc-card:hover .txc-name { color: #ff934f; }
.txc-directory a:focus-visible { outline: 2px solid var(--txc-orange); outline-offset: 5px; border-radius: 10px; }
.txc-directory .txc-children { font-size: 12px; line-height: 1.8; }
.txc-directory .txc-children ul { margin: 8px 0 0; padding: 0; list-style: none; }
.txc-directory .txc-children a { color: #b8b8b8; }
.txc-directory .txc-children a:hover { color: #ff934f; }
.txc-directory .txc-grid > .directorist-col-12 { grid-column: 1 / -1; width: 100%; max-width: 100%; padding: 0; }
.txc-directory .directorist-pagination { margin-top: 26px; }
.txc-directory .directorist-pagination .page-numbers { border-color: #333; background: #151515; color: #eee; }
.txc-directory .directorist-pagination .current { background: var(--txc-orange); border-color: var(--txc-orange); color: #fff; }
.txc-directory .txc-empty { color: #aaa; padding: 30px 0; }
.txc-directory .txc-hero { position: relative; isolation: isolate; min-height: 305px; padding: 46px 0 64px; margin-bottom: 42px; }
.txc-directory .txc-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1; background: #0e0e0e url('../images/triplex-tribus.jpg') center center / auto 100% no-repeat; box-shadow: 0 0 0 100vmax #0e0e0e; clip-path: inset(0 -100vmax); }
.txc-directory .txc-breadcrumb { display: flex; gap: 12px; align-items: center; color: #b4b4b4; font-size: 11px; line-height: 1.5; margin-bottom: 35px; }
.txc-directory .txc-breadcrumb a { color: #b4b4b4; text-decoration: none; }
.txc-directory .txc-eyebrow { display: inline-block; padding: 4px 12px; border: 1px solid #713817; border-radius: 20px; color: #ff9a58; font-size: 11px; line-height: 1.5; margin-bottom: 15px; }
.txc-directory .txc-hero h1 { margin: 0; color: #fff; font-family: var(--heading-font, 'Arial Narrow', sans-serif); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.2; font-weight: 800; letter-spacing: -.6px; text-transform: uppercase; }
.txc-directory .txc-hero h1 span { color: var(--txc-orange); }
body.txc-categories-page, body.txc-categories-page #primary.content-area { background: #070707; }
body.txc-categories-page #primary.content-area { padding-top: 0; padding-bottom: 0; }
body.txc-categories-page .theme-banner-breadcrumb { display: none; }
body.txc-categories-page #primary > .theme-container { max-width: 1248px; }
@media (max-width: 900px) {
    .txc-directory .txc-grid.taxonomy-category-wrapper { column-gap: 18px; row-gap: 26px; }
    .txc-directory--page .txc-grid.taxonomy-category-wrapper { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .txc-directory .txc-medallion { width: 36px; height: 36px; }
}
@media (max-width: 767px) {
    .txc-directory .txc-grid.taxonomy-category-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .txc-directory .txc-name { font-size: 14px; }
    .txc-directory .txc-hero { min-height: 250px; padding: 28px 0 40px; margin-bottom: 28px; }
    .txc-directory .txc-breadcrumb { margin-bottom: 24px; }
}
@media (max-width: 480px) {
    .txc-directory .txc-grid.taxonomy-category-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
    .txc-directory .txc-hero::before { background-position: 58% center; }
    .txc-directory--page { padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) { .txc-directory .txc-visual { transition: none; } }
