
* {
    font-family: Helvetica, Arial, sans-serif;
}

/* General page styling */

body {
    margin: 40px;
    padding: 0;
    background-color: #ffffff;
    color: #111111;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
}

/* Header */

header {
    margin-bottom: 45px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.subtitle {
    font-size: 12px;
    margin: 0;
    color: #666666;
}


/* Navigation */

nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

nav a,
nav summary {
    color: #111111;
    text-decoration: none;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
}

nav summary {
    list-style: none;
}

nav summary::-webkit-details-marker {
    display: none;
}

nav a:hover,
nav summary:hover {
    text-decoration: underline;
}

/* Dropdown menu */

.dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    margin-left: 15px;
}


/* Year navigation */

.year-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

/* Year heading */

.year-title {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 25px;
}

/* Painting grid */

.painting-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 25px 15px;
    max-width: 1100px;
}

/* Individual paintings */

.painting img {
    width: 100%;
    height: auto;
    display: block;
}

.painting p {
    font-size: 12px;
    margin-top: 8px;
}

/* Header link */

header h1 a {
    color: #111111;
    text-decoration: none;
}

/* Mobile layout */

@media (max-width: 600px) {
    body {
        margin: 20px;
    }

    .painting-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 10px;
    }
}


/* Painting lightbox */

.lightbox-link {
    display: block;
    cursor: zoom-in;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.97);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: zoom-out;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Info page */


/* Info page two-column layout */

.info-page {
    max-width: 1200px;
    margin-top: 35px;
}

.info-columns {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 750px) {
    .info-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


.info-section {
    margin-bottom: 45px;
}

.info-section h2 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 18px;
}

.info-section h3 {
    font-size: 13px;
    font-weight: normal;
    margin-top: 25px;
    margin-bottom: 10px;
}

.info-section p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.info-section a {
    color: #111111;
    text-decoration: underline;
}


/* CV formatting */

.cv h3 {
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 14px;
}

.cv p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.cv a {
    color: #111111;
    text-decoration: underline;
}



/* Exhibition layout */

.exhibition-row {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 15px;
    margin-bottom: 18px;
}

.exhibition-year {
    font-size: 13px;
}

.exhibition-list p {
    margin: 0 0 5px 0;
    line-height: 1.6;
}


/* Artist photograph */

.artist-photo {
    margin-top: 20px;
}

.artist-photo img {
    display: block;
    width: 100%;
    height: auto;
}



/* Mobile layout */

@media (max-width: 600px) {

    /* Header */
    header h1 {
        font-size: 22px;
    }

    /* Painting grids */
    .painting-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px 10px;
    }

    /* Info page */
    .info-page {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-top: 25px;
    }

    .info-columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .info-left,
    .info-right {
        min-width: 0;
    }

    /* Put Bio, Contact, and photo above CV */
    .info-right {
        order: 1;
    }

    .info-left {
        order: 2;
    }

    /* CV */
    .exhibition-row {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 10px;
    }

    /* Artist photograph */
    .artist-photo img {
        width: 100%;
        height: auto;
    }

    /* Lightbox */
    .lightbox img {
        max-width: 95vw;
        max-height: 85vh;
    }

}

