/* Covers expand in document flow, without overlaying the stories below. */
body:has([data-topic-cover], [data-topic-cover-empty]) > main{width:100%;max-width:none;padding-inline:0}
.qoq-topic-cover{width:100%;margin:0 auto 24px;--topic-crop:25svh}
.qoq-topic-cover-half{--topic-crop:50svh}
.qoq-topic-cover-window{position:relative;overflow:hidden;background:#211e1b}
.qoq-topic-cover-window :is(img,video){display:block;width:100%;height:auto;max-width:none}
.qoq-topic-cover.is-collapsible:not(.is-expanded) .qoq-topic-cover-window{height:max(160px,var(--topic-crop))}
.qoq-topic-cover.is-collapsible:not(.is-expanded) .qoq-topic-cover-window :is(img,video){height:100%;object-fit:cover;object-position:center}
.qoq-topic-cover-window > a{display:block;height:100%}
.qoq-topic-cover-window h1{position:absolute;inset:auto auto 55px max(24px,5vw);max-width:80%;margin:0;padding:10px 20px;background:#fbf8f1ed;color:#211e1b;border-inline-start:3px solid #b29359;font:clamp(26px,4vw,62px)/1.1 Georgia,serif;overflow-wrap:anywhere;pointer-events:none}
.qoq-topic-cover-window > .qoq-topic-cover-sponsor{position:absolute;inset:8px auto auto 12px;height:auto;padding:4px 8px;background:#fff;color:#211e1b;font:12px/1.5 Arial,sans-serif;text-decoration:none}
.qoq-topic-cover-controls{height:28px;position:relative;background:#fbf8f1;border-bottom:1px solid #d4c4a7}
.qoq-topic-cover button{position:absolute;inset:-16px auto auto 50%;transform:translateX(-50%);display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #b29359;border-radius:50%;background:#fbf8f1;color:#211e1b;cursor:pointer;font:32px/1 Arial,sans-serif;z-index:2}
.qoq-topic-cover button[hidden]{display:none}
.qoq-topic-cover button:focus-visible{outline:3px solid #70603f;outline-offset:3px}
.qoq-topic-cover button svg{display:block;width:22px;height:22px;color:#94713b;transition:transform .2s ease}
.qoq-topic-cover button[aria-expanded="true"] svg{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.qoq-topic-cover button svg{transition:none}}
.qoq-topic-cover-credit{margin:0;padding:5px 12px;color:#655f58;font:12px/1.5 Arial,sans-serif}
.qoq-topic-cover-empty{height:28px;position:relative;border-bottom:1px solid #d4c4a7;background:#fbf8f1}
.qoq-topic-cover-empty-arrow{position:absolute;left:50%;top:0;transform:translateX(-50%);color:#928570;font:24px/1 Arial,sans-serif}
.qoq-topic-cover-empty .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:600px){.qoq-topic-cover-window h1{left:16px;padding:8px 12px;max-width:calc(100% - 48px)}}

