.tf-tabs .tablinks {
    cursor: pointer;
}

.tf-tabs .tablinks:last-child {
    margin-bottom: 0;
}

.tf-tabs .tf-tabnav>ul {
    position: relative;
}

.tf-tabs .tf-tabcontent .tf-tabcontent-inner {
    display: none;
}

.tf-tabs .tf-tabcontent .tf-tabcontent-inner.active,
.tf-tabs .tf-tabcontent .tf-tabcontent-inner.set-active-tab  {
    display: block;
}

.tf-tabs .tf-tabcontent .tf-tabcontent-inner h1,
.tf-tabs .tf-tabcontent .tf-tabcontent-inner h2,
.tf-tabs .tf-tabcontent .tf-tabcontent-inner h3,
.tf-tabs .tf-tabcontent .tf-tabcontent-inner h4,
.tf-tabs .tf-tabcontent .tf-tabcontent-inner h5,
.tf-tabs .tf-tabcontent .tf-tabcontent-inner h6 {
    margin-bottom: 12px;
}

.tf-tabnav {
    margin-bottom: 48px;
}

.tf-tabnav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    column-gap: 11px;
}

.tf-tabnav ul .tab-title-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    color: var(--theme-primary-color);
    padding: 8px 20px;
    border: 1px solid var(--theme-primary-color);
    border-radius: 12px;
    min-width: 126px;
    display: inline-block;
    text-align: center;
}

.tf-tabnav ul .tablinks.active .tab-title-text,
.tf-tabnav ul .tablinks.set-active-tab .tab-title-text {
    border-color: var(--theme-primary-color);
    background: var(--theme-primary-color);
    color: #fff;
}

@media (max-width: 767px) { 
    .tf-tabnav ul {
        width: unset;
        flex-wrap: wrap;
        gap: 15px;
    }
}