.lang-link {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border: 1.5px solid #2563eb;
    border-radius: 6px;
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.lang-link:hover {
    background: #2563eb;
    color: #fff;
    text-decoration: none;
}

/* The switcher toggles a preference in place instead of navigating to a /fr/
   URL, so it is a <button>. These reset the UA button styling that the
   original <a>-based rule never had to fight. */
button.lang-link {
    background: transparent;
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

button.lang-link:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.lang-link img {
    display: block;
    border-radius: 2px;
}
