/* Shared masthead alignment and page focus transitions. */
:root { --masthead-top: clamp(140px, 22svh, 240px); }
body.aligned-masthead { overflow-x: clip; }
body.aligned-masthead > main { padding-top: var(--masthead-top); }
body.home-page { align-items: flex-start; }
.aligned-masthead #domain { font-family: "Courier New", Courier, monospace; font-size: clamp(20px, 4vw, 30px); font-weight: 400; line-height: 1.2; letter-spacing: .02em; text-align: center; }
.aligned-masthead #brand { line-height: 1.2; vertical-align: top; }
.aligned-masthead #page-content { transition: opacity var(--motion-page) ease, filter var(--motion-page) ease; }
body:not(.aligned-masthead) > main { transition: opacity var(--motion-page) ease, filter var(--motion-page) ease; }
html.page-focus-enter .aligned-masthead #page-content, html.page-focus-exit .aligned-masthead #page-content,
html.page-focus-enter body:not(.aligned-masthead) > main, html.page-focus-exit body:not(.aligned-masthead) > main { opacity: 0; filter: blur(5px); pointer-events: none; }
html.page-focus-exit .aligned-masthead .brand-button { letter-spacing: .02em; }
html.page-focus-exit .aligned-masthead .crossword-menu { opacity: 0; transition: opacity 300ms ease; pointer-events: none; }
html.page-focus-exit .aligned-masthead .trivia-font-controls { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .aligned-masthead #page-content, body:not(.aligned-masthead) > main { transition: none !important; }
  html.page-focus-enter .aligned-masthead #page-content, html.page-focus-exit .aligned-masthead #page-content,
  html.page-focus-enter body:not(.aligned-masthead) > main, html.page-focus-exit body:not(.aligned-masthead) > main { opacity: 1; filter: none; }
}

:root{--masthead-top:clamp(133px,20.9svh,228px)}
@media(max-width:600px){.archive #page-content > header > h1{font-size:calc(20px * var(--reading-scale,1))!important}}
