@use "../../../../styles/abstracts/variables" as *;
@use "../../../../styles/abstracts/mixins" as *;

.blogs__page {
    @include pageBase;
    &{
        overflow-x: hidden;
        padding: 1.5rem;
        // background:
        //     radial-gradient(
        //     circle at top right,
        //     rgba(255, 140, 66, 0.05),
        //     transparent 35%
        //     ),
        //     #101012;
    }

    //Tab section
    &__tab{
        background: $col-active-btn-bg;
        border: 1px solid $col-border-lining;
        border-radius: 6px;
        margin-bottom: 1rem;
        display: flex;
        // justify-content: space-between;
        // width: 50%;
        padding: .5rem .5rem;
        align-items: center;
        font-size: .8rem;
        font-weight: 500;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 20px;
        // margin-top: 1rem;
        @media only screen and (max-width: 1000px){
            margin-top: 1rem;
        }

        &--item{
            text-align: center;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            flex: 0 0 170px;
            color: $col-white;
            @media only screen and (max-width: 1000px) {
                flex: 0 0 150px; 
                width: 100%;
                font-size: .85rem;
            }
            &--active{
                background: $col-orange;
                color: $col-dark;
                border-radius: 6px;
                padding: .5rem 1rem;
                cursor: pointer;
                font-size: .85rem;
                font-weight: 600;
                flex: 0 0 170px;
                text-align: center;
                @media only screen and (max-width: 1000px){
                    width: 100%;
                    flex: 0 0 180px; 
                    text-align: center;
                    font-size: .9rem;
                }
            }
        }
    }
}