
/* Card Block */

.wp-block-column .card-block {
    height: 100%;
}

.card-block {
    display: flex;
    justify-content: stretch;
    align-items: stretch;
}

.card-block__item {
    background: #B2B1A7;
    color: #fff;
    text-align: center;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    height: 100%;
}

.card-block__item--has-background-image::after {
    content: " ";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25);
}

.card-block__top,
.card-block__bottom {
    position: relative;
    z-index: 10;
}

.card-block__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 25rem;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 1.5rem;
}

.card-block__bottom {
    padding: 1.5rem 1.5rem 2rem 1.5rem;
}

.card-block__inner-content {
    flex: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-block__inner-content :last-child {
    margin-bottom: 0;
}

.card-block__inner-content * {
    color: inherit;
}

.card-block__my-button {
    margin-top: auto;
}

.card-block__footer-content :last-child {
    margin-bottom: 0;
}

.card-block__pre-headline {
    color: inherit;
    font-size: 0.83rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.card-block__headline {
    font-size: 1.8rem;
    line-height: 1.3;
    text-decoration: underline;
    font-style: italic;
    color: inherit;
    margin-bottom: 1rem;
}

.card-block .swiper-pagination-bullet {
    border: 1px solid #fff;
    opacity: 1;
    background: none;
    transition: background-color 0.2s;
}

.card-block .swiper-pagination-bullet-active {
    background: #fff;
}
