.tabs-specs {
    padding: 20px 0;
}

.tabs-specs .specs-search-wrapper {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 30px;
}

.tabs-specs .specs-search-wrapper label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #D9D9D9;
    padding-right: 12px;
}

.tabs-specs .specs-search-wrapper input {
    border: 0;
    outline: 0;
    padding: 12px;
}

.tabs-specs .specs-search-wrapper svg {
    pointer-events: none;
}

.tabs-specs .specs-wrapper {
    display: flex;
    gap: 80px;
    margin-bottom: 80px;
}

.tabs-specs .specs-sidebar {
    width: calc(30% - 40px);
}

.tabs-specs .specs-posts-wrapper {
    width: calc(70% - 40px);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    /* align-items: flex-start; */
}

.tabs-specs .specs-sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.tabs-specs .specs-sidebar li a {
    color: #1F2B51;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 35px;
    text-transform: uppercase;
    position: relative;
}

.tabs-specs .specs-sidebar li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 170px;
    height: 7px;
    pointer-events: none;
    transform: translateY(100%);
    background: url(../../assets/images/specs-title-before.svg);
    background-repeat: repeat;
    background-repeat: no-repeat;
    transition: opacity .3s ease;
    opacity: 0;
}

.tabs-specs .specs-sidebar li a.active {
    font-weight: 700;
}

.tabs-specs .specs-sidebar li a.active::before {
    opacity: 1;
}

.tabs-specs .specs-post {
    display: flex;
    width: calc(33.33333333% - 10px);
    border: 1px solid #d8d9dc;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 15px;
}

.tabs-specs .specs-image img {
    aspect-ratio: 1;
    object-fit: contain;
    width: 100%;
}

.tabs-specs .specs-post .btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.tabs-specs .specs-post .btn {
    font-size: 14px;
    font-weight: 300;
    padding: 7px 20px;
}

.tabs-specs .specs-post h4 {
    padding: 0;
    margin: 0;
    color: #1E3459;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 20px;
}

.tabs-specs .specs-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 20px;
    position: relative;
    padding: 40px 0;
}

.tabs-specs .specs-footer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 70%;
    border-top: 1px solid #00FFBF;
}

.tabs-specs .specs-footer .btn {
    text-align: center;
    white-space: nowrap;
}

@media (max-width:991px) {
    .tabs-specs .specs-wrapper {
        flex-wrap: wrap;
    }

    .tabs-specs .specs-sidebar,
    .tabs-specs .specs-posts-wrapper {
        width: 100%;
    }

    .tabs-specs .specs-post {
        width: calc(50% - 8px);
    }

    .tabs-specs .specs-footer {
        flex-wrap: wrap;
        font-size: 16px;
    }

    .tabs-specs .specs-search-wrapper input {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width:379px) {
    .tabs-specs .specs-post .btn {
        font-size: 12px;
        padding: 6px 10px;
    }
}