.page-template-simple-flex .sf-cta-grid {
    display: grid;
    grid-template-columns: repeat(var(--sf-cta-columns, 3), minmax(0, 1fr));
    gap: 20px;
}

.page-template-simple-flex .sf-cta-card {
    position: relative;
    height: 185px;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    place-items: center;
    text-align: center;
    text-decoration: none;
    padding: 20px;
    box-sizing: border-box;
}

.page-template-simple-flex .sf-cta-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    transform: scale(1);
}

.page-template-simple-flex .sf-cta-title {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
}

.page-template-simple-flex .sf-cta-card:hover .sf-cta-image {
    opacity: 0.5;
    transform: scale(1.1);
}

@media screen and (max-width: 900px) {
    .page-template-simple-flex .sf-cta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 600px) {
    .page-template-simple-flex .sf-cta-grid {
        grid-template-columns: 1fr;
    }
}