.dope-tabs {
    width: 100%;
}

.dope-tabs__topics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.dope-tabs__button {
    appearance: none;
    border: 1px solid #6b7280;
    background: #f3f4f6;
    color: #1f2937;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 16px;
    line-height: 1.3;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dope-tabs__button.is-active {
    background: #0f5cc0;
    border-color: #0f5cc0;
    color: #ffffff;
}

.dope-tabs__panel {
    display: none;
}

.dope-tabs__panel.is-active {
    display: block;
}

.dope-tabs__title {
    margin: 0 0 22px;
    font-size: 42px;
    line-height: 1.2;
}

.dope-tabs__content {
    font-size: 20px;
    line-height: 1.8;
}

.dope-tabs__content ol,
.dope-tabs__content ul {
    margin: 0;
    padding-left: 1.4em;
}

.dope-tabs__content p:first-child {
    margin-top: 0;
}

.dope-tabs__content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .dope-tabs__topics {
        gap: 8px;
        margin-bottom: 28px;
    }

    .dope-tabs__button {
        font-size: 14px;
        padding: 8px 14px;
    }

    .dope-tabs__title {
        font-size: 30px;
        margin-bottom: 16px;
    }

    .dope-tabs__content {
        font-size: 18px;
        line-height: 1.65;
    }
}
