.wp-block-onlionit-schaefer-matten-start-dreier {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    color: var(--text-color);
}

.smsd-column {
    width: calc((100% - (2 * var(--gap))) / 3);
    /* Ensure equal height */
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
    position: relative;
    color: inherit;
    min-height: 200px;
    border-radius: var(--border-radius, 5px);
    overflow: hidden;
}

.smsd-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
    justify-content: flex-start;
    align-items: center;
    color: inherit;
}

.smsd-heading {
    margin-bottom: 1rem;
    color: inherit !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-family: inherit !important;
}

.smsd-text {
    margin-bottom: 1.5rem;
    flex-grow: 1;
    color: inherit !important;
    font-size: 1rem;
    line-height: 1.5;
    font-family: inherit !important;
}

/* Ensure all children of text inherit color and font too, to beat the * selector */
.smsd-text * {
    color: inherit !important;
    font-family: inherit !important;
}

.smsd-btn-wrapper {
    margin-top: auto;
}

.wp-block-onlionit-schaefer-matten-start-dreier .smsd-button {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--text-color, currentColor);
    text-decoration: none;
    color: var(--text-color, inherit) !important;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s;
    font-family: inherit !important;
}

.smsd-button:hover {
    opacity: 0.8;
}

/* On mobile stack them */
@media (max-width: 768px) {
    .smsd-column {
        width: 100%;
        margin-bottom: 2rem;
    }

    .wp-block-onlionit-schaefer-matten-start-dreier {
        flex-direction: column;
    }
}
