#ai-features {
    margin-top: 25px;
}
#ai-features .filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    margin-bottom: 35px;
}
#ai-features .filters .btn {
    border-radius: 4px;
    font-size: 16px;
    padding: 12px 24px;
}
#ai-features .filters .btn.btn-link {
    color: #0095FF;
}
#ai-features  #filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
#ai-features  #filter-list .btn {
    font-weight: 400;
    background-color: #BBE2FF;
    border-color: #BBE2FF;
}
#ai-features  #filter-list .btn.active {
    background-color: #FFF;
    border-color: #BCC5CF;
    box-shadow: none;
}

#ai-items {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
#ai-items.latest {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 16px;
    grid-row-gap: 2px;
}
#ai-items .feature-item {
    background-color: #FFF;
    border-radius: 16px;
    overflow: hidden;
    -webkit-box-shadow: 0 3px 6px 0 rgba(0,0,0,0.16);
    box-shadow: 0 3px 6px 0 rgba(0,0,0,0.16);
    margin-bottom: 28px;
}
#ai-items:not(.latest) .feature-item {
    flex: 1 0 25%;
    max-width: calc(25% - 16px);
}
#ai-items.latest .feature-item:nth-child(1) {
    grid-row: span 2;
    grid-column: span 2;
}
#ai-items .feature-item:not(.show) {
    display: none;
}
#ai-items .feature-item .wrapper:hover {
    text-decoration: none;
}
#ai-items .feature-item .video-wrapper {
    aspect-ratio: 73/40;
    overflow: hidden;
    display: flex;
    align-items: center;
}
#ai-items .feature-item .text {
    position: relative;
    padding: 15px 20px 20px 20px;
    color: #616A74;
    transition: padding .3s ease;
}
#ai-items .feature-item a:hover .text {
    padding-top: 25px;
}
#ai-items.latest .feature-item:not(:first-child) .text {
    text-align: center;
}
#ai-items .feature-item .text h4 {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
    color: inherit;
}
#ai-items .feature-item .text p {
    font-size: 12px;
    line-height: 1.5;
    font-weight: 300;
    margin: 0;
}
#ai-items .feature-item .text .btn {
    font-size: 12px;
    line-height: 1;
    padding: 8px 16px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity .3s ease;
    white-space: nowrap !important;
}
#ai-items .feature-item a:hover .text .btn {
    opacity: 1;
}
#ai-items.latest .feature-item:not(:first-child) .text p {
    display: none;
}

@media (max-width: 767px) {
    #ai-items,
    #ai-items.latest {
        display: block;
    }
    #ai-items:not(.latest) .feature-item {
        max-width: 100%;
    }
}