/* A lightweight recreation of the existing WordPress Syntax appearance. */
* { box-sizing: border-box; }
html { background: #fff; scroll-padding-top: 1.5rem; }
body { margin: 0; color: #444; font: 300 18px/1.66667 Merriweather, Georgia, 'Times New Roman', serif; }
a { color: inherit; text-decoration: underline; text-underline-offset: .12em; }
a:hover { color: #111; }
a:focus-visible { outline: 2px solid #596d88; outline-offset: 4px; }
.site-header { background: #333; color: #fff; }
.site-header-wrapper { max-width: 1008px; margin: auto; padding: 18.55px 0; }
.site-title { font-size: 23px; line-height: 1.2913; font-weight: 300; text-decoration: none; }
.site-title:hover { color: #fff; }
.site-main { max-width: 829px; padding: 96px 66px 0; margin: 59.4px auto 0; }
.entry-title { margin: 0 0 30px; text-align: center; font-size: 47px; line-height: 1.264; font-weight: 300; }
.entry-content { margin: 30px 0; overflow-wrap: anywhere; }
h1, h2, h3, h4, h5, h6 { font-weight: 300; line-height: 1.25; margin: 30px 0; }
h2 { font-size: 29px; } h3 { font-size: 23px; } h4 { font-size: 20px; }
p { margin: 0 0 24px; }
ul, ol { padding-left: 36px; margin: 0 0 24px; }
li > ul, li > ol { margin-bottom: 0; }
strong, b { font-weight: 700; }
figure { margin: 0 0 24px; max-width: 100%; }
img { max-width: 100%; height: auto; }
img.latex { display: inline; vertical-align: middle; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-block-image .aligncenter { display: table; }
.alignleft { float: left; margin-right: 24px; }
.alignright { float: right; margin-left: 24px; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.has-large-font-size { font-size: 36px; line-height: 1.4; }
figure figcaption, .wp-caption-text { font-size: .85em; font-style: italic; color: #666; }
pre { background: #f3f3f3; overflow: auto; padding: 24px; font-size: .85em; }
code { font-family: monospace; }
blockquote { margin: 24px; font-style: italic; }
table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin-bottom: 24px; }
th, td { padding: 8px; text-align: left; vertical-align: top; border-bottom: 1px solid #ddd; }
iframe, video { max-width: 100%; }
hr { border: 0; border-top: 1px solid #ddd; margin: 30px 0; }
.site-footer { clear: both; max-width: 697px; margin: 60px auto 30px; padding: 0 24px; text-align: center; color: #666; font-size: 12px; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 8px 16px; background: #fff; z-index: 10; }
.skip-link:focus { top: 12px; }
@media (max-width: 1072px) { .site-header-wrapper { padding-left: 30px; padding-right: 30px; } }
@media (max-width: 800px) {
 body { font-size: 16px; line-height: 1.856; }
 .site-header-wrapper { text-align: center; padding: 30px 24px; }
 .site-main { margin-top: 30px; padding: 30px 24px 0; }
 .entry-title { font-size: 33px; line-height: 1.4; }
 h2 { font-size: 26px; }
 .has-large-font-size { font-size: 28px; }
 ul, ol { padding-left: 26px; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.site-navigation { position: fixed; right: 16px; top: 12px; z-index: 5; font-size: 16px; }
.site-navigation summary { list-style: none; background: #333; color: #fff; width: 44px; height: 44px; text-align: center; cursor: pointer; font: 30px/44px sans-serif; }
.site-navigation summary::-webkit-details-marker { display: none; }
.site-navigation nav { position: absolute; right: 0; top: 54px; background: #333; color: #fff; padding: 12px 20px; width: min(310px, 90vw); box-shadow: 2px 4px 12px #0002; }
.site-navigation nav a { display: block; padding: 10px 0; text-decoration: none; }
.site-navigation nav a:hover { color: #fff; text-decoration: underline; }
.page-tools { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 5; display: flex; gap: 8px; }
.page-tools[hidden] { display: none; }
.page-tools a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #555; background: #fff; border: 1px solid #ddd; border-radius: 6px; box-shadow: 0 2px 6px #0001; }
.page-tools a:hover { color: #111; background: #f5f5f5; }
.page-tools svg { width: 20px; height: 20px; }
.wp-block-image figure { margin-bottom: 0; }
@media (max-width: 800px) { .site-header-wrapper { padding-right: 76px; } }

/* Keep homepage presentation stable after rich text editor normalization. */
.homepage .entry-content p:has(> a[href="/publications/"]) { text-align: center; font-size: 36px; line-height: 1.4; }
.homepage .entry-content p:has(a[href="/hofga/"]) { text-align: center; font-size: 1.1em; }
.homepage .entry-content h2:has(a[href$="/kaleidoscope26/"]) { text-align: center; }
.entry-content img[src$="/fcul.png"] { width: 180px; }
.entry-content img[src$="/lasige.jpg"] { width: 200px; }
.entry-content img[src*="/assets/uploads/imported/"] { vertical-align: middle; }
@media (max-width: 800px) { .homepage .entry-content p:has(> a[href="/publications/"]) { font-size: 28px; } }

/* Front-page report and arXiv chart teasers. */
.stoc-feature, .arxiv-feature { position: relative; margin: 1.8em 0; text-align: center; }
.stoc-headline, .arxiv-headline { display: block; width: 100%; box-sizing: border-box; border: 1px solid #b9d2c7; border-radius: 10px; background: #f7fbf8; padding: 18px 14px; font: inherit; font-size: clamp(21px, 3.3vw, 30px); line-height: 1.4; -webkit-tap-highlight-color: transparent; color: #255f50; cursor: pointer; text-decoration: none; }
.arxiv-headline { font-size: clamp(18px, 2.6vw, 25px); }
.stoc-headline:hover, .arxiv-headline:hover { color: #174d40; background: #f0f8f3; }
.stoc-headline:focus-visible, .arxiv-headline:focus-visible { outline: 2px solid #2f806d; outline-offset: 4px; }
.stoc-preview, .arxiv-preview { display: none; position: absolute; z-index: 4; top: 100%; left: 50%; transform: translateX(-50%); width: min(900px, calc(100vw - 36px)); box-sizing: border-box; padding: 12px; background: #fff; border: 1px solid #dce8e3; border-radius: 8px; box-shadow: 0 10px 32px #0003; }
.stoc-feature:focus-within .stoc-preview, .arxiv-preview:focus-within, .arxiv-headline[aria-expanded="true"] ~ .arxiv-preview { display: block; }
@media (hover: hover) { .stoc-feature:hover .stoc-preview, .arxiv-feature:hover .arxiv-preview { display: block; } }
.stoc-preview img { display: block; width: 100%; height: auto; }
.stoc-report-link { display: inline-block; margin-top: 8px; font: 14px/1.4 sans-serif; }
.arxiv-data-note { display: block; margin-top: 7px; color: #6b7770; font: 12px/1.4 sans-serif; }
@media (max-width: 800px) { .arxiv-preview { position: static; transform: none; width: 100%; margin-top: 8px; } }

.publication-art { position: relative; }
.publication-art-extension { position: absolute; left: 93.36283186%; top: 0; width: 47.23451327%; height: auto; max-width: none; opacity: 1; pointer-events: none; transition: opacity .5s linear; }
.publication-art-extension.is-faded { opacity: 0; }
.publication-art-extension.is-visible { opacity: 1; transition-duration: .25s; }
@media (prefers-reduced-motion: reduce) { .publication-art-extension { transition-duration: .01ms; } }

/* Front-page tabs: photo, "New Reality" list (default), live RH check widget. */
.home-tabs { margin: 0 0 24px; }
.home-tablist { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid #ddd; margin-bottom: 20px; }
.home-tab { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 14px; font: inherit; font-size: 15px; line-height: 1.35; color: #777; cursor: pointer; text-align: left; }
.home-tab:hover { color: #111; }
.home-tab[aria-selected="true"] { color: #2f4a6e; border-bottom-color: #2f4a6e; font-weight: 400; }
.home-tab:focus-visible { outline: 2px solid #596d88; outline-offset: 2px; }
/* Panels share one grid cell, so the block keeps the tallest panel's height and the widget keeps measuring itself while hidden. */
.home-panels { display: grid; }
.home-panel { grid-area: 1 / 1; min-width: 0; visibility: hidden; }
.home-panel.is-active { visibility: visible; }
.home-panel figure { margin: 0; }
.reality-list { list-style: none; counter-reset: pt; margin: 0; padding: 0; }
.reality-list li { counter-increment: pt; display: grid; grid-template-columns: 2em 1fr; gap: 8px; padding: 9px 0; border-top: 1px solid #e3e3e3; }
.reality-list li:last-child { border-bottom: 1px solid #e3e3e3; }
.reality-list li::before { content: counter(pt); font: 14px/1.9 monospace; color: #999; font-variant-numeric: tabular-nums; }
.reality-list li.key { font-weight: 700; color: #333; }
.reality-list li.key::before { color: #2f4a6e; }
@media (max-width: 800px) { .home-tab { font-size: 14px; padding: 8px 10px; } .reality-list li { padding: 7px 0; } }
