/*!
 * artist.css — artist index (artist.html) and artist pages (artist/*).
 * Stands in for tabin.css, galleryBox.css and artist.js, which loaded from
 * the live domain and were never archived. Without them the index was one
 * unbroken run of text, and the artist pages kept a loading overlay on top
 * of their 藝術經歷 section. Artist photos and artwork images were lost in
 * the scrape; the artwork tiles keep their frames as placeholders.
 */

/* The overlay hid the accordion until artist.js had built it */
#contLd { display: none; }

.back {
    display: inline-block;
    margin: 12px 0 4px;
    color: #069;
}

/* ---- Artist entries (index and the header of each artist page) ---- */
.artistBox {
    padding: 22px 0;
    border-bottom: 1px dotted #aaa;
    line-height: 1.8;
    color: #333;
}

.artistList hr { display: none; }

.artistInf h2 {
    margin-bottom: 4px;
    font-size: 20px;
    font-weight: bold;
    color: #222;
}

.artistInf p {
    font-size: 14px;
    color: #777;
}

/* "PAST" heads the former residents on the index */
.notWork {
    margin-top: 36px;
    padding: 10px 0 7px;
    background: #282828;
    color: #eee;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
}

/* ---- Sections on an artist page: 藝術經歷 / 作品介紹 / 相關文章 ---- */
#tabAccordion dl { margin-top: 32px; }

#tabAccordion dt h2 {
    padding: 10px 14px 8px;
    background: #282828;
    color: #eee;
    font-size: 16px;
    font-weight: bold;
}

#tabAccordion dt h2 a { color: inherit; }

#tabAccordion dd { margin: 0; }

#tabAccordion .olyt {
    margin: 22px 0 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #ccc;
    font-size: 18px;
    font-weight: bold;
}

#tabAccordion h3 {
    margin: 18px 0 4px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* One exhibition or award per row: year, then description */
.ltBox {
    display: flex;
    gap: 16px;
    padding: 6px 0;
    border-bottom: 1px dotted #ddd;
    line-height: 1.6;
}

.ltBox .dy {
    flex: 0 0 52px;
    color: #888;
}

.ltBox .cont {
    flex: 1;
    min-width: 0;
}

/* Artworks */
#d2 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 20px;
    padding-top: 20px;
}

#d2 .prdImgBox {
    aspect-ratio: 1 / 1;
    border: 1px solid #ccc;
    background: #f6f6f6;
}

#d2 .prdL {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

#d2 .prdTtl {
    font-size: 15px;
    font-weight: bold;
    color: #222;
}

/* Related articles */
#notes .nTtl {
    margin: 18px 0 4px;
    font-weight: bold;
}

#notes .nCont {
    color: #555;
    line-height: 1.8;
}

@media screen and (max-width: 700px) {
    #d2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
}
