
/* Curated historical art — natural responsive proportions, tasteful captions, and accessible fallbacks */
.hist-art{margin:22px 0 26px;max-width:100%;min-width:0;overflow:hidden;border:1px solid #e3ded4;border-radius:15px;background:#f6f1e9;box-shadow:0 7px 24px rgba(15,37,44,.055)}
.hist-art>a{display:block;background:#e7e6df;overflow:hidden}.hist-art img{width:100%;height:255px;object-fit:cover;object-position:center 25%;display:block;transition:transform .3s ease}.hist-art a:hover img{transform:scale(1.025)}
.hist-art figcaption{font-family:system-ui,Arial,sans-serif;color:#58646a;font-size:12px;line-height:1.6;padding:11px 15px}.hist-art figcaption a{color:#7e5c2d;text-decoration:underline;text-underline-offset:2px}
.hist-art.portrait{max-width:395px;margin:4px 0 25px}.hist-art.portrait img{height:330px;object-fit:contain;background:#dedbd0}.hist-art.context img{height:215px}.hist-art.gallery{margin:0}.hist-art.gallery img{height:245px}
.hist-art.unavailable figcaption:before{content:'Historical image unavailable offline · ';font-weight:600}
.hist-figure-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:28px;align-items:start}.hist-figure-row .hist-art{grid-column:2;grid-row:1;margin:0 0 24px}.hist-figure-row .figure-copy{grid-column:1;grid-row:1}
.hist-hero-row{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:27px;align-items:start}.hist-hero-row .hist-art{margin:0 0 20px}.hist-thumb{width:56px;height:63px;border-radius:9px;object-fit:cover;object-position:center 25%;box-shadow:0 3px 9px rgba(0,0,0,.08);flex:none}.hist-person-avatar{display:inline-flex;align-items:center;justify-content:center;width:56px;height:63px;border-radius:9px;flex:none;background:#e9ece9;color:#3f5560;font-size:18px;font-weight:700}
.hist-card-figure{width:100%;height:145px;display:block;object-fit:cover;object-position:center 20%;border-radius:10px;margin-bottom:14px}
.history-art-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,240px);gap:18px;align-items:start}.history-art-row .hist-art{margin:4px 0 10px}.history-art-row .hist-art img{height:155px;object-fit:cover}
.art-gallery{padding-top:38px;padding-bottom:33px}.art-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.art-credit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:30px 0 70px}.credit-entry{border:1px solid #e7e3dc;padding:15px;border-radius:14px;background:#fff;display:flex;gap:16px;align-items:start}.credit-entry img{width:105px;height:138px;object-fit:cover;border-radius:8px}.credit-entry h3{font-size:17px;margin:0 0 5px}.credit-entry p{font-size:12px;color:#56626b;margin:4px 0}.art-credit-nav{display:inline-block;margin-top:10px}
@media(max-width:790px){.hist-hero-row,.hist-figure-row,.history-art-row{grid-template-columns:1fr}.hist-figure-row .hist-art,.hist-figure-row .figure-copy{grid-column:1;grid-row:auto}.hist-art.portrait{max-width:330px}.hist-art img{height:205px}.art-gallery-grid{grid-template-columns:1fr 1fr}.art-credit-grid{grid-template-columns:1fr}}
@media(max-width:560px){.art-gallery-grid{grid-template-columns:1fr}.hist-art.gallery img{height:210px}.credit-entry img{width:85px;height:115px}.hist-art.context{max-width:100%}}

.home-art-strip{display:flex;flex-wrap:wrap;align-items:center;gap:14px;background:#fff8ec;border:1px solid #e5d4b7;border-radius:13px;padding:9px 16px;margin:12px 0 18px;font-size:12px;color:#58646a}.home-art-strip>a:not(.source-link){display:inline-flex;align-items:center;gap:6px;text-decoration:none;color:#31424a}.home-art-strip img.hist-thumb{width:35px;height:39px}.home-art-strip>span{font-weight:700}.gospel-illustration{float:right;width:240px;max-width:40%;margin:0 0 12px 20px}.gospel-illustration .hist-art{width:100%}.gospel-illustration .hist-art img{height:275px}.contentcard .hist-card-figure{object-fit:cover}.hist-hero-row .info-card{margin-top:8px}.hist-hero-row .hist-art img{height:220px}@media(max-width:700px){.gospel-illustration{float:none;width:240px;max-width:100%;margin:10px auto 20px}}
.featuredlink .hist-thumb{width:80px;height:60px;object-fit:cover;flex:none}.home-art-strip .hist-thumb{width:35px;height:39px}

.hist-art>a{background:#eee3ce url('assets/historic-fallback.svg') center / cover no-repeat;min-height:200px}.hist-art img{background:transparent}.hist-thumb,.hist-card-figure,.credit-entry img{background:#eee3ce url('assets/historic-fallback.svg') center / cover no-repeat}
