.blog-slider, .blog-slider-wrapper {
    overflow: visible;
    gap: 1.5rem;
}

.blog-slider .blog-card {
    padding: 0;
    border-radius: var(--wp--custom--border-radius--small);
    height: 53rem;
    box-sizing: border-box;
    box-shadow: 0px 8px 24px 10px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.blog-image {
    /* display: flex;
    justify-content: center;
    align-items: center; */
    overflow: hidden;
    height: 30%;
}

.blog-image img {
    border-radius: var(--wp--custom--border-radius--small) var(--wp--custom--border-radius--small) 0 0;
    object-fit: cover;
    height: 100%;
    display: block;
    max-width: 100%;
}

.blog-text {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 70%;
    justify-content: space-between;
}

.blog-text > div {
    margin-top: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.blog-card h2 {
    font-size: 1.75rem;
    line-height: 1.25em;
    margin-bottom: 1.5rem;
}

.blog-card p {
    font-size: var(--wp--preset--font-size--small);
    color: black;
    margin-bottom: 2rem;
    line-height: 1.5em;
}

.blog-card .blog-date {
    font-size: var(--wp--preset--font-size--x-small);
    color: black;
    margin-bottom: 0;
}

.blog-card a.blog-more-link {
    font-size: var(--wp--preset--font-size--x-small);
    color: black;
    padding: 0.25rem 1rem;
    border-radius: var(--wp--custom--border-radius--small);
    border: 3px solid var(--wp--preset--color--primary-1);
    position: relative;
    z-index: 100;
    top: 0;
    right: 0;
}

.blog-card a.blog-more-link::before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: 10px;
    background-color: var(--wp--preset--color--primary-1);
    z-index: -1;
    transition: all 250ms ease-out;
}

.blog-card a.blog-more-link:hover{
    color: unset;
}

.blog-slider .blog-card:hover a.blog-more-link::before {
    width: 100%;
}
