/* 192-object two-institution Kemet Vault digital museum, new archive only. */
.kvex-archive{background:#f8f6f0;color:#1c3038;padding:clamp(35px,5vw,75px) 18px;clear:both}
.kvex-archive *{box-sizing:border-box}
.kvex-wrap{max-width:1200px;margin:0 auto}
.kvex-intro{max-width:950px;margin:0 0 28px}
.kvex-intro h2{font-size:clamp(1.8rem,3.7vw,3.25rem);line-height:1.2;color:#23353a;margin:12px 0}
.kvex-intro p,.kvex-footnote p{line-height:1.75;color:#49595c}
.kvex-eyebrow{letter-spacing:.14em;text-transform:uppercase;font-size:.73rem;font-weight:800;color:#806544}
.kvex-rights{border-inline-start:3px solid #ba9e71;padding:12px 16px;background:#efe8dc;font-size:.92rem}
.kvex-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr) minmax(180px,1fr) auto;gap:12px;align-items:end;margin:25px 0 12px}
.kvex-controls label{display:grid;gap:5px;font-size:.82rem;font-weight:750}
.kvex-controls input,.kvex-controls select,.kvex-controls button{width:100%;height:48px;border-radius:10px;padding:9px 13px;border:1px solid #b6c0be;font:inherit;background:white;color:#1c3038;min-width:0}
.kvex-controls button{background:#213e45;color:#fff;cursor:pointer;font-weight:720}
.kvex-status{color:#536b6e;font-size:.88rem;margin:12px 0}
.kvex-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.kvex-card{min-width:0;background:#fff;border:1px solid #dfe2dd;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 5px 24px rgba(8,23,27,.06)}
.kvex-card[hidden],.kvex-empty[hidden]{display:none!important}
.kvex-art-image{height:210px;display:flex;justify-content:center;align-items:center;background:#e7e3dc;overflow:hidden}
.kvex-art-image img{max-width:100%;width:100%;height:100%;object-fit:contain;transition:transform .2s ease}
.kvex-art-image:hover img{transform:scale(1.025)}
.kvex-card-content{padding:17px;display:flex;flex-direction:column;flex:1;gap:8px}
.kvex-card-era{font-size:.7rem;font-weight:750;text-transform:uppercase;letter-spacing:.06em;color:#8a6939;margin:0}
.kvex-card h3{font-size:1.04rem;line-height:1.3;color:#21363a;margin:0 0 5px;overflow-wrap:anywhere}
.kvex-card dl{margin:0;display:grid;gap:6px;font-size:.79rem}
.kvex-card dl div{display:grid;grid-template-columns:66px 1fr;gap:7px}
.kvex-card dt{font-weight:750;color:#586464}.kvex-card dd{margin:0;color:#334f54;overflow-wrap:anywhere}
.kvex-card details{padding-top:9px;border-top:1px solid #e3e6e1;margin-top:6px}
.kvex-card summary{font-size:.85rem;font-weight:800;cursor:pointer;color:#245d64}
.kvex-card details p{font-size:.85rem;line-height:1.6;color:#4c595b}
.kvex-source{margin-top:auto;padding-top:8px;font-size:.8rem;font-weight:700;color:#186475;text-decoration:underline;text-underline-offset:3px}
.kvex-more-wrap{text-align:center;margin:25px}
.kvex-more{padding:13px 24px;background:#1d424a;color:#fff;border:0;border-radius:25px;font-weight:720;cursor:pointer}
.kvex-empty{padding:30px;text-align:center;border:1px solid #bfc9c8;border-radius:12px}
.kvex-footnote{border-top:1px solid #d2d8d1;margin-top:28px;padding-top:24px;max-width:900px}
.kvex-footnote h3{font-size:1.25rem;color:#203d46}
.kvex-archive a:focus-visible,.kvex-archive input:focus-visible,.kvex-archive select:focus-visible,.kvex-archive button:focus-visible,.kvex-archive summary:focus-visible{outline:3px solid #b88944;outline-offset:3px}
@media(max-width:1060px){.kvex-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.kvex-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kvex-controls{grid-template-columns:1fr 1fr}.kvex-controls label:first-child{grid-column:1/-1}}
@media(max-width:520px){.kvex-grid{grid-template-columns:1fr}.kvex-controls{grid-template-columns:1fr}.kvex-controls label:first-child{grid-column:auto}.kvex-art-image{height:255px}.kvex-archive{padding:32px 15px}}
@media(prefers-reduced-motion:reduce){.kvex-art-image img{transition:none}}

.kvex-card .kvex-provider{font-size:.74rem;line-height:1.5;color:#687778;margin:0 0 4px;font-weight:650}
@media(max-width:900px){.kvex-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.kvex-controls label:first-child{grid-column:1/-1}}

/* Once the complete 192-object archive is ready, remove the theme's empty 16-object finder.
   The original source-led curator dossiers and historical touring sections remain visible. */
html.kvex-unified-ready #kvc-museum-collection{display:none!important}
html.kvex-unified-ready #kvex-archive{scroll-margin-top:95px}
html.kvex-unified-ready .kvex-controls{position:relative}
@media(max-width:520px){
 html.kvex-unified-ready #kvex-archive{scroll-margin-top:70px}
 .kvex-status{line-height:1.6}
}

/* Evidence-led provenance status and verified excavation-group comparison */
.kvex-card dl .kvex-findspot,.kvex-card dl .kvex-excavation{padding-top:7px;border-top:1px solid #e7e9e3;grid-template-columns:1fr}
.kvex-card .kvex-findspot dt,.kvex-card .kvex-excavation dt{color:#805e38}
.kvex-related{display:block;width:100%;text-align:left;font:inherit;font-size:.81rem;font-weight:750;color:#174f58;background:#edf4f1;border:1px solid #bad2ca;border-radius:8px;cursor:pointer;padding:11px 12px;margin-top:7px;line-height:1.45}
.kvex-related:hover{background:#e1eee9}
.kvex-related:focus-visible{outline:3px solid #b88944;outline-offset:3px}
