/* Exact owner-supplied artwork, clipped in layout without modifying the asset. */
.machaonWordmark{position:relative;display:inline-block;width:6.88em;height:1em;overflow:hidden;vertical-align:-.06em;letter-spacing:normal;line-height:1}
.machaonWordmarkText{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.machaonWordmark>img{position:absolute;display:block;width:111.63%!important;max-width:none!important;height:auto!important;left:-5.81%;top:-30%;margin:0!important;border:0!important;border-radius:0!important;opacity:1!important;filter:contrast(1.14);mix-blend-mode:screen;pointer-events:none}
/* Reserve real header space even where mobile .wrap rules reset padding. */
header .header,header.masthead{padding-block:14px;min-height:80px}
header .brand{min-width:0;max-width:100%}
header .brand>img{width:52px;height:52px;flex-shrink:0;object-fit:contain;border-radius:0}
header .brand>span,header .brand>div{display:flex;flex-direction:column;gap:5px;min-width:0}
header .brand>span>br{display:none}
header .brand .sub{margin-top:0;white-space:normal}
/* A small parent font also aligns plain-text trademarks on legacy headers. */
header .word,header .brand strong:has(>.machaonWordmark){display:inline-flex;align-items:flex-start;gap:3px;font-size:9px;letter-spacing:normal;line-height:1}
header .machaonWordmark{font-size:22px;flex-shrink:0;vertical-align:baseline}
header .wordMark,header .brand strong:has(>.machaonWordmark)>sup{display:block;font-size:9px;line-height:1;vertical-align:baseline;letter-spacing:normal}
/* Match Roman capitals to the cap height of surrounding heading text. */
:is(h1,h2,h3,h4,h5,h6) .machaonWordmark{font-size:.74em;vertical-align:baseline}
.certificate .machaonWordmark>img{filter:contrast(1.14) invert(1);mix-blend-mode:multiply}
@media print{.machaonWordmark>img{filter:contrast(1.14) invert(1);mix-blend-mode:multiply;print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Preserve logo appearance when its existing artwork is linked home. */
header a.machaonHome{color:inherit;text-decoration:none;display:inline-flex;align-items:center}
header a.machaonHome:focus-visible{outline:2px solid #d6c08a;outline-offset:5px}

/* Keep the academy name intact on narrow screens; omit the secondary descriptor. */
header .brand .academySubtitle{white-space:nowrap}
@media(max-width:600px){
 header .brand .digitalSubtitle{display:none}
 header .brand .sub{font-size:clamp(8px,2.2vw,11px);letter-spacing:.08em;line-height:1.4;white-space:nowrap}
}

/* Owner's motto uses the shared bronze on every screen surface. */
:root{--machaon-bronze:#d6c08a;--machaon-accent:#d7c7a0}
.machaonMotto,.companyMotto{color:var(--machaon-bronze)!important;text-shadow:none!important}

/* Match the Lexicon footer links, including the standalone exercise pages. */
footer a[href],footer .footerLinks a{color:var(--machaon-accent)}
footer a[href]:hover,footer a[href]:focus-visible,footer .footerLinks a:hover,footer .footerLinks a:focus-visible{color:#eceff1}
footer a[href]:focus-visible{outline:2px solid #d6c08a;outline-offset:4px}

/* Accent roles: brand descriptors, short title subtitles, and destination labels.
   Never target generic p/small/span, .lede, prices, status or clinical feedback.
   New components opt in with .machaonSubtitle or .machaonEntry. */
@media screen{
 header .brand .academySubtitle,
 header .brand .sub:not(:has(.academySubtitle)),
 header .brand small,
 header .wordmark small,
 header .brand-type .academy,
 body .sectionIntro,
 body .phase .phaseLatin,
 body .figureCopy .role,
 body .fieldGameRole,
 body .machaonSubtitle{color:var(--machaon-accent)}
 body .courseOffer .courseEntry,
 body .fieldGamePlay,
 body .machaonEntry{color:var(--machaon-accent)}
}

/* One type step larger in footers; body, header and certificate mottos retain their scale. */
footer .machaonMotto{font-size:calc(1em + 2px)}


/* Classical spearhead navigation, independent of platform emoji fonts. */
svg.machaonArrow{display:inline-block;width:2.75em;height:auto;min-width:24px;max-width:48px;max-height:44px;flex:none;vertical-align:middle;overflow:visible;color:var(--machaon-accent,#d7c7a0);pointer-events:none}
svg.resourceArrow.machaonArrow{width:24px;height:auto}
@media(max-width:760px){svg.resourceArrow.machaonArrow{width:18px;height:auto;min-width:0}}
@media(forced-colors:active){svg.machaonArrow{color:LinkText}}
@media print{svg.machaonArrow{color:currentColor}}


svg.machaonArrow[viewBox="22 -22 20 64"]{width:14px;min-width:14px;height:32px}
