.header-container {
    position: static;
    display: flex;
    align-items: center;
}

.header-link {
    display: flex !important;
    align-items: center;
    gap: 25px;
    width: auto !important;
    min-width: 0;
    flex: 1;
}

header { position: relative; }

.vision-mode-btn {
    position: absolute;
    right: 20px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    height: 38px;
    min-height: 38px;
    padding: 4px 10px;
    border: 0;
    border-radius: 0;
    color: #ffffff;
    background: #075087;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.vision-mode-btn:hover { background: #063f6b; }
.vision-mode-btn:focus-visible { outline: 4px solid #facc15; outline-offset: 3px; }
.vision-mode-icon { width: 28px; height: 28px; color: #70a4c8; flex: 0 0 auto; }

body.visual-mode {
    color: #000000;
    background: #ffffff;
    font-size: 125%;
    line-height: 1.8;
}

body.visual-mode header,
body.visual-mode main,
body.visual-mode .main-content,
body.visual-mode .intro-text,
body.visual-mode .news-card,
body.visual-mode .document-card,
body.visual-mode .contact-card {
    color: #000000;
    background-color: #ffffff;
    border-color: #000000;
    box-shadow: none;
}

body.visual-mode header *,
body.visual-mode main *,
body.visual-mode .container * { color: #000000 !important; }
body.visual-mode nav,
body.visual-mode footer { background: #000000; }
body.visual-mode footer * { color: #ffffff !important; }
body.visual-mode nav a {
    color: #ffffff !important;
    font-size: 1.05rem;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
body.visual-mode nav a:hover,
body.visual-mode nav a:focus,
body.visual-mode nav a.active {
    color: #000000 !important;
    background: #facc15;
    border-bottom-color: #000000;
}
body.visual-mode .vision-mode-btn {
    color: #000000 !important;
    background: #facc15;
    outline: 2px solid #000000;
}
body.visual-mode .vision-mode-icon { color: #000000 !important; }
body.visual-mode img { filter: grayscale(100%) contrast(115%); }
body.visual-mode *,
body.visual-mode *::before,
body.visual-mode *::after { animation: none !important; transition: none !important; }

@media (max-width: 900px) {
    .vision-mode-btn {
        right: 10px;
        bottom: 8px;
        max-width: calc(100% - 20px);
        font-size: 13px;
    }
}
