.block-container-top {
    --card-height: 25rem;
}

.block-container-top .block-card {
    width: 100%;
    position: relative;
}

.block-container-top .block-card-content-wrapper {
    height: var(--card-height);
    margin: -24px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    position: relative;
}

.block-container-top .block-card-content-wrapper.stack {
    display: grid;
}

.block-container-top .block-card-content-wrapper.stack > * {
    grid-area: 1 / 1;
}

.block-container-top .block-card-image {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.block-container-top .info-box-filter {
    filter: url('#overview_box_round');
    align-self: start;
    max-height: 100%;
    width: 100%;
}

.block-container-top .info-box {
    width: 54%;
    height: auto;
    padding: 2rem;
    background-color: #e6007e;
    color: white;
    clip-path: polygon(0% 0%, 95% 0%, 100% 80%, 0% 100%);
}

.block-container-top .overview-box-filter-def {
    position: absolute;
    width: 0;
    height: 0;
}

.block-container-top .block-card-content-body {
    padding: 12px 24px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    font-size: 1em;
}

@media screen and (min-width: 481px) and (max-width: 1200px) {
    .block-container-top .info-box h1 {
        font-size: 1.2rem;
        line-height: 1.25;
    }

    .block-container-top .info-box h2 {
        font-size: 1.05rem;
        line-height: 1.3;
    }

    .block-container-top .info-box p {
        font-size: 0.95rem;
        line-height: 1.25;
    }
}

@media screen and (max-width: 480px) {
    .block-container-top .info-box h1 {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .block-container-top .info-box h2 {
        font-size: 1rem;
        line-height: 1.25;
    }

    .block-container-top .info-box p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}
