/* Aevium theme: what WordPress adds to the design (hand-written; the design's own
   styles are site.css and sections.css, imported unchanged). */

/* WordPress' wrappers take no space of their own. (WordPress' own spacing between
   blocks is zero in theme.json and has no specificity, so the design's margins win;
   nothing here may override them.) */
.wp-site-blocks,.wp-block-template-part{padding:0}

/* The editor's admin bar (logged-in previews only; the public copy has none). */
body.admin-bar .nav{top:32px}
@media (max-width:782px){body.admin-bar .nav{top:46px}}
body.admin-bar .subnav{top:97px}

/* ---------- Transmissions: the ledger ---------- */
.ledger-head{display:flex;justify-content:space-between;align-items:flex-end;gap:26px;flex-wrap:wrap;margin-bottom:26px}
.ledger-head .h2{margin-bottom:0}
.registry .logrow.pending{border-bottom:0}
.registry .logrow:last-child{border-bottom:0}
.ledger-pages{display:flex;justify-content:space-between;gap:26px;margin-top:26px;font-family:var(--font-mono);font-size:10px;letter-spacing:.2em;text-transform:uppercase}
.tx-pager{padding-top:0}
.tx-pager .logrow .m{color:#00E5FF}

/* ---------- Transmissions: one post ---------- */
.tx-back{margin-top:26px;font-family:var(--font-mono);font-size:10px;letter-spacing:.2em;text-transform:uppercase}
.tx-content>p:not([class]),.tx-content>ul,.tx-content>ol{font-size:16px;color:var(--silver);line-height:1.95;margin-bottom:16px;text-wrap:pretty}
.tx-content>ul,.tx-content>ol{padding-left:1.4em}
.tx-content h2,.tx-content h3,.tx-content h4{font-family:var(--font-mono);font-weight:700;color:#fff;letter-spacing:.14em;text-transform:uppercase;margin:32px 0 16px;font-size:14px}
.tx-content h2::before{content:'// ';color:#00E5FF}
.tx-content blockquote{border-left:2px solid #00E5FF;padding:6px 0 4px 22px;margin:26px 0;color:#E0E0E0}
.tx-content figure,.prose figure{margin:26px 0}
.tx-content figcaption,.prose figcaption{font-family:var(--font-mono);font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#666;margin-top:9px}
.tx-content pre,.prose pre{font-family:var(--font-mono);font-size:12.5px;line-height:1.8;color:#E0E0E0;background:#000;border:1px solid #1A1A1A;padding:20px 22px;overflow-x:auto;margin:26px 0}
.tx-content pre code,.prose pre code{background:none;border:0;padding:0;color:inherit}
/* A heading's subtitle, a line of its own: "I. The Acoustic Minor Theorem" over
   "(Topological Validation)". */
.tx-content h2 .tx-h2-sub{display:block;margin-top:5px;font-size:11px;font-weight:400;color:#777}
/* A formula set apart (the maths between \( \) in a paragraph of class tx-eq): on a
   phone too narrow for it the line breaks after "=" or an operator, where a display
   formula (\[ \]) would have to be scrolled sideways. */
.tx-eq{color:#fff;margin:12px 0 4px;line-height:1.9;text-wrap:wrap}
.tx-eq .katex{font-size:1.18em}

/* ---------- Ordinary pages (templates/page.html) ---------- */
.page-body .prose{max-width:760px}
.prose>*+*{margin-top:16px}
.prose p,.prose li{font-size:15px;color:var(--silver);line-height:1.9;text-wrap:pretty}
.prose h2{font-family:var(--font-display);font-weight:900;color:#fff;letter-spacing:.04em;text-transform:uppercase;line-height:1.2;font-size:clamp(22px,2.6vw,32px);margin-top:48px}
.prose h3{font-family:var(--font-display);font-weight:700;color:#fff;letter-spacing:.04em;text-transform:uppercase;font-size:18px;margin-top:32px}
.prose ul,.prose ol{padding-left:1.4em}
.prose blockquote{border-left:2px solid #00E5FF;padding:6px 0 4px 22px;color:#E0E0E0}

/* Media from the editor never overflows a phone screen. */
.tx-content img,.prose img,.tx-content video,.prose video,.tx-content iframe,.prose iframe{max-width:100%;height:auto}
.wp-block-embed__wrapper{position:relative}
.wp-block-table{overflow-x:auto}
.wp-block-table table{border-collapse:collapse;font-family:var(--font-mono);font-size:12px}
.wp-block-table td,.wp-block-table th{border:1px solid #1A1A1A;padding:9px 13px}

.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal}
.uplink-form button[disabled]{opacity:.5;cursor:progress}
