/* ==================================================
   NAIJAWIDE ARTISTS DIRECTORY
================================================== */

*,
*::before,
*::after{
    box-sizing:border-box;
}

.nw-artists-shell{
    width:100%;
    max-width:1380px;
    margin:0 auto;
    padding:24px 18px 55px;
}

.nw-artists-breadcrumb{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:18px;
    color:#8a919d;
    font-size:13px;
}

.nw-artists-breadcrumb a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#525966;
    text-decoration:none;
    font-weight:700;
}

.nw-artists-breadcrumb a:hover{
    color:#00a651;
}

.nw-artists-breadcrumb span:not(.current){
    font-size:9px;
}

.nw-artists-breadcrumb .current{
    color:#111827;
    font-weight:800;
}

/* ==================================================
   HERO
================================================== */

.nw-artists-hero{
    position:relative;
    min-height:165px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    overflow:hidden;
    margin-bottom:24px;
    padding:30px 36px;
    background:
        radial-gradient(circle at 75% 50%,rgba(0,166,81,.08),transparent 33%),
        linear-gradient(135deg,#ffffff 0%,#f7faf8 100%);
    border:1px solid #e8ece9;
    border-radius:25px;
    box-shadow:0 8px 28px rgba(15,23,42,.045);
}

.nw-artists-hero::after{
    content:"";
    position:absolute;
    right:170px;
    bottom:-40px;
    width:360px;
    height:140px;
    opacity:.28;
    background:repeating-radial-gradient(
        ellipse at center,
        transparent 0 9px,
        rgba(0,166,81,.17) 10px 11px
    );
    transform:rotate(-8deg);
}

.nw-artists-hero-copy{
    position:relative;
    z-index:2;
    max-width:690px;
}

.nw-eyebrow{
    display:inline-block;
    margin-bottom:8px;
    color:#00a651;
    font-size:12px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.nw-artists-hero h1{
    margin:0 0 12px;
    color:#111318;
    font-size:44px;
    line-height:1.05;
    font-weight:950;
    letter-spacing:-1.8px;
}

.nw-artists-hero p{
    max-width:650px;
    margin:0;
    color:#5f6672;
    font-size:16px;
    line-height:1.75;
}

.nw-artists-hero-icon{
    position:relative;
    z-index:2;
    padding-right:35px;
    color:rgba(17,24,39,.055);
    font-size:112px;
}

/* ==================================================
   FILTER CARD
================================================== */

.nw-artists-filter-card{
    margin-bottom:24px;
    background:#fff;
    border:1px solid #e8ece9;
    border-radius:22px;
    box-shadow:0 8px 28px rgba(15,23,42,.045);
    overflow:hidden;
}

.nw-filter-top{
    display:grid;
    grid-template-columns:175px minmax(0,1fr);
    align-items:center;
    gap:18px;
    padding:22px 24px;
    border-bottom:1px solid #edf0ee;
}

.nw-count-block{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
}

.nw-count-icon{
    flex:0 0 54px;
    width:54px;
    height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#eaf8ef;
    color:#00a651;
    font-size:22px;
}

.nw-count-block strong,
.nw-count-block small{
    display:block;
}

.nw-count-block strong{
    color:#12151a;
    font-size:23px;
    line-height:1;
    font-weight:950;
}

.nw-count-block small{
    margin-top:5px;
    color:#7a818d;
    font-size:12px;
}

.nw-search-form{
    display:grid;
    grid-template-columns:minmax(220px,1fr) minmax(200px,.7fr) 135px;
    gap:12px;
}

.nw-search-field,
.nw-select-field{
    height:50px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 16px;
    background:#f8f9f9;
    border:1px solid #e4e8e5;
    border-radius:14px;
    color:#69717d;
}

.nw-search-field input,
.nw-select-field select{
    width:100%;
    height:100%;
    border:0;
    outline:0;
    background:transparent;
    color:#242932;
    font-size:14px;
}

.nw-select-field select{
    cursor:pointer;
}

.nw-search-form button{
    height:50px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    border:0;
    border-radius:14px;
    background:#00a651;
    color:#fff;
    font-size:14px;
    font-weight:850;
    cursor:pointer;
    transition:background .2s ease,transform .2s ease;
}

.nw-search-form button:hover{
    background:#006f27;
    transform:translateY(-1px);
}

.nw-letters{
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding:18px 24px 20px;
    scrollbar-width:thin;
}

.nw-letters a{
    flex:0 0 34px;
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #e5e9e6;
    border-radius:10px;
    background:#fff;
    color:#171b23;
    font-size:12px;
    font-weight:850;
    text-decoration:none;
    transition:background .2s ease,color .2s ease,border-color .2s ease;
}

.nw-letters a:first-child{
    flex-basis:42px;
    width:42px;
}

.nw-letters a:hover,
.nw-letters a.active{
    border-color:#00a651;
    background:#00a651;
    color:#fff;
}

/* ==================================================
   MAIN LAYOUT
================================================== */

.nw-artists-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 310px;
    gap:24px;
    align-items:start;
}

.nw-artists-main{
    min-width:0;
}

.nw-artists-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}

