:root {
    --border-color: #e0e0e0;
}

/* ── Navbar ──────────────────────────────────────────────────────────────────── */
.navbar2 {
    border-bottom: 0.5px solid grey;
    background-color: #fff;
    z-index: 3;
}

.no-blue-dropdown .dropdown-item:active {
    background-color: transparent !important;
    color: inherit !important;
}

.no-blue-dropdown .nav-link:not(.dropdown-toggle):focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
    box-shadow: none;
}

.no-blue-dropdown .nav-link.dropdown-toggle:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Mouse mode (default): only hover highlights */
.no-blue-dropdown .dropdown-item:hover {
    background-color: var(--border-color);
    color: inherit;
}
.no-blue-dropdown .dropdown-item:focus,
.no-blue-dropdown .dropdown-item:focus-visible {
    outline: none;
    box-shadow: none;
    background-color: transparent;
    color: inherit;
}

/* Keyboard highlight */
.no-blue-dropdown .dropdown-item.kb-focus {
    background-color: var(--border-color);
}

/* Keyboard mode: suppress hover on non-highlighted items */
.no-blue-dropdown .dropdown-menu.using-keyboard .dropdown-item:hover:not(.kb-focus) {
    background-color: transparent;
}

/* ── Utility ──────────────────────────────────────────────────────────────────── */
.link-no-underline {
    text-decoration: none;
}

.is-hidden {
    display: none !important;
}

.is-visible {
    display: block !important;
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.footer-top-section {
    padding-top: 0.5px;
    margin-top: 70px;
}

.footer-inner-container {
    color: white;
}

.footer-social-link {
    color: white;
    text-decoration: none;
}

.footer-social-link:hover {
    font-weight: bold;
    color: white;
}

.footer-inner-container a.link-no-underline:hover {
    font-weight: bold;
    color: white;
}

.footer-disclaimer-bar {
    background-color: rgba(0, 0, 0, 0.05);
    color: white;
}

.footer-disclaimer-text {
    font-size: 14px;
}

/* ── Page fade-in ────────────────────────────────────────────────────────────── */
body.fade-in main#main-content {
    opacity: 0;
    transform: translateY(14px);
}

body.page-ready main#main-content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Noscript ──────────────────────────────────────────────────────────────────── */
.noscript-message {
    text-align: center;
    padding: 2rem;
    font-family: sans-serif;
}
