/* Django pages and accessible controls, using the design's tokens and typography. */
html { scroll-padding-top: 96px; }
body { min-width: 280px; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; min-width: 0; }
[hidden] { display: none !important; }
img, video { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px; background: var(--surface); z-index: 200; }
.skip-link:focus { top: 10px; }
.article-list { counter-reset: articles; }
.article-row { counter-increment: articles; }
.article-number::before { content: counter(articles, decimal-leading-zero); }
.feed-status, .empty-copy { color: var(--muted); font-size: 13px; line-height: 1.7; }
.feed-status:empty { display: none; }
.feed-status { margin-top: 24px; }
.empty-copy { padding: 22px 0; }
.empty-copy a, .search-context a, .empty-state a:not(.button) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.feed-more[aria-disabled="true"] { opacity: .6; cursor: wait; }
.archive-page { padding-top: 64px; padding-bottom: 90px; }
.archive-heading { margin-bottom: 48px; }
.archive-heading h1, .article-heading h1, .reading-page > h1 { font-size: clamp(34px, 4.5vw, 56px); line-height: 1.1; letter-spacing: -.05em; font-weight: 600; margin: 18px 0 24px; overflow-wrap: anywhere; }
.archive-page .feed-section { max-width: 840px; }
.archive-page .feed-section .section-heading { display: none; }
.archive-page .article-list { border-top: 2px solid var(--text); }
.search-form { display: flex; gap: 12px; max-width: 680px; }
.search-form input, .editorial-form input, .editorial-form textarea, .editorial-form select { min-width: 0; width: 100%; border: 1px solid var(--line-strong); border-radius: 4px; padding: 12px; background: var(--surface); color: var(--text); }
.search-context { color: var(--muted); font-size: 13px; }
.search-results { margin-top: 52px; }
.search-results h2 { font-weight: 600; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 4px; background: var(--blue); color: var(--surface); padding: 12px 20px; font-size: 13px; font-weight: 600; cursor: pointer; }
.button:hover { background: var(--blue-dark); }
[data-theme="dark"] .button { color: #15191d; }
.reading-page { width: min(calc(100% - 48px), 800px); margin-inline: auto; padding: 60px 0 84px; }
.back-link { display: inline-block; color: var(--blue); font: 12px "IBM Plex Mono", monospace; margin-bottom: 38px; }
.article-heading { border-bottom: 1px solid var(--line-strong); padding-bottom: 28px; margin-bottom: 34px; }
.article-heading p { color: var(--muted); line-height: 1.7; font-size: 15px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font: 11px "IBM Plex Mono", monospace; margin-bottom: 18px; }
.article-cover { display: block; max-height: 540px; margin: 0 auto 36px; border-radius: 4px; }
.prose { font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.prose p, .prose ul, .prose ol, .prose figure { margin: 0 0 24px; }
.prose a, .source-link a, .page-bottom a, .pagination a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose h2 { font-size: 30px; line-height: 1.25; letter-spacing: -.035em; font-weight: 600; margin: 40px 0 20px; }
.prose h3 { font-size: 23px; line-height: 1.3; margin-top: 28px; }
.prose pre { max-width: 100%; overflow-x: auto; padding: 24px; background: var(--surface-subtle); border: 1px solid var(--line); font-size: 13px; line-height: 1.7; white-space: pre; overflow-wrap: normal; }
.prose pre code { padding: 0; background: none; font-size: inherit; }
.prose blockquote { border-left: 3px solid var(--yellow); padding: 0 24px; margin: 30px 0; color: var(--muted); }
.prose img { height: auto !important; }
.prose iframe { width: 100%; max-width: 100%; height: auto; aspect-ratio: 16/9; border: 0; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin-bottom: 24px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 10px 14px; }
.source-link, .page-bottom { padding-top: 24px; margin-top: 40px; border-top: 1px solid var(--line); font: 12px "IBM Plex Mono", monospace; }
.page-bottom { display: flex; justify-content: space-between; gap: 20px; }
.event-details { margin: 32px 0; padding: 24px; background: var(--surface-subtle); border: 1px solid var(--line); }
.event-details h2 { margin-top: 0; font-size: 24px; }
.event-program { margin-top: 40px; }
.talk { padding: 28px 0; border-top: 1px solid var(--line); }
.speaker { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.speaker img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.speaker-company { color: var(--muted); font-size: 12px; margin-top: 5px; }
.editorial-form { max-width: 650px; }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.errorlist { color: #b23932; padding-left: 18px; font-size: 13px; line-height: 1.6; }
[data-theme="dark"] .errorlist { color: #ffa8a0; }
.empty-state { padding: 32px 0; color: var(--muted); line-height: 1.6; }
.empty-state h1, .empty-state h3 { color: var(--text); }
.empty-state .button { margin-top: 20px; }
.pagination { display: flex; justify-content: center; gap: 30px; margin-top: 40px; font: 12px "IBM Plex Mono", monospace; }
.directory-events { max-width: 820px; border-top: 2px solid var(--text); }
.sun-icon { display: none; }
[data-theme="dark"] .sun-icon { display: initial; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="dark"] { color-scheme: dark; }
.modal-open { overflow: hidden; }
.search-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 16vh 0 0; border: 0; background: transparent; color: var(--text); }
.search-dialog::backdrop { background: rgb(12 18 24 / .68); backdrop-filter: blur(4px); }
.search-dialog .search-modal { margin: 0 auto; }
.search-modal form { margin: 0; }
.search-modal input::placeholder { color: var(--muted); }
.site-banner { min-width: 0; margin-block: 28px; text-align: center; }
.site-banner__link { display: inline-block; max-width: 100%; }
.site-banner img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; margin-inline: auto; }
.site-banner--sidebar { margin-top: 0; }
.site-banner--article_end { margin-top: 40px; }
@media (max-width: 980px) {
  html:not(.js) .site-header { height: auto; position: relative; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 16px; }
  html:not(.js) .main-nav { display: flex; position: static; width: 100%; flex-direction: row; flex-wrap: wrap; padding: 12px 0; order: 3; border: 0; font-size: 12px; }
}
@media (max-width: 720px) {
  .reading-page { width: calc(100% - 32px); padding: 38px 0 60px; }
  .archive-page { padding-top: 40px; padding-bottom: 60px; }
  .archive-heading { margin-bottom: 32px; }
  .article-heading h1 { font-size: 34px; }
  .prose { font-size: 16px; }
  .back-link { margin-bottom: 26px; }
  .search-input-wrap input { font-size: 15px; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a, button { transition: none; } }
.article-list[data-autoload="false"] { counter-reset: articles 1; }
.search-input-wrap input:focus-visible { outline: none; }
.search-modal:focus-within { border-color: var(--blue); }
