
/* category */
ul.category-tabs {
    list-style: none;
    margin: 0 0 0 1rem;
    padding: 0;
    display: flex;
}

.category-tabs li {
    padding: 0;
    margin: 0.5rem;
}

.category-tabs li a {
    position: relative;
    text-decoration: none;
    color: #000;
    font-weight: 300;
    margin: 0;
}

.category-tabs li a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%;
    height: 1px;
    background-color: var(--underline-color, #000);
    transition: right 0.3s ease, background-color 0.3s ease;
  }

.category-tabs li a:hover::before {
    right: 0;
}

.category-tabs li a.active {
    font-weight: 500;
}

.category-tabs li a.active::before {
    right: 0;
}

.category-tabs li a span {
    font-size: 0.5rem;
    font-weight: 700;
    vertical-align: 5px;
    color: var(--bs-orange);
}

@media (min-width: 576px) {
    ul.category-tabs {
        margin-left: 0;
    }

    ul.category-tabs li:first-child {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    main.index, ul.category-tabs {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }

    ul.category-tabs {
        justify-content: flex-end;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .category-tabs li {
        flex: 0 1 auto;
    }

    ul.category-tabs li:last-child {
        margin-right: 0;
    }
}

/*@media (min-width: 992px) {
    ul.category-tabs {
        padding-bottom: 3rem;
    }

    main.index, ul.category-tabs {
        max-width: 960px;
    }
}*/
