/* WordPress integration and shared accessibility adjustments. */
:root { --egao-header-height: 112px; --egao-admin-bar: 0px; }
body.admin-bar { --egao-admin-bar: 32px; }
html { scroll-padding-top: calc(var(--egao-header-height) + 24px + var(--egao-admin-bar)); }
main { margin-top: var(--egao-header-height); }
.header { top: var(--egao-admin-bar); background-color: #fff; }
.header__nav-btn { border: 0; padding: 0; }
.header__nav-item.is-current > a::after { transform: scaleX(1); }
.drawerMenu-open .header__inner { min-height: 100vh; height: 100dvh; }
.drawerMenu-open .header__nav-btn { top: calc(20px + var(--egao-admin-bar)); }
body.menu-is-open { overflow: hidden; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [role="button"]:focus-visible { outline: 3px solid #854012; outline-offset: 5px; }
.footer a:focus-visible, .drawerMenu-open a:focus-visible, .drawerMenu-open button:focus-visible { outline-color: #fff; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; white-space: nowrap; }
.skip-link:focus { clip: auto; clip-path: none; width: auto; height: auto; top: 12px; left: 12px; padding: 14px 20px; z-index: 100000; background: #fff; color: #252525; }
#main-content:focus { outline: none; }
.cv__title img { object-fit: contain; }
.footer__nav > ul { flex-wrap: wrap; row-gap: 16px; }
.footer__nav .sub-menu { display: none; }
@media (max-width: 1280px) { :root { --egao-header-height: 110px; } }
@media (max-width: 980px) { :root { --egao-header-height: 72px; } }
@media (max-width: 782px) { body.admin-bar { --egao-admin-bar: 46px; } }
@media (max-width: 768px) {
    :root { --egao-header-height: 53px; }
    .header__logo { max-width: min(53vw, 256px); }
    .header__nav-btn { flex-shrink: 0; }
    .footer__nav > ul { padding-inline: 12px; }
    .footer__nav > ul a { font-size: 12px; padding-inline: 10px; }
}
@media (max-width: 600px) { body.admin-bar #wpadminbar { position: fixed; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
