.gh-nav-taxonomy {
    display: inline-flex;
    gap: 28px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.gh-nav-taxonomy-item {
    position: relative;
}

.gh-nav-taxonomy-toggle {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.gh-nav-taxonomy-toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
}

.gh-nav-taxonomy-item:is(:hover, :focus-within, .is-open) .gh-nav-taxonomy-toggle::after {
    transform: rotate(-135deg) translateY(-1px);
}

.gh-nav-taxonomy-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    z-index: 95;
    min-width: 250px;
    padding: 12px 0;
    margin: 0;
    visibility: hidden;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgb(0 0 0 / 0.04), 0 12px 28px -10px rgb(0 0 0 / 0.24);
    opacity: 0;
    list-style: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    transform: translateY(6px);
}

.gh-nav-taxonomy-item:is(:hover, :focus-within, .is-open) .gh-nav-taxonomy-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.gh-nav-taxonomy-menu a {
    display: block;
    padding: 8px 18px;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.4;
    color: #15171a !important;
    white-space: nowrap;
}

.gh-nav-taxonomy-menu a:hover {
    background-color: rgb(0 0 0 / 0.04);
    opacity: 1;
}

@media (max-width: 767px) {
    #gh-navigation .gh-navigation-menu {
        align-items: stretch;
        width: 100%;
    }

    .gh-nav-taxonomy {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        width: 100%;
        gap: 20px;
        line-height: 1.4;
    }

    .gh-nav-taxonomy li {
        width: 100%;
        text-align: left;
        opacity: 1;
        transform: translateY(0);
    }

    .gh-nav-taxonomy a {
        display: block;
        width: 100%;
        font-size: 1.75rem;
        font-weight: 600;
        text-align: left;
        text-transform: none;
    }

    .gh-nav-taxonomy-item {
        width: 100%;
        text-align: left;
    }

    .gh-nav-taxonomy-toggle {
        justify-content: flex-start;
        width: 100%;
        padding: 0;
        font-size: 1.75rem;
        font-weight: 600;
        line-height: 1.4;
        text-align: left;
        border: 0;
        border-radius: 0;
    }

    .gh-nav-taxonomy-toggle::after {
        margin-left: auto;
    }

    .gh-nav-taxonomy-menu {
        position: static;
        min-width: 100%;
        padding: 8px 0 0;
        margin-top: 0;
        visibility: hidden;
        background-color: transparent;
        border-radius: 0;
        box-shadow: none;
        opacity: 0;
        transform: none;
        max-height: 0;
        overflow: hidden;
    }

    .gh-nav-taxonomy-item.is-open .gh-nav-taxonomy-menu {
        visibility: visible;
        opacity: 1;
        max-height: 1000px;
    }

    .gh-nav-taxonomy-menu a {
        padding: 8px 0 0 18px;
        font-size: 1.5rem;
        font-weight: 500;
        line-height: 1.45;
        text-align: left;
        white-space: normal;
    }

    .gh-nav-taxonomy-menu a:hover {
        background-color: transparent;
    }
}
