.anfa-kit-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.anfa-kit-item {
    flex: 1 0 calc(20% - 20px);
    margin: 10px;
    box-sizing: border-box;
    width: 350px;
    max-width: 350px;
}

@media screen and (max-width: 1200px) {
    .anfa-kit-item {
        flex: 1 0 calc(25% - 20px);
    }
}

@media screen and (max-width: 992px) {
    .anfa-kit-item {
        flex: 1 0 calc(33.33% - 20px);
    }
}

@media screen and (max-width: 768px) {
    .anfa-kit-item {
        flex: 1 0 calc(50% - 20px);
    }
}

@media screen and (max-width: 576px) {
    .anfa-kit-item {
        flex: 1 0 100%;
    }
}
.anfa-kit-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 8px 0px;
    display: flex;
    flex-direction: column;
    height: 292.234px;
    position: relative;
    text-align: left;
    transition: translate 0.18s ease, box-shadow 0.18s ease;
    box-sizing: border-box;
}

.anfa-kit-link {
    z-index: 1;
    inset: 0;
    position: absolute;
    color: rgb(82, 62, 232);
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0);
}

.anfa-kit-image-container {
    mask-image: -webkit-radial-gradient(center, #fff, #000);
    overflow: hidden;
    position: relative;
    background-color: rgb(242, 242, 243);
    border-radius: 10px 10px 0 0;
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.anfa-kit-image-placeholder {
    padding-top: 66.6667%;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.anfa-kit-image {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    border-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.anfa-kit-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.anfa-kit-content {
    padding: 15px 16px 17px 18px;
    align-items: flex-start;
    background-color: #fff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: opacity 0.15s ease-in-out;
    width: 100%;
    box-sizing: border-box;
}

.anfa-kit-title {
    color: rgb(48, 48, 48);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Fira Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    margin: 0 0 3px;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    box-sizing: border-box;
}

.anfa-kit-title span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.anfa-kit-author {
    color: rgb(149, 149, 151);
    display: flex;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Fira Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    width: 100%;
    box-sizing: border-box;
}

.anfa-kit-author-link {
    color: rgb(149, 149, 151);
    font-weight: 700;
    position: relative;
    z-index: 1;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0);
}

.anfa-kit-actions {
    display: flex;
    flex: 1 1 0%;
    justify-content: flex-end;
    box-sizing: border-box;
    margin-left: auto; /* Align actions to the right */
}

.anfa-kit-action-button {
    background: rgba(0, 0, 0, 0);
    border: 0;
    cursor: pointer;
    padding: 2px 10px 0;
    transition: color 0.15s ease-in-out;
    box-sizing: border-box;
    appearance: button;
    text-transform: none;
    overflow: visible;
    font: 700 12px / 16px -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Fira Sans', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
}

.anfa-kit-action-icon {
    height: 20px;
    width: 20px;
    fill: rgb(228, 0, 70);
    box-sizing: border-box;
    overflow: hidden;
}