.tab-menu {
    overflow: hidden;
    padding-top: 4.95em; 
    border-bottom: 2px solid #707070;
}

.tab-menu__list {
    display: flex; 
    justify-content: space-between; 
    gap:1em;
}

.tab-menu__btn {
    position: relative; 
    z-index: 0; 
    padding:0.6em 0; 
    display: block; 
    font-size: var(--para); 
    font-weight: 700; 
    letter-spacing: -0.03em;
    transition:var(--trans);
}

.tab-menu__btn:before {    
    position: absolute;
    z-index: 1;
    content: '';
    display: block;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% + 0.334em);
    height: 3px;
    background-color: #fff;
    opacity: 0;
    transition:var(--trans);
}

.tab-menu__btn:after {
    position: absolute; 
    z-index: 2; 
    content:''; 
    display: block; 
    bottom: -3px; 
    left: 0; 
    width: 100%; 
    height: 4px; 
    background-color: var(--prm);
    opacity: 0;
    transition:var(--trans);
}

.tab-menu__btn[aria-current="page"] {
    pointer-events:none;
}

.tab-menu__btn[aria-current="page"] {
    color: var(--prm)
}

.tab-menu__btn[aria-current="page"]:before,
.tab-menu__btn[aria-current="page"]:after {
    opacity: 1;
}
@media(max-width:768px){    
        .tab-menu {
        position: fixed;
        padding-top: 0;
        border-top: 1px solid #444;
        bottom: -2px;
        left: 0;
        width: 100vw;
        z-index: 100;
    }
    .tab-menu .inner {padding-right: 0; padding-left: 0;}
    .tab-menu__list {gap:0;background: #fff;}
    .tab-menu__item {flex:1;}
    .tab-menu__btn {display: flex; justify-content: center; align-items: center; height: 100%; text-align: center; font-size: 0.875em;}
}
@media(max-width:500px){
    .tab-menu__item {border-right:1px solid #ddd;}
    .tab-menu__item:last-child {border-right:none;}
    .tab-menu__btn {padding:0.5em 0.5em; font-size: 1rem;}
    .tab-menu__btn[aria-current="page"] {color: #fff; background-color: var(--prm);}
}
@media(hover:hover){    
    .tab-menu__btn:hover {
        color: var(--prm);
    }
    
    .tab-menu__btn:hover:before,
    .tab-menu__btn:hover:after {
        opacity: 1;
    }
}