/* CHRNX shell: stable, compact, and intentionally free of scroll animation. */ html[data-theme="light"] body { background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); } html[data-theme="light"] h1, html[data-theme="light"] h2, html[data-theme="light"] h3, html[data-theme="light"] h4, html[data-theme="light"] h5, html[data-theme="light"] h6 { color: var(--wp--preset--color--ink); } @media (prefers-color-scheme: light) { :root:not([data-theme]) { color-scheme: light; } :root:not([data-theme]) body { background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); } :root:not([data-theme]) h1, :root:not([data-theme]) h2, :root:not([data-theme]) h3, :root:not([data-theme]) h4, :root:not([data-theme]) h5, :root:not([data-theme]) h6 { color: var(--wp--preset--color--ink); } } header.wp-block-template-part { position: sticky; z-index: 100; top: 0; background: color-mix(in srgb, var(--wp--preset--color--night) 94%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--muted) 40%, transparent); backdrop-filter: blur(12px); } html[data-theme="light"] header.wp-block-template-part { background: color-mix(in srgb, var(--wp--preset--color--paper) 94%, transparent); border-bottom-color: var(--wp--preset--color--border); } @media (prefers-color-scheme: light) { :root:not([data-theme]) header.wp-block-template-part { background: color-mix(in srgb, var(--wp--preset--color--paper) 94%, transparent); border-bottom-color: var(--wp--preset--color--border); } } .chrnx-site-header__inner, .chrnx-site-footer__inner { gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30); max-width: var(--wp--style--global--wide-size); margin-inline: auto; padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30); } .chrnx-site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; } .chrnx-skip-link { position: fixed; z-index: 1000; top: var(--wp--preset--spacing--20); left: var(--wp--preset--spacing--20); padding: 0.75rem 1rem; transform: translateY(-200%); background: var(--wp--preset--color--green); color: var(--wp--preset--color--night); font-weight: 700; } .chrnx-skip-link:focus { transform: translateY(0); } .chrnx-site-brand { display: flex; align-items: center; min-width: 45px; min-height: 45px; } .chrnx-site-brand img { width: clamp(8.5rem, 12vw, 10.5rem); height: auto; } .chrnx-mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 45px; min-height: 45px; padding: 0; border: 1px solid currentcolor; background: transparent; color: inherit; font-size: 1.4rem; } .chrnx-mobile-menu-toggle[hidden] { display: none; } .chrnx-primary-navigation a, .chrnx-footer-navigation a, .chrnx-header-search button, .chrnx-header-search input { min-width: 45px; min-height: 45px; } .chrnx-primary-navigation a, .chrnx-footer-navigation a { display: inline-flex; align-items: center; padding-inline: 0.55rem; } .chrnx-primary-navigation ul { display: flex; align-items: center; gap: 0.25rem; margin: 0; padding: 0; list-style: none; } .chrnx-header-search { display: flex; align-items: center; gap: 0.25rem; width: auto; } .chrnx-header-search input { box-sizing: border-box; width: min(15rem, 45vw); padding-inline: 0.75rem; } .chrnx-header-search button { display: inline-flex; align-items: center; justify-content: center; padding: 0 0.75rem; border: 1px solid currentcolor; background: transparent; color: inherit; font: inherit; cursor: pointer; } .chrnx-screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .chrnx-theme-toggle { display: none; align-items: center; gap: 0.25rem; min-width: 0; margin: 0; padding: 0; border: 0; } .chrnx-theme-enhanced .chrnx-theme-toggle { display: flex; } .chrnx-theme-toggle legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .chrnx-theme-toggle label { display: inline-flex; align-items: center; justify-content: center; min-width: 45px; min-height: 45px; padding: 0 0.45rem; border: 1px solid transparent; border-radius: 0.35rem; cursor: pointer; } .chrnx-theme-toggle label:has(input:checked) { border-color: currentcolor; background: var(--wp--preset--color--panel); } html[data-theme="light"] .chrnx-theme-toggle label:has(input:checked) { background: var(--wp--preset--color--surface); } .chrnx-theme-toggle input { accent-color: var(--wp--preset--color--green); } .js .chrnx-header-search[data-expanded="false"] input { display: none; } .chrnx-theme-toggle output { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .chrnx-theme-noscript { margin: 0; font-size: var(--wp--preset--font-size--small); } main#chrnx-main { min-height: 50vh; padding-inline: var(--wp--preset--spacing--30); } footer.wp-block-template-part { margin-top: var(--wp--preset--spacing--60); border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--muted) 40%, transparent); } html[data-theme="light"] footer.wp-block-template-part { border-top-color: var(--wp--preset--color--border); } @media (prefers-color-scheme: light) { :root:not([data-theme]) footer.wp-block-template-part { border-top-color: var(--wp--preset--color--border); } } .chrnx-site-footer__line, .chrnx-site-footer__site, .chrnx-site-footer__credit { margin: 0; font-size: var(--wp--preset--font-size--small); } .chrnx-footer-navigation ul { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--20); margin: 0; padding: 0; list-style: none; } @media (max-width: 780px) { .chrnx-site-header__inner { justify-content: flex-start; } .chrnx-primary-navigation { margin-left: auto; } .chrnx-header-search { order: 3; flex: 1 1 10rem; } .chrnx-theme-toggle { order: 4; flex: 1 1 100%; } } @media (max-width: 599px) { .chrnx-mobile-menu-toggle { margin-left: auto; } .chrnx-primary-navigation { order: 3; width: 100%; margin-left: 0; } .chrnx-primary-navigation ul { flex-wrap: wrap; } .chrnx-header-search { order: 4; } .chrnx-theme-toggle { order: 5; } } @media (prefers-reduced-motion: reduce) { .chrnx-skip-link { transition: none; } }