.stm-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

@media (max-width: 1024px){
    .stm-team-grid{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width: 600px){
    .stm-team-grid{
        grid-template-columns:1fr;
    }
}

.stm-team-card{
    overflow:hidden;
    display:flex;
    flex-direction:column;
    font-size:17px;
}

.stm-team-single .stm-team-card {
    flex-direction:row;
}

.stm-team-single .stm-team-card .stm-team-content {
    padding:18px 50px;
}

.av_one_half .stm-team-single .stm-team-card,
.av_one_third .stm-team-single .stm-team-card {
    flex-direction:column;
}

.av_one_half .stm-team-single .stm-team-card .stm-team-content,
.av_one_third .stm-team-single .stm-team-card .stm-team-content {
    padding: 18px 10px;
}

@media (max-width:768px) {
    .av_one_full .stm-team-single .stm-team-card {
        flex-direction:column;
    }

    .av_one_full .stm-team-single .stm-team-card .stm-team-content{
        padding: 18px 10px;
    }
}

.stm-team-image img{
    width:100%;
    height:auto;
    display:block;
    border:10px solid white!important;
}

.stm-team-content{
    display:flex;
    padding:18px 10px;
    align-items:center;
}
/*
.stm-team-bar{
    width:7px;
    background:#c05f5f;
    margin-right:18px;
}
*/
.stm-team-info {
    display: flex;
    flex-direction: column;
    border-left: 7px solid #c05f5f !important;
    padding-left: 20px;
}

.stm-team-name{
    font-weight:700;
    margin-bottom:4px;
}

.stm-team-position,
.stm-team-phone,
.stm-team-email{
    margin-bottom:6px;
}

.stm-team-phone a,
.stm-team-email a{
    color:inherit;
    text-decoration:none;
}

.stm-team-phone a:hover,
.stm-team-email a:hover{
    text-decoration:underline;
}

/** Für Sektion mit Parallax und/oder Bild als HG: Schrift auf weiß stellen  **/
.avia-section.av-section-color-overlay-active .stm-team-content, 
.avia-section.av-parallax-section.avia-bg-style-parallax .stm-team-content {
    color:#fff;
}