/* ==================================================
   ARTIST CARD
================================================== */

.nw-artist-card{
    min-width:0;
    background:#fff;
    border:1px solid #e8ece9;
    border-radius:18px;
    box-shadow:0 5px 18px rgba(15,23,42,.045);
    overflow:hidden;
    transition:transform .22s ease,box-shadow .22s ease;
}

.nw-artist-card:hover{
    transform:translateY(-4px);
    box-shadow:0 13px 30px rgba(15,23,42,.09);
}

.nw-artist-card[hidden]{
    display:none !important;
}

.nw-card-link{
    display:block;
    height:100%;
    color:inherit;
    text-decoration:none;
}

.nw-card-media{
    position:relative;
    height:250px;
    overflow:hidden;
    background:#e9eeea;
}

.nw-card-media img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:transform .35s ease;
}

.nw-artist-card:hover .nw-card-media img{
    transform:scale(1.035);
}

.nw-card-shade{
    position:absolute;
    inset:0;
    background:linear-gradient(0deg,rgba(0,0,0,.34),transparent 45%);
}

.nw-trending-badge{
    position:absolute;
    top:12px;
    left:12px;
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 10px;
    border-radius:999px;
    background:#f2383f;
    color:#fff;
    font-size:10px;
    font-weight:900;
    box-shadow:0 5px 12px rgba(0,0,0,.16);
}

.nw-verified-badge{
    position:absolute;
    top:12px;
    right:12px;
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:2px solid rgba(255,255,255,.72);
    border-radius:50%;
    background:#00a651;
    color:#fff;
    font-size:12px;
    box-shadow:0 5px 12px rgba(0,0,0,.15);
}

.nw-verified-badge svg{
    display:block;
    width:14px;
    height:14px;
}

.nw-rank-badge{
    position:absolute;
    left:12px;
    bottom:10px;
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:2px solid rgba(255,255,255,.75);
    border-radius:50%;
    background:#00a651;
    color:#fff;
    font-size:13px;
    font-weight:900;
    box-shadow:0 5px 12px rgba(0,0,0,.16);
}

.nw-card-content{
    padding:15px;
}

.nw-card-content h2{
    margin:0 0 12px;
    color:#151820;
    font-size:18px;
    line-height:1.2;
    font-weight:950;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.nw-card-meta{
    display:flex;
    flex-direction:column;
    gap:7px;
    margin-bottom:12px;
}

.nw-card-meta span{
    display:flex;
    align-items:center;
    gap:8px;
    color:#626a76;
    font-size:11px;
    line-height:1.4;
}

.nw-card-meta i{
    width:14px;
    color:#00a651;
    text-align:center;
}

.nw-latest-song{
    display:flex;
    align-items:center;
    gap:8px;
    min-height:39px;
    padding:10px 11px;
    border-radius:10px;
    background:#effaf3;
    color:#00a651;
    font-size:11px;
    font-weight:800;
}

.nw-latest-song span{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

/* ==================================================
   LOAD MORE AND EMPTY
================================================== */

#nw-load-more{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    margin:25px auto 0;
    padding:13px 24px;
    border:0;
    border-radius:11px;
    background:#00a651;
    color:#fff;
    font-size:13px;
    font-weight:850;
    cursor:pointer;
}

#nw-load-more:hover{
    background:#006f27;
}

