/* ---------- One vertical rhythm (Dec 1, night, her note: "make sure vertical spacing on everything looks good") ----------
   Measured at 1440 wide before: content started only 23px under each backdrop and sections ended 34px before the next
   backdrop, while blocks inside sections sat 46 to 81px apart. Now:
   - under a backdrop, before the first block: 36 to 52px
   - between the big blocks inside a section: 48 to 80px
   - at the end of a section, before the next backdrop: 64 to 104px
   Phones get the small end of each. Linked last so it wins. */
main > .sec > .sheet { padding-top: clamp(36px, 3.4vw, 52px); }
main > .sec:not(.uv-night) { padding-bottom: clamp(64px, 6.4vw, 104px); }
main > .sec > .sheet > :first-child { margin-top: 0; }

/* blocks inside sections */
#pantheon .pm-portals { margin-top: clamp(48px, 5vw, 80px); }
#debate .block-title#teaching { margin-top: clamp(48px, 5vw, 80px); }
#gun-policy .gx-top + .g-k { margin-top: clamp(48px, 5vw, 80px); }
#about.ab-grand .ab-photos.ab-strip { margin-top: clamp(48px, 5vw, 80px); }
/* a label sits close to what it names */
#gun-policy .g-k, #debate .block-title#teaching { margin-bottom: clamp(14px, 1.4vw, 20px); }
/* the two that didn't follow: About ended short, and Music's carousel started 30px lower than every other section */
main > #about.sec { padding-bottom: clamp(64px, 6.4vw, 104px); }
#music .mu, #music .mu > :first-child, #music .mu-car { margin-top: 0; padding-top: 0; }

/* Debate results, closer together (Dec 2, her note: "the space for the results are really terrible vertically it needs to
   be closer"). Before: 95px from the plaques to the numbers, 74px from the numbers to the results, rows 57px tall
   because each name wrapped onto two lines, then 121px to "Debate accessibility". Now the numbers sit just under the
   plaques, the results just under the numbers, three wider columns keep each result on one line, and the usual block
   gap leads into "Debate accessibility". */
#debate .deb-wins { row-gap: 0; }
#debate .deb-wins > .plaques { margin-bottom: clamp(28px, 3vw, 44px); }
#debate .deb-wins > .rr.rr-list { margin: clamp(16px, 1.8vw, 24px) 0 0; }
#debate .rr-list .rr-track { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 0 32px; }
#debate .rr-list .rr-track li { padding: 6px 0; }
#debate .rr-list .rr-track span { line-height: 1.25; }

/* The three signed bills, compressed (Dec 2, her note: "spacing of the bills lobbied for looks really bad vertically
   like it's not compressed enough"): a shorter peek at each first page, the number and title closer, less padding,
   the link right under the line, and less air above the label */
html #gun-policy .gx-top + .g-k { margin-top: clamp(36px, 3.6vw, 52px); }
html #gun-policy .gx-page { aspect-ratio: 1000 / 400; }
html #gun-policy .gx-bill .gx-in { padding: clamp(14px, 1.5vw, 20px) clamp(16px, 1.8vw, 24px) clamp(14px, 1.5vw, 20px); }
html #gun-policy .gx-no { font-size: clamp(30px, 2.6vw, 38px); }
html #gun-policy .gx-bill h3 { margin: 6px 0 2px; }
html #gun-policy .gx-bill p:not(.gx-no) { line-height: 1.45; }
html #gun-policy .gx-bill .go { padding-top: 8px; }
@media (max-width: 900px) { html #gun-policy .gx-page { aspect-ratio: 1000 / 360; } }

/* Research into Music, closer (Dec 2, her note: "there is a weird amt of space between music and then research
   stuff"): the three research cards end the section, so it closes at about half the usual space */
html main > #research.sec { padding-bottom: clamp(36px, 3.4vw, 52px); }

/* Dec 2 (her note: "the spacing is always weird before the new title and backsplash"): every section now ends the same
   short distance before the next backdrop (it was 92px for most, 49 for Research and 43 for Music). */
main > section.sec:not(.uv-night), main > section#music.sec:not(.uv-night), main > section#research.sec:not(.uv-night), main > section#about.sec:not(.uv-night) { padding-bottom: clamp(40px, 3.9vw, 56px); }

/* Dec 2 (her note: "spacing between result of like 3rd mstoc and debate accessibility is too big"): the label sits a
   regular paragraph gap under the last result, not a whole block gap */
main #debate .block-title#teaching { margin-top: clamp(30px, 3vw, 44px); }
