/* Directory: masonry (old layout engine kept), pictures shown whole, cleaner cards */
.grid-isotope.na-dir>.grid-item-isotope{padding:0 .625rem 1.25rem!important;box-sizing:border-box!important;background:none!important}
.na-dir .na-card{background:#fff;border-radius:var(--na-radius);overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.08);transition:box-shadow .2s,transform .2s;position:relative}
.na-dir .na-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.14);transform:translateY(-2px)}

/* Picture: full image, height follows the picture */
.na-dir .act-image{display:block!important;position:relative!important;height:auto!important;max-height:none!important;overflow:visible!important;background:var(--na-soft)}
.na-dir .act-image>img{position:static!important;display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:initial!important;transform:none!important}
.na-dir .act-icon{position:absolute!important;left:.6rem;top:.6rem;z-index:2}
.na-dir .act-functions{position:absolute!important;right:.6rem;top:.6rem;z-index:3}

/* Text */
.na-dir .wrap-art-info{padding:1rem 1.25rem 1.1rem!important;background:#fff!important;position:static!important;height:auto!important}
.na-dir .wrap-art-info,.na-dir .wrap-art-info *{font-family:var(--na-font)!important}
.na-dir .art-info,.na-dir .name-icon,.na-dir .text{padding:0!important;margin:0!important;min-height:0!important;height:auto!important}
.na-dir .name-icon{display:flex!important;align-items:center;justify-content:space-between;gap:.75rem}
.na-dir .make-55{width:auto!important;max-width:none!important;flex:1}
.na-dir .wrap-art-info h2:not(.new-h2){font-size:1.125rem!important;line-height:1.3!important;font-weight:700!important;color:var(--na-ink)!important;margin:0!important}
.na-dir .na-big .wrap-art-info h2{font-size:1.375rem!important}
.na-dir .status-bar{flex:none;width:auto!important;margin:0!important;position:static!important}
.na-dir .status-bar .status{display:block;width:40px!important;height:40px!important;border-radius:50%;background-size:cover;background-position:center}
.na-dir .na-big .wrap-art-info::before{content:"Featured member";display:inline-block;font:700 .8125rem/1 var(--na-font);background:var(--na-yellow);color:var(--na-ink);border-radius:3px;padding:.3rem .5rem;margin:0 0 .6rem}

/* Pagination */
.pagination .page-numbers{font-size:1rem!important;font-family:var(--na-font)!important;padding:.5rem .8rem!important;border-radius:var(--na-radius)}
.pagination .page-numbers.current{background:var(--na-ink)!important;color:#fff!important}

/* All card grids: owner buttons only on hover, readable small text */
.na-dir .na-card .act-functions{opacity:0;transition:opacity .15s}
.na-dir .na-card:hover .act-functions,.na-dir .na-card:focus-within .act-functions{opacity:1}
.na-dir .wrap-art-info h2.new-h2{font-size:1rem!important;line-height:1.35!important}
.na-dir .wrap-art-info a:not(.status):not(:has(h2)):not(:has(img)){font-size:.8125rem!important;font-weight:700!important;color:var(--na-blue)!important;text-transform:uppercase}
.na-dir .wrap-art-info small,.na-dir .wrap-art-info .small,.na-dir .wrap-art-info [class*=type]{font-size:.8125rem!important}
.na-dir .wrap-art-info .price,.na-dir .wrap-art-info h3,.na-dir .wrap-art-info .woocommerce-Price-amount{font-size:1.125rem!important;font-weight:700!important}

/* Cards whose text sits straight in the card (Buy art, home page) */
.na-dir .na-card>.art-info{padding:1rem 1.25rem 1.1rem!important;background:#fff}
.na-dir .na-card>.art-info h2.new-h2{padding:0!important;margin:0 0 .35rem!important;font-size:1rem!important;font-weight:700!important;line-height:1.35!important}
.na-dir .na-card>.art-info .text{font-size:1rem!important}
.na-dir .na-card>.art-info .pricerhere,.na-dir .na-card>.art-info .pricerhere *{font-size:1.125rem!important;font-weight:700!important}
.na-dir .na-card>.art-info .statusnew,.na-dir .na-card>.art-info .statusnew *{font-size:.8125rem!important;color:var(--na-muted)!important}
/* Name row: keep the round profile photo inside the card with space above and below */
.na-dir .wrap-art-info .art-info,.na-dir .wrap-art-info .name-icon,.na-dir .wrap-art-info .status-bar{position:static!important;transform:none!important;top:auto!important;bottom:auto!important}
.na-dir .wrap-art-info{padding:1.1rem 1.25rem!important}
.na-dir .wrap-art-info .name-icon{min-height:46px}
.na-dir .na-card .wrap-art-info .name-icon{padding:.85rem 0!important}
/* Card Options button (owners and admins) */
.na-dir .na-card .na26-optbtn{position:absolute;top:.6rem;right:.6rem;z-index:4;background:var(--na-yellow);color:var(--na-ink);border:0;border-radius:var(--na-radius);padding:.5rem .9rem;font:700 .875rem/1 var(--na-font);cursor:pointer;opacity:0;transition:opacity .15s;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.na-dir .na-card:hover .na26-optbtn,.na-dir .na26-optbtn:focus{opacity:1}
@media (hover:none){.na-dir .na-card .na26-optbtn{opacity:1}}

/* Space between the filter bar and the cards (Buy art, Directory, What's happening, search) */
.drh-row.filters-new{margin-bottom:1.75rem!important}
