/* Shared identity layer. Keeps existing native templates, markers, media and reading preferences. */
html[data-avariel-theme] body.avjh-system{
 --av-paper:#f4e5c5;--av-ink:#2c1b0e;--av-muted:#644926;--av-line:#a8793a;--av-leaf:#714410;--av-inset:#ead6af;
 --ava-button:#092b40;--ava-button-ink:#ffe4a2;--ava-field:#fffaf0;--ava-hover:#16405a;
 --avjh-navy:#021023;--avjh-gold:#ffdc85;
}
html[data-avariel-theme=dark] body.avjh-system{
 --av-paper:#06172d;--av-ink:#f6e9cf;--av-muted:#d9c5a0;--av-line:#a8793a;--av-leaf:#ffdf96;--av-inset:#102d49;
 --ava-button:#092b40;--ava-button-ink:#ffe4a2;--ava-field:#0c243e;--ava-hover:#16405a;
}
body.avjh-system:not(.avjh-home){background:var(--av-paper)!important;color:var(--av-ink)!important;font-family:Georgia,'Times New Roman',serif}
body.avjh-system:not(.avjh-home) :is(.av-content,.avj,.avwg){font-family:Georgia,'Times New Roman',serif}
body.avjh-system :is(.av-site-header,.av-site-footer){background:#021023!important;color:#fff1d0!important;border-color:#a8793a!important}
body.avjh-system .av-header-inner{max-width:1488px;margin:auto;padding:12px 24px;gap:28px;min-height:86px}
body.avjh-system .av-brand{flex:0 1 auto}
body.avjh-system .av-brand .avjh-shared-brand{display:flex;align-items:center;gap:10px;text-decoration:none}
body.avjh-system .av-brand .avjh-shared-brand .custom-logo{width:76px;height:52px;max-width:76px;max-height:52px;object-fit:contain}
body.avjh-system .avhb-wordmark{display:block;margin:0;padding:0}
body.avjh-system .avhb-name{display:block;font:32px/1.1 Georgia,serif!important;text-transform:uppercase;letter-spacing:.07em;color:#ffda83!important}
body.avjh-system .avhb-subtitle{display:block;font:13px/1.5 Georgia,serif!important;text-transform:uppercase;letter-spacing:.13em;color:#fff1d0!important}
body.avjh-system .av-header-actions{order:3;display:flex;align-items:center;gap:10px}
body.avjh-system .av-site-nav{order:2;margin-left:auto}
body.avjh-system .av-menu{gap:22px}
body.avjh-system .av-menu a{font:19px/1.5 Georgia,serif;min-height:48px;display:flex;align-items:center;padding:7px 2px;background:transparent!important;color:#fff1d0!important;border-radius:0}
body.avjh-system .av-menu :is(.current-menu-item,.current-menu-ancestor)>a{color:#ffe095!important;border-bottom:2px solid #eac46c}
body.avjh-system .av-menu a:hover{color:#ffe095!important;text-decoration:underline;text-underline-offset:5px}
body.avjh-system .av-menu .sub-menu{background:#06172d;border-color:#a8793a;padding:12px;min-width:220px}
body.avjh-system :is(.av-menu-toggle,.av-appearance-switch){min-height:44px;border:1px solid #d6b56c!important;color:#ffe4a2!important;background:#092b40!important;box-shadow:inset 0 0 0 1px #76501e;border-radius:5px;font-family:system-ui,sans-serif;font-size:14px}
body.avjh-system .av-sub-toggle{color:#ffe095!important}
body.avjh-system:not(.avjh-home) .av-main{padding-top:36px;padding-bottom:48px}
body.avjh-system .av-page-title{font-family:Georgia,serif;letter-spacing:.02em}
body.avjh-system :is(.avj,.avr-shell){--avj-paper:var(--av-paper)!important;--avj-ink:var(--av-ink)!important;--avj-green:var(--av-leaf)!important;--avj-line:var(--av-line)!important;--avj-muted:var(--av-muted)!important;--avr-paper:var(--av-paper)!important;--avr-ink:var(--av-ink)!important;--avr-green:var(--av-leaf)!important;--avr-edge:var(--av-line)!important}
/* Reserve the reader's image/toolbar/text footprint while the existing deferred reader initializes. */
body.avjh-system [data-avariels-cinematic-reader]:not([data-ready="true"]){min-height:1100px;min-height:calc(320px + clamp(420px,55dvh,620px) + min(585px,calc((100vw - 112px)*.563)))}
@media(max-width:600px){body.avjh-system [data-avariels-cinematic-reader]:not([data-ready="true"]){min-height:1000px;min-height:calc(895px + (100vw - 96px)*.563)}}
body.avjh-system :is(.avj-map,.avj-map-info,.avj-next,.avj-coming-scene,.avwg-card,.avwg-map,.avwg-search,.avsr-map-card,.avsr-details){border-color:var(--av-line)!important}
body.avjh-system :is(.avj-button,.avwg-button,.wp-block-button__link,.wp-block-search__button){display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:2px solid #b7863c!important;border-radius:7px 2px;background:#092b40!important;color:#ffe4a2!important;box-shadow:inset 0 0 0 1px #76501e;padding:10px 20px;font:18px/1.4 Georgia,serif;text-decoration:none}
body.avjh-system :is(.avj-button,.avwg-button,.wp-block-button__link,.wp-block-search__button):hover{background:#16405a!important;color:#fff4d6!important}
body.avjh-system .av-content :is(input,select,textarea,button){font-family:system-ui,sans-serif}
body.avjh-system :is(.avj-kicker,.avj-meta,.avwg-eyebrow,.avwg-muted,.av-meta){color:var(--av-muted)!important}
body.avjh-system:not(.avjh-home) :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #fff!important;outline-offset:4px;box-shadow:0 0 0 7px #173d67!important}
body.avjh-system .av-skip{position:fixed;z-index:999999;background:#fff;color:#10233b;border:3px solid #8c591e}
body.avjh-system .av-skip:focus{top:12px}
/* The legacy Categories block has a visually hidden label; constrain it without removing its accessible name. */
body.avjh-system .screen-reader-text{border:0!important;clip:rect(1px,1px,1px,1px)!important;clip-path:inset(50%)!important;height:1px!important;width:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important}
body.avjh-system .screen-reader-text:focus{clip:auto!important;clip-path:none!important;height:auto!important;width:auto!important;overflow:visible!important;white-space:normal!important}
.avjh-shared-ending{min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:36px 20px;background:linear-gradient(#03152ba6,#03152ba6),url('mountains.webp') center 65%/cover;border-block:1px solid #a8793a;color:#fff0d0}
.avjh-shared-ending p{font:italic clamp(26px,3vw,40px)/1.5 Georgia,serif;margin:0;text-shadow:0 2px 5px #000}
.avjh-shared-ending span{font:28px/1.5 Georgia,serif;color:#ffdc85}
body.avjh-system .av-site-footer{font:14px/1.5 Georgia,serif;padding:20px}
html[data-avariel-theme=light] body.avjh-system :is(.av-site-header,.av-site-footer){background:#f4e5c5!important;color:#302010!important}
html[data-avariel-theme=light] body.avjh-system .avhb-name{color:#6f4314!important}
html[data-avariel-theme=light] body.avjh-system .avhb-subtitle,html[data-avariel-theme=light] body.avjh-system .av-menu a{color:#302010!important}
html[data-avariel-theme=light] body.avjh-system .av-menu :is(.current-menu-item,.current-menu-ancestor)>a{color:#714410!important;border-color:#714410}
html[data-avariel-theme=light] body.avjh-system .av-menu .sub-menu{background:#f4e5c5}
@media(max-width:1100px){body.avjh-system .av-header-inner{gap:16px}body.avjh-system .av-menu{gap:16px}body.avjh-system .av-menu a{font-size:17px}body.avjh-system .avhb-name{font-size:26px!important}body.avjh-system .avhb-subtitle{font-size:10px!important}body.avjh-system .av-brand .avjh-shared-brand .custom-logo{width:54px;max-width:54px}}
@media(max-width:900px){body.avjh-system .av-header-inner{padding:12px 16px;flex-wrap:wrap;gap:10px}body.avjh-system .av-brand{flex:1;min-width:0}body.avjh-system .av-header-actions{order:2;flex-wrap:wrap;justify-content:flex-end;max-width:48%}body.avjh-system .av-site-nav{order:3;flex-basis:100%;margin:0}body.avjh-system .av-menu{gap:4px;display:block}body.avjh-system .av-menu a{padding:10px 12px;min-height:46px}body.avjh-system .av-menu :is(.current-menu-item,.current-menu-ancestor)>a{border-bottom:0;border-left:2px solid #eac46c;background:#102d49!important}html[data-avariel-theme=light] body.avjh-system .av-menu :is(.current-menu-item,.current-menu-ancestor)>a{background:#ead6af!important}body.avjh-system .avhb-name{font-size:23px!important}body.avjh-system .avhb-subtitle{font-size:9px!important}body.avjh-system .av-brand .avjh-shared-brand .custom-logo{width:44px;max-width:44px;height:44px}.avjh-shared-ending{min-height:155px}}
@media(max-width:420px){body.avjh-system .av-header-inner{gap:8px}body.avjh-system .av-header-actions{max-width:42%;gap:6px}body.avjh-system :is(.av-menu-toggle,.av-appearance-switch){font-size:12px;padding:8px 10px}body.avjh-system .avhb-name{font-size:20px!important}body.avjh-system .avhb-subtitle{font-size:8px!important}body.avjh-system .av-brand .avjh-shared-brand .custom-logo{width:34px;max-width:34px;height:40px}}
/* Native WordPress sign-in and recovery retain their existing form and security behavior. */
body.login{background:#021023;color:#fff1d0;font-family:Georgia,serif}
body.login #login{width:min(380px,calc(100% - 32px));padding-top:40px}
body.login h1 a{background-image:url('crest.webp')!important;background-size:contain;width:180px;height:110px;margin-bottom:20px}
body.login :is(form,.message,.notice){background:#f4e5c5;color:#2c1b0e;border:1px solid #a8793a;box-shadow:0 10px 30px #0004}
body.login form{border:3px double #a8793a;border-radius:8px;padding:24px}
body.login label{color:#2c1b0e;font:16px/1.5 Georgia,serif}
body.login .input{background:#fffaf0;color:#10233b;border-color:#9b6427;font:20px/1.5 system-ui,sans-serif}
body.login .button-primary{background:#092b40;color:#ffe4a2;border:2px solid #b7863c;min-height:46px;font:16px/1.4 system-ui,sans-serif;padding:8px 16px}
body.login :is(#nav,#backtoblog) a{color:#fff1d0;text-decoration:underline;text-underline-offset:4px}
body.login :is(#nav,#backtoblog) a{display:inline-flex;align-items:center;min-height:44px}
body.login .nfd-sso-hosting-login__divider span{background:#f4e5c5;color:#2c1b0e}
body.login .privacy-policy-page-link a{color:#fff1d0}
body.login :is(a,button,input,select):focus-visible{outline:3px solid #fff;outline-offset:4px;box-shadow:0 0 0 7px #173d67}
@media(prefers-reduced-motion:reduce){body.avjh-system *,body.login *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(forced-colors:active){body.avjh-system :is(.av-site-header,.av-site-footer,.avj-button,.avwg-button),body.login form{border:2px solid CanvasText}.avjh-shared-ending{background:Canvas;color:CanvasText}body.avjh-system :focus-visible,body.login :focus-visible{outline-color:Highlight!important}}
@media print{.avjh-shared-ending{display:none}body.avjh-system:not(.avjh-home){background:white!important;color:black!important}}
