/* Budi Knowledgebase Category Component Styles */

.budi-knowledgebase-category__wrapper {
    margin-bottom: 32px;
}

.budi-knowledgebase-category__title {
    margin-bottom: 24px;
}

.budi-knowledgebase-category__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
}

.budi-knowledgebase-category__item {
    width: 31.9%;
    border-radius: 8px;
    background: #F9F6F9;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.budi-knowledgebase-category__item-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.budi-knowledgebase-category__item-icon span {
    border-radius: 8px;
    background: #FDFDFD;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.budi-knowledgebase-category__item-text h3 {
    color: #29282A;
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
    margin-bottom: 4px;
}

.budi-knowledgebase-category__item-text p {
    color: #6D6C70;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
}

.budi-knowledgebase-category__item-arrow span {
    border-radius: 8px;
    background: #F9F6F9;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform 0.3s ease;
}

.budi-knowledgebase-category__item:hover .budi-knowledgebase-category__item-arrow span {
    transform: translateX(5px);
}

.budi-knowledgebase-category__item-arrow img {
    width: 16px;
    height: 16px;
}

.budi-knowledgebase-category__item-icon img {
    filter: invert(12%) sepia(73%) saturate(5773%) hue-rotate(318deg) brightness(95%) contrast(102%);
    width: 24px;
    height: 24px;
}

/* Responsive styles */
@media (max-width: 1199.98px) {
    .budi-knowledgebase-category__item {
        width: 48.5%;
    }
}

@media (max-width: 767.98px) {
    .budi-knowledgebase-category__item {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .budi-knowledgebase-category__item {
        width: 100%;
        padding: 16px;
        gap: 12px;
    }
    
    .budi-knowledgebase-category__item-left {
        gap: 12px;
    }
    
    .budi-knowledgebase-category__item-icon span {
        width: 40px;
        height: 40px;
    }
    
    .budi-knowledgebase-category__item-text h3 {
        font-size: 16px;
    }
    
    .budi-knowledgebase-category__item-text p {
        font-size: 14px;
    }
    
    .budi-knowledgebase-category__item-arrow a {
        width: 32px;
        height: 32px;
    }
}
