.tabs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tabs__nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.tabs__btn {
    font-size: 1.6rem;
    line-height: 120%;
    color: var(--grey4);
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--grey4);
    flex: 1;
    transition: all .3s ease;
}
.tabs__btn:first-child {
    text-align: left;
    padding-left: 1.2rem;
}

.tabs__btn:last-child {
    text-align: right;
    padding-right: 1.2rem;
}

.tabs__btn.active {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}
.tabs__btn.active:after {
    content: '';
    position: absolute;
    left: 0;
    top: calc(100% - 1px);
    right: 0;
    background-color: var(--primary);
    height: 3px;
    z-index: 2;
}
.tabs__btn:not(.active):hover {
    color: #1CA4E8;
}
.tabs__content {
    display: none;
}

.tabs__content.active {
    display: block;
}
@media (min-width: 768px) and (max-width: 1280px) {
    .tabs__btn {
        min-height: 6rem;
    }
    .tabs__btn:not(:first-child):not(:last-child) {
        text-align: center;
    }
}
@media (max-width: 767px) {
    .tabs__btn {
        white-space: nowrap;
    }
    .tabs__nav {
        overflow: auto;
    }
    .tabs__btn:not(:first-child) {
        padding-left: 1.6rem;
    }
}