.tf-btn {
    font-family: $font-2;
    font-size: 16px;
    line-height: 26px;
    font-weight: 700;
    text-align: center;
    padding: 10px 20px;
    border-radius: 4px;
    background-color: $white;
    color: $on-surface;
    border: 1px solid $on-surface;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    &:hover {
        background-color: $primary;
        color: $white;
        border-color: $primary;
    }
    &.primary {
        background-color: $primary;
        color: $white;
        border-color: $primary;
        &:hover {
            background-color: $primary-hover;
        }
    }
    &.size-1 {
        padding: 11px 32px;
    }
    &.size-2 {
        padding: 11px 40px;
    }
}

.btn-read-more {
    font-size: 16px;
    line-height: 26px;
    font-weight: 700;
    color: $on-surface;
    border-bottom: 2px solid $on-surface;
    padding: 0px 0px 4px 0px;
    display: inline-block;
}

.tag {
    display: inline-block;
}

.hover-btn-view:hover {
    .btn-view.style-1 {
        .icon {
            animation: 0.3s link-icon linear;
        }
        .text {
            color: $on-surface;
            &::before {
                width: 100%;
                left: 0;
                right: auto;
            }
        }
    }
}

.btn-view {
    .text {
        font-size: 16px;
        line-height: 26px;
        font-weight: 600;
        font-family: $font-2;
        color: $on-surface;
        position: relative;
        &::before {
            position: absolute;
            content: '';
            left: 0;
            bottom: 0;
            width: 100%;
            height: 2px;
            background-color: $primary;
        }
    }

    display: inline-flex;
    align-items: center;
    gap: 8px;
    .icon {
        color: $primary;
    }

    &:hover {
        .icon {
            animation: 0.3s link-icon linear;
        }
    }
    &.style-1 {
        .text {
            color: $variant-1;
            &::before {
                width: 0;
                left: auto;
                right: 0;
                -webkit-transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
                -o-transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
                transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
                background-color: $on-surface;
            }
        }
    }
}
