/* ── Tattoo Artists – Frontend Grid ── */

.ta-grid {
    display: grid;
    gap: 20px;
    margin: 24px 0;
}

/* Column variants */
.ta-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ta-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ta-cols-4 { grid-template-columns: repeat(4, 1fr); }
.ta-cols-5 { grid-template-columns: repeat(5, 1fr); }
.ta-cols-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
    .ta-cols-5, .ta-cols-6 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .ta-cols-3, .ta-cols-4, .ta-cols-5, .ta-cols-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
    .ta-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }
}
@media (max-width: 360px) {
    .ta-grid { grid-template-columns: 1fr !important; }
}

/* Card */
.ta-artist-card {
    text-align: center;
}
.ta-artist-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.ta-artist-card a:hover .ta-artist-image img,
.ta-artist-card a:hover .ta-artist-image .ta-placeholder {
    transform: scale(1.04);
    opacity: .85;
}

/* ── Plugin image circle ─── */
.ta-artist-image {
    position: relative;
    padding-bottom: 100%;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    background: #000;
}

.ta-artist-image img,
.ta-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease, opacity .25s ease;
    z-index: 1;
}

.ta-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
}

/* ── Page .a-ring wrapper ── */
.a-fog-wrap {
    position: relative;
    display: inline-block;
}

.a-fog-wrap .a-ring {
    position: relative;
    z-index: 1;
    background: #0d0d0d !important;
}

/* Info */
.ta-artist-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ta-artist-name {
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.3;
    color: #1d1d1d;
}
.ta-artist-ig {
    font-size: .8rem;
    color: #888;
}

/* ── Dark background fixes ── */
.a-item {
    background: transparent !important;
}

.dark-strip,
#artists,
.artist-inner {
    background: #080808 !important;
}

/* ── Artist name label ── */
.a-handle {
    font-family: 'Georgia', 'Palatino Linotype', 'Book Antiqua', Palatino, serif !important;
    font-size: 11px !important;
    font-style: italic !important;
    letter-spacing: 1.5px !important;
    color: #c0392b !important;
    text-transform: none !important;
    transition: color 0.3s ease, letter-spacing 0.3s ease !important;
}

.a-item:hover .a-handle {
    color: #e74c3c !important;
    letter-spacing: 2px !important;
}

.a-handle::after {
    background: #c0392b !important;
}

/* ── Kill white backgrounds ── */
.a-grid .a-item,
.a-grid .a-fog-wrap,
#agrid .a-item,
#agrid > * {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

#agrid,
.a-grid > *,
.a-grid > * > * {
    background: transparent !important;
    background-color: transparent !important;
}

/* ── Image rendering ── */
.a-fog-wrap .a-ring img {
    mix-blend-mode: luminosity;
    filter: grayscale(15%) brightness(0.82) contrast(1.08) !important;
    transition: filter 0.4s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1) !important;
}

.a-item:hover .a-fog-wrap .a-ring img {
    mix-blend-mode: normal;
    filter: grayscale(0%) brightness(0.96) contrast(1.04) !important;
}
