.bd-header {
    border-bottom: 1px solid var(--pst-color-border);
}

.bones-brand {
    display: flex;
    align-items: center;
    height: 100%;
}

.bones-brand-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--pst-color-text-base);
    transition: opacity 0.2s ease-in-out;
}

.bones-brand-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

.bones-logo {
    height: 24px;
    width: auto;
    color: var(--pst-color-text-base);
    transform: translateY(-4px); 
}

.bones-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--pst-color-text-base);
}

.bones-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.bones-nav-items {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.bones-nav-item {
    display: inline-block;
    padding: 0.25rem 0;
    color: var(--pst-color-text-muted);
    text-decoration: none;
    border: none;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    font-size: 0.9rem;
    position: relative;
}

.bones-nav-item:visited,
.bones-nav-item:active {
    color: var(--pst-color-text-muted);
    text-decoration: none;
}

.bones-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--pst-color-primary);
    transition: width 0.2s ease-in-out;
}

.bones-nav-item:hover {
    color: var(--pst-color-text-base);
    text-decoration: none;
}

.bones-nav-item:hover::after {
    width: 100%;
}

.bones-nav-item.current,
.bones-nav-item.current:visited,
.bones-nav-item.current:active {
    color: var(--pst-color-primary);
    font-weight: 500;
}

.bones-nav-item.current::after {
    width: 100%;
}

.bones-nav-item.current:hover {
    color: var(--pst-color-primary);
    opacity: 0.9;
}

.bones-nav-items.loading {
    min-height: 2rem;
}

.bones-nav-item.placeholder {
    background-color: transparent;
    cursor: default;
    min-width: 70px;
    height: 20px;
    position: relative;
    overflow: hidden;
}

.bones-nav-item.placeholder::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--pst-color-border),
        transparent
    );
    animation: bones-loading-shimmer 1.5s infinite;
}

@keyframes bones-loading-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.bones-placeholder-text {
    display: block;
    width: 60%;
    height: 10px; 
    background-color: var(--pst-color-border);
    border-radius: 2px;
    margin: 8px auto;
}

@media (max-width: 768px) {
    .bones-nav-items {
        gap: 1rem;
    }

    .bones-nav-item {
        font-size: 0.85rem;
    }
}