#nw-load-more[hidden]{
    display:none !important;
}

.nw-empty-state{
    padding:70px 25px;
    background:#fff;
    border:1px solid #e8ece9;
    border-radius:22px;
    text-align:center;
}

.nw-empty-state > i{
    color:#00a651;
    font-size:38px;
}

.nw-empty-state h2{
    margin:15px 0 8px;
    color:#151820;
}

.nw-empty-state p{
    margin:0 0 20px;
    color:#6e7580;
}

.nw-empty-state a{
    display:inline-flex;
    padding:11px 18px;
    border-radius:10px;
    background:#00a651;
    color:#fff;
    font-weight:800;
    text-decoration:none;
}

/* ==================================================
   SIDEBAR
================================================== */

.nw-artists-sidebar{
    position:sticky;
    top:20px;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.nw-side-card{
    padding:20px;
    background:#fff;
    border:1px solid #e8ece9;
    border-radius:20px;
    box-shadow:0 7px 24px rgba(15,23,42,.045);
}

.nw-side-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:16px;
}

.nw-side-heading h2{
    margin:0;
    color:#161920;
    font-size:17px;
    font-weight:950;
}

.nw-side-heading a{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:#00a651;
    font-size:10px;
    font-weight:850;
    text-decoration:none;
}

.nw-ranking-list,
.nw-trending-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.nw-ranking-item{
    display:grid;
    grid-template-columns:38px 22px minmax(0,1fr);
    align-items:center;
    gap:9px;
    color:inherit;
    text-decoration:none;
}

.nw-ranking-item img,
.nw-trending-item img{
    width:38px;
    height:38px;
    display:block;
    border-radius:50%;
    object-fit:cover;
}

.nw-ranking-number{
    width:20px;
    height:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#00a651;
    color:#fff;
    font-size:9px;
    font-weight:900;
}

.nw-ranking-copy,
.nw-trending-item span{
    min-width:0;
}

.nw-ranking-copy strong,
.nw-ranking-copy small,
.nw-trending-item strong,
.nw-trending-item small{
    display:block;
}

.nw-ranking-copy strong,
.nw-trending-item strong{
    color:#191d25;
    font-size:12px;
    line-height:1.3;
    font-weight:900;
}

