/*------Standard Card--------------------------------------------------*/
.is-style-card-standard {
    background-color: var(--color--secondary-2);
    border-radius: var(--border-radius--small);
    padding: clamp(1.5rem, 1vw + 1rem, 2.5rem);
    box-shadow: var(--shadow--cards);
}

.is-style-card-standard h3 {
    font-size: clamp(1.75rem, 1vw + 1rem, 2.5rem);
    margin-bottom: clamp(1rem, 1vw + 0.5rem, 2rem);
}

.block-editor-block-list__block.is-style-card-standard {
    height: auto;
}

.block-editor-block-list__block.is-style-card-standard .wp-block-paragraph {
    margin-bottom: auto;
}
/* --- Section Card XL Grey ---------------------------------------------------------------------- */
.is-style-card-xl-grey {
    font-family: var(--font-family--primary);
    background-color: var(--color--accent-1);
    border-radius: var(--border-radius--medium);
    padding: clamp(2rem, 3vw + 1rem, 5rem) clamp(1rem, 2.2vw + 0.5rem, 7rem);
    height: 100%;
}

.is-style-card-xl-grey .wp-block-columns.is-layout-flex {
    width: 100%;
}

.is-style-card-xl-grey h3 {
    margin-bottom: 0;
}

.is-style-card-xl-grey p {
    font-family: var(--font-family--primary);
}

.is-style-card-xl-grey p > a {
    color: #1E1E1E99;
    text-decoration: none;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    cursor: pointer;
    transition: all 0.6s ease-out;
    border-bottom: unset;
}

.is-style-card-xl-grey p > a::after {
    content: url('data:image/svg+xml,<svg width="16" height="14" viewBox="0 0 16 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 7.00016L9.33333 0.333496L8.39333 1.2735L13.4467 6.3335L-2.62268e-07 6.33349L-3.2055e-07 7.66683L13.4467 7.66683L8.39333 12.7268L9.33333 13.6668L16 7.00016Z" fill="%23EE7E04"/></svg>');
    display: flex;
    height: 20px;
    width: 20px;
    justify-content: center;
    align-content: center;
    align-items: center;
    line-height: 0;
}

.is-style-card-xl-grey p > a:hover{
    gap: 1.2rem;
    color: var(--color--primary-1);
    transition: all 0.6s ease-out;
}

.ma-contact {
    gap: 2rem;
}

.ma-contact figure img {
    width: 175px;
    border-radius: 50%;
}

.ma-contact .wp-block-buttons {
    margin-top: 0;
}

.ma-contact .wp-block-group.is-vertical.is-layout-flex {
    gap: 1.5rem;
}

.is-style-card-xl-grey > .wp-block-columns.is-layout-flex {
    margin-bottom: 0;
}


/*  ---- Bild ohne Abrundung ---------------------------------------------- */
.is-style-img-no-border-raduis img {
    border-radius: unset !important;
}


/* ------ Media Queries -------------------------------------------------------------------------------- */


@media screen and (max-width: 1024px) {
    .is-style-card-xl-grey > .wp-block-group.is-vertical.is-layout-flex {
        gap: 0.5rem;
    }

    .is-style-card-xl-grey .ma-contact {
        flex-direction: column;
    }

    .is-style-card-xl-grey .ma-contact .wp-block-group.is-vertical.is-layout-flex {
        align-items: center;
    }

    .is-style-card-xl-grey .ma-contact p {
        text-align: center;
    }

    .is-style-card-xl-grey:has(.ma-contact) .is-style-spacer-small{
        display: none;
    }
}

@media screen and (max-width: 781px) {
    .is-style-card-xl-grey .wp-block-columns.is-layout-flex {
        flex-direction: column-reverse;
        margin-bottom: 0;
    }
}