.archive-tags-outer {
    width: 100%;
}

archive-tags {
    display: flex;
    column-gap: 26px;
    row-gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-top: 8px;
}

.archive-tag-button {
    padding: 0px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: transparent;
}

.radio-button-text {
    position: relative;
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
    color: var(--text-color);
    font-size: 20px;
    font-family: var(--font2);
}

.archive-tag-button input[type='radio'] {
    -webkit-appearance:none;
    margin: 0px;
    padding: 0px;
    display: inline-flex;
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    cursor: pointer;
    z-index: 0;
}

.archive-tag-button input[type='radio']:checked ~ .radio-button-text {
    font-weight: 600;
}

.archive-tag-button:hover .radio-button-text{
    text-decoration: underline;
}

/* Styles for large desktop */
@media (min-width: 1439px) {  
    archive-tags {
        column-gap: calc(1.81vw * var(--scale));
        row-gap: calc(1.11vw * var(--scale));
        margin-top: calc(0.56vw * var(--scale));
    }
    
    .radio-button-text {
        font-size: calc(1.39vw * var(--scale));
    }
}

/* Styles for tablet */
@media (max-width: 991px) { 
    archive-tags {
        position: relative;
        overflow-x: scroll;
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: 100vw;
        padding-right: 30px;
        padding-left: 30px;
        padding-top: 4px;
        left: -30px;
        padding-bottom: 10px;
    }

    .archive-tags-separator {
        display: block;
        min-width: 1px;
    }
}

/* Styles for mobile */
@media (max-width: 479px) { 
    archive-tags {
        column-gap: 22px;
        padding-right: 18px;
        padding-left: 18px;
        left: -18px;
    }
    
    .radio-button-text {
        font-size: 18px;
    }
}