.nw-ranking-copy small,
.nw-trending-item small{
    margin-top:3px;
    color:#848b96;
    font-size:9px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.nw-trending-item{
    display:grid;
    grid-template-columns:40px minmax(0,1fr);
    align-items:center;
    gap:10px;
    color:inherit;
    text-decoration:none;
}

.nw-trending-item img{
    border-radius:9px;
}

.nw-newsletter-card{
    background:linear-gradient(145deg,#edf9f1 0%,#dff5e6 100%);
    border-color:#d5eedc;
}

.nw-newsletter-icon{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:13px;
    border-radius:12px;
    background:#fff;
    color:#00a651;
    font-size:18px;
}

.nw-newsletter-card h2{
    margin:0 0 7px;
    color:#00a651;
    font-size:18px;
    font-weight:950;
}

.nw-newsletter-card p{
    margin:0 0 14px;
    color:#5e6d63;
    font-size:12px;
    line-height:1.6;
}

.nw-newsletter-card form{
    display:flex;
    flex-direction:column;
    gap:9px;
}

.nw-newsletter-card input,
.nw-newsletter-card button{
    height:43px;
    border-radius:10px;
}

.nw-newsletter-card input{
    padding:0 12px;
    border:1px solid #d8e6dc;
    outline:0;
    background:#fff;
}

.nw-newsletter-card button{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:0;
    background:#00a651;
    color:#fff;
    font-size:12px;
    font-weight:850;
    cursor:pointer;
}

.nw-genre-list{
    display:flex;
    flex-direction:column;
    gap:11px;
}

.nw-genre-list a{
    display:flex;
    align-items:center;
    gap:9px;
    color:#303640;
    font-size:12px;
    font-weight:750;
    text-decoration:none;
}

.nw-genre-list i{
    color:#00a651;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media(max-width:1180px){

    .nw-artists-layout{
        grid-template-columns:minmax(0,1fr) 280px;
    }

    .nw-artists-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:960px){

    .nw-artists-layout{
        grid-template-columns:1fr;
    }

    .nw-artists-sidebar{
        position:static;
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:760px){

    .nw-artists-shell{
        padding:14px 10px 40px;
    }

    .nw-artists-hero{
        min-height:auto;
        padding:25px 20px;
        border-radius:20px;
    }

    .nw-artists-hero h1{
        font-size:34px;
        letter-spacing:-1px;
    }

    .nw-artists-hero p{
        font-size:14px;
    }

    .nw-artists-hero-icon{
        display:none;
    }

    .nw-filter-top{
        grid-template-columns:1fr;
        padding:18px;
    }

    .nw-search-form{
        grid-template-columns:1fr;
    }

    .nw-search-field,
    .nw-select-field,
    .nw-search-form button{
        width:100%;
        height:49px;
    }

    .nw-letters{
        padding:15px 18px 18px;
    }

    .nw-artists-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
    }

    .nw-card-media{
        height:180px;
    }

    .nw-card-content{
        padding:12px;
    }

    .nw-card-content h2{
        font-size:15px;
    }

    .nw-artists-sidebar{
        grid-template-columns:1fr;
    }
}

@media(max-width:480px){

    .nw-artists-hero h1{
        font-size:29px;
    }

    .nw-artists-grid{
        gap:10px;
    }

    .nw-card-media{
        height:145px;
    }

    .nw-trending-badge{
        top:8px;
        left:8px;
        padding:6px 8px;
        font-size:9px;
    }

    .nw-verified-badge{
        top:8px;
        right:8px;
        width:27px;
        height:27px;
    }

    .nw-rank-badge{
        left:8px;
        bottom:8px;
        width:30px;
        height:30px;
        font-size:11px;
    }

    .nw-card-meta span{
        font-size:9px;
    }

    .nw-latest-song{
        min-height:34px;
        padding:8px;
        font-size:9px;
    }
}

/* =========================================================
v3.4.6 — Artists directory card and section refinement
Applies only to /artists/
========================================================= */
body.page-template-page-artists .nw-artists-grid,
body.page-id-0 .nw-artists-grid{
    align-items:stretch;
}

body.page-template-page-artists .nw-artist-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;
}

body.page-template-page-artists .nw-artist-card-media,
body.page-template-page-artists .nw-artist-card-image,
body.page-template-page-artists .nw-artist-card-thumb{
    aspect-ratio:1.35 / 1;
    min-height:0;
    max-height:none;
    overflow:hidden;
    background:#050505;
}

body.page-template-page-artists .nw-artist-card-media img,
body.page-template-page-artists .nw-artist-card-image img,
body.page-template-page-artists .nw-artist-card-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

body.page-template-page-artists .nw-artist-card-body,
body.page-template-page-artists .nw-artist-card-content{
    display:flex;
    flex:1 1 auto;
    flex-direction:column;
    padding:10px 10px 9px;
}

body.page-template-page-artists .nw-artist-card h2,
body.page-template-page-artists .nw-artist-card h3,
body.page-template-page-artists .nw-artist-card-title{
    margin:0 0 4px;
    line-height:1.18;
}

body.page-template-page-artists .nw-artist-card-meta{
    margin-bottom:7px;
}

body.page-template-page-artists .nw-artist-card-action,
body.page-template-page-artists .nw-artist-card .button,
body.page-template-page-artists .nw-artist-card a[class*="view"]{
    margin-top:auto;
    min-height:30px;
    display:flex;
    align-items:center;
}

body.page-template-page-artists .nw-artist-card{
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

@media (hover:hover){
    body.page-template-page-artists .nw-artist-card:hover{
        transform:translateY(-2px);
        box-shadow:0 10px 26px rgba(13,55,39,.09);
        border-color:rgba(0,151,70,.23);
    }
}

body.page-template-page-artists .nw-featured-editorial img,
body.page-template-page-artists .featured-editorial img{
    width:76px;
    height:76px;
    object-fit:cover;
    border-radius:10px;
}

body.page-template-page-artists .nw-featured-editorial article,
body.page-template-page-artists .featured-editorial article{
    grid-template-columns:76px minmax(0,1fr);
    gap:11px;
}

body.page-template-page-artists footer,
body.page-template-page-artists .site-footer{
    margin-top:28px;
}

body.page-template-page-artists .site-footer .footer-inner,
body.page-template-page-artists footer .footer-inner{
    padding-top:28px;
}

@media(max-width:680px){
    body.page-template-page-artists .nw-artist-card-media,
    body.page-template-page-artists .nw-artist-card-image,
    body.page-template-page-artists .nw-artist-card-thumb{
        aspect-ratio:1.45 / 1;
    }

    body.page-template-page-artists .nw-artist-card-body,
    body.page-template-page-artists .nw-artist-card-content{
        padding:8px 8px 7px;
    }

    body.page-template-page-artists .nw-artist-card h2,
    body.page-template-page-artists .nw-artist-card h3,
    body.page-template-page-artists .nw-artist-card-title{
        font-size:12px;
    }

    body.page-template-page-artists .nw-artist-card-meta{
        font-size:9px;
        margin-bottom:5px;
    }

    body.page-template-page-artists .nw-artist-card-action,
    body.page-template-page-artists .nw-artist-card .button,
    body.page-template-page-artists .nw-artist-card a[class*="view"]{
        min-height:27px;
        font-size:8px;
    }
}


/* =========================================================
v3.5.0 — Narrower Artists content and strict viewport fit
========================================================= */

/* The document itself must never be wider than the browser. */
html{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
}

body.page-template-page-artists{
    position:relative!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow-x:hidden!important;
}

/* Neutralise all legacy page-width and viewport breakout rules. */
body.page-template-page-artists #page,
body.page-template-page-artists #wrapper,
body.page-template-page-artists #container,
body.page-template-page-artists #content,
body.page-template-page-artists .group,
body.page-template-page-artists main,
body.page-template-page-artists .site-main{
    position:static!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    transform:none!important;
    translate:none!important;
    left:auto!important;
    right:auto!important;
    float:none!important;
}

/*
 * Reduce the Artists page content visibly.
 * Mobile receives 16px on each side, creating a 32px total safe zone.
 */
body.page-template-page-artists .nw-artists-shell{
    position:relative!important;
    box-sizing:border-box!important;
    width:calc(100% - 32px)!important;
    max-width:1020px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding:18px 0 40px!important;
    transform:none!important;
    translate:none!important;
    left:auto!important;
    right:auto!important;
}

/* Force all directory structures to stay inside the reduced shell. */
body.page-template-page-artists .nw-artists-shell *,
body.page-template-page-artists .nw-artists-layout,
body.page-template-page-artists .nw-artists-main,
body.page-template-page-artists .nw-artists-sidebar,
body.page-template-page-artists .nw-artists-grid,
body.page-template-page-artists .nw-artists-hero,
body.page-template-page-artists .nw-artists-filter-card,
body.page-template-page-artists .nw-filter-top,
body.page-template-page-artists .nw-search-form,
body.page-template-page-artists .nw-letters,
body.page-template-page-artists .nw-artist-card{
    box-sizing:border-box!important;
    min-width:0!important;
    max-width:100%!important;
}

body.page-template-page-artists .nw-artists-layout{
    width:100%!important;
    grid-template-columns:minmax(0,1fr)!important;
}

body.page-template-page-artists .nw-artists-main,
body.page-template-page-artists .nw-artists-sidebar,
body.page-template-page-artists .nw-artists-grid,
body.page-template-page-artists .nw-artists-hero,
body.page-template-page-artists .nw-artists-filter-card{
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
}

/* Native controls can otherwise create a few pixels of Safari overflow. */
body.page-template-page-artists input,
body.page-template-page-artists select,
body.page-template-page-artists button,
body.page-template-page-artists textarea{
    box-sizing:border-box!important;
    width:100%;
    min-width:0!important;
    max-width:100%!important;
}

/* The alphabet row may scroll itself, but never the document. */
body.page-template-page-artists .nw-letters{
    width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
}

/* Full-width site chrome remains within the actual viewport. */
body.page-template-page-artists .nw-site-header,
body.page-template-page-artists .site-header,
body.page-template-page-artists .nw-site-footer,
body.page-template-page-artists .site-footer,
body.page-template-page-artists footer{
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    transform:none!important;
    left:auto!important;
    right:auto!important;
}

body.page-template-page-artists img,
body.page-template-page-artists svg,
body.page-template-page-artists iframe,
body.page-template-page-artists video{
    height:auto;
    max-width:100%!important;
}

@media(max-width:768px){
    body.page-template-page-artists .nw-artists-shell{
        width:calc(100% - 32px)!important;
        max-width:none!important;
    }

    body.page-template-page-artists .nw-artists-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:10px!important;
    }
}

@media(max-width:430px){
    body.page-template-page-artists .nw-artists-shell{
        width:calc(100% - 32px)!important;
    }

    body.page-template-page-artists .nw-artists-hero,
    body.page-template-page-artists .nw-artists-filter-card{
        border-radius:18px!important;
    }

    body.page-template-page-artists .nw-filter-top{
        padding-left:12px!important;
        padding-right:12px!important;
    }
}


/* Mobile overflow fix */
html,body{overflow-x:hidden;}
.nw-artists-shell,
.nw-filter-top,
.nw-search-form,
.nw-artists-grid,
.nw-artist-card,
.nw-search-field,
.nw-select-field{
max-width:100%;
min-width:0;
}
@media (max-width:768px){
.nw-artists-shell{padding:16px 12px 40px;}
.nw-filter-top{display:block;padding:16px 12px;}
.nw-search-form{display:grid;grid-template-columns:1fr;gap:10px;width:100%;}
.nw-search-field,.nw-select-field,.nw-search-form button{width:100%;min-width:0;}
img,svg,iframe,video{max-width:100%;height:auto;}
[class*="container"],[class*="wrap"],[class*="grid"]{min-width:0;}
}


/* v3.5.1: Country filter removed. Search and button only. */
.nw-artists-filter-card .nw-search-form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:12px!important;
  width:100%!important;
}
.nw-artists-filter-card .nw-search-field{grid-column:1!important;min-width:0!important;}
.nw-artists-filter-card .nw-search-form>button{grid-column:2!important;width:auto!important;min-width:135px!important;}
@media(max-width:620px){
  .nw-artists-filter-card .nw-search-form{grid-template-columns:1fr!important;}
  .nw-artists-filter-card .nw-search-field,
  .nw-artists-filter-card .nw-search-form>button{grid-column:1!important;width:100%!important;min-width:0!important;}
}

