/* ============================================================
   GLOBAL RESET & BASE STYLES
   ============================================================ */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #fafafa;
    color: #222;
    line-height: 1.5;
}

/* ============================================================
   PAGE WRAPPER — pushes content below menu
   ============================================================ */

.page-wrapper {
    padding-top: 140px; /* ensures artist name is visible */
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* ============================================================
   HEADINGS
   ============================================================ */

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #000;
}

.artist-name {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #000;
}

/* ============================================================
   ROSTER PAGE GRID
   ============================================================ */

.artist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 10px;
}

.artist-card {
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
}

/* Desktop square images */
.artist-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;

    max-width: 300px;
    max-height: 300px;
    margin: 0 auto;
}

.artist-card h2 {
    margin-top: 10px;
    font-size: 20px;
}

/* ============================================================
   MOBILE ROSTER LAYOUT
   ============================================================ */

@media (max-width: 900px) {

    .artist-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .artist-card img {
        aspect-ratio: auto;
        width: 100%;
        height: auto;
        max-width: none;
        max-height: none;
    }
}

/* ============================================================
   ARTIST DETAIL PAGE
   ============================================================ */

.artist-photo {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;

    display: block;            /* REQUIRED for centering */
    margin-left: auto;         /* REQUIRED for centering */
    margin-right: auto;        /* REQUIRED for centering */
    margin-bottom: 20px;
}


.artist-bio {
    font-size: 18px;
    margin-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.image-credit {
    font-size: 14px;
    color: #555;
    text-align: center;
    margin-bottom: 10px;
}

.image-credit a {
    color: #0077cc;
    text-decoration: none;
}

.image-credit a:hover {
    text-decoration: underline;
}

/* ============================================================
   LINKS SECTION
   ============================================================ */

.artist-links {
    max-width: 700px;
    margin: 30px auto;
}

.artist-links ul {
    list-style: none;
    padding: 0;
}

.artist-links li {
    margin-bottom: 8px;
}

.artist-links a {
    color: #0077cc;
    text-decoration: none;
}

.artist-links a:hover {
    text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
    text-align: center;
    padding: 40px 0;
    font-size: 14px;
    color: #555;
}
