.public-header {
    padding: 0.75rem 0;
    border-color: rgba(15, 23, 42, 0.08);
    background-color: #ffffff;
}

.public-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.public-header .navbar-brand {
    color: #0f172a;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 0;
}

.public-header .navbar-brand:hover,
.public-header .navbar-brand:focus {
    color: #0f172a;
    text-decoration: none;
}

.public-header .brand-image {
    width: 40px;
    height: 40px;
    max-height: 40px;
    object-fit: cover;
    opacity: 0.85;
}

.public-header .navbar-toggler {
    border: 0;
    padding: 0.25rem 0.5rem;
}

.public-header .navbar-toggler:focus,
.public-header .navbar-toggler:focus-visible {
    outline: 3px solid #0C66E4;
    outline-offset: 2px;
}

.public-header__language,
.public-header__links {
    gap: 0.5rem;
}

.public-header__language .nav-link,
.public-header__links .nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    color: #0f172a;
    white-space: nowrap;
}

.public-header__links .nav-link[target="_blank"]::after {
    content: '\2197';
    font-size: 0.75rem;
    margin-left: 0.35rem;
    line-height: 1;
}

.public-header .nav-link:hover,
.public-header .nav-link:focus,
.public-header .nav-link:focus-visible,
.public-header .dropdown-item:focus,
.public-header .dropdown-item:focus-visible {
    color: #0C66E4;
    outline: 3px solid #0C66E4;
    outline-offset: 2px;
}

.public-header .dropdown-menu {
    border-radius: 0.5rem;
    min-width: 8rem;
    padding: 0.25rem 0;
}

.public-header .dropdown-item {
    font-weight: 600;
    padding: 0.5rem 0.75rem;
}

.public-header .dropdown-item:hover {
    background-color: rgba(12, 102, 228, 0.08);
    color: #0C66E4;
}

.public-header__links .nav-item,
.public-header__language .nav-item {
    margin: 0;
}

@media (min-width: 768px) {
    .public-header__language {
        margin-right: 1rem;
    }

    .public-header__links {
        display: flex;
    }
}

@media (max-width: 767.98px) {
    .public-header .navbar-collapse {
        width: 100%;
        margin-top: 1rem;
    }

    .public-header__links,
    .public-header__language {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .public-header__links .nav-link,
    .public-header__language .nav-link {
        padding-left: 0;
    }
}