/* v3.5.23: verified mark belongs beside the artist name, not on top of artwork. */
.nw-card-artist-name {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.nw-card-artist-name > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nw-card-verified-badge {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: #00a651;
    border: 2px solid rgba(255,255,255,.92);
    box-shadow: 0 3px 8px rgba(0,0,0,.12);
}

.nw-card-verified-badge svg {
    width: 11px;
    height: 11px;
    display: block;
}

@media (max-width: 480px) {
    .nw-card-artist-name {
        gap: 5px;
    }
    .nw-card-verified-badge {
        width: 18px;
        height: 18px;
    }
    .nw-card-verified-badge svg {
        width: 10px;
        height: 10px;
    }
}


/* v3.5.23: verification badge is a real button so visitors can open its explanation. */
.nw-card-verified-badge {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    margin: 0;
    padding: 0;
    font: inherit;
    line-height: 1;
}
.nw-card-verified-badge svg { pointer-events: none; }


/* =========================================================
   v3.5.31 CANONICAL ARTIST CARD BADGE + GREEN NAME
   ========================================================= */
.nw-card-artist-name {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    width: 100% !important;
}
.nw-card-artist-name > a {
    display: block !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: calc(100% - 26px) !important;
    min-width: 0 !important;
    color: #00a651 !important;
    text-decoration: none !important;
}
.nw-card-artist-name > a > span {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.nw-card-artist-name .nw-card-verified-badge {
    position: static !important;
    display: inline-flex !important;
    flex: 0 0 20px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #00a651 !important;
    box-shadow: none !important;
    filter: none !important;
    line-height: 1 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
}
.nw-card-artist-name .nw-card-verified-badge svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    color: inherit !important;
    pointer-events: none !important;
}
@media (max-width: 480px) {
    .nw-card-artist-name { gap: 5px !important; }
    .nw-card-artist-name > a {
        max-width: calc(100% - 23px) !important;
    }
    .nw-card-artist-name .nw-card-verified-badge {
        flex-basis: 18px !important;
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
    }
    .nw-card-artist-name .nw-card-verified-badge svg {
        width: 14px !important;
        height: 14px !important;
    }
}


/* =========================================================
   v3.5.31 FINAL VERIFIED BADGE POSITION FIX
   The card badge must sit immediately after the artist name.
   ========================================================= */
.nw-card-artist-name {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
}
.nw-card-artist-name > a {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: calc(100% - 26px) !important;
    min-width: 0 !important;
}
.nw-card-artist-name > a > span {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.nw-card-artist-name > .nw-card-verified-badge {
    position: static !important;
    inset: auto !important;
    flex: 0 0 20px !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}
@media (max-width: 480px) {
    .nw-card-artist-name { gap: 5px !important; }
    .nw-card-artist-name > a {
        max-width: calc(100% - 23px) !important;
    }
    .nw-card-artist-name > .nw-card-verified-badge {
        flex-basis: 18px !important;
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
    }
}

/* =========================================================
   v3.5.31 FINAL: VERIFIED BADGE LOCKED BESIDE ARTIST NAME
   The name and badge share one inline-flex row. This avoids
   legacy heading and button rules separating the badge.
   ========================================================= */
body.page-template-page-artists .nw-card-artist-name {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    overflow: hidden !important;
    white-space: normal !important;
    line-height: 1.2 !important;
}

body.page-template-page-artists .nw-card-artist-name-row {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    vertical-align: middle !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

body.page-template-page-artists .nw-card-artist-name-row > a {
    display: block !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: calc(100% - 26px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #00a651 !important;
    text-decoration: none !important;
    line-height: inherit !important;
}

body.page-template-page-artists .nw-card-artist-name-row > a > span {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body.page-template-page-artists .nw-card-artist-name-row > .nw-card-verified-badge {
    position: static !important;
    inset: auto !important;
    display: inline-flex !important;
    flex: 0 0 18px !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #00a651 !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
}

body.page-template-page-artists .nw-card-artist-name-row > .nw-card-verified-badge svg {
    display: block !important;
    flex: 0 0 auto !important;
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    pointer-events: none !important;
}

@media (max-width: 480px) {
    body.page-template-page-artists .nw-card-artist-name-row {
        gap: 5px !important;
    }
    body.page-template-page-artists .nw-card-artist-name-row > a {
        max-width: calc(100% - 23px) !important;
    }
    body.page-template-page-artists .nw-card-artist-name-row > .nw-card-verified-badge {
        flex-basis: 17px !important;
        width: 17px !important;
        height: 17px !important;
        min-width: 17px !important;
        max-width: 17px !important;
        min-height: 17px !important;
        max-height: 17px !important;
    }
    body.page-template-page-artists .nw-card-artist-name-row > .nw-card-verified-badge svg {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
        min-height: 14px !important;
    }
}

/* v3.5.31 FINAL COLOR CONSISTENCY
   Artist card names and verification marks use the original NaijaWide green. */
body.page-template-page-artists .nw-card-artist-name-row > a,
body.page-template-page-artists .nw-card-artist-name-row > a > span {
    color: #00a651 !important;
}
body.page-template-page-artists .nw-card-artist-name-row > .nw-card-verified-badge,
body.page-template-page-artists .nw-card-artist-name-row > .nw-card-verified-badge svg {
    color: #00a651 !important;
}


/* =========================================================
   v3.5.31 FINAL COLOR + PERFORMANCE CONSISTENCY
   ========================================================= */
body.page-template-page-artists .nw-card-artist-name,
body.page-template-page-artists .nw-card-artist-name-row,
body.page-template-page-artists .nw-card-artist-name-row > a,
body.page-template-page-artists .nw-card-artist-name-row > a > span {
    color: #00a651 !important;
}
body.page-template-page-artists .nw-card-artist-name-row > .nw-card-verified-badge,
body.page-template-page-artists .nw-card-artist-name-row > .nw-card-verified-badge svg {
    color: #00a651 !important;
}
body.page-template-page-artists .nw-card-artist-name-row {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    max-width: 100% !important;
    width: auto !important;
    min-width: 0 !important;
    vertical-align: middle !important;
}
body.page-template-page-artists .nw-card-artist-name-row > .nw-card-verified-badge {
    position: static !important;
    float: none !important;
    inset: auto !important;
    transform: none !important;
    margin: 0 !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
}
body.page-template-page-artists .nw-card-artist-name-row > a {
    color: #00a651 !important;
}
body.page-template-page-artists .nw-card-artist-name-row > a > span {
    color: #00a651 !important;
}
@media (max-width: 480px) {
    body.page-template-page-artists .nw-card-artist-name-row { gap: 5px !important; }
    body.page-template-page-artists .nw-card-artist-name-row > .nw-card-verified-badge {
        flex-basis: 17px !important;
        width: 17px !important;
        height: 17px !important;
    }
}

/* v3.5.31 canonical artist card identity and verified badge */
.nw-artists-grid .nw-card-artist-name{display:block!important;margin:0!important;min-width:0!important;line-height:1.2!important;color:#00A651!important;}
.nw-artists-grid .nw-card-artist-name-row{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;width:auto!important;max-width:100%!important;min-width:0!important;vertical-align:middle!important;color:#00A651!important;}
.nw-artists-grid .nw-card-artist-link,.nw-artists-grid .nw-card-artist-link:visited,.nw-artists-grid .nw-card-artist-link:hover,.nw-artists-grid .nw-card-artist-link:focus{display:inline-block!important;width:auto!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#00A651!important;-webkit-text-fill-color:#00A651!important;text-decoration:none!important;}
.nw-artists-grid .nw-card-artist-link>span{color:#00A651!important;-webkit-text-fill-color:#00A651!important;}
.nw-artists-grid .nw-card-artist-name-row>.nw-card-verified-badge{position:static!important;inset:auto!important;float:none!important;transform:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 18px!important;width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;min-height:18px!important;max-height:18px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#00A651!important;color:#fff!important;line-height:1!important;vertical-align:middle!important;box-shadow:none!important;}
.nw-artists-grid .nw-card-artist-name-row>.nw-card-verified-badge svg{display:block!important;width:12px!important;height:12px!important;min-width:12px!important;max-width:12px!important;min-height:12px!important;max-height:12px!important;color:#fff!important;fill:currentColor!important;}
@media(max-width:480px){.nw-artists-grid .nw-card-artist-name-row{gap:5px!important}.nw-artists-grid .nw-card-artist-name-row>.nw-card-verified-badge{flex-basis:17px!important;width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;min-height:17px!important;max-height:17px!important}}
