.speech__tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    counter-reset: speech-5 2 speech-7 6;
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .speech__tabs-nav {
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1200px) {
    .speech__tabs-nav {
        padding: 0 50px;
    }
}

.speech__nav-item {
    position: relative;
    flex-grow: 1;
}

.speech__nav-btn {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 15px;
    position: relative;
    box-shadow: var(--box-shadow-green);
    background-color: var(--light-color);
    border-radius: 21px;
}

@media (min-width: 576px) {
    .speech__nav-btn {
        flex-direction: column;
        gap: 5px;
    }
}

.speech__nav-btn:before {
    position: absolute;
    left: 20px;
    counter-increment: speech-5 1;
    content: counter(speech-5);
    display: block;
    font-size: 90px;
    font-weight: bold;
    color: transparent;
    line-height: .8;
    font-style: italic;
    z-index: 3;
}

.speech__nav-item:last-child .speech__nav-btn:before {
    counter-increment: speech-7 1;
    content: counter(speech-7);
}

@media (min-width: 576px) {
    .speech__nav-btn:before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.speech__nav-item.js-active .speech__nav-btn {
    pointer-events: none;
}

.speech__nav-item.js-active .speech__nav-btn:before {
    color: #b2dfdb;
    z-index: 3;
}

.speech__nav-btn::after {
    content: "";
    position: absolute;
    z-index: 1;
    border-radius: 21px;
    background-color: #009688;
    opacity: 0;
    transition: opacity .3s ease-in-out, background-color .3s ease-in-out;
    inset: 0;
}

.speech__nav-item.js-active .speech__nav-btn::after {
    opacity: 1
}

.speech__nav-btn:hover::before {
    color: #b2dfdb;
}

.speech__nav-btn:hover::after {
    opacity: 1;
    z-index: 0;
}

.speech__caption {
    flex: 1 1 auto;
    position: relative;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-color);
    text-align: left;
    line-height: 120%;
    transition: color .3s ease-in-out;
    z-index: 2;
    pointer-events: none;
}

.speech__nav-btn:hover .speech__caption {
    color: var(--light-color);
}

.speech__nav-item.js-active .speech__caption {
    color: var(--light-color);
}

.speech__nav-btn:hover .speech__icn {
    border-color: var(--light-color) !important;
}

.speech__nav-btn:hover .speech__icn svg {
    stroke: var(--light-color);
}

.speech__nav-btn:hover .style-svg path {
    fill: var(--light-color);
}

.speech__icn {
    flex: 0 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e6ebed;
    border-radius: 7px;
    width: 20px;
    height: 20px;
    transition: background-color .3s ease-in-out, transform .3s ease-in-out, border .3s ease-in-out, -webkit-transform .3s ease-in-out;
}

.speech__nav-item.js-active .speech__icn {
    border-color: var(--light-color);
    transform: rotate(180deg);
}

.speech__nav-btn:hover .speech__icn {
    border-color: var(--primary-color);
}

.speech__icn svg {
    width: 11px;
    height: 8px;
    fill: transparent;
    stroke: currentColor;
    stroke-width: 2px;
    transition: stroke .3s ease-in-out
}

.speech__nav-item.js-active .speech__icn svg {
    stroke: var(--light-color);
}

.speech__icon {
    position: relative;
    z-index: 2;
    transition: fill .3s ease-in-out, stroke .3s ease-in-out;
    pointer-events: none
}

.speech__tab-block .quizle {
    box-shadow: var(--box-shadow-green);
}