/* The featured view and the topic index share one set of article links. */
.home-latest{background:#e8ddcf;color:var(--ink);padding:38px 18px 30px;scroll-margin-top:64px}
.home-latest__header{display:flex;align-items:baseline;justify-content:space-between;gap:6px 24px;flex-wrap:wrap;padding-bottom:18px}
.home-latest h2{font:normal clamp(30px,4vw,48px)/1.08 var(--serif);overflow-wrap:break-word}
.home-latest__browse,.home-latest__back,.home-latest__filter{display:inline-flex;align-items:center;gap:8px;min-height:44px;font:14px/1.35 var(--sans);color:#59402d}
.home-latest__browse,.home-latest__back{text-decoration:underline;text-underline-offset:5px}
.home-latest__filter{padding:0 6px;scroll-margin-top:88px}
.home-latest__filter:target{font-weight:600;border-bottom:2px solid #875020}
.home-latest__filters{display:flex;flex-wrap:wrap;gap:3px 15px;padding-bottom:10px}
.home-latest__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
.home-latest__entry,.home-latest__body{min-width:0}
.home-latest h2,.home-latest h3{text-wrap:balance}
.home-latest__link{display:block;color:inherit}
.home-latest__image{display:block;width:100%;height:auto}
.home-latest__meta,.home-latest__credits{font:13px/1.5 var(--sans);color:#5c4938}
.home-latest__entry h3{margin:4px 0 0;font:normal clamp(20px,2.1vw,30px)/1.16 var(--serif);overflow-wrap:break-word}
.home-latest__summary{margin:7px 0 0;max-width:64ch;font:15px/1.48 var(--sans);color:#493c32}
.home-latest__entry[data-feature="lead"] .home-latest__image{aspect-ratio:1.86;object-fit:cover}
.home-latest__entry[data-feature="lead"] .home-latest__body{padding-top:10px}
.home-latest__entry[data-feature="lead"] h3{font-size:clamp(25px,2.8vw,39px)}
.home-latest__entry[data-feature="side"] .home-latest__link:has(img){display:grid;grid-template-columns:minmax(80px,29%) minmax(0,1fr);gap:14px;align-items:start}
.home-latest__entry[data-feature="side"] .home-latest__image{aspect-ratio:1;object-fit:cover}
.home-latest__link:hover h3,.home-latest__filter:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;color:#704019}
.home-latest :focus-visible{outline:2px solid #875020;outline-offset:4px}
.home-latest__credits{margin-top:15px}
.home-latest__credits summary{display:list-item;width:fit-content;min-height:40px;padding:8px 0;cursor:pointer}
.home-latest__credits ul{padding-left:18px}
.home-latest__credits a{text-decoration:underline}
@supports selector(:has(*)){
  .home-latest:not(:has(.home-latest__filter:target)) .home-latest__entry:not([data-feature]),
  .home-latest:not(:has(.home-latest__filter:target)) .home-latest__filters,
  .home-latest:not(:has(.home-latest__filter:target)) .home-latest__back{display:none}
  .home-latest:has(.home-latest__filter:target) :is(.home-latest__browse,.home-latest__image,.home-latest__summary,.home-latest__credits){display:none}
  .home-latest:has(.home-latest__filter:target) .home-latest__list{gap:0 36px}
  .home-latest:has(.home-latest__filter:target) .home-latest__entry{grid-column:auto;grid-row:auto;border-top:1px solid #bfae9e;padding:14px 0}
  .home-latest:has(.home-latest__filter:target) .home-latest__entry .home-latest__link{display:block}
  .home-latest:has(.home-latest__filter:target) .home-latest__body{padding:0}
  .home-latest:has(.home-latest__filter:target) .home-latest__entry h3{font-size:clamp(20px,2vw,26px)}
  .home-latest:has(#reading-art-materials:target) .home-latest__entry:not([data-topic="art-materials"]),
  .home-latest:has(#reading-landscape-prints:target) .home-latest__entry:not([data-topic="landscape-prints"]),
  .home-latest:has(#reading-framing-display:target) .home-latest__entry:not([data-topic="framing-display"]),
  .home-latest:has(#reading-more-reading:target) .home-latest__entry:not([data-topic="more-reading"]){display:none}
}
@media (min-width:600px){
  .home-latest{padding:42px 40px 32px}
  .home-latest__list{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
  .home-latest__entry[data-feature="lead"]{grid-column:1/-1}
}
@media (min-width:980px){
  .home-latest{padding:calc(35*var(--u)) calc(45*var(--u)) calc(25*var(--u))}
  .home-latest__header{padding-bottom:24px}
  .home-latest__list{grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);gap:22px clamp(28px,4vw,64px);align-items:start;align-content:start;grid-template-rows:auto 1fr}
  .home-latest__entry[data-feature="lead"]{grid-column:1;grid-row:1/3}
  .home-latest__entry[data-feature="side"] .home-latest__link:has(img){grid-template-columns:minmax(100px,30%) minmax(0,1fr);gap:clamp(15px,1.6vw,26px)}
  .home-latest:has(.home-latest__filter:target) .home-latest__list{grid-template-rows:auto}
}
