@use "../autoprefixer/autoprefixer" as *;
@use "../variables/variables" as *;

/*=======================
   All News Btn
  =======================*/
.all-news-btn {
    @include d-flex;
    @include align-items;
    gap: 10px;
}

/*=======================
   News Btn
  =======================*/
.news-btn {
    font-family: $body-font;
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    border-radius: 100px;
    padding: 4px 14px;
    display: inline-flex;

    &.v1 {
        @include transition;
        color: $color-white;
        background: $color-primary;

        &:hover {
            background: $color-white;
            color: $color-black;
        }
    }

    &.v2 {
        @include transition;
        background: $color-white;
        color: $color-black;

        &:hover {
            color: $color-white;
            background: $color-primary;

        }
    }

    &.v3 {
        @include transition;
        color: $color-white;
        background: $color-primary;
        padding: 9px 18px;
        font-family: $title-font;
        justify-content: center;
        align-items: center;

        &:hover {
            background: $color-secondary;
            color: $color-white;
        }
    }
}

.news-tag {
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    font-family: $body-font;
    line-height: 24px;
    text-transform: uppercase;
    border-radius: 50px;
    background: $color-primary;
    position: relative;

    a {
        color: $color-white;
        padding: 2px 15px;
    }

    &.v2 {
        background: $color-white;
        color: $color-black;
    }

    &.v3 {
        background: $color-helth;
    }

    &.v4 {
        background: $color-fashion;
    }

    &.v5 {
        background: $color-musics;
    }

    &.v6 {
        background: $color-sports;
    }

    &.v7 {
        background: $color-sculpture;
    }

    &.v8 {
        background: $color-advacer;
    }

    &.v9 {
        background: $color-white;

        a {
            color: $color-secondary;
        }
    }



}

/*=======================
   News Tag category
  =======================*/
.news-tag-category-btn {
    display: inline-flex;
    padding: 10px 30px;
    color: $color-white;
    font-family: $body-font;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    text-transform: uppercase;
    border-radius: 50px;
    background: $color-primary;
    position: relative;

    &.v2 {
        background: $color-white;
        color: $color-black;
    }

    &.v3 {
        background: $color-helth;
    }

    &.v4 {
        background: $color-fashion;
    }

    &.v5 {
        background: $color-musics;
    }

    &.v6 {
        background: $color-sports;
    }

    &.v7 {
        background: $color-sculpture;
    }

    &.v8 {
        background: $color-advacer;
    }

    &.v9 {
        background: $color-political;
    }

    &.v10 {
        background: $color-secondary;

        &:hover {
            background: $color-sports;
        }
    }

    &.v11 {
        background: $color-animal;
    }

    &.v12 {
        background: $color-travel;
    }

    span {
        position: absolute;
        top: -6px;
        right: -2px;
        @include d-flex;
        justify-content: center;
        @include align-items;
        border-radius: 100%;
        width: 22px;
        height: 22px;
        background: $color-white;
        color: $color-secondary;
        font-family: $body-font;
        font-size: 10px;
        font-weight: 600;
        line-height: 20px;
        text-transform: uppercase;
    }

    &:hover {
        background: $color-secondary;
    }
}

/*=======================
   News Magazin Button
  =======================*/
.news-magazin-button {
    padding: 20px 35px;
    font-weight: 600;
    line-height: 1;
    font-size: 16px;
    border: 2px solid transparent;
    border-radius: 3px;
    color: $color-white;
    display: inline-flex;
    align-items: center;
    text-transform: capitalize;
    z-index: 2;
    background-color: $color-primary;
    @include transition;

    i {
        margin-left: 5px;
    }

    &:hover {
        background: $color-black;
    }
}