.crp_related.crp-rounded-thumbs {
    margin-top: 2rem;
}

.crp_related.crp-rounded-thumbs > h2 {
    margin-bottom: 1rem;
}

.crp_related.crp-rounded-thumbs > ul {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.crp_related.crp-rounded-thumbs > ul > li {
    display: block !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(30, 55, 45, .12) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(31, 55, 44, .08) !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
}

.crp_related.crp-rounded-thumbs > ul > li:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(31, 55, 44, .13) !important;
}

.crp_related.crp-rounded-thumbs > ul > li > a.crp_link {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-decoration: none !important;
    border-radius: inherit !important;
}

.crp_related.crp-rounded-thumbs figure {
    position: relative !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: rgba(120, 135, 128, .08) !important;
}

.crp_related.crp-rounded-thumbs img.crp_thumb,
.crp_related.crp-rounded-thumbs img.crp_featured {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    min-height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}

.crp_related.crp-rounded-thumbs .crp_title {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 58px !important;
    padding: .8rem .9rem !important;
    margin: 0 !important;
    background: #3f403e !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    text-shadow: none !important;
    white-space: normal !important;
    overflow: visible !important;
}

.crp_related.crp-rounded-thumbs .crp_link:focus-visible {
    outline: 3px solid currentColor !important;
    outline-offset: -3px !important;
}

.crp_related.crp-rounded-thumbs .crp_clear {
    display: none !important;
}

@media (max-width: 820px) {
    .crp_related.crp-rounded-thumbs > ul {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (max-width: 540px) {
    .crp_related.crp-rounded-thumbs > ul {
        grid-template-columns: 1fr !important;
    }

    .crp_related.crp-rounded-thumbs figure {
        aspect-ratio: 16 / 10 !important;
    }
}

@media (prefers-color-scheme: dark) {
    .crp_related.crp-rounded-thumbs > ul > li {
        background: #202420 !important;
        border-color: rgba(255,255,255,.12) !important;
        box-shadow: 0 10px 28px rgba(0,0,0,.25) !important;
    }

    .crp_related.crp-rounded-thumbs .crp_title {
        background: #343734 !important;
    }
}
