/* Wes PZ artist image implementation
   Upload this file to: /public_html/wes-pz.3onent.com/assets/css/artist-images.css
   Include after your main stylesheet if these classes are not already covered. */

.hero-bg-img {
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg, url('../images/artist/hero-bg.jpg'));
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

@media (max-width: 700px) {
    .hero-bg-img {
        background-image: var(--hero-bg-mobile, url('../images/artist/hero-bg-mobile.jpg'));
        background-position: center bottom;
    }
}

.about-image,
.artist-gallery-card,
.artist-gallery-card picture {
    overflow: hidden;
}

.about-image img,
.artist-gallery-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.artist-gallery {
    padding: clamp(72px, 9vw, 120px) 0;
    background: var(--dark, #080808);
}

.artist-gallery-header {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: end;
    margin-bottom: 36px;
}

.artist-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.artist-gallery-card {
    position: relative;
    min-height: 280px;
    border: 1px solid rgba(214, 177, 96, .18);
    background: var(--dark-2, #101010);
}

.artist-gallery-card picture {
    display: block;
    width: 100%;
    height: 100%;
}

.artist-gallery-card--wide { grid-column: span 6; aspect-ratio: 4 / 3; }
.artist-gallery-card--square { grid-column: span 3; aspect-ratio: 1 / 1; }
.artist-gallery-card--portrait { grid-column: span 3; aspect-ratio: 4 / 5; }

.artist-gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,0));
    color: var(--off-white, #f5f2ea);
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .artist-gallery-header { display: block; }
    .artist-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .artist-gallery-card--wide,
    .artist-gallery-card--square,
    .artist-gallery-card--portrait { grid-column: span 1; }
}

@media (max-width: 560px) {
    .artist-gallery-grid { grid-template-columns: 1fr; }
}
