/* rows.css · Work only · HOME + WORK · 3 Dec 2026 · the seven campaigns and the five marks (Tony: "Yes, build it"), and the viewer they open */
.m7,.mk5{list-style:none;margin:var(--s5) 0 0;padding:0}
.m7{display:flex;gap:var(--s4) var(--g);align-items:flex-start}
.m7 li{flex:var(--r) 1 0;min-width:0;scroll-margin-top:24px}
.m7 button{all:unset;box-sizing:border-box;display:block;width:100%;cursor:pointer;color:var(--paper)}
.m7 .wp{display:block;aspect-ratio:var(--r)} .m7 img{display:block;width:100%;height:100%;object-fit:contain}
.m7 b{display:block;margin-top:12px;font:600 17px/1.3 var(--display)}
.m7 .t-small{display:block;margin-top:4px} .m7 .t-small i{display:block;font-style:normal}
@media (hover:hover) and (pointer:fine){.m7 button:hover b{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.2em;text-decoration-color:var(--u-hover)}}
.m7 button:focus-visible{outline:2px solid var(--focus);outline-offset:6px}
.mk5{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--s4) var(--g)}
.mk5 li>span{display:flex;align-items:center;height:150px} .mk5 img{display:block;width:auto;height:auto;max-width:100%;max-height:150px}
.mk5 p{margin:var(--s2) 0 0;text-wrap:wrap}
@media (max-width:1200px) and (min-width:961px){.m7{gap:16px} .m7 b{font-size:15px} .m7 .t-small{font-size:14px}}
/* tablet: four, then three, all at one height; the empty piece at the end holds the second line to the height of the first */
@media (max-width:960px) and (min-width:761px){.m7{flex-wrap:wrap} .m7 li{flex:var(--r) 1 calc(var(--r) * 20vw)} .m7::after{content:"";flex:.4564 1 calc(.4564 * 20vw)} .mk5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.m7{display:grid;grid-template-columns:1fr 1fr;gap:32px 16px;align-items:start} .m7 .wp{height:min(118px,calc((50vw - 28px) / 1.4146));width:auto;max-width:100%} .m7 b{font-size:16px} .mk5{grid-template-columns:1fr 1fr;gap:32px 16px} .mk5 li>span{height:112px} .mk5 img{max-height:112px}}
/* one opened: the viewer of Exhibitions */
.xv{position:fixed;left:0;right:0;top:var(--hdr);bottom:0;z-index:30;background:var(--ink);overflow:hidden auto;overscroll-behavior:contain}.xv[hidden]{display:none}html.xv-on{overflow:hidden}html.xv-on .rail{visibility:hidden}
.xv .wrap{min-height:100%;display:flex;flex-direction:column;padding-block:20px 20px;gap:14px;box-sizing:border-box}
.xv-h{display:flex;align-items:center;gap:var(--s1)}.xv-h h2{margin:0;font:700 36px/1.1 var(--display)}.xv-l{margin:0 0 0 var(--s1);flex:1;font:600 22px/1.2 var(--display);color:var(--cyan)}.xv-c{margin:0 var(--s1) 0 0;font-variant-numeric:tabular-nums;white-space:nowrap}
.xv-h .btn{margin-left:var(--s1);white-space:nowrap}.xv-t{margin:0;color:var(--paper-2,#B9BCC4);max-width:none}.xv-t:empty{display:none}.xv-t span{display:block}.xv-t span:first-child{color:var(--paper)}
.xv-s{flex:1 1 0;min-height:260px;position:relative}.xv-s>*{position:absolute;inset:0;width:100%;height:100%;object-fit:scale-down;object-position:center}.xv-s>img{cursor:pointer}
.xv-n{display:flex;justify-content:safe center;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:6px;scrollbar-width:thin;scrollbar-color:var(--line-2) transparent}.xv-n button{flex:none;background:none;border:0;border-bottom:4px solid transparent;padding:0 0 4px;cursor:pointer}.xv-n img{display:block;height:72px;width:auto}
.xv-n button[aria-current=true]{border-color:var(--cyan)}.xv-n button:focus-visible{outline:2px solid var(--cyan);outline-offset:-2px}
@media (max-width:760px){
.xv .wrap{display:grid;grid-template-columns:1fr auto auto;align-items:center;align-content:start;padding-block:16px 32px;gap:10px}.xv-h{display:contents}.xv-h h2{font-size:26px;grid-area:1/1/2/-1}.xv-l{margin:0;font-size:20px;grid-area:2/1}.xv-h .btn{grid-area:2/2/3/-1;margin:0}.xv-t{grid-area:6/1/7/-1;margin-top:6px}.xv-s{grid-area:4/1/5/-1;min-height:0;width:100%;aspect-ratio:var(--r,3/2);max-height:60svh}.xv-c{grid-area:5/1;margin:0}.xv-h .ico:nth-of-type(1){grid-area:5/2}.xv-h .ico:nth-of-type(2){grid-area:5/3}.xv-n{grid-area:7/1/8/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:10px;overflow:visible;margin-top:6px}.xv-n[hidden]{display:none}.xv-n img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;object-position:left bottom}}
.xv-t span:last-child{max-width:900px}
/* the viewer on the phone: Close beside the name, the caption on its own line; the small pictures at one height, the line as wide as the picture */
@media (max-width:760px){.xv-h h2{grid-area:1/1/2/2} .xv-h .btn{grid-area:1/2/2/-1;align-self:start} .xv-l{grid-area:2/1/3/-1} .xv-n{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px} .xv-n button{border:0;padding:0;min-width:44px;text-align:left} .xv-n img{width:auto;height:72px;aspect-ratio:auto;border-bottom:4px solid transparent;padding-bottom:4px;box-sizing:content-box} .xv-n button[aria-current=true] img{border-color:var(--cyan)}}
