/* Home page photos (from The War in Pictures). */
.hero.has-photo{isolation:isolate}
.hero .hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:.5;filter:grayscale(.2) contrast(1.05)}
.hero.has-photo::before{z-index:-1}
.hero.has-photo::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(20,23,27,.92) 0,rgba(20,23,27,.7) 45%,rgba(20,23,27,.35) 100%)}
.chap{margin:.4rem 0 .9rem}
/* Show each chapter photo whole (no cropping), so tall photos keep their faces. */
.chap img{display:block;width:auto;max-width:100%;height:auto;max-height:28rem;border-radius:6px;background:#1b1f24}
.chap a:hover img{filter:brightness(1.05)}
.chap figcaption{font-size:.88rem;color:var(--mut);margin-top:.35rem;line-height:1.45}
.chap figcaption span{white-space:nowrap}
.pix-row{display:grid;gap:.8rem;grid-template-columns:repeat(auto-fill,minmax(18rem,1fr));margin:1rem 0 1.2rem}
.pix-tile{position:relative;display:block;aspect-ratio:3/2;border-radius:var(--r);overflow:hidden;background:#1b1f24;color:#fff;text-decoration:none}
.pix-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.pix-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.8))}
.pix-tile span{position:absolute;left:.9rem;right:.9rem;bottom:.7rem;z-index:1;font-size:.85rem;color:#d6dade}
.pix-tile b{display:block;font:700 1.15rem Charter,Georgia,serif;color:#fff}
.pix-tile:hover img,.pix-tile:focus-visible img{transform:scale(1.04)}
@media(prefers-reduced-motion:reduce){.pix-tile img{transition:none}.pix-tile:hover img{transform:none}}
/* Fix: hero content was wider than the screen on phones (flex item min-width). */
.hero>.wrap{width:100%;min-width:0}
