/* Navigation: announcement strip, main bar, and category links. */
.pv-container {
    max-width: var(--pv-container);
    margin: 0 auto;
    padding: 0 var(--pv-gutter);
}

.pv-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pv-topbar {
    background: var(--pv-ink);
    color: #fff;
    font: 500 0.8125rem/1.3 var(--pv-font);
}

.pv-topbar__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    min-height: 36px;
}

.pv-topbar__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pv-topbar__list li + li::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 1.5rem 2px -1.5rem;
    border-radius: 50%;
    background: #8ec0ff;
    opacity: 0.7;
}

.pv-topbar__list small {
    opacity: 0.7;
    font-size: inherit;
}

@media (max-width: 760px) {
    .pv-topbar__list li:nth-child(n + 3) {
        display: none;
    }
}

.pv-topbar a,
.pv-topbar a:hover {
    color: #8ec0ff;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.pv-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--pv-surface);
    color: var(--pv-ink);
    border-bottom: 1px solid var(--pv-border);
    font-family: var(--pv-font);
}

.pv-header a {
    text-decoration: none;
}

.pv-header__main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 72px;
}

.pv-logo {
    flex: none;
    display: flex;
    align-items: center;
}

.pv-logo img {
    display: block;
    width: auto;
    height: 48px;
}

.pv-search {
    flex: 1;
    max-width: 640px;
    position: relative;
    margin: 0;
}

.pv-search input {
    width: 100%;
    height: 44px;
    padding: 0 3.25rem 0 1rem;
    border: 1px solid var(--pv-border);
    border-radius: 999px;
    background: var(--pv-page);
    color: var(--pv-ink);
    font: 400 0.9375rem var(--pv-font);
    -webkit-appearance: none;
    appearance: none;
}

.pv-search input::placeholder {
    color: var(--pv-muted);
}

.pv-search input:focus {
    outline: none;
    background: var(--pv-surface);
    border-color: var(--pv-blue);
    box-shadow: 0 0 0 3px rgba(22, 104, 227, 0.2);
}

.pv-search button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--pv-blue);
    color: #fff;
    cursor: pointer;
}

.pv-search button:hover {
    background: var(--pv-blue-hover);
}

.pv-search svg,
.pv-icon-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pv-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pv-icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--pv-ink);
    background: transparent;
    border: 0;
    cursor: pointer;
    list-style: none;
}

.pv-icon-btn::-webkit-details-marker {
    display: none;
}

.pv-icon-btn:hover,
.pv-menu[open] > .pv-icon-btn {
    background: var(--pv-blue-soft);
    color: var(--pv-blue);
}

.pv-count,
.pv-dot {
    position: absolute;
    background: var(--pv-blue);
    color: #fff;
}

.pv-count {
    top: 2px;
    right: 0;
    box-sizing: content-box;
    min-width: 14px;
    height: 14px;
    padding: 0 4px;
    border: 2px solid var(--pv-surface);
    border-radius: 999px;
    font: 700 0.6875rem/14px var(--pv-font);
    text-align: center;
}

.pv-count.is-hidden {
    display: none;
}

.pv-dot {
    top: 9px;
    right: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--pv-surface);
    background: var(--pv-danger);
}

.pv-link-btn,
.pv-btn {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 1rem;
    border-radius: 999px;
    font: 600 0.875rem var(--pv-font);
    white-space: nowrap;
}

.pv-link-btn {
    color: var(--pv-ink);
}

.pv-link-btn:hover {
    background: var(--pv-page);
    color: var(--pv-ink);
}

.pv-btn {
    background: var(--pv-blue);
    color: #fff;
}

.pv-btn:hover {
    background: var(--pv-blue-hover);
    color: #fff;
}

.pv-menu {
    position: relative;
}

.pv-menu__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 60;
    min-width: 220px;
    padding: 0.5rem;
    background: var(--pv-surface);
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-radius);
    box-shadow: var(--pv-shadow);
}

.pv-menu__panel a,
.pv-menu__panel button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pv-ink);
    font: 500 0.9375rem var(--pv-font);
    text-align: left;
    cursor: pointer;
}

.pv-menu__panel a:hover,
.pv-menu__panel button:hover {
    background: var(--pv-blue-soft);
    color: var(--pv-blue);
}

.pv-menu__panel form {
    margin: 0.25rem 0 0;
    padding-top: 0.25rem;
    border-top: 1px solid var(--pv-border);
}

.pv-pill {
    padding: 0 0.5rem;
    border-radius: 999px;
    background: var(--pv-blue);
    color: #fff;
    font: 700 0.75rem/1.5 var(--pv-font);
}

.pv-nav {
    border-top: 1px solid var(--pv-border);
}

.pv-nav__inner {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.pv-nav__inner::-webkit-scrollbar {
    display: none;
}

.pv-nav a {
    position: relative;
    padding: 0.8rem 0.9rem;
    color: var(--pv-ink-soft);
    font: 600 0.9rem var(--pv-font);
    white-space: nowrap;
}

.pv-nav a:hover {
    color: var(--pv-blue);
}

.pv-nav a.is-active {
    color: var(--pv-blue);
}

.pv-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--pv-blue);
}

.pv-header a:focus-visible,
.pv-header button:focus-visible,
.pv-header summary:focus-visible {
    outline: 3px solid rgba(22, 104, 227, 0.45);
    outline-offset: 2px;
}

.pv-burger {
    display: none;
}

@media (max-width: 860px) {
    .pv-header__main {
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
        min-height: 0;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .pv-logo img {
        height: 40px;
    }

    .pv-burger {
        display: grid;
        place-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
    }

    .pv-burger span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: var(--pv-ink);
    }

    .pv-search {
        order: 3;
        flex: 1 0 100%;
        max-width: none;
    }

    .pv-nav {
        display: none;
    }

    .pv-nav.is-open {
        display: block;
    }

    .pv-nav__inner {
        flex-direction: column;
        gap: 0;
        padding-top: 0.25rem;
        padding-bottom: 0.5rem;
    }

    .pv-nav a {
        padding: 0.85rem 0.25rem;
        border-bottom: 1px solid var(--pv-border);
    }

    .pv-nav a.is-active::after {
        display: none;
    }

    .pv-link-btn {
        display: none;
    }
}

@media (max-width: 520px) {
    .pv-topbar a {
        display: none;
    }
}
