/* Page */
.wallet__section{
    flex-direction: row;
    height: 100vh;
}

.wallet__wrapper{
    width: 100%;
    height: 100%;
}

.wallet__title-h2 {
    margin-top: 1em;
}

.wallet__nav{
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.wallet__btn{
    margin-right: 20px;
    padding: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--color_hover);
    font-size: 1.6em;
    cursor: pointer;
}

.wallet__btn_active{
    color: var(--color1);
    border-bottom: 2px solid #673ab7;
    transition: 0.2s;
}

.wallet__btn:hover{
    color: var(--color2);
    transition: 0.2s;
}

.wallet__btn:active{
    color: var(--color3);
    transition: 0.2s color;
}

/* Table */
.wallet__wrap{
    display: none;
    grid-template-columns: 1fr;   
    margin-bottom: 30px;
    width: 100%;
    border-radius: var(--radius-small);
}

.wallet__wrap_active{
    display: grid;
}

.wallet__inner {
    display: grid;
    grid-template-columns: 100%;
    width: 100%;
    border: 1px solid var(--color1);
    border-bottom: 0;
}

.wallet__inner:first-child{
    background: var(--color1);
}

.wallet__inner:first-child .wallet__col{
    color: var(--color0);
}

.wallet__inner:last-child{
    border: 0;
    border-top: 1px solid var(--color1);
}

.wallet__inner:hover:not(.wallet__inner:first-child, .wallet__inner:last-child){
    background-color: var(--color0);
}

.wallet__col{    
    position: relative;
    padding: 10px;
    border-right: 1px solid var(--color1);
}

.wallet__col:last-child{
    border-right: 0;
}

.width_fit-content{
    width: fit-content;
}

.wc_2 span{
    font-style: italic;
    text-transform: lowercase;
}

/* Adaptive 1024 */
@media(max-width: 1024px){

    .wallet__btn{
        margin-bottom: 10px;
    }

    .wallet__wrap{
        gap: 20px;
    }

    .wallet__inner{
        grid-template-columns: 1fr;
        border: 0;
    }

    .wallet__wrap_max-width .wallet__inner {
        grid-template-columns: none;
    }

    .wallet__inner:last-child{
        justify-items: start;
        padding-top: 10px;
        border: 0;
    }

    .wallet__inner:first-child{
        display: none;
    }
    
    .wallet__inner:hover:not(.wallet__inner:first-child, .wallet__inner:last-child){
        background-color: transparent;
    }
  
    .wallet__col{    
        margin-bottom: -5px;
        padding: 5px 0;
        border-right: 0;
    }

    .wallet__col:last-child{
        border-right: 0;
    }

    .wc_1{
        display: none;
    }

    .wc_7{
        margin-bottom: -10pxpx;
        color: var(--color_hover);
    }

    .wc_4{
        font-size: 16px;
        font-weight: 900;
    }
}

@media (max-width: 768px){
  .news-page__wrap {
      padding-left: 15px;
      padding-right: 15px;
  }
}