/*
Theme Name: BioNavira Portal
Description: Public application and account pages for BioNavira.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: bionavira-portal
*/
:root { color-scheme: light; }
body { margin: 0; background: #f5f8f8; color: #20333a; font-family: system-ui, -apple-system, sans-serif; line-height: 1.55; }
.bn-site-bar, .bn-site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem clamp(1rem, 5vw, 4rem); background: white; border-bottom: 1px solid #d5e0e0; }
.bn-brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.25rem; font-weight: 720; letter-spacing: -.035em; }
.bn-brand::before { content: "BN"; background: #315f68; color: white; display: grid; width: 2rem; height: 2rem; place-items: center; font-size: .75rem; border-radius: .55rem; }
.bn-site-bar a, .bn-site-footer a { color: #244e58; text-decoration: none; }
.bn-site-bar nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.bn-site-bar a:hover, .bn-site-footer a:hover { text-decoration: underline; }
.bn-skip { position: absolute; left: .5rem; top: -10rem; z-index: 99999; padding: .6rem 1rem; background: white; color: #193e47; }
.bn-skip:focus { top: .5rem; }
.bn-content { max-width: 62rem; margin: clamp(1.25rem, 4vw, 3.5rem) auto; padding: 0 1rem; min-height: 60vh; }
.bn-page { background: white; border: 1px solid #d5e0e0; border-radius: 1rem; padding: clamp(1.25rem, 4vw, 3rem); overflow-wrap: anywhere; }
.bn-page h1 { margin: 0 0 1.4rem; line-height: 1.16; letter-spacing: -.035em; font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
.bn-page img { max-width: 100%; height: auto; }
.bn-page a { color: #315f68; }
.bn-page :focus-visible, .bn-site-bar :focus-visible { outline: 3px solid #457b86; outline-offset: 3px; }
.bn-site-footer { background: transparent; border: 0; border-top: 1px solid #d5e0e0; font-size: .9rem; }
@media (max-width: 520px) { .bn-site-bar { gap: .6rem; } .bn-site-bar nav { gap: .65rem; } }
