.quill-outputs { padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem); max-width: 1200px; margin: auto; color: #172b4d; background: #ffffff; }
.quill-outputs__intro { max-width: 780px; margin-bottom: 2rem; }
.quill-outputs__eyebrow { color: #284ed1; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; }
.quill-outputs h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.18; margin: .75rem 0 1rem; letter-spacing: -.025em; }
.quill-outputs p { color: #526477; line-height: 1.7; }
/* Every thumbnail fills its card edge to edge and is shown whole. The columns are as wide as the pictures are
   (two 1440 x 1050 web captures and one 991 x 1400 page: 1.371 / 0.708 = 1.937), so the three come out the same
   height with no mat around them and nothing cropped. */
.quill-outputs__grid { display: grid; grid-template-columns: minmax(0, 1.937fr) minmax(0, 1.937fr) minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
.quill-outputs figure { display: flex; flex-direction: column; margin: 0; min-width: 0; border: 1px solid #cbd4df; border-radius: 8px; background: white; overflow: hidden; }
.quill-outputs__web { grid-row: auto; }
.quill-outputs figure>a { display: block; }
.quill-outputs img { display: block; width: 100%; height: auto; background: #f5f4f0; }
.quill-outputs__format { display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding: .75rem 1rem; background: #e9edf2; color: #526477; font-size: .75rem; }
.quill-outputs figcaption { flex: 1; display: flex; flex-direction: column; padding: 1rem 1.25rem; color: #526477; line-height: 1.65; font-size: .9rem; }
.quill-outputs figcaption strong { color: #172b4d; display: block; margin-bottom: .25rem; }
.quill-outputs figcaption > a { margin-top: auto; padding-top: .35rem; align-self: flex-start; overflow-wrap: anywhere; }
.quill-outputs .quill-outputs__document { max-width: 100%; margin: auto; }
.quill-outputs a { color: #284ed1; text-underline-offset: 4px; }
.quill-outputs a:focus-visible { outline: 3px solid #284ed1; outline-offset: -3px; }
.quill-outputs__note { font-size: .85rem; margin: 1.5rem 0 .75rem; }
.quill-outputs__more { display: inline-block; padding-block: .5rem; font-weight: 650; }
/* Below 1,140px the third column would be under 215px, too narrow for its label and caption, so the two web
   pages share a row and the document card runs across below them with its page beside its caption. */
@media (max-width: 1139px) {
    .quill-outputs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quill-outputs figure:has(.quill-outputs__document) { grid-column: 1 / -1; flex-direction: row; }
    .quill-outputs figure:has(.quill-outputs__document) > a { flex: 0 0 min(38%, 280px); }
    .quill-outputs figure:has(.quill-outputs__document) figcaption { justify-content: center; }
    .quill-outputs figure:has(.quill-outputs__document) figcaption > a { margin-top: .5rem; }
}
@media (max-width: 760px) {
    .quill-outputs__grid { grid-template-columns: minmax(0, 1fr); }
    .quill-outputs figure:has(.quill-outputs__document) { flex-direction: column; }
    .quill-outputs figure:has(.quill-outputs__document) > a { flex: none; }
}
