.kff-latest {
    width: 100%;
    max-width: 100%;
    padding: 12px !important;
    background: #fff !important;
    border-radius: 4px;
    box-sizing: border-box;
    container-type: inline-size;
}

.kff-latest__grid {
    display: grid;
    grid-template-columns: repeat(var(--kff-latest-max-columns, 3), minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
}

.kff-latest__card {
    display: block;
    min-width: 0;
    max-width: 100%;
    padding: 0 !important;
    color: inherit;
    background: #fff !important;
    border: 1px solid #c7d0da !important;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.kff-latest__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #fff !important;
}

.kff-latest__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    background: #fff !important;
}

.kff-latest__title {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 2px 4px 4px !important;
    background: #fff !important;
    box-sizing: border-box;
    font-size: clamp(1.02rem, calc(.98rem + .5cqi), 1.14rem);
    line-height: 1.22;
    font-weight: 600;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word;
    hyphens: auto;
}

.kff-latest__card:hover,
.kff-latest__card:focus {
    border-color: #9eabb8 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .10);
}

.kff-latest__card:hover .kff-latest__title,
.kff-latest__card:focus .kff-latest__title {
    text-decoration: underline;
}

.kff-latest__card:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@container (max-width: 760px) {
    .kff-latest__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@container (max-width: 420px) {
    .kff-latest__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .kff-latest__grid {
        grid-template-columns: 1fr;
    }
}


.kff-latest__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    width: 100%;
    max-width: 100%;
}

.kff-latest__text-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 7px 9px !important;
    color: inherit;
    background: #fff !important;
    border: 1px solid #c7d0da !important;
    border-radius: 4px;
    box-sizing: border-box;
    text-decoration: none !important;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.kff-latest__bullet {
    display: block !important;
    flex: 0 0 8px;
    width: 8px !important;
    height: 8px !important;
    min-width: 8px;
    min-height: 8px;
    margin-top: .43em;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #5f6b76 !important;
    box-shadow: none !important;
}

.kff-latest__text-title {
    display: block;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(1rem, calc(.96rem + .35cqi), 1.12rem);
    line-height: 1.28;
    font-weight: 600;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word;
    hyphens: auto;
}

.kff-latest__text-link:hover,
.kff-latest__text-link:focus {
    border-color: #9eabb8 !important;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .08);
}

.kff-latest__text-link:hover .kff-latest__text-title,
.kff-latest__text-link:focus .kff-latest__text-title {
    text-decoration: underline;
}

.kff-latest__text-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
