/* V9: the true /danh-ba WordPress page (not the CPT archive page). */
body.av-superprof-v2 .avv9-directory .avv9-directory-head {padding-bottom:0}
body.av-superprof-v2 .avv9-directory .avv9-directory-head h1 {font-size:30px!important;font-weight:600!important;line-height:1.25;margin:10px 0}
body.av-superprof-v2 .avv9-directory .avv9-directory-head p {margin:0 0 16px;font-size:13px;color:#6a7380}
body.av-superprof-v2 .avv9-directory .avv9-directory-search {display:flex;align-items:stretch;gap:9px;width:100%;max-width:740px;margin-top:18px}
body.av-superprof-v2 .avv9-directory .avv9-directory-search input {width:100%;min-width:0;flex:1;border:1px solid #e0e5ea;border-radius:10px;height:44px;padding:10px 14px;font-size:13px;background:white;outline-offset:2px}
body.av-superprof-v2 .avv9-directory .avv9-directory-search button {flex:none;background:#e96d32;color:white;border:0;border-radius:10px;padding:0 18px;font-size:13px;font-weight:600;cursor:pointer}
body.av-superprof-v2 .avv9-archive .avv9-sidebar,body.av-superprof-v2 .avv8-archive .avv9-sidebar {display:flex;flex-direction:column;gap:15px}
body.av-superprof-v2 .avv8-archive .avv9-sidebar .avv9-sidebar-heading {font-size:16px!important;line-height:1.3;margin:0 0 2px;padding:0 4px;color:#1b2635;font-weight:600!important}
body.av-superprof-v2 .avv8-archive .avv9-sidebar .avv8-directory-group {padding:14px 12px;border-radius:13px}
body.av-superprof-v2 .avv8-archive .avv9-sidebar .avv8-directory-group h3 {font-size:13px!important;font-weight:600!important;line-height:1.35!important;margin:0 0 9px;padding:0 5px 10px;border-bottom:1px solid #edf0f2;color:#293241}
body.av-superprof-v2 .avv8-archive .avv9-sidebar .avv8-directory-links a {padding-top:8px;padding-bottom:8px;font-size:12px;line-height:1.4}
body.av-superprof-v2 .avv8-archive .avv9-sidebar .avv8-directory-links a.is-active {background:#fff0e6;color:#c5511e;font-weight:600}
body.av-superprof-v2 .avv8-archive .avv9-sidebar .avv8-directory-links a small {font-size:11px;min-width:20px;text-align:right;color:#8d95a0}
body.av-superprof-v2 .avv8-archive .avv9-sidebar .avv8-directory-links a:hover {background:#fff5ec}
body.av-superprof-v2 .avv9-directory .avv9-active-filters {display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:-2px 0 18px;font-size:11px;color:#6d7581}
body.av-superprof-v2 .avv9-directory .avv9-active-filters a {display:inline-flex;gap:6px;text-decoration:none;align-items:center;color:#b65026;background:#fff1e7;border-radius:6px;padding:5px 9px}
body.av-superprof-v2 .avv9-directory .avv9-active-filters .avv9-clear-filters {background:transparent;text-decoration:underline}
body.av-superprof-v2 .avv9-directory .avv9-sort-submit {font-size:11px;padding:7px 10px;border-radius:8px;border:1px solid #e1e5eb;background:white;color:#343f4e;cursor:pointer}
body.av-superprof-v2 .avv9-directory .avv4-results .avv4-card-logo {flex:none}
body.av-superprof-v2 .avv9-directory .avv4-results .avv4-card-logo .avl-media {display:flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden;background:white}
body.av-superprof-v2 .avv9-directory .avv4-results .avv4-card-logo .avl-media img {width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain!important;padding:7px!important;position:static!important}
body.av-superprof-v2 .avv9-directory .avv4-results .avv4-card-logo .avl-empty-logo {display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:23px}
body.av-superprof-v2 .avv9-directory .avv4-results .avv4-card-content h3 {font-weight:600!important}
body.av-superprof-v2 .avv8-archive .avl-pagination .page-numbers.current {pointer-events:none}
@media(max-width:820px){
 body.av-superprof-v2 .avv8-archive .avv9-sidebar {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body.av-superprof-v2 .avv8-archive .avv9-sidebar .avv9-sidebar-heading {grid-column:1/-1}
}
@media(max-width:600px){
 body.av-superprof-v2 .avv8-archive .avv9-sidebar {grid-template-columns:1fr}
 body.av-superprof-v2 .avv9-directory .avv9-directory-search button {padding:0 12px}
 body.av-superprof-v2 .avv9-directory .avv4-card {display:grid!important;grid-template-columns:62px minmax(0,1fr)!important;grid-template-rows:minmax(114px,auto) auto!important;column-gap:11px!important;min-height:175px!important;align-items:start!important}
 body.av-superprof-v2 .avv9-directory .avv4-card-logo {grid-column:1;grid-row:1;margin:0!important}
 body.av-superprof-v2 .avv9-directory .avv4-card-content {grid-column:2;grid-row:1}
 body.av-superprof-v2 .avv9-directory .avv4-card-footer {grid-column:1/-1;grid-row:2;flex-direction:row!important;justify-content:space-between!important}
}
/* Keep each CPT archive/taxonomy logo on the LEFT on mobile too. */
@media(max-width:600px){
 body.av-superprof-v2 .avv8-archive .avsp-archive-grid.avv4-results .avv4-card {display:grid!important;grid-template-columns:62px minmax(0,1fr)!important;grid-template-rows:minmax(105px,auto) auto!important;gap:0 11px!important;min-height:170px!important;align-items:start!important}
 body.av-superprof-v2 .avv8-archive .avsp-archive-grid.avv4-results .avv4-card-logo {grid-column:1;grid-row:1;margin:0!important}
 body.av-superprof-v2 .avv8-archive .avsp-archive-grid.avv4-results .avv4-card-content {grid-column:2;grid-row:1;min-width:0}
 body.av-superprof-v2 .avv8-archive .avsp-archive-grid.avv4-results .avv4-card-footer {grid-column:1/-1;grid-row:2;flex-direction:row!important;flex-wrap:wrap;align-items:center!important;justify-content:space-between!important}
}
