
/*Vrede-p Teamdarstellung*/

.dt-css-grid .team-container .team-media {
  overflow: hidden;
}

.dt-css-grid .team-container .team-media a {
  display: block !important;
  position: relative !important;
  aspect-ratio: 2 / 3 !important; 
  overflow: hidden !important;
}

.dt-css-grid .team-container .team-media img {
  --ratio: unset !important;   
  max-height: none !important;
}
.dt-css-grid .team-container .team-media::before {
  content: none !important;        
}
.dt-css-grid .team-container .team-media,
.dt-css-grid .team-container .team-media a {
  height: auto !important;       
  max-height: none !important;
}


.dt-css-grid .team-container .team-media::before {
  content: none !important;
}


.dt-css-grid .team-desc .team-author .team-author-name a,
.dt-css-grid .team-desc .team-author .team-author-name,
.dt-css-grid .team-desc .team-author .team-author-name + p {
  text-transform: uppercase;
  letter-spacing: 0.02em; 
}

.dt-css-grid .team-desc .team-author .team-author-name,
.dt-css-grid .team-desc .team-author .team-author-name a {
  line-height: 1.15;      
  margin-bottom: 2px;      
}

.dt-css-grid .team-desc .team-author .team-author-name + p {
  color: #777;
  font-size: 0.88rem;      
  line-height: 1.2;       
  margin-top: 2px;        
  margin-bottom: 0;
  font-weight: 500;        
}

.dt-css-grid .team-desc {
  margin-top: 0;
}


.team-two-columns {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.team-col-image .team-featured-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.team-col-content h3 {
    margin: 0 0 6px !important;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
}

.team-col-content h3 span {
    font-size: 14px !important;
    font-weight: 400 !important;
}

.team-col-content a {
    color: #dd9933 !important; 
    text-decoration: underline !important;
}

.team-col-content a:hover {
    color: #003356 !important;
}

.team-col-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Team-Bilder auf fixe Größe begrenzen */
.ult-team-member-image {
    width: 212.8px !important;
    height: 283.72px !important;

    /* Damit das Bild sauber reinpasst */
    overflow: hidden !important;
    display: block !important;
    position: relative;
}

/* Bild selbst skalieren und zuschneiden */
.ult-team-member-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;   /* Wichtig: schneidet korrekt zu */
    object-position: center !important;
    display: block;
}
