.image-buttons__headline {
    margin: 0 auto;
    padding-bottom: 8px;
    max-width: 100%;
}

.image-button-flex {
    justify-content: center;
}

.image-button-item {
    margin-top: 12px;
}

.image-button {
    display: block;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 92px;
}

.image-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: var(--primary-color);
    opacity: 0.65;
}

.image-button__details {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 0 20px 20px;
}

.image-button__title {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    padding: 0 55px 0 0;
    line-height: 1.3em;
    position: relative;
}

.image-button__title::before {
    content: '\e91e';
    font-family: 'principium-psychiatry';
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 20px;
    font-weight: normal;
    line-height: 1em;
    color: var(--white);
    width: 45px;
    height: 44px;
    background: var(--mango-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(32,185,204,0.25);
}

.image-buttons__buttons {
    padding-top: 20px;
}

.image-buttons__headline--inner {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
}
.btn-sec-wr {
    display: flex;
    justify-content: center;
}
.btn-sec-wr {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.btn-sec-wr .btn-location {
    margin: 0px !important;
    margin-top: 10px !important;
    padding: 9px 20px;
}
.btn-sec-wr .btn-location:after {
    display: none;
}
.page-id-25438 .image-button__title, .page-id-25444 .image-button__title
{
    font-size: 18px;
    line-height: 26px;
}
@media (min-width: 768px) and (max-width: 1199px) {
    .image-button-item {
        padding: 5px 13px;
    }
}

@media (min-width: 768px) {
    .image-buttons__headline {
        padding-bottom: 12px;
    }
    

    .image-button-item {
        margin-top: 18px;
    }
    
    .image-button {
        border-radius: 12px;
        height: 275px;
    }
    
    .image-button::before {
        display: none;
    }
    
    .image-button__details {
        padding: 0 20px;
        min-height: 82px;
        display: flex;
        align-items: center;
        background: var(--primary-color);
        border-radius: 12px;
    }
    
    .image-button__title::before {
        display: none;
    }

    .image-buttons__buttons {
        padding-top: 30px;
    }
}

@media (min-width: 1200px) {
    .image-buttons__headline {
        padding-bottom: 0;
    }
    

    .image-button-item {
        margin-top: 30px;
        padding: 0 13px;
    }
    
    .image-button {
        height: 330px;
    }

    .image-button::before {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        overflow: hidden;
        width: 100%;
        height: 0;
        transition: .25s ease-in-out 0s;
    }
    
    
    .image-button__details {
        padding: 21px 24px;
        min-height: auto;
        display: block;
    }

    .image-button__title {
        padding: 0;
    }

    .image-button__hover {
        display: none;
    }

    .image-button:hover::before {
        opacity: 0.85;
        height: 100%;
    }

    .image-button:hover .image-button__details {
        background: none;
    }

    .image-button:hover .image-button__hover {
        display: block;
    }

    .image-button__description {
        color: var(--white);
        padding: 15px 0 0;
        margin-bottom: 20px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 7;
        line-clamp: 7;
        -webkit-box-orient: vertical;
    }

    .image-button__cta {
        color: var(--white);
    }

}

@media (min-width: 1366px) {
    .image-button__title {
        font-size: 24px;
    }
}


@media (max-width:767px)
{
    .page-id-25438 .image-button, .page-id-25444 .image-button
    {
        height: auto;
    }
    .page-id-25438 .btn-sec-wr, .page-id-25444 .btn-sec-wr {
        
        flex-direction: column;
        gap: 0px;
    }
    .page-id-25438 .btn-sec-wr .btn-location, .page-id-25444 .btn-sec-wr .btn-location
    {

        width: 100%;
    }
    .image-button
    {
        height: auto !important;
    }
}