.sb-latest-5 .wp-block-query {
    gap: 20px;
}

.sb-latest-5 .wp-block-cover {
    min-height: 250px;
    border-radius: var(--sb-radius-m);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: transform 0.25s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.sb-latest-5 .wp-block-cover:hover {
    transform: scale(1.03);
}

.sb-latest-5 .wp-block-cover.is-link > a.wp-block-cover__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

.sb-latest-5 .wp-block-cover__inner-container {
    width: 100%;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.sb-latest-5 .wp-block-post-title,
.sb-latest-5 .wp-block-post-title a {
    pointer-events: auto;
    position: relative;
    z-index: 3;
}

.sb-latest-5 .wp-block-post-title {
    color: #fff !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

.sb-latest-5 .wp-block-post-title a {
    color: inherit !important;
    text-decoration: none;
}
