/*
 * page-polish.css (2026-10-14, final production polish). Small, page-scoped refinements to the
 * career-first pages. Not a design system: it only removes the 24px gap WordPress inserts between
 * the sticky header and the first section of a page, and gives the Selected Work hero a tinted
 * ground that runs edge to edge.
 */
.page .wp-site-blocks > main.wp-block-group { margin-block-start: 0; }

/* Edge-to-edge tint without a 100vw box (no horizontal scroll): paint the band with a spread
   shadow and clip it to the viewport. */
.cs-hub-hero { background: #EDF2FB; box-shadow: 0 0 0 100vmax #EDF2FB; clip-path: inset(0 -100vmax); border-bottom: 0; }
.cs-hub-hero .cs-hero-flex { align-items: center; }

/* The hidden <style> that opens the page content counts as the first child, so WordPress's flow
   gap landed on the sub-navigation and on the hero below the breadcrumb. */
.page .cs-lib-nav, .page .cs-lib-breadcrumb + .cs-hub-hero { margin-block-start: 0; }
@media (max-width: 640px) { .cs-lib-nav__inner { row-gap: 0; } .cs-lib-nav__eyebrow { padding-bottom: 4px; } }

/* Articles find rail: the disclosure rows kept a second 40px of padding under each closed summary. */
.ad-findrail__disclosure:not([open]) { padding-bottom: 0; }

/* Footer right column: the Insights links stack like the other columns, the close sits beneath. */
.ad-footer .ad-footer__insights .ad-eyebrow, .ad-footer .ad-footer__connect .ad-eyebrow { margin-top: 0; }
.ad-footer .ad-footer__insights-list { line-height: 1.9; }
.ad-footer .ad-footer__connect { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--wp--preset--color--navy-border); }
