/* Scoped to the artist directory and artist profiles. Uses the existing IEUM palette. */
.artist-discovery [hidden],.artist-discovery[hidden]{display:none!important}
.ieum-artists-page #overseas-artists[hidden],.ieum-artists-page [data-artist-feature-card][hidden]{display:none!important}
.ieum-artists-page .ieum-directory-hero--artists{box-sizing:border-box;min-height:0;display:block;margin-top:1.4rem;padding:1.8rem 2rem;background:var(--eg-moss,#395b45);color:var(--eg-paper,#f7f4ee);border:0}
.ieum-artists-page .ieum-directory-hero--artists .ieum-directory-eyebrow{color:#f4b49d}
.ieum-artists-page .ieum-directory-hero__copy{padding:0;display:block}
.ieum-artists-page .ieum-directory-hero__copy h1{font-size:clamp(2rem,3.5vw,3rem);line-height:1.15;margin:.45rem 0 .6rem;max-width:none}
.ieum-artists-page .ieum-directory-hero__copy>p:last-child{font-size:1rem;line-height:1.65;max-width:none}
.ieum-artists-page .ieum-artist-board{padding-top:1.5rem!important}
.artist-discovery{max-width:none!important;color:var(--eg-ink,#1d2721)}
.artist-discovery button,.artist-discovery input,.artist-discovery select{font:inherit;color:inherit}
.artist-discovery-search>label{display:block;font-size:1.25rem;font-weight:700;margin-bottom:.65rem}
.artist-discovery-search__row{display:flex;gap:.6rem}
.artist-discovery-search input{min-width:0;flex:1;border:1px solid #7b897d;background:#fffdf8;padding:.85rem 1rem;border-radius:0;font-size:1rem}
.artist-discovery button{cursor:pointer;border:1px solid #8b978b;background:transparent;border-radius:0;min-height:44px;padding:.6rem 1rem;font-weight:600}
.artist-discovery-search__row button{background:var(--eg-moss,#395b45);border-color:var(--eg-moss,#395b45);color:var(--eg-paper,#f7f4ee);min-width:5rem}
.artist-discovery-search #artist-search-help{margin:.5rem 0 1rem;font-size:.85rem;line-height:1.6;color:#53645a}
.artist-discovery-tools{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;align-items:center}
.artist-discovery-filters{display:flex;gap:.5rem;flex-wrap:wrap}
.artist-discovery-filters button[aria-pressed=true]{background:#e3e8dd;border-color:#395b45;box-shadow:inset 0 -3px #395b45}
.artist-discovery-filters span{font-size:.82rem;padding-left:.3rem}
.artist-discovery-kind{display:flex;align-items:center;gap:.6rem;font-size:.85rem;font-weight:600}
.artist-discovery-kind select{max-width:100%;min-height:44px;border:1px solid #8b978b;border-radius:0;background:#fffdf8;padding:.5rem 2rem .5rem .7rem;font-size:.9rem}
.artist-discovery-result{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--eg-line,#d2d7cd);font-size:.9rem}
.artist-discovery-result p{margin:0;font-weight:700;overflow-wrap:anywhere}
.artist-discovery-result a{flex-shrink:0;color:#395b45;font-size:.83rem;text-underline-offset:.25em}
.artist-discovery-empty{padding:2rem 1rem;background:#ece8dc;margin-top:1rem}
.artist-discovery-empty h2{font-size:1.5rem;margin:0 0 .8rem}
.artist-discovery-group{margin:1.6rem 0 2.6rem;scroll-margin-top:1.5rem}
.artist-discovery-group>header>p{font-size:.65rem;letter-spacing:.1em;color:#9a472f;font-weight:700;margin:0 0 .4rem}
.artist-discovery-group h2{font-size:clamp(1.5rem,2.5vw,2rem);line-height:1.35;letter-spacing:-.04em;margin:0 0 1rem}
.artist-discovery-group h2 small{font-size:.8rem;color:#53645a;margin-left:.5rem;font-weight:400;letter-spacing:0}
.artist-discovery-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.artist-discovery-card{margin:0;min-width:0;border:1px solid #b2bbae;background:#fffdf8}
.artist-discovery-card__link{display:flex;flex-direction:column;height:100%;box-sizing:border-box;padding:1.35rem 1.5rem;text-decoration:none;color:var(--eg-ink,#1d2721)!important;min-width:0;transition:background .15s}
.artist-discovery-card__link:hover{background:#eef0e6}
.artist-discovery-card__roman{font-size:.65rem;letter-spacing:.08em;color:#53645a;text-transform:uppercase;line-height:1.5;margin:0 0 .4rem;overflow-wrap:anywhere}
.artist-discovery-card h3{font-size:clamp(1.45rem,2.3vw,1.9rem);line-height:1.35;letter-spacing:-.04em;margin:0 0 .65rem;word-break:keep-all;overflow-wrap:break-word}
.artist-discovery-card__summary{font-size:.95rem;line-height:1.8;margin:0 0 .8rem;word-break:keep-all;overflow-wrap:break-word}
.artist-discovery-card__topics{font-size:.78rem;line-height:1.7;color:#6b503c;margin:0 0 .7rem}
.artist-discovery-card__badges{display:flex;flex-wrap:wrap;gap:.35rem;margin:0 0 1rem;font-size:.75rem;line-height:1.7}
.artist-discovery-card__badges span{padding:.15rem .45rem;background:#e7ecdf;color:#2f4e39}
.artist-discovery-card__cta{display:flex;justify-content:space-between;gap:.5rem;font-size:.8rem;font-weight:700;border-top:1px solid var(--eg-line,#d2d7cd);padding-top:.75rem;margin-top:auto}
.artist-discovery-noscript{padding:1rem;background:#ece8dc}
.artist-discovery :is(a,button,input,select):focus-visible,.single-artist .artist-discovery-toc a:focus-visible,.single-artist [data-artist-return]:focus-visible,.artist-discovery-related a:focus-visible{outline:3px solid #b65b38;outline-offset:4px}
.ieum-artists-page #overseas-artists{padding-top:2rem;border-top:1px solid var(--eg-line,#d2d7cd);margin-top:3rem;scroll-margin-top:1rem}
.single-artist .artist-lineart-hero{height:6rem}
.single-artist .article-shell{padding-top:1.5rem}
.single-artist .artist-discovery-return{font-size:.85rem;line-height:1.6;margin:0 0 1.3rem!important;max-width:none}
.artist-discovery-return a{color:#395b45;text-underline-offset:.25em;display:inline-block;padding:.4rem 0}
.artist-discovery-quick{margin:1.5rem 0 2.5rem;max-width:none!important}
.artist-discovery-exhibition{border-left:3px solid #395b45;padding:1rem 1.25rem;background:#e8ecdf}
.artist-discovery-exhibition p{font-size:.85rem;line-height:1.7;margin:0;color:#44594b}
.artist-discovery-exhibition>a{display:flex;justify-content:space-between;gap:1rem;color:#243e2e;text-decoration:none;padding:.4rem 0;font-size:1.1rem;line-height:1.5}
.artist-discovery-exhibition>a:hover strong{text-decoration:underline;text-underline-offset:.2em}
.artist-discovery-toc{display:flex;flex-wrap:wrap;gap:.5rem 1.2rem;border-block:1px solid var(--eg-line,#d2d7cd);padding:.75rem 0;margin-top:1.25rem;font-size:.9rem}
.artist-discovery-toc a{display:inline-block;padding:.4rem 0;min-height:36px;box-sizing:border-box;text-underline-offset:.25em;color:#395b45}
.artist-discovery-external{font-size:.95rem}
.single-artist .wp-block-post-content h2[id]{scroll-margin-top:1.5rem}
.single-artist .artist-discovery-venue{display:block;font-size:.85rem;line-height:1.7;margin:.25rem 0;color:#53645a}
.artist-discovery-related{margin:3rem 0 2rem;max-width:none!important}
.artist-discovery-related h2{font-size:1.75rem;line-height:1.35}
.artist-discovery-related ul{list-style:none;margin:1rem 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.artist-discovery-related li{margin:0;min-width:0}
.artist-discovery-related a{display:block;height:100%;padding:1rem;border:1px solid #b2bbae;text-decoration:none;box-sizing:border-box;color:#243e2e}
.artist-discovery-related a:hover{background:#e8ecdf}
.artist-discovery-related strong{display:block;font-size:1.05rem;line-height:1.5}
.artist-discovery-related span{display:block;font-size:.8rem;line-height:1.8;margin-top:.4rem;color:#53645a}
.single-artist .artist-discovery-return--bottom{margin-top:2rem!important;padding-top:1rem;border-top:1px solid var(--eg-line,#d2d7cd)}
@media(max-width:640px){
 .ieum-artists-page .ieum-directory-hero--artists{width:calc(100% - 2rem);padding:1.1rem 1.2rem;margin-top:1rem}
 .ieum-artists-page .ieum-directory-hero__copy h1{font-size:2rem;margin:.3rem 0 .6rem}
 .ieum-artists-page .ieum-directory-hero__copy>p:last-child{font-size:.9rem}
 .ieum-artists-page .ieum-artist-board{padding-top:1.1rem!important}
 .artist-discovery-search>label{font-size:1.1rem}
 .artist-discovery-tools{gap:.75rem}
 .artist-discovery-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:.35rem}
 .artist-discovery-filters button{padding:.55rem .7rem;font-size:.82rem}
 .artist-discovery-kind{font-size:.8rem}
 .artist-discovery-kind select{font-size:.85rem}
 .artist-discovery-grid{grid-template-columns:minmax(0,1fr)}
 .artist-discovery-card__link{padding:1.1rem 1.2rem}
 .artist-discovery-group{margin-top:1.2rem}
 .artist-discovery-result{gap:.6rem;font-size:.83rem}
 .artist-discovery-result a{font-size:.75rem}
 .single-artist .artist-lineart-hero{height:3rem}
 .single-artist .article-shell{padding-top:1rem}
 .artist-discovery-toc{gap:.3rem 1rem;font-size:.85rem}
 .artist-discovery-related ul{grid-template-columns:minmax(0,1fr)}
 .artist-discovery-quick{margin-top:1rem}
}
@media(prefers-reduced-motion:reduce){.artist-discovery-card__link{transition:none}}
.artist-back-top{position:fixed;right:1rem;bottom:calc(1rem + env(safe-area-inset-bottom,0px));z-index:40;display:flex;align-items:center;justify-content:center;gap:.35rem;box-sizing:border-box;min-width:64px;min-height:44px;padding:.5rem .7rem;border:1px solid #7b897d;border-radius:2px;background:rgba(247,244,238,.96);color:#284832;font-family:var(--ieum-font-body,system-ui,sans-serif);font-size:.78rem;font-weight:700;line-height:1;cursor:pointer;box-shadow:0 2px 10px #19332c12}
.artist-back-top[hidden]{display:none!important}
.artist-back-top:hover{background:#e5eadf;border-color:#395b45}
.artist-back-top:focus-visible{outline:3px solid #b65b38;outline-offset:3px}

/* One set of artist links, with a reader-selected card or compact list presentation. */
.artist-discovery-result{flex-wrap:wrap}
.artist-discovery-result__actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.artist-discovery-view{display:flex;gap:0}
.artist-discovery-view button{min-height:40px;padding:.5rem .8rem;font-size:.82rem;border-color:#8b978b;font-weight:600}
.artist-discovery-view button+button{margin-left:-1px}
.artist-discovery-view button[aria-pressed=true]{background:#395b45;color:#f7f4ee;border-color:#395b45;position:relative}
.ieum-artists-page[data-artist-view=list] .artist-discovery-grid{grid-template-columns:minmax(0,1fr);gap:0;border-top:1px solid #b2bbae}
.ieum-artists-page[data-artist-view=list] .artist-discovery-card{border:0;border-bottom:1px solid #b2bbae;background:transparent}
.ieum-artists-page[data-artist-view=list] .artist-discovery-card__link{display:grid;grid-template-columns:minmax(150px,.75fr) minmax(0,1.7fr) minmax(170px,.8fr);gap:.35rem 1.4rem;padding:1.2rem .75rem;height:auto;align-items:start}
.ieum-artists-page[data-artist-view=list] .artist-discovery-card__roman{grid-column:1;grid-row:1;margin:0}
.ieum-artists-page[data-artist-view=list] .artist-discovery-card h3{grid-column:1;grid-row:2/4;font-size:1.3rem;margin:0}
.ieum-artists-page[data-artist-view=list] .artist-discovery-card__summary{grid-column:2;grid-row:1/3;margin:0;font-size:.92rem}
.ieum-artists-page[data-artist-view=list] .artist-discovery-card__topics{grid-column:2;grid-row:3;margin:0}
.ieum-artists-page[data-artist-view=list] .artist-discovery-card__badges{grid-column:3;grid-row:1/3;margin:0}
.ieum-artists-page[data-artist-view=list] .artist-discovery-card__cta{grid-column:3;grid-row:3;border:0;padding:0;margin:0}
.ieum-artists-page[data-artist-view=list] .ieum-overseas-feature__grid{grid-template-columns:minmax(0,1fr);gap:0;border-top:1px solid #b2bbae}
.ieum-artists-page[data-artist-view=list] #overseas-artists{margin-top:1rem;padding-top:1rem}
.ieum-artists-page[data-artist-view=list] .ieum-overseas-feature__head{margin-bottom:1rem}
.ieum-artists-page[data-artist-view=list] .ieum-overseas-feature__head h2{font-size:clamp(1.5rem,2.7vw,2rem)}
.ieum-artists-page[data-artist-view=list] .ieum-overseas-feature__head>p{font-size:.85rem;line-height:1.6}
.ieum-artists-page[data-artist-view=list] a.ieum-overseas-card{display:grid;grid-template-columns:124px minmax(0,1fr);gap:1.25rem;align-items:start;padding:1.2rem .75rem;border:0;border-bottom:1px solid #b2bbae;background:transparent}
.ieum-artists-page[data-artist-view=list] .ieum-overseas-card img{width:124px;height:auto;border:0;aspect-ratio:3/2}
.ieum-artists-page[data-artist-view=list] .ieum-overseas-card__copy{padding:0;display:grid;grid-template-columns:minmax(150px,.8fr) minmax(0,1.7fr);gap:.35rem 1.4rem}
.ieum-artists-page[data-artist-view=list] .ieum-overseas-card__roman{grid-column:1;grid-row:1;margin:0}
.ieum-artists-page[data-artist-view=list] .ieum-overseas-card h3{grid-column:1;grid-row:2;font-size:1.3rem;margin:0}
.ieum-artists-page[data-artist-view=list] .ieum-overseas-card__theme{grid-column:1;grid-row:3;margin:0;font-size:.8rem}
.ieum-artists-page[data-artist-view=list] .ieum-overseas-card__excerpt{grid-column:2;grid-row:1/3;font-size:.92rem;margin:0}
.ieum-artists-page[data-artist-view=list] .ieum-overseas-card__cta{grid-column:2;grid-row:3;max-width:160px;margin:0;border:0;padding:0}
@media(max-width:800px){
 .ieum-artists-page[data-artist-view=list] .artist-discovery-card__link{grid-template-columns:minmax(0,1fr);gap:.4rem;padding:1rem .4rem}
 .ieum-artists-page[data-artist-view=list] .artist-discovery-card__link>*{grid-column:1!important;grid-row:auto!important}
 .ieum-artists-page[data-artist-view=list] .artist-discovery-card h3{font-size:1.2rem}
 .ieum-artists-page[data-artist-view=list] .artist-discovery-card__badges{margin:.2rem 0}
 .ieum-artists-page[data-artist-view=list] .artist-discovery-card__cta{max-width:160px}
 .ieum-artists-page[data-artist-view=list] a.ieum-overseas-card{grid-template-columns:82px minmax(0,1fr);gap:.8rem;padding:1rem .3rem}
 .ieum-artists-page[data-artist-view=list] .ieum-overseas-card img{width:82px}
 .ieum-artists-page[data-artist-view=list] .ieum-overseas-card__copy{display:flex;flex-direction:column;gap:.35rem}
 .ieum-artists-page[data-artist-view=list] .ieum-overseas-card h3{font-size:1.15rem}
 .ieum-artists-page[data-artist-view=list] .ieum-overseas-card__excerpt{font-size:.85rem;line-height:1.75}
 .ieum-artists-page[data-artist-view=list] .ieum-overseas-card__theme{font-size:.75rem}
 .ieum-artists-page[data-artist-view=list] .ieum-overseas-card__cta{max-width:none;font-size:.75rem;margin-top:.4rem}
}
@media(max-width:640px){.artist-discovery-result__actions{gap:.7rem}.artist-discovery-view button{min-height:44px}}
